ProjectsLocationsEntryGroups
class ProjectsLocationsEntryGroups extends Resource (View source)
The "entryGroups" collection of methods.
Typical usage is:
$datacatalogService = new Google\Service\DataCatalog(...);
$entryGroups = $datacatalogService->projects_locations_entryGroups;
Methods
Creates an entry group. An entry group contains logically related entries
together with Cloud Identity and Access Management policies. These policies specify users who can
create, edit, and view entries within entry groups. Data Catalog
automatically creates entry groups with names that start with the @
symbol
for the following resources: BigQuery entries (@bigquery
) Pub/Sub
topics (@pubsub
) * Dataproc Metastore services
(@dataproc_metastore_{SERVICE_NAME_HASH}
) You can create your own entry
groups for Cloud Storage fileset entries and custom entries together with the
corresponding IAM policies. User-created entry groups can't contain the @
symbol, it is reserved for automatically created groups. Entry groups, like
entries, can be searched. A maximum of 10,000 entry groups may be created per
organization across all locations. You must enable the Data Catalog API in
the project identified by the parent
parameter. For more information, see
Data Catalog resource project. (entryGroups.create)
Deletes an entry group. You must enable the Data Catalog API in the project
identified by the name
parameter. For more information, see Data Catalog
resource project. (entryGroups.delete)
Gets an entry group. (entryGroups.get)
Gets the access control policy for a resource. May return: ANOT_FOUND
error if the resource doesn't exist or you don't have the permission to view
it. An empty policy if the resource exists but doesn't have a set policy.
Lists entry groups. (entryGroups.listProjectsLocationsEntryGroups)
Updates an entry group. You must enable the Data Catalog API in the project
identified by the entry_group.name
parameter. For more information, see
Data Catalog resource project. (entryGroups.patch)
Sets an access control policy for a resource. Replaces any existing policy.
Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
Details
GoogleCloudDatacatalogV1EntryGroup
create(string $parent, GoogleCloudDatacatalogV1EntryGroup $postBody, array $optParams = [])
Creates an entry group. An entry group contains logically related entries
together with Cloud Identity and Access Management policies. These policies specify users who can
create, edit, and view entries within entry groups. Data Catalog
automatically creates entry groups with names that start with the @
symbol
for the following resources: BigQuery entries (@bigquery
) Pub/Sub
topics (@pubsub
) * Dataproc Metastore services
(@dataproc_metastore_{SERVICE_NAME_HASH}
) You can create your own entry
groups for Cloud Storage fileset entries and custom entries together with the
corresponding IAM policies. User-created entry groups can't contain the @
symbol, it is reserved for automatically created groups. Entry groups, like
entries, can be searched. A maximum of 10,000 entry groups may be created per
organization across all locations. You must enable the Data Catalog API in
the project identified by the parent
parameter. For more information, see
Data Catalog resource project. (entryGroups.create)
DatacatalogEmpty
delete(string $name, array $optParams = [])
Deletes an entry group. You must enable the Data Catalog API in the project
identified by the name
parameter. For more information, see Data Catalog
resource project. (entryGroups.delete)
GoogleCloudDatacatalogV1EntryGroup
get(string $name, array $optParams = [])
Gets an entry group. (entryGroups.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for a resource. May return: ANOT_FOUND
error if the resource doesn't exist or you don't have the permission to view
it. An empty policy if the resource exists but doesn't have a set policy.
Supported resources are: - Tag templates - Entry groups Note: This method
doesn't get policies from Google Cloud Platform resources ingested into Data
Catalog. To call this method, you must have the following Google IAM
permissions: - datacatalog.tagTemplates.getIamPolicy
to get policies on tag
templates. - datacatalog.entryGroups.getIamPolicy
to get policies on entry
groups. (entryGroups.getIamPolicy)
GoogleCloudDatacatalogV1ListEntryGroupsResponse
listProjectsLocationsEntryGroups(string $parent, array $optParams = [])
Lists entry groups. (entryGroups.listProjectsLocationsEntryGroups)
GoogleCloudDatacatalogV1EntryGroup
patch(string $name, GoogleCloudDatacatalogV1EntryGroup $postBody, array $optParams = [])
Updates an entry group. You must enable the Data Catalog API in the project
identified by the entry_group.name
parameter. For more information, see
Data Catalog resource project. (entryGroups.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are: - Tag templates - Entry groups Note: This method
sets policies only within Data Catalog and can't be used to manage policies
in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud
Platform resources synced with the Data Catalog. To call this method, you
must have the following Google IAM permissions: -
datacatalog.tagTemplates.setIamPolicy
to set policies on tag templates. -
datacatalog.entryGroups.setIamPolicy
to set policies on entry groups.
(entryGroups.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
(entryGroups.testIamPermissions)