public class AttachedClusters.AttachedClustersClient : ClientBase<AttachedClusters.AttachedClustersClient>
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedClusters.AttachedClustersClient.
Client for AttachedClusters
Inheritance
object > ClientBase > ClientBaseAttachedClustersAttachedClustersClient > AttachedClusters.AttachedClustersClientNamespace
GoogleCloudGoogle.Cloud.GkeMultiCloudV1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Constructors
AttachedClustersClient()
protected AttachedClustersClient()
Protected parameterless constructor to allow creation of test doubles.
AttachedClustersClient(CallInvoker)
public AttachedClustersClient(CallInvoker callInvoker)
Creates a new client for AttachedClusters that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
AttachedClustersClient(ChannelBase)
public AttachedClustersClient(ChannelBase channel)
Creates a new client for AttachedClusters
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
AttachedClustersClient(ClientBaseConfiguration)
protected AttachedClustersClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateAttachedCluster(CreateAttachedClusterRequest, CallOptions)
public virtual Operation CreateAttachedCluster(CreateAttachedClusterRequest request, CallOptions options)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateAttachedCluster(CreateAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateAttachedCluster(CreateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateAttachedClusterAsync(CreateAttachedClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateAttachedClusterAsync(CreateAttachedClusterRequest request, CallOptions options)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CreateAttachedClusterAsync(CreateAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAttachedClusterAsync(CreateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
DeleteAttachedCluster(DeleteAttachedClusterRequest, CallOptions)
public virtual Operation DeleteAttachedCluster(DeleteAttachedClusterRequest request, CallOptions options)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAttachedCluster(DeleteAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteAttachedCluster(DeleteAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAttachedClusterAsync(DeleteAttachedClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAttachedClusterAsync(DeleteAttachedClusterRequest request, CallOptions options)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAttachedClusterAsync(DeleteAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAttachedClusterAsync(DeleteAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, CallOptions)
public virtual GenerateAttachedClusterInstallManifestResponse GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, CallOptions options)
Generates the install manifest to be installed on the target cluster.
Parameters | |
---|---|
Name | Description |
request | GenerateAttachedClusterInstallManifestRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GenerateAttachedClusterInstallManifestResponse | The response received from the server. |
GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, Metadata, DateTime?, CancellationToken)
public virtual GenerateAttachedClusterInstallManifestResponse GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Generates the install manifest to be installed on the target cluster.
Parameters | |
---|---|
Name | Description |
request | GenerateAttachedClusterInstallManifestRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GenerateAttachedClusterInstallManifestResponse | The response received from the server. |
GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest, CallOptions)
public virtual AsyncUnaryCall<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest request, CallOptions options)
Generates the install manifest to be installed on the target cluster.
Parameters | |
---|---|
Name | Description |
request | GenerateAttachedClusterInstallManifestRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerateAttachedClusterInstallManifestResponse | The call object. |
GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Generates the install manifest to be installed on the target cluster.
Parameters | |
---|---|
Name | Description |
request | GenerateAttachedClusterInstallManifestRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerateAttachedClusterInstallManifestResponse | The call object. |
GetAttachedCluster(GetAttachedClusterRequest, CallOptions)
public virtual AttachedCluster GetAttachedCluster(GetAttachedClusterRequest request, CallOptions options)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GetAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AttachedCluster | The response received from the server. |
GetAttachedCluster(GetAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AttachedCluster GetAttachedCluster(GetAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GetAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AttachedCluster | The response received from the server. |
GetAttachedClusterAsync(GetAttachedClusterRequest, CallOptions)
public virtual AsyncUnaryCall<AttachedCluster> GetAttachedClusterAsync(GetAttachedClusterRequest request, CallOptions options)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GetAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAttachedCluster | The call object. |
GetAttachedClusterAsync(GetAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AttachedCluster> GetAttachedClusterAsync(GetAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GetAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAttachedCluster | The call object. |
GetAttachedServerConfig(GetAttachedServerConfigRequest, CallOptions)
public virtual AttachedServerConfig GetAttachedServerConfig(GetAttachedServerConfigRequest request, CallOptions options)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
request | GetAttachedServerConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AttachedServerConfig | The response received from the server. |
GetAttachedServerConfig(GetAttachedServerConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AttachedServerConfig GetAttachedServerConfig(GetAttachedServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
request | GetAttachedServerConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AttachedServerConfig | The response received from the server. |
GetAttachedServerConfigAsync(GetAttachedServerConfigRequest, CallOptions)
public virtual AsyncUnaryCall<AttachedServerConfig> GetAttachedServerConfigAsync(GetAttachedServerConfigRequest request, CallOptions options)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
request | GetAttachedServerConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAttachedServerConfig | The call object. |
GetAttachedServerConfigAsync(GetAttachedServerConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AttachedServerConfig> GetAttachedServerConfigAsync(GetAttachedServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
request | GetAttachedServerConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAttachedServerConfig | The call object. |
ImportAttachedCluster(ImportAttachedClusterRequest, CallOptions)
public virtual Operation ImportAttachedCluster(ImportAttachedClusterRequest request, CallOptions options)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.
Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | ImportAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ImportAttachedCluster(ImportAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ImportAttachedCluster(ImportAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.
Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | ImportAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ImportAttachedClusterAsync(ImportAttachedClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ImportAttachedClusterAsync(ImportAttachedClusterRequest request, CallOptions options)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.
Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | ImportAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
ImportAttachedClusterAsync(ImportAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ImportAttachedClusterAsync(ImportAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.
Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | ImportAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
ListAttachedClusters(ListAttachedClustersRequest, CallOptions)
public virtual ListAttachedClustersResponse ListAttachedClusters(ListAttachedClustersRequest request, CallOptions options)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAttachedClustersRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListAttachedClustersResponse | The response received from the server. |
ListAttachedClusters(ListAttachedClustersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAttachedClustersResponse ListAttachedClusters(ListAttachedClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAttachedClustersRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListAttachedClustersResponse | The response received from the server. |
ListAttachedClustersAsync(ListAttachedClustersRequest, CallOptions)
public virtual AsyncUnaryCall<ListAttachedClustersResponse> ListAttachedClustersAsync(ListAttachedClustersRequest request, CallOptions options)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAttachedClustersRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAttachedClustersResponse | The call object. |
ListAttachedClustersAsync(ListAttachedClustersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAttachedClustersResponse> ListAttachedClustersAsync(ListAttachedClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAttachedClustersRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAttachedClustersResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override AttachedClusters.AttachedClustersClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AttachedClustersAttachedClustersClient |
UpdateAttachedCluster(UpdateAttachedClusterRequest, CallOptions)
public virtual Operation UpdateAttachedCluster(UpdateAttachedClusterRequest request, CallOptions options)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
Parameters | |
---|---|
Name | Description |
request | UpdateAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateAttachedCluster(UpdateAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateAttachedCluster(UpdateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
Parameters | |
---|---|
Name | Description |
request | UpdateAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateAttachedClusterAsync(UpdateAttachedClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAttachedClusterAsync(UpdateAttachedClusterRequest request, CallOptions options)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
Parameters | |
---|---|
Name | Description |
request | UpdateAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
UpdateAttachedClusterAsync(UpdateAttachedClusterRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAttachedClusterAsync(UpdateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
Parameters | |
---|---|
Name | Description |
request | UpdateAttachedClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |