Resource: Relation
Message representing a relation between 2 resource.
JSON representation |
---|
{
"name": string,
"srcAsset": string,
"dstAsset": string,
"type": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. The identifier of the relation. |
src |
Output only. The source asset name in the relation. |
dst |
Output only. The destination asset name in the relation. |
type |
Optional. The type of the relation. |
create |
Output only. The timestamp when the relation was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Type
Enumerates possible types of a relation.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Default value. |
LOGICAL_DATABASE |
DBDeployment -> Database |
DATABASE_DEPLOYMENT_HOSTING_SERVER |
A relation between a machine/VM and the database deployment it hosts. |
Methods |
|
---|---|
|
Gets the details of an relation. |
|
Lists all the relations in a given project and location. |