Class: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance
- 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
A route next hop that leads to a Router appliance instance.
Instance Attribute Summary collapse
-
#site_to_site_data_transfer ⇒ Boolean
(also: #site_to_site_data_transfer?)
Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource.
-
#uri ⇒ String
The URI of the Router appliance instance.
-
#vpc_network ⇒ String
The VPC network where this VM is located.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NextHopRouterApplianceInstance
constructor
A new instance of NextHopRouterApplianceInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NextHopRouterApplianceInstance
Returns a new instance of NextHopRouterApplianceInstance.
1943 1944 1945 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#site_to_site_data_transfer ⇒ Boolean Also known as: site_to_site_data_transfer?
Indicates whether site-to-site data transfer is allowed for this Router
appliance instance resource. Data transfer is available only in supported
locations.
Corresponds to the JSON property siteToSiteDataTransfer
1930 1931 1932 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1930 def site_to_site_data_transfer @site_to_site_data_transfer end |
#uri ⇒ String
The URI of the Router appliance instance.
Corresponds to the JSON property uri
1936 1937 1938 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1936 def uri @uri end |
#vpc_network ⇒ String
The VPC network where this VM is located.
Corresponds to the JSON property vpcNetwork
1941 1942 1943 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1941 def vpc_network @vpc_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1948 1949 1950 1951 1952 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1948 def update!(**args) @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer) @uri = args[:uri] if args.key?(:uri) @vpc_network = args[:vpc_network] if args.key?(:vpc_network) end |