- 1.59.0 (latest)
- 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.DataCatalogFutureStub extends AbstractFutureStub<DataCatalogGrpc.DataCatalogFutureStub>
Data Catalog API service allows clients to discover, understand, and manage
their data.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DataCatalogGrpc.DataCatalogFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected DataCatalogGrpc.DataCatalogFutureStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
DataCatalogGrpc.DataCatalogFutureStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createEntry(CreateEntryRequest request)
public ListenableFuture<Entry> createEntry(CreateEntryRequest request)
Creates an entry. Only entries of 'FILESET' type or user-specified type can
be created.
Users should enable the Data Catalog API in the project identified by
the `parent` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
A maximum of 100,000 entries may be created per entry group.
Name | Description |
request | CreateEntryRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Entry> |
createEntryGroup(CreateEntryGroupRequest request)
public ListenableFuture<EntryGroup> createEntryGroup(CreateEntryGroupRequest request)
A maximum of 10,000 entry groups may be created per organization across all
locations.
Users should enable the Data Catalog API in the project identified by
the `parent` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | CreateEntryGroupRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<EntryGroup> |
createTag(CreateTagRequest request)
public ListenableFuture<Tag> createTag(CreateTagRequest request)
Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
Note: The project identified by the `parent` parameter for the
[tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
and the
[tag
template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
used to create the tag must be from the same organization.
Name | Description |
request | CreateTagRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Tag> |
createTagTemplate(CreateTagTemplateRequest request)
public ListenableFuture<TagTemplate> createTagTemplate(CreateTagTemplateRequest request)
Creates a tag template. The user should enable the Data Catalog API in
the project identified by the `parent` parameter (see [Data Catalog
Resource
Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
for more information).
Name | Description |
request | CreateTagTemplateRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplate> |
createTagTemplateField(CreateTagTemplateFieldRequest request)
public ListenableFuture<TagTemplateField> createTagTemplateField(CreateTagTemplateFieldRequest request)
Creates a field in a tag template. The user should enable the Data Catalog
API in the project identified by the `parent` parameter (see
[Data Catalog Resource
Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
for more information).
Name | Description |
request | CreateTagTemplateFieldRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplateField> |
deleteEntry(DeleteEntryRequest request)
public ListenableFuture<Empty> deleteEntry(DeleteEntryRequest request)
Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the `name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | DeleteEntryRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteEntryGroup(DeleteEntryGroupRequest request)
public ListenableFuture<Empty> deleteEntryGroup(DeleteEntryGroupRequest request)
Deletes an EntryGroup. Only entry groups that do not contain entries can be
deleted. Users should enable the Data Catalog API in the project
identified by the `name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | DeleteEntryGroupRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteTag(DeleteTagRequest request)
public ListenableFuture<Empty> deleteTag(DeleteTagRequest request)
Deletes a tag.
Name | Description |
request | DeleteTagRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteTagTemplate(DeleteTagTemplateRequest request)
public ListenableFuture<Empty> deleteTagTemplate(DeleteTagTemplateRequest request)
Deletes a tag template and all tags using the template.
Users should enable the Data Catalog API in the project identified by
the `name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | DeleteTagTemplateRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
public ListenableFuture<Empty> deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
Deletes a field in a tag template and all uses of that field.
Users should enable the Data Catalog API in the project identified by
the `name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | DeleteTagTemplateFieldRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getEntry(GetEntryRequest request)
public ListenableFuture<Entry> getEntry(GetEntryRequest request)
Gets an entry.
Name | Description |
request | GetEntryRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Entry> |
getEntryGroup(GetEntryGroupRequest request)
public ListenableFuture<EntryGroup> getEntryGroup(GetEntryGroupRequest request)
Gets an EntryGroup.
Name | Description |
request | GetEntryGroupRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<EntryGroup> |
getIamPolicy(GetIamPolicyRequest request)
public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
Gets the access control policy for a resource. A `NOT_FOUND` error
is returned if the resource does not exist. An empty policy is returned
if the resource exists but does not have a policy set on it.
Supported resources are:
- Tag templates.
- Entries.
- Entry groups.
Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
templates.
- `datacatalog.entries.getIamPolicy` to get policies on entries.
- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
getTagTemplate(GetTagTemplateRequest request)
public ListenableFuture<TagTemplate> getTagTemplate(GetTagTemplateRequest request)
Gets a tag template.
Name | Description |
request | GetTagTemplateRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplate> |
listEntries(ListEntriesRequest request)
public ListenableFuture<ListEntriesResponse> listEntries(ListEntriesRequest request)
Lists entries.
Name | Description |
request | ListEntriesRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListEntriesResponse> |
listEntryGroups(ListEntryGroupsRequest request)
public ListenableFuture<ListEntryGroupsResponse> listEntryGroups(ListEntryGroupsRequest request)
Lists entry groups.
Name | Description |
request | ListEntryGroupsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListEntryGroupsResponse> |
listTags(ListTagsRequest request)
public ListenableFuture<ListTagsResponse> listTags(ListTagsRequest request)
Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
Name | Description |
request | ListTagsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListTagsResponse> |
lookupEntry(LookupEntryRequest request)
public ListenableFuture<Entry> lookupEntry(LookupEntryRequest request)
Get an entry by target resource name. This method allows clients to use
the resource name from the source Google Cloud Platform service to get the
Data Catalog Entry.
Name | Description |
request | LookupEntryRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Entry> |
renameTagTemplateField(RenameTagTemplateFieldRequest request)
public ListenableFuture<TagTemplateField> renameTagTemplateField(RenameTagTemplateFieldRequest request)
Renames a field in a tag template. The user should enable the Data Catalog
API in the project identified by the `name` parameter (see [Data Catalog
Resource
Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
for more information).
Name | Description |
request | RenameTagTemplateFieldRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplateField> |
searchCatalog(SearchCatalogRequest request)
public ListenableFuture<SearchCatalogResponse> searchCatalog(SearchCatalogRequest request)
Searches Data Catalog for multiple resources like entries, tags that
match a query.
This is a custom method
(https://cloud.google.com/apis/design/custom_methods) and does not return
the complete resource, only the resource identifier and high level
fields. Clients can subsequentally call `Get` methods.
Note that Data Catalog search queries do not guarantee full recall. Query
results that match your query may not be returned, even in subsequent
result pages. Also note that results returned (and not returned) can vary
across repeated search queries.
See [Data Catalog Search
Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
for more information.
Name | Description |
request | SearchCatalogRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<SearchCatalogResponse> |
setIamPolicy(SetIamPolicyRequest request)
public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
Sets the access control policy for a resource. Replaces any existing
policy.
Supported resources are:
- Tag templates.
- Entries.
- Entry groups.
Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
templates.
- `datacatalog.entries.setIamPolicy` to set policies on entries.
- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
testIamPermissions(TestIamPermissionsRequest request)
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Returns the caller's permissions on a resource.
If the resource does not exist, an empty set of permissions is returned
(We don't return a `NOT_FOUND` error).
Supported resources are:
- Tag templates.
- Entries.
- Entry groups.
Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
and any external Google Cloud Platform resources synced to Data Catalog.
A caller is not required to have Google IAM permission to make this
request.
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> |
updateEntry(UpdateEntryRequest request)
public ListenableFuture<Entry> updateEntry(UpdateEntryRequest request)
Updates an existing entry.
Users should enable the Data Catalog API in the project identified by
the `entry.name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | UpdateEntryRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Entry> |
updateEntryGroup(UpdateEntryGroupRequest request)
public ListenableFuture<EntryGroup> updateEntryGroup(UpdateEntryGroupRequest request)
Updates an EntryGroup. The user should enable the Data Catalog API in the
project identified by the `entry_group.name` parameter (see [Data Catalog
Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | UpdateEntryGroupRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<EntryGroup> |
updateTag(UpdateTagRequest request)
public ListenableFuture<Tag> updateTag(UpdateTagRequest request)
Updates an existing tag.
Name | Description |
request | UpdateTagRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Tag> |
updateTagTemplate(UpdateTagTemplateRequest request)
public ListenableFuture<TagTemplate> updateTagTemplate(UpdateTagTemplateRequest request)
Updates a tag template. This method cannot be used to update the fields of
a template. The tag template fields are represented as separate resources
and should be updated using their own create/update/delete methods.
Users should enable the Data Catalog API in the project identified by
the `tag_template.name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | UpdateTagTemplateRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplate> |
updateTagTemplateField(UpdateTagTemplateFieldRequest request)
public ListenableFuture<TagTemplateField> updateTagTemplateField(UpdateTagTemplateFieldRequest request)
Updates a field in a tag template. This method cannot be used to update the
field type. Users should enable the Data Catalog API in the project
identified by the `name` parameter (see [Data Catalog Resource Project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
more information).
Name | Description |
request | UpdateTagTemplateFieldRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<TagTemplateField> |