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.AttachedClustersClientNamespace
Google.Cloud.GkeMultiCloud.V1Assembly
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(ClientBase.ClientBaseConfiguration)
protected AttachedClustersClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 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 | |
---|---|
Name | Description |
request | CreateAttachedClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AttachedClusters.AttachedClustersClient |
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |