Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListSpecsResponse

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 ListSpecs method's response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListSpecsResponse

Returns a new instance of GoogleCloudApihubV1ListSpecsResponse.



3351
3352
3353
# File 'lib/google/apis/apihub_v1/classes.rb', line 3351

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

Instance Attribute Details

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


3344
3345
3346
# File 'lib/google/apis/apihub_v1/classes.rb', line 3344

def next_page_token
  @next_page_token
end

#specsArray<Google::Apis::ApihubV1::GoogleCloudApihubV1Spec>

The specs corresponding to an API Version. Corresponds to the JSON property specs



3349
3350
3351
# File 'lib/google/apis/apihub_v1/classes.rb', line 3349

def specs
  @specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3356
3357
3358
3359
# File 'lib/google/apis/apihub_v1/classes.rb', line 3356

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