| { |
| "clientLibrary": { |
| "name": "cloud.google.com/go/clouddms/apiv1", |
| "version": "1.7.6", |
| "language": "GO", |
| "apis": [ |
| { |
| "id": "google.cloud.clouddms.v1", |
| "version": "v1" |
| } |
| ] |
| }, |
| "snippets": [ |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_sync", |
| "title": "datamigration ApplyConversionWorkspace Sample", |
| "description": "ApplyConversionWorkspace applies draft tree onto a specific destination database.", |
| "file": "DataMigrationClient/ApplyConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ApplyConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ApplyConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ApplyConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ApplyConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ApplyConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ApplyConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CancelOperation_sync", |
| "title": "datamigration CancelOperation Sample", |
| "description": "CancelOperation is a utility method from google.longrunning.Operations.", |
| "file": "DataMigrationClient/CancelOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CancelOperation", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CancelOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.CancelOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CancelOperation", |
| "fullName": "google.longrunning.Operations.CancelOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 51, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_sync", |
| "title": "datamigration CommitConversionWorkspace Sample", |
| "description": "CommitConversionWorkspace marks all the data in the conversion workspace as committed.", |
| "file": "DataMigrationClient/CommitConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CommitConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CommitConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CommitConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CommitConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CommitConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CommitConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_sync", |
| "title": "datamigration ConvertConversionWorkspace Sample", |
| "description": "ConvertConversionWorkspace creates a draft tree schema for the destination database.", |
| "file": "DataMigrationClient/ConvertConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ConvertConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ConvertConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ConvertConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ConvertConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ConvertConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ConvertConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConnectionProfile_sync", |
| "title": "datamigration CreateConnectionProfile Sample", |
| "description": "CreateConnectionProfile creates a new connection profile in a given project and location.", |
| "file": "DataMigrationClient/CreateConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CreateConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateConnectionProfileOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CreateConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_sync", |
| "title": "datamigration CreateConversionWorkspace Sample", |
| "description": "CreateConversionWorkspace creates a new conversion workspace in a given project and location.", |
| "file": "DataMigrationClient/CreateConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CreateConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CreateConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMappingRule_sync", |
| "title": "datamigration CreateMappingRule Sample", |
| "description": "CreateMappingRule creates a new mapping rule for a given conversion workspace.", |
| "file": "DataMigrationClient/CreateMappingRule/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMappingRule", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CreateMappingRuleRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.MappingRule", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CreateMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMappingRule", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMigrationJob_sync", |
| "title": "datamigration CreateMigrationJob Sample", |
| "description": "CreateMigrationJob creates a new migration job in a given project and location.", |
| "file": "DataMigrationClient/CreateMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CreateMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CreateMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_sync", |
| "title": "datamigration CreatePrivateConnection Sample", |
| "description": "CreatePrivateConnection creates a new private connection in a given project and location.", |
| "file": "DataMigrationClient/CreatePrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreatePrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreatePrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.CreatePrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreatePrivateConnectionOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "CreatePrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreatePrivateConnection", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConnectionProfile_sync", |
| "title": "datamigration DeleteConnectionProfile Sample", |
| "description": "DeleteConnectionProfile deletes a single Database Migration Service connection profile.\nA connection profile can only be deleted if it is not in use by any\nactive migration jobs.", |
| "file": "DataMigrationClient/DeleteConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DeleteConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteConnectionProfileOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeleteConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_sync", |
| "title": "datamigration DeleteConversionWorkspace Sample", |
| "description": "DeleteConversionWorkspace deletes a single conversion workspace.", |
| "file": "DataMigrationClient/DeleteConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DeleteConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeleteConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMappingRule_sync", |
| "title": "datamigration DeleteMappingRule Sample", |
| "description": "DeleteMappingRule deletes a single mapping rule.", |
| "file": "DataMigrationClient/DeleteMappingRule/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMappingRule", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DeleteMappingRuleRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeleteMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMappingRule", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 51, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMigrationJob_sync", |
| "title": "datamigration DeleteMigrationJob Sample", |
| "description": "DeleteMigrationJob deletes a single migration job.", |
| "file": "DataMigrationClient/DeleteMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DeleteMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeleteMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteOperation_sync", |
| "title": "datamigration DeleteOperation Sample", |
| "description": "DeleteOperation is a utility method from google.longrunning.Operations.", |
| "file": "DataMigrationClient/DeleteOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.DeleteOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.longrunning.Operations.DeleteOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 51, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_sync", |
| "title": "datamigration DeletePrivateConnection Sample", |
| "description": "DeletePrivateConnection deletes a single Database Migration Service private connection.", |
| "file": "DataMigrationClient/DeletePrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeletePrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeletePrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DeletePrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeletePrivateConnectionOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DeletePrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeletePrivateConnection", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeConversionWorkspaceRevisions_sync", |
| "title": "datamigration DescribeConversionWorkspaceRevisions Sample", |
| "description": "DescribeConversionWorkspaceRevisions retrieves a list of committed revisions of a specific conversion\nworkspace.", |
| "file": "DataMigrationClient/DescribeConversionWorkspaceRevisions/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DescribeConversionWorkspaceRevisions", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeConversionWorkspaceRevisions", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DescribeConversionWorkspaceRevisionsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.DescribeConversionWorkspaceRevisionsResponse", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DescribeConversionWorkspaceRevisions", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeConversionWorkspaceRevisions", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeDatabaseEntities_sync", |
| "title": "datamigration DescribeDatabaseEntities Sample", |
| "description": "DescribeDatabaseEntities describes the database entities tree for a specific conversion workspace\nand a specific tree type.\n\nDatabase entities are not resources like conversion workspaces or mapping\nrules, and they can't be created, updated or deleted. Instead, they are\nsimple data objects describing the structure of the client database.", |
| "file": "DataMigrationClient/DescribeDatabaseEntities/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DescribeDatabaseEntities", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeDatabaseEntities", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.DescribeDatabaseEntitiesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DatabaseEntityIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "DescribeDatabaseEntities", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeDatabaseEntities", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_FetchStaticIps_sync", |
| "title": "datamigration FetchStaticIps Sample", |
| "description": "FetchStaticIps fetches a set of static IP addresses that need to be allowlisted by the\ncustomer when using the static-IP connectivity method.", |
| "file": "DataMigrationClient/FetchStaticIps/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "FetchStaticIps", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.FetchStaticIps", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.FetchStaticIpsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StringIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "FetchStaticIps", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.FetchStaticIps", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateSshScript_sync", |
| "title": "datamigration GenerateSshScript Sample", |
| "description": "GenerateSshScript generate a SSH configuration script to configure the reverse SSH\nconnectivity.", |
| "file": "DataMigrationClient/GenerateSshScript/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GenerateSshScript", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateSshScript", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GenerateSshScriptRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.SshScript", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GenerateSshScript", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateTcpProxyScript_sync", |
| "title": "datamigration GenerateTcpProxyScript Sample", |
| "description": "GenerateTcpProxyScript generate a TCP Proxy configuration script to configure a cloud-hosted VM\nrunning a TCP Proxy.", |
| "file": "DataMigrationClient/GenerateTcpProxyScript/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GenerateTcpProxyScript", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateTcpProxyScript", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GenerateTcpProxyScriptRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.TcpProxyScript", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GenerateTcpProxyScript", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateTcpProxyScript", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetConnectionProfile_sync", |
| "title": "datamigration GetConnectionProfile Sample", |
| "description": "GetConnectionProfile gets details of a single connection profile.", |
| "file": "DataMigrationClient/GetConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GetConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.ConnectionProfile", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetConversionWorkspace_sync", |
| "title": "datamigration GetConversionWorkspace Sample", |
| "description": "GetConversionWorkspace gets details of a single conversion workspace.", |
| "file": "DataMigrationClient/GetConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GetConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.ConversionWorkspace", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetIamPolicy_sync", |
| "title": "datamigration GetIamPolicy Sample", |
| "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", |
| "file": "DataMigrationClient/GetIamPolicy/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetIamPolicy", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetIamPolicy", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.GetIamPolicyRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.Policy", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetIamPolicy", |
| "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetLocation_sync", |
| "title": "datamigration GetLocation Sample", |
| "description": "GetLocation gets information about a location.", |
| "file": "DataMigrationClient/GetLocation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetLocation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.GetLocationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*locationpb.Location", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.location.Locations.GetLocation", |
| "service": { |
| "shortName": "Locations", |
| "fullName": "google.cloud.location.Locations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetMappingRule_sync", |
| "title": "datamigration GetMappingRule Sample", |
| "description": "GetMappingRule gets the details of a mapping rule.", |
| "file": "DataMigrationClient/GetMappingRule/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMappingRule", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GetMappingRuleRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.MappingRule", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetMappingRule", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMappingRule", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetMigrationJob_sync", |
| "title": "datamigration GetMigrationJob Sample", |
| "description": "GetMigrationJob gets details of a single migration job.", |
| "file": "DataMigrationClient/GetMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GetMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.MigrationJob", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetOperation_sync", |
| "title": "datamigration GetOperation Sample", |
| "description": "GetOperation is a utility method from google.longrunning.Operations.", |
| "file": "DataMigrationClient/GetOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetOperation", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.GetOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*longrunningpb.Operation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetOperation", |
| "fullName": "google.longrunning.Operations.GetOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_GetPrivateConnection_sync", |
| "title": "datamigration GetPrivateConnection Sample", |
| "description": "GetPrivateConnection gets details of a single private connection.", |
| "file": "DataMigrationClient/GetPrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetPrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetPrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.GetPrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.PrivateConnection", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "GetPrivateConnection", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetPrivateConnection", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ImportMappingRules_sync", |
| "title": "datamigration ImportMappingRules Sample", |
| "description": "ImportMappingRules imports the mapping rules for a given conversion workspace.\nSupports various formats of external rules files.", |
| "file": "DataMigrationClient/ImportMappingRules/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ImportMappingRules", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ImportMappingRules", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ImportMappingRulesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ImportMappingRulesOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ImportMappingRules", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ImportMappingRules", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_sync", |
| "title": "datamigration ListConnectionProfiles Sample", |
| "description": "ListConnectionProfiles retrieves a list of all connection profiles in a given project and\nlocation.", |
| "file": "DataMigrationClient/ListConnectionProfiles/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListConnectionProfiles", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConnectionProfiles", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ListConnectionProfilesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ConnectionProfileIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListConnectionProfiles", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListConversionWorkspaces_sync", |
| "title": "datamigration ListConversionWorkspaces Sample", |
| "description": "ListConversionWorkspaces lists conversion workspaces in a given project and location.", |
| "file": "DataMigrationClient/ListConversionWorkspaces/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListConversionWorkspaces", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConversionWorkspaces", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ListConversionWorkspacesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ConversionWorkspaceIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListConversionWorkspaces", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConversionWorkspaces", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListLocations_sync", |
| "title": "datamigration ListLocations Sample", |
| "description": "ListLocations lists information about the supported locations for this service.", |
| "file": "DataMigrationClient/ListLocations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListLocations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.ListLocationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "LocationIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.location.Locations.ListLocations", |
| "service": { |
| "shortName": "Locations", |
| "fullName": "google.cloud.location.Locations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListMappingRules_sync", |
| "title": "datamigration ListMappingRules Sample", |
| "description": "ListMappingRules lists the mapping rules for a specific conversion workspace.", |
| "file": "DataMigrationClient/ListMappingRules/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListMappingRules", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMappingRules", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ListMappingRulesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "MappingRuleIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListMappingRules", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMappingRules", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListMigrationJobs_sync", |
| "title": "datamigration ListMigrationJobs Sample", |
| "description": "ListMigrationJobs lists migration jobs in a given project and location.", |
| "file": "DataMigrationClient/ListMigrationJobs/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListMigrationJobs", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMigrationJobs", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ListMigrationJobsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "MigrationJobIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListMigrationJobs", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListOperations_sync", |
| "title": "datamigration ListOperations Sample", |
| "description": "ListOperations is a utility method from google.longrunning.Operations.", |
| "file": "DataMigrationClient/ListOperations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListOperations", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListOperations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.ListOperationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "OperationIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListOperations", |
| "fullName": "google.longrunning.Operations.ListOperations", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ListPrivateConnections_sync", |
| "title": "datamigration ListPrivateConnections Sample", |
| "description": "ListPrivateConnections retrieves a list of private connections in a given project and location.", |
| "file": "DataMigrationClient/ListPrivateConnections/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListPrivateConnections", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListPrivateConnections", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ListPrivateConnectionsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "PrivateConnectionIterator", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ListPrivateConnections", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListPrivateConnections", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_PromoteMigrationJob_sync", |
| "title": "datamigration PromoteMigrationJob Sample", |
| "description": "PromoteMigrationJob promote a migration job, stopping replication to the destination and\npromoting the destination to be a standalone database.", |
| "file": "DataMigrationClient/PromoteMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PromoteMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.PromoteMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.PromoteMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "PromoteMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "PromoteMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_RestartMigrationJob_sync", |
| "title": "datamigration RestartMigrationJob Sample", |
| "description": "RestartMigrationJob restart a stopped or failed migration job, resetting the destination\ninstance to its original state and starting the migration process from\nscratch.", |
| "file": "DataMigrationClient/RestartMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "RestartMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.RestartMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.RestartMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "RestartMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "RestartMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_ResumeMigrationJob_sync", |
| "title": "datamigration ResumeMigrationJob Sample", |
| "description": "ResumeMigrationJob resume a migration job that is currently stopped and is resumable (was\nstopped during CDC phase).", |
| "file": "DataMigrationClient/ResumeMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ResumeMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ResumeMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.ResumeMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ResumeMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "ResumeMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_sync", |
| "title": "datamigration RollbackConversionWorkspace Sample", |
| "description": "RollbackConversionWorkspace rolls back a conversion workspace to the last committed snapshot.", |
| "file": "DataMigrationClient/RollbackConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "RollbackConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.RollbackConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.RollbackConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "RollbackConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "RollbackConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.RollbackConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_SearchBackgroundJobs_sync", |
| "title": "datamigration SearchBackgroundJobs Sample", |
| "description": "SearchBackgroundJobs searches/lists the background jobs for a specific\nconversion workspace.\n\nThe background jobs are not resources like conversion workspaces or\nmapping rules, and they can't be created, updated or deleted.\nInstead, they are a way to expose the data plane jobs log.", |
| "file": "DataMigrationClient/SearchBackgroundJobs/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "SearchBackgroundJobs", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SearchBackgroundJobs", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.SearchBackgroundJobsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clouddmspb.SearchBackgroundJobsResponse", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "SearchBackgroundJobs", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.SearchBackgroundJobs", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_sync", |
| "title": "datamigration SeedConversionWorkspace Sample", |
| "description": "SeedConversionWorkspace imports a snapshot of the source database into the\nconversion workspace.", |
| "file": "DataMigrationClient/SeedConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "SeedConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SeedConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.SeedConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "SeedConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "SeedConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.SeedConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_SetIamPolicy_sync", |
| "title": "datamigration SetIamPolicy Sample", |
| "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.", |
| "file": "DataMigrationClient/SetIamPolicy/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "SetIamPolicy", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SetIamPolicy", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.SetIamPolicyRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.Policy", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "SetIamPolicy", |
| "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_StartMigrationJob_sync", |
| "title": "datamigration StartMigrationJob Sample", |
| "description": "StartMigrationJob start an already created migration job.", |
| "file": "DataMigrationClient/StartMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "StartMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.StartMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.StartMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StartMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "StartMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_StopMigrationJob_sync", |
| "title": "datamigration StopMigrationJob Sample", |
| "description": "StopMigrationJob stops a running migration job.", |
| "file": "DataMigrationClient/StopMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "StopMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.StopMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.StopMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StopMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "StopMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.StopMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_TestIamPermissions_sync", |
| "title": "datamigration TestIamPermissions Sample", |
| "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.", |
| "file": "DataMigrationClient/TestIamPermissions/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "TestIamPermissions", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.TestIamPermissions", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.TestIamPermissionsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.TestIamPermissionsResponse", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "TestIamPermissions", |
| "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConnectionProfile_sync", |
| "title": "datamigration UpdateConnectionProfile Sample", |
| "description": "UpdateConnectionProfile update the configuration of a single connection profile.", |
| "file": "DataMigrationClient/UpdateConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.UpdateConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateConnectionProfileOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "UpdateConnectionProfile", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfile", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_sync", |
| "title": "datamigration UpdateConversionWorkspace Sample", |
| "description": "UpdateConversionWorkspace updates the parameters of a single conversion workspace.", |
| "file": "DataMigrationClient/UpdateConversionWorkspace/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConversionWorkspace", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.UpdateConversionWorkspaceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateConversionWorkspaceOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "UpdateConversionWorkspace", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConversionWorkspace", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateMigrationJob_sync", |
| "title": "datamigration UpdateMigrationJob Sample", |
| "description": "UpdateMigrationJob updates the parameters of a single migration job.", |
| "file": "DataMigrationClient/UpdateMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.UpdateMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "UpdateMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datamigration_v1_generated_DataMigrationService_VerifyMigrationJob_sync", |
| "title": "datamigration VerifyMigrationJob Sample", |
| "description": "VerifyMigrationJob verify a migration job, making sure the destination can reach the source\nand that all configuration and prerequisites are met.", |
| "file": "DataMigrationClient/VerifyMigrationJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "VerifyMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient.VerifyMigrationJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clouddmspb.VerifyMigrationJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "VerifyMigrationJobOperation", |
| "client": { |
| "shortName": "DataMigrationClient", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| }, |
| "method": { |
| "shortName": "VerifyMigrationJob", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJob", |
| "service": { |
| "shortName": "DataMigrationService", |
| "fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| } |
| ] |
| } |