ProjectsLocationsEntryGroupsEntries
class ProjectsLocationsEntryGroupsEntries extends Resource (View source)
The "entries" collection of methods.
Typical usage is:
$datacatalogService = new Google\Service\DataCatalog(...);
$entries = $datacatalogService->projects_locations_entryGroups_entries;
Methods
Creates an entry. You can create entries only with 'FILESET', 'CLUSTER',
'DATA_STREAM', or custom types. Data Catalog automatically creates entries
with other types during metadata ingestion from integrated systems. You must
enable the Data Catalog API in the project identified by the parent
parameter. For more information, see Data Catalog resource
project. An entry group can have a maximum of 100,000 entries.
Deletes an existing entry. You can delete only the entries created by the
CreateEntry method. You must enable the Data Catalog API in the project
identified by the name
parameter. For more information, see Data Catalog
resource project. (entries.delete)
Gets an entry. (entries.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.
Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog.
Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog. (entries.listProjectsLocationsEntryGroupsEntries)
Modifies contacts, part of the business context of an Entry. To call this
method, you must have the datacatalog.entries.updateContacts
IAM permission
on the corresponding project. (entries.modifyEntryContacts)
Modifies entry overview, part of the business context of an Entry. To call
this method, you must have the datacatalog.entries.updateOverview
IAM
permission on the corresponding project. (entries.modifyEntryOverview)
Updates an existing entry. You must enable the Data Catalog API in the
project identified by the entry.name
parameter. For more information, see
Data Catalog resource project. (entries.patch)
Marks an Entry as starred by the current user. Starring information is private to each user. (entries.star)
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.
Marks an Entry as NOT starred by the current user. Starring information is private to each user. (entries.unstar)
Details
GoogleCloudDatacatalogV1Entry
create(string $parent, GoogleCloudDatacatalogV1Entry $postBody, array $optParams = [])
Creates an entry. You can create entries only with 'FILESET', 'CLUSTER',
'DATA_STREAM', or custom types. Data Catalog automatically creates entries
with other types during metadata ingestion from integrated systems. You must
enable the Data Catalog API in the project identified by the parent
parameter. For more information, see Data Catalog resource
project. An entry group can have a maximum of 100,000 entries.
(entries.create)
DatacatalogEmpty
delete(string $name, array $optParams = [])
Deletes an existing entry. You can delete only the entries created by the
CreateEntry method. You must enable the Data Catalog API in the project
identified by the name
parameter. For more information, see Data Catalog
resource project. (entries.delete)
GoogleCloudDatacatalogV1Entry
get(string $name, array $optParams = [])
Gets an entry. (entries.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. (entries.getIamPolicy)
Operation
import(string $parent, GoogleCloudDatacatalogV1ImportEntriesRequest $postBody, array $optParams = [])
Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog.
ImportEntries
accepts source data snapshots of a third-party system.
Snapshot should be delivered as a .wire or base65-encoded .txt file
containing a sequence of Protocol Buffer messages of DumpItem type.
ImportEntries
returns a long-running operation resource that can be queried
with Operations.GetOperation to return ImportEntriesMetadata and an
ImportEntriesResponse message. (entries.import)
GoogleCloudDatacatalogV1ListEntriesResponse
listProjectsLocationsEntryGroupsEntries(string $parent, array $optParams = [])
Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog. (entries.listProjectsLocationsEntryGroupsEntries)
GoogleCloudDatacatalogV1Contacts
modifyEntryContacts(string $name, GoogleCloudDatacatalogV1ModifyEntryContactsRequest $postBody, array $optParams = [])
Modifies contacts, part of the business context of an Entry. To call this
method, you must have the datacatalog.entries.updateContacts
IAM permission
on the corresponding project. (entries.modifyEntryContacts)
GoogleCloudDatacatalogV1EntryOverview
modifyEntryOverview(string $name, GoogleCloudDatacatalogV1ModifyEntryOverviewRequest $postBody, array $optParams = [])
Modifies entry overview, part of the business context of an Entry. To call
this method, you must have the datacatalog.entries.updateOverview
IAM
permission on the corresponding project. (entries.modifyEntryOverview)
GoogleCloudDatacatalogV1Entry
patch(string $name, GoogleCloudDatacatalogV1Entry $postBody, array $optParams = [])
Updates an existing entry. You must enable the Data Catalog API in the
project identified by the entry.name
parameter. For more information, see
Data Catalog resource project. (entries.patch)
GoogleCloudDatacatalogV1StarEntryResponse
star(string $name, GoogleCloudDatacatalogV1StarEntryRequest $postBody, array $optParams = [])
Marks an Entry as starred by the current user. Starring information is private to each user. (entries.star)
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.
(entries.testIamPermissions)
GoogleCloudDatacatalogV1UnstarEntryResponse
unstar(string $name, GoogleCloudDatacatalogV1UnstarEntryRequest $postBody, array $optParams = [])
Marks an Entry as NOT starred by the current user. Starring information is private to each user. (entries.unstar)