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.



863
864
865
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 863

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



855
856
857
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 855

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)


861
862
863
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 861

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



868
869
870
871
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 868

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