Anthos Multi-Cloud v1 API - Class AttachedClusters.AttachedClustersClient (2.1.0)

public class 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 > ClientBase<AttachedClusters.AttachedClustersClient> > AttachedClusters.AttachedClustersClient

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AttachedClustersClient(ChannelBase)

public AttachedClustersClient(ChannelBase channel)

Creates a new client for AttachedClusters

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AttachedClustersClient(ClientBase.ClientBaseConfiguration)

protected AttachedClustersClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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 GCP 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
NameDescription
requestCreateAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAttachedCluster(CreateAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateAttachedCluster(CreateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given GCP 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
NameDescription
requestCreateAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 GCP 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
NameDescription
requestCreateAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateAttachedClusterAsync(CreateAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateAttachedClusterAsync(CreateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given GCP 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
NameDescription
requestCreateAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
TypeDescription
Operations.OperationsClient

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
NameDescription
requestDeleteAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAttachedCluster(DeleteAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteAttachedCluster(DeleteAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestDeleteAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteAttachedClusterAsync(DeleteAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAttachedClusterAsync(DeleteAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestDeleteAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestResponse

The response received from the server.

GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual GenerateAttachedClusterInstallManifestResponse GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Generates the install manifest to be installed on the target cluster.

Parameters
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<GenerateAttachedClusterInstallManifestResponse>

The call object.

GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Generates the install manifest to be installed on the target cluster.

Parameters
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<GenerateAttachedClusterInstallManifestResponse>

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
NameDescription
requestGetAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AttachedCluster

The response received from the server.

GetAttachedCluster(GetAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AttachedCluster GetAttachedCluster(GetAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

Parameters
NameDescription
requestGetAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AttachedCluster>

The call object.

GetAttachedClusterAsync(GetAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AttachedCluster> GetAttachedClusterAsync(GetAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

Parameters
NameDescription
requestGetAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<AttachedCluster>

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
NameDescription
requestGetAttachedServerConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AttachedServerConfig

The response received from the server.

GetAttachedServerConfig(GetAttachedServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AttachedServerConfig GetAttachedServerConfig(GetAttachedServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information, such as supported Kubernetes versions, on a given Google Cloud location.

Parameters
NameDescription
requestGetAttachedServerConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetAttachedServerConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AttachedServerConfig>

The call object.

GetAttachedServerConfigAsync(GetAttachedServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AttachedServerConfig> GetAttachedServerConfigAsync(GetAttachedServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information, such as supported Kubernetes versions, on a given Google Cloud location.

Parameters
NameDescription
requestGetAttachedServerConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<AttachedServerConfig>

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
NameDescription
requestImportAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportAttachedCluster(ImportAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportAttachedCluster(ImportAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestImportAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportAttachedClusterAsync(ImportAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportAttachedClusterAsync(ImportAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
NameDescription
requestListAttachedClustersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAttachedClustersResponse

The response received from the server.

ListAttachedClusters(ListAttachedClustersRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListAttachedClustersResponse ListAttachedClusters(ListAttachedClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAttachedClustersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListAttachedClustersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAttachedClustersResponse>

The call object.

ListAttachedClustersAsync(ListAttachedClustersRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAttachedClustersResponse> ListAttachedClustersAsync(ListAttachedClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAttachedClustersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListAttachedClustersResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override AttachedClusters.AttachedClustersClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AttachedClusters.AttachedClustersClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateAttachedCluster(UpdateAttachedClusterRequest, CallOptions)

public virtual Operation UpdateAttachedCluster(UpdateAttachedClusterRequest request, CallOptions options)

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
NameDescription
requestUpdateAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateAttachedCluster(UpdateAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateAttachedCluster(UpdateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
NameDescription
requestUpdateAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateAttachedClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateAttachedClusterAsync(UpdateAttachedClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateAttachedClusterAsync(UpdateAttachedClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
NameDescription
requestUpdateAttachedClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.