Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListSpecsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1ListSpecsResponse
- 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 ListSpecs method's response.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#specs ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Spec>
The specs corresponding to an API Version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1ListSpecsResponse
constructor
A new instance of GoogleCloudApihubV1ListSpecsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1ListSpecsResponse
Returns a new instance of GoogleCloudApihubV1ListSpecsResponse.
3249 3250 3251 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
3242 3243 3244 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3242 def next_page_token @next_page_token end |
#specs ⇒ Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Spec>
The specs corresponding to an API Version.
Corresponds to the JSON property specs
3247 3248 3249 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3247 def specs @specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3254 3255 3256 3257 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3254 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @specs = args[:specs] if args.key?(:specs) end |