public class PolicyTagManagerClient : ClientBase<PolicyTagManager.PolicyTagManagerClient>
Client for PolicyTagManager
Inheritance
Object > ClientBase > ClientBase<PolicyTagManager.PolicyTagManagerClient> > PolicyTagManager.PolicyTagManagerClientNamespace
Google.Cloud.DataCatalog.V1Assembly
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(ClientBase.ClientBaseConfiguration)
protected PolicyTagManagerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | 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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<PolicyTag> | 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, Nullable<DateTime>, CancellationToken)
public virtual Taxonomy GetTaxonomy(GetTaxonomyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Taxonomy> | 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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PolicyTagManager.PolicyTagManagerClient |
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
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 | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Taxonomy> | The call object. |