blob: 1a3334d9b2b90746c08f030fe99e436a691280a0 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/gkemulticloud/apiv1",
"version": "0.5.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.gkemulticloud.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_CancelOperation_sync",
"title": "gkemulticloud CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "AttachedClustersClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CancelOperation",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_CreateAttachedCluster_sync",
"title": "gkemulticloud CreateAttachedCluster Sample",
"description": "CreateAttachedCluster creates a new\nAttachedCluster resource\non a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AttachedClustersClient/CreateAttachedCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.CreateAttachedCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAttachedClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAttachedClusterOperation",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "CreateAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedCluster",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteAttachedCluster_sync",
"title": "gkemulticloud DeleteAttachedCluster Sample",
"description": "DeleteAttachedCluster deletes a specific\nAttachedCluster resource.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AttachedClustersClient/DeleteAttachedCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.DeleteAttachedCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAttachedClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAttachedClusterOperation",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "DeleteAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedCluster",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteOperation_sync",
"title": "gkemulticloud DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "AttachedClustersClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteOperation",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterInstallManifest_sync",
"title": "gkemulticloud GenerateAttachedClusterInstallManifest Sample",
"description": "GenerateAttachedClusterInstallManifest generates the install manifest to be installed on the target cluster.",
"file": "AttachedClustersClient/GenerateAttachedClusterInstallManifest/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GenerateAttachedClusterInstallManifest",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GenerateAttachedClusterInstallManifest",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GenerateAttachedClusterInstallManifestRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.GenerateAttachedClusterInstallManifestResponse",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "GenerateAttachedClusterInstallManifest",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifest",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedCluster_sync",
"title": "gkemulticloud GetAttachedCluster Sample",
"description": "GetAttachedCluster describes a specific\nAttachedCluster resource.",
"file": "AttachedClustersClient/GetAttachedCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetAttachedCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAttachedClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AttachedCluster",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "GetAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedCluster",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedServerConfig_sync",
"title": "gkemulticloud GetAttachedServerConfig Sample",
"description": "GetAttachedServerConfig returns information, such as supported Kubernetes versions, on a given\nGoogle Cloud location.",
"file": "AttachedClustersClient/GetAttachedServerConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAttachedServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetAttachedServerConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAttachedServerConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AttachedServerConfig",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "GetAttachedServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetOperation_sync",
"title": "gkemulticloud GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "AttachedClustersClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetOperation",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 54,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_ImportAttachedCluster_sync",
"title": "gkemulticloud ImportAttachedCluster Sample",
"description": "ImportAttachedCluster imports creates a new\nAttachedCluster resource\nby importing an existing Fleet Membership resource.\n\nAttached Clusters created before the introduction of the Anthos Multi-Cloud\nAPI can be imported through this method.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AttachedClustersClient/ImportAttachedCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ImportAttachedCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ImportAttachedClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportAttachedClusterOperation",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "ImportAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedCluster",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListAttachedClusters_sync",
"title": "gkemulticloud ListAttachedClusters Sample",
"description": "ListAttachedClusters lists all AttachedCluster\nresources on a given Google Cloud project and region.",
"file": "AttachedClustersClient/ListAttachedClusters/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ListAttachedClusters",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAttachedClustersRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AttachedClusterIterator",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "ListAttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListOperations_sync",
"title": "gkemulticloud ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "AttachedClustersClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListOperations",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 61,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AttachedClusters_UpdateAttachedCluster_sync",
"title": "gkemulticloud UpdateAttachedCluster Sample",
"description": "UpdateAttachedCluster updates an\nAttachedCluster.",
"file": "AttachedClustersClient/UpdateAttachedCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.UpdateAttachedCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.UpdateAttachedClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateAttachedClusterOperation",
"client": {
"shortName": "AttachedClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient"
},
"method": {
"shortName": "UpdateAttachedCluster",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedCluster",
"service": {
"shortName": "AttachedClusters",
"fullName": "google.cloud.gkemulticloud.v1.AttachedClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_CancelOperation_sync",
"title": "gkemulticloud CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "AwsClustersClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CancelOperation",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsCluster_sync",
"title": "gkemulticloud CreateAwsCluster Sample",
"description": "CreateAwsCluster creates a new AwsCluster\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AwsClustersClient/CreateAwsCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CreateAwsCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAwsClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAwsClusterOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "CreateAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsCluster",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsNodePool_sync",
"title": "gkemulticloud CreateAwsNodePool Sample",
"description": "CreateAwsNodePool creates a new AwsNodePool,\nattached to a given AwsCluster.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AwsClustersClient/CreateAwsNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CreateAwsNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAwsNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAwsNodePoolOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "CreateAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePool",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsCluster_sync",
"title": "gkemulticloud DeleteAwsCluster Sample",
"description": "DeleteAwsCluster deletes a specific AwsCluster\nresource.\n\nFails if the cluster has one or more associated\nAwsNodePool resources.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AwsClustersClient/DeleteAwsCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteAwsCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAwsClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAwsClusterOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "DeleteAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsCluster",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsNodePool_sync",
"title": "gkemulticloud DeleteAwsNodePool Sample",
"description": "DeleteAwsNodePool deletes a specific AwsNodePool\nresource.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AwsClustersClient/DeleteAwsNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteAwsNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAwsNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAwsNodePoolOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "DeleteAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePool",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteOperation_sync",
"title": "gkemulticloud DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "AwsClustersClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteOperation",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_GenerateAwsAccessToken_sync",
"title": "gkemulticloud GenerateAwsAccessToken Sample",
"description": "GenerateAwsAccessToken generates a short-lived access token to authenticate to a given\nAwsCluster resource.",
"file": "AwsClustersClient/GenerateAwsAccessToken/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GenerateAwsAccessToken",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GenerateAwsAccessToken",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GenerateAwsAccessTokenRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.GenerateAwsAccessTokenResponse",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "GenerateAwsAccessToken",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessToken",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsCluster_sync",
"title": "gkemulticloud GetAwsCluster Sample",
"description": "GetAwsCluster describes a specific AwsCluster\nresource.",
"file": "AwsClustersClient/GetAwsCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAwsClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AwsCluster",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "GetAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsNodePool_sync",
"title": "gkemulticloud GetAwsNodePool Sample",
"description": "GetAwsNodePool describes a specific\nAwsNodePool resource.",
"file": "AwsClustersClient/GetAwsNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAwsNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AwsNodePool",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "GetAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePool",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsServerConfig_sync",
"title": "gkemulticloud GetAwsServerConfig Sample",
"description": "GetAwsServerConfig returns information, such as supported AWS regions and Kubernetes\nversions, on a given Google Cloud location.",
"file": "AwsClustersClient/GetAwsServerConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAwsServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsServerConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAwsServerConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AwsServerConfig",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "GetAwsServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_GetOperation_sync",
"title": "gkemulticloud GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "AwsClustersClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetOperation",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 54,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsClusters_sync",
"title": "gkemulticloud ListAwsClusters Sample",
"description": "ListAwsClusters lists all AwsCluster resources\non a given Google Cloud project and region.",
"file": "AwsClustersClient/ListAwsClusters/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClusters",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAwsClustersRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AwsClusterIterator",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "ListAwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsNodePools_sync",
"title": "gkemulticloud ListAwsNodePools Sample",
"description": "ListAwsNodePools lists all AwsNodePool\nresources on a given\nAwsCluster.",
"file": "AwsClustersClient/ListAwsNodePools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAwsNodePools",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAwsNodePoolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AwsNodePoolIterator",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "ListAwsNodePools",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_ListOperations_sync",
"title": "gkemulticloud ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "AwsClustersClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListOperations",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 61,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsCluster_sync",
"title": "gkemulticloud UpdateAwsCluster Sample",
"description": "UpdateAwsCluster updates an AwsCluster.",
"file": "AwsClustersClient/UpdateAwsCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.UpdateAwsCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.UpdateAwsClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateAwsClusterOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "UpdateAwsCluster",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsCluster",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsNodePool_sync",
"title": "gkemulticloud UpdateAwsNodePool Sample",
"description": "UpdateAwsNodePool updates an AwsNodePool.",
"file": "AwsClustersClient/UpdateAwsNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.UpdateAwsNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.UpdateAwsNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateAwsNodePoolOperation",
"client": {
"shortName": "AwsClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient"
},
"method": {
"shortName": "UpdateAwsNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePool",
"service": {
"shortName": "AwsClusters",
"fullName": "google.cloud.gkemulticloud.v1.AwsClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_CancelOperation_sync",
"title": "gkemulticloud CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "AzureClustersClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CancelOperation",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureClient_sync",
"title": "gkemulticloud CreateAzureClient Sample",
"description": "CreateAzureClient creates a new AzureClient\nresource on a given Google Cloud project and region.\n\nAzureClient resources hold client authentication\ninformation needed by the Anthos Multicloud API to manage Azure resources\non your Azure subscription on your behalf.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/CreateAzureClient/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureClient",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAzureClientRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAzureClientOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "CreateAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureClient",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureCluster_sync",
"title": "gkemulticloud CreateAzureCluster Sample",
"description": "CreateAzureCluster creates a new AzureCluster\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/CreateAzureCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAzureClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAzureClusterOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "CreateAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureCluster",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureNodePool_sync",
"title": "gkemulticloud CreateAzureNodePool Sample",
"description": "CreateAzureNodePool creates a new AzureNodePool,\nattached to a given\nAzureCluster.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/CreateAzureNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.CreateAzureNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateAzureNodePoolOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "CreateAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureNodePool",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureClient_sync",
"title": "gkemulticloud DeleteAzureClient Sample",
"description": "DeleteAzureClient deletes a specific AzureClient\nresource.\n\nIf the client is used by one or more clusters, deletion will\nfail and a FAILED_PRECONDITION error will be returned.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/DeleteAzureClient/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureClient",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAzureClientRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAzureClientOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "DeleteAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureClient",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureCluster_sync",
"title": "gkemulticloud DeleteAzureCluster Sample",
"description": "DeleteAzureCluster deletes a specific\nAzureCluster resource.\n\nFails if the cluster has one or more associated\nAzureNodePool resources.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/DeleteAzureCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAzureClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAzureClusterOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "DeleteAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureCluster",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureNodePool_sync",
"title": "gkemulticloud DeleteAzureNodePool Sample",
"description": "DeleteAzureNodePool deletes a specific\nAzureNodePool resource.\n\nIf successful, the response contains a newly created\nOperation resource that can be\ndescribed to track the status of the operation.",
"file": "AzureClustersClient/DeleteAzureNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.DeleteAzureNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteAzureNodePoolOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "DeleteAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureNodePool",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteOperation_sync",
"title": "gkemulticloud DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "AzureClustersClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteOperation",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GenerateAzureAccessToken_sync",
"title": "gkemulticloud GenerateAzureAccessToken Sample",
"description": "GenerateAzureAccessToken generates a short-lived access token to authenticate to a given\nAzureCluster resource.",
"file": "AzureClustersClient/GenerateAzureAccessToken/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GenerateAzureAccessToken",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GenerateAzureAccessToken",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GenerateAzureAccessTokenRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.GenerateAzureAccessTokenResponse",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GenerateAzureAccessToken",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureAccessToken",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureClient_sync",
"title": "gkemulticloud GetAzureClient Sample",
"description": "GetAzureClient describes a specific\nAzureClient resource.",
"file": "AzureClustersClient/GetAzureClient/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureClient",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAzureClientRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AzureClient",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GetAzureClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureClient",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureCluster_sync",
"title": "gkemulticloud GetAzureCluster Sample",
"description": "GetAzureCluster describes a specific\nAzureCluster resource.",
"file": "AzureClustersClient/GetAzureCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAzureClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AzureCluster",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GetAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureCluster",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureNodePool_sync",
"title": "gkemulticloud GetAzureNodePool Sample",
"description": "GetAzureNodePool describes a specific\nAzureNodePool resource.",
"file": "AzureClustersClient/GetAzureNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAzureNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AzureNodePool",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GetAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureNodePool",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureServerConfig_sync",
"title": "gkemulticloud GetAzureServerConfig Sample",
"description": "GetAzureServerConfig returns information, such as supported Azure regions and Kubernetes\nversions, on a given Google Cloud location.",
"file": "AzureClustersClient/GetAzureServerConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAzureServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureServerConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.GetAzureServerConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "gkemulticloudpb.AzureServerConfig",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GetAzureServerConfig",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_GetOperation_sync",
"title": "gkemulticloud GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "AzureClustersClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetOperation",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 54,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClients_sync",
"title": "gkemulticloud ListAzureClients Sample",
"description": "ListAzureClients lists all AzureClient\nresources on a given Google Cloud project and region.",
"file": "AzureClustersClient/ListAzureClients/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAzureClients",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClients",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAzureClientsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AzureClientIterator",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "ListAzureClients",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClusters_sync",
"title": "gkemulticloud ListAzureClusters Sample",
"description": "ListAzureClusters lists all AzureCluster\nresources on a given Google Cloud project and region.",
"file": "AzureClustersClient/ListAzureClusters/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClusters",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAzureClustersRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AzureClusterIterator",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "ListAzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureNodePools_sync",
"title": "gkemulticloud ListAzureNodePools Sample",
"description": "ListAzureNodePools lists all AzureNodePool\nresources on a given\nAzureCluster.",
"file": "AzureClustersClient/ListAzureNodePools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAzureNodePools",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureNodePools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.ListAzureNodePoolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AzureNodePoolIterator",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "ListAzureNodePools",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_ListOperations_sync",
"title": "gkemulticloud ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "AzureClustersClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListOperations",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 61,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureCluster_sync",
"title": "gkemulticloud UpdateAzureCluster Sample",
"description": "UpdateAzureCluster updates an AzureCluster.",
"file": "AzureClustersClient/UpdateAzureCluster/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.UpdateAzureCluster",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.UpdateAzureClusterRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateAzureClusterOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "UpdateAzureCluster",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureCluster",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureNodePool_sync",
"title": "gkemulticloud UpdateAzureNodePool Sample",
"description": "UpdateAzureNodePool updates an AzureNodePool.",
"file": "AzureClustersClient/UpdateAzureNodePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.UpdateAzureNodePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gkemulticloudpb.UpdateAzureNodePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateAzureNodePoolOperation",
"client": {
"shortName": "AzureClustersClient",
"fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient"
},
"method": {
"shortName": "UpdateAzureNodePool",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureNodePool",
"service": {
"shortName": "AzureClusters",
"fullName": "google.cloud.gkemulticloud.v1.AzureClusters"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
}
]
}