Class: Google::Apis::ApigeeregistryV1::ListApiVersionsResponse

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

Overview

Response message for ListApiVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListApiVersionsResponse

Returns a new instance of ListApiVersionsResponse.



982
983
984
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 982

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

Instance Attribute Details

#api_versionsArray<Google::Apis::ApigeeregistryV1::ApiVersion>

The versions from the specified publisher. Corresponds to the JSON property apiVersions



974
975
976
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 974

def api_versions
  @api_versions
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)


980
981
982
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 980

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



987
988
989
990
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 987

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