google_api_compute v0.4.0 GoogleApi.Compute.V1.Model.NetworkPeering View Source

A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.

Attributes

  • autoCreateRoutes (boolean()): Indicates whether full mesh connectivity is created and managed automatically. When it is set to true, Google Compute Engine will automatically create and manage the routes between two networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network. Defaults to: null.
  • name (String.t): Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `a-z?` which means the first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Defaults to: null.
  • network (String.t): The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. Defaults to: null.
  • state (String.t): [Output Only] State for the peering. Defaults to: null.

    • Enum - one of [ACTIVE, INACTIVE]
  • stateDetails (String.t): [Output Only] Details about the current state of the peering. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Compute.V1.Model.NetworkPeering{
  autoCreateRoutes: any(),
  name: any(),
  network: any(),
  state: any(),
  stateDetails: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.