Cloud Resource Manager v3 API - Class TagBindingsClientImpl (2.2.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
NameDescription
grpcClientTagBindingsTagBindingsClient

The underlying gRPC client.

settingsTagBindingsSettings

The base TagBindingsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateTagBindingOperationsClient

public override OperationsClient CreateTagBindingOperationsClient { get; }

The long-running operations client for CreateTagBinding.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteTagBindingOperationsClient

public override OperationsClient DeleteTagBindingOperationsClient { get; }

The long-running operations client for DeleteTagBinding.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override TagBindings.TagBindingsClient GrpcClient { get; }

The underlying gRPC TagBindings client

Property Value
TypeDescription
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
NameDescription
requestCreateTagBindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateTagBindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteTagBindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteTagBindingMetadata

The RPC response.

Overrides

DeleteTagBindingAsync(DeleteTagBindingRequest, CallSettings)

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

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEffectiveTagsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEffectiveTagsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTagBindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTagBindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListTagBindingsResponseTagBinding

A pageable asynchronous sequence of TagBinding resources.

Overrides