Class: Google::Apis::WorkflowsV1::ListWorkflowRevisionsResponse

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

Overview

Response for the ListWorkflowRevisions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkflowRevisionsResponse

Returns a new instance of ListWorkflowRevisionsResponse.



106
107
108
# File 'lib/google/apis/workflows_v1/classes.rb', line 106

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)


99
100
101
# File 'lib/google/apis/workflows_v1/classes.rb', line 99

def next_page_token
  @next_page_token
end

#workflowsArray<Google::Apis::WorkflowsV1::Workflow>

The revisions of the workflow, ordered in reverse chronological order. Corresponds to the JSON property workflows



104
105
106
# File 'lib/google/apis/workflows_v1/classes.rb', line 104

def workflows
  @workflows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



111
112
113
114
# File 'lib/google/apis/workflows_v1/classes.rb', line 111

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