Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource

The "policyTags" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.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(GoogleCloudDatacatalogV1beta1PolicyTag, string)

Creates a policy tag in the specified taxonomy.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.CreateRequest Create(GoogleCloudDatacatalogV1beta1PolicyTag body, string parent)
Parameters
Type Name Description
GoogleCloudDatacatalogV1beta1PolicyTag 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. Also deletes all of its descendant policy tags.

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 be deleted. All of its descendant policy tags will also be 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 requested policy tag.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

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

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(GoogleCloudDatacatalogV1beta1PolicyTag, string)

Updates a policy tag.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest Patch(GoogleCloudDatacatalogV1beta1PolicyTag body, string name)
Parameters
Type Name Description
GoogleCloudDatacatalogV1beta1PolicyTag body

The body of the request.

string name

Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

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

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 the permissions that a caller has on the specified taxonomy or policy tag.

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
In This Article
Back to top Generated by DocFX