REST Resource: projects.locations.observationSources

Resource: ObservationSource

Observation source configuration types

JSON representation
{
  "name": string,
  "state": enum (State),
  "createTime": string,
  "updateTime": string,

  // Union field source can be only one of the following:
  "gclbObservationSource": {
    object (GclbObservationSource)
  }
  // End of list of possible types for union field source.
}
Fields
name

string

Identifier. name of resource For MVP, each region can only have 1 source.

state

enum (State)

Output only. The observation source state

createTime

string (Timestamp format)

Output only. [Output only] Create time stamp

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. [Output only] Update time stamp

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

Union field source. Type of the source source can be only one of the following:
gclbObservationSource

object (GclbObservationSource)

The GCLB observation source

GclbObservationSource

The GCLB observation source.

JSON representation
{
  "pscNetworkConfigs": [
    {
      object (PscNetworkConfig)
    }
  ]
}
Fields
pscNetworkConfigs[]

object (PscNetworkConfig)

Required. The VPC networks where traffic will be observed. All load balancers within this network will be observed. Currently, this is limited to only one network.

PscNetworkConfig

Network information for setting up a PSC connection.

JSON representation
{
  "network": string,
  "subnetwork": string
}
Fields
network

string

Required. The VPC network. Format: projects/{projectId}/global/networks/{network}

subnetwork

string

Required. The subnetwork in the source region that will be used to connect to the Cloud Load Balancers via PSC NEGs. Must belong to network. Format: projects/{projectId}/regions/{region}/subnetworks/{subnet}

State

Observation source state

Enums
STATE_UNSPECIFIED Unspecified state
CREATING Source is in the creating state
CREATED Source has been created and is ready to use
DELETING Source is being deleted
ERROR Source is in an error state

Methods

create

CreateObservationSource creates a new ObservationSource but does not affect any deployed infrastructure.

delete

DeleteObservationSource deletes an observation source.

get

GetObservationSource retrieves a single ObservationSource by name.

list

ListObservationSources gets all ObservationSources for a given project and location.