Class: Google::Apis::ApigatewayV1beta::ApigatewayListGatewaysResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigateway_v1beta/classes.rb,
generated/google/apis/apigateway_v1beta/representations.rb,
generated/google/apis/apigateway_v1beta/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.



668
669
670
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 668

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

Instance Attribute Details

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

Gateways. Corresponds to the JSON property gateways



656
657
658
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 656

def gateways
  @gateways
end

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


661
662
663
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 661

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


666
667
668
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 666

def unreachable_locations
  @unreachable_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



673
674
675
676
677
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 673

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