GKE Hub v1 API - Class GkeHub.GkeHubClient (2.3.0)

public class GkeHub.GkeHubClient : ClientBase<GkeHub.GkeHubClient>

Reference documentation and code samples for the GKE Hub v1 API class GkeHub.GkeHubClient.

Client for GkeHub

Inheritance

object > ClientBase > ClientBaseGkeHubGkeHubClient > GkeHub.GkeHubClient

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

GkeHubClient()

protected GkeHubClient()

Protected parameterless constructor to allow creation of test doubles.

GkeHubClient(CallInvoker)

public GkeHubClient(CallInvoker callInvoker)

Creates a new client for GkeHub that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GkeHubClient(ChannelBase)

public GkeHubClient(ChannelBase channel)

Creates a new client for GkeHub

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GkeHubClient(ClientBaseConfiguration)

protected GkeHubClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateFeature(CreateFeatureRequest, CallOptions)

public virtual Operation CreateFeature(CreateFeatureRequest request, CallOptions options)

Adds a new Feature.

Parameters
NameDescription
requestCreateFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateFeature(CreateFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Adds a new Feature.

Parameters
NameDescription
requestCreateFeatureRequest

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.

CreateFeatureAsync(CreateFeatureRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateFeatureAsync(CreateFeatureRequest request, CallOptions options)

Adds a new Feature.

Parameters
NameDescription
requestCreateFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateFeatureAsync(CreateFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Adds a new Feature.

Parameters
NameDescription
requestCreateFeatureRequest

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.

CreateMembership(CreateMembershipRequest, CallOptions)

public virtual Operation CreateMembership(CreateMembershipRequest request, CallOptions options)

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
NameDescription
requestCreateMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateMembership(CreateMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
NameDescription
requestCreateMembershipRequest

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.

CreateMembershipAsync(CreateMembershipRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateMembershipAsync(CreateMembershipRequest request, CallOptions options)

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
NameDescription
requestCreateMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateMembershipAsync(CreateMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
NameDescription
requestCreateMembershipRequest

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.

DeleteFeature(DeleteFeatureRequest, CallOptions)

public virtual Operation DeleteFeature(DeleteFeatureRequest request, CallOptions options)

Removes a Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteFeature(DeleteFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Removes a Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

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.

DeleteFeatureAsync(DeleteFeatureRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteFeatureAsync(DeleteFeatureRequest request, CallOptions options)

Removes a Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteFeatureAsync(DeleteFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Removes a Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

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.

DeleteMembership(DeleteMembershipRequest, CallOptions)

public virtual Operation DeleteMembership(DeleteMembershipRequest request, CallOptions options)

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
NameDescription
requestDeleteMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteMembership(DeleteMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
NameDescription
requestDeleteMembershipRequest

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.

DeleteMembershipAsync(DeleteMembershipRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteMembershipAsync(DeleteMembershipRequest request, CallOptions options)

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
NameDescription
requestDeleteMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteMembershipAsync(DeleteMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
NameDescription
requestDeleteMembershipRequest

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.

GenerateConnectManifest(GenerateConnectManifestRequest, CallOptions)

public virtual GenerateConnectManifestResponse GenerateConnectManifest(GenerateConnectManifestRequest request, CallOptions options)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
NameDescription
requestGenerateConnectManifestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GenerateConnectManifestResponse

The response received from the server.

GenerateConnectManifest(GenerateConnectManifestRequest, Metadata, DateTime?, CancellationToken)

public virtual GenerateConnectManifestResponse GenerateConnectManifest(GenerateConnectManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
NameDescription
requestGenerateConnectManifestRequest

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
GenerateConnectManifestResponse

The response received from the server.

GenerateConnectManifestAsync(GenerateConnectManifestRequest, CallOptions)

public virtual AsyncUnaryCall<GenerateConnectManifestResponse> GenerateConnectManifestAsync(GenerateConnectManifestRequest request, CallOptions options)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
NameDescription
requestGenerateConnectManifestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGenerateConnectManifestResponse

The call object.

GenerateConnectManifestAsync(GenerateConnectManifestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GenerateConnectManifestResponse> GenerateConnectManifestAsync(GenerateConnectManifestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
NameDescription
requestGenerateConnectManifestRequest

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
AsyncUnaryCallGenerateConnectManifestResponse

The call object.

GetFeature(GetFeatureRequest, CallOptions)

public virtual Feature GetFeature(GetFeatureRequest request, CallOptions options)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Feature

The response received from the server.

GetFeature(GetFeatureRequest, Metadata, DateTime?, CancellationToken)

public virtual Feature GetFeature(GetFeatureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

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
Feature

The response received from the server.

GetFeatureAsync(GetFeatureRequest, CallOptions)

public virtual AsyncUnaryCall<Feature> GetFeatureAsync(GetFeatureRequest request, CallOptions options)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFeature

The call object.

GetFeatureAsync(GetFeatureRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Feature> GetFeatureAsync(GetFeatureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

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
AsyncUnaryCallFeature

The call object.

GetMembership(GetMembershipRequest, CallOptions)

public virtual Membership GetMembership(GetMembershipRequest request, CallOptions options)

Gets the details of a Membership.

Parameters
NameDescription
requestGetMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Membership

The response received from the server.

GetMembership(GetMembershipRequest, Metadata, DateTime?, CancellationToken)

public virtual Membership GetMembership(GetMembershipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a Membership.

Parameters
NameDescription
requestGetMembershipRequest

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
Membership

The response received from the server.

GetMembershipAsync(GetMembershipRequest, CallOptions)

public virtual AsyncUnaryCall<Membership> GetMembershipAsync(GetMembershipRequest request, CallOptions options)

Gets the details of a Membership.

Parameters
NameDescription
requestGetMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallMembership

The call object.

GetMembershipAsync(GetMembershipRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Membership> GetMembershipAsync(GetMembershipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a Membership.

Parameters
NameDescription
requestGetMembershipRequest

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
AsyncUnaryCallMembership

The call object.

ListFeatures(ListFeaturesRequest, CallOptions)

public virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request, CallOptions options)

Lists Features in a given project and location.

Parameters
NameDescription
requestListFeaturesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListFeaturesResponse

The response received from the server.

ListFeatures(ListFeaturesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Features in a given project and location.

Parameters
NameDescription
requestListFeaturesRequest

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
ListFeaturesResponse

The response received from the server.

ListFeaturesAsync(ListFeaturesRequest, CallOptions)

public virtual AsyncUnaryCall<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, CallOptions options)

Lists Features in a given project and location.

Parameters
NameDescription
requestListFeaturesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListFeaturesResponse

The call object.

ListFeaturesAsync(ListFeaturesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Features in a given project and location.

Parameters
NameDescription
requestListFeaturesRequest

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
AsyncUnaryCallListFeaturesResponse

The call object.

ListMemberships(ListMembershipsRequest, CallOptions)

public virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request, CallOptions options)

Lists Memberships in a given project and location.

Parameters
NameDescription
requestListMembershipsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListMembershipsResponse

The response received from the server.

ListMemberships(ListMembershipsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Memberships in a given project and location.

Parameters
NameDescription
requestListMembershipsRequest

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
ListMembershipsResponse

The response received from the server.

ListMembershipsAsync(ListMembershipsRequest, CallOptions)

public virtual AsyncUnaryCall<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, CallOptions options)

Lists Memberships in a given project and location.

Parameters
NameDescription
requestListMembershipsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListMembershipsResponse

The call object.

ListMembershipsAsync(ListMembershipsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Memberships in a given project and location.

Parameters
NameDescription
requestListMembershipsRequest

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
AsyncUnaryCallListMembershipsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override GkeHub.GkeHubClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GkeHubGkeHubClient
Overrides

UpdateFeature(UpdateFeatureRequest, CallOptions)

public virtual Operation UpdateFeature(UpdateFeatureRequest request, CallOptions options)

Updates an existing Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateFeature(UpdateFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Updates an existing Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

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.

UpdateFeatureAsync(UpdateFeatureRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateFeatureAsync(UpdateFeatureRequest request, CallOptions options)

Updates an existing Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateFeatureAsync(UpdateFeatureRequest, Metadata, DateTime?, CancellationToken)

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

Updates an existing Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

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.

UpdateMembership(UpdateMembershipRequest, CallOptions)

public virtual Operation UpdateMembership(UpdateMembershipRequest request, CallOptions options)

Updates an existing Membership.

Parameters
NameDescription
requestUpdateMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateMembership(UpdateMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Updates an existing Membership.

Parameters
NameDescription
requestUpdateMembershipRequest

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.

UpdateMembershipAsync(UpdateMembershipRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateMembershipAsync(UpdateMembershipRequest request, CallOptions options)

Updates an existing Membership.

Parameters
NameDescription
requestUpdateMembershipRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateMembershipAsync(UpdateMembershipRequest, Metadata, DateTime?, CancellationToken)

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

Updates an existing Membership.

Parameters
NameDescription
requestUpdateMembershipRequest

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.