Class: Google::Apis::NetworkconnectivityV1::Gateway
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::Gateway
- 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 gateway that can apply specialized traffic processing.
Instance Attribute Summary collapse
-
#capacity ⇒ String
Optional.
-
#cloud_routers ⇒ Array<String>
Output only.
-
#ip_range_reservations ⇒ Array<Google::Apis::NetworkconnectivityV1::IpRangeReservation>
Optional.
-
#sac_attachment ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Gateway
constructor
A new instance of Gateway.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Gateway
Returns a new instance of Gateway.
1174 1175 1176 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#capacity ⇒ String
Optional. The aggregate processing capacity of this gateway.
Corresponds to the JSON property capacity
1153 1154 1155 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1153 def capacity @capacity end |
#cloud_routers ⇒ Array<String>
Output only. The list of Cloud Routers that are connected to this gateway.
Should be in the form: https://www.googleapis.com/compute/v1/projects/`project`
/regions/region/routers/router
Corresponds to the JSON property cloudRouters
1160 1161 1162 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1160 def cloud_routers @cloud_routers end |
#ip_range_reservations ⇒ Array<Google::Apis::NetworkconnectivityV1::IpRangeReservation>
Optional. A list of IP ranges that are reserved for this gateway's internal
intfrastructure.
Corresponds to the JSON property ipRangeReservations
1166 1167 1168 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1166 def ip_range_reservations @ip_range_reservations end |
#sac_attachment ⇒ String
Output only. The URI of the connected SACAttachment. Should be in the form:
projects/project/locations/location/sacAttachments/sac_attachment
Corresponds to the JSON property sacAttachment
1172 1173 1174 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1172 def @sac_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1179 1180 1181 1182 1183 1184 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1179 def update!(**args) @capacity = args[:capacity] if args.key?(:capacity) @cloud_routers = args[:cloud_routers] if args.key?(:cloud_routers) @ip_range_reservations = args[:ip_range_reservations] if args.key?(:ip_range_reservations) @sac_attachment = args[:sac_attachment] if args.key?(:sac_attachment) end |