public class TagBindingsClient : ClientBase<TagBindings.TagBindingsClient>
Client for TagBindings
Inheritance
Object > ClientBase > ClientBase<TagBindings.TagBindingsClient> > 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(ClientBase.ClientBaseConfiguration)
protected TagBindingsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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 |
Operations.OperationsClient | 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 cloud resource (currently project, folder, or organization).
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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateTagBinding(CreateTagBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).
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 | Nullable<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 cloud resource (currently project, folder, or organization).
Parameters | |
---|---|
Name | Description |
request | CreateTagBindingRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateTagBindingAsync(CreateTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateTagBindingAsync(CreateTagBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteTagBinding(DeleteTagBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteTagBindingAsync(DeleteTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteTagBindingAsync(DeleteTagBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
ListTagBindings(ListTagBindingsRequest, CallOptions)
public virtual ListTagBindingsResponse ListTagBindings(ListTagBindingsRequest request, CallOptions options)
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 | 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, Nullable<DateTime>, CancellationToken)
public virtual ListTagBindingsResponse ListTagBindings(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | ListTagBindingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 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 |
AsyncUnaryCall<ListTagBindingsResponse> | The call object. |
ListTagBindingsAsync(ListTagBindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListTagBindingsResponse> ListTagBindingsAsync(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | ListTagBindingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<ListTagBindingsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override TagBindings.TagBindingsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TagBindings.TagBindingsClient |