public class CloudDatabaseMigrationService.Projects.Locations.MigrationJobs extends Object
| Constructor and Description |
|---|
MigrationJobs() |
public CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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 CloudDatabaseMigrationService.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.