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.TagBindingsClientNamespace
Google.Cloud.ResourceManager.V3Assembly
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 | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
TagBindingsClient(ChannelBase)
public TagBindingsClient(ChannelBase channel)
Creates a new client for TagBindings
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
TagBindingsClient(ClientBaseConfiguration)
protected TagBindingsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateTagBindingRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateTagBindingRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateTagBindingRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateTagBindingRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteTagBinding(DeleteTagBindingRequest, CallOptions)
public virtual Operation DeleteTagBinding(DeleteTagBindingRequest request, CallOptions options)
Deletes a TagBinding.
Parameters | |
---|---|
Name | Description |
request |
DeleteTagBindingRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteTagBindingRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteTagBindingAsync(DeleteTagBindingRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteTagBindingAsync(DeleteTagBindingRequest request, CallOptions options)
Deletes a TagBinding.
Parameters | |
---|---|
Name | Description |
request |
DeleteTagBindingRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteTagBindingRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEffectiveTagsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEffectiveTagsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEffectiveTagsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEffectiveTagsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListTagBindingsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListTagBindingsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListTagBindingsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListTagBindingsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListTagBindingsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override TagBindings.TagBindingsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TagBindingsTagBindingsClient |