ProjectsLocationsTaxonomies
class ProjectsLocationsTaxonomies extends Resource (View source)
The "taxonomies" collection of methods.
Typical usage is:
$datacatalogService = new Google\Service\DataCatalog(...);
$taxonomies = $datacatalogService->projects_locations_taxonomies;
Methods
Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags. (taxonomies.create)
Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.
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.
Gets a taxonomy. (taxonomies.get)
Gets the IAM policy for a policy tag or a taxonomy. (taxonomies.getIamPolicy)
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. (taxonomies.import)
Lists all taxonomies in a project in a particular location that you have a permission to view. (taxonomies.listProjectsLocationsTaxonomies)
Updates a taxonomy, including its display name, description, and activated policy types. (taxonomies.patch)
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. (taxonomies.replace)
Sets the IAM policy for a policy tag or a taxonomy. (taxonomies.setIamPolicy)
Returns your permissions on a specified policy tag or taxonomy.
Details
GoogleCloudDatacatalogV1Taxonomy
create(string $parent, GoogleCloudDatacatalogV1Taxonomy $postBody, array $optParams = [])
Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags. (taxonomies.create)
DatacatalogEmpty
delete(string $name, array $optParams = [])
Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.
(taxonomies.delete)
GoogleCloudDatacatalogV1ExportTaxonomiesResponse
export(string $parent, array $optParams = [])
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.
(taxonomies.export)
GoogleCloudDatacatalogV1Taxonomy
get(string $name, array $optParams = [])
Gets a taxonomy. (taxonomies.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the IAM policy for a policy tag or a taxonomy. (taxonomies.getIamPolicy)
GoogleCloudDatacatalogV1ImportTaxonomiesResponse
import(string $parent, GoogleCloudDatacatalogV1ImportTaxonomiesRequest $postBody, array $optParams = [])
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. (taxonomies.import)
GoogleCloudDatacatalogV1ListTaxonomiesResponse
listProjectsLocationsTaxonomies(string $parent, array $optParams = [])
Lists all taxonomies in a project in a particular location that you have a permission to view. (taxonomies.listProjectsLocationsTaxonomies)
GoogleCloudDatacatalogV1Taxonomy
patch(string $name, GoogleCloudDatacatalogV1Taxonomy $postBody, array $optParams = [])
Updates a taxonomy, including its display name, description, and activated policy types. (taxonomies.patch)
GoogleCloudDatacatalogV1Taxonomy
replace(string $name, GoogleCloudDatacatalogV1ReplaceTaxonomyRequest $postBody, array $optParams = [])
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. (taxonomies.replace)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the IAM policy for a policy tag or a taxonomy. (taxonomies.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns your permissions on a specified policy tag or taxonomy.
(taxonomies.testIamPermissions)