REST Resource: projects.locations.relations

Resource: Relation

Message representing a relation between 2 resource.

JSON representation
{
  "name": string,
  "srcAsset": string,
  "dstAsset": string,
  "type": enum (Type),
  "createTime": string
}
Fields
name

string

Output only. Identifier. The identifier of the relation.

srcAsset

string

Output only. The source asset name in the relation.

dstAsset

string

Output only. The destination asset name in the relation.

type

enum (Type)

Optional. The type of the relation.

createTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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

get

Gets the details of an relation.

list

Lists all the relations in a given project and location.