Class: Google::Apis::WorkflowsV1::ListWorkflowsResponse

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 ListWorkflows method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkflowsResponse

Returns a new instance of ListWorkflowsResponse.



137
138
139
# File 'lib/google/apis/workflows_v1/classes.rb', line 137

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)


125
126
127
# File 'lib/google/apis/workflows_v1/classes.rb', line 125

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


130
131
132
# File 'lib/google/apis/workflows_v1/classes.rb', line 130

def unreachable
  @unreachable
end

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

The workflows that match the request. Corresponds to the JSON property workflows



135
136
137
# File 'lib/google/apis/workflows_v1/classes.rb', line 135

def workflows
  @workflows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



142
143
144
145
146
# File 'lib/google/apis/workflows_v1/classes.rb', line 142

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