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.



3038
3039
3040
# File 'lib/google/apis/apihub_v1/classes.rb', line 3038

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



3030
3031
3032
# File 'lib/google/apis/apihub_v1/classes.rb', line 3030

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)


3036
3037
3038
# File 'lib/google/apis/apihub_v1/classes.rb', line 3036

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3043
3044
3045
3046
# File 'lib/google/apis/apihub_v1/classes.rb', line 3043

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