| { |
| "clientLibrary": { |
| "name": "cloud.google.com/go/vmmigration/apiv1", |
| "version": "1.7.0", |
| "language": "GO", |
| "apis": [ |
| { |
| "id": "google.cloud.vmmigration.v1", |
| "version": "v1" |
| } |
| ] |
| }, |
| "snippets": [ |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_AddGroupMigration_sync", |
| "title": "vmmigration AddGroupMigration Sample", |
| "description": "AddGroupMigration adds a MigratingVm to a Group.", |
| "file": "Client/AddGroupMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "AddGroupMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.AddGroupMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.AddGroupMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "AddGroupMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "AddGroupMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.AddGroupMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CancelCloneJob_sync", |
| "title": "vmmigration CancelCloneJob Sample", |
| "description": "CancelCloneJob initiates the cancellation of a running clone job.", |
| "file": "Client/CancelCloneJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CancelCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.CancelCloneJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CancelCloneJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CancelCloneJobOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CancelCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCloneJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync", |
| "title": "vmmigration CancelCutoverJob Sample", |
| "description": "CancelCutoverJob initiates the cancellation of a running cutover job.", |
| "file": "Client/CancelCutoverJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CancelCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.CancelCutoverJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CancelCutoverJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CancelCutoverJobOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CancelCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCutoverJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CancelOperation_sync", |
| "title": "vmmigration CancelOperation Sample", |
| "description": "CancelOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/CancelOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CancelOperation", |
| "fullName": "google.cloud.vmmigration.v1.Client.CancelOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.CancelOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "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": "vmmigration_v1_generated_VmMigration_CreateCloneJob_sync", |
| "title": "vmmigration CreateCloneJob Sample", |
| "description": "CreateCloneJob initiates a Clone of a specific migrating VM.", |
| "file": "Client/CreateCloneJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateCloneJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateCloneJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateCloneJobOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCloneJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync", |
| "title": "vmmigration CreateCutoverJob Sample", |
| "description": "CreateCutoverJob initiates a Cutover of a specific migrating VM.\nThe returned LRO is completed when the cutover job resource is created\nand the job is initiated.", |
| "file": "Client/CreateCutoverJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateCutoverJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateCutoverJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateCutoverJobOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCutoverJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync", |
| "title": "vmmigration CreateDatacenterConnector Sample", |
| "description": "CreateDatacenterConnector creates a new DatacenterConnector in a given Source.", |
| "file": "Client/CreateDatacenterConnector/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateDatacenterConnector", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateDatacenterConnectorRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateDatacenterConnectorOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateDatacenterConnector", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateGroup_sync", |
| "title": "vmmigration CreateGroup Sample", |
| "description": "CreateGroup creates a new Group in a given project and location.", |
| "file": "Client/CreateGroup/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateGroup", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateGroup", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateGroupRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateGroupOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateGroup", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateGroup", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync", |
| "title": "vmmigration CreateMigratingVm Sample", |
| "description": "CreateMigratingVm creates a new MigratingVm in a given Source.", |
| "file": "Client/CreateMigratingVm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateMigratingVm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateMigratingVmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateMigratingVmOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateMigratingVm", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateSource_sync", |
| "title": "vmmigration CreateSource Sample", |
| "description": "CreateSource creates a new Source in a given project and location.", |
| "file": "Client/CreateSource/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateSource", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateSource", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateSourceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateSourceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateSource", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateSource", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateTargetProject_sync", |
| "title": "vmmigration CreateTargetProject Sample", |
| "description": "CreateTargetProject creates a new TargetProject in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", |
| "file": "Client/CreateTargetProject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateTargetProject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateTargetProjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateTargetProjectOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateTargetProject", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync", |
| "title": "vmmigration CreateUtilizationReport Sample", |
| "description": "CreateUtilizationReport creates a new UtilizationReport.", |
| "file": "Client/CreateUtilizationReport/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.Client.CreateUtilizationReport", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.CreateUtilizationReportRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateUtilizationReportOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateUtilizationReport", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync", |
| "title": "vmmigration DeleteDatacenterConnector Sample", |
| "description": "DeleteDatacenterConnector deletes a single DatacenterConnector.", |
| "file": "Client/DeleteDatacenterConnector/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteDatacenterConnector", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteDatacenterConnectorRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteDatacenterConnectorOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteDatacenterConnector", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteGroup_sync", |
| "title": "vmmigration DeleteGroup Sample", |
| "description": "DeleteGroup deletes a single Group.", |
| "file": "Client/DeleteGroup/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteGroup", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteGroup", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteGroupRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteGroupOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteGroup", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteGroup", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync", |
| "title": "vmmigration DeleteMigratingVm Sample", |
| "description": "DeleteMigratingVm deletes a single MigratingVm.", |
| "file": "Client/DeleteMigratingVm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteMigratingVm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteMigratingVmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteMigratingVmOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteMigratingVm", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteOperation_sync", |
| "title": "vmmigration DeleteOperation Sample", |
| "description": "DeleteOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/DeleteOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.DeleteOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "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": "vmmigration_v1_generated_VmMigration_DeleteSource_sync", |
| "title": "vmmigration DeleteSource Sample", |
| "description": "DeleteSource deletes a single Source.", |
| "file": "Client/DeleteSource/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteSource", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteSource", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteSourceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteSourceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteSource", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteSource", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync", |
| "title": "vmmigration DeleteTargetProject Sample", |
| "description": "DeleteTargetProject deletes a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", |
| "file": "Client/DeleteTargetProject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteTargetProject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteTargetProjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteTargetProjectOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteTargetProject", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync", |
| "title": "vmmigration DeleteUtilizationReport Sample", |
| "description": "DeleteUtilizationReport deletes a single Utilization Report.", |
| "file": "Client/DeleteUtilizationReport/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.Client.DeleteUtilizationReport", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.DeleteUtilizationReportRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteUtilizationReportOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteUtilizationReport", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_FetchInventory_sync", |
| "title": "vmmigration FetchInventory Sample", |
| "description": "FetchInventory list remote source's inventory of VMs.\nThe remote source is the onprem vCenter (remote in the sense it's not in\nCompute Engine). The inventory describes the list of existing VMs in that\nsource. Note that this operation lists the VMs on the remote source, as\nopposed to listing the MigratingVms resources in the vmmigration service.", |
| "file": "Client/FetchInventory/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "FetchInventory", |
| "fullName": "google.cloud.vmmigration.v1.Client.FetchInventory", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.FetchInventoryRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.FetchInventoryResponse", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "FetchInventory", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.FetchInventory", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_FinalizeMigration_sync", |
| "title": "vmmigration FinalizeMigration Sample", |
| "description": "FinalizeMigration marks a migration as completed, deleting migration resources that are no\nlonger being used. Only applicable after cutover is done.", |
| "file": "Client/FinalizeMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "FinalizeMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.FinalizeMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.FinalizeMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "FinalizeMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "FinalizeMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.FinalizeMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetCloneJob_sync", |
| "title": "vmmigration GetCloneJob Sample", |
| "description": "GetCloneJob gets details of a single CloneJob.", |
| "file": "Client/GetCloneJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetCloneJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetCloneJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.CloneJob", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetCloneJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCloneJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetCutoverJob_sync", |
| "title": "vmmigration GetCutoverJob Sample", |
| "description": "GetCutoverJob gets details of a single CutoverJob.", |
| "file": "Client/GetCutoverJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetCutoverJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetCutoverJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.CutoverJob", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetCutoverJob", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCutoverJob", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync", |
| "title": "vmmigration GetDatacenterConnector Sample", |
| "description": "GetDatacenterConnector gets details of a single DatacenterConnector.", |
| "file": "Client/GetDatacenterConnector/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetDatacenterConnector", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetDatacenterConnectorRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.DatacenterConnector", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetDatacenterConnector", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetDatacenterConnector", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetGroup_sync", |
| "title": "vmmigration GetGroup Sample", |
| "description": "GetGroup gets details of a single Group.", |
| "file": "Client/GetGroup/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetGroup", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetGroup", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetGroupRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.Group", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetGroup", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetGroup", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetLocation_sync", |
| "title": "vmmigration GetLocation Sample", |
| "description": "GetLocation gets information about a location.", |
| "file": "Client/GetLocation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetLocation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.GetLocationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*locationpb.Location", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "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": "vmmigration_v1_generated_VmMigration_GetMigratingVm_sync", |
| "title": "vmmigration GetMigratingVm Sample", |
| "description": "GetMigratingVm gets details of a single MigratingVm.", |
| "file": "Client/GetMigratingVm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetMigratingVm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetMigratingVmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.MigratingVm", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetMigratingVm", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetOperation_sync", |
| "title": "vmmigration GetOperation Sample", |
| "description": "GetOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/GetOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetOperation", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.GetOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*longrunningpb.Operation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "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": "vmmigration_v1_generated_VmMigration_GetReplicationCycle_sync", |
| "title": "vmmigration GetReplicationCycle Sample", |
| "description": "GetReplicationCycle gets details of a single ReplicationCycle.", |
| "file": "Client/GetReplicationCycle/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetReplicationCycle", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetReplicationCycle", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetReplicationCycleRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.ReplicationCycle", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetReplicationCycle", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetReplicationCycle", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetSource_sync", |
| "title": "vmmigration GetSource Sample", |
| "description": "GetSource gets details of a single Source.", |
| "file": "Client/GetSource/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetSource", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetSource", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetSourceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.Source", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetSource", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetSource", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetTargetProject_sync", |
| "title": "vmmigration GetTargetProject Sample", |
| "description": "GetTargetProject gets details of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", |
| "file": "Client/GetTargetProject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetTargetProject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetTargetProjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.TargetProject", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetTargetProject", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync", |
| "title": "vmmigration GetUtilizationReport Sample", |
| "description": "GetUtilizationReport gets a single Utilization Report.", |
| "file": "Client/GetUtilizationReport/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.Client.GetUtilizationReport", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.GetUtilizationReportRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*vmmigrationpb.UtilizationReport", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetUtilizationReport", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.GetUtilizationReport", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListCloneJobs_sync", |
| "title": "vmmigration ListCloneJobs Sample", |
| "description": "ListCloneJobs lists CloneJobs of a given migrating VM.", |
| "file": "Client/ListCloneJobs/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListCloneJobs", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListCloneJobs", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListCloneJobsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CloneJobIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListCloneJobs", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCloneJobs", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync", |
| "title": "vmmigration ListCutoverJobs Sample", |
| "description": "ListCutoverJobs lists CutoverJobs of a given migrating VM.", |
| "file": "Client/ListCutoverJobs/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListCutoverJobs", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListCutoverJobs", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListCutoverJobsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CutoverJobIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListCutoverJobs", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCutoverJobs", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync", |
| "title": "vmmigration ListDatacenterConnectors Sample", |
| "description": "ListDatacenterConnectors lists DatacenterConnectors in a given Source.", |
| "file": "Client/ListDatacenterConnectors/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListDatacenterConnectors", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListDatacenterConnectors", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListDatacenterConnectorsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DatacenterConnectorIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListDatacenterConnectors", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListDatacenterConnectors", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListGroups_sync", |
| "title": "vmmigration ListGroups Sample", |
| "description": "ListGroups lists Groups in a given project and location.", |
| "file": "Client/ListGroups/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListGroups", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListGroups", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListGroupsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "GroupIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListGroups", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListGroups", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListLocations_sync", |
| "title": "vmmigration ListLocations Sample", |
| "description": "ListLocations lists information about the supported locations for this service.", |
| "file": "Client/ListLocations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListLocations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.ListLocationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "LocationIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.location.Locations.ListLocations", |
| "service": { |
| "shortName": "Locations", |
| "fullName": "google.cloud.location.Locations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListMigratingVms_sync", |
| "title": "vmmigration ListMigratingVms Sample", |
| "description": "ListMigratingVms lists MigratingVms in a given Source.", |
| "file": "Client/ListMigratingVms/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListMigratingVms", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListMigratingVms", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListMigratingVmsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "MigratingVmIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListMigratingVms", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListMigratingVms", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListOperations_sync", |
| "title": "vmmigration ListOperations Sample", |
| "description": "ListOperations is a utility method from google.longrunning.Operations.", |
| "file": "Client/ListOperations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListOperations", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListOperations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.ListOperationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "OperationIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListOperations", |
| "fullName": "google.longrunning.Operations.ListOperations", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListReplicationCycles_sync", |
| "title": "vmmigration ListReplicationCycles Sample", |
| "description": "ListReplicationCycles lists ReplicationCycles in a given MigratingVM.", |
| "file": "Client/ListReplicationCycles/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListReplicationCycles", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListReplicationCycles", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListReplicationCyclesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ReplicationCycleIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListReplicationCycles", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListReplicationCycles", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListSources_sync", |
| "title": "vmmigration ListSources Sample", |
| "description": "ListSources lists Sources in a given project and location.", |
| "file": "Client/ListSources/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListSources", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListSources", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListSourcesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "SourceIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListSources", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListSources", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListTargetProjects_sync", |
| "title": "vmmigration ListTargetProjects Sample", |
| "description": "ListTargetProjects lists TargetProjects in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", |
| "file": "Client/ListTargetProjects/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListTargetProjects", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListTargetProjects", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListTargetProjectsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "TargetProjectIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListTargetProjects", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListTargetProjects", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync", |
| "title": "vmmigration ListUtilizationReports Sample", |
| "description": "ListUtilizationReports lists Utilization Reports of the given Source.", |
| "file": "Client/ListUtilizationReports/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListUtilizationReports", |
| "fullName": "google.cloud.vmmigration.v1.Client.ListUtilizationReports", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ListUtilizationReportsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UtilizationReportIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListUtilizationReports", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ListUtilizationReports", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 60, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_PauseMigration_sync", |
| "title": "vmmigration PauseMigration Sample", |
| "description": "PauseMigration pauses a migration for a VM. If cycle tasks are running they will be\ncancelled, preserving source task data. Further replication cycles will not\nbe triggered while the VM is paused.", |
| "file": "Client/PauseMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PauseMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.PauseMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.PauseMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "PauseMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "PauseMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.PauseMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync", |
| "title": "vmmigration RemoveGroupMigration Sample", |
| "description": "RemoveGroupMigration removes a MigratingVm from a Group.", |
| "file": "Client/RemoveGroupMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "RemoveGroupMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.RemoveGroupMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.RemoveGroupMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "RemoveGroupMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "RemoveGroupMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.RemoveGroupMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_ResumeMigration_sync", |
| "title": "vmmigration ResumeMigration Sample", |
| "description": "ResumeMigration resumes a migration for a VM. When called on a paused migration, will start\nthe process of uploading data and creating snapshots; when called on a\ncompleted cut-over migration, will update the migration to active state and\nstart the process of uploading data and creating snapshots.", |
| "file": "Client/ResumeMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ResumeMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.ResumeMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.ResumeMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ResumeMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "ResumeMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.ResumeMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_StartMigration_sync", |
| "title": "vmmigration StartMigration Sample", |
| "description": "StartMigration starts migration for a VM. Starts the process of uploading\ndata and creating snapshots, in replication cycles scheduled by the policy.", |
| "file": "Client/StartMigration/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "StartMigration", |
| "fullName": "google.cloud.vmmigration.v1.Client.StartMigration", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.StartMigrationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StartMigrationOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "StartMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.StartMigration", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_UpdateGroup_sync", |
| "title": "vmmigration UpdateGroup Sample", |
| "description": "UpdateGroup updates the parameters of a single Group.", |
| "file": "Client/UpdateGroup/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateGroup", |
| "fullName": "google.cloud.vmmigration.v1.Client.UpdateGroup", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.UpdateGroupRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateGroupOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateGroup", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateGroup", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync", |
| "title": "vmmigration UpdateMigratingVm Sample", |
| "description": "UpdateMigratingVm updates the parameters of a single MigratingVm.", |
| "file": "Client/UpdateMigratingVm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.Client.UpdateMigratingVm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.UpdateMigratingVmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateMigratingVmOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateMigratingVm", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateMigratingVm", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_UpdateSource_sync", |
| "title": "vmmigration UpdateSource Sample", |
| "description": "UpdateSource updates the parameters of a single Source.", |
| "file": "Client/UpdateSource/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateSource", |
| "fullName": "google.cloud.vmmigration.v1.Client.UpdateSource", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.UpdateSourceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateSourceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateSource", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateSource", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync", |
| "title": "vmmigration UpdateTargetProject Sample", |
| "description": "UpdateTargetProject updates the parameters of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", |
| "file": "Client/UpdateTargetProject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.Client.UpdateTargetProject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.UpdateTargetProjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateTargetProjectOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateTargetProject", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateTargetProject", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "vmmigration_v1_generated_VmMigration_UpgradeAppliance_sync", |
| "title": "vmmigration UpgradeAppliance Sample", |
| "description": "UpgradeAppliance upgrades the appliance relate to this DatacenterConnector to the in-place\nupdateable version.", |
| "file": "Client/UpgradeAppliance/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpgradeAppliance", |
| "fullName": "google.cloud.vmmigration.v1.Client.UpgradeAppliance", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "vmmigrationpb.UpgradeApplianceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpgradeApplianceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.vmmigration.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpgradeAppliance", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration.UpgradeAppliance", |
| "service": { |
| "shortName": "VmMigration", |
| "fullName": "google.cloud.vmmigration.v1.VmMigration" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| } |
| ] |
| } |