Cloud Resource Manager v3 API - Class TagBindingsClientImpl (2.1.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 cloud resources throughout the GCP resource hierarchy.

Constructors

TagBindingsClientImpl(TagBindings.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
grpcClientTagBindings.TagBindingsClient

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
TagBindings.TagBindingsClient
Overrides

Methods

CreateTagBinding(CreateTagBindingRequest, CallSettings)

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

Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).

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
Operation<TagBinding, CreateTagBindingMetadata>

The RPC response.

Overrides

CreateTagBindingAsync(CreateTagBindingRequest, CallSettings)

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

Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).

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
Task<Operation<TagBinding, CreateTagBindingMetadata>>

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
Operation<Empty, DeleteTagBindingMetadata>

The RPC response.

Overrides

DeleteTagBindingAsync(DeleteTagBindingRequest, CallSettings)

public override async 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
Task<Operation<Empty, DeleteTagBindingMetadata>>

A Task containing the RPC response.

Overrides

ListTagBindings(ListTagBindingsRequest, CallSettings)

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

Lists the TagBindings for the given 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
PagedEnumerable<ListTagBindingsResponse, TagBinding>

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 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
PagedAsyncEnumerable<ListTagBindingsResponse, TagBinding>

A pageable asynchronous sequence of TagBinding resources.

Overrides