class Google::Apis::NetworkconnectivityV1alpha1::Spoke
A Spoke
is an abstraction of a network attachment being attached to a Hub
. A Spoke
can be underlying a VPN tunnel, a VLAN (interconnect) attachment, a Router appliance, etc.
Attributes
The time when the Spoke
was created. Corresponds to the JSON property `createTime` @return [String]
Short description of the spoke resource Corresponds to the JSON property `description` @return [String]
The resource URL of the hub resource that the spoke is attached to Corresponds to the JSON property `hub` @return [String]
User-defined labels. Corresponds to the JSON property `labels` @return [Hash<String,String>]
The URIs of linked interconnect attachment resources Corresponds to the JSON property `linkedInterconnectAttachments` @return [Array<String>]
The URIs of linked Router appliance resources Corresponds to the JSON property `linkedRouterApplianceInstances` @return [Array<Google::Apis::NetworkconnectivityV1alpha1::RouterApplianceInstance>]
The URIs of linked VPN tunnel resources Corresponds to the JSON property `linkedVpnTunnels` @return [Array<String>]
Immutable. The name of a Spoke
resource. Corresponds to the JSON property `name` @return [String]
Output only. The current lifecycle state of this Hub
. Corresponds to the JSON property `state` @return [String]
The time when the Spoke
was updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/networkconnectivity_v1alpha1/classes.rb, line 878 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkconnectivity_v1alpha1/classes.rb, line 883 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @hub = args[:hub] if args.key?(:hub) @labels = args[:labels] if args.key?(:labels) @linked_interconnect_attachments = args[:linked_interconnect_attachments] if args.key?(:linked_interconnect_attachments) @linked_router_appliance_instances = args[:linked_router_appliance_instances] if args.key?(:linked_router_appliance_instances) @linked_vpn_tunnels = args[:linked_vpn_tunnels] if args.key?(:linked_vpn_tunnels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @unique_id = args[:unique_id] if args.key?(:unique_id) @update_time = args[:update_time] if args.key?(:update_time) end