Data Catalog v1 API - Class PolicyTagManager.PolicyTagManagerClient (2.11.0)

public class PolicyTagManager.PolicyTagManagerClient : ClientBase<PolicyTagManager.PolicyTagManagerClient>

Reference documentation and code samples for the Data Catalog v1 API class PolicyTagManager.PolicyTagManagerClient.

Client for PolicyTagManager

Inheritance

object > ClientBase > ClientBasePolicyTagManagerPolicyTagManagerClient > PolicyTagManager.PolicyTagManagerClient

Namespace

Google.Cloud.DataCatalog.V1

Assembly

Google.Cloud.DataCatalog.V1.dll

Constructors

PolicyTagManagerClient()

protected PolicyTagManagerClient()

Protected parameterless constructor to allow creation of test doubles.

PolicyTagManagerClient(CallInvoker)

public PolicyTagManagerClient(CallInvoker callInvoker)

Creates a new client for PolicyTagManager that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PolicyTagManagerClient(ChannelBase)

public PolicyTagManagerClient(ChannelBase channel)

Creates a new client for PolicyTagManager

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PolicyTagManagerClient(ClientBaseConfiguration)

protected PolicyTagManagerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreatePolicyTag(CreatePolicyTagRequest, CallOptions)

public virtual PolicyTag CreatePolicyTag(CreatePolicyTagRequest request, CallOptions options)

Creates a policy tag in a taxonomy.

Parameters
NameDescription
requestCreatePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PolicyTag

The response received from the server.

