public abstract static class DataCatalogGrpc.DataCatalogImplBase implements BindableService
Data Catalog API service allows clients to discover, understand, and manage
their data.
Implements
io.grpc.BindableService
Constructors
DataCatalogImplBase()
public DataCatalogImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Returns
Type | Description |
io.grpc.ServerServiceDefinition | |
createEntry(CreateEntryRequest request, StreamObserver<Entry> responseObserver)
public void createEntry(CreateEntryRequest request, StreamObserver<Entry> responseObserver)
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.
Parameters
createEntryGroup(CreateEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
public void createEntryGroup(CreateEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
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).
Parameters
createTag(CreateTagRequest request, StreamObserver<Tag> responseObserver)
public void createTag(CreateTagRequest request, StreamObserver<Tag> responseObserver)
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.
Parameters
createTagTemplate(CreateTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
public void createTagTemplate(CreateTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
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).
Parameters
createTagTemplateField(CreateTagTemplateFieldRequest request, StreamObserver<TagTemplateField> responseObserver)
public void createTagTemplateField(CreateTagTemplateFieldRequest request, StreamObserver<TagTemplateField> responseObserver)
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).
Parameters
deleteEntry(DeleteEntryRequest request, StreamObserver<Empty> responseObserver)
public void deleteEntry(DeleteEntryRequest request, StreamObserver<Empty> responseObserver)
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).
Parameters
deleteEntryGroup(DeleteEntryGroupRequest request, StreamObserver<Empty> responseObserver)
public void deleteEntryGroup(DeleteEntryGroupRequest request, StreamObserver<Empty> responseObserver)
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).
Parameters
deleteTag(DeleteTagRequest request, StreamObserver<Empty> responseObserver)
public void deleteTag(DeleteTagRequest request, StreamObserver<Empty> responseObserver)
Parameters
deleteTagTemplate(DeleteTagTemplateRequest request, StreamObserver<Empty> responseObserver)
public void deleteTagTemplate(DeleteTagTemplateRequest request, StreamObserver<Empty> responseObserver)
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).
Parameters
deleteTagTemplateField(DeleteTagTemplateFieldRequest request, StreamObserver<Empty> responseObserver)
public void deleteTagTemplateField(DeleteTagTemplateFieldRequest request, StreamObserver<Empty> responseObserver)
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).
Parameters
getEntry(GetEntryRequest request, StreamObserver<Entry> responseObserver)
public void getEntry(GetEntryRequest request, StreamObserver<Entry> responseObserver)
Parameters
getEntryGroup(GetEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
public void getEntryGroup(GetEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
Parameters
getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
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.
Parameters
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
getTagTemplate(GetTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
public void getTagTemplate(GetTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
Parameters
listEntries(ListEntriesRequest request, StreamObserver<ListEntriesResponse> responseObserver)
public void listEntries(ListEntriesRequest request, StreamObserver<ListEntriesResponse> responseObserver)
Parameters
listEntryGroups(ListEntryGroupsRequest request, StreamObserver<ListEntryGroupsResponse> responseObserver)
public void listEntryGroups(ListEntryGroupsRequest request, StreamObserver<ListEntryGroupsResponse> responseObserver)
Parameters
public void listTags(ListTagsRequest request, StreamObserver<ListTagsResponse> responseObserver)
Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
Parameters
lookupEntry(LookupEntryRequest request, StreamObserver<Entry> responseObserver)
public void lookupEntry(LookupEntryRequest request, StreamObserver<Entry> responseObserver)
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.
Parameters
public void renameTagTemplateField(RenameTagTemplateFieldRequest request, StreamObserver<TagTemplateField> responseObserver)
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).
Parameters
searchCatalog(SearchCatalogRequest request, StreamObserver<SearchCatalogResponse> responseObserver)
public void searchCatalog(SearchCatalogRequest request, StreamObserver<SearchCatalogResponse> responseObserver)
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.
Parameters
setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
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.
Parameters
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
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.
Parameters
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
|
updateEntry(UpdateEntryRequest request, StreamObserver<Entry> responseObserver)
public void updateEntry(UpdateEntryRequest request, StreamObserver<Entry> responseObserver)
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).
Parameters
updateEntryGroup(UpdateEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
public void updateEntryGroup(UpdateEntryGroupRequest request, StreamObserver<EntryGroup> responseObserver)
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).
Parameters
updateTag(UpdateTagRequest request, StreamObserver<Tag> responseObserver)
public void updateTag(UpdateTagRequest request, StreamObserver<Tag> responseObserver)
Parameters
updateTagTemplate(UpdateTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
public void updateTagTemplate(UpdateTagTemplateRequest request, StreamObserver<TagTemplate> responseObserver)
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).
Parameters
updateTagTemplateField(UpdateTagTemplateFieldRequest request, StreamObserver<TagTemplateField> responseObserver)
public void updateTagTemplateField(UpdateTagTemplateFieldRequest request, StreamObserver<TagTemplateField> responseObserver)
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).
Parameters