Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.EntryGroupsResource

The "entryGroups" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.EntryGroupsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class EntryGroupsResource

Constructors

EntryGroupsResource(IClientService)

Constructs a new resource.

Declaration
public EntryGroupsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Properties

Entries

Gets the Entries resource.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource Entries { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource

Tags

Gets the Tags resource.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource Tags { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource

Methods

Create(GoogleCloudDatacatalogV1EntryGroup, String)

Creates an entry group. An entry group contains logically related entries together with Cloud Identity and Access Management 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.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.CreateRequest Create(GoogleCloudDatacatalogV1EntryGroup body, string parent)
Parameters
Type Name Description
GoogleCloudDatacatalogV1EntryGroup body

The body of the request.

System.String parent

Required. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location specified in its name.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.CreateRequest

Delete(String)

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.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
System.String name

Required. The name of the entry group to delete.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.DeleteRequest

Get(String)

Gets an entry group.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the entry group to get.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, String)

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.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

System.String resource

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.GetIamPolicyRequest

List(String)

Lists entry groups.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The name of the location that contains the entry groups to list. Can be provided as a URL.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.ListRequest

Patch(GoogleCloudDatacatalogV1EntryGroup, String)

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.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.PatchRequest Patch(GoogleCloudDatacatalogV1EntryGroup body, string name)
Parameters
Type Name Description
GoogleCloudDatacatalogV1EntryGroup body

The body of the request.

System.String name

The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, String)

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.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

System.String resource

REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, String)

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.

Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

System.String resource

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.EntryGroupsResource.TestIamPermissionsRequest
In This Article
Back to top