CreatePolicyTag(CreatePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual PolicyTag CreatePolicyTag(CreatePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a policy tag in a taxonomy.

Parameters
NameDescription
requestCreatePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
PolicyTag

The response received from the server.

CreatePolicyTagAsync(CreatePolicyTagRequest, CallOptions)

public virtual AsyncUnaryCall<PolicyTag> CreatePolicyTagAsync(CreatePolicyTagRequest request, CallOptions options)

Creates a policy tag in a taxonomy.

Parameters
NameDescription
requestCreatePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicyTag

The call object.

CreatePolicyTagAsync(CreatePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PolicyTag> CreatePolicyTagAsync(CreatePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a policy tag in a taxonomy.

Parameters
NameDescription
requestCreatePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallPolicyTag

The call object.

CreateTaxonomy(CreateTaxonomyRequest, CallOptions)

public virtual Taxonomy CreateTaxonomy(CreateTaxonomyRequest request, CallOptions options)

Creates a taxonomy in a specified project.

The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
NameDescription
requestCreateTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Taxonomy

The response received from the server.

CreateTaxonomy(CreateTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual Taxonomy CreateTaxonomy(CreateTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a taxonomy in a specified project.

The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
NameDescription
requestCreateTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Taxonomy

The response received from the server.

CreateTaxonomyAsync(CreateTaxonomyRequest, CallOptions)

public virtual AsyncUnaryCall<Taxonomy> CreateTaxonomyAsync(CreateTaxonomyRequest request, CallOptions options)

Creates a taxonomy in a specified project.

The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
NameDescription
requestCreateTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTaxonomy

The call object.

CreateTaxonomyAsync(CreateTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Taxonomy> CreateTaxonomyAsync(CreateTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a taxonomy in a specified project.

The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
NameDescription
requestCreateTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallTaxonomy

The call object.

DeletePolicyTag(DeletePolicyTagRequest, CallOptions)

public virtual Empty DeletePolicyTag(DeletePolicyTagRequest request, CallOptions options)

Deletes a policy tag together with the following:

  • All of its descendant policy tags, if any
  • Policies associated with the policy tag and its descendants
  • References from BigQuery table schema of the policy tag and its descendants
Parameters
NameDescription
requestDeletePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeletePolicyTag(DeletePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeletePolicyTag(DeletePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a policy tag together with the following:

  • All of its descendant policy tags, if any
  • Policies associated with the policy tag and its descendants
  • References from BigQuery table schema of the policy tag and its descendants
Parameters
NameDescription
requestDeletePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Empty

The response received from the server.

DeletePolicyTagAsync(DeletePolicyTagRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeletePolicyTagAsync(DeletePolicyTagRequest request, CallOptions options)

Deletes a policy tag together with the following:

  • All of its descendant policy tags, if any
  • Policies associated with the policy tag and its descendants
  • References from BigQuery table schema of the policy tag and its descendants
Parameters
NameDescription
requestDeletePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeletePolicyTagAsync(DeletePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeletePolicyTagAsync(DeletePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a policy tag together with the following:

  • All of its descendant policy tags, if any
  • Policies associated with the policy tag and its descendants
  • References from BigQuery table schema of the policy tag and its descendants
Parameters
NameDescription
requestDeletePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallEmpty

The call object.

DeleteTaxonomy(DeleteTaxonomyRequest, CallOptions)

public virtual Empty DeleteTaxonomy(DeleteTaxonomyRequest request, CallOptions options)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Parameters
NameDescription
requestDeleteTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTaxonomy(DeleteTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteTaxonomy(DeleteTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Parameters
NameDescription
requestDeleteTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Empty

The response received from the server.

DeleteTaxonomyAsync(DeleteTaxonomyRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteTaxonomyAsync(DeleteTaxonomyRequest request, CallOptions options)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Parameters
NameDescription
requestDeleteTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteTaxonomyAsync(DeleteTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteTaxonomyAsync(DeleteTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Parameters
NameDescription
requestDeleteTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallEmpty

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallPolicy

The call object.

GetPolicyTag(GetPolicyTagRequest, CallOptions)

public virtual PolicyTag GetPolicyTag(GetPolicyTagRequest request, CallOptions options)

Gets a policy tag.

Parameters
NameDescription
requestGetPolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PolicyTag

The response received from the server.

GetPolicyTag(GetPolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual PolicyTag GetPolicyTag(GetPolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a policy tag.

Parameters
NameDescription
requestGetPolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
PolicyTag

The response received from the server.

GetPolicyTagAsync(GetPolicyTagRequest, CallOptions)

public virtual AsyncUnaryCall<PolicyTag> GetPolicyTagAsync(GetPolicyTagRequest request, CallOptions options)

Gets a policy tag.

Parameters
NameDescription
requestGetPolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicyTag

The call object.

GetPolicyTagAsync(GetPolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PolicyTag> GetPolicyTagAsync(GetPolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a policy tag.

Parameters
NameDescription
requestGetPolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallPolicyTag

The call object.

GetTaxonomy(GetTaxonomyRequest, CallOptions)

public virtual Taxonomy GetTaxonomy(GetTaxonomyRequest request, CallOptions options)

Gets a taxonomy.

Parameters
NameDescription
requestGetTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Taxonomy

The response received from the server.

GetTaxonomy(GetTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual Taxonomy GetTaxonomy(GetTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a taxonomy.

Parameters
NameDescription
requestGetTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Taxonomy

The response received from the server.

GetTaxonomyAsync(GetTaxonomyRequest, CallOptions)

public virtual AsyncUnaryCall<Taxonomy> GetTaxonomyAsync(GetTaxonomyRequest request, CallOptions options)

Gets a taxonomy.

Parameters
NameDescription
requestGetTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTaxonomy

The call object.

GetTaxonomyAsync(GetTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Taxonomy> GetTaxonomyAsync(GetTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a taxonomy.

Parameters
NameDescription
requestGetTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallTaxonomy

The call object.

ListPolicyTags(ListPolicyTagsRequest, CallOptions)

public virtual ListPolicyTagsResponse ListPolicyTags(ListPolicyTagsRequest request, CallOptions options)

Lists all policy tags in a taxonomy.

Parameters
NameDescription
requestListPolicyTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListPolicyTagsResponse

The response received from the server.

ListPolicyTags(ListPolicyTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListPolicyTagsResponse ListPolicyTags(ListPolicyTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all policy tags in a taxonomy.

Parameters
NameDescription
requestListPolicyTagsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListPolicyTagsResponse

The response received from the server.

ListPolicyTagsAsync(ListPolicyTagsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPolicyTagsResponse> ListPolicyTagsAsync(ListPolicyTagsRequest request, CallOptions options)

Lists all policy tags in a taxonomy.

Parameters
NameDescription
requestListPolicyTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListPolicyTagsResponse

The call object.

ListPolicyTagsAsync(ListPolicyTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListPolicyTagsResponse> ListPolicyTagsAsync(ListPolicyTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all policy tags in a taxonomy.

Parameters
NameDescription
requestListPolicyTagsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListPolicyTagsResponse

The call object.

ListTaxonomies(ListTaxonomiesRequest, CallOptions)

public virtual ListTaxonomiesResponse ListTaxonomies(ListTaxonomiesRequest request, CallOptions options)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Parameters
NameDescription
requestListTaxonomiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTaxonomiesResponse

The response received from the server.

ListTaxonomies(ListTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTaxonomiesResponse ListTaxonomies(ListTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Parameters
NameDescription
requestListTaxonomiesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListTaxonomiesResponse

The response received from the server.

ListTaxonomiesAsync(ListTaxonomiesRequest, CallOptions)

public virtual AsyncUnaryCall<ListTaxonomiesResponse> ListTaxonomiesAsync(ListTaxonomiesRequest request, CallOptions options)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Parameters
NameDescription
requestListTaxonomiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListTaxonomiesResponse

The call object.

ListTaxonomiesAsync(ListTaxonomiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTaxonomiesResponse> ListTaxonomiesAsync(ListTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Parameters
NameDescription
requestListTaxonomiesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListTaxonomiesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override PolicyTagManager.PolicyTagManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
PolicyTagManagerPolicyTagManagerClient
Overrides

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM policy for a policy tag or a taxonomy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallPolicy

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallOptions options)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTestIamPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdatePolicyTag(UpdatePolicyTagRequest, CallOptions)

public virtual PolicyTag UpdatePolicyTag(UpdatePolicyTagRequest request, CallOptions options)

Updates a policy tag, including its display name, description, and parent policy tag.

Parameters
NameDescription
requestUpdatePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PolicyTag

The response received from the server.

UpdatePolicyTag(UpdatePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual PolicyTag UpdatePolicyTag(UpdatePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a policy tag, including its display name, description, and parent policy tag.

Parameters
NameDescription
requestUpdatePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
PolicyTag

The response received from the server.

UpdatePolicyTagAsync(UpdatePolicyTagRequest, CallOptions)

public virtual AsyncUnaryCall<PolicyTag> UpdatePolicyTagAsync(UpdatePolicyTagRequest request, CallOptions options)

Updates a policy tag, including its display name, description, and parent policy tag.

Parameters
NameDescription
requestUpdatePolicyTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicyTag

The call object.

UpdatePolicyTagAsync(UpdatePolicyTagRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PolicyTag> UpdatePolicyTagAsync(UpdatePolicyTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a policy tag, including its display name, description, and parent policy tag.

Parameters
NameDescription
requestUpdatePolicyTagRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallPolicyTag

The call object.

UpdateTaxonomy(UpdateTaxonomyRequest, CallOptions)

public virtual Taxonomy UpdateTaxonomy(UpdateTaxonomyRequest request, CallOptions options)

Updates a taxonomy, including its display name, description, and activated policy types.

Parameters
NameDescription
requestUpdateTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Taxonomy

The response received from the server.

UpdateTaxonomy(UpdateTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual Taxonomy UpdateTaxonomy(UpdateTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a taxonomy, including its display name, description, and activated policy types.

Parameters
NameDescription
requestUpdateTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Taxonomy

The response received from the server.

UpdateTaxonomyAsync(UpdateTaxonomyRequest, CallOptions)

public virtual AsyncUnaryCall<Taxonomy> UpdateTaxonomyAsync(UpdateTaxonomyRequest request, CallOptions options)

Updates a taxonomy, including its display name, description, and activated policy types.

Parameters
NameDescription
requestUpdateTaxonomyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTaxonomy

The call object.

UpdateTaxonomyAsync(UpdateTaxonomyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Taxonomy> UpdateTaxonomyAsync(UpdateTaxonomyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a taxonomy, including its display name, description, and activated policy types.

Parameters
NameDescription
requestUpdateTaxonomyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallTaxonomy

The call object.