Data Catalog v1 API - Class PolicyTagManager.PolicyTagManagerClient (2.14.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

PolicyTagManagerClient(ChannelBase)

public PolicyTagManagerClient(ChannelBase channel)

Creates a new client for PolicyTagManager

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

PolicyTagManagerClient(ClientBaseConfiguration)

protected PolicyTagManagerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Type Description
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
Name Description
request CreatePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreatePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request CreatePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreatePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request CreateTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request CreateTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request DeletePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeletePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request DeletePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeletePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request DeleteTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request DeleteTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallPolicy

The call object.

GetPolicyTag(GetPolicyTagRequest, CallOptions)

public virtual PolicyTag GetPolicyTag(GetPolicyTagRequest request, CallOptions options)

Gets a policy tag.

Parameters
Name Description
request GetPolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetPolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
PolicyTag

The response received from the server.

GetPolicyTagAsync(GetPolicyTagRequest, CallOptions)

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

Gets a policy tag.

Parameters
Name Description
request GetPolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetPolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallPolicyTag

The call object.

GetTaxonomy(GetTaxonomyRequest, CallOptions)

public virtual Taxonomy GetTaxonomy(GetTaxonomyRequest request, CallOptions options)

Gets a taxonomy.

Parameters
Name Description
request GetTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
Taxonomy

The response received from the server.

GetTaxonomyAsync(GetTaxonomyRequest, CallOptions)

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

Gets a taxonomy.

Parameters
Name Description
request GetTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallTaxonomy

The call object.

ListPolicyTags(ListPolicyTagsRequest, CallOptions)

public virtual ListPolicyTagsResponse ListPolicyTags(ListPolicyTagsRequest request, CallOptions options)

Lists all policy tags in a taxonomy.

Parameters
Name Description
request ListPolicyTagsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListPolicyTagsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request ListPolicyTagsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListPolicyTagsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request ListTaxonomiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListTaxonomiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request ListTaxonomiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListTaxonomiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallListTaxonomiesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
PolicyTagManagerPolicyTagManagerClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.DataCatalog.V1.PolicyTagManager.PolicyTagManagerClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

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

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request UpdatePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdatePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request UpdatePolicyTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdatePolicyTagRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request UpdateTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request UpdateTaxonomyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateTaxonomyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallTaxonomy

The call object.