Class: Google::Apis::ApigatewayV1::ApigatewayListGatewaysResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1::ApigatewayListGatewaysResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigateway_v1/classes.rb,
lib/google/apis/apigateway_v1/representations.rb,
lib/google/apis/apigateway_v1/representations.rb
Overview
Response message for ApiGatewayService.ListGateways
Instance Attribute Summary collapse
-
#gateways ⇒ Array<Google::Apis::ApigatewayV1::ApigatewayGateway>
Gateways.
-
#next_page_token ⇒ String
Next page token.
-
#unreachable_locations ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayListGatewaysResponse
constructor
A new instance of ApigatewayListGatewaysResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayListGatewaysResponse
Returns a new instance of ApigatewayListGatewaysResponse.
614 615 616 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gateways ⇒ Array<Google::Apis::ApigatewayV1::ApigatewayGateway>
Gateways.
Corresponds to the JSON property gateways
602 603 604 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 602 def gateways @gateways end |
#next_page_token ⇒ String
Next page token.
Corresponds to the JSON property nextPageToken
607 608 609 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 607 def next_page_token @next_page_token end |
#unreachable_locations ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachableLocations
612 613 614 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 612 def unreachable_locations @unreachable_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
619 620 621 622 623 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 619 def update!(**args) @gateways = args[:gateways] if args.key?(:gateways) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable_locations = args[:unreachable_locations] if args.key?(:unreachable_locations) end |