public class DatabaseMigrationService.Projects.Locations.MigrationJobs extends Object
| Constructor and Description |
|---|
MigrationJobs() |
public DatabaseMigrationService.Projects.Locations.MigrationJobs.Create create(String parent, MigrationJob content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent, which owns this collection of migration jobs.content - the MigrationJobIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the migration job resource to delete.IOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.GenerateSshScript generateSshScript(String migrationJob, GenerateSshScriptRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.migrationJob - Name of the migration job resource to generate the SSH script.content - the GenerateSshScriptRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the migration job resource to get.IOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent, which owns this collection of migrationJobs.IOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Patch patch(String name, MigrationJob content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (URI) of this migration job resource, in the form of:
projects/{project}/locations/{location}/instances/{instance}.content - the MigrationJobIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Promote promote(String name, PromoteMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to promote.content - the PromoteMigrationJobRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Restart restart(String name, RestartMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to restart.content - the RestartMigrationJobRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Resume resume(String name, ResumeMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to resume.content - the ResumeMigrationJobRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content - the SetIamPolicyRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Start start(String name, StartMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to start.content - the StartMigrationJobRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Stop stop(String name, StopMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to stop.content - the StopMigrationJobRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content - the TestIamPermissionsRequestIOExceptionpublic DatabaseMigrationService.Projects.Locations.MigrationJobs.Verify verify(String name, VerifyMigrationJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the migration job resource to verify.content - the VerifyMigrationJobRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.