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.



2749
2750
2751
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2749

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



2747
2748
2749
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2747

def spoke
  @spoke
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2754
2755
2756
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2754

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