Class ProjectsResource.LocationsResource.TaxonomiesResource
The "taxonomies" collection of methods.
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.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(GoogleCloudDatacatalogV1beta1Taxonomy, string)
Creates a taxonomy in the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.CreateRequest Create(GoogleCloudDatacatalogV1beta1Taxonomy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Taxonomy | 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. This operation will also delete all policy tags in this taxonomy along with their associated policies.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the taxonomy to be deleted. All policy tags in this taxonomy will also be deleted. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.DeleteRequest |
Export(string)
Exports all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future 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 taxonomies to be exported will share. |
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 requested taxonomy. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.GetRequest |
GetIamPolicy(GetIamPolicyRequest, string)
Gets the IAM policy for a taxonomy or a policy tag.
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(GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest, string)
Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.ImportRequest Import(GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest | 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 the caller has 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(GoogleCloudDatacatalogV1beta1Taxonomy, string)
Updates a taxonomy.
Declaration
public virtual ProjectsResource.LocationsResource.TaxonomiesResource.PatchRequest Patch(GoogleCloudDatacatalogV1beta1Taxonomy body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Taxonomy | body | The body of the request. |
string | name | Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TaxonomiesResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the IAM policy for a taxonomy or a policy tag.
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 the permissions that a caller has on the specified taxonomy or policy tag.
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 |