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.



614
615
616
# File 'lib/google/apis/apigateway_v1/classes.rb', line 614

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

Instance Attribute Details

#gatewaysArray<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_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


607
608
609
# File 'lib/google/apis/apigateway_v1/classes.rb', line 607

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>)


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