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,67 @@
<?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\Workflows;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @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(ListLocationsResponse::class, 'Google_Service_Workflows_ListLocationsResponse');
@@ -0,0 +1,95 @@
<?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\Workflows;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_Workflows_ListOperationsResponse');
@@ -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\Workflows;
class ListWorkflowRevisionsResponse extends \Google\Collection
{
protected $collection_key = 'workflows';
/**
* 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;
protected $workflowsType = Workflow::class;
protected $workflowsDataType = '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.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The revisions of the workflow, ordered in reverse chronological order.
*
* @param Workflow[] $workflows
*/
public function setWorkflows($workflows)
{
$this->workflows = $workflows;
}
/**
* @return Workflow[]
*/
public function getWorkflows()
{
return $this->workflows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkflowRevisionsResponse::class, 'Google_Service_Workflows_ListWorkflowRevisionsResponse');
@@ -0,0 +1,91 @@
<?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\Workflows;
class ListWorkflowsResponse extends \Google\Collection
{
protected $collection_key = 'workflows';
/**
* 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;
/**
* Unreachable resources.
*
* @var string[]
*/
public $unreachable;
protected $workflowsType = Workflow::class;
protected $workflowsDataType = '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.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Unreachable resources.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* The workflows that match the request.
*
* @param Workflow[] $workflows
*/
public function setWorkflows($workflows)
{
$this->workflows = $workflows;
}
/**
* @return Workflow[]
*/
public function getWorkflows()
{
return $this->workflows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkflowsResponse::class, 'Google_Service_Workflows_ListWorkflowsResponse');
@@ -0,0 +1,144 @@
<?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\Workflows;
class Location extends \Google\Model
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @var string
*/
public $locationId;
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @var array[]
*/
public $metadata;
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_Workflows_Location');
@@ -0,0 +1,158 @@
<?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\Workflows;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Workflows_Operation');
@@ -0,0 +1,136 @@
<?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\Workflows;
class OperationMetadata extends \Google\Model
{
/**
* API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_Workflows_OperationMetadata');
@@ -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\Workflows\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $workflowsService = new Google\Service\Workflows(...);
* $projects = $workflowsService->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_Workflows_Resource_Projects');
@@ -0,0 +1,85 @@
<?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\Workflows\Resource;
use Google\Service\Workflows\ListLocationsResponse;
use Google\Service\Workflows\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $workflowsService = new Google\Service\Workflows(...);
* $locations = $workflowsService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service. This method
* lists locations based on the resource scope provided in the
* ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
* the method lists the public locations available to all projects. * **Project-
* specific locations**: If `name` follows the format `projects/{project}`, the
* method lists locations visible to that specific project. This includes
* public, private, or other project-specific locations enabled for the project.
* For gRPC and client library implementations, the resource name is passed as
* the `name` field. For direct service calls, the resource name is incorporated
* into the request path based on the specific service implementation and
* version. (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. Do not use this field unless
* explicitly documented otherwise. This is primarily for internal usage.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Workflows_Resource_ProjectsLocations');
@@ -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\Workflows\Resource;
use Google\Service\Workflows\ListOperationsResponse;
use Google\Service\Workflows\Operation;
use Google\Service\Workflows\WorkflowsEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $workflowsService = new Google\Service\Workflows(...);
* $operations = $workflowsService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return WorkflowsEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], WorkflowsEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Workflows_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,177 @@
<?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\Workflows\Resource;
use Google\Service\Workflows\ListWorkflowRevisionsResponse;
use Google\Service\Workflows\ListWorkflowsResponse;
use Google\Service\Workflows\Operation;
use Google\Service\Workflows\Workflow;
/**
* The "workflows" collection of methods.
* Typical usage is:
* <code>
* $workflowsService = new Google\Service\Workflows(...);
* $workflows = $workflowsService->projects_locations_workflows;
* </code>
*/
class ProjectsLocationsWorkflows extends \Google\Service\Resource
{
/**
* Creates a new workflow. If a workflow with the specified name already exists
* in the specified project and location, the long running operation returns a
* ALREADY_EXISTS error. (workflows.create)
*
* @param string $parent Required. Project and location in which the workflow
* should be created. Format: projects/{project}/locations/{location}
* @param Workflow $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string workflowId Required. The ID of the workflow to be created.
* It has to fulfill the following requirements: * Must contain only letters,
* numbers, underscores and hyphens. * Must start with a letter. * Must be
* between 1-64 characters. * Must end with a number or a letter. * Must be
* unique within the customer project and location.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Workflow $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a workflow with the specified name. This method also cancels and
* deletes all running executions of the workflow. (workflows.delete)
*
* @param string $name Required. Name of the workflow to be deleted. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single workflow. (workflows.get)
*
* @param string $name Required. Name of the workflow for which information
* should be retrieved. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @param array $optParams Optional parameters.
*
* @opt_param string revisionId Optional. The revision of the workflow to
* retrieve. If the revision_id is empty, the latest revision is retrieved. The
* format is "000001-a4d", where the first six characters define the zero-padded
* decimal revision number. They are followed by a hyphen and three hexadecimal
* characters.
* @return Workflow
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Workflow::class);
}
/**
* Lists workflows in a given project and location. The default order is not
* specified. (workflows.listProjectsLocationsWorkflows)
*
* @param string $parent Required. Project and location from which the workflows
* should be listed. Format: projects/{project}/locations/{location}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter to restrict results to specific workflows.
* 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 Comma-separated list of fields that specify the
* order of the results. Default sorting order for a field is ascending. To
* specify descending order for a field, append a "desc" suffix. If not
* specified, the results are returned in an unspecified order.
* @opt_param int pageSize Maximum number of workflows to return per call. The
* service might return fewer than this value even if not at the end of the
* collection. If a value is not specified, a default value of 500 is used. The
* maximum permitted value is 1000 and values greater than 1000 are coerced down
* to 1000.
* @opt_param string pageToken A page token, received from a previous
* `ListWorkflows` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListWorkflows` must match the
* call that provided the page token.
* @return ListWorkflowsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsWorkflows($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkflowsResponse::class);
}
/**
* Lists revisions for a given workflow. (workflows.listRevisions)
*
* @param string $name Required. Workflow for which the revisions should be
* listed. Format: projects/{project}/locations/{location}/workflows/{workflow}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of revisions to return per page.
* If a value is not specified, a default value of 20 is used. The maximum
* permitted value is 100. Values greater than 100 are coerced down to 100.
* @opt_param string pageToken The page token, received from a previous
* ListWorkflowRevisions call. Provide this to retrieve the subsequent page.
* @return ListWorkflowRevisionsResponse
* @throws \Google\Service\Exception
*/
public function listRevisions($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('listRevisions', [$params], ListWorkflowRevisionsResponse::class);
}
/**
* Updates an existing workflow. Running this method has no impact on already
* running executions of the workflow. A new revision of the workflow might be
* created as a result of a successful update operation. In that case, the new
* revision is used in new workflow executions. (workflows.patch)
*
* @param string $name The resource name of the workflow. Format:
* projects/{project}/locations/{location}/workflows/{workflow}. This is a
* workflow-wide field and is not tied to a specific revision.
* @param Workflow $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask List of fields to be updated. If not present,
* the entire workflow will be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Workflow $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsWorkflows::class, 'Google_Service_Workflows_Resource_ProjectsLocationsWorkflows');
@@ -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\Workflows;
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_Workflows_StateError');
@@ -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\Workflows;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_Workflows_Status');
@@ -0,0 +1,572 @@
<?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\Workflows;
class Workflow extends \Google\Collection
{
/**
* 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.
*/
public const EXECUTION_HISTORY_LEVEL_EXECUTION_HISTORY_BASIC = 'EXECUTION_HISTORY_BASIC';
/**
* Enable execution history detailed feature.
*/
public const EXECUTION_HISTORY_LEVEL_EXECUTION_HISTORY_DETAILED = 'EXECUTION_HISTORY_DETAILED';
/**
* Invalid state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The workflow has been deployed successfully and is serving.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Workflow data is unavailable. See the `state_error` field.
*/
public const STATE_UNAVAILABLE = 'UNAVAILABLE';
protected $collection_key = 'allKmsKeysVersions';
/**
* Output only. A list of all KMS crypto keys used to encrypt or decrypt the
* data associated with the workflow.
*
* @var string[]
*/
public $allKmsKeys;
/**
* Output only. A list of all KMS crypto key versions used to encrypt or
* decrypt the data associated with the workflow.
*
* @var string[]
*/
public $allKmsKeysVersions;
/**
* Optional. Describes the level of platform logging to apply to calls and
* call responses during executions of this workflow. If both the workflow and
* the execution specify a logging level, the execution level takes
* precedence.
*
* @var string
*/
public $callLogLevel;
/**
* Output only. The timestamp for when the workflow was created. This is a
* workflow-wide field and is not tied to a specific revision.
*
* @var string
*/
public $createTime;
/**
* Optional. The resource name of a KMS crypto key used to encrypt or decrypt
* the data associated with the workflow. Format: projects/{project}/locations
* /{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a
* wildcard for the `{project}` or not providing one at all will infer the
* project from the account. If not provided, data associated with the
* workflow will not be CMEK-encrypted.
*
* @var string
*/
public $cryptoKeyName;
/**
* Output only. The resource name of a KMS crypto key version used to encrypt
* or decrypt the data associated with the workflow. Format: projects/{project
* }/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyV
* ersions/{cryptoKeyVersion}
*
* @var string
*/
public $cryptoKeyVersion;
/**
* Description of the workflow provided by the user. Must be at most 1000
* Unicode characters long. This is a workflow-wide field and is not tied to a
* specific revision.
*
* @var string
*/
public $description;
/**
* Optional. Describes the execution history level to apply to this workflow.
*
* @var string
*/
public $executionHistoryLevel;
/**
* Labels associated with this workflow. 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.
* This is a workflow-wide field and is not tied to a specific revision.
*
* @var string[]
*/
public $labels;
/**
* The resource name of the workflow. Format:
* projects/{project}/locations/{location}/workflows/{workflow}. This is a
* workflow-wide field and is not tied to a specific revision.
*
* @var string
*/
public $name;
/**
* Output only. The timestamp for the latest revision of the workflow's
* creation.
*
* @var string
*/
public $revisionCreateTime;
/**
* Output only. The revision of the workflow. A new revision of a workflow is
* created as a result of updating the following properties of a workflow: -
* Service account - Workflow code to be executed The format is "000001-a4d",
* where the first six characters define the zero-padded revision ordinal
* number. They are followed by a hyphen and three hexadecimal random
* characters.
*
* @var string
*/
public $revisionId;
/**
* The service account associated with the latest workflow version. This
* service account represents the identity of the workflow and determines what
* permissions the workflow has. Format:
* projects/{project}/serviceAccounts/{account} or {account} Using `-` as a
* wildcard for the `{project}` or not providing one at all will infer the
* project from the account. The `{account}` value can be the `email` address
* or the `unique_id` of the service account. If not provided, workflow will
* use the project's default service account. Modifying this field for an
* existing workflow results in a new workflow revision.
*
* @var string
*/
public $serviceAccount;
/**
* Workflow code to be executed. The size limit is 128KB.
*
* @var string
*/
public $sourceContents;
/**
* Output only. State of the workflow deployment.
*
* @var string
*/
public $state;
protected $stateErrorType = StateError::class;
protected $stateErrorDataType = '';
/**
* Optional. Input only. Immutable. Tags associated with this workflow.
*
* @var string[]
*/
public $tags;
/**
* Output only. The timestamp for when the workflow was last updated. This is
* a workflow-wide field and is not tied to a specific revision.
*
* @var string
*/
public $updateTime;
/**
* Optional. User-defined environment variables associated with this workflow
* revision. This map has a maximum length of 20. Each string can take up to
* 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or
* "WORKFLOWS".
*
* @var string[]
*/
public $userEnvVars;
/**
* Output only. A list of all KMS crypto keys used to encrypt or decrypt the
* data associated with the workflow.
*
* @param string[] $allKmsKeys
*/
public function setAllKmsKeys($allKmsKeys)
{
$this->allKmsKeys = $allKmsKeys;
}
/**
* @return string[]
*/
public function getAllKmsKeys()
{
return $this->allKmsKeys;
}
/**
* Output only. A list of all KMS crypto key versions used to encrypt or
* decrypt the data associated with the workflow.
*
* @param string[] $allKmsKeysVersions
*/
public function setAllKmsKeysVersions($allKmsKeysVersions)
{
$this->allKmsKeysVersions = $allKmsKeysVersions;
}
/**
* @return string[]
*/
public function getAllKmsKeysVersions()
{
return $this->allKmsKeysVersions;
}
/**
* Optional. Describes the level of platform logging to apply to calls and
* call responses during executions of this workflow. If both the workflow and
* the execution specify a logging level, the execution level takes
* precedence.
*
* 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. The timestamp for when the workflow was created. This is a
* workflow-wide field and is not tied to a specific revision.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The resource name of a KMS crypto key used to encrypt or decrypt
* the data associated with the workflow. Format: projects/{project}/locations
* /{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a
* wildcard for the `{project}` or not providing one at all will infer the
* project from the account. If not provided, data associated with the
* workflow will not be CMEK-encrypted.
*
* @param string $cryptoKeyName
*/
public function setCryptoKeyName($cryptoKeyName)
{
$this->cryptoKeyName = $cryptoKeyName;
}
/**
* @return string
*/
public function getCryptoKeyName()
{
return $this->cryptoKeyName;
}
/**
* Output only. The resource name of a KMS crypto key version used to encrypt
* or decrypt the data associated with the workflow. Format: projects/{project
* }/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyV
* ersions/{cryptoKeyVersion}
*
* @param string $cryptoKeyVersion
*/
public function setCryptoKeyVersion($cryptoKeyVersion)
{
$this->cryptoKeyVersion = $cryptoKeyVersion;
}
/**
* @return string
*/
public function getCryptoKeyVersion()
{
return $this->cryptoKeyVersion;
}
/**
* Description of the workflow provided by the user. Must be at most 1000
* Unicode characters long. This is a workflow-wide field and is not tied to a
* specific revision.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Describes the execution history level to apply to this workflow.
*
* 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 workflow. 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.
* This is a workflow-wide field and is not tied to a specific revision.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The resource name of the workflow. Format:
* projects/{project}/locations/{location}/workflows/{workflow}. This is a
* workflow-wide field and is not tied to a specific revision.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The timestamp for the latest revision of the workflow's
* creation.
*
* @param string $revisionCreateTime
*/
public function setRevisionCreateTime($revisionCreateTime)
{
$this->revisionCreateTime = $revisionCreateTime;
}
/**
* @return string
*/
public function getRevisionCreateTime()
{
return $this->revisionCreateTime;
}
/**
* Output only. The revision of the workflow. A new revision of a workflow is
* created as a result of updating the following properties of a workflow: -
* Service account - Workflow code to be executed The format is "000001-a4d",
* where the first six characters define the zero-padded revision ordinal
* number. They are followed by a hyphen and three hexadecimal random
* characters.
*
* @param string $revisionId
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
/**
* The service account associated with the latest workflow version. This
* service account represents the identity of the workflow and determines what
* permissions the workflow has. Format:
* projects/{project}/serviceAccounts/{account} or {account} Using `-` as a
* wildcard for the `{project}` or not providing one at all will infer the
* project from the account. The `{account}` value can be the `email` address
* or the `unique_id` of the service account. If not provided, workflow will
* use the project's default service account. Modifying this field for an
* existing workflow results in a new workflow revision.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Workflow code to be executed. The size limit is 128KB.
*
* @param string $sourceContents
*/
public function setSourceContents($sourceContents)
{
$this->sourceContents = $sourceContents;
}
/**
* @return string
*/
public function getSourceContents()
{
return $this->sourceContents;
}
/**
* Output only. State of the workflow deployment.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, UNAVAILABLE
*
* @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 workflow. 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;
}
/**
* Optional. Input only. Immutable. Tags associated with this workflow.
*
* @param string[] $tags
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* Output only. The timestamp for when the workflow was last updated. This is
* a workflow-wide field and is not tied to a specific revision.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Optional. User-defined environment variables associated with this workflow
* revision. This map has a maximum length of 20. Each string can take up to
* 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or
* "WORKFLOWS".
*
* @param string[] $userEnvVars
*/
public function setUserEnvVars($userEnvVars)
{
$this->userEnvVars = $userEnvVars;
}
/**
* @return string[]
*/
public function getUserEnvVars()
{
return $this->userEnvVars;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Workflow::class, 'Google_Service_Workflows_Workflow');
@@ -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\Workflows;
class WorkflowsEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkflowsEmpty::class, 'Google_Service_Workflows_WorkflowsEmpty');