public class GkeHubClient : ClientBase<GkeHub.GkeHubClient>
Client for GkeHub
Namespace
Google.Cloud.GkeHub.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
GkeHubClient(ChannelBase)
public GkeHubClient(ChannelBase channel)
Creates a new client for GkeHub
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateFeature(CreateFeatureRequest, CallOptions)
public virtual Operation CreateFeature(CreateFeatureRequest request, CallOptions options)
Adds a new Feature.
Parameters | |
---|---|
Name | Description |
request | CreateFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateFeatureRequest 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. |
CreateFeatureAsync(CreateFeatureRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateFeatureAsync(CreateFeatureRequest request, CallOptions options)
Adds a new Feature.
Parameters | |
---|---|
Name | Description |
request | CreateFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateFeatureRequest 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. |
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 | |
---|---|
Name | Description |
request | CreateMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateMembershipRequest 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. |
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 | |
---|---|
Name | Description |
request | CreateMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateMembershipRequest 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. |
DeleteFeature(DeleteFeatureRequest, CallOptions)
public virtual Operation DeleteFeature(DeleteFeatureRequest request, CallOptions options)
Removes a Feature.
Parameters | |
---|---|
Name | Description |
request | DeleteFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteFeatureRequest 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. |
DeleteFeatureAsync(DeleteFeatureRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteFeatureAsync(DeleteFeatureRequest request, CallOptions options)
Removes a Feature.
Parameters | |
---|---|
Name | Description |
request | DeleteFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteFeatureRequest 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. |
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 | |
---|---|
Name | Description |
request | DeleteMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteMembershipRequest 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. |
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 | |
---|---|
Name | Description |
request | DeleteMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteMembershipRequest 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. |
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 | |
---|---|
Name | Description |
request | GenerateConnectManifestRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GenerateConnectManifestRequest 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 |
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 | |
---|---|
Name | Description |
request | GenerateConnectManifestRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GenerateConnectManifestRequest 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<GenerateConnectManifestResponse> | The call object. |
GetFeature(GetFeatureRequest, CallOptions)
public virtual Feature GetFeature(GetFeatureRequest request, CallOptions options)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
request | GetFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetFeatureRequest 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 |
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 | |
---|---|
Name | Description |
request | GetFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetFeatureRequest 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<Feature> | The call object. |
GetMembership(GetMembershipRequest, CallOptions)
public virtual Membership GetMembership(GetMembershipRequest request, CallOptions options)
Gets the details of a Membership.
Parameters | |
---|---|
Name | Description |
request | GetMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetMembershipRequest 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 |
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 | |
---|---|
Name | Description |
request | GetMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetMembershipRequest 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<Membership> | The call object. |
ListFeatures(ListFeaturesRequest, CallOptions)
public virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request, CallOptions options)
Lists Features in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListFeaturesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListFeaturesRequest 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 |
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 | |
---|---|
Name | Description |
request | ListFeaturesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListFeaturesRequest 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<ListFeaturesResponse> | The call object. |
ListMemberships(ListMembershipsRequest, CallOptions)
public virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request, CallOptions options)
Lists Memberships in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListMembershipsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListMembershipsRequest 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 |
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 | |
---|---|
Name | Description |
request | ListMembershipsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListMembershipsRequest 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<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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GkeHub.GkeHubClient |
UpdateFeature(UpdateFeatureRequest, CallOptions)
public virtual Operation UpdateFeature(UpdateFeatureRequest request, CallOptions options)
Updates an existing Feature.
Parameters | |
---|---|
Name | Description |
request | UpdateFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateFeatureRequest 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. |
UpdateFeatureAsync(UpdateFeatureRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateFeatureAsync(UpdateFeatureRequest request, CallOptions options)
Updates an existing Feature.
Parameters | |
---|---|
Name | Description |
request | UpdateFeatureRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateFeatureRequest 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. |
UpdateMembership(UpdateMembershipRequest, CallOptions)
public virtual Operation UpdateMembership(UpdateMembershipRequest request, CallOptions options)
Updates an existing Membership.
Parameters | |
---|---|
Name | Description |
request | UpdateMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateMembershipRequest 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. |
UpdateMembershipAsync(UpdateMembershipRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateMembershipAsync(UpdateMembershipRequest request, CallOptions options)
Updates an existing Membership.
Parameters | |
---|---|
Name | Description |
request | UpdateMembershipRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateMembershipRequest 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. |