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,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\Datalineage;
class ApiservingMcpMcpToolDataHandlingProfile extends \Google\Model
{
/**
* The default value. This value is unused.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
/**
* Public data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
/**
* Confidential data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
/**
* Need-to-know data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
/**
* Personally Identifiable Information (PII) data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
/**
* User data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
/**
* The tool does not access any data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
/**
* The default value. This value is unused.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
/**
* Public data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
/**
* Confidential data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
/**
* Need-to-know data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
/**
* Personally Identifiable Information (PII) data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
/**
* User data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
/**
* The tool does not access any data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
/**
* // The data access level of the tool's inputs.
*
* @var string
*/
public $inputDataAccessLevel;
/**
* The data access level of the tool's outputs.
*
* @var string
*/
public $outputDataAccessLevel;
/**
* // The data access level of the tool's inputs.
*
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
*
* @param self::INPUT_DATA_ACCESS_LEVEL_* $inputDataAccessLevel
*/
public function setInputDataAccessLevel($inputDataAccessLevel)
{
$this->inputDataAccessLevel = $inputDataAccessLevel;
}
/**
* @return self::INPUT_DATA_ACCESS_LEVEL_*
*/
public function getInputDataAccessLevel()
{
return $this->inputDataAccessLevel;
}
/**
* The data access level of the tool's outputs.
*
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
*
* @param self::OUTPUT_DATA_ACCESS_LEVEL_* $outputDataAccessLevel
*/
public function setOutputDataAccessLevel($outputDataAccessLevel)
{
$this->outputDataAccessLevel = $outputDataAccessLevel;
}
/**
* @return self::OUTPUT_DATA_ACCESS_LEVEL_*
*/
public function getOutputDataAccessLevel()
{
return $this->outputDataAccessLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiservingMcpMcpToolDataHandlingProfile::class, 'Google_Service_Datalineage_ApiservingMcpMcpToolDataHandlingProfile');
@@ -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\Datalineage;
class ApiservingMcpMcpToolLifecycleProfile extends \Google\Model
{
/**
* The default value. This value is unused.
*/
public const LAUNCH_STATE_LAUNCH_STATE_UNSPECIFIED = 'LAUNCH_STATE_UNSPECIFIED';
/**
* The tool is currently in development.
*/
public const LAUNCH_STATE_LAUNCH_STATE_DEVELOPMENT = 'LAUNCH_STATE_DEVELOPMENT';
/**
* The tool is in production preview.
*/
public const LAUNCH_STATE_LAUNCH_STATE_PRODUCTION_PREVIEW = 'LAUNCH_STATE_PRODUCTION_PREVIEW';
/**
* The tool is generally available.
*/
public const LAUNCH_STATE_LAUNCH_STATE_GENERAL_AVAILABILITY = 'LAUNCH_STATE_GENERAL_AVAILABILITY';
/**
* Output only. The current launch state of the MCP tool.
*
* @var string
*/
public $launchState;
/**
* Output only. The current launch state of the MCP tool.
*
* Accepted values: LAUNCH_STATE_UNSPECIFIED, LAUNCH_STATE_DEVELOPMENT,
* LAUNCH_STATE_PRODUCTION_PREVIEW, LAUNCH_STATE_GENERAL_AVAILABILITY
*
* @param self::LAUNCH_STATE_* $launchState
*/
public function setLaunchState($launchState)
{
$this->launchState = $launchState;
}
/**
* @return self::LAUNCH_STATE_*
*/
public function getLaunchState()
{
return $this->launchState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiservingMcpMcpToolLifecycleProfile::class, 'Google_Service_Datalineage_ApiservingMcpMcpToolLifecycleProfile');
@@ -0,0 +1,112 @@
<?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;
class GoogleCloudDatacatalogLineageConfigmanagementV1Config extends \Google\Model
{
/**
* Optional. `etag` is used for optimistic concurrency control as a way to
* help prevent simultaneous updates of a config from overwriting each other.
* It is required that systems make use of the `etag` in the read-modify-write
* cycle to perform config updates in order to avoid race conditions: An
* `etag` is returned in the response to `GetConfig`, and systems are expected
* to put that etag in the request to `UpdateConfig` to ensure that their
* change will be applied to the same version of the config. If an `etag` is
* not provided in the call to `UpdateConfig`, then the existing config, if
* any, will be overwritten.
*
* @var string
*/
public $etag;
protected $ingestionType = GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion::class;
protected $ingestionDataType = '';
/**
* 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`
*
* @var string
*/
public $name;
/**
* Optional. `etag` is used for optimistic concurrency control as a way to
* help prevent simultaneous updates of a config from overwriting each other.
* It is required that systems make use of the `etag` in the read-modify-write
* cycle to perform config updates in order to avoid race conditions: An
* `etag` is returned in the response to `GetConfig`, and systems are expected
* to put that etag in the request to `UpdateConfig` to ensure that their
* change will be applied to the same version of the config. If an `etag` is
* not provided in the call to `UpdateConfig`, then the existing config, if
* any, will be overwritten.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Optional. Ingestion rule for Data Lineage ingestion.
*
* @param GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion $ingestion
*/
public function setIngestion(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion $ingestion)
{
$this->ingestion = $ingestion;
}
/**
* @return GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion
*/
public function getIngestion()
{
return $this->ingestion;
}
/**
* 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 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(GoogleCloudDatacatalogLineageConfigmanagementV1Config::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageConfigmanagementV1Config');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion extends \Google\Collection
{
protected $collection_key = 'rules';
protected $rulesType = GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule::class;
protected $rulesDataType = 'array';
/**
* Optional. List of rules for Data Lineage ingestion.
*
* @param GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule[] $rules
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion');
@@ -0,0 +1,66 @@
<?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;
class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule extends \Google\Model
{
protected $integrationSelectorType = GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector::class;
protected $integrationSelectorDataType = '';
protected $lineageEnablementType = GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement::class;
protected $lineageEnablementDataType = '';
/**
* Required. Integration selector of the rule. The rule is only applied to the
* Integration selected by the selector.
*
* @param GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector $integrationSelector
*/
public function setIntegrationSelector(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector $integrationSelector)
{
$this->integrationSelector = $integrationSelector;
}
/**
* @return GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector
*/
public function getIntegrationSelector()
{
return $this->integrationSelector;
}
/**
* Required. Lineage enablement configuration. Defines configurations for the
* ingestion of lineage for the resource and its children. If unspecified, the
* ingestion will be enabled only if it was configured in the resource's
* parent.
*
* @param GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement $lineageEnablement
*/
public function setLineageEnablement(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement $lineageEnablement)
{
$this->lineageEnablement = $lineageEnablement;
}
/**
* @return GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement
*/
public function getLineageEnablement()
{
return $this->lineageEnablement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule');
@@ -0,0 +1,64 @@
<?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;
class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector extends \Google\Model
{
/**
* Integration is Unspecified
*/
public const INTEGRATION_INTEGRATION_UNSPECIFIED = 'INTEGRATION_UNSPECIFIED';
/**
* Dataproc
*/
public const INTEGRATION_DATAPROC = 'DATAPROC';
/**
* Looker Core
*/
public const INTEGRATION_LOOKER_CORE = 'LOOKER_CORE';
/**
* Required. Integration to which the rule applies. This field can be used to
* specify the integration against which the ingestion rule should be applied.
*
* @var string
*/
public $integration;
/**
* Required. Integration to which the rule applies. This field can be used to
* specify the integration against which the ingestion rule should be applied.
*
* Accepted values: INTEGRATION_UNSPECIFIED, DATAPROC, LOOKER_CORE
*
* @param self::INTEGRATION_* $integration
*/
public function setIntegration($integration)
{
$this->integration = $integration;
}
/**
* @return self::INTEGRATION_*
*/
public function getIntegration()
{
return $this->integration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement extends \Google\Model
{
/**
* Optional. If true, ingestion of lineage should be enabled. If false, it
* should be disabled. If unspecified, the system default value is used.
*
* @var bool
*/
public $enabled;
/**
* Optional. If true, ingestion of lineage should be enabled. If false, it
* should be disabled. If unspecified, the system default value is used.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement');
@@ -0,0 +1,107 @@
<?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;
class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest extends \Google\Collection
{
protected $collection_key = 'links';
/**
* Required. An array of links to check for their associated LineageProcesses.
* The maximum number of items in this array is 100. If the request contains
* more than 100 links, it returns the `INVALID_ARGUMENT` error. Format:
* `projects/{project}/locations/{location}/links/{link}`.
*
* @var string[]
*/
public $links;
/**
* Optional. The maximum number of processes to return in a single page of the
* response. A page may contain fewer results than this value.
*
* @var int
*/
public $pageSize;
/**
* Optional. The page token received from a previous
* `BatchSearchLinkProcesses` call. Use it to get the next page. When
* requesting subsequent pages of a response, remember that all parameters
* must match the values you provided in the original request.
*
* @var string
*/
public $pageToken;
/**
* Required. An array of links to check for their associated LineageProcesses.
* The maximum number of items in this array is 100. If the request contains
* more than 100 links, it returns the `INVALID_ARGUMENT` error. Format:
* `projects/{project}/locations/{location}/links/{link}`.
*
* @param string[] $links
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return string[]
*/
public function getLinks()
{
return $this->links;
}
/**
* Optional. The maximum number of processes to return in a single page of the
* response. A page may contain fewer results than this value.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. The page token received from a previous
* `BatchSearchLinkProcesses` call. Use it to get the next page. When
* requesting subsequent pages of a response, remember that all parameters
* must match the values you provided in the original request.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse extends \Google\Collection
{
protected $collection_key = 'processLinks';
/**
* The token to specify as `page_token` in the subsequent call to get the next
* page. Omitted if there are no more pages in the response.
*
* @var string
*/
public $nextPageToken;
protected $processLinksType = GoogleCloudDatacatalogLineageV1ProcessLinks::class;
protected $processLinksDataType = 'array';
/**
* The token to specify as `page_token` in the subsequent call to get the next
* page. Omitted if there are no more pages in the response.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* An array of processes associated with the specified links.
*
* @param GoogleCloudDatacatalogLineageV1ProcessLinks[] $processLinks
*/
public function setProcessLinks($processLinks)
{
$this->processLinks = $processLinks;
}
/**
* @return GoogleCloudDatacatalogLineageV1ProcessLinks[]
*/
public function getProcessLinks()
{
return $this->processLinks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1DependencyInfo extends \Google\Model
{
/**
* Dependency type unspecified.
*/
public const DEPENDENCY_TYPE_DEPENDENCY_TYPE_UNSPECIFIED = 'DEPENDENCY_TYPE_UNSPECIFIED';
/**
* Exact data copy without any change.
*/
public const DEPENDENCY_TYPE_EXACT_COPY = 'EXACT_COPY';
/**
* Other types of dependencies like filtering or grouping.
*/
public const DEPENDENCY_TYPE_OTHER = 'OTHER';
/**
* Required. Type of dependency.
*
* @var string
*/
public $dependencyType;
/**
* Required. Type of dependency.
*
* Accepted values: DEPENDENCY_TYPE_UNSPECIFIED, EXACT_COPY, OTHER
*
* @param self::DEPENDENCY_TYPE_* $dependencyType
*/
public function setDependencyType($dependencyType)
{
$this->dependencyType = $dependencyType;
}
/**
* @return self::DEPENDENCY_TYPE_*
*/
public function getDependencyType()
{
return $this->dependencyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1DependencyInfo::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1DependencyInfo');
@@ -0,0 +1,87 @@
<?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;
class GoogleCloudDatacatalogLineageV1EntityReference extends \Google\Collection
{
protected $collection_key = 'field';
/**
* Optional. Field path within the entity. Each nesting level should be a
* separate value in the repeated field. The order matters. Must be empty for
* asset level lineage For example to address "salary.net" subfield where
* "salary" is a column and "net" is a proto field two values in the `field`
* should be reported, the first is "salary" and the second is "net". Each
* field length is limited to 500 characters. Maximum supported nesting level
* is 20.
*
* @var string[]
*/
public $field;
/**
* Required. [Fully Qualified Name
* (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the
* entity.
*
* @var string
*/
public $fullyQualifiedName;
/**
* Optional. Field path within the entity. Each nesting level should be a
* separate value in the repeated field. The order matters. Must be empty for
* asset level lineage For example to address "salary.net" subfield where
* "salary" is a column and "net" is a proto field two values in the `field`
* should be reported, the first is "salary" and the second is "net". Each
* field length is limited to 500 characters. Maximum supported nesting level
* is 20.
*
* @param string[] $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string[]
*/
public function getField()
{
return $this->field;
}
/**
* Required. [Fully Qualified Name
* (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the
* entity.
*
* @param string $fullyQualifiedName
*/
public function setFullyQualifiedName($fullyQualifiedName)
{
$this->fullyQualifiedName = $fullyQualifiedName;
}
/**
* @return string
*/
public function getFullyQualifiedName()
{
return $this->fullyQualifiedName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1EntityReference::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1EntityReference');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1EventLink extends \Google\Model
{
protected $dependencyInfoType = GoogleCloudDatacatalogLineageV1DependencyInfo::class;
protected $dependencyInfoDataType = '';
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* Optional. Describes how the target depends on the source.
*
* @param GoogleCloudDatacatalogLineageV1DependencyInfo $dependencyInfo
*/
public function setDependencyInfo(GoogleCloudDatacatalogLineageV1DependencyInfo $dependencyInfo)
{
$this->dependencyInfo = $dependencyInfo;
}
/**
* @return GoogleCloudDatacatalogLineageV1DependencyInfo
*/
public function getDependencyInfo()
{
return $this->dependencyInfo;
}
/**
* Required. Reference to the source entity
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $source
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* Required. Reference to the target entity
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $target
*/
public function setTarget(GoogleCloudDatacatalogLineageV1EntityReference $target)
{
$this->target = $target;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1EventLink::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1EventLink');
@@ -0,0 +1,127 @@
<?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;
class GoogleCloudDatacatalogLineageV1LineageEvent extends \Google\Collection
{
protected $collection_key = 'links';
/**
* Optional. The end of the transformation which resulted in this lineage
* event. For streaming scenarios, it should be the end of the period from
* which the lineage is being reported.
*
* @var string
*/
public $endTime;
protected $linksType = GoogleCloudDatacatalogLineageV1EventLink::class;
protected $linksDataType = 'array';
/**
* Immutable. The resource name of the lineage event. Format: `projects/{proje
* ct}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{line
* age_event}`. Can be specified or auto-assigned. {lineage_event} must be not
* longer than 200 characters and only contain characters in a set:
* `a-zA-Z0-9_-:.`
*
* @var string
*/
public $name;
/**
* Required. The beginning of the transformation which resulted in this
* lineage event. For streaming scenarios, it should be the beginning of the
* period from which the lineage is being reported.
*
* @var string
*/
public $startTime;
/**
* Optional. The end of the transformation which resulted in this lineage
* event. For streaming scenarios, it should be the end of the period from
* which the lineage is being reported.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Optional. List of source-target pairs. Can't contain more than 100 tuples.
*
* @param GoogleCloudDatacatalogLineageV1EventLink[] $links
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1EventLink[]
*/
public function getLinks()
{
return $this->links;
}
/**
* Immutable. The resource name of the lineage event. Format: `projects/{proje
* ct}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{line
* age_event}`. Can be specified or auto-assigned. {lineage_event} must be not
* longer than 200 characters and only contain characters in a set:
* `a-zA-Z0-9_-:.`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The beginning of the transformation which resulted in this
* lineage event. For streaming scenarios, it should be the beginning of the
* period from which the lineage is being reported.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1LineageEvent::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1LineageEvent');
@@ -0,0 +1,143 @@
<?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;
class GoogleCloudDatacatalogLineageV1LineageLink extends \Google\Collection
{
protected $collection_key = 'processes';
protected $dependencyInfoType = GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo::class;
protected $dependencyInfoDataType = 'array';
/**
* Depth of the current link in the graph starting from 1.
*
* @var int
*/
public $depth;
/**
* The location where the LineageEvent that created the link is stored.
*
* @var string
*/
public $location;
protected $processesType = GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess::class;
protected $processesDataType = 'array';
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* Describes how the target entity is dependent on the source entity.
*
* @param GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo[] $dependencyInfo
*/
public function setDependencyInfo($dependencyInfo)
{
$this->dependencyInfo = $dependencyInfo;
}
/**
* @return GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo[]
*/
public function getDependencyInfo()
{
return $this->dependencyInfo;
}
/**
* Depth of the current link in the graph starting from 1.
*
* @param int $depth
*/
public function setDepth($depth)
{
$this->depth = $depth;
}
/**
* @return int
*/
public function getDepth()
{
return $this->depth;
}
/**
* The location where the LineageEvent that created the link is stored.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Processes metadata associated with the link.
*
* @param GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess[] $processes
*/
public function setProcesses($processes)
{
$this->processes = $processes;
}
/**
* @return GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess[]
*/
public function getProcesses()
{
return $this->processes;
}
/**
* The entity that is the **source** of this link.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $source
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* The entity that is the **target** of this link.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $target
*/
public function setTarget(GoogleCloudDatacatalogLineageV1EntityReference $target)
{
$this->target = $target;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1LineageLink::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1LineageLink');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo extends \Google\Model
{
/**
* Dependency type unspecified.
*/
public const DEPENDENCY_TYPE_DEPENDENCY_TYPE_UNSPECIFIED = 'DEPENDENCY_TYPE_UNSPECIFIED';
/**
* Exact data copy without any change.
*/
public const DEPENDENCY_TYPE_EXACT_COPY = 'EXACT_COPY';
/**
* Other types of dependencies like filtering or grouping.
*/
public const DEPENDENCY_TYPE_OTHER = 'OTHER';
/**
* The type of dependency.
*
* @var string
*/
public $dependencyType;
/**
* The type of dependency.
*
* Accepted values: DEPENDENCY_TYPE_UNSPECIFIED, EXACT_COPY, OTHER
*
* @param self::DEPENDENCY_TYPE_* $dependencyType
*/
public function setDependencyType($dependencyType)
{
$this->dependencyType = $dependencyType;
}
/**
* @return self::DEPENDENCY_TYPE_*
*/
public function getDependencyType()
{
return $this->dependencyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess extends \Google\Model
{
protected $processType = GoogleCloudDatacatalogLineageV1Process::class;
protected $processDataType = '';
/**
* Process that created the link.
*
* @param GoogleCloudDatacatalogLineageV1Process $process
*/
public function setProcess(GoogleCloudDatacatalogLineageV1Process $process)
{
$this->process = $process;
}
/**
* @return GoogleCloudDatacatalogLineageV1Process
*/
public function getProcess()
{
return $this->process;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess');
@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1Link extends \Google\Collection
{
protected $collection_key = 'dependencyInfo';
protected $dependencyInfoType = GoogleCloudDatacatalogLineageV1LinkDependencyInfo::class;
protected $dependencyInfoDataType = 'array';
/**
* The end of the last event establishing this link.
*
* @var string
*/
public $endTime;
/**
* Output only. Immutable. The name of the link. Format:
* `projects/{project}/locations/{location}/links/{link}`.
*
* @var string
*/
public $name;
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
/**
* The start of the first event establishing this link.
*
* @var string
*/
public $startTime;
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* Optional. The dependency info of the link (applies only to column level
* links).
*
* @param GoogleCloudDatacatalogLineageV1LinkDependencyInfo[] $dependencyInfo
*/
public function setDependencyInfo($dependencyInfo)
{
$this->dependencyInfo = $dependencyInfo;
}
/**
* @return GoogleCloudDatacatalogLineageV1LinkDependencyInfo[]
*/
public function getDependencyInfo()
{
return $this->dependencyInfo;
}
/**
* The end of the last event establishing this link.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Immutable. The name of the link. Format:
* `projects/{project}/locations/{location}/links/{link}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The pointer to the entity that is the **source** of this link.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $source
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* The start of the first event establishing this link.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The pointer to the entity that is the **target** of this link.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $target
*/
public function setTarget(GoogleCloudDatacatalogLineageV1EntityReference $target)
{
$this->target = $target;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1Link::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1Link');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1LinkDependencyInfo extends \Google\Model
{
/**
* Dependency type unspecified.
*/
public const DEPENDENCY_TYPE_DEPENDENCY_TYPE_UNSPECIFIED = 'DEPENDENCY_TYPE_UNSPECIFIED';
/**
* Exact data copy without any change.
*/
public const DEPENDENCY_TYPE_EXACT_COPY = 'EXACT_COPY';
/**
* Other types of dependencies like filtering or grouping.
*/
public const DEPENDENCY_TYPE_OTHER = 'OTHER';
/**
* The type of dependency.
*
* @var string
*/
public $dependencyType;
/**
* The type of dependency.
*
* Accepted values: DEPENDENCY_TYPE_UNSPECIFIED, EXACT_COPY, OTHER
*
* @param self::DEPENDENCY_TYPE_* $dependencyType
*/
public function setDependencyType($dependencyType)
{
$this->dependencyType = $dependencyType;
}
/**
* @return self::DEPENDENCY_TYPE_*
*/
public function getDependencyType()
{
return $this->dependencyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1LinkDependencyInfo::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1LinkDependencyInfo');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse extends \Google\Collection
{
protected $collection_key = 'lineageEvents';
protected $lineageEventsType = GoogleCloudDatacatalogLineageV1LineageEvent::class;
protected $lineageEventsDataType = 'array';
/**
* The token to specify as `page_token` in the next call to get the next page.
* If this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Lineage events from the specified project and location.
*
* @param GoogleCloudDatacatalogLineageV1LineageEvent[] $lineageEvents
*/
public function setLineageEvents($lineageEvents)
{
$this->lineageEvents = $lineageEvents;
}
/**
* @return GoogleCloudDatacatalogLineageV1LineageEvent[]
*/
public function getLineageEvents()
{
return $this->lineageEvents;
}
/**
* The token to specify as `page_token` in the next call to get the next page.
* If this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ListLineageEventsResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ListLineageEventsResponse');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1ListProcessesResponse extends \Google\Collection
{
protected $collection_key = 'processes';
/**
* The token to specify as `page_token` in the next call to get the next page.
* If this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $processesType = GoogleCloudDatacatalogLineageV1Process::class;
protected $processesDataType = 'array';
/**
* The token to specify as `page_token` in the next call to get 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 processes from the specified project and location.
*
* @param GoogleCloudDatacatalogLineageV1Process[] $processes
*/
public function setProcesses($processes)
{
$this->processes = $processes;
}
/**
* @return GoogleCloudDatacatalogLineageV1Process[]
*/
public function getProcesses()
{
return $this->processes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ListProcessesResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ListProcessesResponse');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1ListRunsResponse extends \Google\Collection
{
protected $collection_key = 'runs';
/**
* The token to specify as `page_token` in the next call to get the next page.
* If this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $runsType = GoogleCloudDatacatalogLineageV1Run::class;
protected $runsDataType = 'array';
/**
* The token to specify as `page_token` in the next call to get 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 runs from the specified project and location.
*
* @param GoogleCloudDatacatalogLineageV1Run[] $runs
*/
public function setRuns($runs)
{
$this->runs = $runs;
}
/**
* @return GoogleCloudDatacatalogLineageV1Run[]
*/
public function getRuns()
{
return $this->runs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ListRunsResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ListRunsResponse');
@@ -0,0 +1,46 @@
<?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;
class GoogleCloudDatacatalogLineageV1MultipleEntityReference extends \Google\Collection
{
protected $collection_key = 'entities';
protected $entitiesType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $entitiesDataType = 'array';
/**
* Optional. The list of entities to search for links. The maximum number of
* entities is 20.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference[] $entities
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference[]
*/
public function getEntities()
{
return $this->entities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1MultipleEntityReference::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1MultipleEntityReference');
@@ -0,0 +1,198 @@
<?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;
class GoogleCloudDatacatalogLineageV1OperationMetadata extends \Google\Model
{
/**
* Unused.
*/
public const OPERATION_TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* The resource deletion operation.
*/
public const OPERATION_TYPE_DELETE = 'DELETE';
/**
* The resource creation operation.
*/
public const OPERATION_TYPE_CREATE = 'CREATE';
/**
* Unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The operation has been created but is not yet started.
*/
public const STATE_PENDING = 'PENDING';
/**
* The operation is underway.
*/
public const STATE_RUNNING = 'RUNNING';
/**
* The operation completed successfully.
*/
public const STATE_SUCCEEDED = 'SUCCEEDED';
/**
* The operation is no longer running and did not succeed.
*/
public const STATE_FAILED = 'FAILED';
/**
* Output only. The timestamp of the operation submission to the server.
*
* @var string
*/
public $createTime;
/**
* Output only. The timestamp of the operation termination, regardless of its
* success. This field is unset if the operation is still ongoing.
*
* @var string
*/
public $endTime;
/**
* Output only. The type of the operation being performed.
*
* @var string
*/
public $operationType;
/**
* Output only. The [relative name] (https://cloud.google.com//apis/design/res
* ource_names#relative_resource_name) of the resource being operated on.
*
* @var string
*/
public $resource;
/**
* Output only. The UUID of the resource being operated on.
*
* @var string
*/
public $resourceUuid;
/**
* Output only. The current operation state.
*
* @var string
*/
public $state;
/**
* Output only. The timestamp of the operation submission to the server.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The timestamp of the operation termination, regardless of its
* success. This field is unset if the operation is still ongoing.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The type of the operation being performed.
*
* Accepted values: TYPE_UNSPECIFIED, DELETE, CREATE
*
* @param self::OPERATION_TYPE_* $operationType
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return self::OPERATION_TYPE_*
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* Output only. The [relative name] (https://cloud.google.com//apis/design/res
* ource_names#relative_resource_name) of the resource being operated on.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* Output only. The UUID of the resource being operated on.
*
* @param string $resourceUuid
*/
public function setResourceUuid($resourceUuid)
{
$this->resourceUuid = $resourceUuid;
}
/**
* @return string
*/
public function getResourceUuid()
{
return $this->resourceUuid;
}
/**
* Output only. The current operation state.
*
* Accepted values: STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1OperationMetadata::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1OperationMetadata');
@@ -0,0 +1,131 @@
<?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;
class GoogleCloudDatacatalogLineageV1Origin extends \Google\Model
{
/**
* Source is Unspecified
*/
public const SOURCE_TYPE_SOURCE_TYPE_UNSPECIFIED = 'SOURCE_TYPE_UNSPECIFIED';
/**
* A custom source
*/
public const SOURCE_TYPE_CUSTOM = 'CUSTOM';
/**
* BigQuery
*/
public const SOURCE_TYPE_BIGQUERY = 'BIGQUERY';
/**
* Data Fusion
*/
public const SOURCE_TYPE_DATA_FUSION = 'DATA_FUSION';
/**
* Composer
*/
public const SOURCE_TYPE_COMPOSER = 'COMPOSER';
/**
* Looker Studio
*/
public const SOURCE_TYPE_LOOKER_STUDIO = 'LOOKER_STUDIO';
/**
* Dataproc
*/
public const SOURCE_TYPE_DATAPROC = 'DATAPROC';
/**
* Vertex AI
*/
public const SOURCE_TYPE_VERTEX_AI = 'VERTEX_AI';
/**
* Dataflow
*/
public const SOURCE_TYPE_DATAFLOW = 'DATAFLOW';
/**
* Looker Core
*/
public const SOURCE_TYPE_LOOKER_CORE = 'LOOKER_CORE';
/**
* If the source_type isn't CUSTOM, the value of this field should be a Google
* Cloud resource name of the system, which reports lineage. The project and
* location parts of the resource name must match the project and location of
* the lineage resource being created. Examples: - `{source_type: COMPOSER,
* name: "projects/foo/locations/us/environments/bar"}` - `{source_type:
* BIGQUERY, name: "projects/foo/locations/eu"}` - `{source_type: CUSTOM,
* name: "myCustomIntegration"}`
*
* @var string
*/
public $name;
/**
* Type of the source. Use of a source_type other than `CUSTOM` for process
* creation or updating is highly discouraged. It might be restricted in the
* future without notice. There will be increase in cost if you use any of the
* source types other than `CUSTOM`.
*
* @var string
*/
public $sourceType;
/**
* If the source_type isn't CUSTOM, the value of this field should be a Google
* Cloud resource name of the system, which reports lineage. The project and
* location parts of the resource name must match the project and location of
* the lineage resource being created. Examples: - `{source_type: COMPOSER,
* name: "projects/foo/locations/us/environments/bar"}` - `{source_type:
* BIGQUERY, name: "projects/foo/locations/eu"}` - `{source_type: CUSTOM,
* name: "myCustomIntegration"}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Type of the source. Use of a source_type other than `CUSTOM` for process
* creation or updating is highly discouraged. It might be restricted in the
* future without notice. There will be increase in cost if you use any of the
* source types other than `CUSTOM`.
*
* Accepted values: SOURCE_TYPE_UNSPECIFIED, CUSTOM, BIGQUERY, DATA_FUSION,
* COMPOSER, LOOKER_STUDIO, DATAPROC, VERTEX_AI, DATAFLOW, LOOKER_CORE
*
* @param self::SOURCE_TYPE_* $sourceType
*/
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
}
/**
* @return self::SOURCE_TYPE_*
*/
public function getSourceType()
{
return $this->sourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1Origin::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1Origin');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1Process extends \Google\Model
{
/**
* Optional. The attributes of the process. Should only be used for the
* purpose of non-semantic management (classifying, describing or labeling the
* process). Up to 100 attributes are allowed.
*
* @var array[]
*/
public $attributes;
/**
* @var string
*/
public $displayName;
/**
* 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_-:.`
*
* @var string
*/
public $name;
protected $originType = GoogleCloudDatacatalogLineageV1Origin::class;
protected $originDataType = '';
/**
* Optional. The attributes of the process. Should only be used for the
* purpose of non-semantic management (classifying, describing or labeling the
* process). Up to 100 attributes are allowed.
*
* @param array[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return array[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* 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 string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The origin of this process and its runs and lineage events.
*
* @param GoogleCloudDatacatalogLineageV1Origin $origin
*/
public function setOrigin(GoogleCloudDatacatalogLineageV1Origin $origin)
{
$this->origin = $origin;
}
/**
* @return GoogleCloudDatacatalogLineageV1Origin
*/
public function getOrigin()
{
return $this->origin;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1Process::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1Process');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ProcessLinkInfo extends \Google\Model
{
/**
* The end of the last event establishing this link-process tuple.
*
* @var string
*/
public $endTime;
/**
* The name of the link in the format of
* `projects/{project}/locations/{location}/links/{link}`.
*
* @var string
*/
public $link;
/**
* The start of the first event establishing this link-process tuple.
*
* @var string
*/
public $startTime;
/**
* The end of the last event establishing this link-process tuple.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The name of the link in the format of
* `projects/{project}/locations/{location}/links/{link}`.
*
* @param string $link
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* The start of the first event establishing this link-process tuple.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ProcessLinkInfo::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ProcessLinkInfo');
@@ -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;
class GoogleCloudDatacatalogLineageV1ProcessLinks extends \Google\Collection
{
protected $collection_key = 'links';
protected $linksType = GoogleCloudDatacatalogLineageV1ProcessLinkInfo::class;
protected $linksDataType = 'array';
/**
* The process name in the format of
* `projects/{project}/locations/{location}/processes/{process}`.
*
* @var string
*/
public $process;
/**
* An array containing link details objects of the links provided in the
* original request. A single process can result in creating multiple links.
* If any of the links you provide in the request are created by the same
* process, they all are included in this array.
*
* @param GoogleCloudDatacatalogLineageV1ProcessLinkInfo[] $links
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1ProcessLinkInfo[]
*/
public function getLinks()
{
return $this->links;
}
/**
* The process name in the format of
* `projects/{project}/locations/{location}/processes/{process}`.
*
* @param string $process
*/
public function setProcess($process)
{
$this->process = $process;
}
/**
* @return string
*/
public function getProcess()
{
return $this->process;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ProcessLinks::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ProcessLinks');
@@ -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\Datalineage;
class GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse extends \Google\Collection
{
protected $collection_key = 'lineageEvents';
/**
* Created lineage event names. Format: `projects/{project}/locations/{locatio
* n}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
*
* @var string[]
*/
public $lineageEvents;
/**
* Created process name. Format:
* `projects/{project}/locations/{location}/processes/{process}`.
*
* @var string
*/
public $process;
/**
* Created run name. Format:
* `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
*
* @var string
*/
public $run;
/**
* Created lineage event names. Format: `projects/{project}/locations/{locatio
* n}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
*
* @param string[] $lineageEvents
*/
public function setLineageEvents($lineageEvents)
{
$this->lineageEvents = $lineageEvents;
}
/**
* @return string[]
*/
public function getLineageEvents()
{
return $this->lineageEvents;
}
/**
* Created process name. Format:
* `projects/{project}/locations/{location}/processes/{process}`.
*
* @param string $process
*/
public function setProcess($process)
{
$this->process = $process;
}
/**
* @return string
*/
public function getProcess()
{
return $this->process;
}
/**
* Created run name. Format:
* `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
*
* @param string $run
*/
public function setRun($run)
{
$this->run = $run;
}
/**
* @return string
*/
public function getRun()
{
return $this->run;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse');
@@ -0,0 +1,187 @@
<?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;
class GoogleCloudDatacatalogLineageV1Run extends \Google\Model
{
/**
* The state is unknown. The true state may be any of the below or a different
* state that is not supported here explicitly.
*/
public const STATE_UNKNOWN = 'UNKNOWN';
/**
* The run is still executing.
*/
public const STATE_STARTED = 'STARTED';
/**
* The run completed.
*/
public const STATE_COMPLETED = 'COMPLETED';
/**
* The run failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* The run aborted.
*/
public const STATE_ABORTED = 'ABORTED';
/**
* Optional. The attributes of the run. Should only be used for the purpose of
* non-semantic management (classifying, describing or labeling the run). Up
* to 100 attributes are allowed.
*
* @var array[]
*/
public $attributes;
/**
* @var string
*/
public $displayName;
/**
* Optional. The timestamp of the end of the run.
*
* @var string
*/
public $endTime;
/**
* 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_-:.`
*
* @var string
*/
public $name;
/**
* Required. The timestamp of the start of the run.
*
* @var string
*/
public $startTime;
/**
* Required. The state of the run.
*
* @var string
*/
public $state;
/**
* Optional. The attributes of the run. Should only be used for the purpose of
* non-semantic management (classifying, describing or labeling the run). Up
* to 100 attributes are allowed.
*
* @param array[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return array[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. The timestamp of the end of the run.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* 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 string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The timestamp of the start of the run.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Required. The state of the run.
*
* Accepted values: UNKNOWN, STARTED, COMPLETED, FAILED, ABORTED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1Run::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1Run');
@@ -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;
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest extends \Google\Collection
{
/**
* Direction is unspecified.
*/
public const DIRECTION_SEARCH_DIRECTION_UNSPECIFIED = 'SEARCH_DIRECTION_UNSPECIFIED';
/**
* Retrieve links that lead from the specified asset to downstream assets.
*/
public const DIRECTION_DOWNSTREAM = 'DOWNSTREAM';
/**
* Retrieve links that lead from upstream assets to the specified asset.
*/
public const DIRECTION_UPSTREAM = 'UPSTREAM';
protected $collection_key = 'locations';
/**
* Required. Direction of the search.
*
* @var string
*/
public $direction;
protected $filtersType = GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters::class;
protected $filtersDataType = '';
protected $limitsType = GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits::class;
protected $limitsDataType = '';
/**
* Required. The locations to search in.
*
* @var string[]
*/
public $locations;
protected $rootCriteriaType = GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria::class;
protected $rootCriteriaDataType = '';
/**
* Required. Direction of the search.
*
* Accepted values: SEARCH_DIRECTION_UNSPECIFIED, DOWNSTREAM, UPSTREAM
*
* @param self::DIRECTION_* $direction
*/
public function setDirection($direction)
{
$this->direction = $direction;
}
/**
* @return self::DIRECTION_*
*/
public function getDirection()
{
return $this->direction;
}
/**
* Optional. Filters for the search.
*
* @param GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters $filters
*/
public function setFilters(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters $filters)
{
$this->filters = $filters;
}
/**
* @return GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
*/
public function getFilters()
{
return $this->filters;
}
/**
* Optional. Limits for the search.
*
* @param GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits $limits
*/
public function setLimits(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits $limits)
{
$this->limits = $limits;
}
/**
* @return GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits
*/
public function getLimits()
{
return $this->limits;
}
/**
* Required. The locations to search in.
*
* @param string[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return string[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* Required. Criteria for the root of the search.
*
* @param GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria $rootCriteria
*/
public function setRootCriteria(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria $rootCriteria)
{
$this->rootCriteria = $rootCriteria;
}
/**
* @return GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria
*/
public function getRootCriteria()
{
return $this->rootCriteria;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest');
@@ -0,0 +1,46 @@
<?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;
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria extends \Google\Model
{
protected $entitiesType = GoogleCloudDatacatalogLineageV1MultipleEntityReference::class;
protected $entitiesDataType = '';
/**
* Optional. The entities to initiate the search from. Entities can be
* specified by FQN only, or by FQN and field. To search by FQN and all
* available fields for that FQN, use the wildcard `*` as the field value.
*
* @param GoogleCloudDatacatalogLineageV1MultipleEntityReference $entities
*/
public function setEntities(GoogleCloudDatacatalogLineageV1MultipleEntityReference $entities)
{
$this->entities = $entities;
}
/**
* @return GoogleCloudDatacatalogLineageV1MultipleEntityReference
*/
public function getEntities()
{
return $this->entities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria');
@@ -0,0 +1,106 @@
<?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;
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters extends \Google\Collection
{
/**
* The entity set is unspecified. Returns all the data.
*/
public const ENTITY_SET_ENTITY_SET_UNSPECIFIED = 'ENTITY_SET_UNSPECIFIED';
/**
* Returns entities with only FQN specified. For example, entities with the
* `field` field set are not returned.
*/
public const ENTITY_SET_ENTITIES = 'ENTITIES';
protected $collection_key = 'dependencyTypes';
/**
* Optional. Types of dependencies between entities to retrieve. If
* unspecified, all dependency types are returned.
*
* @var string[]
*/
public $dependencyTypes;
/**
* Optional. Entity set restriction. If unspecified, the method returns all
* entities.
*
* @var string
*/
public $entitySet;
protected $timeRangeType = GoogleTypeInterval::class;
protected $timeRangeDataType = '';
/**
* Optional. Types of dependencies between entities to retrieve. If
* unspecified, all dependency types are returned.
*
* @param string[] $dependencyTypes
*/
public function setDependencyTypes($dependencyTypes)
{
$this->dependencyTypes = $dependencyTypes;
}
/**
* @return string[]
*/
public function getDependencyTypes()
{
return $this->dependencyTypes;
}
/**
* Optional. Entity set restriction. If unspecified, the method returns all
* entities.
*
* Accepted values: ENTITY_SET_UNSPECIFIED, ENTITIES
*
* @param self::ENTITY_SET_* $entitySet
*/
public function setEntitySet($entitySet)
{
$this->entitySet = $entitySet;
}
/**
* @return self::ENTITY_SET_*
*/
public function getEntitySet()
{
return $this->entitySet;
}
/**
* Optional. Time interval to search for lineage. If unspecified, all lineage
* is returned. Currently, at most one of `start_time` and `end_time` can be
* set.
*
* @param GoogleTypeInterval $timeRange
*/
public function setTimeRange(GoogleTypeInterval $timeRange)
{
$this->timeRange = $timeRange;
}
/**
* @return GoogleTypeInterval
*/
public function getTimeRange()
{
return $this->timeRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters');
@@ -0,0 +1,106 @@
<?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;
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits extends \Google\Model
{
/**
* Optional. The maximum depth of the search. The default value is 5 and
* maximum value is 100.
*
* @var int
*/
public $maxDepth;
/**
* Optional. The maximum number of processes to return per link. The default
* value is 0 and the maximum value is 100. If this value is non-zero, the
* response will contain process names for the links. To retrieve full process
* details in the response, include `links.processes.process` in the
* [FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-
* masks#read_with_a_field_mask).
*
* @var int
*/
public $maxProcessPerLink;
/**
* Optional. The maximum number of links to return in the response. The
* default value is 1_000 and the maximum value is 10_000.
*
* @var int
*/
public $maxResults;
/**
* Optional. The maximum depth of the search. The default value is 5 and
* maximum value is 100.
*
* @param int $maxDepth
*/
public function setMaxDepth($maxDepth)
{
$this->maxDepth = $maxDepth;
}
/**
* @return int
*/
public function getMaxDepth()
{
return $this->maxDepth;
}
/**
* Optional. The maximum number of processes to return per link. The default
* value is 0 and the maximum value is 100. If this value is non-zero, the
* response will contain process names for the links. To retrieve full process
* details in the response, include `links.processes.process` in the
* [FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-
* masks#read_with_a_field_mask).
*
* @param int $maxProcessPerLink
*/
public function setMaxProcessPerLink($maxProcessPerLink)
{
$this->maxProcessPerLink = $maxProcessPerLink;
}
/**
* @return int
*/
public function getMaxProcessPerLink()
{
return $this->maxProcessPerLink;
}
/**
* Optional. The maximum number of links to return in the response. The
* default value is 1_000 and the maximum value is 10_000.
*
* @param int $maxResults
*/
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
/**
* @return int
*/
public function getMaxResults()
{
return $this->maxResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits');
@@ -0,0 +1,74 @@
<?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;
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $linksType = GoogleCloudDatacatalogLineageV1LineageLink::class;
protected $linksDataType = 'array';
/**
* Unordered list. Unreachable resources. If non-empty, the result set might
* be incomplete. Currently, only locations are supported. Format:
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]` Example:
* projects/123456789/locations/us-east1
*
* @var string[]
*/
public $unreachable;
/**
* Output only. The lineage links that match the search criteria. Can be empty
* if no links match.
*
* @param GoogleCloudDatacatalogLineageV1LineageLink[] $links
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1LineageLink[]
*/
public function getLinks()
{
return $this->links;
}
/**
* Unordered list. Unreachable resources. If non-empty, the result set might
* be incomplete. Currently, only locations are supported. Format:
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]` Example:
* projects/123456789/locations/us-east1
*
* @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(GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse');
@@ -0,0 +1,164 @@
<?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;
class GoogleCloudDatacatalogLineageV1SearchLinksRequest extends \Google\Model
{
/**
* Optional. The maximum number of links to return in a single page of the
* response. A page may contain fewer links than this value. If unspecified,
* at most 10 links are returned. Maximum value is 100; values greater than
* 100 are reduced to 100.
*
* @var int
*/
public $pageSize;
/**
* Optional. The page token received from a previous `SearchLinksRequest`
* call. Use it to get the next page. When requesting subsequent pages of a
* response, remember that all parameters must match the values you provided
* in the original request.
*
* @var string
*/
public $pageToken;
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
protected $sourcesType = GoogleCloudDatacatalogLineageV1MultipleEntityReference::class;
protected $sourcesDataType = '';
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
protected $targetsType = GoogleCloudDatacatalogLineageV1MultipleEntityReference::class;
protected $targetsDataType = '';
/**
* Optional. The maximum number of links to return in a single page of the
* response. A page may contain fewer links than this value. If unspecified,
* at most 10 links are returned. Maximum value is 100; values greater than
* 100 are reduced to 100.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. The page token received from a previous `SearchLinksRequest`
* call. Use it to get the next page. When requesting subsequent pages of a
* response, remember that all parameters must match the values you provided
* in the original request.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Send asset information in the **source** field to retrieve all
* links that lead from the specified asset to downstream assets.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $source
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* Optional. Send a list of asset information in the **sources** field to
* retrieve all links that lead from the specified assets to downstream
* assets. This field is similar to the `source` source field but allows
* providing multiple entities. All entities within the
* `MultipleEntityReference` must have the same `fully_qualified_name`.
*
* @param GoogleCloudDatacatalogLineageV1MultipleEntityReference $sources
*/
public function setSources(GoogleCloudDatacatalogLineageV1MultipleEntityReference $sources)
{
$this->sources = $sources;
}
/**
* @return GoogleCloudDatacatalogLineageV1MultipleEntityReference
*/
public function getSources()
{
return $this->sources;
}
/**
* Optional. Send asset information in the **target** field to retrieve all
* links that lead from upstream assets to the specified asset.
*
* @param GoogleCloudDatacatalogLineageV1EntityReference $target
*/
public function setTarget(GoogleCloudDatacatalogLineageV1EntityReference $target)
{
$this->target = $target;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getTarget()
{
return $this->target;
}
/**
* Optional. Send a list of asset information in the **targets** field to
* retrieve all links that lead from upstream assets to the specified assets.
* This field is similar to the `target` target field but allows providing
* multiple entities. All entities within the `MultipleEntityReference` must
* have the same `fully_qualified_name`.
*
* @param GoogleCloudDatacatalogLineageV1MultipleEntityReference $targets
*/
public function setTargets(GoogleCloudDatacatalogLineageV1MultipleEntityReference $targets)
{
$this->targets = $targets;
}
/**
* @return GoogleCloudDatacatalogLineageV1MultipleEntityReference
*/
public function getTargets()
{
return $this->targets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLinksRequest::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLinksRequest');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1SearchLinksResponse extends \Google\Collection
{
protected $collection_key = 'links';
protected $linksType = GoogleCloudDatacatalogLineageV1Link::class;
protected $linksDataType = 'array';
/**
* The token to specify as `page_token` in the subsequent call to get the next
* page. Omitted if there are no more pages in the response.
*
* @var string
*/
public $nextPageToken;
/**
* The list of links for a given asset. Can be empty if the asset has no
* relations of requested type (source or target).
*
* @param GoogleCloudDatacatalogLineageV1Link[] $links
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1Link[]
*/
public function getLinks()
{
return $this->links;
}
/**
* The token to specify as `page_token` in the subsequent call to get the next
* page. Omitted if there are no more pages in the response.
*
* @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(GoogleCloudDatacatalogLineageV1SearchLinksResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLinksResponse');
@@ -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\Datalineage;
class GoogleLongrunningCancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningCancelOperationRequest::class, 'Google_Service_Datalineage_GoogleLongrunningCancelOperationRequest');
@@ -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\Datalineage;
class GoogleLongrunningListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = GoogleLongrunningOperation::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 GoogleLongrunningOperation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return GoogleLongrunningOperation[]
*/
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(GoogleLongrunningListOperationsResponse::class, 'Google_Service_Datalineage_GoogleLongrunningListOperationsResponse');
@@ -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\Datalineage;
class GoogleLongrunningOperation 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 = GoogleRpcStatus::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 GoogleRpcStatus $error
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
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(GoogleLongrunningOperation::class, 'Google_Service_Datalineage_GoogleLongrunningOperation');
@@ -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\Datalineage;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_Datalineage_GoogleProtobufEmpty');
@@ -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\Datalineage;
class GoogleRpcStatus 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(GoogleRpcStatus::class, 'Google_Service_Datalineage_GoogleRpcStatus');
@@ -0,0 +1,74 @@
<?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;
class GoogleTypeInterval extends \Google\Model
{
/**
* Optional. Exclusive end of the interval. If specified, a Timestamp matching
* this interval will have to be before the end.
*
* @var string
*/
public $endTime;
/**
* Optional. Inclusive start of the interval. If specified, a Timestamp
* matching this interval will have to be the same or after the start.
*
* @var string
*/
public $startTime;
/**
* Optional. Exclusive end of the interval. If specified, a Timestamp matching
* this interval will have to be before the end.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Optional. Inclusive start of the interval. If specified, a Timestamp
* matching this interval will have to be the same or after the start.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeInterval::class, 'Google_Service_Datalineage_GoogleTypeInterval');
@@ -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');