Class ProjectsResource.LocationsResource.EntryTypesResource
The "entryTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryTypesResource
Constructors
EntryTypesResource(IClientService)
Constructs a new resource.
Declaration
public EntryTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDataplexV1EntryType, string)
Creates an EntryType.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.CreateRequest Create(GoogleCloudDataplexV1EntryType body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDataplexV1EntryType | body | The body of the request. |
string | parent | Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.CreateRequest |
Delete(string)
Deletes an EntryType.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.DeleteRequest |
Get(string)
Gets an EntryType.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the EntryType: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.GetIamPolicyRequest |
List(string)
Lists EntryType resources in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the EntryType location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.ListRequest |
Patch(GoogleCloudDataplexV1EntryType, string)
Updates an EntryType.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.PatchRequest Patch(GoogleCloudDataplexV1EntryType body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDataplexV1EntryType | body | The body of the request. |
string | name | Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.PatchRequest |
SetIamPolicy(GoogleIamV1SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.SetIamPolicyRequest SetIamPolicy(GoogleIamV1SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GoogleIamV1SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.SetIamPolicyRequest |
TestIamPermissions(GoogleIamV1TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.EntryTypesResource.TestIamPermissionsRequest TestIamPermissions(GoogleIamV1TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GoogleIamV1TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryTypesResource.TestIamPermissionsRequest |