Class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource
The "policyTags" collection of methods.
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource
Constructors
PolicyTagsResource(IClientService)
Constructs a new resource.
Declaration
public PolicyTagsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDatacatalogV1PolicyTag, string)
Creates a policy tag in a taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.CreateRequest Create(GoogleCloudDatacatalogV1PolicyTag body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1PolicyTag | body | The body of the request. |
string | parent | Required. Resource name of the taxonomy that the policy tag will belong to. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.CreateRequest |
Delete(string)
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
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.DeleteRequest |
Get(string)
Gets a policy tag.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the policy tag. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.GetRequest |
GetIamPolicy(GetIamPolicyRequest, string)
Gets the IAM policy for a policy tag or a taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.GetIamPolicyRequest |
List(string)
Lists all policy tags in a taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the taxonomy to list the policy tags of. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.ListRequest |
Patch(GoogleCloudDatacatalogV1PolicyTag, string)
Updates a policy tag, including its display name, description, and parent policy tag.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest Patch(GoogleCloudDatacatalogV1PolicyTag body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1PolicyTag | body | The body of the request. |
string | name | Identifier. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the IAM policy for a policy tag or a taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns your permissions on a specified policy tag or taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.TestIamPermissionsRequest |