Class: Google::Apis::NetworkconnectivityV1::RoutingVpc
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::RoutingVpc
- 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
RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.
Instance Attribute Summary collapse
-
#required_for_new_site_to_site_data_transfer_spokes ⇒ Boolean
(also: #required_for_new_site_to_site_data_transfer_spokes?)
Output only.
-
#uri ⇒ String
The URI of the VPC network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoutingVpc
constructor
A new instance of RoutingVpc.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoutingVpc
Returns a new instance of RoutingVpc.
2855 2856 2857 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2855 def initialize(**args) update!(**args) end |
Instance Attribute Details
#required_for_new_site_to_site_data_transfer_spokes ⇒ Boolean Also known as: required_for_new_site_to_site_data_transfer_spokes?
Output only. If true, indicates that this VPC network is currently associated
with spokes that use the data transfer feature (spokes where the
site_to_site_data_transfer field is set to true). If you create new spokes
that use data transfer, they must be associated with this VPC network. At most,
one VPC network will have this field set to true.
Corresponds to the JSON property requiredForNewSiteToSiteDataTransferSpokes
2847 2848 2849 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2847 def required_for_new_site_to_site_data_transfer_spokes @required_for_new_site_to_site_data_transfer_spokes end |
#uri ⇒ String
The URI of the VPC network.
Corresponds to the JSON property uri
2853 2854 2855 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2853 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2860 2861 2862 2863 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2860 def update!(**args) @required_for_new_site_to_site_data_transfer_spokes = args[:required_for_new_site_to_site_data_transfer_spokes] if args.key?(:required_for_new_site_to_site_data_transfer_spokes) @uri = args[:uri] if args.key?(:uri) end |