Initial commit

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

View File

@@ -0,0 +1,81 @@
<?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';
/**
* @var string[]
*/
public $links;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @param string[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return string[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse extends \Google\Collection
{
protected $collection_key = 'processLinks';
/**
* @var string
*/
public $nextPageToken;
protected $processLinksType = GoogleCloudDatacatalogLineageV1ProcessLinks::class;
protected $processLinksDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudDatacatalogLineageV1ProcessLinks[]
*/
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');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1EntityReference extends \Google\Model
{
/**
* @var string
*/
public $fullyQualifiedName;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,58 @@
<?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 $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
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');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1LineageEvent extends \Google\Collection
{
protected $collection_key = 'links';
/**
* @var string
*/
public $endTime;
protected $linksType = GoogleCloudDatacatalogLineageV1EventLink::class;
protected $linksDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param GoogleCloudDatacatalogLineageV1EventLink[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1EventLink[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
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');

View File

@@ -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 GoogleCloudDatacatalogLineageV1Link extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $name;
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $startTime;
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
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');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse extends \Google\Collection
{
protected $collection_key = 'lineageEvents';
protected $lineageEventsType = GoogleCloudDatacatalogLineageV1LineageEvent::class;
protected $lineageEventsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatacatalogLineageV1LineageEvent[]
*/
public function setLineageEvents($lineageEvents)
{
$this->lineageEvents = $lineageEvents;
}
/**
* @return GoogleCloudDatacatalogLineageV1LineageEvent[]
*/
public function getLineageEvents()
{
return $this->lineageEvents;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1ListLineageEventsResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1ListLineageEventsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ListProcessesResponse extends \Google\Collection
{
protected $collection_key = 'processes';
/**
* @var string
*/
public $nextPageToken;
protected $processesType = GoogleCloudDatacatalogLineageV1Process::class;
protected $processesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudDatacatalogLineageV1Process[]
*/
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');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ListRunsResponse extends \Google\Collection
{
protected $collection_key = 'runs';
/**
* @var string
*/
public $nextPageToken;
protected $runsType = GoogleCloudDatacatalogLineageV1Run::class;
protected $runsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudDatacatalogLineageV1Run[]
*/
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');

View File

@@ -0,0 +1,134 @@
<?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
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationType;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUuid;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUuid($resourceUuid)
{
$this->resourceUuid = $resourceUuid;
}
/**
* @return string
*/
public function getResourceUuid()
{
return $this->resourceUuid;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1Origin extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $sourceType;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,96 @@
<?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
{
/**
* @var array[]
*/
public $attributes;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $originType = GoogleCloudDatacatalogLineageV1Origin::class;
protected $originDataType = '';
/**
* @param array[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return array[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatacatalogLineageV1Origin
*/
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');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ProcessLinkInfo extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $link;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1ProcessLinks extends \Google\Collection
{
protected $collection_key = 'links';
protected $linksType = GoogleCloudDatacatalogLineageV1ProcessLinkInfo::class;
protected $linksDataType = 'array';
/**
* @var string
*/
public $process;
/**
* @param GoogleCloudDatacatalogLineageV1ProcessLinkInfo[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1ProcessLinkInfo[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,81 @@
<?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';
/**
* @var string[]
*/
public $lineageEvents;
/**
* @var string
*/
public $process;
/**
* @var string
*/
public $run;
/**
* @param string[]
*/
public function setLineageEvents($lineageEvents)
{
$this->lineageEvents = $lineageEvents;
}
/**
* @return string[]
*/
public function getLineageEvents()
{
return $this->lineageEvents;
}
/**
* @param string
*/
public function setProcess($process)
{
$this->process = $process;
}
/**
* @return string
*/
public function getProcess()
{
return $this->process;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,134 @@
<?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
{
/**
* @var array[]
*/
public $attributes;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
/**
* @param array[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return array[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1Run::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1Run');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1SearchLinksRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
protected $sourceType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $sourceDataType = '';
protected $targetType = GoogleCloudDatacatalogLineageV1EntityReference::class;
protected $targetDataType = '';
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
public function setSource(GoogleCloudDatacatalogLineageV1EntityReference $source)
{
$this->source = $source;
}
/**
* @return GoogleCloudDatacatalogLineageV1EntityReference
*/
public function getSource()
{
return $this->source;
}
/**
* @param GoogleCloudDatacatalogLineageV1EntityReference
*/
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(GoogleCloudDatacatalogLineageV1SearchLinksRequest::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLinksRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleCloudDatacatalogLineageV1SearchLinksResponse extends \Google\Collection
{
protected $collection_key = 'links';
protected $linksType = GoogleCloudDatacatalogLineageV1Link::class;
protected $linksDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatacatalogLineageV1Link[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return GoogleCloudDatacatalogLineageV1Link[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatacatalogLineageV1SearchLinksResponse::class, 'Google_Service_Datalineage_GoogleCloudDatacatalogLineageV1SearchLinksResponse');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\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');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datalineage;
class GoogleLongrunningListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = GoogleLongrunningOperation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleLongrunningOperation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return GoogleLongrunningOperation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningListOperationsResponse::class, 'Google_Service_Datalineage_GoogleLongrunningListOperationsResponse');

View File

@@ -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;
class GoogleLongrunningOperation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
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');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\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');

View File

@@ -0,0 +1,81 @@
<?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';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\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');

View File

@@ -0,0 +1,108 @@
<?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\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 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);
}
/**
* 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');

View File

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

View File

@@ -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\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 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 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 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 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 If set to true and the process is not found, the
* request inserts it.
* @opt_param string updateMask 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');

View File

@@ -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 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 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 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 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 If set to true and the run is not found, the
* request creates it.
* @opt_param string updateMask 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');

View File

@@ -0,0 +1,113 @@
<?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 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 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 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 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');