-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of WorkflowExecutions client
- Loading branch information
1 parent
7ac1a0b
commit da430fd
Showing
15 changed files
with
809 additions
and
7 deletions.
There are no files selected for viewing
308 changes: 306 additions & 2 deletions
308
clients/workflow_executions/lib/google_api/workflow_executions/v1/api/projects.ex
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
clients/workflow_executions/lib/google_api/workflow_executions/v1/model/callback.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.Callback do | ||
@moduledoc """ | ||
An instance of a Callback created by an execution. | ||
## Attributes | ||
* `availablePayloads` (*type:* `list(String.t)`, *default:* `nil`) - Output only. The payloads received by the callback that have not been processed by a waiting execution step. | ||
* `method` (*type:* `String.t`, *default:* `nil`) - Output only. The method accepted by the callback. For example: GET, POST, PUT. | ||
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the callback. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback} | ||
* `waiters` (*type:* `String.t`, *default:* `nil`) - Output only. Number of execution steps waiting on this callback. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:availablePayloads => list(String.t()) | nil, | ||
:method => String.t() | nil, | ||
:name => String.t() | nil, | ||
:waiters => String.t() | nil | ||
} | ||
|
||
field(:availablePayloads, type: :list) | ||
field(:method) | ||
field(:name) | ||
field(:waiters) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.Callback do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.Callback.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.Callback do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
46 changes: 46 additions & 0 deletions
46
clients/workflow_executions/lib/google_api/workflow_executions/v1/model/exception.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.Exception do | ||
@moduledoc """ | ||
Exception describes why the step entry failed. | ||
## Attributes | ||
* `payload` (*type:* `String.t`, *default:* `nil`) - Error message represented as a JSON string. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:payload => String.t() | nil | ||
} | ||
|
||
field(:payload) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.Exception do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.Exception.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.Exception do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...s/workflow_executions/lib/google_api/workflow_executions/v1/model/export_data_response.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.ExportDataResponse do | ||
@moduledoc """ | ||
Response for the ExportData method. | ||
## Attributes | ||
* `data` (*type:* `String.t`, *default:* `nil`) - The JSON string with customer data and metadata for an execution with the given name | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:data => String.t() | nil | ||
} | ||
|
||
field(:data) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.ExportDataResponse do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.ExportDataResponse.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.ExportDataResponse do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
49 changes: 49 additions & 0 deletions
49
...orkflow_executions/lib/google_api/workflow_executions/v1/model/list_callbacks_response.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.ListCallbacksResponse do | ||
@moduledoc """ | ||
RPC response object for the ListCallbacks method. | ||
## Attributes | ||
* `callbacks` (*type:* `list(GoogleApi.WorkflowExecutions.V1.Model.Callback.t)`, *default:* `nil`) - The callbacks which match the request. | ||
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:callbacks => list(GoogleApi.WorkflowExecutions.V1.Model.Callback.t()) | nil, | ||
:nextPageToken => String.t() | nil | ||
} | ||
|
||
field(:callbacks, as: GoogleApi.WorkflowExecutions.V1.Model.Callback, type: :list) | ||
field(:nextPageToken) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.ListCallbacksResponse do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.ListCallbacksResponse.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.ListCallbacksResponse do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
52 changes: 52 additions & 0 deletions
52
...flow_executions/lib/google_api/workflow_executions/v1/model/list_step_entries_response.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.ListStepEntriesResponse do | ||
@moduledoc """ | ||
Response message for ExecutionHistory.ListStepEntries. | ||
## Attributes | ||
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - A token to retrieve next page of results. Pass this value in the ListStepEntriesRequest.page_token field in the subsequent call to `ListStepEntries` method to retrieve the next page of results. | ||
* `stepEntries` (*type:* `list(GoogleApi.WorkflowExecutions.V1.Model.StepEntry.t)`, *default:* `nil`) - The list of entries. | ||
* `totalSize` (*type:* `integer()`, *default:* `nil`) - Indicates the total number of StepEntries that matched the request filter. For running executions, this number shows the number of StepEntries that are executed thus far. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:nextPageToken => String.t() | nil, | ||
:stepEntries => list(GoogleApi.WorkflowExecutions.V1.Model.StepEntry.t()) | nil, | ||
:totalSize => integer() | nil | ||
} | ||
|
||
field(:nextPageToken) | ||
field(:stepEntries, as: GoogleApi.WorkflowExecutions.V1.Model.StepEntry, type: :list) | ||
field(:totalSize) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.ListStepEntriesResponse do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.ListStepEntriesResponse.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.ListStepEntriesResponse do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
55 changes: 55 additions & 0 deletions
55
clients/workflow_executions/lib/google_api/workflow_executions/v1/model/navigation_info.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.WorkflowExecutions.V1.Model.NavigationInfo do | ||
@moduledoc """ | ||
NavigationInfo describes what steps if any come before or after this step, or what steps are parents or children of this step. | ||
## Attributes | ||
* `children` (*type:* `list(String.t)`, *default:* `nil`) - Step entries that can be reached by "stepping into" e.g. a subworkflow call. | ||
* `next` (*type:* `String.t`, *default:* `nil`) - The index of the next step in the current workflow, if any. | ||
* `parent` (*type:* `String.t`, *default:* `nil`) - The step entry, if any, that can be reached by "stepping out" of the current workflow being executed. | ||
* `previous` (*type:* `String.t`, *default:* `nil`) - The index of the previous step in the current workflow, if any. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:children => list(String.t()) | nil, | ||
:next => String.t() | nil, | ||
:parent => String.t() | nil, | ||
:previous => String.t() | nil | ||
} | ||
|
||
field(:children, type: :list) | ||
field(:next) | ||
field(:parent) | ||
field(:previous) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.WorkflowExecutions.V1.Model.NavigationInfo do | ||
def decode(value, options) do | ||
GoogleApi.WorkflowExecutions.V1.Model.NavigationInfo.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.WorkflowExecutions.V1.Model.NavigationInfo do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.