Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListApisResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb

Overview

The ListApis method's response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListApisResponse

Returns a new instance of GoogleCloudApihubV1ListApisResponse.



2936
2937
2938
# File 'lib/google/apis/apihub_v1/classes.rb', line 2936

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

Instance Attribute Details

#apisArray<Google::Apis::ApihubV1::GoogleCloudApihubV1Api>

The API resources present in the API hub. Corresponds to the JSON property apis



2928
2929
2930
# File 'lib/google/apis/apihub_v1/classes.rb', line 2928

def apis
  @apis
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2934
2935
2936
# File 'lib/google/apis/apihub_v1/classes.rb', line 2934

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2941
2942
2943
2944
# File 'lib/google/apis/apihub_v1/classes.rb', line 2941

def update!(**args)
  @apis = args[:apis] if args.key?(:apis)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end