Class TagBindings.TagBindingsClient

public class TagBindingsClient : ClientBase<TagBindings.TagBindingsClient>

Client for TagBindings

Inheritance

Object > ClientBase > ClientBase<TagBindings.TagBindingsClient> > TagBindings.TagBindingsClient

Namespace

Google.Cloud.ResourceManager.V3

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TagBindingsClient(ChannelBase)

public TagBindingsClient(ChannelBase channel)

Creates a new client for TagBindings

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
TypeDescription
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
NameDescription
requestCreateTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateTagBinding(CreateTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateTagBinding(CreateTagBindingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateTagBindingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateTagBindingAsync(CreateTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateTagBindingAsync(CreateTagBindingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateTagBindingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteTagBinding(DeleteTagBindingRequest, CallOptions)

public virtual Operation DeleteTagBinding(DeleteTagBindingRequest request, CallOptions options)

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteTagBinding(DeleteTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteTagBinding(DeleteTagBindingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteTagBindingAsync(DeleteTagBindingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteTagBindingAsync(DeleteTagBindingRequest request, CallOptions options)

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteTagBindingAsync(DeleteTagBindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteTagBindingAsync(DeleteTagBindingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTagBindingsResponse

The response received from the server.

ListTagBindings(ListTagBindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListTagBindingsResponse ListTagBindings(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestListTagBindingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListTagBindingsResponse>

The call object.

ListTagBindingsAsync(ListTagBindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListTagBindingsResponse> ListTagBindingsAsync(ListTagBindingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestListTagBindingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TagBindings.TagBindingsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ResourceManager.V3.TagBindings.TagBindingsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)