Class: Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse

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 ListApiSpecRevisionsResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListApiSpecRevisionsResponse

Returns a new instance of ListApiSpecRevisionsResponse.



930
931
932
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 930

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

Instance Attribute Details

#api_specsArray<Google::Apis::ApigeeregistryV1::ApiSpec>

The revisions of the spec. Corresponds to the JSON property apiSpecs



922
923
924
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 922

def api_specs
  @api_specs
end

#next_page_tokenString

A token that 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)


928
929
930
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 928

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



935
936
937
938
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 935

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