Class PolicyTagManager.PolicyTagManagerClient (1.7.0)

public class PolicyTagManagerClient : ClientBase<PolicyTagManager.PolicyTagManagerClient>

Client for PolicyTagManager

Inheritance

Object > ClientBase > ClientBase<PolicyTagManager.PolicyTagManagerClient> > 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(ClientBase.ClientBaseConfiguration)

protected PolicyTagManagerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<PolicyTag>

The call object.

CreatePolicyTagAsync(CreatePolicyTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<PolicyTag>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Taxonomy>

The call object.

CreateTaxonomyAsync(CreateTaxonomyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Taxonomy>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Empty>

The call object.

DeletePolicyTagAsync(DeletePolicyTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Empty>

The call object.

DeleteTaxonomyAsync(DeleteTaxonomyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Policy>

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Policy>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<PolicyTag>

The call object.

GetPolicyTagAsync(GetPolicyTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<PolicyTag>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Taxonomy>

The call object.

GetTaxonomyAsync(GetTaxonomyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Taxonomy>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<ListPolicyTagsResponse>

The call object.

ListPolicyTagsAsync(ListPolicyTagsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<ListPolicyTagsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<ListTaxonomiesResponse>

The call object.

ListTaxonomiesAsync(ListTaxonomiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<ListTaxonomiesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PolicyTagManager.PolicyTagManagerClient
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
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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Policy>

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Policy>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<TestIamPermissionsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<PolicyTag>

The call object.

UpdatePolicyTagAsync(UpdatePolicyTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<PolicyTag>

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, Nullable<DateTime>, CancellationToken)

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

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.

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
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
AsyncUnaryCall<Taxonomy>

The call object.

UpdateTaxonomyAsync(UpdateTaxonomyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<Taxonomy>

The call object.