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,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines;
class GoogleCloudDatapipelinesV1ArrayValue extends \Google\Collection
{
protected $collection_key = 'elements';
protected $elementsType = GoogleCloudDatapipelinesV1FieldValue::class;
protected $elementsDataType = 'array';
/**
* @param GoogleCloudDatapipelinesV1FieldValue[]
*/
public function setElements($elements)
{
$this->elements = $elements;
}
/**
* @return GoogleCloudDatapipelinesV1FieldValue[]
*/
public function getElements()
{
return $this->elements;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1ArrayValue::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ArrayValue');

View File

@@ -0,0 +1,211 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1AtomicValue extends \Google\Model
{
/**
* @var bool
*/
public $booleanValue;
/**
* @var int
*/
public $byteValue;
/**
* @var string
*/
public $bytesValue;
protected $datetimeValueType = GoogleTypeDateTime::class;
protected $datetimeValueDataType = '';
protected $decimalValueType = GoogleTypeDecimal::class;
protected $decimalValueDataType = '';
public $doubleValue;
/**
* @var float
*/
public $floatValue;
/**
* @var int
*/
public $int16Value;
/**
* @var int
*/
public $int32Value;
/**
* @var string
*/
public $int64Value;
/**
* @var string
*/
public $stringValue;
/**
* @param bool
*/
public function setBooleanValue($booleanValue)
{
$this->booleanValue = $booleanValue;
}
/**
* @return bool
*/
public function getBooleanValue()
{
return $this->booleanValue;
}
/**
* @param int
*/
public function setByteValue($byteValue)
{
$this->byteValue = $byteValue;
}
/**
* @return int
*/
public function getByteValue()
{
return $this->byteValue;
}
/**
* @param string
*/
public function setBytesValue($bytesValue)
{
$this->bytesValue = $bytesValue;
}
/**
* @return string
*/
public function getBytesValue()
{
return $this->bytesValue;
}
/**
* @param GoogleTypeDateTime
*/
public function setDatetimeValue(GoogleTypeDateTime $datetimeValue)
{
$this->datetimeValue = $datetimeValue;
}
/**
* @return GoogleTypeDateTime
*/
public function getDatetimeValue()
{
return $this->datetimeValue;
}
/**
* @param GoogleTypeDecimal
*/
public function setDecimalValue(GoogleTypeDecimal $decimalValue)
{
$this->decimalValue = $decimalValue;
}
/**
* @return GoogleTypeDecimal
*/
public function getDecimalValue()
{
return $this->decimalValue;
}
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* @param float
*/
public function setFloatValue($floatValue)
{
$this->floatValue = $floatValue;
}
/**
* @return float
*/
public function getFloatValue()
{
return $this->floatValue;
}
/**
* @param int
*/
public function setInt16Value($int16Value)
{
$this->int16Value = $int16Value;
}
/**
* @return int
*/
public function getInt16Value()
{
return $this->int16Value;
}
/**
* @param int
*/
public function setInt32Value($int32Value)
{
$this->int32Value = $int32Value;
}
/**
* @return int
*/
public function getInt32Value()
{
return $this->int32Value;
}
/**
* @param string
*/
public function setInt64Value($int64Value)
{
$this->int64Value = $int64Value;
}
/**
* @return string
*/
public function getInt64Value()
{
return $this->int64Value;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1AtomicValue::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1AtomicValue');

View File

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

View File

@@ -0,0 +1,75 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1ComputeSchemaRequest extends \Google\Collection
{
protected $collection_key = 'inputSchemas';
protected $configType = GoogleCloudDatapipelinesV1ConfiguredTransform::class;
protected $configDataType = '';
protected $inputSchemasType = GoogleCloudDatapipelinesV1Schema::class;
protected $inputSchemasDataType = 'array';
protected $rawSchemaType = GoogleCloudDatapipelinesV1RawSchemaInfo::class;
protected $rawSchemaDataType = '';
/**
* @param GoogleCloudDatapipelinesV1ConfiguredTransform
*/
public function setConfig(GoogleCloudDatapipelinesV1ConfiguredTransform $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudDatapipelinesV1ConfiguredTransform
*/
public function getConfig()
{
return $this->config;
}
/**
* @param GoogleCloudDatapipelinesV1Schema[]
*/
public function setInputSchemas($inputSchemas)
{
$this->inputSchemas = $inputSchemas;
}
/**
* @return GoogleCloudDatapipelinesV1Schema[]
*/
public function getInputSchemas()
{
return $this->inputSchemas;
}
/**
* @param GoogleCloudDatapipelinesV1RawSchemaInfo
*/
public function setRawSchema(GoogleCloudDatapipelinesV1RawSchemaInfo $rawSchema)
{
$this->rawSchema = $rawSchema;
}
/**
* @return GoogleCloudDatapipelinesV1RawSchemaInfo
*/
public function getRawSchema()
{
return $this->rawSchema;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1ComputeSchemaRequest::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ComputeSchemaRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines;
class GoogleCloudDatapipelinesV1ConfiguredTransform extends \Google\Model
{
protected $configType = GoogleCloudDatapipelinesV1Row::class;
protected $configDataType = '';
/**
* @var string
*/
public $uniformResourceName;
/**
* @param GoogleCloudDatapipelinesV1Row
*/
public function setConfig(GoogleCloudDatapipelinesV1Row $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudDatapipelinesV1Row
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setUniformResourceName($uniformResourceName)
{
$this->uniformResourceName = $uniformResourceName;
}
/**
* @return string
*/
public function getUniformResourceName()
{
return $this->uniformResourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1ConfiguredTransform::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ConfiguredTransform');

View File

@@ -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\Datapipelines;
class GoogleCloudDatapipelinesV1DataflowJobDetails extends \Google\Model
{
/**
* @var int
*/
public $currentWorkers;
public $resourceInfo;
protected $sdkVersionType = GoogleCloudDatapipelinesV1SdkVersion::class;
protected $sdkVersionDataType = '';
/**
* @param int
*/
public function setCurrentWorkers($currentWorkers)
{
$this->currentWorkers = $currentWorkers;
}
/**
* @return int
*/
public function getCurrentWorkers()
{
return $this->currentWorkers;
}
public function setResourceInfo($resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* @param GoogleCloudDatapipelinesV1SdkVersion
*/
public function setSdkVersion(GoogleCloudDatapipelinesV1SdkVersion $sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return GoogleCloudDatapipelinesV1SdkVersion
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1DataflowJobDetails::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1DataflowJobDetails');

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\Datapipelines;
class GoogleCloudDatapipelinesV1EnumerationValue extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
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(GoogleCloudDatapipelinesV1EnumerationValue::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1EnumerationValue');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines;
class GoogleCloudDatapipelinesV1Field extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $typeType = GoogleCloudDatapipelinesV1FieldType::class;
protected $typeDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatapipelinesV1FieldType
*/
public function setType(GoogleCloudDatapipelinesV1FieldType $type)
{
$this->type = $type;
}
/**
* @return GoogleCloudDatapipelinesV1FieldType
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Field::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Field');

View File

@@ -0,0 +1,126 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1FieldType extends \Google\Model
{
protected $collectionElementTypeType = GoogleCloudDatapipelinesV1FieldType::class;
protected $collectionElementTypeDataType = '';
protected $logicalTypeType = GoogleCloudDatapipelinesV1LogicalType::class;
protected $logicalTypeDataType = '';
protected $mapTypeType = GoogleCloudDatapipelinesV1MapType::class;
protected $mapTypeDataType = '';
/**
* @var bool
*/
public $nullable;
protected $rowSchemaType = GoogleCloudDatapipelinesV1Schema::class;
protected $rowSchemaDataType = '';
/**
* @var string
*/
public $type;
/**
* @param GoogleCloudDatapipelinesV1FieldType
*/
public function setCollectionElementType(GoogleCloudDatapipelinesV1FieldType $collectionElementType)
{
$this->collectionElementType = $collectionElementType;
}
/**
* @return GoogleCloudDatapipelinesV1FieldType
*/
public function getCollectionElementType()
{
return $this->collectionElementType;
}
/**
* @param GoogleCloudDatapipelinesV1LogicalType
*/
public function setLogicalType(GoogleCloudDatapipelinesV1LogicalType $logicalType)
{
$this->logicalType = $logicalType;
}
/**
* @return GoogleCloudDatapipelinesV1LogicalType
*/
public function getLogicalType()
{
return $this->logicalType;
}
/**
* @param GoogleCloudDatapipelinesV1MapType
*/
public function setMapType(GoogleCloudDatapipelinesV1MapType $mapType)
{
$this->mapType = $mapType;
}
/**
* @return GoogleCloudDatapipelinesV1MapType
*/
public function getMapType()
{
return $this->mapType;
}
/**
* @param bool
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
/**
* @param GoogleCloudDatapipelinesV1Schema
*/
public function setRowSchema(GoogleCloudDatapipelinesV1Schema $rowSchema)
{
$this->rowSchema = $rowSchema;
}
/**
* @return GoogleCloudDatapipelinesV1Schema
*/
public function getRowSchema()
{
return $this->rowSchema;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1FieldType::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1FieldType');

View File

@@ -0,0 +1,138 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1FieldValue extends \Google\Model
{
protected $arrayValueType = GoogleCloudDatapipelinesV1ArrayValue::class;
protected $arrayValueDataType = '';
protected $atomicValueType = GoogleCloudDatapipelinesV1AtomicValue::class;
protected $atomicValueDataType = '';
protected $enumValueType = GoogleCloudDatapipelinesV1EnumerationValue::class;
protected $enumValueDataType = '';
protected $fixedBytesValueType = GoogleCloudDatapipelinesV1FixedBytesValue::class;
protected $fixedBytesValueDataType = '';
protected $iterableValueType = GoogleCloudDatapipelinesV1IterableValue::class;
protected $iterableValueDataType = '';
protected $mapValueType = GoogleCloudDatapipelinesV1MapValue::class;
protected $mapValueDataType = '';
protected $rowValueType = GoogleCloudDatapipelinesV1Row::class;
protected $rowValueDataType = '';
/**
* @param GoogleCloudDatapipelinesV1ArrayValue
*/
public function setArrayValue(GoogleCloudDatapipelinesV1ArrayValue $arrayValue)
{
$this->arrayValue = $arrayValue;
}
/**
* @return GoogleCloudDatapipelinesV1ArrayValue
*/
public function getArrayValue()
{
return $this->arrayValue;
}
/**
* @param GoogleCloudDatapipelinesV1AtomicValue
*/
public function setAtomicValue(GoogleCloudDatapipelinesV1AtomicValue $atomicValue)
{
$this->atomicValue = $atomicValue;
}
/**
* @return GoogleCloudDatapipelinesV1AtomicValue
*/
public function getAtomicValue()
{
return $this->atomicValue;
}
/**
* @param GoogleCloudDatapipelinesV1EnumerationValue
*/
public function setEnumValue(GoogleCloudDatapipelinesV1EnumerationValue $enumValue)
{
$this->enumValue = $enumValue;
}
/**
* @return GoogleCloudDatapipelinesV1EnumerationValue
*/
public function getEnumValue()
{
return $this->enumValue;
}
/**
* @param GoogleCloudDatapipelinesV1FixedBytesValue
*/
public function setFixedBytesValue(GoogleCloudDatapipelinesV1FixedBytesValue $fixedBytesValue)
{
$this->fixedBytesValue = $fixedBytesValue;
}
/**
* @return GoogleCloudDatapipelinesV1FixedBytesValue
*/
public function getFixedBytesValue()
{
return $this->fixedBytesValue;
}
/**
* @param GoogleCloudDatapipelinesV1IterableValue
*/
public function setIterableValue(GoogleCloudDatapipelinesV1IterableValue $iterableValue)
{
$this->iterableValue = $iterableValue;
}
/**
* @return GoogleCloudDatapipelinesV1IterableValue
*/
public function getIterableValue()
{
return $this->iterableValue;
}
/**
* @param GoogleCloudDatapipelinesV1MapValue
*/
public function setMapValue(GoogleCloudDatapipelinesV1MapValue $mapValue)
{
$this->mapValue = $mapValue;
}
/**
* @return GoogleCloudDatapipelinesV1MapValue
*/
public function getMapValue()
{
return $this->mapValue;
}
/**
* @param GoogleCloudDatapipelinesV1Row
*/
public function setRowValue(GoogleCloudDatapipelinesV1Row $rowValue)
{
$this->rowValue = $rowValue;
}
/**
* @return GoogleCloudDatapipelinesV1Row
*/
public function getRowValue()
{
return $this->rowValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1FieldValue::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1FieldValue');

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\Datapipelines;
class GoogleCloudDatapipelinesV1FixedBytesValue extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1FixedBytesValue::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1FixedBytesValue');

View File

@@ -0,0 +1,315 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment extends \Google\Collection
{
protected $collection_key = 'additionalExperiments';
/**
* @var string[]
*/
public $additionalExperiments;
/**
* @var string[]
*/
public $additionalUserLabels;
/**
* @var bool
*/
public $enableStreamingEngine;
/**
* @var string
*/
public $flexrsGoal;
/**
* @var string
*/
public $ipConfiguration;
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string
*/
public $machineType;
/**
* @var int
*/
public $maxWorkers;
/**
* @var string
*/
public $network;
/**
* @var int
*/
public $numWorkers;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $subnetwork;
/**
* @var string
*/
public $tempLocation;
/**
* @var string
*/
public $workerRegion;
/**
* @var string
*/
public $workerZone;
/**
* @var string
*/
public $zone;
/**
* @param string[]
*/
public function setAdditionalExperiments($additionalExperiments)
{
$this->additionalExperiments = $additionalExperiments;
}
/**
* @return string[]
*/
public function getAdditionalExperiments()
{
return $this->additionalExperiments;
}
/**
* @param string[]
*/
public function setAdditionalUserLabels($additionalUserLabels)
{
$this->additionalUserLabels = $additionalUserLabels;
}
/**
* @return string[]
*/
public function getAdditionalUserLabels()
{
return $this->additionalUserLabels;
}
/**
* @param bool
*/
public function setEnableStreamingEngine($enableStreamingEngine)
{
$this->enableStreamingEngine = $enableStreamingEngine;
}
/**
* @return bool
*/
public function getEnableStreamingEngine()
{
return $this->enableStreamingEngine;
}
/**
* @param string
*/
public function setFlexrsGoal($flexrsGoal)
{
$this->flexrsGoal = $flexrsGoal;
}
/**
* @return string
*/
public function getFlexrsGoal()
{
return $this->flexrsGoal;
}
/**
* @param string
*/
public function setIpConfiguration($ipConfiguration)
{
$this->ipConfiguration = $ipConfiguration;
}
/**
* @return string
*/
public function getIpConfiguration()
{
return $this->ipConfiguration;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param int
*/
public function setMaxWorkers($maxWorkers)
{
$this->maxWorkers = $maxWorkers;
}
/**
* @return int
*/
public function getMaxWorkers()
{
return $this->maxWorkers;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param int
*/
public function setNumWorkers($numWorkers)
{
$this->numWorkers = $numWorkers;
}
/**
* @return int
*/
public function getNumWorkers()
{
return $this->numWorkers;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param string
*/
public function setTempLocation($tempLocation)
{
$this->tempLocation = $tempLocation;
}
/**
* @return string
*/
public function getTempLocation()
{
return $this->tempLocation;
}
/**
* @param string
*/
public function setWorkerRegion($workerRegion)
{
$this->workerRegion = $workerRegion;
}
/**
* @return string
*/
public function getWorkerRegion()
{
return $this->workerRegion;
}
/**
* @param string
*/
public function setWorkerZone($workerZone)
{
$this->workerZone = $workerZone;
}
/**
* @return string
*/
public function getWorkerZone()
{
return $this->workerZone;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment');

View File

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

View File

@@ -0,0 +1,148 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1Job extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $dataflowJobDetailsType = GoogleCloudDatapipelinesV1DataflowJobDetails::class;
protected $dataflowJobDetailsDataType = '';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleCloudDatapipelinesV1DataflowJobDetails
*/
public function setDataflowJobDetails(GoogleCloudDatapipelinesV1DataflowJobDetails $dataflowJobDetails)
{
$this->dataflowJobDetails = $dataflowJobDetails;
}
/**
* @return GoogleCloudDatapipelinesV1DataflowJobDetails
*/
public function getDataflowJobDetails()
{
return $this->dataflowJobDetails;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Job::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Job');

View File

@@ -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\Datapipelines;
class GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter extends \Google\Model
{
/**
* @var string
*/
public $containerSpecGcsPath;
protected $environmentType = GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment::class;
protected $environmentDataType = '';
/**
* @var string
*/
public $jobName;
/**
* @var string[]
*/
public $launchOptions;
/**
* @var string[]
*/
public $parameters;
/**
* @var string[]
*/
public $transformNameMappings;
/**
* @var bool
*/
public $update;
/**
* @param string
*/
public function setContainerSpecGcsPath($containerSpecGcsPath)
{
$this->containerSpecGcsPath = $containerSpecGcsPath;
}
/**
* @return string
*/
public function getContainerSpecGcsPath()
{
return $this->containerSpecGcsPath;
}
/**
* @param GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment
*/
public function setEnvironment(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment $environment)
{
$this->environment = $environment;
}
/**
* @return GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setJobName($jobName)
{
$this->jobName = $jobName;
}
/**
* @return string
*/
public function getJobName()
{
return $this->jobName;
}
/**
* @param string[]
*/
public function setLaunchOptions($launchOptions)
{
$this->launchOptions = $launchOptions;
}
/**
* @return string[]
*/
public function getLaunchOptions()
{
return $this->launchOptions;
}
/**
* @param string[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return string[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string[]
*/
public function setTransformNameMappings($transformNameMappings)
{
$this->transformNameMappings = $transformNameMappings;
}
/**
* @return string[]
*/
public function getTransformNameMappings()
{
return $this->transformNameMappings;
}
/**
* @param bool
*/
public function setUpdate($update)
{
$this->update = $update;
}
/**
* @return bool
*/
public function getUpdate()
{
return $this->update;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter');

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\Datapipelines;
class GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest extends \Google\Model
{
protected $launchParameterType = GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter::class;
protected $launchParameterDataType = '';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $projectId;
/**
* @var bool
*/
public $validateOnly;
/**
* @param GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
*/
public function setLaunchParameter(GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter $launchParameter)
{
$this->launchParameter = $launchParameter;
}
/**
* @return GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
*/
public function getLaunchParameter()
{
return $this->launchParameter;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest');

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\Datapipelines;
class GoogleCloudDatapipelinesV1LaunchTemplateParameters extends \Google\Model
{
protected $environmentType = GoogleCloudDatapipelinesV1RuntimeEnvironment::class;
protected $environmentDataType = '';
/**
* @var string
*/
public $jobName;
/**
* @var string[]
*/
public $parameters;
/**
* @var string[]
*/
public $transformNameMapping;
/**
* @var bool
*/
public $update;
/**
* @param GoogleCloudDatapipelinesV1RuntimeEnvironment
*/
public function setEnvironment(GoogleCloudDatapipelinesV1RuntimeEnvironment $environment)
{
$this->environment = $environment;
}
/**
* @return GoogleCloudDatapipelinesV1RuntimeEnvironment
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setJobName($jobName)
{
$this->jobName = $jobName;
}
/**
* @return string
*/
public function getJobName()
{
return $this->jobName;
}
/**
* @param string[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return string[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string[]
*/
public function setTransformNameMapping($transformNameMapping)
{
$this->transformNameMapping = $transformNameMapping;
}
/**
* @return string[]
*/
public function getTransformNameMapping()
{
return $this->transformNameMapping;
}
/**
* @param bool
*/
public function setUpdate($update)
{
$this->update = $update;
}
/**
* @return bool
*/
public function getUpdate()
{
return $this->update;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LaunchTemplateParameters::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LaunchTemplateParameters');

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\Datapipelines;
class GoogleCloudDatapipelinesV1LaunchTemplateRequest extends \Google\Model
{
/**
* @var string
*/
public $gcsPath;
protected $launchParametersType = GoogleCloudDatapipelinesV1LaunchTemplateParameters::class;
protected $launchParametersDataType = '';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $projectId;
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setGcsPath($gcsPath)
{
$this->gcsPath = $gcsPath;
}
/**
* @return string
*/
public function getGcsPath()
{
return $this->gcsPath;
}
/**
* @param GoogleCloudDatapipelinesV1LaunchTemplateParameters
*/
public function setLaunchParameters(GoogleCloudDatapipelinesV1LaunchTemplateParameters $launchParameters)
{
$this->launchParameters = $launchParameters;
}
/**
* @return GoogleCloudDatapipelinesV1LaunchTemplateParameters
*/
public function getLaunchParameters()
{
return $this->launchParameters;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LaunchTemplateRequest::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LaunchTemplateRequest');

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\Datapipelines;
class GoogleCloudDatapipelinesV1ListJobsResponse extends \Google\Collection
{
protected $collection_key = 'jobs';
protected $jobsType = GoogleCloudDatapipelinesV1Job::class;
protected $jobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatapipelinesV1Job[]
*/
public function setJobs($jobs)
{
$this->jobs = $jobs;
}
/**
* @return GoogleCloudDatapipelinesV1Job[]
*/
public function getJobs()
{
return $this->jobs;
}
/**
* @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(GoogleCloudDatapipelinesV1ListJobsResponse::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ListJobsResponse');

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\Datapipelines;
class GoogleCloudDatapipelinesV1ListPipelinesResponse extends \Google\Collection
{
protected $collection_key = 'pipelines';
/**
* @var string
*/
public $nextPageToken;
protected $pipelinesType = GoogleCloudDatapipelinesV1Pipeline::class;
protected $pipelinesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudDatapipelinesV1Pipeline[]
*/
public function setPipelines($pipelines)
{
$this->pipelines = $pipelines;
}
/**
* @return GoogleCloudDatapipelinesV1Pipeline[]
*/
public function getPipelines()
{
return $this->pipelines;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1ListPipelinesResponse::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ListPipelinesResponse');

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\Datapipelines;
class GoogleCloudDatapipelinesV1LogicalType extends \Google\Model
{
protected $enumerationTypeType = GoogleCloudDatapipelinesV1LogicalTypeEnumerationType::class;
protected $enumerationTypeDataType = '';
protected $fixedBytesType = GoogleCloudDatapipelinesV1LogicalTypeFixedBytes::class;
protected $fixedBytesDataType = '';
/**
* @param GoogleCloudDatapipelinesV1LogicalTypeEnumerationType
*/
public function setEnumerationType(GoogleCloudDatapipelinesV1LogicalTypeEnumerationType $enumerationType)
{
$this->enumerationType = $enumerationType;
}
/**
* @return GoogleCloudDatapipelinesV1LogicalTypeEnumerationType
*/
public function getEnumerationType()
{
return $this->enumerationType;
}
/**
* @param GoogleCloudDatapipelinesV1LogicalTypeFixedBytes
*/
public function setFixedBytes(GoogleCloudDatapipelinesV1LogicalTypeFixedBytes $fixedBytes)
{
$this->fixedBytes = $fixedBytes;
}
/**
* @return GoogleCloudDatapipelinesV1LogicalTypeFixedBytes
*/
public function getFixedBytes()
{
return $this->fixedBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LogicalType::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LogicalType');

View File

@@ -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\Datapipelines;
class GoogleCloudDatapipelinesV1LogicalTypeEnumerationType extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LogicalTypeEnumerationType::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LogicalTypeEnumerationType');

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\Datapipelines;
class GoogleCloudDatapipelinesV1LogicalTypeFixedBytes extends \Google\Model
{
/**
* @var int
*/
public $sizeBytes;
/**
* @param int
*/
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
/**
* @return int
*/
public function getSizeBytes()
{
return $this->sizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1LogicalTypeFixedBytes::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1LogicalTypeFixedBytes');

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\Datapipelines;
class GoogleCloudDatapipelinesV1MapType extends \Google\Model
{
protected $mapKeyTypeType = GoogleCloudDatapipelinesV1FieldType::class;
protected $mapKeyTypeDataType = '';
protected $mapValueTypeType = GoogleCloudDatapipelinesV1FieldType::class;
protected $mapValueTypeDataType = '';
/**
* @param GoogleCloudDatapipelinesV1FieldType
*/
public function setMapKeyType(GoogleCloudDatapipelinesV1FieldType $mapKeyType)
{
$this->mapKeyType = $mapKeyType;
}
/**
* @return GoogleCloudDatapipelinesV1FieldType
*/
public function getMapKeyType()
{
return $this->mapKeyType;
}
/**
* @param GoogleCloudDatapipelinesV1FieldType
*/
public function setMapValueType(GoogleCloudDatapipelinesV1FieldType $mapValueType)
{
$this->mapValueType = $mapValueType;
}
/**
* @return GoogleCloudDatapipelinesV1FieldType
*/
public function getMapValueType()
{
return $this->mapValueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1MapType::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1MapType');

View File

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

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\Datapipelines;
class GoogleCloudDatapipelinesV1MapValueEntry extends \Google\Model
{
protected $keyType = GoogleCloudDatapipelinesV1FieldValue::class;
protected $keyDataType = '';
protected $valueType = GoogleCloudDatapipelinesV1FieldValue::class;
protected $valueDataType = '';
/**
* @param GoogleCloudDatapipelinesV1FieldValue
*/
public function setKey(GoogleCloudDatapipelinesV1FieldValue $key)
{
$this->key = $key;
}
/**
* @return GoogleCloudDatapipelinesV1FieldValue
*/
public function getKey()
{
return $this->key;
}
/**
* @param GoogleCloudDatapipelinesV1FieldValue
*/
public function setValue(GoogleCloudDatapipelinesV1FieldValue $value)
{
$this->value = $value;
}
/**
* @return GoogleCloudDatapipelinesV1FieldValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1MapValueEntry::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1MapValueEntry');

View File

@@ -0,0 +1,220 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1Pipeline extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var int
*/
public $jobCount;
/**
* @var string
*/
public $lastUpdateTime;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $pipelineSources;
protected $scheduleInfoType = GoogleCloudDatapipelinesV1ScheduleSpec::class;
protected $scheduleInfoDataType = '';
/**
* @var string
*/
public $schedulerServiceAccountEmail;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
protected $workloadType = GoogleCloudDatapipelinesV1Workload::class;
protected $workloadDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param int
*/
public function setJobCount($jobCount)
{
$this->jobCount = $jobCount;
}
/**
* @return int
*/
public function getJobCount()
{
return $this->jobCount;
}
/**
* @param string
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPipelineSources($pipelineSources)
{
$this->pipelineSources = $pipelineSources;
}
/**
* @return string[]
*/
public function getPipelineSources()
{
return $this->pipelineSources;
}
/**
* @param GoogleCloudDatapipelinesV1ScheduleSpec
*/
public function setScheduleInfo(GoogleCloudDatapipelinesV1ScheduleSpec $scheduleInfo)
{
$this->scheduleInfo = $scheduleInfo;
}
/**
* @return GoogleCloudDatapipelinesV1ScheduleSpec
*/
public function getScheduleInfo()
{
return $this->scheduleInfo;
}
/**
* @param string
*/
public function setSchedulerServiceAccountEmail($schedulerServiceAccountEmail)
{
$this->schedulerServiceAccountEmail = $schedulerServiceAccountEmail;
}
/**
* @return string
*/
public function getSchedulerServiceAccountEmail()
{
return $this->schedulerServiceAccountEmail;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param GoogleCloudDatapipelinesV1Workload
*/
public function setWorkload(GoogleCloudDatapipelinesV1Workload $workload)
{
$this->workload = $workload;
}
/**
* @return GoogleCloudDatapipelinesV1Workload
*/
public function getWorkload()
{
return $this->workload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Pipeline::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Pipeline');

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\Datapipelines;
class GoogleCloudDatapipelinesV1RawSchemaInfo extends \Google\Model
{
/**
* @var string
*/
public $rawSchema;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setRawSchema($rawSchema)
{
$this->rawSchema = $rawSchema;
}
/**
* @return string
*/
public function getRawSchema()
{
return $this->rawSchema;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1RawSchemaInfo::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1RawSchemaInfo');

View File

@@ -0,0 +1,59 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1Row extends \Google\Collection
{
protected $collection_key = 'values';
protected $schemaType = GoogleCloudDatapipelinesV1SchemaSource::class;
protected $schemaDataType = '';
protected $valuesType = GoogleCloudDatapipelinesV1FieldValue::class;
protected $valuesDataType = 'array';
/**
* @param GoogleCloudDatapipelinesV1SchemaSource
*/
public function setSchema(GoogleCloudDatapipelinesV1SchemaSource $schema)
{
$this->schema = $schema;
}
/**
* @return GoogleCloudDatapipelinesV1SchemaSource
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param GoogleCloudDatapipelinesV1FieldValue[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return GoogleCloudDatapipelinesV1FieldValue[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Row::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Row');

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\Datapipelines;
class GoogleCloudDatapipelinesV1RunPipelineRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1RunPipelineRequest::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1RunPipelineRequest');

View File

@@ -0,0 +1,42 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1RunPipelineResponse extends \Google\Model
{
protected $jobType = GoogleCloudDatapipelinesV1Job::class;
protected $jobDataType = '';
/**
* @param GoogleCloudDatapipelinesV1Job
*/
public function setJob(GoogleCloudDatapipelinesV1Job $job)
{
$this->job = $job;
}
/**
* @return GoogleCloudDatapipelinesV1Job
*/
public function getJob()
{
return $this->job;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1RunPipelineResponse::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1RunPipelineResponse');

View File

@@ -0,0 +1,315 @@
<?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\Datapipelines;
class GoogleCloudDatapipelinesV1RuntimeEnvironment extends \Google\Collection
{
protected $collection_key = 'additionalExperiments';
/**
* @var string[]
*/
public $additionalExperiments;
/**
* @var string[]
*/
public $additionalUserLabels;
/**
* @var bool
*/
public $bypassTempDirValidation;
/**
* @var bool
*/
public $enableStreamingEngine;
/**
* @var string
*/
public $ipConfiguration;
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string
*/
public $machineType;
/**
* @var int
*/
public $maxWorkers;
/**
* @var string
*/
public $network;
/**
* @var int
*/
public $numWorkers;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $subnetwork;
/**
* @var string
*/
public $tempLocation;
/**
* @var string
*/
public $workerRegion;
/**
* @var string
*/
public $workerZone;
/**
* @var string
*/
public $zone;
/**
* @param string[]
*/
public function setAdditionalExperiments($additionalExperiments)
{
$this->additionalExperiments = $additionalExperiments;
}
/**
* @return string[]
*/
public function getAdditionalExperiments()
{
return $this->additionalExperiments;
}
/**
* @param string[]
*/
public function setAdditionalUserLabels($additionalUserLabels)
{
$this->additionalUserLabels = $additionalUserLabels;
}
/**
* @return string[]
*/
public function getAdditionalUserLabels()
{
return $this->additionalUserLabels;
}
/**
* @param bool
*/
public function setBypassTempDirValidation($bypassTempDirValidation)
{
$this->bypassTempDirValidation = $bypassTempDirValidation;
}
/**
* @return bool
*/
public function getBypassTempDirValidation()
{
return $this->bypassTempDirValidation;
}
/**
* @param bool
*/
public function setEnableStreamingEngine($enableStreamingEngine)
{
$this->enableStreamingEngine = $enableStreamingEngine;
}
/**
* @return bool
*/
public function getEnableStreamingEngine()
{
return $this->enableStreamingEngine;
}
/**
* @param string
*/
public function setIpConfiguration($ipConfiguration)
{
$this->ipConfiguration = $ipConfiguration;
}
/**
* @return string
*/
public function getIpConfiguration()
{
return $this->ipConfiguration;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param int
*/
public function setMaxWorkers($maxWorkers)
{
$this->maxWorkers = $maxWorkers;
}
/**
* @return int
*/
public function getMaxWorkers()
{
return $this->maxWorkers;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param int
*/
public function setNumWorkers($numWorkers)
{
$this->numWorkers = $numWorkers;
}
/**
* @return int
*/
public function getNumWorkers()
{
return $this->numWorkers;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param string
*/
public function setTempLocation($tempLocation)
{
$this->tempLocation = $tempLocation;
}
/**
* @return string
*/
public function getTempLocation()
{
return $this->tempLocation;
}
/**
* @param string
*/
public function setWorkerRegion($workerRegion)
{
$this->workerRegion = $workerRegion;
}
/**
* @return string
*/
public function getWorkerRegion()
{
return $this->workerRegion;
}
/**
* @param string
*/
public function setWorkerZone($workerZone)
{
$this->workerZone = $workerZone;
}
/**
* @return string
*/
public function getWorkerZone()
{
return $this->workerZone;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1RuntimeEnvironment::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1RuntimeEnvironment');

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\Datapipelines;
class GoogleCloudDatapipelinesV1ScheduleSpec extends \Google\Model
{
/**
* @var string
*/
public $nextJobTime;
/**
* @var string
*/
public $schedule;
/**
* @var string
*/
public $timeZone;
/**
* @param string
*/
public function setNextJobTime($nextJobTime)
{
$this->nextJobTime = $nextJobTime;
}
/**
* @return string
*/
public function getNextJobTime()
{
return $this->nextJobTime;
}
/**
* @param string
*/
public function setSchedule($schedule)
{
$this->schedule = $schedule;
}
/**
* @return string
*/
public function getSchedule()
{
return $this->schedule;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1ScheduleSpec::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1ScheduleSpec');

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\Datapipelines;
class GoogleCloudDatapipelinesV1Schema extends \Google\Collection
{
protected $collection_key = 'fields';
protected $fieldsType = GoogleCloudDatapipelinesV1Field::class;
protected $fieldsDataType = 'array';
/**
* @var string
*/
public $referenceId;
/**
* @param GoogleCloudDatapipelinesV1Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleCloudDatapipelinesV1Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
/**
* @return string
*/
public function getReferenceId()
{
return $this->referenceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Schema::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Schema');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines;
class GoogleCloudDatapipelinesV1SchemaSource extends \Google\Model
{
protected $localSchemaType = GoogleCloudDatapipelinesV1Schema::class;
protected $localSchemaDataType = '';
/**
* @var string
*/
public $referenceId;
/**
* @param GoogleCloudDatapipelinesV1Schema
*/
public function setLocalSchema(GoogleCloudDatapipelinesV1Schema $localSchema)
{
$this->localSchema = $localSchema;
}
/**
* @return GoogleCloudDatapipelinesV1Schema
*/
public function getLocalSchema()
{
return $this->localSchema;
}
/**
* @param string
*/
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
/**
* @return string
*/
public function getReferenceId()
{
return $this->referenceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1SchemaSource::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1SchemaSource');

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\Datapipelines;
class GoogleCloudDatapipelinesV1SdkVersion extends \Google\Model
{
/**
* @var string
*/
public $sdkSupportStatus;
/**
* @var string
*/
public $version;
/**
* @var string
*/
public $versionDisplayName;
/**
* @param string
*/
public function setSdkSupportStatus($sdkSupportStatus)
{
$this->sdkSupportStatus = $sdkSupportStatus;
}
/**
* @return string
*/
public function getSdkSupportStatus()
{
return $this->sdkSupportStatus;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* @param string
*/
public function setVersionDisplayName($versionDisplayName)
{
$this->versionDisplayName = $versionDisplayName;
}
/**
* @return string
*/
public function getVersionDisplayName()
{
return $this->versionDisplayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1SdkVersion::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1SdkVersion');

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\Datapipelines;
class GoogleCloudDatapipelinesV1StopPipelineRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1StopPipelineRequest::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1StopPipelineRequest');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines;
class GoogleCloudDatapipelinesV1TransformDescription extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $optionsType = GoogleCloudDatapipelinesV1Schema::class;
protected $optionsDataType = '';
/**
* @var string
*/
public $uniformResourceName;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatapipelinesV1Schema
*/
public function setOptions(GoogleCloudDatapipelinesV1Schema $options)
{
$this->options = $options;
}
/**
* @return GoogleCloudDatapipelinesV1Schema
*/
public function getOptions()
{
return $this->options;
}
/**
* @param string
*/
public function setUniformResourceName($uniformResourceName)
{
$this->uniformResourceName = $uniformResourceName;
}
/**
* @return string
*/
public function getUniformResourceName()
{
return $this->uniformResourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1TransformDescription::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1TransformDescription');

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\Datapipelines;
class GoogleCloudDatapipelinesV1Workload extends \Google\Model
{
protected $dataflowFlexTemplateRequestType = GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest::class;
protected $dataflowFlexTemplateRequestDataType = '';
protected $dataflowLaunchTemplateRequestType = GoogleCloudDatapipelinesV1LaunchTemplateRequest::class;
protected $dataflowLaunchTemplateRequestDataType = '';
/**
* @param GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
*/
public function setDataflowFlexTemplateRequest(GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest $dataflowFlexTemplateRequest)
{
$this->dataflowFlexTemplateRequest = $dataflowFlexTemplateRequest;
}
/**
* @return GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
*/
public function getDataflowFlexTemplateRequest()
{
return $this->dataflowFlexTemplateRequest;
}
/**
* @param GoogleCloudDatapipelinesV1LaunchTemplateRequest
*/
public function setDataflowLaunchTemplateRequest(GoogleCloudDatapipelinesV1LaunchTemplateRequest $dataflowLaunchTemplateRequest)
{
$this->dataflowLaunchTemplateRequest = $dataflowLaunchTemplateRequest;
}
/**
* @return GoogleCloudDatapipelinesV1LaunchTemplateRequest
*/
public function getDataflowLaunchTemplateRequest()
{
return $this->dataflowLaunchTemplateRequest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatapipelinesV1Workload::class, 'Google_Service_Datapipelines_GoogleCloudDatapipelinesV1Workload');

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\Datapipelines;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_Datapipelines_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\Datapipelines;
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_Datapipelines_GoogleRpcStatus');

View File

@@ -0,0 +1,186 @@
<?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\Datapipelines;
class GoogleTypeDateTime extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $hours;
/**
* @var int
*/
public $minutes;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $nanos;
/**
* @var int
*/
public $seconds;
protected $timeZoneType = GoogleTypeTimeZone::class;
protected $timeZoneDataType = '';
/**
* @var string
*/
public $utcOffset;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* @param int
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param int
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
/**
* @param GoogleTypeTimeZone
*/
public function setTimeZone(GoogleTypeTimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return GoogleTypeTimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @param string
*/
public function setUtcOffset($utcOffset)
{
$this->utcOffset = $utcOffset;
}
/**
* @return string
*/
public function getUtcOffset()
{
return $this->utcOffset;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDateTime::class, 'Google_Service_Datapipelines_GoogleTypeDateTime');

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\Datapipelines;
class GoogleTypeDecimal extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDecimal::class, 'Google_Service_Datapipelines_GoogleTypeDecimal');

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\Datapipelines;
class GoogleTypeTimeZone extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeTimeZone::class, 'Google_Service_Datapipelines_GoogleTypeTimeZone');

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\Datapipelines\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datapipelinesService = new Google\Service\Datapipelines(...);
* $projects = $datapipelinesService->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_Datapipelines_Resource_Projects');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datapipelinesService = new Google\Service\Datapipelines(...);
* $locations = $datapipelinesService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Datapipelines_Resource_ProjectsLocations');

View File

@@ -0,0 +1,195 @@
<?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\Datapipelines\Resource;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1ListPipelinesResponse;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1Pipeline;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1RunPipelineRequest;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1RunPipelineResponse;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1StopPipelineRequest;
use Google\Service\Datapipelines\GoogleProtobufEmpty;
/**
* The "pipelines" collection of methods.
* Typical usage is:
* <code>
* $datapipelinesService = new Google\Service\Datapipelines(...);
* $pipelines = $datapipelinesService->projects_locations_pipelines;
* </code>
*/
class ProjectsLocationsPipelines extends \Google\Service\Resource
{
/**
* Creates a pipeline. For a batch pipeline, you can pass scheduler information.
* Data Pipelines uses the scheduler information to create an internal scheduler
* that runs jobs periodically. If the internal scheduler is not configured, you
* can use RunPipeline to run jobs. (pipelines.create)
*
* @param string $parent Required. The location name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID`.
* @param GoogleCloudDatapipelinesV1Pipeline $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatapipelinesV1Pipeline
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudDatapipelinesV1Pipeline $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudDatapipelinesV1Pipeline::class);
}
/**
* Deletes a pipeline. If a scheduler job is attached to the pipeline, it will
* be deleted. (pipelines.delete)
*
* @param string $name Required. The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
* @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);
}
/**
* Looks up a single pipeline. Returns a "NOT_FOUND" error if no such pipeline
* exists. Returns a "FORBIDDEN" error if the caller doesn't have permission to
* access it. (pipelines.get)
*
* @param string $name Required. The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
* @param array $optParams Optional parameters.
* @return GoogleCloudDatapipelinesV1Pipeline
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatapipelinesV1Pipeline::class);
}
/**
* Lists pipelines. Returns a "FORBIDDEN" error if the caller doesn't have
* permission to access it. (pipelines.listProjectsLocationsPipelines)
*
* @param string $parent Required. The location name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter An expression for filtering the results of the
* request. If unspecified, all pipelines will be returned. Multiple filters can
* be applied and must be comma separated. Fields eligible for filtering are: +
* `type`: The type of the pipeline (streaming or batch). Allowed values are
* `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the
* pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For
* example, to limit results to active batch processing pipelines:
* type:BATCH,status:ACTIVE
* @opt_param int pageSize The maximum number of entities to return. The service
* may return fewer than this value, even if there are additional pages. If
* unspecified, the max limit is yet to be determined by the backend
* implementation.
* @opt_param string pageToken A page token, received from a previous
* `ListPipelines` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPipelines` must match the
* call that provided the page token.
* @return GoogleCloudDatapipelinesV1ListPipelinesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPipelines($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudDatapipelinesV1ListPipelinesResponse::class);
}
/**
* Updates a pipeline. If successful, the updated Pipeline is returned. Returns
* `NOT_FOUND` if the pipeline doesn't exist. If UpdatePipeline does not return
* successfully, you can retry the UpdatePipeline request until you receive a
* successful response. (pipelines.patch)
*
* @param string $name The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. *
* `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-),
* colons (:), and periods (.). For more information, see [Identifying
* projects](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects#identifying_projects). * `LOCATION_ID` is the canonical ID for the
* pipeline's location. The list of available locations can be obtained by
* calling `google.cloud.location.Locations.ListLocations`. Note that the Data
* Pipelines service is not available in all regions. It depends on Cloud
* Scheduler, an App Engine application, so it's only available in [App Engine
* regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is
* the ID of the pipeline. Must be unique for the selected project and location.
* @param GoogleCloudDatapipelinesV1Pipeline $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to be updated.
* @return GoogleCloudDatapipelinesV1Pipeline
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudDatapipelinesV1Pipeline $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudDatapipelinesV1Pipeline::class);
}
/**
* Creates a job for the specified pipeline directly. You can use this method
* when the internal scheduler is not configured and you want to trigger the job
* directly or through an external system. Returns a "NOT_FOUND" error if the
* pipeline doesn't exist. Returns a "FORBIDDEN" error if the user doesn't have
* permission to access the pipeline or run jobs for the pipeline.
* (pipelines.run)
*
* @param string $name Required. The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
* @param GoogleCloudDatapipelinesV1RunPipelineRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatapipelinesV1RunPipelineResponse
* @throws \Google\Service\Exception
*/
public function run($name, GoogleCloudDatapipelinesV1RunPipelineRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('run', [$params], GoogleCloudDatapipelinesV1RunPipelineResponse::class);
}
/**
* Freezes pipeline execution permanently. If there's a corresponding scheduler
* entry, it's deleted, and the pipeline state is changed to "ARCHIVED".
* However, pipeline metadata is retained. (pipelines.stop)
*
* @param string $name Required. The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
* @param GoogleCloudDatapipelinesV1StopPipelineRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudDatapipelinesV1Pipeline
* @throws \Google\Service\Exception
*/
public function stop($name, GoogleCloudDatapipelinesV1StopPipelineRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params], GoogleCloudDatapipelinesV1Pipeline::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPipelines::class, 'Google_Service_Datapipelines_Resource_ProjectsLocationsPipelines');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Datapipelines\Resource;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1ListJobsResponse;
/**
* The "jobs" collection of methods.
* Typical usage is:
* <code>
* $datapipelinesService = new Google\Service\Datapipelines(...);
* $jobs = $datapipelinesService->projects_locations_pipelines_jobs;
* </code>
*/
class ProjectsLocationsPipelinesJobs extends \Google\Service\Resource
{
/**
* Lists jobs for a given pipeline. Throws a "FORBIDDEN" error if the caller
* doesn't have permission to access it.
* (jobs.listProjectsLocationsPipelinesJobs)
*
* @param string $parent Required. The pipeline name. For example:
* `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of entities to return. The service
* may return fewer than this value, even if there are additional pages. If
* unspecified, the max limit will be determined by the backend implementation.
* @opt_param string pageToken A page token, received from a previous `ListJobs`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListJobs` must match the call that provided the
* page token.
* @return GoogleCloudDatapipelinesV1ListJobsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPipelinesJobs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudDatapipelinesV1ListJobsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPipelinesJobs::class, 'Google_Service_Datapipelines_Resource_ProjectsLocationsPipelinesJobs');

View File

@@ -0,0 +1,73 @@
<?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\Datapipelines\Resource;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse;
use Google\Service\Datapipelines\GoogleCloudDatapipelinesV1TransformDescription;
/**
* The "transformDescriptions" collection of methods.
* Typical usage is:
* <code>
* $datapipelinesService = new Google\Service\Datapipelines(...);
* $transformDescriptions = $datapipelinesService->transformDescriptions;
* </code>
*/
class ProjectsLocationsTransformDescriptions extends \Google\Service\Resource
{
/**
* Gets transform descriptions in a batch, associated with a list of provided
* uniform resource names. (transformDescriptions.batchGet)
*
* @param string $parent Required. The project and location shared by all
* transform descriptions being retrieved, formatted as
* "projects/{project}/locations/{location}".
* @param array $optParams Optional parameters.
*
* @opt_param string names Optional. The names of the transform descriptions
* being retrieved, formatted as "projects/{project}/locations/{location}/transf
* ormdescriptions/{transform_description}". If no name is provided, all of the
* transform descriptions will be returned.
* @return GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse::class);
}
/**
* Gets the transform description associated with the provided uniform resource
* name. (transformDescriptions.get)
*
* @param string $name Required. The full name formatted as "projects/{your-
* project}/locations/{google-cloud-region}/transformdescriptions/{uniform-
* resource-name}".
* @param array $optParams Optional parameters.
* @return GoogleCloudDatapipelinesV1TransformDescription
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudDatapipelinesV1TransformDescription::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsTransformDescriptions::class, 'Google_Service_Datapipelines_Resource_ProjectsLocationsTransformDescriptions');