Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TaxonomiesResource

The "taxonomies" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.TaxonomiesResource
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.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TaxonomiesResource

Constructors

TaxonomiesResource(IClientService)

Constructs a new resource.

Declaration
public TaxonomiesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

PolicyTags

Gets the PolicyTags resource.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource PolicyTags { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource

Methods

Create(GoogleCloudDatacatalogV1Taxonomy, string)

Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.CreateRequest Create(GoogleCloudDatacatalogV1Taxonomy body, string parent)
Parameters
Type Name Description
GoogleCloudDatacatalogV1Taxonomy body

The body of the request.

string parent

Required. Resource name of the project that the taxonomy will belong to.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.CreateRequest

Delete(string)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.DeleteRequest

Export(string)

Exports taxonomies in the requested type and returns them, including their policy tags. The requested taxonomies must belong to the same project. This method generates SerializedTaxonomy protocol buffers with nested policy tags that can be used as input for ImportTaxonomies calls.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.ExportRequest Export(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the project that the exported taxonomies belong to.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.ExportRequest

Get(string)

Gets a taxonomy.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the taxonomy to get.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

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

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.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.GetIamPolicyRequest

Import(GoogleCloudDatacatalogV1ImportTaxonomiesRequest, string)

Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources. For a cross-regional source, new taxonomies are created by copying from a source in another region. For an inlined source, taxonomies and policy tags are created in bulk using nested protocol buffer structures.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.ImportRequest Import(GoogleCloudDatacatalogV1ImportTaxonomiesRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDatacatalogV1ImportTaxonomiesRequest body

The body of the request.

string parent

Required. Resource name of project that the imported taxonomies will belong to.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.ImportRequest

List(string)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the project to list the taxonomies of.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.ListRequest

Patch(GoogleCloudDatacatalogV1Taxonomy, string)

Updates a taxonomy, including its display name, description, and activated policy types.

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

The body of the request.

string name

Identifier. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.PatchRequest

Replace(GoogleCloudDatacatalogV1ReplaceTaxonomyRequest, string)

Replaces (updates) a taxonomy and all its policy tags. The taxonomy and its entire hierarchy of policy tags must be represented literally by SerializedTaxonomy and the nested SerializedPolicyTag messages. This operation automatically does the following: - Deletes the existing policy tags that are missing from the SerializedPolicyTag. - Creates policy tags that don't have resource names. They are considered new. - Updates policy tags with valid resources names accordingly.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.ReplaceRequest Replace(GoogleCloudDatacatalogV1ReplaceTaxonomyRequest body, string name)
Parameters
Type Name Description
GoogleCloudDatacatalogV1ReplaceTaxonomyRequest body

The body of the request.

string name

Required. Resource name of the taxonomy to update.

Returns
Type Description
ProjectsResource.LocationsResource.TaxonomiesResource.ReplaceRequest

SetIamPolicy(SetIamPolicyRequest, string)

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

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.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.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns your permissions on a specified policy tag or taxonomy.

Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.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.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX