Class ProjectsResource.LocationsResource.LakesResource.ContentitemsResource
The "contentitems" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.LakesResource.ContentitemsResource
Constructors
ContentitemsResource(IClientService)
Constructs a new resource.
Declaration
public ContentitemsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDataplexV1Content, string)
Create a content.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.CreateRequest Create(GoogleCloudDataplexV1Content body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDataplexV1Content | body | The body of the request. |
string | parent | Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.CreateRequest |
Delete(string)
Delete a content.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.DeleteRequest |
Get(string)
Get a content resource.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a contentitem 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.Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.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.LakesResource.ContentitemsResource.GetIamPolicyRequest |
List(string)
List content.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.ListRequest |
Patch(GoogleCloudDataplexV1Content, string)
Update a content. Only supports full resource update.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.PatchRequest Patch(GoogleCloudDataplexV1Content body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDataplexV1Content | body | The body of the request. |
string | name | Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.PatchRequest |
SetIamPolicy(GoogleIamV1SetIamPolicyRequest, string)
Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource.
Declaration
public virtual ProjectsResource.LocationsResource.LakesResource.ContentitemsResource.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.LakesResource.ContentitemsResource.SetIamPolicyRequest |
TestIamPermissions(GoogleIamV1TestIamPermissionsRequest, string)
Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (a NOT_FOUND error is not returned).A caller is not required to have Google IAM permission to make this request.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.LakesResource.ContentitemsResource.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.LakesResource.ContentitemsResource.TestIamPermissionsRequest |