Class: Google::Apis::NetworkconnectivityV1::AcceptHubSpokeResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb

Overview

The response for HubService.AcceptHubSpoke.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcceptHubSpokeResponse

Returns a new instance of AcceptHubSpokeResponse.



73
74
75
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 73

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#spokeGoogle::Apis::NetworkconnectivityV1::Spoke

A Network Connectivity Center spoke represents one or more network connectivity resources. 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 * linked_vpc_network Corresponds to the JSON property spoke



71
72
73
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 71

def spoke
  @spoke
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



78
79
80
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 78

def update!(**args)
  @spoke = args[:spoke] if args.key?(:spoke)
end