gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Callback extends \Google\Collection
{
protected $collection_key = 'availablePayloads';
/**
* Output only. The payloads received by the callback that have not been
* processed by a waiting execution step.
*
* @var string[]
*/
public $availablePayloads;
/**
* Output only. The method accepted by the callback. For example: GET, POST,
* PUT.
*
* @var string
*/
public $method;
/**
* Output only. The resource name of the callback. Format: projects/{project}/
* locations/{location}/workflows/{workflow}/executions/{execution}/callback/{
* callback}
*
* @var string
*/
public $name;
/**
* Output only. Number of execution steps waiting on this callback.
*
* @var string
*/
public $waiters;
/**
* Output only. The payloads received by the callback that have not been
* processed by a waiting execution step.
*
* @param string[] $availablePayloads
*/
public function setAvailablePayloads($availablePayloads)
{
$this->availablePayloads = $availablePayloads;
}
/**
* @return string[]
*/
public function getAvailablePayloads()
{
return $this->availablePayloads;
}
/**
* Output only. The method accepted by the callback. For example: GET, POST,
* PUT.
*
* @param string $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* Output only. The resource name of the callback. Format: projects/{project}/
* locations/{location}/workflows/{workflow}/executions/{execution}/callback/{
* callback}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Number of execution steps waiting on this callback.
*
* @param string $waiters
*/
public function setWaiters($waiters)
{
$this->waiters = $waiters;
}
/**
* @return string
*/
public function getWaiters()
{
return $this->waiters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Callback::class, 'Google_Service_WorkflowExecutions_Callback');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class CancelExecutionRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelExecutionRequest::class, 'Google_Service_WorkflowExecutions_CancelExecutionRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class DeleteExecutionHistoryRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteExecutionHistoryRequest::class, 'Google_Service_WorkflowExecutions_DeleteExecutionHistoryRequest');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Error extends \Google\Model
{
/**
* Human-readable stack trace string.
*
* @var string
*/
public $context;
/**
* Error message and data returned represented as a JSON string.
*
* @var string
*/
public $payload;
protected $stackTraceType = StackTrace::class;
protected $stackTraceDataType = '';
/**
* Human-readable stack trace string.
*
* @param string $context
*/
public function setContext($context)
{
$this->context = $context;
}
/**
* @return string
*/
public function getContext()
{
return $this->context;
}
/**
* Error message and data returned represented as a JSON string.
*
* @param string $payload
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
/**
* Stack trace with detailed information of where error was generated.
*
* @param StackTrace $stackTrace
*/
public function setStackTrace(StackTrace $stackTrace)
{
$this->stackTrace = $stackTrace;
}
/**
* @return StackTrace
*/
public function getStackTrace()
{
return $this->stackTrace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Error::class, 'Google_Service_WorkflowExecutions_Error');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Exception extends \Google\Model
{
/**
* Error message represented as a JSON string.
*
* @var string
*/
public $payload;
/**
* Error message represented as a JSON string.
*
* @param string $payload
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Exception::class, 'Google_Service_WorkflowExecutions_Exception');
@@ -0,0 +1,471 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Execution extends \Google\Model
{
/**
* No call logging level specified.
*/
public const CALL_LOG_LEVEL_CALL_LOG_LEVEL_UNSPECIFIED = 'CALL_LOG_LEVEL_UNSPECIFIED';
/**
* Log all call steps within workflows, all call returns, and all exceptions
* raised.
*/
public const CALL_LOG_LEVEL_LOG_ALL_CALLS = 'LOG_ALL_CALLS';
/**
* Log only exceptions that are raised from call steps within workflows.
*/
public const CALL_LOG_LEVEL_LOG_ERRORS_ONLY = 'LOG_ERRORS_ONLY';
/**
* Explicitly log nothing.
*/
public const CALL_LOG_LEVEL_LOG_NONE = 'LOG_NONE';
/**
* The default/unset value.
*/
public const EXECUTION_HISTORY_LEVEL_EXECUTION_HISTORY_LEVEL_UNSPECIFIED = 'EXECUTION_HISTORY_LEVEL_UNSPECIFIED';
/**
* Enable execution history basic feature for this execution.
*/
public const EXECUTION_HISTORY_LEVEL_EXECUTION_HISTORY_BASIC = 'EXECUTION_HISTORY_BASIC';
/**
* Enable execution history detailed feature for this execution.
*/
public const EXECUTION_HISTORY_LEVEL_EXECUTION_HISTORY_DETAILED = 'EXECUTION_HISTORY_DETAILED';
/**
* Invalid state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The execution is in progress.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The execution finished successfully.
*/
public const STATE_SUCCEEDED = 'SUCCEEDED';
/**
* The execution failed with an error.
*/
public const STATE_FAILED = 'FAILED';
/**
* The execution was stopped intentionally.
*/
public const STATE_CANCELLED = 'CANCELLED';
/**
* Execution data is unavailable. See the `state_error` field.
*/
public const STATE_UNAVAILABLE = 'UNAVAILABLE';
/**
* Request has been placed in the backlog for processing at a later time.
*/
public const STATE_QUEUED = 'QUEUED';
/**
* Input parameters of the execution represented as a JSON string. The size
* limit is 32KB. *Note*: If you are using the REST API directly to run your
* workflow, you must escape any JSON string value of `argument`. Example:
* `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
*
* @var string
*/
public $argument;
/**
* The call logging level associated to this execution.
*
* @var string
*/
public $callLogLevel;
/**
* Output only. Marks the creation of the execution.
*
* @var string
*/
public $createTime;
/**
* Optional. If set to true, the execution will not be backlogged when the
* concurrency quota is exhausted. The backlog execution starts when the
* concurrency quota becomes available.
*
* @var bool
*/
public $disableConcurrencyQuotaOverflowBuffering;
/**
* Output only. Measures the duration of the execution.
*
* @var string
*/
public $duration;
/**
* Output only. Marks the end of execution, successful or not.
*
* @var string
*/
public $endTime;
protected $errorType = Error::class;
protected $errorDataType = '';
/**
* Optional. Describes the execution history level to apply to this execution.
* If not specified, the execution history level is determined by its
* workflow's execution history level. If the levels are different, the
* executionHistoryLevel overrides the workflow's execution history level for
* this execution.
*
* @var string
*/
public $executionHistoryLevel;
/**
* Labels associated with this execution. Labels can contain at most 64
* entries. Keys and values can be no longer than 63 characters and can only
* contain lowercase letters, numeric characters, underscores, and dashes.
* Label keys must start with a letter. International characters are allowed.
* By default, labels are inherited from the workflow but are overridden by
* any labels associated with the execution.
*
* @var string[]
*/
public $labels;
/**
* Output only. The resource name of the execution. Format: projects/{project}
* /locations/{location}/workflows/{workflow}/executions/{execution}
*
* @var string
*/
public $name;
/**
* Output only. Output of the execution represented as a JSON string. The
* value can only be present if the execution's state is `SUCCEEDED`.
*
* @var string
*/
public $result;
/**
* Output only. Marks the beginning of execution. Note that this will be the
* same as `createTime` for executions that start immediately.
*
* @var string
*/
public $startTime;
/**
* Output only. Current state of the execution.
*
* @var string
*/
public $state;
protected $stateErrorType = StateError::class;
protected $stateErrorDataType = '';
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* Output only. Revision of the workflow this execution is using.
*
* @var string
*/
public $workflowRevisionId;
/**
* Input parameters of the execution represented as a JSON string. The size
* limit is 32KB. *Note*: If you are using the REST API directly to run your
* workflow, you must escape any JSON string value of `argument`. Example:
* `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
*
* @param string $argument
*/
public function setArgument($argument)
{
$this->argument = $argument;
}
/**
* @return string
*/
public function getArgument()
{
return $this->argument;
}
/**
* The call logging level associated to this execution.
*
* Accepted values: CALL_LOG_LEVEL_UNSPECIFIED, LOG_ALL_CALLS,
* LOG_ERRORS_ONLY, LOG_NONE
*
* @param self::CALL_LOG_LEVEL_* $callLogLevel
*/
public function setCallLogLevel($callLogLevel)
{
$this->callLogLevel = $callLogLevel;
}
/**
* @return self::CALL_LOG_LEVEL_*
*/
public function getCallLogLevel()
{
return $this->callLogLevel;
}
/**
* Output only. Marks the creation of the execution.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. If set to true, the execution will not be backlogged when the
* concurrency quota is exhausted. The backlog execution starts when the
* concurrency quota becomes available.
*
* @param bool $disableConcurrencyQuotaOverflowBuffering
*/
public function setDisableConcurrencyQuotaOverflowBuffering($disableConcurrencyQuotaOverflowBuffering)
{
$this->disableConcurrencyQuotaOverflowBuffering = $disableConcurrencyQuotaOverflowBuffering;
}
/**
* @return bool
*/
public function getDisableConcurrencyQuotaOverflowBuffering()
{
return $this->disableConcurrencyQuotaOverflowBuffering;
}
/**
* Output only. Measures the duration of the execution.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Output only. Marks the end of execution, successful or not.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The error which caused the execution to finish prematurely.
* The value is only present if the execution's state is `FAILED` or
* `CANCELLED`.
*
* @param Error $error
*/
public function setError(Error $error)
{
$this->error = $error;
}
/**
* @return Error
*/
public function getError()
{
return $this->error;
}
/**
* Optional. Describes the execution history level to apply to this execution.
* If not specified, the execution history level is determined by its
* workflow's execution history level. If the levels are different, the
* executionHistoryLevel overrides the workflow's execution history level for
* this execution.
*
* Accepted values: EXECUTION_HISTORY_LEVEL_UNSPECIFIED,
* EXECUTION_HISTORY_BASIC, EXECUTION_HISTORY_DETAILED
*
* @param self::EXECUTION_HISTORY_LEVEL_* $executionHistoryLevel
*/
public function setExecutionHistoryLevel($executionHistoryLevel)
{
$this->executionHistoryLevel = $executionHistoryLevel;
}
/**
* @return self::EXECUTION_HISTORY_LEVEL_*
*/
public function getExecutionHistoryLevel()
{
return $this->executionHistoryLevel;
}
/**
* Labels associated with this execution. Labels can contain at most 64
* entries. Keys and values can be no longer than 63 characters and can only
* contain lowercase letters, numeric characters, underscores, and dashes.
* Label keys must start with a letter. International characters are allowed.
* By default, labels are inherited from the workflow but are overridden by
* any labels associated with the execution.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The resource name of the execution. Format: projects/{project}
* /locations/{location}/workflows/{workflow}/executions/{execution}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Output of the execution represented as a JSON string. The
* value can only be present if the execution's state is `SUCCEEDED`.
*
* @param string $result
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
/**
* Output only. Marks the beginning of execution. Note that this will be the
* same as `createTime` for executions that start immediately.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. Current state of the execution.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, SUCCEEDED, FAILED, CANCELLED,
* UNAVAILABLE, QUEUED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Error regarding the state of the Execution resource. For
* example, this field will have error details if the execution data is
* unavailable due to revoked KMS key permissions.
*
* @param StateError $stateError
*/
public function setStateError(StateError $stateError)
{
$this->stateError = $stateError;
}
/**
* @return StateError
*/
public function getStateError()
{
return $this->stateError;
}
/**
* Output only. Status tracks the current steps and progress data of this
* execution.
*
* @param Status $status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
/**
* Output only. Revision of the workflow this execution is using.
*
* @param string $workflowRevisionId
*/
public function setWorkflowRevisionId($workflowRevisionId)
{
$this->workflowRevisionId = $workflowRevisionId;
}
/**
* @return string
*/
public function getWorkflowRevisionId()
{
return $this->workflowRevisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Execution::class, 'Google_Service_WorkflowExecutions_Execution');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class ExportDataResponse extends \Google\Model
{
/**
* The JSON string with customer data and metadata for an execution with the
* given name
*
* @var string
*/
public $data;
/**
* The JSON string with customer data and metadata for an execution with the
* given name
*
* @param string $data
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExportDataResponse::class, 'Google_Service_WorkflowExecutions_ExportDataResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class ListCallbacksResponse extends \Google\Collection
{
protected $collection_key = 'callbacks';
protected $callbacksType = Callback::class;
protected $callbacksDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The callbacks which match the request.
*
* @param Callback[] $callbacks
*/
public function setCallbacks($callbacks)
{
$this->callbacks = $callbacks;
}
/**
* @return Callback[]
*/
public function getCallbacks()
{
return $this->callbacks;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCallbacksResponse::class, 'Google_Service_WorkflowExecutions_ListCallbacksResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class ListExecutionsResponse extends \Google\Collection
{
protected $collection_key = 'executions';
protected $executionsType = Execution::class;
protected $executionsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The executions which match the request.
*
* @param Execution[] $executions
*/
public function setExecutions($executions)
{
$this->executions = $executions;
}
/**
* @return Execution[]
*/
public function getExecutions()
{
return $this->executions;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListExecutionsResponse::class, 'Google_Service_WorkflowExecutions_ListExecutionsResponse');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class ListStepEntriesResponse extends \Google\Collection
{
protected $collection_key = 'stepEntries';
/**
* 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.
*
* @var string
*/
public $nextPageToken;
protected $stepEntriesType = StepEntry::class;
protected $stepEntriesDataType = 'array';
/**
* 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.
*
* @var int
*/
public $totalSize;
/**
* 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.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of entries.
*
* @param StepEntry[] $stepEntries
*/
public function setStepEntries($stepEntries)
{
$this->stepEntries = $stepEntries;
}
/**
* @return StepEntry[]
*/
public function getStepEntries()
{
return $this->stepEntries;
}
/**
* 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.
*
* @param int $totalSize
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListStepEntriesResponse::class, 'Google_Service_WorkflowExecutions_ListStepEntriesResponse');
@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class NavigationInfo extends \Google\Collection
{
protected $collection_key = 'children';
/**
* Step entries that can be reached by "stepping into" e.g. a subworkflow
* call.
*
* @var string[]
*/
public $children;
/**
* The index of the next step in the current workflow, if any.
*
* @var string
*/
public $next;
/**
* The step entry, if any, that can be reached by "stepping out" of the
* current workflow being executed.
*
* @var string
*/
public $parent;
/**
* The index of the previous step in the current workflow, if any.
*
* @var string
*/
public $previous;
/**
* Step entries that can be reached by "stepping into" e.g. a subworkflow
* call.
*
* @param string[] $children
*/
public function setChildren($children)
{
$this->children = $children;
}
/**
* @return string[]
*/
public function getChildren()
{
return $this->children;
}
/**
* The index of the next step in the current workflow, if any.
*
* @param string $next
*/
public function setNext($next)
{
$this->next = $next;
}
/**
* @return string
*/
public function getNext()
{
return $this->next;
}
/**
* The step entry, if any, that can be reached by "stepping out" of the
* current workflow being executed.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* The index of the previous step in the current workflow, if any.
*
* @param string $previous
*/
public function setPrevious($previous)
{
$this->previous = $previous;
}
/**
* @return string
*/
public function getPrevious()
{
return $this->previous;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NavigationInfo::class, 'Google_Service_WorkflowExecutions_NavigationInfo');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Position extends \Google\Model
{
/**
* The source code column position (of the line) the current instruction was
* generated from.
*
* @var string
*/
public $column;
/**
* The number of bytes of source code making up this stack trace element.
*
* @var string
*/
public $length;
/**
* The source code line number the current instruction was generated from.
*
* @var string
*/
public $line;
/**
* The source code column position (of the line) the current instruction was
* generated from.
*
* @param string $column
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* The number of bytes of source code making up this stack trace element.
*
* @param string $length
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* The source code line number the current instruction was generated from.
*
* @param string $line
*/
public function setLine($line)
{
$this->line = $line;
}
/**
* @return string
*/
public function getLine()
{
return $this->line;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Position::class, 'Google_Service_WorkflowExecutions_Position');
@@ -0,0 +1,166 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class PubsubMessage extends \Google\Model
{
/**
* Optional. Attributes for this message. If this field is empty, the message
* must contain non-empty data. This can be used to filter messages on the
* subscription.
*
* @var string[]
*/
public $attributes;
/**
* Optional. The message data field. If this field is empty, the message must
* contain at least one attribute.
*
* @var string
*/
public $data;
/**
* ID of this message, assigned by the server when the message is published.
* Guaranteed to be unique within the topic. This value may be read by a
* subscriber that receives a `PubsubMessage` via a `Pull` call or a push
* delivery. It must not be populated by the publisher in a `Publish` call.
*
* @var string
*/
public $messageId;
/**
* Optional. If non-empty, identifies related messages for which publish order
* should be respected. If a `Subscription` has `enable_message_ordering` set
* to `true`, messages published with the same non-empty `ordering_key` value
* will be delivered to subscribers in the order in which they are received by
* the Pub/Sub system. All `PubsubMessage`s published in a given
* `PublishRequest` must specify the same `ordering_key` value. For more
* information, see [ordering
* messages](https://cloud.google.com/pubsub/docs/ordering).
*
* @var string
*/
public $orderingKey;
/**
* The time at which the message was published, populated by the server when
* it receives the `Publish` call. It must not be populated by the publisher
* in a `Publish` call.
*
* @var string
*/
public $publishTime;
/**
* Optional. Attributes for this message. If this field is empty, the message
* must contain non-empty data. This can be used to filter messages on the
* subscription.
*
* @param string[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Optional. The message data field. If this field is empty, the message must
* contain at least one attribute.
*
* @param string $data
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* ID of this message, assigned by the server when the message is published.
* Guaranteed to be unique within the topic. This value may be read by a
* subscriber that receives a `PubsubMessage` via a `Pull` call or a push
* delivery. It must not be populated by the publisher in a `Publish` call.
*
* @param string $messageId
*/
public function setMessageId($messageId)
{
$this->messageId = $messageId;
}
/**
* @return string
*/
public function getMessageId()
{
return $this->messageId;
}
/**
* Optional. If non-empty, identifies related messages for which publish order
* should be respected. If a `Subscription` has `enable_message_ordering` set
* to `true`, messages published with the same non-empty `ordering_key` value
* will be delivered to subscribers in the order in which they are received by
* the Pub/Sub system. All `PubsubMessage`s published in a given
* `PublishRequest` must specify the same `ordering_key` value. For more
* information, see [ordering
* messages](https://cloud.google.com/pubsub/docs/ordering).
*
* @param string $orderingKey
*/
public function setOrderingKey($orderingKey)
{
$this->orderingKey = $orderingKey;
}
/**
* @return string
*/
public function getOrderingKey()
{
return $this->orderingKey;
}
/**
* The time at which the message was published, populated by the server when
* it receives the `Publish` call. It must not be populated by the publisher
* in a `Publish` call.
*
* @param string $publishTime
*/
public function setPublishTime($publishTime)
{
$this->publishTime = $publishTime;
}
/**
* @return string
*/
public function getPublishTime()
{
return $this->publishTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PubsubMessage::class, 'Google_Service_WorkflowExecutions_PubsubMessage');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $projects = $workflowexecutionsService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_WorkflowExecutions_Resource_Projects');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $locations = $workflowexecutionsService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocations');
@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
use Google\Service\WorkflowExecutions\Execution;
use Google\Service\WorkflowExecutions\TriggerPubsubExecutionRequest;
/**
* The "workflows" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $workflows = $workflowexecutionsService->projects_locations_workflows;
* </code>
*/
class ProjectsLocationsWorkflows extends \Google\Service\Resource
{
/**
* Triggers a new execution using the latest revision of the given workflow by a
* Pub/Sub push notification. (workflows.triggerPubsubExecution)
*
* @param string $workflow Required. Name of the workflow for which an execution
* should be created. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @param TriggerPubsubExecutionRequest $postBody
* @param array $optParams Optional parameters.
* @return Execution
* @throws \Google\Service\Exception
*/
public function triggerPubsubExecution($workflow, TriggerPubsubExecutionRequest $postBody, $optParams = [])
{
$params = ['workflow' => $workflow, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('triggerPubsubExecution', [$params], Execution::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsWorkflows::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflows');
@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
use Google\Service\WorkflowExecutions\CancelExecutionRequest;
use Google\Service\WorkflowExecutions\DeleteExecutionHistoryRequest;
use Google\Service\WorkflowExecutions\Execution;
use Google\Service\WorkflowExecutions\ExportDataResponse;
use Google\Service\WorkflowExecutions\ListExecutionsResponse;
use Google\Service\WorkflowExecutions\WorkflowexecutionsEmpty;
/**
* The "executions" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $executions = $workflowexecutionsService->projects_locations_workflows_executions;
* </code>
*/
class ProjectsLocationsWorkflowsExecutions extends \Google\Service\Resource
{
/**
* Cancels an execution of the given name. (executions.cancel)
*
* @param string $name Required. Name of the execution to be cancelled. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{exec
* ution}
* @param CancelExecutionRequest $postBody
* @param array $optParams Optional parameters.
* @return Execution
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelExecutionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], Execution::class);
}
/**
* Creates a new execution using the latest revision of the given workflow. For
* more information, see Execute a workflow. (executions.create)
*
* @param string $parent Required. Name of the workflow for which an execution
* should be created. Format:
* projects/{project}/locations/{location}/workflows/{workflow} The latest
* revision of the workflow will be used.
* @param Execution $postBody
* @param array $optParams Optional parameters.
* @return Execution
* @throws \Google\Service\Exception
*/
public function create($parent, Execution $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Execution::class);
}
/**
* Deletes all step entries for an execution.
* (executions.deleteExecutionHistory)
*
* @param string $name Required. Name of the execution for which step entries
* should be deleted. Format: projects/{project}/locations/{location}/workflows/
* {workflow}/executions/{execution}
* @param DeleteExecutionHistoryRequest $postBody
* @param array $optParams Optional parameters.
* @return WorkflowexecutionsEmpty
* @throws \Google\Service\Exception
*/
public function deleteExecutionHistory($name, DeleteExecutionHistoryRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('deleteExecutionHistory', [$params], WorkflowexecutionsEmpty::class);
}
/**
* Returns all metadata stored about an execution, excluding most data that is
* already accessible using other API methods. (executions.exportData)
*
* @param string $name Required. Name of the execution for which data is to be
* exported. Format: projects/{project}/locations/{location}/workflows/{workflow
* }/executions/{execution}
* @param array $optParams Optional parameters.
* @return ExportDataResponse
* @throws \Google\Service\Exception
*/
public function exportData($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('exportData', [$params], ExportDataResponse::class);
}
/**
* Returns an execution of the given name. (executions.get)
*
* @param string $name Required. Name of the execution to be retrieved. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{exec
* ution}
* @param array $optParams Optional parameters.
*
* @opt_param string view Optional. A view defining which fields should be
* filled in the returned execution. The API will default to the FULL view.
* @return Execution
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Execution::class);
}
/**
* Returns a list of executions which belong to the workflow with the given
* name. The method returns executions of all workflow revisions. Returned
* executions are ordered by their start time (newest first).
* (executions.listProjectsLocationsWorkflowsExecutions)
*
* @param string $parent Required. Name of the workflow for which the executions
* should be listed. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filters applied to the
* `[Executions.ListExecutions]` results. The following fields are supported for
* filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`,
* `duration`, `workflowRevisionId`, `stepName`, `label`, and
* `disableConcurrencyQuotaOverflowBuffering`. For details, see AIP-160. For
* more information, see Filter executions. For example, if you are using the
* Google APIs Explorer: `state="SUCCEEDED"` or `startTime>"2023-08-01" AND
* state="FAILED"`
* @opt_param string orderBy Optional. Comma-separated list of fields that
* specify the ordering applied to the `[Executions.ListExecutions]` results. By
* default the ordering is based on descending `createTime`. The following
* fields are supported for ordering: `executionId`, `state`, `createTime`,
* `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details,
* see AIP-132.
* @opt_param int pageSize Maximum number of executions to return per call. Max
* supported value depends on the selected Execution view: it's 1000 for BASIC
* and 100 for FULL. The default value used if the field is not specified is
* 100, regardless of the selected view. Values greater than the max value will
* be coerced down to it.
* @opt_param string pageToken A page token, received from a previous
* `ListExecutions` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListExecutions` must match the
* call that provided the page token. Note that pagination is applied to dynamic
* data. The list of executions returned can change between page requests.
* @opt_param string view Optional. A view defining which fields should be
* filled in the returned executions. The API will default to the BASIC view.
* @return ListExecutionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsWorkflowsExecutions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListExecutionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsWorkflowsExecutions::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflowsExecutions');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
use Google\Service\WorkflowExecutions\ListCallbacksResponse;
/**
* The "callbacks" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $callbacks = $workflowexecutionsService->projects_locations_workflows_executions_callbacks;
* </code>
*/
class ProjectsLocationsWorkflowsExecutionsCallbacks extends \Google\Service\Resource
{
/**
* Returns a list of active callbacks that belong to the execution with the
* given name. The returned callbacks are ordered by callback ID.
* (callbacks.listProjectsLocationsWorkflowsExecutionsCallbacks)
*
* @param string $parent Required. Name of the execution for which the callbacks
* should be listed. Format: projects/{project}/locations/{location}/workflows/{
* workflow}/executions/{execution}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of callbacks to return per call. The
* default value is 100 and is also the maximum value.
* @opt_param string pageToken A page token, received from a previous
* `ListCallbacks` call. Provide this to retrieve the subsequent page. Note that
* pagination is applied to dynamic data. The list of callbacks returned can
* change between page requests if callbacks are created or deleted.
* @return ListCallbacksResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsWorkflowsExecutionsCallbacks($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCallbacksResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsWorkflowsExecutionsCallbacks::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflowsExecutionsCallbacks');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions\Resource;
use Google\Service\WorkflowExecutions\ListStepEntriesResponse;
use Google\Service\WorkflowExecutions\StepEntry;
/**
* The "stepEntries" collection of methods.
* Typical usage is:
* <code>
* $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
* $stepEntries = $workflowexecutionsService->projects_locations_workflows_executions_stepEntries;
* </code>
*/
class ProjectsLocationsWorkflowsExecutionsStepEntries extends \Google\Service\Resource
{
/**
* Gets a step entry. (stepEntries.get)
*
* @param string $name Required. The name of the step entry to retrieve. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{exec
* ution}/stepEntries/{step_entry}
* @param array $optParams Optional parameters.
*
* @opt_param string view Deprecated field.
* @return StepEntry
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], StepEntry::class);
}
/**
* Lists step entries for the corresponding workflow execution. Returned entries
* are ordered by their create_time.
* (stepEntries.listProjectsLocationsWorkflowsExecutionsStepEntries)
*
* @param string $parent Required. Name of the workflow execution to list
* entries for. Format: projects/{project}/locations/{location}/workflows/{workf
* low}/executions/{execution}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filters applied to the
* `[StepEntries.ListStepEntries]` results. The following fields are supported
* for filtering: `entryId`, `createTime`, `updateTime`, `routine`, `step`,
* `stepType`, `parent`, `state`. For details, see AIP-160. For example, if you
* are using the Google APIs Explorer: `state="SUCCEEDED"` or
* `createTime>"2023-08-01" AND state="FAILED"`
* @opt_param string orderBy Optional. Comma-separated list of fields that
* specify the ordering applied to the `[StepEntries.ListStepEntries]` results.
* By default the ordering is based on ascending `entryId`. The following fields
* are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`,
* `step`, `stepType`, `state`. For details, see AIP-132.
* @opt_param int pageSize Optional. Number of step entries to return per call.
* The default max is 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListStepEntries` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListStepEntries` must match the
* call that provided the page token.
* @opt_param int skip Optional. The number of step entries to skip. It can be
* used with or without a pageToken. If used with a pageToken, then it indicates
* the number of step entries to skip starting from the requested page.
* @opt_param string view Deprecated field.
* @return ListStepEntriesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsWorkflowsExecutionsStepEntries($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListStepEntriesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsWorkflowsExecutionsStepEntries::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflowsExecutionsStepEntries');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class StackTrace extends \Google\Collection
{
protected $collection_key = 'elements';
protected $elementsType = StackTraceElement::class;
protected $elementsDataType = 'array';
/**
* An array of stack elements.
*
* @param StackTraceElement[] $elements
*/
public function setElements($elements)
{
$this->elements = $elements;
}
/**
* @return StackTraceElement[]
*/
public function getElements()
{
return $this->elements;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StackTrace::class, 'Google_Service_WorkflowExecutions_StackTrace');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class StackTraceElement extends \Google\Model
{
protected $positionType = Position::class;
protected $positionDataType = '';
/**
* The routine where the error occurred.
*
* @var string
*/
public $routine;
/**
* The step the error occurred at.
*
* @var string
*/
public $step;
/**
* The source position information of the stack trace element.
*
* @param Position $position
*/
public function setPosition(Position $position)
{
$this->position = $position;
}
/**
* @return Position
*/
public function getPosition()
{
return $this->position;
}
/**
* The routine where the error occurred.
*
* @param string $routine
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* The step the error occurred at.
*
* @param string $step
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StackTraceElement::class, 'Google_Service_WorkflowExecutions_StackTraceElement');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class StateError extends \Google\Model
{
/**
* No type specified.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Caused by an issue with KMS.
*/
public const TYPE_KMS_ERROR = 'KMS_ERROR';
/**
* Provides specifics about the error.
*
* @var string
*/
public $details;
/**
* The type of this state error.
*
* @var string
*/
public $type;
/**
* Provides specifics about the error.
*
* @param string $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* The type of this state error.
*
* Accepted values: TYPE_UNSPECIFIED, KMS_ERROR
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StateError::class, 'Google_Service_WorkflowExecutions_StateError');
@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Status extends \Google\Collection
{
protected $collection_key = 'currentSteps';
protected $currentStepsType = Step::class;
protected $currentStepsDataType = 'array';
/**
* A list of currently executing or last executed step names for the workflow
* execution currently running. If the workflow has succeeded or failed, this
* is the last attempted or executed step. Presently, if the current step is
* inside a subworkflow, the list only includes that step. In the future, the
* list will contain items for each step in the call stack, starting with the
* outermost step in the `main` subworkflow, and ending with the most deeply
* nested step.
*
* @param Step[] $currentSteps
*/
public function setCurrentSteps($currentSteps)
{
$this->currentSteps = $currentSteps;
}
/**
* @return Step[]
*/
public function getCurrentSteps()
{
return $this->currentSteps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_WorkflowExecutions_Status');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class Step extends \Google\Model
{
/**
* Name of a routine within the workflow.
*
* @var string
*/
public $routine;
/**
* Name of a step within the routine.
*
* @var string
*/
public $step;
/**
* Name of a routine within the workflow.
*
* @param string $routine
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* Name of a step within the routine.
*
* @param string $step
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Step::class, 'Google_Service_WorkflowExecutions_Step');
@@ -0,0 +1,393 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class StepEntry extends \Google\Model
{
/**
* Invalid state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The step entry is in progress.
*/
public const STATE_STATE_IN_PROGRESS = 'STATE_IN_PROGRESS';
/**
* The step entry finished successfully.
*/
public const STATE_STATE_SUCCEEDED = 'STATE_SUCCEEDED';
/**
* The step entry failed with an error.
*/
public const STATE_STATE_FAILED = 'STATE_FAILED';
/**
* The step entry is cancelled.
*/
public const STATE_STATE_CANCELLED = 'STATE_CANCELLED';
/**
* Invalid step type.
*/
public const STEP_TYPE_STEP_TYPE_UNSPECIFIED = 'STEP_TYPE_UNSPECIFIED';
/**
* The step entry assigns new variable(s).
*/
public const STEP_TYPE_STEP_ASSIGN = 'STEP_ASSIGN';
/**
* The step entry calls a standard library routine.
*/
public const STEP_TYPE_STEP_STD_LIB_CALL = 'STEP_STD_LIB_CALL';
/**
* The step entry calls a connector.
*/
public const STEP_TYPE_STEP_CONNECTOR_CALL = 'STEP_CONNECTOR_CALL';
/**
* The step entry calls a subworklfow.
*/
public const STEP_TYPE_STEP_SUBWORKFLOW_CALL = 'STEP_SUBWORKFLOW_CALL';
/**
* The step entry calls a subworkflow/stdlib.
*/
public const STEP_TYPE_STEP_CALL = 'STEP_CALL';
/**
* The step entry executes a switch-case block.
*/
public const STEP_TYPE_STEP_SWITCH = 'STEP_SWITCH';
/**
* The step entry executes a condition inside a switch.
*/
public const STEP_TYPE_STEP_CONDITION = 'STEP_CONDITION';
/**
* The step entry executes a for loop.
*/
public const STEP_TYPE_STEP_FOR = 'STEP_FOR';
/**
* The step entry executes a iteration of a for loop.
*/
public const STEP_TYPE_STEP_FOR_ITERATION = 'STEP_FOR_ITERATION';
/**
* The step entry executes a parallel for loop.
*/
public const STEP_TYPE_STEP_PARALLEL_FOR = 'STEP_PARALLEL_FOR';
/**
* The step entry executes a series of parallel branch(es).
*/
public const STEP_TYPE_STEP_PARALLEL_BRANCH = 'STEP_PARALLEL_BRANCH';
/**
* The step entry executes a branch of a parallel branch.
*/
public const STEP_TYPE_STEP_PARALLEL_BRANCH_ENTRY = 'STEP_PARALLEL_BRANCH_ENTRY';
/**
* The step entry executes a try/retry/except block.
*/
public const STEP_TYPE_STEP_TRY_RETRY_EXCEPT = 'STEP_TRY_RETRY_EXCEPT';
/**
* The step entry executes the try part of a try/retry/except block.
*/
public const STEP_TYPE_STEP_TRY = 'STEP_TRY';
/**
* The step entry executes the retry part of a try/retry/except block.
*/
public const STEP_TYPE_STEP_RETRY = 'STEP_RETRY';
/**
* The step entry executes the except part of a try/retry/except block.
*/
public const STEP_TYPE_STEP_EXCEPT = 'STEP_EXCEPT';
/**
* The step entry returns.
*/
public const STEP_TYPE_STEP_RETURN = 'STEP_RETURN';
/**
* The step entry raises an error.
*/
public const STEP_TYPE_STEP_RAISE = 'STEP_RAISE';
/**
* The step entry jumps to another step.
*/
public const STEP_TYPE_STEP_GOTO = 'STEP_GOTO';
/**
* Output only. The creation time of the step entry.
*
* @var string
*/
public $createTime;
/**
* Output only. The numeric ID of this step entry, used for navigation.
*
* @var string
*/
public $entryId;
protected $exceptionType = Exception::class;
protected $exceptionDataType = '';
/**
* Output only. The full resource name of the step entry. Each step entry has
* a unique entry ID, which is a monotonically increasing counter. Step entry
* names have the format: `projects/{project}/locations/{location}/workflows/{
* workflow}/executions/{execution}/stepEntries/{step_entry}`.
*
* @var string
*/
public $name;
protected $navigationInfoType = NavigationInfo::class;
protected $navigationInfoDataType = '';
/**
* Output only. The name of the routine this step entry belongs to. A routine
* name is the subworkflow name defined in the YAML source code. The top level
* routine name is `main`.
*
* @var string
*/
public $routine;
/**
* Output only. The state of the step entry.
*
* @var string
*/
public $state;
/**
* Output only. The name of the step this step entry belongs to.
*
* @var string
*/
public $step;
protected $stepEntryMetadataType = StepEntryMetadata::class;
protected $stepEntryMetadataDataType = '';
/**
* Output only. The type of the step this step entry belongs to.
*
* @var string
*/
public $stepType;
/**
* Output only. The most recently updated time of the step entry.
*
* @var string
*/
public $updateTime;
protected $variableDataType = VariableData::class;
protected $variableDataDataType = '';
/**
* Output only. The creation time of the step entry.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The numeric ID of this step entry, used for navigation.
*
* @param string $entryId
*/
public function setEntryId($entryId)
{
$this->entryId = $entryId;
}
/**
* @return string
*/
public function getEntryId()
{
return $this->entryId;
}
/**
* Output only. The exception thrown by the step entry.
*
* @param Exception $exception
*/
public function setException(Exception $exception)
{
$this->exception = $exception;
}
/**
* @return Exception
*/
public function getException()
{
return $this->exception;
}
/**
* Output only. The full resource name of the step entry. Each step entry has
* a unique entry ID, which is a monotonically increasing counter. Step entry
* names have the format: `projects/{project}/locations/{location}/workflows/{
* workflow}/executions/{execution}/stepEntries/{step_entry}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The NavigationInfo associated with this step.
*
* @param NavigationInfo $navigationInfo
*/
public function setNavigationInfo(NavigationInfo $navigationInfo)
{
$this->navigationInfo = $navigationInfo;
}
/**
* @return NavigationInfo
*/
public function getNavigationInfo()
{
return $this->navigationInfo;
}
/**
* Output only. The name of the routine this step entry belongs to. A routine
* name is the subworkflow name defined in the YAML source code. The top level
* routine name is `main`.
*
* @param string $routine
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* Output only. The state of the step entry.
*
* Accepted values: STATE_UNSPECIFIED, STATE_IN_PROGRESS, STATE_SUCCEEDED,
* STATE_FAILED, STATE_CANCELLED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The name of the step this step entry belongs to.
*
* @param string $step
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
/**
* Output only. The StepEntryMetadata associated with this step.
*
* @param StepEntryMetadata $stepEntryMetadata
*/
public function setStepEntryMetadata(StepEntryMetadata $stepEntryMetadata)
{
$this->stepEntryMetadata = $stepEntryMetadata;
}
/**
* @return StepEntryMetadata
*/
public function getStepEntryMetadata()
{
return $this->stepEntryMetadata;
}
/**
* Output only. The type of the step this step entry belongs to.
*
* Accepted values: STEP_TYPE_UNSPECIFIED, STEP_ASSIGN, STEP_STD_LIB_CALL,
* STEP_CONNECTOR_CALL, STEP_SUBWORKFLOW_CALL, STEP_CALL, STEP_SWITCH,
* STEP_CONDITION, STEP_FOR, STEP_FOR_ITERATION, STEP_PARALLEL_FOR,
* STEP_PARALLEL_BRANCH, STEP_PARALLEL_BRANCH_ENTRY, STEP_TRY_RETRY_EXCEPT,
* STEP_TRY, STEP_RETRY, STEP_EXCEPT, STEP_RETURN, STEP_RAISE, STEP_GOTO
*
* @param self::STEP_TYPE_* $stepType
*/
public function setStepType($stepType)
{
$this->stepType = $stepType;
}
/**
* @return self::STEP_TYPE_*
*/
public function getStepType()
{
return $this->stepType;
}
/**
* Output only. The most recently updated time of the step entry.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. The VariableData associated with this step.
*
* @param VariableData $variableData
*/
public function setVariableData(VariableData $variableData)
{
$this->variableData = $variableData;
}
/**
* @return VariableData
*/
public function getVariableData()
{
return $this->variableData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StepEntry::class, 'Google_Service_WorkflowExecutions_StepEntry');
@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class StepEntryMetadata extends \Google\Model
{
/**
* Current step entry does not have any progress data.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_UNSPECIFIED = 'PROGRESS_TYPE_UNSPECIFIED';
/**
* Current step entry is in progress of a FOR step.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_FOR = 'PROGRESS_TYPE_FOR';
/**
* Current step entry is in progress of a SWITCH step.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_SWITCH = 'PROGRESS_TYPE_SWITCH';
/**
* Current step entry is in progress of a RETRY step.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_RETRY = 'PROGRESS_TYPE_RETRY';
/**
* Current step entry is in progress of a PARALLEL FOR step.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_PARALLEL_FOR = 'PROGRESS_TYPE_PARALLEL_FOR';
/**
* Current step entry is in progress of a PARALLEL BRANCH step.
*/
public const PROGRESS_TYPE_PROGRESS_TYPE_PARALLEL_BRANCH = 'PROGRESS_TYPE_PARALLEL_BRANCH';
/**
* Expected iteration represents the expected number of iterations in the
* step's progress.
*
* @var string
*/
public $expectedIteration;
/**
* Progress number represents the current state of the current progress. eg: A
* step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR.
* Note: This field is only populated when an iteration exists and the
* starting value is 1.
*
* @var string
*/
public $progressNumber;
/**
* Progress type of this step entry.
*
* @var string
*/
public $progressType;
/**
* Child thread id that this step entry belongs to.
*
* @var string
*/
public $threadId;
/**
* Expected iteration represents the expected number of iterations in the
* step's progress.
*
* @param string $expectedIteration
*/
public function setExpectedIteration($expectedIteration)
{
$this->expectedIteration = $expectedIteration;
}
/**
* @return string
*/
public function getExpectedIteration()
{
return $this->expectedIteration;
}
/**
* Progress number represents the current state of the current progress. eg: A
* step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR.
* Note: This field is only populated when an iteration exists and the
* starting value is 1.
*
* @param string $progressNumber
*/
public function setProgressNumber($progressNumber)
{
$this->progressNumber = $progressNumber;
}
/**
* @return string
*/
public function getProgressNumber()
{
return $this->progressNumber;
}
/**
* Progress type of this step entry.
*
* Accepted values: PROGRESS_TYPE_UNSPECIFIED, PROGRESS_TYPE_FOR,
* PROGRESS_TYPE_SWITCH, PROGRESS_TYPE_RETRY, PROGRESS_TYPE_PARALLEL_FOR,
* PROGRESS_TYPE_PARALLEL_BRANCH
*
* @param self::PROGRESS_TYPE_* $progressType
*/
public function setProgressType($progressType)
{
$this->progressType = $progressType;
}
/**
* @return self::PROGRESS_TYPE_*
*/
public function getProgressType()
{
return $this->progressType;
}
/**
* Child thread id that this step entry belongs to.
*
* @param string $threadId
*/
public function setThreadId($threadId)
{
$this->threadId = $threadId;
}
/**
* @return string
*/
public function getThreadId()
{
return $this->threadId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StepEntryMetadata::class, 'Google_Service_WorkflowExecutions_StepEntryMetadata');
@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class TriggerPubsubExecutionRequest extends \Google\Model
{
protected $internal_gapi_mappings = [
"gCPCloudEventsMode" => "GCPCloudEventsMode",
];
/**
* Required. LINT: LEGACY_NAMES The query parameter value for
* __GCP_CloudEventsMode, set by the Eventarc service when configuring
* triggers.
*
* @var string
*/
public $gCPCloudEventsMode;
/**
* The number of attempts that have been made to deliver this message. This is
* set by Pub/Sub for subscriptions that have the "dead letter" feature
* enabled, and hence provided here for compatibility, but is ignored by
* Workflows.
*
* @var int
*/
public $deliveryAttempt;
protected $messageType = PubsubMessage::class;
protected $messageDataType = '';
/**
* Required. The subscription of the Pub/Sub push notification. Format:
* projects/{project}/subscriptions/{sub}
*
* @var string
*/
public $subscription;
/**
* Required. LINT: LEGACY_NAMES The query parameter value for
* __GCP_CloudEventsMode, set by the Eventarc service when configuring
* triggers.
*
* @param string $gCPCloudEventsMode
*/
public function setGCPCloudEventsMode($gCPCloudEventsMode)
{
$this->gCPCloudEventsMode = $gCPCloudEventsMode;
}
/**
* @return string
*/
public function getGCPCloudEventsMode()
{
return $this->gCPCloudEventsMode;
}
/**
* The number of attempts that have been made to deliver this message. This is
* set by Pub/Sub for subscriptions that have the "dead letter" feature
* enabled, and hence provided here for compatibility, but is ignored by
* Workflows.
*
* @param int $deliveryAttempt
*/
public function setDeliveryAttempt($deliveryAttempt)
{
$this->deliveryAttempt = $deliveryAttempt;
}
/**
* @return int
*/
public function getDeliveryAttempt()
{
return $this->deliveryAttempt;
}
/**
* Required. The message of the Pub/Sub push notification.
*
* @param PubsubMessage $message
*/
public function setMessage(PubsubMessage $message)
{
$this->message = $message;
}
/**
* @return PubsubMessage
*/
public function getMessage()
{
return $this->message;
}
/**
* Required. The subscription of the Pub/Sub push notification. Format:
* projects/{project}/subscriptions/{sub}
*
* @param string $subscription
*/
public function setSubscription($subscription)
{
$this->subscription = $subscription;
}
/**
* @return string
*/
public function getSubscription()
{
return $this->subscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TriggerPubsubExecutionRequest::class, 'Google_Service_WorkflowExecutions_TriggerPubsubExecutionRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class VariableData extends \Google\Model
{
/**
* Variables that are associated with this step.
*
* @var array[]
*/
public $variables;
/**
* Variables that are associated with this step.
*
* @param array[] $variables
*/
public function setVariables($variables)
{
$this->variables = $variables;
}
/**
* @return array[]
*/
public function getVariables()
{
return $this->variables;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VariableData::class, 'Google_Service_WorkflowExecutions_VariableData');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\WorkflowExecutions;
class WorkflowexecutionsEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkflowexecutionsEmpty::class, 'Google_Service_WorkflowExecutions_WorkflowexecutionsEmpty');