Class: Google::Apis::NetworkconnectivityV1::RejectHubSpokeResponse

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.RejectHubSpoke.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RejectHubSpokeResponse

Returns a new instance of RejectHubSpokeResponse.



2612
2613
2614
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2612

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



2610
2611
2612
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2610

def spoke
  @spoke
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2617
2618
2619
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2617

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