Cloud Resource Manager v3 API - Class TagBindings.TagBindingsClient (2.4.0)

public class TagBindings.TagBindingsClient : ClientBase<TagBindings.TagBindingsClient>

Reference documentation and code samples for the Cloud Resource Manager v3 API class TagBindings.TagBindingsClient.

Client for TagBindings

Inheritance

object > ClientBase > ClientBaseTagBindingsTagBindingsClient > TagBindings.TagBindingsClient

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

TagBindingsClient()

protected TagBindingsClient()

Protected parameterless constructor to allow creation of test doubles.

TagBindingsClient(CallInvoker)

public TagBindingsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TagBindingsClient(ChannelBase)

public TagBindingsClient(ChannelBase channel)

Creates a new client for TagBindings

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TagBindingsClient(ClientBaseConfiguration)

protected TagBindingsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

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.

CreateTagBinding(CreateTagBindingRequest, CallOptions)

public virtual Operation CreateTagBinding(CreateTagBindingRequest request, CallOptions options)

Creates a TagBinding between a TagValue and a Google Cloud resource.

Parameters
NameDescription
requestCreateTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateTagBinding(CreateTagBindingRequest, Metadata, DateTime?, CancellationToken)

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

Creates a TagBinding between a TagValue and a Google Cloud resource.

Parameters
NameDescription
requestCreateTagBindingRequest

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.

CreateTagBindingAsync(CreateTagBindingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateTagBindingAsync(CreateTagBindingRequest request, CallOptions options)

Creates a TagBinding between a TagValue and a Google Cloud resource.

Parameters
NameDescription
requestCreateTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateTagBindingAsync(CreateTagBindingRequest, Metadata, DateTime?, CancellationToken)

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

Creates a TagBinding between a TagValue and a Google Cloud resource.

Parameters
NameDescription
requestCreateTagBindingRequest

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.

DeleteTagBinding(DeleteTagBindingRequest, CallOptions)

public virtual Operation DeleteTagBinding(DeleteTagBindingRequest request, CallOptions options)

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteTagBinding(DeleteTagBindingRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

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.

DeleteTagBindingAsync(DeleteTagBindingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteTagBindingAsync(DeleteTagBindingRequest request, CallOptions options)

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteTagBindingAsync(DeleteTagBindingRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

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.

ListEffectiveTags(ListEffectiveTagsRequest, CallOptions)

public virtual ListEffectiveTagsResponse ListEffectiveTags(ListEffectiveTagsRequest request, CallOptions options)

Return a list of effective tags for the given Google Cloud resource, as specified in parent.

Parameters
NameDescription
requestListEffectiveTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEffectiveTagsResponse

The response received from the server.

ListEffectiveTags(ListEffectiveTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEffectiveTagsResponse ListEffectiveTags(ListEffectiveTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Return a list of effective tags for the given Google Cloud resource, as specified in parent.

Parameters
NameDescription
requestListEffectiveTagsRequest

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
ListEffectiveTagsResponse

The response received from the server.

ListEffectiveTagsAsync(ListEffectiveTagsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEffectiveTagsResponse> ListEffectiveTagsAsync(ListEffectiveTagsRequest request, CallOptions options)

Return a list of effective tags for the given Google Cloud resource, as specified in parent.

Parameters
NameDescription
requestListEffectiveTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEffectiveTagsResponse

The call object.

ListEffectiveTagsAsync(ListEffectiveTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEffectiveTagsResponse> ListEffectiveTagsAsync(ListEffectiveTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Return a list of effective tags for the given Google Cloud resource, as specified in parent.

Parameters
NameDescription
requestListEffectiveTagsRequest

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
AsyncUnaryCallListEffectiveTagsResponse

The call object.

ListTagBindings(ListTagBindingsRequest, CallOptions)

public virtual ListTagBindingsResponse ListTagBindings(ListTagBindingsRequest request, CallOptions options)

Lists the TagBindings for the given Google Cloud resource, as specified with parent.

NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameters
NameDescription
requestListTagBindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTagBindingsResponse

The response received from the server.

ListTagBindings(ListTagBindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTagBindingsResponse ListTagBindings(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the TagBindings for the given Google Cloud resource, as specified with parent.

NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameters
NameDescription
requestListTagBindingsRequest

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
ListTagBindingsResponse

The response received from the server.

ListTagBindingsAsync(ListTagBindingsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTagBindingsResponse> ListTagBindingsAsync(ListTagBindingsRequest request, CallOptions options)

Lists the TagBindings for the given Google Cloud resource, as specified with parent.

NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameters
NameDescription
requestListTagBindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListTagBindingsResponse

The call object.

ListTagBindingsAsync(ListTagBindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTagBindingsResponse> ListTagBindingsAsync(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the TagBindings for the given Google Cloud resource, as specified with parent.

NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameters
NameDescription
requestListTagBindingsRequest

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
AsyncUnaryCallListTagBindingsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override TagBindings.TagBindingsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TagBindingsTagBindingsClient
Overrides