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. |
srcAsset
|
Output only. The source asset name in the relation. |
dstAsset
|
Output only. The destination asset name in the relation. |
type
|
Optional. The type of the relation. |
createTime
|
Output only. The timestamp when the relation was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |