blob: 1c91802fad0d498e945270f9a50531c0f83ec447 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/baremetalsolution/apiv2",
"version": "1.2.6",
"language": "GO",
"apis": [
{
"id": "google.cloud.baremetalsolution.v2",
"version": "v2"
}
]
},
"snippets": [
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateNfsShare_sync",
"title": "baremetalsolution CreateNfsShare Sample",
"description": "CreateNfsShare create an NFS share.",
"file": "Client/CreateNfsShare/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.Client.CreateNfsShare",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.CreateNfsShareRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateNfsShareOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "CreateNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateNfsShare",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateProvisioningConfig_sync",
"title": "baremetalsolution CreateProvisioningConfig Sample",
"description": "CreateProvisioningConfig create new ProvisioningConfig.",
"file": "Client/CreateProvisioningConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.Client.CreateProvisioningConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.CreateProvisioningConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.ProvisioningConfig",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "CreateProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateProvisioningConfig",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateSSHKey_sync",
"title": "baremetalsolution CreateSSHKey Sample",
"description": "CreateSSHKey register a public SSH key in the specified project for use with the\ninteractive serial console feature.",
"file": "Client/CreateSSHKey/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSSHKey",
"fullName": "google.cloud.baremetalsolution.v2.Client.CreateSSHKey",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.CreateSSHKeyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.SSHKey",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "CreateSSHKey",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateSSHKey",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateVolumeSnapshot_sync",
"title": "baremetalsolution CreateVolumeSnapshot Sample",
"description": "CreateVolumeSnapshot takes a snapshot of a boot volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.",
"file": "Client/CreateVolumeSnapshot/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.Client.CreateVolumeSnapshot",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.CreateVolumeSnapshotRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.VolumeSnapshot",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "CreateVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateVolumeSnapshot",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteNfsShare_sync",
"title": "baremetalsolution DeleteNfsShare Sample",
"description": "DeleteNfsShare delete an NFS share. The underlying volume is automatically deleted.",
"file": "Client/DeleteNfsShare/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.Client.DeleteNfsShare",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.DeleteNfsShareRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteNfsShareOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "DeleteNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteNfsShare",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteSSHKey_sync",
"title": "baremetalsolution DeleteSSHKey Sample",
"description": "DeleteSSHKey deletes a public SSH key registered in the specified project.",
"file": "Client/DeleteSSHKey/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSSHKey",
"fullName": "google.cloud.baremetalsolution.v2.Client.DeleteSSHKey",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.DeleteSSHKeyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "DeleteSSHKey",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteSSHKey",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteVolumeSnapshot_sync",
"title": "baremetalsolution DeleteVolumeSnapshot Sample",
"description": "DeleteVolumeSnapshot deletes a volume snapshot.\nReturns INVALID_ARGUMENT if called for a non-boot volume.",
"file": "Client/DeleteVolumeSnapshot/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.Client.DeleteVolumeSnapshot",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.DeleteVolumeSnapshotRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "DeleteVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteVolumeSnapshot",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DetachLun_sync",
"title": "baremetalsolution DetachLun Sample",
"description": "DetachLun detach LUN from Instance.",
"file": "Client/DetachLun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DetachLun",
"fullName": "google.cloud.baremetalsolution.v2.Client.DetachLun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.DetachLunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DetachLunOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "DetachLun",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DetachLun",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DisableInteractiveSerialConsole_sync",
"title": "baremetalsolution DisableInteractiveSerialConsole Sample",
"description": "DisableInteractiveSerialConsole disable the interactive serial console feature on an instance.",
"file": "Client/DisableInteractiveSerialConsole/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DisableInteractiveSerialConsole",
"fullName": "google.cloud.baremetalsolution.v2.Client.DisableInteractiveSerialConsole",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.DisableInteractiveSerialConsoleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DisableInteractiveSerialConsoleOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "DisableInteractiveSerialConsole",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DisableInteractiveSerialConsole",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EnableInteractiveSerialConsole_sync",
"title": "baremetalsolution EnableInteractiveSerialConsole Sample",
"description": "EnableInteractiveSerialConsole enable the interactive serial console feature on an instance.",
"file": "Client/EnableInteractiveSerialConsole/main.go",
"language": "GO",
"clientMethod": {
"shortName": "EnableInteractiveSerialConsole",
"fullName": "google.cloud.baremetalsolution.v2.Client.EnableInteractiveSerialConsole",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.EnableInteractiveSerialConsoleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EnableInteractiveSerialConsoleOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "EnableInteractiveSerialConsole",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EnableInteractiveSerialConsole",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictLun_sync",
"title": "baremetalsolution EvictLun Sample",
"description": "EvictLun skips lun's cooloff and deletes it now.\nLun must be in cooloff state.",
"file": "Client/EvictLun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "EvictLun",
"fullName": "google.cloud.baremetalsolution.v2.Client.EvictLun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.EvictLunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EvictLunOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "EvictLun",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictLun",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictVolume_sync",
"title": "baremetalsolution EvictVolume Sample",
"description": "EvictVolume skips volume's cooloff and deletes it now.\nVolume must be in cooloff state.",
"file": "Client/EvictVolume/main.go",
"language": "GO",
"clientMethod": {
"shortName": "EvictVolume",
"fullName": "google.cloud.baremetalsolution.v2.Client.EvictVolume",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.EvictVolumeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EvictVolumeOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "EvictVolume",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictVolume",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetInstance_sync",
"title": "baremetalsolution GetInstance Sample",
"description": "GetInstance get details about a single server.",
"file": "Client/GetInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Instance",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetLocation_sync",
"title": "baremetalsolution GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "Client/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.baremetalsolution.v2.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.baremetalsolution.v2.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": "baremetalsolution_v2_generated_BareMetalSolution_GetLun_sync",
"title": "baremetalsolution GetLun Sample",
"description": "GetLun get details of a single storage logical unit number(LUN).",
"file": "Client/GetLun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLun",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetLun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetLunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Lun",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetLun",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetLun",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_sync",
"title": "baremetalsolution GetNetwork Sample",
"description": "GetNetwork get details of a single network.",
"file": "Client/GetNetwork/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetNetwork",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetNetwork",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetNetworkRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Network",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetNetwork",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNetwork",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_sync",
"title": "baremetalsolution GetNfsShare Sample",
"description": "GetNfsShare get details of a single NFS share.",
"file": "Client/GetNfsShare/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetNfsShare",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetNfsShareRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.NfsShare",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNfsShare",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetProvisioningConfig_sync",
"title": "baremetalsolution GetProvisioningConfig Sample",
"description": "GetProvisioningConfig get ProvisioningConfig by name.",
"file": "Client/GetProvisioningConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetProvisioningConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetProvisioningConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.ProvisioningConfig",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetProvisioningConfig",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolume_sync",
"title": "baremetalsolution GetVolume Sample",
"description": "GetVolume get details of a single storage volume.",
"file": "Client/GetVolume/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetVolume",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetVolume",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetVolumeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Volume",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetVolume",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolume",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolumeSnapshot_sync",
"title": "baremetalsolution GetVolumeSnapshot Sample",
"description": "GetVolumeSnapshot returns the specified snapshot resource.\nReturns INVALID_ARGUMENT if called for a non-boot volume.",
"file": "Client/GetVolumeSnapshot/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.Client.GetVolumeSnapshot",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.GetVolumeSnapshotRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.VolumeSnapshot",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "GetVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolumeSnapshot",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListInstances_sync",
"title": "baremetalsolution ListInstances Sample",
"description": "ListInstances list servers in a given project and location.",
"file": "Client/ListInstances/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListInstances",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListInstances",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListInstancesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "InstanceIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListInstances",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListInstances",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLocations_sync",
"title": "baremetalsolution 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.baremetalsolution.v2.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.baremetalsolution.v2.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": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLuns_sync",
"title": "baremetalsolution ListLuns Sample",
"description": "ListLuns list storage volume luns for given storage volume.",
"file": "Client/ListLuns/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLuns",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListLuns",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListLunsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LunIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListLuns",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListLuns",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworkUsage_sync",
"title": "baremetalsolution ListNetworkUsage Sample",
"description": "ListNetworkUsage list all Networks (and used IPs for each Network) in the vendor account\nassociated with the specified project.",
"file": "Client/ListNetworkUsage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNetworkUsage",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListNetworkUsage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListNetworkUsageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.ListNetworkUsageResponse",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListNetworkUsage",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworkUsage",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworks_sync",
"title": "baremetalsolution ListNetworks Sample",
"description": "ListNetworks list network in a given project and location.",
"file": "Client/ListNetworks/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNetworks",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListNetworks",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListNetworksRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "NetworkIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListNetworks",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworks",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNfsShares_sync",
"title": "baremetalsolution ListNfsShares Sample",
"description": "ListNfsShares list NFS shares.",
"file": "Client/ListNfsShares/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNfsShares",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListNfsShares",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListNfsSharesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "NfsShareIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListNfsShares",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNfsShares",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListOSImages_sync",
"title": "baremetalsolution ListOSImages Sample",
"description": "ListOSImages retrieves the list of OS images which are currently approved.",
"file": "Client/ListOSImages/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOSImages",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListOSImages",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListOSImagesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OSImageIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListOSImages",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListOSImages",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListProvisioningQuotas_sync",
"title": "baremetalsolution ListProvisioningQuotas Sample",
"description": "ListProvisioningQuotas list the budget details to provision resources on a given project.",
"file": "Client/ListProvisioningQuotas/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListProvisioningQuotas",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListProvisioningQuotas",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListProvisioningQuotasRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ProvisioningQuotaIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListProvisioningQuotas",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListProvisioningQuotas",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListSSHKeys_sync",
"title": "baremetalsolution ListSSHKeys Sample",
"description": "ListSSHKeys lists the public SSH keys registered for the specified project.\nThese SSH keys are used only for the interactive serial console feature.",
"file": "Client/ListSSHKeys/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSSHKeys",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListSSHKeys",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListSSHKeysRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SSHKeyIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListSSHKeys",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListSSHKeys",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumeSnapshots_sync",
"title": "baremetalsolution ListVolumeSnapshots Sample",
"description": "ListVolumeSnapshots retrieves the list of snapshots for the specified volume.\nReturns a response with an empty list of snapshots if called\nfor a non-boot volume.",
"file": "Client/ListVolumeSnapshots/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListVolumeSnapshots",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListVolumeSnapshots",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListVolumeSnapshotsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "VolumeSnapshotIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListVolumeSnapshots",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumeSnapshots",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumes_sync",
"title": "baremetalsolution ListVolumes Sample",
"description": "ListVolumes list storage volumes in a given project and location.",
"file": "Client/ListVolumes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListVolumes",
"fullName": "google.cloud.baremetalsolution.v2.Client.ListVolumes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ListVolumesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "VolumeIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ListVolumes",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumes",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameInstance_sync",
"title": "baremetalsolution RenameInstance Sample",
"description": "RenameInstance renameInstance sets a new name for an instance.\nUse with caution, previous names become immediately invalidated.",
"file": "Client/RenameInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RenameInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.RenameInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.RenameInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Instance",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "RenameInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNetwork_sync",
"title": "baremetalsolution RenameNetwork Sample",
"description": "RenameNetwork renameNetwork sets a new name for a network.\nUse with caution, previous names become immediately invalidated.",
"file": "Client/RenameNetwork/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RenameNetwork",
"fullName": "google.cloud.baremetalsolution.v2.Client.RenameNetwork",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.RenameNetworkRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Network",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "RenameNetwork",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNetwork",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNfsShare_sync",
"title": "baremetalsolution RenameNfsShare Sample",
"description": "RenameNfsShare renameNfsShare sets a new name for an nfsshare.\nUse with caution, previous names become immediately invalidated.",
"file": "Client/RenameNfsShare/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RenameNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.Client.RenameNfsShare",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.RenameNfsShareRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.NfsShare",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "RenameNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNfsShare",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameVolume_sync",
"title": "baremetalsolution RenameVolume Sample",
"description": "RenameVolume renameVolume sets a new name for a volume.\nUse with caution, previous names become immediately invalidated.",
"file": "Client/RenameVolume/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RenameVolume",
"fullName": "google.cloud.baremetalsolution.v2.Client.RenameVolume",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.RenameVolumeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.Volume",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "RenameVolume",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameVolume",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResetInstance_sync",
"title": "baremetalsolution ResetInstance Sample",
"description": "ResetInstance perform an ungraceful, hard reset on a server. Equivalent to shutting the\npower off and then turning it back on.",
"file": "Client/ResetInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ResetInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.ResetInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ResetInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ResetInstanceOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ResetInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResetInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResizeVolume_sync",
"title": "baremetalsolution ResizeVolume Sample",
"description": "ResizeVolume emergency Volume resize.",
"file": "Client/ResizeVolume/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ResizeVolume",
"fullName": "google.cloud.baremetalsolution.v2.Client.ResizeVolume",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.ResizeVolumeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ResizeVolumeOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "ResizeVolume",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResizeVolume",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RestoreVolumeSnapshot_sync",
"title": "baremetalsolution RestoreVolumeSnapshot Sample",
"description": "RestoreVolumeSnapshot uses the specified snapshot to restore its parent volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.",
"file": "Client/RestoreVolumeSnapshot/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RestoreVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.Client.RestoreVolumeSnapshot",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.RestoreVolumeSnapshotRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RestoreVolumeSnapshotOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "RestoreVolumeSnapshot",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RestoreVolumeSnapshot",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StartInstance_sync",
"title": "baremetalsolution StartInstance Sample",
"description": "StartInstance starts a server that was shutdown.",
"file": "Client/StartInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StartInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.StartInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.StartInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "StartInstanceOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "StartInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StartInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StopInstance_sync",
"title": "baremetalsolution StopInstance Sample",
"description": "StopInstance stop a running server.",
"file": "Client/StopInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StopInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.StopInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.StopInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "StopInstanceOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "StopInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StopInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_SubmitProvisioningConfig_sync",
"title": "baremetalsolution SubmitProvisioningConfig Sample",
"description": "SubmitProvisioningConfig submit a provisiong configuration for a given project.",
"file": "Client/SubmitProvisioningConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SubmitProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.Client.SubmitProvisioningConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.SubmitProvisioningConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.SubmitProvisioningConfigResponse",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "SubmitProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.SubmitProvisioningConfig",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateInstance_sync",
"title": "baremetalsolution UpdateInstance Sample",
"description": "UpdateInstance update details of a single server.",
"file": "Client/UpdateInstance/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateInstance",
"fullName": "google.cloud.baremetalsolution.v2.Client.UpdateInstance",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.UpdateInstanceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateInstanceOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "UpdateInstance",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateInstance",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNetwork_sync",
"title": "baremetalsolution UpdateNetwork Sample",
"description": "UpdateNetwork update details of a single network.",
"file": "Client/UpdateNetwork/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateNetwork",
"fullName": "google.cloud.baremetalsolution.v2.Client.UpdateNetwork",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.UpdateNetworkRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateNetworkOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "UpdateNetwork",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNetwork",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNfsShare_sync",
"title": "baremetalsolution UpdateNfsShare Sample",
"description": "UpdateNfsShare update details of a single NFS share.",
"file": "Client/UpdateNfsShare/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.Client.UpdateNfsShare",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.UpdateNfsShareRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateNfsShareOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "UpdateNfsShare",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNfsShare",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateProvisioningConfig_sync",
"title": "baremetalsolution UpdateProvisioningConfig Sample",
"description": "UpdateProvisioningConfig update existing ProvisioningConfig.",
"file": "Client/UpdateProvisioningConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.Client.UpdateProvisioningConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.UpdateProvisioningConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*baremetalsolutionpb.ProvisioningConfig",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "UpdateProvisioningConfig",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateProvisioningConfig",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateVolume_sync",
"title": "baremetalsolution UpdateVolume Sample",
"description": "UpdateVolume update details of a single storage volume.",
"file": "Client/UpdateVolume/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateVolume",
"fullName": "google.cloud.baremetalsolution.v2.Client.UpdateVolume",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "baremetalsolutionpb.UpdateVolumeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateVolumeOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.baremetalsolution.v2.Client"
},
"method": {
"shortName": "UpdateVolume",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateVolume",
"service": {
"shortName": "BareMetalSolution",
"fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
}
]
}