Class ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource
The "documentLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource
Constructors
DocumentLinksResource(IClientService)
Constructs a new resource.
Declaration
public DocumentLinksResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudContentwarehouseV1CreateDocumentLinkRequest, string)
Create a link between a source document and a target document.
Declaration
public virtual ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource.CreateRequest Create(GoogleCloudContentwarehouseV1CreateDocumentLinkRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudContentwarehouseV1CreateDocumentLinkRequest | body | The body of the request. |
| string | parent | Required. Parent of the document-link to be created. parent of document-link should be a document. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource.CreateRequest |
Delete(GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest, string)
Remove the link between the source and target documents.
Declaration
public virtual ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource.DeleteRequest Delete(GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest | body | The body of the request. |
| string | name | Required. The name of the document-link to be deleted. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DocumentsResource.DocumentLinksResource.DeleteRequest |