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

A hub is a collection of spokes. A single hub can contain spokes from multiple regions. However, all of a hub's spokes must be associated with resources that reside in the same VPC network.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time the hub was created.
  • description (type: String.t, default: nil) - An optional description of the hub.
  • labels (type: map(), default: nil) - Optional labels in key:value format. For more information about labels, see Requirements for labels.
  • name (type: String.t, default: nil) - Immutable. The name of the hub. Hub names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub_id}
  • routingVpcs (type: list(GoogleApi.NetworkConnectivity.V1.Model.RoutingVPC.t), default: nil) - The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
  • state (type: String.t, default: nil) - Output only. The current lifecycle state of this hub.
  • uniqueId (type: String.t, default: nil) - Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time the hub 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.Hub{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  routingVpcs: [GoogleApi.NetworkConnectivity.V1.Model.RoutingVPC.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.