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
@@ -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\CloudComposer;
class AirflowMetadataRetentionPolicyConfig extends \Google\Model
{
/**
* @var int
*/
public $retentionDays;
/**
* @var string
*/
public $retentionMode;
/**
* @param int
*/
public function setRetentionDays($retentionDays)
{
$this->retentionDays = $retentionDays;
}
/**
* @return int
*/
public function getRetentionDays()
{
return $this->retentionDays;
}
/**
* @param string
*/
public function setRetentionMode($retentionMode)
{
$this->retentionMode = $retentionMode;
}
/**
* @return string
*/
public function getRetentionMode()
{
return $this->retentionMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AirflowMetadataRetentionPolicyConfig::class, 'Google_Service_CloudComposer_AirflowMetadataRetentionPolicyConfig');
@@ -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\CloudComposer;
class AllowedIpRange extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @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(AllowedIpRange::class, 'Google_Service_CloudComposer_AllowedIpRange');
@@ -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\CloudComposer;
class CheckUpgradeRequest extends \Google\Model
{
/**
* @var string
*/
public $imageVersion;
/**
* @param string
*/
public function setImageVersion($imageVersion)
{
$this->imageVersion = $imageVersion;
}
/**
* @return string
*/
public function getImageVersion()
{
return $this->imageVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckUpgradeRequest::class, 'Google_Service_CloudComposer_CheckUpgradeRequest');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class CheckUpgradeResponse extends \Google\Model
{
/**
* @var string
*/
public $buildLogUri;
/**
* @var string
*/
public $containsPypiModulesConflict;
/**
* @var string
*/
public $imageVersion;
/**
* @var string
*/
public $pypiConflictBuildLogExtract;
/**
* @var string[]
*/
public $pypiDependencies;
/**
* @param string
*/
public function setBuildLogUri($buildLogUri)
{
$this->buildLogUri = $buildLogUri;
}
/**
* @return string
*/
public function getBuildLogUri()
{
return $this->buildLogUri;
}
/**
* @param string
*/
public function setContainsPypiModulesConflict($containsPypiModulesConflict)
{
$this->containsPypiModulesConflict = $containsPypiModulesConflict;
}
/**
* @return string
*/
public function getContainsPypiModulesConflict()
{
return $this->containsPypiModulesConflict;
}
/**
* @param string
*/
public function setImageVersion($imageVersion)
{
$this->imageVersion = $imageVersion;
}
/**
* @return string
*/
public function getImageVersion()
{
return $this->imageVersion;
}
/**
* @param string
*/
public function setPypiConflictBuildLogExtract($pypiConflictBuildLogExtract)
{
$this->pypiConflictBuildLogExtract = $pypiConflictBuildLogExtract;
}
/**
* @return string
*/
public function getPypiConflictBuildLogExtract()
{
return $this->pypiConflictBuildLogExtract;
}
/**
* @param string[]
*/
public function setPypiDependencies($pypiDependencies)
{
$this->pypiDependencies = $pypiDependencies;
}
/**
* @return string[]
*/
public function getPypiDependencies()
{
return $this->pypiDependencies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckUpgradeResponse::class, 'Google_Service_CloudComposer_CheckUpgradeResponse');
@@ -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\CloudComposer;
class CidrBlock extends \Google\Model
{
/**
* @var string
*/
public $cidrBlock;
/**
* @var string
*/
public $displayName;
/**
* @param string
*/
public function setCidrBlock($cidrBlock)
{
$this->cidrBlock = $cidrBlock;
}
/**
* @return string
*/
public function getCidrBlock()
{
return $this->cidrBlock;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CidrBlock::class, 'Google_Service_CloudComposer_CidrBlock');
@@ -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\CloudComposer;
class CloudDataLineageIntegration extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudDataLineageIntegration::class, 'Google_Service_CloudComposer_CloudDataLineageIntegration');
@@ -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\CloudComposer;
class ComposerEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComposerEmpty::class, 'Google_Service_CloudComposer_ComposerEmpty');
@@ -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\CloudComposer;
class ComposerWorkload extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $statusType = ComposerWorkloadStatus::class;
protected $statusDataType = '';
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ComposerWorkloadStatus
*/
public function setStatus(ComposerWorkloadStatus $status)
{
$this->status = $status;
}
/**
* @return ComposerWorkloadStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @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(ComposerWorkload::class, 'Google_Service_CloudComposer_ComposerWorkload');
@@ -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\CloudComposer;
class ComposerWorkloadStatus extends \Google\Model
{
/**
* @var string
*/
public $detailedStatusMessage;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $statusMessage;
/**
* @param string
*/
public function setDetailedStatusMessage($detailedStatusMessage)
{
$this->detailedStatusMessage = $detailedStatusMessage;
}
/**
* @return string
*/
public function getDetailedStatusMessage()
{
return $this->detailedStatusMessage;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComposerWorkloadStatus::class, 'Google_Service_CloudComposer_ComposerWorkloadStatus');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class DagProcessorResource extends \Google\Model
{
/**
* @var int
*/
public $count;
/**
* @var float
*/
public $cpu;
/**
* @var float
*/
public $memoryGb;
/**
* @var float
*/
public $storageGb;
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* @param float
*/
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
/**
* @return float
*/
public function getCpu()
{
return $this->cpu;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param float
*/
public function setStorageGb($storageGb)
{
$this->storageGb = $storageGb;
}
/**
* @return float
*/
public function getStorageGb()
{
return $this->storageGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DagProcessorResource::class, 'Google_Service_CloudComposer_DagProcessorResource');
@@ -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\CloudComposer;
class DataRetentionConfig extends \Google\Model
{
protected $airflowMetadataRetentionConfigType = AirflowMetadataRetentionPolicyConfig::class;
protected $airflowMetadataRetentionConfigDataType = '';
protected $taskLogsRetentionConfigType = TaskLogsRetentionConfig::class;
protected $taskLogsRetentionConfigDataType = '';
/**
* @param AirflowMetadataRetentionPolicyConfig
*/
public function setAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig $airflowMetadataRetentionConfig)
{
$this->airflowMetadataRetentionConfig = $airflowMetadataRetentionConfig;
}
/**
* @return AirflowMetadataRetentionPolicyConfig
*/
public function getAirflowMetadataRetentionConfig()
{
return $this->airflowMetadataRetentionConfig;
}
/**
* @param TaskLogsRetentionConfig
*/
public function setTaskLogsRetentionConfig(TaskLogsRetentionConfig $taskLogsRetentionConfig)
{
$this->taskLogsRetentionConfig = $taskLogsRetentionConfig;
}
/**
* @return TaskLogsRetentionConfig
*/
public function getTaskLogsRetentionConfig()
{
return $this->taskLogsRetentionConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataRetentionConfig::class, 'Google_Service_CloudComposer_DataRetentionConfig');
@@ -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\CloudComposer;
class DatabaseConfig extends \Google\Model
{
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @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(DatabaseConfig::class, 'Google_Service_CloudComposer_DatabaseConfig');
@@ -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\CloudComposer;
class DatabaseFailoverRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseFailoverRequest::class, 'Google_Service_CloudComposer_DatabaseFailoverRequest');
@@ -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\CloudComposer;
class DatabaseFailoverResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseFailoverResponse::class, 'Google_Service_CloudComposer_DatabaseFailoverResponse');
@@ -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\CloudComposer;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @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 setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @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(Date::class, 'Google_Service_CloudComposer_Date');
@@ -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\CloudComposer;
class EncryptionConfig extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionConfig::class, 'Google_Service_CloudComposer_EncryptionConfig');
@@ -0,0 +1,202 @@
<?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\CloudComposer;
class Environment extends \Google\Model
{
protected $configType = EnvironmentConfig::class;
protected $configDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $state;
protected $storageConfigType = StorageConfig::class;
protected $storageConfigDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $uuid;
/**
* @param EnvironmentConfig
*/
public function setConfig(EnvironmentConfig $config)
{
$this->config = $config;
}
/**
* @return EnvironmentConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StorageConfig
*/
public function setStorageConfig(StorageConfig $storageConfig)
{
$this->storageConfig = $storageConfig;
}
/**
* @return StorageConfig
*/
public function getStorageConfig()
{
return $this->storageConfig;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setUuid($uuid)
{
$this->uuid = $uuid;
}
/**
* @return string
*/
public function getUuid()
{
return $this->uuid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Environment::class, 'Google_Service_CloudComposer_Environment');
@@ -0,0 +1,344 @@
<?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\CloudComposer;
class EnvironmentConfig extends \Google\Model
{
/**
* @var string
*/
public $airflowByoidUri;
/**
* @var string
*/
public $airflowUri;
/**
* @var string
*/
public $dagGcsPrefix;
protected $dataRetentionConfigType = DataRetentionConfig::class;
protected $dataRetentionConfigDataType = '';
protected $databaseConfigType = DatabaseConfig::class;
protected $databaseConfigDataType = '';
protected $encryptionConfigType = EncryptionConfig::class;
protected $encryptionConfigDataType = '';
/**
* @var string
*/
public $environmentSize;
/**
* @var string
*/
public $gkeCluster;
protected $maintenanceWindowType = MaintenanceWindow::class;
protected $maintenanceWindowDataType = '';
protected $masterAuthorizedNetworksConfigType = MasterAuthorizedNetworksConfig::class;
protected $masterAuthorizedNetworksConfigDataType = '';
protected $nodeConfigType = NodeConfig::class;
protected $nodeConfigDataType = '';
/**
* @var int
*/
public $nodeCount;
protected $privateEnvironmentConfigType = PrivateEnvironmentConfig::class;
protected $privateEnvironmentConfigDataType = '';
protected $recoveryConfigType = RecoveryConfig::class;
protected $recoveryConfigDataType = '';
/**
* @var string
*/
public $resilienceMode;
protected $softwareConfigType = SoftwareConfig::class;
protected $softwareConfigDataType = '';
protected $webServerConfigType = WebServerConfig::class;
protected $webServerConfigDataType = '';
protected $webServerNetworkAccessControlType = WebServerNetworkAccessControl::class;
protected $webServerNetworkAccessControlDataType = '';
protected $workloadsConfigType = WorkloadsConfig::class;
protected $workloadsConfigDataType = '';
/**
* @param string
*/
public function setAirflowByoidUri($airflowByoidUri)
{
$this->airflowByoidUri = $airflowByoidUri;
}
/**
* @return string
*/
public function getAirflowByoidUri()
{
return $this->airflowByoidUri;
}
/**
* @param string
*/
public function setAirflowUri($airflowUri)
{
$this->airflowUri = $airflowUri;
}
/**
* @return string
*/
public function getAirflowUri()
{
return $this->airflowUri;
}
/**
* @param string
*/
public function setDagGcsPrefix($dagGcsPrefix)
{
$this->dagGcsPrefix = $dagGcsPrefix;
}
/**
* @return string
*/
public function getDagGcsPrefix()
{
return $this->dagGcsPrefix;
}
/**
* @param DataRetentionConfig
*/
public function setDataRetentionConfig(DataRetentionConfig $dataRetentionConfig)
{
$this->dataRetentionConfig = $dataRetentionConfig;
}
/**
* @return DataRetentionConfig
*/
public function getDataRetentionConfig()
{
return $this->dataRetentionConfig;
}
/**
* @param DatabaseConfig
*/
public function setDatabaseConfig(DatabaseConfig $databaseConfig)
{
$this->databaseConfig = $databaseConfig;
}
/**
* @return DatabaseConfig
*/
public function getDatabaseConfig()
{
return $this->databaseConfig;
}
/**
* @param EncryptionConfig
*/
public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
/**
* @param string
*/
public function setEnvironmentSize($environmentSize)
{
$this->environmentSize = $environmentSize;
}
/**
* @return string
*/
public function getEnvironmentSize()
{
return $this->environmentSize;
}
/**
* @param string
*/
public function setGkeCluster($gkeCluster)
{
$this->gkeCluster = $gkeCluster;
}
/**
* @return string
*/
public function getGkeCluster()
{
return $this->gkeCluster;
}
/**
* @param MaintenanceWindow
*/
public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
{
$this->maintenanceWindow = $maintenanceWindow;
}
/**
* @return MaintenanceWindow
*/
public function getMaintenanceWindow()
{
return $this->maintenanceWindow;
}
/**
* @param MasterAuthorizedNetworksConfig
*/
public function setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig $masterAuthorizedNetworksConfig)
{
$this->masterAuthorizedNetworksConfig = $masterAuthorizedNetworksConfig;
}
/**
* @return MasterAuthorizedNetworksConfig
*/
public function getMasterAuthorizedNetworksConfig()
{
return $this->masterAuthorizedNetworksConfig;
}
/**
* @param NodeConfig
*/
public function setNodeConfig(NodeConfig $nodeConfig)
{
$this->nodeConfig = $nodeConfig;
}
/**
* @return NodeConfig
*/
public function getNodeConfig()
{
return $this->nodeConfig;
}
/**
* @param int
*/
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
/**
* @return int
*/
public function getNodeCount()
{
return $this->nodeCount;
}
/**
* @param PrivateEnvironmentConfig
*/
public function setPrivateEnvironmentConfig(PrivateEnvironmentConfig $privateEnvironmentConfig)
{
$this->privateEnvironmentConfig = $privateEnvironmentConfig;
}
/**
* @return PrivateEnvironmentConfig
*/
public function getPrivateEnvironmentConfig()
{
return $this->privateEnvironmentConfig;
}
/**
* @param RecoveryConfig
*/
public function setRecoveryConfig(RecoveryConfig $recoveryConfig)
{
$this->recoveryConfig = $recoveryConfig;
}
/**
* @return RecoveryConfig
*/
public function getRecoveryConfig()
{
return $this->recoveryConfig;
}
/**
* @param string
*/
public function setResilienceMode($resilienceMode)
{
$this->resilienceMode = $resilienceMode;
}
/**
* @return string
*/
public function getResilienceMode()
{
return $this->resilienceMode;
}
/**
* @param SoftwareConfig
*/
public function setSoftwareConfig(SoftwareConfig $softwareConfig)
{
$this->softwareConfig = $softwareConfig;
}
/**
* @return SoftwareConfig
*/
public function getSoftwareConfig()
{
return $this->softwareConfig;
}
/**
* @param WebServerConfig
*/
public function setWebServerConfig(WebServerConfig $webServerConfig)
{
$this->webServerConfig = $webServerConfig;
}
/**
* @return WebServerConfig
*/
public function getWebServerConfig()
{
return $this->webServerConfig;
}
/**
* @param WebServerNetworkAccessControl
*/
public function setWebServerNetworkAccessControl(WebServerNetworkAccessControl $webServerNetworkAccessControl)
{
$this->webServerNetworkAccessControl = $webServerNetworkAccessControl;
}
/**
* @return WebServerNetworkAccessControl
*/
public function getWebServerNetworkAccessControl()
{
return $this->webServerNetworkAccessControl;
}
/**
* @param WorkloadsConfig
*/
public function setWorkloadsConfig(WorkloadsConfig $workloadsConfig)
{
$this->workloadsConfig = $workloadsConfig;
}
/**
* @return WorkloadsConfig
*/
public function getWorkloadsConfig()
{
return $this->workloadsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvironmentConfig::class, 'Google_Service_CloudComposer_EnvironmentConfig');
@@ -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\CloudComposer;
class ExecuteAirflowCommandRequest extends \Google\Collection
{
protected $collection_key = 'parameters';
/**
* @var string
*/
public $command;
/**
* @var string[]
*/
public $parameters;
/**
* @var string
*/
public $subcommand;
/**
* @param string
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string
*/
public function getCommand()
{
return $this->command;
}
/**
* @param string[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return string[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string
*/
public function setSubcommand($subcommand)
{
$this->subcommand = $subcommand;
}
/**
* @return string
*/
public function getSubcommand()
{
return $this->subcommand;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteAirflowCommandRequest::class, 'Google_Service_CloudComposer_ExecuteAirflowCommandRequest');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class ExecuteAirflowCommandResponse extends \Google\Model
{
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $executionId;
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $podNamespace;
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setPodNamespace($podNamespace)
{
$this->podNamespace = $podNamespace;
}
/**
* @return string
*/
public function getPodNamespace()
{
return $this->podNamespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteAirflowCommandResponse::class, 'Google_Service_CloudComposer_ExecuteAirflowCommandResponse');
@@ -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\CloudComposer;
class ExitInfo extends \Google\Model
{
/**
* @var string
*/
public $error;
/**
* @var int
*/
public $exitCode;
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param int
*/
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
/**
* @return int
*/
public function getExitCode()
{
return $this->exitCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExitInfo::class, 'Google_Service_CloudComposer_ExitInfo');
@@ -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\CloudComposer;
class FetchDatabasePropertiesResponse extends \Google\Model
{
/**
* @var bool
*/
public $isFailoverReplicaAvailable;
/**
* @var string
*/
public $primaryGceZone;
/**
* @var string
*/
public $secondaryGceZone;
/**
* @param bool
*/
public function setIsFailoverReplicaAvailable($isFailoverReplicaAvailable)
{
$this->isFailoverReplicaAvailable = $isFailoverReplicaAvailable;
}
/**
* @return bool
*/
public function getIsFailoverReplicaAvailable()
{
return $this->isFailoverReplicaAvailable;
}
/**
* @param string
*/
public function setPrimaryGceZone($primaryGceZone)
{
$this->primaryGceZone = $primaryGceZone;
}
/**
* @return string
*/
public function getPrimaryGceZone()
{
return $this->primaryGceZone;
}
/**
* @param string
*/
public function setSecondaryGceZone($secondaryGceZone)
{
$this->secondaryGceZone = $secondaryGceZone;
}
/**
* @return string
*/
public function getSecondaryGceZone()
{
return $this->secondaryGceZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchDatabasePropertiesResponse::class, 'Google_Service_CloudComposer_FetchDatabasePropertiesResponse');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class IPAllocationPolicy extends \Google\Model
{
/**
* @var string
*/
public $clusterIpv4CidrBlock;
/**
* @var string
*/
public $clusterSecondaryRangeName;
/**
* @var string
*/
public $servicesIpv4CidrBlock;
/**
* @var string
*/
public $servicesSecondaryRangeName;
/**
* @var bool
*/
public $useIpAliases;
/**
* @param string
*/
public function setClusterIpv4CidrBlock($clusterIpv4CidrBlock)
{
$this->clusterIpv4CidrBlock = $clusterIpv4CidrBlock;
}
/**
* @return string
*/
public function getClusterIpv4CidrBlock()
{
return $this->clusterIpv4CidrBlock;
}
/**
* @param string
*/
public function setClusterSecondaryRangeName($clusterSecondaryRangeName)
{
$this->clusterSecondaryRangeName = $clusterSecondaryRangeName;
}
/**
* @return string
*/
public function getClusterSecondaryRangeName()
{
return $this->clusterSecondaryRangeName;
}
/**
* @param string
*/
public function setServicesIpv4CidrBlock($servicesIpv4CidrBlock)
{
$this->servicesIpv4CidrBlock = $servicesIpv4CidrBlock;
}
/**
* @return string
*/
public function getServicesIpv4CidrBlock()
{
return $this->servicesIpv4CidrBlock;
}
/**
* @param string
*/
public function setServicesSecondaryRangeName($servicesSecondaryRangeName)
{
$this->servicesSecondaryRangeName = $servicesSecondaryRangeName;
}
/**
* @return string
*/
public function getServicesSecondaryRangeName()
{
return $this->servicesSecondaryRangeName;
}
/**
* @param bool
*/
public function setUseIpAliases($useIpAliases)
{
$this->useIpAliases = $useIpAliases;
}
/**
* @return bool
*/
public function getUseIpAliases()
{
return $this->useIpAliases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IPAllocationPolicy::class, 'Google_Service_CloudComposer_IPAllocationPolicy');
@@ -0,0 +1,133 @@
<?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\CloudComposer;
class ImageVersion extends \Google\Collection
{
protected $collection_key = 'supportedPythonVersions';
/**
* @var bool
*/
public $creationDisabled;
/**
* @var string
*/
public $imageVersionId;
/**
* @var bool
*/
public $isDefault;
protected $releaseDateType = Date::class;
protected $releaseDateDataType = '';
/**
* @var string[]
*/
public $supportedPythonVersions;
/**
* @var bool
*/
public $upgradeDisabled;
/**
* @param bool
*/
public function setCreationDisabled($creationDisabled)
{
$this->creationDisabled = $creationDisabled;
}
/**
* @return bool
*/
public function getCreationDisabled()
{
return $this->creationDisabled;
}
/**
* @param string
*/
public function setImageVersionId($imageVersionId)
{
$this->imageVersionId = $imageVersionId;
}
/**
* @return string
*/
public function getImageVersionId()
{
return $this->imageVersionId;
}
/**
* @param bool
*/
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
/**
* @return bool
*/
public function getIsDefault()
{
return $this->isDefault;
}
/**
* @param Date
*/
public function setReleaseDate(Date $releaseDate)
{
$this->releaseDate = $releaseDate;
}
/**
* @return Date
*/
public function getReleaseDate()
{
return $this->releaseDate;
}
/**
* @param string[]
*/
public function setSupportedPythonVersions($supportedPythonVersions)
{
$this->supportedPythonVersions = $supportedPythonVersions;
}
/**
* @return string[]
*/
public function getSupportedPythonVersions()
{
return $this->supportedPythonVersions;
}
/**
* @param bool
*/
public function setUpgradeDisabled($upgradeDisabled)
{
$this->upgradeDisabled = $upgradeDisabled;
}
/**
* @return bool
*/
public function getUpgradeDisabled()
{
return $this->upgradeDisabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImageVersion::class, 'Google_Service_CloudComposer_ImageVersion');
@@ -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\CloudComposer;
class Line extends \Google\Model
{
/**
* @var string
*/
public $content;
/**
* @var int
*/
public $lineNumber;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param int
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return int
*/
public function getLineNumber()
{
return $this->lineNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Line::class, 'Google_Service_CloudComposer_Line');
@@ -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\CloudComposer;
class ListEnvironmentsResponse extends \Google\Collection
{
protected $collection_key = 'environments';
protected $environmentsType = Environment::class;
protected $environmentsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Environment[]
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return Environment[]
*/
public function getEnvironments()
{
return $this->environments;
}
/**
* @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(ListEnvironmentsResponse::class, 'Google_Service_CloudComposer_ListEnvironmentsResponse');
@@ -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\CloudComposer;
class ListImageVersionsResponse extends \Google\Collection
{
protected $collection_key = 'imageVersions';
protected $imageVersionsType = ImageVersion::class;
protected $imageVersionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param ImageVersion[]
*/
public function setImageVersions($imageVersions)
{
$this->imageVersions = $imageVersions;
}
/**
* @return ImageVersion[]
*/
public function getImageVersions()
{
return $this->imageVersions;
}
/**
* @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(ListImageVersionsResponse::class, 'Google_Service_CloudComposer_ListImageVersionsResponse');
@@ -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\CloudComposer;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_CloudComposer_ListOperationsResponse');
@@ -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\CloudComposer;
class ListUserWorkloadsConfigMapsResponse extends \Google\Collection
{
protected $collection_key = 'userWorkloadsConfigMaps';
/**
* @var string
*/
public $nextPageToken;
protected $userWorkloadsConfigMapsType = UserWorkloadsConfigMap::class;
protected $userWorkloadsConfigMapsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UserWorkloadsConfigMap[]
*/
public function setUserWorkloadsConfigMaps($userWorkloadsConfigMaps)
{
$this->userWorkloadsConfigMaps = $userWorkloadsConfigMaps;
}
/**
* @return UserWorkloadsConfigMap[]
*/
public function getUserWorkloadsConfigMaps()
{
return $this->userWorkloadsConfigMaps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUserWorkloadsConfigMapsResponse::class, 'Google_Service_CloudComposer_ListUserWorkloadsConfigMapsResponse');
@@ -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\CloudComposer;
class ListUserWorkloadsSecretsResponse extends \Google\Collection
{
protected $collection_key = 'userWorkloadsSecrets';
/**
* @var string
*/
public $nextPageToken;
protected $userWorkloadsSecretsType = UserWorkloadsSecret::class;
protected $userWorkloadsSecretsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UserWorkloadsSecret[]
*/
public function setUserWorkloadsSecrets($userWorkloadsSecrets)
{
$this->userWorkloadsSecrets = $userWorkloadsSecrets;
}
/**
* @return UserWorkloadsSecret[]
*/
public function getUserWorkloadsSecrets()
{
return $this->userWorkloadsSecrets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUserWorkloadsSecretsResponse::class, 'Google_Service_CloudComposer_ListUserWorkloadsSecretsResponse');
@@ -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\CloudComposer;
class ListWorkloadsResponse extends \Google\Collection
{
protected $collection_key = 'workloads';
/**
* @var string
*/
public $nextPageToken;
protected $workloadsType = ComposerWorkload::class;
protected $workloadsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ComposerWorkload[]
*/
public function setWorkloads($workloads)
{
$this->workloads = $workloads;
}
/**
* @return ComposerWorkload[]
*/
public function getWorkloads()
{
return $this->workloads;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkloadsResponse::class, 'Google_Service_CloudComposer_ListWorkloadsResponse');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class LoadSnapshotRequest extends \Google\Model
{
/**
* @var bool
*/
public $skipAirflowOverridesSetting;
/**
* @var bool
*/
public $skipEnvironmentVariablesSetting;
/**
* @var bool
*/
public $skipGcsDataCopying;
/**
* @var bool
*/
public $skipPypiPackagesInstallation;
/**
* @var string
*/
public $snapshotPath;
/**
* @param bool
*/
public function setSkipAirflowOverridesSetting($skipAirflowOverridesSetting)
{
$this->skipAirflowOverridesSetting = $skipAirflowOverridesSetting;
}
/**
* @return bool
*/
public function getSkipAirflowOverridesSetting()
{
return $this->skipAirflowOverridesSetting;
}
/**
* @param bool
*/
public function setSkipEnvironmentVariablesSetting($skipEnvironmentVariablesSetting)
{
$this->skipEnvironmentVariablesSetting = $skipEnvironmentVariablesSetting;
}
/**
* @return bool
*/
public function getSkipEnvironmentVariablesSetting()
{
return $this->skipEnvironmentVariablesSetting;
}
/**
* @param bool
*/
public function setSkipGcsDataCopying($skipGcsDataCopying)
{
$this->skipGcsDataCopying = $skipGcsDataCopying;
}
/**
* @return bool
*/
public function getSkipGcsDataCopying()
{
return $this->skipGcsDataCopying;
}
/**
* @param bool
*/
public function setSkipPypiPackagesInstallation($skipPypiPackagesInstallation)
{
$this->skipPypiPackagesInstallation = $skipPypiPackagesInstallation;
}
/**
* @return bool
*/
public function getSkipPypiPackagesInstallation()
{
return $this->skipPypiPackagesInstallation;
}
/**
* @param string
*/
public function setSnapshotPath($snapshotPath)
{
$this->snapshotPath = $snapshotPath;
}
/**
* @return string
*/
public function getSnapshotPath()
{
return $this->snapshotPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadSnapshotRequest::class, 'Google_Service_CloudComposer_LoadSnapshotRequest');
@@ -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\CloudComposer;
class LoadSnapshotResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadSnapshotResponse::class, 'Google_Service_CloudComposer_LoadSnapshotResponse');
@@ -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\CloudComposer;
class MaintenanceWindow extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $recurrence;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setRecurrence($recurrence)
{
$this->recurrence = $recurrence;
}
/**
* @return string
*/
public function getRecurrence()
{
return $this->recurrence;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceWindow::class, 'Google_Service_CloudComposer_MaintenanceWindow');
@@ -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\CloudComposer;
class MasterAuthorizedNetworksConfig extends \Google\Collection
{
protected $collection_key = 'cidrBlocks';
protected $cidrBlocksType = CidrBlock::class;
protected $cidrBlocksDataType = 'array';
/**
* @var bool
*/
public $enabled;
/**
* @param CidrBlock[]
*/
public function setCidrBlocks($cidrBlocks)
{
$this->cidrBlocks = $cidrBlocks;
}
/**
* @return CidrBlock[]
*/
public function getCidrBlocks()
{
return $this->cidrBlocks;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MasterAuthorizedNetworksConfig::class, 'Google_Service_CloudComposer_MasterAuthorizedNetworksConfig');
@@ -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\CloudComposer;
class NetworkingConfig extends \Google\Model
{
/**
* @var string
*/
public $connectionType;
/**
* @param string
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return string
*/
public function getConnectionType()
{
return $this->connectionType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkingConfig::class, 'Google_Service_CloudComposer_NetworkingConfig');
@@ -0,0 +1,241 @@
<?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\CloudComposer;
class NodeConfig extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $composerInternalIpv4CidrBlock;
/**
* @var string
*/
public $composerNetworkAttachment;
/**
* @var int
*/
public $diskSizeGb;
/**
* @var bool
*/
public $enableIpMasqAgent;
protected $ipAllocationPolicyType = IPAllocationPolicy::class;
protected $ipAllocationPolicyDataType = '';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $network;
/**
* @var string[]
*/
public $oauthScopes;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $subnetwork;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setComposerInternalIpv4CidrBlock($composerInternalIpv4CidrBlock)
{
$this->composerInternalIpv4CidrBlock = $composerInternalIpv4CidrBlock;
}
/**
* @return string
*/
public function getComposerInternalIpv4CidrBlock()
{
return $this->composerInternalIpv4CidrBlock;
}
/**
* @param string
*/
public function setComposerNetworkAttachment($composerNetworkAttachment)
{
$this->composerNetworkAttachment = $composerNetworkAttachment;
}
/**
* @return string
*/
public function getComposerNetworkAttachment()
{
return $this->composerNetworkAttachment;
}
/**
* @param int
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return int
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param bool
*/
public function setEnableIpMasqAgent($enableIpMasqAgent)
{
$this->enableIpMasqAgent = $enableIpMasqAgent;
}
/**
* @return bool
*/
public function getEnableIpMasqAgent()
{
return $this->enableIpMasqAgent;
}
/**
* @param IPAllocationPolicy
*/
public function setIpAllocationPolicy(IPAllocationPolicy $ipAllocationPolicy)
{
$this->ipAllocationPolicy = $ipAllocationPolicy;
}
/**
* @return IPAllocationPolicy
*/
public function getIpAllocationPolicy()
{
return $this->ipAllocationPolicy;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string[]
*/
public function setOauthScopes($oauthScopes)
{
$this->oauthScopes = $oauthScopes;
}
/**
* @return string[]
*/
public function getOauthScopes()
{
return $this->oauthScopes;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeConfig::class, 'Google_Service_CloudComposer_NodeConfig');
@@ -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\CloudComposer;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_CloudComposer_Operation');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationType;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUuid;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUuid($resourceUuid)
{
$this->resourceUuid = $resourceUuid;
}
/**
* @return string
*/
public function getResourceUuid()
{
return $this->resourceUuid;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CloudComposer_OperationMetadata');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class PollAirflowCommandRequest extends \Google\Model
{
/**
* @var string
*/
public $executionId;
/**
* @var int
*/
public $nextLineNumber;
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $podNamespace;
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param int
*/
public function setNextLineNumber($nextLineNumber)
{
$this->nextLineNumber = $nextLineNumber;
}
/**
* @return int
*/
public function getNextLineNumber()
{
return $this->nextLineNumber;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setPodNamespace($podNamespace)
{
$this->podNamespace = $podNamespace;
}
/**
* @return string
*/
public function getPodNamespace()
{
return $this->podNamespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PollAirflowCommandRequest::class, 'Google_Service_CloudComposer_PollAirflowCommandRequest');
@@ -0,0 +1,77 @@
<?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\CloudComposer;
class PollAirflowCommandResponse extends \Google\Collection
{
protected $collection_key = 'output';
protected $exitInfoType = ExitInfo::class;
protected $exitInfoDataType = '';
protected $outputType = Line::class;
protected $outputDataType = 'array';
/**
* @var bool
*/
public $outputEnd;
/**
* @param ExitInfo
*/
public function setExitInfo(ExitInfo $exitInfo)
{
$this->exitInfo = $exitInfo;
}
/**
* @return ExitInfo
*/
public function getExitInfo()
{
return $this->exitInfo;
}
/**
* @param Line[]
*/
public function setOutput($output)
{
$this->output = $output;
}
/**
* @return Line[]
*/
public function getOutput()
{
return $this->output;
}
/**
* @param bool
*/
public function setOutputEnd($outputEnd)
{
$this->outputEnd = $outputEnd;
}
/**
* @return bool
*/
public function getOutputEnd()
{
return $this->outputEnd;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PollAirflowCommandResponse::class, 'Google_Service_CloudComposer_PollAirflowCommandResponse');
@@ -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\CloudComposer;
class PrivateClusterConfig extends \Google\Model
{
/**
* @var bool
*/
public $enablePrivateEndpoint;
/**
* @var string
*/
public $masterIpv4CidrBlock;
/**
* @var string
*/
public $masterIpv4ReservedRange;
/**
* @param bool
*/
public function setEnablePrivateEndpoint($enablePrivateEndpoint)
{
$this->enablePrivateEndpoint = $enablePrivateEndpoint;
}
/**
* @return bool
*/
public function getEnablePrivateEndpoint()
{
return $this->enablePrivateEndpoint;
}
/**
* @param string
*/
public function setMasterIpv4CidrBlock($masterIpv4CidrBlock)
{
$this->masterIpv4CidrBlock = $masterIpv4CidrBlock;
}
/**
* @return string
*/
public function getMasterIpv4CidrBlock()
{
return $this->masterIpv4CidrBlock;
}
/**
* @param string
*/
public function setMasterIpv4ReservedRange($masterIpv4ReservedRange)
{
$this->masterIpv4ReservedRange = $masterIpv4ReservedRange;
}
/**
* @return string
*/
public function getMasterIpv4ReservedRange()
{
return $this->masterIpv4ReservedRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateClusterConfig::class, 'Google_Service_CloudComposer_PrivateClusterConfig');
@@ -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\CloudComposer;
class PrivateEnvironmentConfig extends \Google\Model
{
/**
* @var string
*/
public $cloudComposerConnectionSubnetwork;
/**
* @var string
*/
public $cloudComposerNetworkIpv4CidrBlock;
/**
* @var string
*/
public $cloudComposerNetworkIpv4ReservedRange;
/**
* @var string
*/
public $cloudSqlIpv4CidrBlock;
/**
* @var bool
*/
public $enablePrivateBuildsOnly;
/**
* @var bool
*/
public $enablePrivateEnvironment;
/**
* @var bool
*/
public $enablePrivatelyUsedPublicIps;
protected $networkingConfigType = NetworkingConfig::class;
protected $networkingConfigDataType = '';
protected $privateClusterConfigType = PrivateClusterConfig::class;
protected $privateClusterConfigDataType = '';
/**
* @var string
*/
public $webServerIpv4CidrBlock;
/**
* @var string
*/
public $webServerIpv4ReservedRange;
/**
* @param string
*/
public function setCloudComposerConnectionSubnetwork($cloudComposerConnectionSubnetwork)
{
$this->cloudComposerConnectionSubnetwork = $cloudComposerConnectionSubnetwork;
}
/**
* @return string
*/
public function getCloudComposerConnectionSubnetwork()
{
return $this->cloudComposerConnectionSubnetwork;
}
/**
* @param string
*/
public function setCloudComposerNetworkIpv4CidrBlock($cloudComposerNetworkIpv4CidrBlock)
{
$this->cloudComposerNetworkIpv4CidrBlock = $cloudComposerNetworkIpv4CidrBlock;
}
/**
* @return string
*/
public function getCloudComposerNetworkIpv4CidrBlock()
{
return $this->cloudComposerNetworkIpv4CidrBlock;
}
/**
* @param string
*/
public function setCloudComposerNetworkIpv4ReservedRange($cloudComposerNetworkIpv4ReservedRange)
{
$this->cloudComposerNetworkIpv4ReservedRange = $cloudComposerNetworkIpv4ReservedRange;
}
/**
* @return string
*/
public function getCloudComposerNetworkIpv4ReservedRange()
{
return $this->cloudComposerNetworkIpv4ReservedRange;
}
/**
* @param string
*/
public function setCloudSqlIpv4CidrBlock($cloudSqlIpv4CidrBlock)
{
$this->cloudSqlIpv4CidrBlock = $cloudSqlIpv4CidrBlock;
}
/**
* @return string
*/
public function getCloudSqlIpv4CidrBlock()
{
return $this->cloudSqlIpv4CidrBlock;
}
/**
* @param bool
*/
public function setEnablePrivateBuildsOnly($enablePrivateBuildsOnly)
{
$this->enablePrivateBuildsOnly = $enablePrivateBuildsOnly;
}
/**
* @return bool
*/
public function getEnablePrivateBuildsOnly()
{
return $this->enablePrivateBuildsOnly;
}
/**
* @param bool
*/
public function setEnablePrivateEnvironment($enablePrivateEnvironment)
{
$this->enablePrivateEnvironment = $enablePrivateEnvironment;
}
/**
* @return bool
*/
public function getEnablePrivateEnvironment()
{
return $this->enablePrivateEnvironment;
}
/**
* @param bool
*/
public function setEnablePrivatelyUsedPublicIps($enablePrivatelyUsedPublicIps)
{
$this->enablePrivatelyUsedPublicIps = $enablePrivatelyUsedPublicIps;
}
/**
* @return bool
*/
public function getEnablePrivatelyUsedPublicIps()
{
return $this->enablePrivatelyUsedPublicIps;
}
/**
* @param NetworkingConfig
*/
public function setNetworkingConfig(NetworkingConfig $networkingConfig)
{
$this->networkingConfig = $networkingConfig;
}
/**
* @return NetworkingConfig
*/
public function getNetworkingConfig()
{
return $this->networkingConfig;
}
/**
* @param PrivateClusterConfig
*/
public function setPrivateClusterConfig(PrivateClusterConfig $privateClusterConfig)
{
$this->privateClusterConfig = $privateClusterConfig;
}
/**
* @return PrivateClusterConfig
*/
public function getPrivateClusterConfig()
{
return $this->privateClusterConfig;
}
/**
* @param string
*/
public function setWebServerIpv4CidrBlock($webServerIpv4CidrBlock)
{
$this->webServerIpv4CidrBlock = $webServerIpv4CidrBlock;
}
/**
* @return string
*/
public function getWebServerIpv4CidrBlock()
{
return $this->webServerIpv4CidrBlock;
}
/**
* @param string
*/
public function setWebServerIpv4ReservedRange($webServerIpv4ReservedRange)
{
$this->webServerIpv4ReservedRange = $webServerIpv4ReservedRange;
}
/**
* @return string
*/
public function getWebServerIpv4ReservedRange()
{
return $this->webServerIpv4ReservedRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateEnvironmentConfig::class, 'Google_Service_CloudComposer_PrivateEnvironmentConfig');
@@ -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\CloudComposer;
class RecoveryConfig extends \Google\Model
{
protected $scheduledSnapshotsConfigType = ScheduledSnapshotsConfig::class;
protected $scheduledSnapshotsConfigDataType = '';
/**
* @param ScheduledSnapshotsConfig
*/
public function setScheduledSnapshotsConfig(ScheduledSnapshotsConfig $scheduledSnapshotsConfig)
{
$this->scheduledSnapshotsConfig = $scheduledSnapshotsConfig;
}
/**
* @return ScheduledSnapshotsConfig
*/
public function getScheduledSnapshotsConfig()
{
return $this->scheduledSnapshotsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RecoveryConfig::class, 'Google_Service_CloudComposer_RecoveryConfig');
@@ -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\CloudComposer\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $projects = $composerService->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_CloudComposer_Resource_Projects');
@@ -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\CloudComposer\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $locations = $composerService->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_CloudComposer_Resource_ProjectsLocations');
@@ -0,0 +1,344 @@
<?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\CloudComposer\Resource;
use Google\Service\CloudComposer\CheckUpgradeRequest;
use Google\Service\CloudComposer\DatabaseFailoverRequest;
use Google\Service\CloudComposer\Environment;
use Google\Service\CloudComposer\ExecuteAirflowCommandRequest;
use Google\Service\CloudComposer\ExecuteAirflowCommandResponse;
use Google\Service\CloudComposer\FetchDatabasePropertiesResponse;
use Google\Service\CloudComposer\ListEnvironmentsResponse;
use Google\Service\CloudComposer\LoadSnapshotRequest;
use Google\Service\CloudComposer\Operation;
use Google\Service\CloudComposer\PollAirflowCommandRequest;
use Google\Service\CloudComposer\PollAirflowCommandResponse;
use Google\Service\CloudComposer\SaveSnapshotRequest;
use Google\Service\CloudComposer\StopAirflowCommandRequest;
use Google\Service\CloudComposer\StopAirflowCommandResponse;
/**
* The "environments" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $environments = $composerService->projects_locations_environments;
* </code>
*/
class ProjectsLocationsEnvironments extends \Google\Service\Resource
{
/**
* Check if an upgrade operation on the environment will succeed. In case of
* problems detailed info can be found in the returned Operation.
* (environments.checkUpgrade)
*
* @param string $environment Required. The resource name of the environment to
* check upgrade for, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param CheckUpgradeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function checkUpgrade($environment, CheckUpgradeRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkUpgrade', [$params], Operation::class);
}
/**
* Create a new environment. (environments.create)
*
* @param string $parent The parent must be of the form
* "projects/{projectId}/locations/{locationId}".
* @param Environment $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Environment $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Triggers database failover (only for highly resilient environments).
* (environments.databaseFailover)
*
* @param string $environment Target environment:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param DatabaseFailoverRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function databaseFailover($environment, DatabaseFailoverRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('databaseFailover', [$params], Operation::class);
}
/**
* Delete an environment. (environments.delete)
*
* @param string $name The environment to delete, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Executes Airflow CLI command. (environments.executeAirflowCommand)
*
* @param string $environment The resource name of the environment in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
* @param ExecuteAirflowCommandRequest $postBody
* @param array $optParams Optional parameters.
* @return ExecuteAirflowCommandResponse
* @throws \Google\Service\Exception
*/
public function executeAirflowCommand($environment, ExecuteAirflowCommandRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('executeAirflowCommand', [$params], ExecuteAirflowCommandResponse::class);
}
/**
* Fetches database properties. (environments.fetchDatabaseProperties)
*
* @param string $environment Required. The resource name of the environment, in
* the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
* @return FetchDatabasePropertiesResponse
* @throws \Google\Service\Exception
*/
public function fetchDatabaseProperties($environment, $optParams = [])
{
$params = ['environment' => $environment];
$params = array_merge($params, $optParams);
return $this->call('fetchDatabaseProperties', [$params], FetchDatabasePropertiesResponse::class);
}
/**
* Get an existing environment. (environments.get)
*
* @param string $name The resource name of the environment to get, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
* @return Environment
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Environment::class);
}
/**
* List environments. (environments.listProjectsLocationsEnvironments)
*
* @param string $parent List environments in the given project and location, in
* the form: "projects/{projectId}/locations/{locationId}"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of environments to return.
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @return ListEnvironmentsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsEnvironments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListEnvironmentsResponse::class);
}
/**
* Loads a snapshot of a Cloud Composer environment. As a result of this
* operation, a snapshot of environment's specified in LoadSnapshotRequest is
* loaded into the environment. (environments.loadSnapshot)
*
* @param string $environment The resource name of the target environment in the
* form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param LoadSnapshotRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function loadSnapshot($environment, LoadSnapshotRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('loadSnapshot', [$params], Operation::class);
}
/**
* Update an environment. (environments.patch)
*
* @param string $name The relative resource name of the environment to update,
* in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param Environment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of paths,
* relative to `Environment`, of fields to update. For example, to set the
* version of scikit-learn to install in the environment to 0.19.0 and to remove
* an existing installation of numpy, the `updateMask` parameter would include
* the following two `paths` values: "config.softwareConfig.pypiPackages.scikit-
* learn" and "config.softwareConfig.pypiPackages.numpy". The included patch
* environment would specify the scikit-learn version as follows: { "config":{
* "softwareConfig":{ "pypiPackages":{ "scikit-learn":"==0.19.0" } } } } Note
* that in the above example, any existing PyPI packages other than scikit-learn
* and numpy will be unaffected. Only one update type may be included in a
* single request's `updateMask`. For example, one cannot update both the PyPI
* packages and labels in the same request. However, it is possible to update
* multiple members of a map field simultaneously in the same request. For
* example, to set the labels "label1" and "label2" while clearing "label3"
* (assuming it already exists), one can provide the paths "labels.label1",
* "labels.label2", and "labels.label3" and populate the patch environment as
* follows: { "labels":{ "label1":"new-label1-value" "label2":"new-label2-value"
* } } Note that in the above example, any existing labels that are not included
* in the `updateMask` will be unaffected. It is also possible to replace an
* entire map field by providing the map field's path in the `updateMask`. The
* new value of the field will be that which is provided in the patch
* environment. For example, to delete all pre-existing user-specified PyPI
* packages and install botocore at version 1.7.14, the `updateMask` would
* contain the path "config.softwareConfig.pypiPackages", and the patch
* environment would be the following: { "config":{ "softwareConfig":{
* "pypiPackages":{ "botocore":"==1.7.14" } } } } **Note:** Only the following
* fields can be updated: * `config.softwareConfig.pypiPackages` * Replace all
* custom custom PyPI packages. If a replacement package map is not included in
* `environment`, all custom PyPI packages are cleared. It is an error to
* provide both this mask and a mask specifying an individual package. *
* `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI
* package *packagename*, preserving other packages. To delete the package,
* include it in `updateMask`, and omit the mapping for it in
* `environment.config.softwareConfig.pypiPackages`. It is an error to provide
* both a mask of this form and the `config.softwareConfig.pypiPackages` mask. *
* `labels` * Replace all environment labels. If a replacement labels map is not
* included in `environment`, all labels are cleared. It is an error to provide
* both this mask and a mask specifying one or more individual labels. *
* `labels.`labelName * Set the label named *labelName*, while preserving other
* labels. To delete the label, include it in `updateMask` and omit its mapping
* in `environment.labels`. It is an error to provide both a mask of this form
* and the `labels` mask. * `config.nodeCount` * Horizontally scale the number
* of nodes in the environment. An integer greater than or equal to 3 must be
* provided in the `config.nodeCount` field. Supported for Cloud Composer
* environments in versions composer-1.*.*-airflow-*.*.*. *
* `config.webServerNetworkAccessControl` * Replace the environment's current
* `WebServerNetworkAccessControl`. *
* `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow
* config overrides. If a replacement config overrides map is not included in
* `environment`, all config overrides are cleared. It is an error to provide
* both this mask and a mask specifying one or more individual config overrides.
* * `config.softwareConfig.airflowConfigOverrides.`section-name * Override the
* Apache Airflow config property *name* in the section named *section*,
* preserving other properties. To delete the property override, include it in
* `updateMask` and omit its mapping in
* `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to
* provide both a mask of this form and the
* `config.softwareConfig.airflowConfigOverrides` mask. *
* `config.softwareConfig.envVariables` * Replace all environment variables. If
* a replacement environment variable map is not included in `environment`, all
* custom environment variables are cleared. *
* `config.softwareConfig.schedulerCount` * Horizontally scale the number of
* schedulers in Airflow. A positive integer not greater than the number of
* nodes must be provided in the `config.softwareConfig.schedulerCount` field.
* Supported for Cloud Composer environments in versions
* composer-1.*.*-airflow-2.*.*. * `config.databaseConfig.machineType` * Cloud
* SQL machine type used by Airflow database. It has to be one of:
* db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16.
* Supported for Cloud Composer environments in versions
* composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` *
* Machine type on which Airflow web server is running. It has to be one of:
* composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8.
* Supported for Cloud Composer environments in versions
* composer-1.*.*-airflow-*.*.*.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Environment $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Polls Airflow CLI command execution and fetches logs.
* (environments.pollAirflowCommand)
*
* @param string $environment The resource name of the environment in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param PollAirflowCommandRequest $postBody
* @param array $optParams Optional parameters.
* @return PollAirflowCommandResponse
* @throws \Google\Service\Exception
*/
public function pollAirflowCommand($environment, PollAirflowCommandRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('pollAirflowCommand', [$params], PollAirflowCommandResponse::class);
}
/**
* Creates a snapshots of a Cloud Composer environment. As a result of this
* operation, snapshot of environment's state is stored in a location specified
* in the SaveSnapshotRequest. (environments.saveSnapshot)
*
* @param string $environment The resource name of the source environment in the
* form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param SaveSnapshotRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function saveSnapshot($environment, SaveSnapshotRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('saveSnapshot', [$params], Operation::class);
}
/**
* Stops Airflow CLI command execution. (environments.stopAirflowCommand)
*
* @param string $environment The resource name of the environment in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
* @param StopAirflowCommandRequest $postBody
* @param array $optParams Optional parameters.
* @return StopAirflowCommandResponse
* @throws \Google\Service\Exception
*/
public function stopAirflowCommand($environment, StopAirflowCommandRequest $postBody, $optParams = [])
{
$params = ['environment' => $environment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stopAirflowCommand', [$params], StopAirflowCommandResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsEnvironments::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsEnvironments');
@@ -0,0 +1,133 @@
<?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\CloudComposer\Resource;
use Google\Service\CloudComposer\ComposerEmpty;
use Google\Service\CloudComposer\ListUserWorkloadsConfigMapsResponse;
use Google\Service\CloudComposer\UserWorkloadsConfigMap;
/**
* The "userWorkloadsConfigMaps" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $userWorkloadsConfigMaps = $composerService->projects_locations_environments_userWorkloadsConfigMaps;
* </code>
*/
class ProjectsLocationsEnvironmentsUserWorkloadsConfigMaps extends \Google\Service\Resource
{
/**
* Creates a user workloads ConfigMap. This method is supported for Cloud
* Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsConfigMaps.create)
*
* @param string $parent Required. The environment name to create a ConfigMap
* for, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param UserWorkloadsConfigMap $postBody
* @param array $optParams Optional parameters.
* @return UserWorkloadsConfigMap
* @throws \Google\Service\Exception
*/
public function create($parent, UserWorkloadsConfigMap $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], UserWorkloadsConfigMap::class);
}
/**
* Deletes a user workloads ConfigMap. This method is supported for Cloud
* Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsConfigMaps.delete)
*
* @param string $name Required. The ConfigMap to delete, in the form: "projects
* /{projectId}/locations/{locationId}/environments/{environmentId}/userWorkload
* sConfigMaps/{userWorkloadsConfigMapId}"
* @param array $optParams Optional parameters.
* @return ComposerEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ComposerEmpty::class);
}
/**
* Gets an existing user workloads ConfigMap. This method is supported for Cloud
* Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsConfigMaps.get)
*
* @param string $name Required. The resource name of the ConfigMap to get, in
* the form: "projects/{projectId}/locations/{locationId}/environments/{environm
* entId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
* @param array $optParams Optional parameters.
* @return UserWorkloadsConfigMap
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], UserWorkloadsConfigMap::class);
}
/**
* Lists user workloads ConfigMaps. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer. (userWorkloa
* dsConfigMaps.listProjectsLocationsEnvironmentsUserWorkloadsConfigMaps)
*
* @param string $parent Required. List ConfigMaps in the given environment, in
* the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of ConfigMaps to return.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous List request, if any.
* @return ListUserWorkloadsConfigMapsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsEnvironmentsUserWorkloadsConfigMaps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListUserWorkloadsConfigMapsResponse::class);
}
/**
* Updates a user workloads ConfigMap. This method is supported for Cloud
* Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsConfigMaps.update)
*
* @param string $name Identifier. The resource name of the ConfigMap, in the
* form: "projects/{projectId}/locations/{locationId}/environments/{environmentI
* d}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
* @param UserWorkloadsConfigMap $postBody
* @param array $optParams Optional parameters.
* @return UserWorkloadsConfigMap
* @throws \Google\Service\Exception
*/
public function update($name, UserWorkloadsConfigMap $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], UserWorkloadsConfigMap::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsEnvironmentsUserWorkloadsConfigMaps::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsEnvironmentsUserWorkloadsConfigMaps');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer\Resource;
use Google\Service\CloudComposer\ComposerEmpty;
use Google\Service\CloudComposer\ListUserWorkloadsSecretsResponse;
use Google\Service\CloudComposer\UserWorkloadsSecret;
/**
* The "userWorkloadsSecrets" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $userWorkloadsSecrets = $composerService->projects_locations_environments_userWorkloadsSecrets;
* </code>
*/
class ProjectsLocationsEnvironmentsUserWorkloadsSecrets extends \Google\Service\Resource
{
/**
* Creates a user workloads Secret. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsSecrets.create)
*
* @param string $parent Required. The environment name to create a Secret for,
* in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param UserWorkloadsSecret $postBody
* @param array $optParams Optional parameters.
* @return UserWorkloadsSecret
* @throws \Google\Service\Exception
*/
public function create($parent, UserWorkloadsSecret $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], UserWorkloadsSecret::class);
}
/**
* Deletes a user workloads Secret. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsSecrets.delete)
*
* @param string $name Required. The Secret to delete, in the form: "projects/{p
* rojectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSe
* crets/{userWorkloadsSecretId}"
* @param array $optParams Optional parameters.
* @return ComposerEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ComposerEmpty::class);
}
/**
* Gets an existing user workloads Secret. Values of the "data" field in the
* response are cleared. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsSecrets.get)
*
* @param string $name Required. The resource name of the Secret to get, in the
* form: "projects/{projectId}/locations/{locationId}/environments/{environmentI
* d}/userWorkloadsSecrets/{userWorkloadsSecretId}"
* @param array $optParams Optional parameters.
* @return UserWorkloadsSecret
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], UserWorkloadsSecret::class);
}
/**
* Lists user workloads Secrets. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsSecrets.listProjectsLocationsEnvironmentsUserWorkloadsSecrets)
*
* @param string $parent Required. List Secrets in the given environment, in the
* form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of Secrets to return.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous List request, if any.
* @return ListUserWorkloadsSecretsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsEnvironmentsUserWorkloadsSecrets($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListUserWorkloadsSecretsResponse::class);
}
/**
* Updates a user workloads Secret. This method is supported for Cloud Composer
* environments in versions composer-3.*.*-airflow-*.*.* and newer.
* (userWorkloadsSecrets.update)
*
* @param string $name Identifier. The resource name of the Secret, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}/use
* rWorkloadsSecrets/{userWorkloadsSecretId}"
* @param UserWorkloadsSecret $postBody
* @param array $optParams Optional parameters.
* @return UserWorkloadsSecret
* @throws \Google\Service\Exception
*/
public function update($name, UserWorkloadsSecret $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], UserWorkloadsSecret::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsEnvironmentsUserWorkloadsSecrets::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsEnvironmentsUserWorkloadsSecrets');
@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer\Resource;
use Google\Service\CloudComposer\ListWorkloadsResponse;
/**
* The "workloads" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $workloads = $composerService->projects_locations_environments_workloads;
* </code>
*/
class ProjectsLocationsEnvironmentsWorkloads extends \Google\Service\Resource
{
/**
* Lists workloads in a Cloud Composer environment. Workload is a unit that runs
* a single Composer component. This method is supported for Cloud Composer
* environments in versions composer-2.*.*-airflow-*.*.* and newer.
* (workloads.listProjectsLocationsEnvironmentsWorkloads)
*
* @param string $parent Required. The environment name to get workloads for, in
* the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The list filter. Currently only supports
* equality on the type field. The value of a field specified in the filter
* expression must be one ComposerWorkloadType enum option. It's possible to get
* multiple types using "OR" operator, e.g.: "type=SCHEDULER OR
* type=CELERY_WORKER". If not specified, all items are returned.
* @opt_param int pageSize Optional. The maximum number of environments to
* return.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous List request, if any.
* @return ListWorkloadsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsEnvironmentsWorkloads($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkloadsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsEnvironmentsWorkloads::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsEnvironmentsWorkloads');
@@ -0,0 +1,57 @@
<?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\CloudComposer\Resource;
use Google\Service\CloudComposer\ListImageVersionsResponse;
/**
* The "imageVersions" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $imageVersions = $composerService->projects_locations_imageVersions;
* </code>
*/
class ProjectsLocationsImageVersions extends \Google\Service\Resource
{
/**
* List ImageVersions for provided location.
* (imageVersions.listProjectsLocationsImageVersions)
*
* @param string $parent List ImageVersions in the given project and location,
* in the form: "projects/{projectId}/locations/{locationId}"
* @param array $optParams Optional parameters.
*
* @opt_param bool includePastReleases Whether or not image versions from old
* releases should be included.
* @opt_param int pageSize The maximum number of image_versions to return.
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @return ListImageVersionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsImageVersions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListImageVersionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsImageVersions::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsImageVersions');
@@ -0,0 +1,90 @@
<?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\CloudComposer\Resource;
use Google\Service\CloudComposer\ComposerEmpty;
use Google\Service\CloudComposer\ListOperationsResponse;
use Google\Service\CloudComposer\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google\Service\CloudComposer(...);
* $operations = $composerService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ComposerEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ComposerEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsOperations');
@@ -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\CloudComposer;
class SaveSnapshotRequest extends \Google\Model
{
/**
* @var string
*/
public $snapshotLocation;
/**
* @param string
*/
public function setSnapshotLocation($snapshotLocation)
{
$this->snapshotLocation = $snapshotLocation;
}
/**
* @return string
*/
public function getSnapshotLocation()
{
return $this->snapshotLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SaveSnapshotRequest::class, 'Google_Service_CloudComposer_SaveSnapshotRequest');
@@ -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\CloudComposer;
class SaveSnapshotResponse extends \Google\Model
{
/**
* @var string
*/
public $snapshotPath;
/**
* @param string
*/
public function setSnapshotPath($snapshotPath)
{
$this->snapshotPath = $snapshotPath;
}
/**
* @return string
*/
public function getSnapshotPath()
{
return $this->snapshotPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SaveSnapshotResponse::class, 'Google_Service_CloudComposer_SaveSnapshotResponse');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class ScheduledSnapshotsConfig extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @var string
*/
public $snapshotCreationSchedule;
/**
* @var string
*/
public $snapshotLocation;
/**
* @var string
*/
public $timeZone;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param string
*/
public function setSnapshotCreationSchedule($snapshotCreationSchedule)
{
$this->snapshotCreationSchedule = $snapshotCreationSchedule;
}
/**
* @return string
*/
public function getSnapshotCreationSchedule()
{
return $this->snapshotCreationSchedule;
}
/**
* @param string
*/
public function setSnapshotLocation($snapshotLocation)
{
$this->snapshotLocation = $snapshotLocation;
}
/**
* @return string
*/
public function getSnapshotLocation()
{
return $this->snapshotLocation;
}
/**
* @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(ScheduledSnapshotsConfig::class, 'Google_Service_CloudComposer_ScheduledSnapshotsConfig');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class SchedulerResource extends \Google\Model
{
/**
* @var int
*/
public $count;
/**
* @var float
*/
public $cpu;
/**
* @var float
*/
public $memoryGb;
/**
* @var float
*/
public $storageGb;
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* @param float
*/
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
/**
* @return float
*/
public function getCpu()
{
return $this->cpu;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param float
*/
public function setStorageGb($storageGb)
{
$this->storageGb = $storageGb;
}
/**
* @return float
*/
public function getStorageGb()
{
return $this->storageGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SchedulerResource::class, 'Google_Service_CloudComposer_SchedulerResource');
@@ -0,0 +1,168 @@
<?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\CloudComposer;
class SoftwareConfig extends \Google\Model
{
/**
* @var string[]
*/
public $airflowConfigOverrides;
protected $cloudDataLineageIntegrationType = CloudDataLineageIntegration::class;
protected $cloudDataLineageIntegrationDataType = '';
/**
* @var string[]
*/
public $envVariables;
/**
* @var string
*/
public $imageVersion;
/**
* @var string[]
*/
public $pypiPackages;
/**
* @var string
*/
public $pythonVersion;
/**
* @var int
*/
public $schedulerCount;
/**
* @var string
*/
public $webServerPluginsMode;
/**
* @param string[]
*/
public function setAirflowConfigOverrides($airflowConfigOverrides)
{
$this->airflowConfigOverrides = $airflowConfigOverrides;
}
/**
* @return string[]
*/
public function getAirflowConfigOverrides()
{
return $this->airflowConfigOverrides;
}
/**
* @param CloudDataLineageIntegration
*/
public function setCloudDataLineageIntegration(CloudDataLineageIntegration $cloudDataLineageIntegration)
{
$this->cloudDataLineageIntegration = $cloudDataLineageIntegration;
}
/**
* @return CloudDataLineageIntegration
*/
public function getCloudDataLineageIntegration()
{
return $this->cloudDataLineageIntegration;
}
/**
* @param string[]
*/
public function setEnvVariables($envVariables)
{
$this->envVariables = $envVariables;
}
/**
* @return string[]
*/
public function getEnvVariables()
{
return $this->envVariables;
}
/**
* @param string
*/
public function setImageVersion($imageVersion)
{
$this->imageVersion = $imageVersion;
}
/**
* @return string
*/
public function getImageVersion()
{
return $this->imageVersion;
}
/**
* @param string[]
*/
public function setPypiPackages($pypiPackages)
{
$this->pypiPackages = $pypiPackages;
}
/**
* @return string[]
*/
public function getPypiPackages()
{
return $this->pypiPackages;
}
/**
* @param string
*/
public function setPythonVersion($pythonVersion)
{
$this->pythonVersion = $pythonVersion;
}
/**
* @return string
*/
public function getPythonVersion()
{
return $this->pythonVersion;
}
/**
* @param int
*/
public function setSchedulerCount($schedulerCount)
{
$this->schedulerCount = $schedulerCount;
}
/**
* @return int
*/
public function getSchedulerCount()
{
return $this->schedulerCount;
}
/**
* @param string
*/
public function setWebServerPluginsMode($webServerPluginsMode)
{
$this->webServerPluginsMode = $webServerPluginsMode;
}
/**
* @return string
*/
public function getWebServerPluginsMode()
{
return $this->webServerPluginsMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SoftwareConfig::class, 'Google_Service_CloudComposer_SoftwareConfig');
@@ -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\CloudComposer;
class Status 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(Status::class, 'Google_Service_CloudComposer_Status');
@@ -0,0 +1,98 @@
<?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\CloudComposer;
class StopAirflowCommandRequest extends \Google\Model
{
/**
* @var string
*/
public $executionId;
/**
* @var bool
*/
public $force;
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $podNamespace;
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param bool
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setPodNamespace($podNamespace)
{
$this->podNamespace = $podNamespace;
}
/**
* @return string
*/
public function getPodNamespace()
{
return $this->podNamespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StopAirflowCommandRequest::class, 'Google_Service_CloudComposer_StopAirflowCommandRequest');
@@ -0,0 +1,63 @@
<?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\CloudComposer;
class StopAirflowCommandResponse extends \Google\Collection
{
protected $collection_key = 'output';
/**
* @var bool
*/
public $isDone;
/**
* @var string[]
*/
public $output;
/**
* @param bool
*/
public function setIsDone($isDone)
{
$this->isDone = $isDone;
}
/**
* @return bool
*/
public function getIsDone()
{
return $this->isDone;
}
/**
* @param string[]
*/
public function setOutput($output)
{
$this->output = $output;
}
/**
* @return string[]
*/
public function getOutput()
{
return $this->output;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StopAirflowCommandResponse::class, 'Google_Service_CloudComposer_StopAirflowCommandResponse');
@@ -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\CloudComposer;
class StorageConfig extends \Google\Model
{
/**
* @var string
*/
public $bucket;
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StorageConfig::class, 'Google_Service_CloudComposer_StorageConfig');
@@ -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\CloudComposer;
class TaskLogsRetentionConfig extends \Google\Model
{
/**
* @var string
*/
public $storageMode;
/**
* @param string
*/
public function setStorageMode($storageMode)
{
$this->storageMode = $storageMode;
}
/**
* @return string
*/
public function getStorageMode()
{
return $this->storageMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TaskLogsRetentionConfig::class, 'Google_Service_CloudComposer_TaskLogsRetentionConfig');
@@ -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\CloudComposer;
class TriggererResource extends \Google\Model
{
/**
* @var int
*/
public $count;
/**
* @var float
*/
public $cpu;
/**
* @var float
*/
public $memoryGb;
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* @param float
*/
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
/**
* @return float
*/
public function getCpu()
{
return $this->cpu;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TriggererResource::class, 'Google_Service_CloudComposer_TriggererResource');
@@ -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\CloudComposer;
class UserWorkloadsConfigMap extends \Google\Model
{
/**
* @var string[]
*/
public $data;
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string[]
*/
public function getData()
{
return $this->data;
}
/**
* @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(UserWorkloadsConfigMap::class, 'Google_Service_CloudComposer_UserWorkloadsConfigMap');
@@ -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\CloudComposer;
class UserWorkloadsSecret extends \Google\Model
{
/**
* @var string[]
*/
public $data;
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string[]
*/
public function getData()
{
return $this->data;
}
/**
* @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(UserWorkloadsSecret::class, 'Google_Service_CloudComposer_UserWorkloadsSecret');
@@ -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\CloudComposer;
class WebServerConfig extends \Google\Model
{
/**
* @var string
*/
public $machineType;
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WebServerConfig::class, 'Google_Service_CloudComposer_WebServerConfig');
@@ -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\CloudComposer;
class WebServerNetworkAccessControl extends \Google\Collection
{
protected $collection_key = 'allowedIpRanges';
protected $allowedIpRangesType = AllowedIpRange::class;
protected $allowedIpRangesDataType = 'array';
/**
* @param AllowedIpRange[]
*/
public function setAllowedIpRanges($allowedIpRanges)
{
$this->allowedIpRanges = $allowedIpRanges;
}
/**
* @return AllowedIpRange[]
*/
public function getAllowedIpRanges()
{
return $this->allowedIpRanges;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WebServerNetworkAccessControl::class, 'Google_Service_CloudComposer_WebServerNetworkAccessControl');
@@ -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\CloudComposer;
class WebServerResource extends \Google\Model
{
/**
* @var float
*/
public $cpu;
/**
* @var float
*/
public $memoryGb;
/**
* @var float
*/
public $storageGb;
/**
* @param float
*/
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
/**
* @return float
*/
public function getCpu()
{
return $this->cpu;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param float
*/
public function setStorageGb($storageGb)
{
$this->storageGb = $storageGb;
}
/**
* @return float
*/
public function getStorageGb()
{
return $this->storageGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WebServerResource::class, 'Google_Service_CloudComposer_WebServerResource');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class WorkerResource extends \Google\Model
{
/**
* @var float
*/
public $cpu;
/**
* @var int
*/
public $maxCount;
/**
* @var float
*/
public $memoryGb;
/**
* @var int
*/
public $minCount;
/**
* @var float
*/
public $storageGb;
/**
* @param float
*/
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
/**
* @return float
*/
public function getCpu()
{
return $this->cpu;
}
/**
* @param int
*/
public function setMaxCount($maxCount)
{
$this->maxCount = $maxCount;
}
/**
* @return int
*/
public function getMaxCount()
{
return $this->maxCount;
}
/**
* @param float
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return float
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param int
*/
public function setMinCount($minCount)
{
$this->minCount = $minCount;
}
/**
* @return int
*/
public function getMinCount()
{
return $this->minCount;
}
/**
* @param float
*/
public function setStorageGb($storageGb)
{
$this->storageGb = $storageGb;
}
/**
* @return float
*/
public function getStorageGb()
{
return $this->storageGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkerResource::class, 'Google_Service_CloudComposer_WorkerResource');
@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class WorkloadsConfig extends \Google\Model
{
protected $dagProcessorType = DagProcessorResource::class;
protected $dagProcessorDataType = '';
protected $schedulerType = SchedulerResource::class;
protected $schedulerDataType = '';
protected $triggererType = TriggererResource::class;
protected $triggererDataType = '';
protected $webServerType = WebServerResource::class;
protected $webServerDataType = '';
protected $workerType = WorkerResource::class;
protected $workerDataType = '';
/**
* @param DagProcessorResource
*/
public function setDagProcessor(DagProcessorResource $dagProcessor)
{
$this->dagProcessor = $dagProcessor;
}
/**
* @return DagProcessorResource
*/
public function getDagProcessor()
{
return $this->dagProcessor;
}
/**
* @param SchedulerResource
*/
public function setScheduler(SchedulerResource $scheduler)
{
$this->scheduler = $scheduler;
}
/**
* @return SchedulerResource
*/
public function getScheduler()
{
return $this->scheduler;
}
/**
* @param TriggererResource
*/
public function setTriggerer(TriggererResource $triggerer)
{
$this->triggerer = $triggerer;
}
/**
* @return TriggererResource
*/
public function getTriggerer()
{
return $this->triggerer;
}
/**
* @param WebServerResource
*/
public function setWebServer(WebServerResource $webServer)
{
$this->webServer = $webServer;
}
/**
* @return WebServerResource
*/
public function getWebServer()
{
return $this->webServer;
}
/**
* @param WorkerResource
*/
public function setWorker(WorkerResource $worker)
{
$this->worker = $worker;
}
/**
* @return WorkerResource
*/
public function getWorker()
{
return $this->worker;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkloadsConfig::class, 'Google_Service_CloudComposer_WorkloadsConfig');