Resource: Link
Defines the structure for content warehouse link proto.
| JSON representation |
|---|
{ "name": string, "collectionId": string, "documentId": string, "creator": string, "createTime": string, "attributes": { object } } |
| Fields | |
|---|---|
name |
The resource name of the link. Format: projects/{projectNumber}/locations/{location}/links/{link}. The name is ignored when creating a link. |
collectionId |
The collection the link connects to. Should have the same project and location with the link. |
documentId |
The document the link connects to. Should have the same project and location with the link. |
creator |
Output only. Indicates who created this link. |
createTime |
Output only. The create timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
attributes |
Other link attributes. |
Methods |
|
|---|---|
|
Creates a link. |
|
Deletes a link between a collection and a document. |
|
Gets a link. |
|
Updates the link using provided UpdateLinkRequest. |
|
Searches for links using provided SearchLinksRequest. |