- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class DataCatalogGrpc.DataCatalogBlockingStub extends AbstractBlockingStub<DataCatalogGrpc.DataCatalogBlockingStub>
Data Catalog API service allows you to discover, understand, and manage
your data.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DataCatalogGrpc.DataCatalogBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected DataCatalogGrpc.DataCatalogBlockingStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
DataCatalogGrpc.DataCatalogBlockingStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createEntry(CreateEntryRequest request)
public Entry createEntry(CreateEntryRequest request)
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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
An entry group can have a maximum of 100,000 entries.
Name | Description |
request | CreateEntryRequest |
Type | Description |
Entry |
createEntryGroup(CreateEntryGroupRequest request)
public EntryGroup createEntryGroup(CreateEntryGroupRequest request)
Creates an entry group.
An entry group contains logically related entries together with [Cloud
Identity and Access Management](/data-catalog/docs/concepts/iam) 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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | CreateEntryGroupRequest |
Type | Description |
EntryGroup |
createTag(CreateTagRequest request)
public Tag createTag(CreateTagRequest request)
Creates a tag and assigns it to:
* An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
``projects.locations.entryGroups.entries.tags.create``.
* Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is ``projects.locations.entryGroups.tags.create``.
Note: The project identified by the `parent` parameter for the [tag]
(https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
and the [tag template]
(https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
used to create the tag must be in the same organization.
Name | Description |
request | CreateTagRequest |
Type | Description |
Tag |
createTagTemplate(CreateTagTemplateRequest request)
public TagTemplate createTagTemplate(CreateTagTemplateRequest request)
Creates a tag template.
You must enable the Data Catalog API in the project identified by the
`parent` parameter.
For more information, see [Data Catalog resource project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | CreateTagTemplateRequest |
Type | Description |
TagTemplate |
createTagTemplateField(CreateTagTemplateFieldRequest request)
public TagTemplateField createTagTemplateField(CreateTagTemplateFieldRequest request)
Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the `parent` parameter. For more information, see [Data Catalog resource
project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | CreateTagTemplateFieldRequest |
Type | Description |
TagTemplateField |
deleteEntry(DeleteEntryRequest request)
public Empty deleteEntry(DeleteEntryRequest request)
Deletes an existing entry.
You can delete only the entries created by the
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | DeleteEntryRequest |
Type | Description |
Empty |
deleteEntryGroup(DeleteEntryGroupRequest request)
public Empty deleteEntryGroup(DeleteEntryGroupRequest request)
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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | DeleteEntryGroupRequest |
Type | Description |
Empty |
deleteTag(DeleteTagRequest request)
public Empty deleteTag(DeleteTagRequest request)
Deletes a tag.
Name | Description |
request | DeleteTagRequest |
Type | Description |
Empty |
deleteTagTemplate(DeleteTagTemplateRequest request)
public Empty deleteTagTemplate(DeleteTagTemplateRequest request)
Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the `name` parameter. For more information, see [Data Catalog resource
project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | DeleteTagTemplateRequest |
Type | Description |
Empty |
deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
public Empty deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
Deletes a field in a tag template and all uses of this field from the tags
based on this template.
You must enable the Data Catalog API in the project identified by
the `name` parameter. For more information, see [Data Catalog resource
project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | DeleteTagTemplateFieldRequest |
Type | Description |
Empty |
getEntry(GetEntryRequest request)
public Entry getEntry(GetEntryRequest request)
Gets an entry.
Name | Description |
request | GetEntryRequest |
Type | Description |
Entry |
getEntryGroup(GetEntryGroupRequest request)
public EntryGroup getEntryGroup(GetEntryGroupRequest request)
Gets an entry group.
Name | Description |
request | GetEntryGroupRequest |
Type | Description |
EntryGroup |
getIamPolicy(GetIamPolicyRequest request)
public Policy getIamPolicy(GetIamPolicyRequest request)
Gets the access control policy for a resource.
May return:
* A`NOT_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.
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest |
Type | Description |
com.google.iam.v1.Policy |
getTagTemplate(GetTagTemplateRequest request)
public TagTemplate getTagTemplate(GetTagTemplateRequest request)
Gets a tag template.
Name | Description |
request | GetTagTemplateRequest |
Type | Description |
TagTemplate |
listEntries(ListEntriesRequest request)
public ListEntriesResponse listEntries(ListEntriesRequest request)
Lists entries.
Name | Description |
request | ListEntriesRequest |
Type | Description |
ListEntriesResponse |
listEntryGroups(ListEntryGroupsRequest request)
public ListEntryGroupsResponse listEntryGroups(ListEntryGroupsRequest request)
Lists entry groups.
Name | Description |
request | ListEntryGroupsRequest |
Type | Description |
ListEntryGroupsResponse |
listTags(ListTagsRequest request)
public ListTagsResponse listTags(ListTagsRequest request)
Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
Name | Description |
request | ListTagsRequest |
Type | Description |
ListTagsResponse |
lookupEntry(LookupEntryRequest request)
public Entry lookupEntry(LookupEntryRequest request)
Gets an entry by its target resource name.
The resource name comes from the source Google Cloud Platform service.
Name | Description |
request | LookupEntryRequest |
Type | Description |
Entry |
renameTagTemplateField(RenameTagTemplateFieldRequest request)
public TagTemplateField renameTagTemplateField(RenameTagTemplateFieldRequest request)
Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
`name` parameter. For more information, see [Data Catalog resource project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | RenameTagTemplateFieldRequest |
Type | Description |
TagTemplateField |
renameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest request)
public TagTemplateField renameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest request)
Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
Name | Description |
request | RenameTagTemplateFieldEnumValueRequest |
Type | Description |
TagTemplateField |
searchCatalog(SearchCatalogRequest request)
public SearchCatalogResponse searchCatalog(SearchCatalogRequest request)
Searches Data Catalog for multiple resources like entries and tags that
match a query.
This is a [Custom Method]
(https://cloud.google.com/apis/design/custom_methods) that doesn't return
all information on a resource, only its ID and high level fields. To get
more information, you can subsequently call specific get methods.
Note: Data Catalog search queries don't guarantee full recall. Results
that match your query might not be returned, even in subsequent
result pages. Additionally, returned (and not returned) results can vary
if you repeat search queries.
For more information, see [Data Catalog search syntax]
(https://cloud.google.com/data-catalog/docs/how-to/search-reference).
Name | Description |
request | SearchCatalogRequest |
Type | Description |
SearchCatalogResponse |
setIamPolicy(SetIamPolicyRequest request)
public Policy setIamPolicy(SetIamPolicyRequest request)
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.
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest |
Type | Description |
com.google.iam.v1.Policy |
testIamPermissions(TestIamPermissionsRequest request)
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)
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.
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest |
Type | Description |
com.google.iam.v1.TestIamPermissionsResponse |
updateEntry(UpdateEntryRequest request)
public Entry updateEntry(UpdateEntryRequest request)
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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | UpdateEntryRequest |
Type | Description |
Entry |
updateEntryGroup(UpdateEntryGroupRequest request)
public EntryGroup updateEntryGroup(UpdateEntryGroupRequest request)
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](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | UpdateEntryGroupRequest |
Type | Description |
EntryGroup |
updateTag(UpdateTagRequest request)
public Tag updateTag(UpdateTagRequest request)
Updates an existing tag.
Name | Description |
request | UpdateTagRequest |
Type | Description |
Tag |
updateTagTemplate(UpdateTagTemplateRequest request)
public TagTemplate updateTagTemplate(UpdateTagTemplateRequest request)
Updates a tag template.
You can't update template fields with this method. These fields are
separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the `tag_template.name` parameter. For more information, see [Data Catalog
resource
project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | UpdateTagTemplateRequest |
Type | Description |
TagTemplate |
updateTagTemplateField(UpdateTagTemplateFieldRequest request)
public TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldRequest request)
Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the `name` parameter. For more information, see [Data Catalog
resource
project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Name | Description |
request | UpdateTagTemplateFieldRequest |
Type | Description |
TagTemplateField |