class Google::Apis::NetworkconnectivityV1alpha1::Hub
Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google
Cloud. It reduces operational complexity through a simple, centralized connectivity management model. Following is the resource message of a hub.
Attributes
Time when the Hub
was created. Corresponds to the JSON property `createTime` @return [String]
Short description of the hub resource. Corresponds to the JSON property `description` @return [String]
User-defined labels. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Immutable. The name of a Hub
resource. Corresponds to the JSON property `name` @return [String]
Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. Corresponds to the JSON property `spokes` @return [Array<String>]
Output only. The current lifecycle state of this Hub
. Corresponds to the JSON property `state` @return [String]
Time when the Hub
was updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/networkconnectivity_v1alpha1/classes.rb, line 428 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkconnectivity_v1alpha1/classes.rb, line 433 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @spokes = args[:spokes] if args.key?(:spokes) @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