Class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource
The "entries" collection of methods.
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource
Constructors
EntriesResource(IClientService)
Constructs a new resource.
Declaration
public EntriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Tags
Gets the Tags resource.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource Tags { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource |
Methods
Create(GoogleCloudDatacatalogV1beta1Entry, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.CreateRequest Create(GoogleCloudDatacatalogV1beta1Entry body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Entry | body | The body of the request. |
string | parent | Required. The name of the entry group this entry is in. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this Entry and its child resources may not actually be stored in the location in this name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.CreateRequest |
Delete(string)
Deletes an existing entry. Only entries created through 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).
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.DeleteRequest |
Get(string)
Gets an entry.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.GetRequest |
GetIamPolicy(GetIamPolicyRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.GetIamPolicyRequest |
List(string)
Lists entries.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the entry group that contains the entries, which can be provided in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.ListRequest |
Patch(GoogleCloudDatacatalogV1beta1Entry, string)
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).
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.PatchRequest Patch(GoogleCloudDatacatalogV1beta1Entry body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Entry | body | The body of the request. |
string | name | Output only. Identifier. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Entry and its child resources may not actually be stored in the location in this name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.PatchRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TestIamPermissionsRequest |