Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource

The "referenceId" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource

Constructors

ReferenceIdResource(IClientService)

Constructs a new resource.

Declaration
public ReferenceIdResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(GoogleCloudContentwarehouseV1DeleteDocumentRequest, string)

Deletes a document. Returns NOT_FOUND if the document does not exist.

Declaration
public virtual ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.DeleteRequest Delete(GoogleCloudContentwarehouseV1DeleteDocumentRequest body, string name)
Parameters
Type Name Description
GoogleCloudContentwarehouseV1DeleteDocumentRequest body

The body of the request.

string name

Required. The name of the document to delete. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

Returns
Type Description
ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.DeleteRequest

Get(GoogleCloudContentwarehouseV1GetDocumentRequest, string)

Gets a document. Returns NOT_FOUND if the document does not exist.

Declaration
public virtual ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.GetRequest Get(GoogleCloudContentwarehouseV1GetDocumentRequest body, string name)
Parameters
Type Name Description
GoogleCloudContentwarehouseV1GetDocumentRequest body

The body of the request.

string name

Required. The name of the document to retrieve. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

Returns
Type Description
ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.GetRequest

Patch(GoogleCloudContentwarehouseV1UpdateDocumentRequest, string)

Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name.

Declaration
public virtual ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.PatchRequest Patch(GoogleCloudContentwarehouseV1UpdateDocumentRequest body, string name)
Parameters
Type Name Description
GoogleCloudContentwarehouseV1UpdateDocumentRequest body

The body of the request.

string name

Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

Returns
Type Description
ProjectsResource.LocationsResource.DocumentsResource.ReferenceIdResource.PatchRequest
In this article
Back to top Generated by DocFX