public sealed class TagBindingsClientImpl : TagBindingsClientTagBindings client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ResourceManager.V3Assembly
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)
public TagBindingsClientImpl(TagBindings.TagBindingsClient grpcClient, TagBindingsSettings settings)Constructs a client wrapper for the TagBindings service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TagBindings.TagBindingsClientThe underlying gRPC client. |
settings |
TagBindingsSettingsThe base TagBindingsSettings used within this client. |
Properties
CreateTagBindingOperationsClient
public override OperationsClient CreateTagBindingOperationsClient { get; }The long-running operations client for CreateTagBinding.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteTagBindingOperationsClient
public override OperationsClient DeleteTagBindingOperationsClient { get; }The long-running operations client for DeleteTagBinding.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override TagBindings.TagBindingsClient GrpcClient { get; }The underlying gRPC TagBindings client
| Property Value | |
|---|---|
| Type | Description |
TagBindings.TagBindingsClient |
|
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 | |
|---|---|
| Name | Description |
request |
CreateTagBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<TagBinding, CreateTagBindingMetadata> |
The RPC response. |
CreateTagBindingAsync(CreateTagBindingRequest, CallSettings)
public override 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 | |
|---|---|
| Name | Description |
request |
CreateTagBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<TagBinding, CreateTagBindingMetadata>> |
A Task containing the RPC response. |
DeleteTagBinding(DeleteTagBindingRequest, CallSettings)
public override Operation<Empty, DeleteTagBindingMetadata> DeleteTagBinding(DeleteTagBindingRequest request, CallSettings callSettings = null)Deletes a TagBinding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, DeleteTagBindingMetadata> |
The RPC response. |
DeleteTagBindingAsync(DeleteTagBindingRequest, CallSettings)
public override Task<Operation<Empty, DeleteTagBindingMetadata>> DeleteTagBindingAsync(DeleteTagBindingRequest request, CallSettings callSettings = null)Deletes a TagBinding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Empty, DeleteTagBindingMetadata>> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ListTagBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListTagBindingsResponse, TagBinding> |
A pageable sequence of TagBinding resources. |
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 | |
|---|---|
| Name | Description |
request |
ListTagBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListTagBindingsResponse, TagBinding> |
A pageable asynchronous sequence of TagBinding resources. |