Class GkeHub.GkeHubClient (2.0.0)

public class GkeHubClient : ClientBase<GkeHub.GkeHubClient>

Client for GkeHub

Inheritance

Object > ClientBase > ClientBase<GkeHub.GkeHubClient> > 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(ClientBase.ClientBaseConfiguration)

protected GkeHubClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

CreateFeatureAsync(CreateFeatureRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

CreateMembershipAsync(CreateMembershipRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

DeleteFeatureAsync(DeleteFeatureRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

DeleteMembershipAsync(DeleteMembershipRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<GenerateConnectManifestResponse>

The call object.

GenerateConnectManifestAsync(GenerateConnectManifestRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<GenerateConnectManifestResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Feature>

The call object.

GetFeatureAsync(GetFeatureRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Feature>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Membership>

The call object.

GetMembershipAsync(GetMembershipRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Membership>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<ListFeaturesResponse>

The call object.

ListFeaturesAsync(ListFeaturesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<ListFeaturesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<ListMembershipsResponse>

The call object.

ListMembershipsAsync(ListMembershipsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<ListMembershipsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
GkeHub.GkeHubClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.GkeHub.V1.GkeHub.GkeHubClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

UpdateFeatureAsync(UpdateFeatureRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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
AsyncUnaryCall<Operation>

The call object.

UpdateMembershipAsync(UpdateMembershipRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.