REST Resource: projects.locations.global.peerings

Resource: Peering

Represents a Managed Service for Microsoft Active Directory Peering.

JSON representation
{
  "name": string,
  "labels": {
    string: string,
    ...
  },
  "authorizedNetwork": string,
  "domainResource": string,
  "createTime": string,
  "updateTime": string,
  "state": enum (State),
  "statusMessage": string
}
Fields
name

string

Output only. Unique name of the peering in this scope including projects and location using the form: projects/{projectId}/locations/global/peerings/{peeringId}.

labels

map (key: string, value: string)

Optional. Resource labels to represent user-provided metadata.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

authorizedNetwork

string

Required. The full names of the Google Compute Engine networks to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.

domainResource

string

Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{projectId}/locations/global/domains/{domainName}

createTime

string (Timestamp format)

Output only. The time the instance 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".

updateTime

string (Timestamp format)

Output only. Last update time.

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".

state

enum (State)

Output only. The current state of this Peering.

statusMessage

string

Output only. Additional information about the current status of this peering, if available.

State

Represents the different states of a Peering.

Enums
STATE_UNSPECIFIED Not set.
CREATING Peering is being created.
CONNECTED Peering is connected.
DISCONNECTED Peering is disconnected.
DELETING Peering is being deleted.

Methods

create

Creates a Peering for Managed AD instance.

delete

Deletes identified Peering.

get

Gets details of a single Peering.

getIamPolicy

Gets the access control policy for a resource.

list

Lists Peerings in a given project.

patch

Updates the labels for specified Peering.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.