Class: Google::Apis::ApigatewayV1::ApigatewayListGatewaysResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApigatewayListGatewaysResponse

Returns a new instance of ApigatewayListGatewaysResponse.



644
645
646
# File 'lib/google/apis/apigateway_v1/classes.rb', line 644

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gatewaysArray<Google::Apis::ApigatewayV1::ApigatewayGateway>

Gateways. Corresponds to the JSON property gateways



632
633
634
# File 'lib/google/apis/apigateway_v1/classes.rb', line 632

def gateways
  @gateways
end

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


637
638
639
# File 'lib/google/apis/apigateway_v1/classes.rb', line 637

def next_page_token
  @next_page_token
end

#unreachable_locationsArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachableLocations

Returns:

  • (Array<String>)


642
643
644
# File 'lib/google/apis/apigateway_v1/classes.rb', line 642

def unreachable_locations
  @unreachable_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



649
650
651
652
653
# File 'lib/google/apis/apigateway_v1/classes.rb', line 649

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