Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListVersionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListVersionsResponse

Returns a new instance of GoogleCloudApihubV1ListVersionsResponse.



3275
3276
3277
# File 'lib/google/apis/apihub_v1/classes.rb', line 3275

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)


3268
3269
3270
# File 'lib/google/apis/apihub_v1/classes.rb', line 3268

def next_page_token
  @next_page_token
end

#versionsArray<Google::Apis::ApihubV1::GoogleCloudApihubV1Version>

The versions corresponding to an API. Corresponds to the JSON property versions



3273
3274
3275
# File 'lib/google/apis/apihub_v1/classes.rb', line 3273

def versions
  @versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3280
3281
3282
3283
# File 'lib/google/apis/apihub_v1/classes.rb', line 3280

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