Class: Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListApiDeploymentRevisionsResponse

Returns a new instance of ListApiDeploymentRevisionsResponse.



878
879
880
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 878

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

Instance Attribute Details

#api_deploymentsArray<Google::Apis::ApigeeregistryV1::ApiDeployment>

The revisions of the deployment. Corresponds to the JSON property apiDeployments



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

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


876
877
878
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 876

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



883
884
885
886
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 883

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