GoogleApi.NetworkConnectivity.V1.Model.Spoke (google_api_network_connectivity v0.3.0) View Source

A spoke represents a connection between your Google Cloud network resources and a non-Google-Cloud network. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: linked_vpn_tunnels linked_interconnect_attachments * linked_router_appliance_instances

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time the spoke was created.
  • description (type: String.t, default: nil) - An optional description of the spoke.
  • hub (type: String.t, default: nil) - Immutable. The name of the hub that this spoke is attached to.
  • labels (type: map(), default: nil) - Optional labels in key:value format. For more information about labels, see Requirements for labels.
  • linkedInterconnectAttachments (type: GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t, default: nil) - VLAN attachments that are associated with the spoke.
  • linkedRouterApplianceInstances (type: GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t, default: nil) - Router appliance instances that are associated with the spoke.
  • linkedVpnTunnels (type: GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t, default: nil) - VPN tunnels that are associated with the spoke.
  • name (type: String.t, default: nil) - Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
  • state (type: String.t, default: nil) - Output only. The current lifecycle state of this spoke.
  • uniqueId (type: String.t, default: nil) - Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time the spoke was last updated.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.NetworkConnectivity.V1.Model.Spoke{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  hub: String.t() | nil,
  labels: map() | nil,
  linkedInterconnectAttachments:
    GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t()
    | nil,
  linkedRouterApplianceInstances:
    GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t()
    | nil,
  linkedVpnTunnels:
    GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil,
  uniqueId: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.