Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<?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';
/**
* @var string[]
*/
public $availablePayloads;
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $waiters;
/**
* @param string[]
*/
public function setAvailablePayloads($availablePayloads)
{
$this->availablePayloads = $availablePayloads;
}
/**
* @return string[]
*/
public function getAvailablePayloads()
{
return $this->availablePayloads;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -0,0 +1,78 @@
<?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
{
/**
* @var string
*/
public $context;
/**
* @var string
*/
public $payload;
protected $stackTraceType = StackTrace::class;
protected $stackTraceDataType = '';
/**
* @param string
*/
public function setContext($context)
{
$this->context = $context;
}
/**
* @return string
*/
public function getContext()
{
return $this->context;
}
/**
* @param string
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param 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');

View File

@@ -0,0 +1,44 @@
<?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
{
/**
* @var string
*/
public $payload;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,308 @@
<?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
{
/**
* @var string
*/
public $argument;
/**
* @var string
*/
public $callLogLevel;
/**
* @var string
*/
public $createTime;
/**
* @var bool
*/
public $disableConcurrencyQuotaOverflowBuffering;
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $endTime;
protected $errorType = Error::class;
protected $errorDataType = '';
/**
* @var string
*/
public $executionHistoryLevel;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $result;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
protected $stateErrorType = StateError::class;
protected $stateErrorDataType = '';
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* @var string
*/
public $workflowRevisionId;
/**
* @param string
*/
public function setArgument($argument)
{
$this->argument = $argument;
}
/**
* @return string
*/
public function getArgument()
{
return $this->argument;
}
/**
* @param string
*/
public function setCallLogLevel($callLogLevel)
{
$this->callLogLevel = $callLogLevel;
}
/**
* @return string
*/
public function getCallLogLevel()
{
return $this->callLogLevel;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param bool
*/
public function setDisableConcurrencyQuotaOverflowBuffering($disableConcurrencyQuotaOverflowBuffering)
{
$this->disableConcurrencyQuotaOverflowBuffering = $disableConcurrencyQuotaOverflowBuffering;
}
/**
* @return bool
*/
public function getDisableConcurrencyQuotaOverflowBuffering()
{
return $this->disableConcurrencyQuotaOverflowBuffering;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Error
*/
public function setError(Error $error)
{
$this->error = $error;
}
/**
* @return Error
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setExecutionHistoryLevel($executionHistoryLevel)
{
$this->executionHistoryLevel = $executionHistoryLevel;
}
/**
* @return string
*/
public function getExecutionHistoryLevel()
{
return $this->executionHistoryLevel;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StateError
*/
public function setStateError(StateError $stateError)
{
$this->stateError = $stateError;
}
/**
* @return StateError
*/
public function getStateError()
{
return $this->stateError;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,44 @@
<?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
{
/**
* @var string
*/
public $data;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Callback[]
*/
public function setCallbacks($callbacks)
{
$this->callbacks = $callbacks;
}
/**
* @return Callback[]
*/
public function getCallbacks()
{
return $this->callbacks;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Execution[]
*/
public function setExecutions($executions)
{
$this->executions = $executions;
}
/**
* @return Execution[]
*/
public function getExecutions()
{
return $this->executions;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,79 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
protected $stepEntriesType = StepEntry::class;
protected $stepEntriesDataType = 'array';
/**
* @var int
*/
public $totalSize;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param StepEntry[]
*/
public function setStepEntries($stepEntries)
{
$this->stepEntries = $stepEntries;
}
/**
* @return StepEntry[]
*/
public function getStepEntries()
{
return $this->stepEntries;
}
/**
* @param int
*/
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');

View File

@@ -0,0 +1,99 @@
<?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';
/**
* @var string[]
*/
public $children;
/**
* @var string
*/
public $next;
/**
* @var string
*/
public $parent;
/**
* @var string
*/
public $previous;
/**
* @param string[]
*/
public function setChildren($children)
{
$this->children = $children;
}
/**
* @return string[]
*/
public function getChildren()
{
return $this->children;
}
/**
* @param string
*/
public function setNext($next)
{
$this->next = $next;
}
/**
* @return string
*/
public function getNext()
{
return $this->next;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param string
*/
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');

View File

@@ -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 Position extends \Google\Model
{
/**
* @var string
*/
public $column;
/**
* @var string
*/
public $length;
/**
* @var string
*/
public $line;
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* @param string
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,116 @@
<?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
{
/**
* @var string[]
*/
public $attributes;
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $messageId;
/**
* @var string
*/
public $orderingKey;
/**
* @var string
*/
public $publishTime;
/**
* @param string[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessageId($messageId)
{
$this->messageId = $messageId;
}
/**
* @return string
*/
public function getMessageId()
{
return $this->messageId;
}
/**
* @param string
*/
public function setOrderingKey($orderingKey)
{
$this->orderingKey = $orderingKey;
}
/**
* @return string
*/
public function getOrderingKey()
{
return $this->orderingKey;
}
/**
* @param string
*/
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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param StackTraceElement[]
*/
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');

View File

@@ -0,0 +1,78 @@
<?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 = '';
/**
* @var string
*/
public $routine;
/**
* @var string
*/
public $step;
/**
* @param Position
*/
public function setPosition(Position $position)
{
$this->position = $position;
}
/**
* @return Position
*/
public function getPosition()
{
return $this->position;
}
/**
* @param string
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $details;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param Step[]
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $routine;
/**
* @var string
*/
public $step;
/**
* @param string
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,234 @@
<?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
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $entryId;
protected $exceptionType = Exception::class;
protected $exceptionDataType = '';
/**
* @var string
*/
public $name;
protected $navigationInfoType = NavigationInfo::class;
protected $navigationInfoDataType = '';
/**
* @var string
*/
public $routine;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $step;
protected $stepEntryMetadataType = StepEntryMetadata::class;
protected $stepEntryMetadataDataType = '';
/**
* @var string
*/
public $stepType;
/**
* @var string
*/
public $updateTime;
protected $variableDataType = VariableData::class;
protected $variableDataDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEntryId($entryId)
{
$this->entryId = $entryId;
}
/**
* @return string
*/
public function getEntryId()
{
return $this->entryId;
}
/**
* @param Exception
*/
public function setException(Exception $exception)
{
$this->exception = $exception;
}
/**
* @return Exception
*/
public function getException()
{
return $this->exception;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NavigationInfo
*/
public function setNavigationInfo(NavigationInfo $navigationInfo)
{
$this->navigationInfo = $navigationInfo;
}
/**
* @return NavigationInfo
*/
public function getNavigationInfo()
{
return $this->navigationInfo;
}
/**
* @param string
*/
public function setRoutine($routine)
{
$this->routine = $routine;
}
/**
* @return string
*/
public function getRoutine()
{
return $this->routine;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
/**
* @param StepEntryMetadata
*/
public function setStepEntryMetadata(StepEntryMetadata $stepEntryMetadata)
{
$this->stepEntryMetadata = $stepEntryMetadata;
}
/**
* @return StepEntryMetadata
*/
public function getStepEntryMetadata()
{
return $this->stepEntryMetadata;
}
/**
* @param string
*/
public function setStepType($stepType)
{
$this->stepType = $stepType;
}
/**
* @return string
*/
public function getStepType()
{
return $this->stepType;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param 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');

View File

@@ -0,0 +1,98 @@
<?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
{
/**
* @var string
*/
public $expectedIteration;
/**
* @var string
*/
public $progressNumber;
/**
* @var string
*/
public $progressType;
/**
* @var string
*/
public $threadId;
/**
* @param string
*/
public function setExpectedIteration($expectedIteration)
{
$this->expectedIteration = $expectedIteration;
}
/**
* @return string
*/
public function getExpectedIteration()
{
return $this->expectedIteration;
}
/**
* @param string
*/
public function setProgressNumber($progressNumber)
{
$this->progressNumber = $progressNumber;
}
/**
* @return string
*/
public function getProgressNumber()
{
return $this->progressNumber;
}
/**
* @param string
*/
public function setProgressType($progressType)
{
$this->progressType = $progressType;
}
/**
* @return string
*/
public function getProgressType()
{
return $this->progressType;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,99 @@
<?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",
];
/**
* @var string
*/
public $gCPCloudEventsMode;
/**
* @var int
*/
public $deliveryAttempt;
protected $messageType = PubsubMessage::class;
protected $messageDataType = '';
/**
* @var string
*/
public $subscription;
/**
* @param string
*/
public function setGCPCloudEventsMode($gCPCloudEventsMode)
{
$this->gCPCloudEventsMode = $gCPCloudEventsMode;
}
/**
* @return string
*/
public function getGCPCloudEventsMode()
{
return $this->gCPCloudEventsMode;
}
/**
* @param int
*/
public function setDeliveryAttempt($deliveryAttempt)
{
$this->deliveryAttempt = $deliveryAttempt;
}
/**
* @return int
*/
public function getDeliveryAttempt()
{
return $this->deliveryAttempt;
}
/**
* @param PubsubMessage
*/
public function setMessage(PubsubMessage $message)
{
$this->message = $message;
}
/**
* @return PubsubMessage
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,44 @@
<?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
{
/**
* @var array[]
*/
public $variables;
/**
* @param array[]
*/
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');

View File

@@ -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');