Cloud Resource Manager v3 API - Class TagBindingsClientImpl (2.5.0)

public sealed class TagBindingsClientImpl : TagBindingsClient

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

TagBindings client wrapper implementation, for convenient use.

Inheritance

object > TagBindingsClient > TagBindingsClientImpl

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Remarks

Allow users to create and manage TagBindings between TagValues and different Google Cloud resources throughout the GCP resource hierarchy.

Constructors

TagBindingsClientImpl(TagBindingsClient, TagBindingsSettings, ILogger)

public TagBindingsClientImpl(TagBindings.TagBindingsClient grpcClient, TagBindingsSettings settings, ILogger logger)

Constructs a client wrapper for the TagBindings service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient TagBindingsTagBindingsClient

The underlying gRPC client.

settings TagBindingsSettings

The base TagBindingsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateTagBindingOperationsClient

public override OperationsClient CreateTagBindingOperationsClient { get; }

The long-running operations client for CreateTagBinding.

Property Value
Type Description
OperationsClient
Overrides

DeleteTagBindingOperationsClient

public override OperationsClient DeleteTagBindingOperationsClient { get; }

The long-running operations client for DeleteTagBinding.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override TagBindings.TagBindingsClient GrpcClient { get; }

The underlying gRPC TagBindings client

Property Value
Type Description
TagBindingsTagBindingsClient
Overrides

Methods

CreateTagBinding(CreateTagBindingRequest, CallSettings)

public override Operation<TagBinding, CreateTagBindingMetadata> CreateTagBinding(CreateTagBindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateTagBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationTagBindingCreateTagBindingMetadata

The RPC response.

Overrides

CreateTagBindingAsync(CreateTagBindingRequest, CallSettings)

public override Task<Operation<TagBinding, CreateTagBindingMetadata>> CreateTagBindingAsync(CreateTagBindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateTagBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationTagBindingCreateTagBindingMetadata

A Task containing the RPC response.

Overrides

DeleteTagBinding(DeleteTagBindingRequest, CallSettings)

public override Operation<Empty, DeleteTagBindingMetadata> DeleteTagBinding(DeleteTagBindingRequest request, CallSettings callSettings = null)

Deletes a TagBinding.

Parameters
Name Description
request DeleteTagBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteTagBindingMetadata

The RPC response.

Overrides

DeleteTagBindingAsync(DeleteTagBindingRequest, CallSettings)

public override Task<Operation<Empty, DeleteTagBindingMetadata>> DeleteTagBindingAsync(DeleteTagBindingRequest request, CallSettings callSettings = null)

Deletes a TagBinding.

Parameters
Name Description
request DeleteTagBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteTagBindingMetadata

A Task containing the RPC response.

Overrides

ListEffectiveTags(ListEffectiveTagsRequest, CallSettings)

public override PagedEnumerable<ListEffectiveTagsResponse, EffectiveTag> ListEffectiveTags(ListEffectiveTagsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListEffectiveTagsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListEffectiveTagsResponseEffectiveTag

A pageable sequence of EffectiveTag resources.

Overrides

ListEffectiveTagsAsync(ListEffectiveTagsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEffectiveTagsResponse, EffectiveTag> ListEffectiveTagsAsync(ListEffectiveTagsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListEffectiveTagsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListEffectiveTagsResponseEffectiveTag

A pageable asynchronous sequence of EffectiveTag resources.

Overrides

ListTagBindings(ListTagBindingsRequest, CallSettings)

public override PagedEnumerable<ListTagBindingsResponse, TagBinding> ListTagBindings(ListTagBindingsRequest request, CallSettings callSettings = null)

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
Name Description
request ListTagBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListTagBindingsResponseTagBinding

A pageable sequence of TagBinding resources.

Overrides

ListTagBindingsAsync(ListTagBindingsRequest, CallSettings)

public override PagedAsyncEnumerable<ListTagBindingsResponse, TagBinding> ListTagBindingsAsync(ListTagBindingsRequest request, CallSettings callSettings = null)

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
Name Description
request ListTagBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListTagBindingsResponseTagBinding

A pageable asynchronous sequence of TagBinding resources.

Overrides