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,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\Datalineage\Resource;
/**
* The "folders" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $folders = $datalineageService->folders;
* </code>
*/
class Folders extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Folders::class, 'Google_Service_Datalineage_Resource_Folders');
@@ -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\Datalineage\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $locations = $datalineageService->folders_locations;
* </code>
*/
class FoldersLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FoldersLocations::class, 'Google_Service_Datalineage_Resource_FoldersLocations');
@@ -0,0 +1,72 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageConfigmanagementV1Config;
/**
* The "config" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $config = $datalineageService->folders_locations_config;
* </code>
*/
class FoldersLocationsConfig extends \Google\Service\Resource
{
/**
* Get the Config for a given resource. (config.get)
*
* @param string $name Required. REQUIRED: The resource name of the config to be
* fetched. Format: `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
/**
* Update the Config for a given resource. (config.patch)
*
* @param string $name Identifier. The resource name of the config. Format:
* `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FoldersLocationsConfig::class, 'Google_Service_Datalineage_Resource_FoldersLocationsConfig');
@@ -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\Datalineage\Resource;
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $organizations = $datalineageService->organizations;
* </code>
*/
class Organizations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Organizations::class, 'Google_Service_Datalineage_Resource_Organizations');
@@ -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\Datalineage\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $locations = $datalineageService->organizations_locations;
* </code>
*/
class OrganizationsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocations::class, 'Google_Service_Datalineage_Resource_OrganizationsLocations');
@@ -0,0 +1,72 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageConfigmanagementV1Config;
/**
* The "config" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $config = $datalineageService->organizations_locations_config;
* </code>
*/
class OrganizationsLocationsConfig extends \Google\Service\Resource
{
/**
* Get the Config for a given resource. (config.get)
*
* @param string $name Required. REQUIRED: The resource name of the config to be
* fetched. Format: `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
/**
* Update the Config for a given resource. (config.patch)
*
* @param string $name Identifier. The resource name of the config. Format:
* `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsConfig::class, 'Google_Service_Datalineage_Resource_OrganizationsLocationsConfig');
@@ -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\Datalineage\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $projects = $datalineageService->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_Datalineage_Resource_Projects');
@@ -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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1SearchLinksRequest;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1SearchLinksResponse;
use Google\Service\Datalineage\ProcessOpenLineageRunEventRequestContent;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $locations = $datalineageService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Retrieve information about LineageProcesses associated with specific links.
* LineageProcesses are transformation pipelines that result in data flowing
* from **source** to **target** assets. Links between assets represent this
* operation. If you have specific link names, you can use this method to verify
* which LineageProcesses contribute to creating those links. See the
* SearchLinks method for more information on how to retrieve link name. You can
* retrieve the LineageProcess information in every project where you have the
* `datalineage.events.get` permission. The project provided in the URL is used
* for Billing and Quota. (locations.batchSearchLinkProcesses)
*
* @param string $parent Required. The project and location where you want to
* search.
* @param GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse
* @throws \Google\Service\Exception
*/
public function batchSearchLinkProcesses($parent, GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchSearchLinkProcesses', [$params], GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse::class);
}
/**
* Creates new lineage events together with their parents: process and run.
* Updates the process and run if they already exist. Mapped from Open Lineage
* specification:
* https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
* (locations.processOpenLineageRunEvent)
*
* @param string $parent Required. The name of the project and its location that
* should own the process, run, and lineage event.
* @param ProcessOpenLineageRunEventRequestContent $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique identifier for this request.
* Restricted to 36 ASCII characters. A random UUID is recommended. This request
* is idempotent only if a `request_id` is provided.
* @return GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse
* @throws \Google\Service\Exception
*/
public function processOpenLineageRunEvent($parent, ProcessOpenLineageRunEventRequestContent $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('processOpenLineageRunEvent', [$params], GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse::class);
}
/**
* Retrieves a streaming response of lineage links connected to the requested
* assets by performing a breadth-first search in the given direction. Links
* represent the data flow between **source** (upstream) and **target**
* (downstream) assets in transformation pipelines. Links are stored in the same
* project as the Lineage Events that create them. This method retrieves links
* from all valid locations provided in the request. This method supports
* Column-Level Lineage (CLL) along with wildcard support to retrieve all CLL
* for an Entity FQN. Following permissions are required to retrieve links: *
* `datalineage.events.get` permission for the project where the link is stored
* for entity-level lineage. * `datalineage.events.getFields` permission for the
* project where the link is stored for column-level lineage. This method also
* returns processes that created the links if explicitly requested by setting [
* max_process_per_link](google.cloud.datacatalog.lineage.v1.SearchLineageStream
* ingRequest.limits.max_process_per_link) is non-zero and full process details
* are requested via `links.processes.process` in the
* [FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-
* masks#read_with_a_field_mask). Permission required to retrieve processes: *
* `datalineage.processes.get` permission for the project where the process is
* stored. (locations.searchLineageStreaming)
*
* @param string $parent Required. The project and location to initiate the
* search from.
* @param GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse
* @throws \Google\Service\Exception
*/
public function searchLineageStreaming($parent, GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('searchLineageStreaming', [$params], GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse::class);
}
/**
* Retrieve a list of links connected to a specific asset. Links represent the
* data flow between **source** (upstream) and **target** (downstream) assets in
* transformation pipelines. Links are stored in the same project as the Lineage
* Events that create them. You can retrieve links in every project where you
* have the `datalineage.events.get` permission. The project provided in the URL
* is used for Billing and Quota. (locations.searchLinks)
*
* @param string $parent Required. The project and location you want search in.
* @param GoogleCloudDatacatalogLineageV1SearchLinksRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1SearchLinksResponse
* @throws \Google\Service\Exception
*/
public function searchLinks($parent, GoogleCloudDatacatalogLineageV1SearchLinksRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('searchLinks', [$params], GoogleCloudDatacatalogLineageV1SearchLinksResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Datalineage_Resource_ProjectsLocations');
@@ -0,0 +1,72 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageConfigmanagementV1Config;
/**
* The "config" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $config = $datalineageService->projects_locations_config;
* </code>
*/
class ProjectsLocationsConfig extends \Google\Service\Resource
{
/**
* Get the Config for a given resource. (config.get)
*
* @param string $name Required. REQUIRED: The resource name of the config to be
* fetched. Format: `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
/**
* Update the Config for a given resource. (config.patch)
*
* @param string $name Identifier. The resource name of the config. Format:
* `organizations/{organization_id}/locations/global/config`
* `folders/{folder_id}/locations/global/config`
* `projects/{project_id}/locations/global/config`
* `projects/{project_number}/locations/global/config`
* @param GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageConfigmanagementV1Config
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatacatalogLineageConfigmanagementV1Config $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatacatalogLineageConfigmanagementV1Config::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConfig::class, 'Google_Service_Datalineage_Resource_ProjectsLocationsConfig');
@@ -0,0 +1,121 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleLongrunningCancelOperationRequest;
use Google\Service\Datalineage\GoogleLongrunningListOperationsResponse;
use Google\Service\Datalineage\GoogleLongrunningOperation;
use Google\Service\Datalineage\GoogleProtobufEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $operations = $datalineageService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param GoogleLongrunningCancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, GoogleLongrunningCancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::class);
}
/**
* 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 GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::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 GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleLongrunningOperation::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 GoogleLongrunningListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleLongrunningListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Datalineage_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,139 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1ListProcessesResponse;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1Process;
use Google\Service\Datalineage\GoogleLongrunningOperation;
/**
* The "processes" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $processes = $datalineageService->projects_locations_processes;
* </code>
*/
class ProjectsLocationsProcesses extends \Google\Service\Resource
{
/**
* Creates a new process. (processes.create)
*
* @param string $parent Required. The name of the project and its location that
* should own the process.
* @param GoogleCloudDatacatalogLineageV1Process $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique identifier for this request.
* Restricted to 36 ASCII characters. A random UUID is recommended. This request
* is idempotent only if a `request_id` is provided.
* @return GoogleCloudDatacatalogLineageV1Process
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudDatacatalogLineageV1Process $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudDatacatalogLineageV1Process::class);
}
/**
* Deletes the process with the specified name. (processes.delete)
*
* @param string $name Required. The name of the process to delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If set to true and the process is not
* found, the request succeeds but the server doesn't perform any actions.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleLongrunningOperation::class);
}
/**
* Gets the details of the specified process. (processes.get)
*
* @param string $name Required. The name of the process to get.
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1Process
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageV1Process::class);
}
/**
* List processes in the given project and location. List order is descending by
* insertion time. (processes.listProjectsLocationsProcesses)
*
* @param string $parent Required. The name of the project and its location that
* owns this collection of processes.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of processes to return.
* The service may return fewer than this value. If unspecified, at most 50
* processes are returned. The maximum value is 100; values greater than 100 are
* cut to 100.
* @opt_param string pageToken Optional. The page token received from a previous
* `ListProcesses` call. Specify it to get the next page. When paginating, all
* other parameters specified in this call must match the parameters of the call
* that provided the page token.
* @return GoogleCloudDatacatalogLineageV1ListProcessesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsProcesses($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudDatacatalogLineageV1ListProcessesResponse::class);
}
/**
* Updates a process. (processes.patch)
*
* @param string $name Immutable. The resource name of the lineage process.
* Format: `projects/{project}/locations/{location}/processes/{process}`. Can be
* specified or auto-assigned. {process} must be not longer than 200 characters
* and only contain characters in a set: `a-zA-Z0-9_-:.`
* @param GoogleCloudDatacatalogLineageV1Process $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If set to true and the process is not
* found, the request inserts it.
* @opt_param string requestId Optional. A unique identifier for this request.
* Restricted to 36 ASCII characters. A random UUID is recommended. This request
* is idempotent only if a `request_id` is provided.
* @opt_param string updateMask Optional. The list of fields to update.
* Currently not used. The whole message is updated.
* @return GoogleCloudDatacatalogLineageV1Process
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatacatalogLineageV1Process $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatacatalogLineageV1Process::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProcesses::class, 'Google_Service_Datalineage_Resource_ProjectsLocationsProcesses');
@@ -0,0 +1,135 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1ListRunsResponse;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1Run;
use Google\Service\Datalineage\GoogleLongrunningOperation;
/**
* The "runs" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $runs = $datalineageService->projects_locations_processes_runs;
* </code>
*/
class ProjectsLocationsProcessesRuns extends \Google\Service\Resource
{
/**
* Creates a new run. (runs.create)
*
* @param string $parent Required. The name of the process that should own the
* run.
* @param GoogleCloudDatacatalogLineageV1Run $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique identifier for this request.
* Restricted to 36 ASCII characters. A random UUID is recommended. This request
* is idempotent only if a `request_id` is provided.
* @return GoogleCloudDatacatalogLineageV1Run
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudDatacatalogLineageV1Run $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudDatacatalogLineageV1Run::class);
}
/**
* Deletes the run with the specified name. (runs.delete)
*
* @param string $name Required. The name of the run to delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If set to true and the run is not
* found, the request succeeds but the server doesn't perform any actions.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleLongrunningOperation::class);
}
/**
* Gets the details of the specified run. (runs.get)
*
* @param string $name Required. The name of the run to get.
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1Run
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageV1Run::class);
}
/**
* Lists runs in the given project and location. List order is descending by
* `start_time`. (runs.listProjectsLocationsProcessesRuns)
*
* @param string $parent Required. The name of process that owns this collection
* of runs.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of runs to return. The
* service may return fewer than this value. If unspecified, at most 50 runs are
* returned. The maximum value is 100; values greater than 100 are cut to 100.
* @opt_param string pageToken Optional. The page token received from a previous
* `ListRuns` call. Specify it to get the next page. When paginating, all other
* parameters specified in this call must match the parameters of the call that
* provided the page token.
* @return GoogleCloudDatacatalogLineageV1ListRunsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsProcessesRuns($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudDatacatalogLineageV1ListRunsResponse::class);
}
/**
* Updates a run. (runs.patch)
*
* @param string $name Immutable. The resource name of the run. Format:
* `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can
* be specified or auto-assigned. {run} must be not longer than 200 characters
* and only contain characters in a set: `a-zA-Z0-9_-:.`
* @param GoogleCloudDatacatalogLineageV1Run $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If set to true and the run is not
* found, the request creates it.
* @opt_param string updateMask Optional. The list of fields to update.
* Currently not used. The whole message is updated.
* @return GoogleCloudDatacatalogLineageV1Run
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatacatalogLineageV1Run $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatacatalogLineageV1Run::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProcessesRuns::class, 'Google_Service_Datalineage_Resource_ProjectsLocationsProcessesRuns');
@@ -0,0 +1,114 @@
<?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\Datalineage\Resource;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1LineageEvent;
use Google\Service\Datalineage\GoogleCloudDatacatalogLineageV1ListLineageEventsResponse;
use Google\Service\Datalineage\GoogleProtobufEmpty;
/**
* The "lineageEvents" collection of methods.
* Typical usage is:
* <code>
* $datalineageService = new Google\Service\Datalineage(...);
* $lineageEvents = $datalineageService->projects_locations_processes_runs_lineageEvents;
* </code>
*/
class ProjectsLocationsProcessesRunsLineageEvents extends \Google\Service\Resource
{
/**
* Creates a new lineage event. (lineageEvents.create)
*
* @param string $parent Required. The name of the run that should own the
* lineage event.
* @param GoogleCloudDatacatalogLineageV1LineageEvent $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique identifier for this request.
* Restricted to 36 ASCII characters. A random UUID is recommended. This request
* is idempotent only if a `request_id` is provided.
* @return GoogleCloudDatacatalogLineageV1LineageEvent
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudDatacatalogLineageV1LineageEvent $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudDatacatalogLineageV1LineageEvent::class);
}
/**
* Deletes the lineage event with the specified name. (lineageEvents.delete)
*
* @param string $name Required. The name of the lineage event to delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If set to true and the lineage event
* is not found, the request succeeds but the server doesn't perform any
* actions.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets details of a specified lineage event. (lineageEvents.get)
*
* @param string $name Required. The name of the lineage event to get.
* @param array $optParams Optional parameters.
* @return GoogleCloudDatacatalogLineageV1LineageEvent
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatacatalogLineageV1LineageEvent::class);
}
/**
* Lists lineage events in the given project and location. The list order is not
* defined. (lineageEvents.listProjectsLocationsProcessesRunsLineageEvents)
*
* @param string $parent Required. The name of the run that owns the collection
* of lineage events to get.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of lineage events to
* return. The service may return fewer events than this value. If unspecified,
* at most 50 events are returned. The maximum value is 100; values greater than
* 100 are cut to 100.
* @opt_param string pageToken Optional. The page token received from a previous
* `ListLineageEvents` call. Specify it to get the next page. When paginating,
* all other parameters specified in this call must match the parameters of the
* call that provided the page token.
* @return GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsProcessesRunsLineageEvents($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudDatacatalogLineageV1ListLineageEventsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProcessesRunsLineageEvents::class, 'Google_Service_Datalineage_Resource_ProjectsLocationsProcessesRunsLineageEvents');