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

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.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(ClientBaseConfiguration)

protected AttachedClustersClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, CallOptions)

public virtual GenerateAttachedClusterAgentTokenResponse GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, CallOptions options)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GenerateAttachedClusterAgentTokenResponse

The response received from the server.

GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual GenerateAttachedClusterAgentTokenResponse GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
GenerateAttachedClusterAgentTokenResponse

The response received from the server.

GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest, CallOptions)

public virtual AsyncUnaryCall<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest request, CallOptions options)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGenerateAttachedClusterAgentTokenResponse

The call object.

GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallGenerateAttachedClusterAgentTokenResponse

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListAttachedClustersResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AttachedClustersAttachedClustersClient
Overrides

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, 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
NameDescription
requestUpdateAttachedClusterRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.