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 network that is associated with a hub's spokes.
Instance Attribute Summary collapse
-
#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.
864 865 866 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 864 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
The URI of the VPC network.
Corresponds to the JSON property uri
862 863 864 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 862 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
869 870 871 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 869 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |