Class: Google::Apis::WorkflowsV1beta::ListWorkflowsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workflows_v1beta/classes.rb,
lib/google/apis/workflows_v1beta/representations.rb,
lib/google/apis/workflows_v1beta/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.



120
121
122
# File 'lib/google/apis/workflows_v1beta/classes.rb', line 120

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)


108
109
110
# File 'lib/google/apis/workflows_v1beta/classes.rb', line 108

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


113
114
115
# File 'lib/google/apis/workflows_v1beta/classes.rb', line 113

def unreachable
  @unreachable
end

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

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



118
119
120
# File 'lib/google/apis/workflows_v1beta/classes.rb', line 118

def workflows
  @workflows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



125
126
127
128
129
# File 'lib/google/apis/workflows_v1beta/classes.rb', line 125

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