Initial commit

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

View File

@@ -0,0 +1,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\DeploymentManager;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_DeploymentManager_AuditConfig');

View File

@@ -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\DeploymentManager;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_DeploymentManager_AuditLogConfig');

View File

@@ -0,0 +1,79 @@
<?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\DeploymentManager;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_DeploymentManager_Binding');

View File

@@ -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\DeploymentManager;
class BulkInsertOperationStatus extends \Google\Model
{
/**
* @var int
*/
public $createdVmCount;
/**
* @var int
*/
public $deletedVmCount;
/**
* @var int
*/
public $failedToCreateVmCount;
/**
* @var string
*/
public $status;
/**
* @var int
*/
public $targetVmCount;
/**
* @param int
*/
public function setCreatedVmCount($createdVmCount)
{
$this->createdVmCount = $createdVmCount;
}
/**
* @return int
*/
public function getCreatedVmCount()
{
return $this->createdVmCount;
}
/**
* @param int
*/
public function setDeletedVmCount($deletedVmCount)
{
$this->deletedVmCount = $deletedVmCount;
}
/**
* @return int
*/
public function getDeletedVmCount()
{
return $this->deletedVmCount;
}
/**
* @param int
*/
public function setFailedToCreateVmCount($failedToCreateVmCount)
{
$this->failedToCreateVmCount = $failedToCreateVmCount;
}
/**
* @return int
*/
public function getFailedToCreateVmCount()
{
return $this->failedToCreateVmCount;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param int
*/
public function setTargetVmCount($targetVmCount)
{
$this->targetVmCount = $targetVmCount;
}
/**
* @return int
*/
public function getTargetVmCount()
{
return $this->targetVmCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BulkInsertOperationStatus::class, 'Google_Service_DeploymentManager_BulkInsertOperationStatus');

View File

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

View File

@@ -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\DeploymentManager;
class DebugInfo extends \Google\Collection
{
protected $collection_key = 'stackEntries';
/**
* @var string
*/
public $detail;
/**
* @var string[]
*/
public $stackEntries;
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param string[]
*/
public function setStackEntries($stackEntries)
{
$this->stackEntries = $stackEntries;
}
/**
* @return string[]
*/
public function getStackEntries()
{
return $this->stackEntries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DebugInfo::class, 'Google_Service_DeploymentManager_DebugInfo');

View File

@@ -0,0 +1,235 @@
<?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\DeploymentManager;
class Deployment extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $fingerprint;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $insertTime;
protected $labelsType = DeploymentLabelEntry::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $manifest;
/**
* @var string
*/
public $name;
protected $operationType = Operation::class;
protected $operationDataType = '';
/**
* @var string
*/
public $selfLink;
protected $targetType = TargetConfiguration::class;
protected $targetDataType = '';
protected $updateType = DeploymentUpdate::class;
protected $updateDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param DeploymentLabelEntry[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return DeploymentLabelEntry[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setManifest($manifest)
{
$this->manifest = $manifest;
}
/**
* @return string
*/
public function getManifest()
{
return $this->manifest;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Operation
*/
public function setOperation(Operation $operation)
{
$this->operation = $operation;
}
/**
* @return Operation
*/
public function getOperation()
{
return $this->operation;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param TargetConfiguration
*/
public function setTarget(TargetConfiguration $target)
{
$this->target = $target;
}
/**
* @return TargetConfiguration
*/
public function getTarget()
{
return $this->target;
}
/**
* @param DeploymentUpdate
*/
public function setUpdate(DeploymentUpdate $update)
{
$this->update = $update;
}
/**
* @return DeploymentUpdate
*/
public function getUpdate()
{
return $this->update;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Deployment::class, 'Google_Service_DeploymentManager_Deployment');

View File

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

View File

@@ -0,0 +1,79 @@
<?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\DeploymentManager;
class DeploymentUpdate extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string
*/
public $description;
protected $labelsType = DeploymentUpdateLabelEntry::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $manifest;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param DeploymentUpdateLabelEntry[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return DeploymentUpdateLabelEntry[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setManifest($manifest)
{
$this->manifest = $manifest;
}
/**
* @return string
*/
public function getManifest()
{
return $this->manifest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeploymentUpdate::class, 'Google_Service_DeploymentManager_DeploymentUpdate');

View File

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

View File

@@ -0,0 +1,237 @@
<?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\DeploymentManager;
class DeploymentmanagerResource extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $accessControlType = ResourceAccessControl::class;
protected $accessControlDataType = '';
/**
* @var string
*/
public $finalProperties;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $manifest;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $properties;
/**
* @var string
*/
public $type;
protected $updateType = ResourceUpdate::class;
protected $updateDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $url;
protected $warningsType = DeploymentmanagerResourceWarnings::class;
protected $warningsDataType = 'array';
/**
* @param ResourceAccessControl
*/
public function setAccessControl(ResourceAccessControl $accessControl)
{
$this->accessControl = $accessControl;
}
/**
* @return ResourceAccessControl
*/
public function getAccessControl()
{
return $this->accessControl;
}
/**
* @param string
*/
public function setFinalProperties($finalProperties)
{
$this->finalProperties = $finalProperties;
}
/**
* @return string
*/
public function getFinalProperties()
{
return $this->finalProperties;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setManifest($manifest)
{
$this->manifest = $manifest;
}
/**
* @return string
*/
public function getManifest()
{
return $this->manifest;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return string
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param ResourceUpdate
*/
public function setUpdate(ResourceUpdate $update)
{
$this->update = $update;
}
/**
* @return ResourceUpdate
*/
public function getUpdate()
{
return $this->update;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* @param DeploymentmanagerResourceWarnings[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return DeploymentmanagerResourceWarnings[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeploymentmanagerResource::class, 'Google_Service_DeploymentManager_DeploymentmanagerResource');

View File

@@ -0,0 +1,79 @@
<?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\DeploymentManager;
class DeploymentmanagerResourceWarnings extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = DeploymentmanagerResourceWarningsData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param DeploymentmanagerResourceWarningsData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return DeploymentmanagerResourceWarningsData[]
*/
public function getData()
{
return $this->data;
}
/**
* @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(DeploymentmanagerResourceWarnings::class, 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings');

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class ErrorInfo extends \Google\Model
{
/**
* @var string
*/
public $domain;
/**
* @var string[]
*/
public $metadata;
/**
* @var string
*/
public $reason;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ErrorInfo::class, 'Google_Service_DeploymentManager_ErrorInfo');

View File

@@ -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\DeploymentManager;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_DeploymentManager_Expr');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class GlobalSetPolicyRequest extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GlobalSetPolicyRequest::class, 'Google_Service_DeploymentManager_GlobalSetPolicyRequest');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,203 @@
<?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\DeploymentManager;
class Manifest extends \Google\Collection
{
protected $collection_key = 'imports';
protected $configType = ConfigFile::class;
protected $configDataType = '';
/**
* @var string
*/
public $expandedConfig;
/**
* @var string
*/
public $id;
protected $importsType = ImportFile::class;
protected $importsDataType = 'array';
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $layout;
/**
* @var string
*/
public $manifestSizeBytes;
/**
* @var string
*/
public $manifestSizeLimitBytes;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $selfLink;
/**
* @param ConfigFile
*/
public function setConfig(ConfigFile $config)
{
$this->config = $config;
}
/**
* @return ConfigFile
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setExpandedConfig($expandedConfig)
{
$this->expandedConfig = $expandedConfig;
}
/**
* @return string
*/
public function getExpandedConfig()
{
return $this->expandedConfig;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param ImportFile[]
*/
public function setImports($imports)
{
$this->imports = $imports;
}
/**
* @return ImportFile[]
*/
public function getImports()
{
return $this->imports;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setLayout($layout)
{
$this->layout = $layout;
}
/**
* @return string
*/
public function getLayout()
{
return $this->layout;
}
/**
* @param string
*/
public function setManifestSizeBytes($manifestSizeBytes)
{
$this->manifestSizeBytes = $manifestSizeBytes;
}
/**
* @return string
*/
public function getManifestSizeBytes()
{
return $this->manifestSizeBytes;
}
/**
* @param string
*/
public function setManifestSizeLimitBytes($manifestSizeLimitBytes)
{
$this->manifestSizeLimitBytes = $manifestSizeLimitBytes;
}
/**
* @return string
*/
public function getManifestSizeLimitBytes()
{
return $this->manifestSizeLimitBytes;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Manifest::class, 'Google_Service_DeploymentManager_Manifest');

View File

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

View File

@@ -0,0 +1,505 @@
<?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\DeploymentManager;
class Operation extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $clientOperationId;
/**
* @var string
*/
public $creationTimestamp;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $endTime;
protected $errorType = OperationError::class;
protected $errorDataType = '';
/**
* @var string
*/
public $httpErrorMessage;
/**
* @var int
*/
public $httpErrorStatusCode;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $insertTime;
protected $instancesBulkInsertOperationMetadataType = InstancesBulkInsertOperationMetadata::class;
protected $instancesBulkInsertOperationMetadataDataType = '';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $operationGroupId;
/**
* @var string
*/
public $operationType;
/**
* @var int
*/
public $progress;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $selfLinkWithId;
protected $setCommonInstanceMetadataOperationMetadataType = SetCommonInstanceMetadataOperationMetadata::class;
protected $setCommonInstanceMetadataOperationMetadataDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $targetId;
/**
* @var string
*/
public $targetLink;
/**
* @var string
*/
public $user;
protected $warningsType = OperationWarnings::class;
protected $warningsDataType = 'array';
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setClientOperationId($clientOperationId)
{
$this->clientOperationId = $clientOperationId;
}
/**
* @return string
*/
public function getClientOperationId()
{
return $this->clientOperationId;
}
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param OperationError
*/
public function setError(OperationError $error)
{
$this->error = $error;
}
/**
* @return OperationError
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setHttpErrorMessage($httpErrorMessage)
{
$this->httpErrorMessage = $httpErrorMessage;
}
/**
* @return string
*/
public function getHttpErrorMessage()
{
return $this->httpErrorMessage;
}
/**
* @param int
*/
public function setHttpErrorStatusCode($httpErrorStatusCode)
{
$this->httpErrorStatusCode = $httpErrorStatusCode;
}
/**
* @return int
*/
public function getHttpErrorStatusCode()
{
return $this->httpErrorStatusCode;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param InstancesBulkInsertOperationMetadata
*/
public function setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata $instancesBulkInsertOperationMetadata)
{
$this->instancesBulkInsertOperationMetadata = $instancesBulkInsertOperationMetadata;
}
/**
* @return InstancesBulkInsertOperationMetadata
*/
public function getInstancesBulkInsertOperationMetadata()
{
return $this->instancesBulkInsertOperationMetadata;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOperationGroupId($operationGroupId)
{
$this->operationGroupId = $operationGroupId;
}
/**
* @return string
*/
public function getOperationGroupId()
{
return $this->operationGroupId;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param int
*/
public function setProgress($progress)
{
$this->progress = $progress;
}
/**
* @return int
*/
public function getProgress()
{
return $this->progress;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setSelfLinkWithId($selfLinkWithId)
{
$this->selfLinkWithId = $selfLinkWithId;
}
/**
* @return string
*/
public function getSelfLinkWithId()
{
return $this->selfLinkWithId;
}
/**
* @param SetCommonInstanceMetadataOperationMetadata
*/
public function setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata $setCommonInstanceMetadataOperationMetadata)
{
$this->setCommonInstanceMetadataOperationMetadata = $setCommonInstanceMetadataOperationMetadata;
}
/**
* @return SetCommonInstanceMetadataOperationMetadata
*/
public function getSetCommonInstanceMetadataOperationMetadata()
{
return $this->setCommonInstanceMetadataOperationMetadata;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTargetId($targetId)
{
$this->targetId = $targetId;
}
/**
* @return string
*/
public function getTargetId()
{
return $this->targetId;
}
/**
* @param string
*/
public function setTargetLink($targetLink)
{
$this->targetLink = $targetLink;
}
/**
* @return string
*/
public function getTargetLink()
{
return $this->targetLink;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
/**
* @param OperationWarnings[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return OperationWarnings[]
*/
public function getWarnings()
{
return $this->warnings;
}
/**
* @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(Operation::class, 'Google_Service_DeploymentManager_Operation');

View File

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

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class OperationErrorErrors extends \Google\Collection
{
protected $collection_key = 'errorDetails';
/**
* @var string[]
*/
public $arguments;
/**
* @var string
*/
public $code;
protected $debugInfoType = DebugInfo::class;
protected $debugInfoDataType = '';
protected $errorDetailsType = OperationErrorErrorsErrorDetails::class;
protected $errorDetailsDataType = 'array';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $message;
/**
* @param string[]
*/
public function setArguments($arguments)
{
$this->arguments = $arguments;
}
/**
* @return string[]
*/
public function getArguments()
{
return $this->arguments;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param DebugInfo
*/
public function setDebugInfo(DebugInfo $debugInfo)
{
$this->debugInfo = $debugInfo;
}
/**
* @return DebugInfo
*/
public function getDebugInfo()
{
return $this->debugInfo;
}
/**
* @param OperationErrorErrorsErrorDetails[]
*/
public function setErrorDetails($errorDetails)
{
$this->errorDetails = $errorDetails;
}
/**
* @return OperationErrorErrorsErrorDetails[]
*/
public function getErrorDetails()
{
return $this->errorDetails;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(OperationErrorErrors::class, 'Google_Service_DeploymentManager_OperationErrorErrors');

View File

@@ -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\DeploymentManager;
class OperationErrorErrorsErrorDetails extends \Google\Model
{
protected $errorInfoType = ErrorInfo::class;
protected $errorInfoDataType = '';
protected $helpType = Help::class;
protected $helpDataType = '';
protected $localizedMessageType = LocalizedMessage::class;
protected $localizedMessageDataType = '';
protected $quotaInfoType = QuotaExceededInfo::class;
protected $quotaInfoDataType = '';
/**
* @param ErrorInfo
*/
public function setErrorInfo(ErrorInfo $errorInfo)
{
$this->errorInfo = $errorInfo;
}
/**
* @return ErrorInfo
*/
public function getErrorInfo()
{
return $this->errorInfo;
}
/**
* @param Help
*/
public function setHelp(Help $help)
{
$this->help = $help;
}
/**
* @return Help
*/
public function getHelp()
{
return $this->help;
}
/**
* @param LocalizedMessage
*/
public function setLocalizedMessage(LocalizedMessage $localizedMessage)
{
$this->localizedMessage = $localizedMessage;
}
/**
* @return LocalizedMessage
*/
public function getLocalizedMessage()
{
return $this->localizedMessage;
}
/**
* @param QuotaExceededInfo
*/
public function setQuotaInfo(QuotaExceededInfo $quotaInfo)
{
$this->quotaInfo = $quotaInfo;
}
/**
* @return QuotaExceededInfo
*/
public function getQuotaInfo()
{
return $this->quotaInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationErrorErrorsErrorDetails::class, 'Google_Service_DeploymentManager_OperationErrorErrorsErrorDetails');

View File

@@ -0,0 +1,79 @@
<?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\DeploymentManager;
class OperationWarnings extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = OperationWarningsData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param OperationWarningsData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return OperationWarningsData[]
*/
public function getData()
{
return $this->data;
}
/**
* @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(OperationWarnings::class, 'Google_Service_DeploymentManager_OperationWarnings');

View File

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

View File

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

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_DeploymentManager_Policy');

View File

@@ -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\DeploymentManager;
class QuotaExceededInfo extends \Google\Model
{
/**
* @var string[]
*/
public $dimensions;
public $futureLimit;
public $limit;
/**
* @var string
*/
public $limitName;
/**
* @var string
*/
public $metricName;
/**
* @var string
*/
public $rolloutStatus;
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
public function setFutureLimit($futureLimit)
{
$this->futureLimit = $futureLimit;
}
public function getFutureLimit()
{
return $this->futureLimit;
}
public function setLimit($limit)
{
$this->limit = $limit;
}
public function getLimit()
{
return $this->limit;
}
/**
* @param string
*/
public function setLimitName($limitName)
{
$this->limitName = $limitName;
}
/**
* @return string
*/
public function getLimitName()
{
return $this->limitName;
}
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* @param string
*/
public function setRolloutStatus($rolloutStatus)
{
$this->rolloutStatus = $rolloutStatus;
}
/**
* @return string
*/
public function getRolloutStatus()
{
return $this->rolloutStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QuotaExceededInfo::class, 'Google_Service_DeploymentManager_QuotaExceededInfo');

View File

@@ -0,0 +1,324 @@
<?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\DeploymentManager\Resource;
use Google\Service\DeploymentManager\Deployment;
use Google\Service\DeploymentManager\DeploymentsCancelPreviewRequest;
use Google\Service\DeploymentManager\DeploymentsListResponse;
use Google\Service\DeploymentManager\DeploymentsStopRequest;
use Google\Service\DeploymentManager\GlobalSetPolicyRequest;
use Google\Service\DeploymentManager\Operation;
use Google\Service\DeploymentManager\Policy;
use Google\Service\DeploymentManager\TestPermissionsRequest;
use Google\Service\DeploymentManager\TestPermissionsResponse;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $deploymentmanagerService = new Google\Service\DeploymentManager(...);
* $deployments = $deploymentmanagerService->deployments;
* </code>
*/
class Deployments extends \Google\Service\Resource
{
/**
* Cancels and removes the preview currently associated with the deployment.
* (deployments.cancelPreview)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param DeploymentsCancelPreviewRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function cancelPreview($project, $deployment, DeploymentsCancelPreviewRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancelPreview', [$params], Operation::class);
}
/**
* Deletes a deployment and all of the resources in the deployment.
* (deployments.delete)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string deletePolicy Sets the policy to use for deleting resources.
* @opt_param bool header.bypassBillingFilter
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($project, $deployment, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets information about a specific deployment. (deployments.get)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @return Deployment
* @throws \Google\Service\Exception
*/
public function get($project, $deployment, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Deployment::class);
}
/**
* Gets the access control policy for a resource. May be empty if no such policy
* or resource exists. (deployments.getIamPolicy)
*
* @param string $project Project ID for this request.
* @param string $resource Name or id of the resource for this request.
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @opt_param int optionsRequestedPolicyVersion Requested IAM Policy version.
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($project, $resource, $optParams = [])
{
$params = ['project' => $project, 'resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Creates a deployment and all of the resources described by the deployment
* manifest. (deployments.insert)
*
* @param string $project The project ID for this request.
* @param Deployment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string createPolicy Sets the policy to use for creating new
* resources.
* @opt_param bool header.bypassBillingFilter
* @opt_param bool preview If set to true, creates a deployment and creates
* "shell" resources but does not actually instantiate these resources. This
* allows you to preview what your deployment looks like. After previewing a
* deployment, you can deploy your resources by making a request with the
* `update()` method or you can use the `cancelPreview()` method to cancel the
* preview altogether. Note that the deployment will still exist after you
* cancel the preview and you must separately delete this deployment if you want
* to remove it.
* @return Operation
* @throws \Google\Service\Exception
*/
public function insert($project, Deployment $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Operation::class);
}
/**
* Lists all deployments for a given project. (deployments.listDeployments)
*
* @param string $project The project ID for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters resources listed in
* the response. Most Compute resources support two types of filter expressions:
* expressions that support regular expressions and expressions that follow API
* improvement proposal AIP-160. These two types of filter expressions cannot be
* mixed in one request. If you want to use AIP-160, your expression must
* specify the field name, an operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The operator
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you
* are filtering Compute Engine instances, you can exclude instances named
* `example-instance` by specifying `name != example-instance`. The `:*`
* comparison can be used to test whether a key has been defined. For example,
* to find all objects with `owner` label use: ``` labels.owner:* ``` You can
* also filter nested fields. For example, you could specify
* `scheduling.automaticRestart = false` to include instances only if they are
* not scheduled for automatic restarts. You can use filtering on nested fields
* to filter based on resource labels. To filter on multiple expressions,
* provide each separate expression within parentheses. For example: ```
* (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
* default, each expression is an `AND` expression. However, you can include
* `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
* Skylake") OR (cpuPlatform = "Intel Broadwell") AND
* (scheduling.automaticRestart = true) ``` If you want to use a regular
* expression, use the `eq` (equal) or `ne` (not equal) operator against a
* single un-parenthesized expression with or without quotes or against multiple
* parenthesized expressions. Examples: `fieldname eq unquoted literal`
* `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"`
* `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
* interpreted as a regular expression using Google RE2 library syntax. The
* literal value must match the entire field. For example, to filter for
* instances that do not end with name "instance", you would use `name ne
* .*instance`. You cannot combine constraints on multiple fields using regular
* expressions.
* @opt_param string maxResults The maximum number of results per page that
* should be returned. If the number of available results is larger than
* `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
* get the next page of results in subsequent list requests. Acceptable values
* are `0` to `500`, inclusive. (Default: `500`)
* @opt_param string orderBy Sorts list results by a certain order. By default,
* results are returned in alphanumerical order based on the resource name. You
* can also sort results in descending order based on the creation timestamp
* using `orderBy="creationTimestamp desc"`. This sorts results based on the
* `creationTimestamp` field in reverse chronological order (newest result
* first). Use this to sort resources like operations so that the newest
* operation is returned first. Currently, only sorting by `name` or
* `creationTimestamp desc` is supported.
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
* the `nextPageToken` returned by a previous list request to get the next page
* of results.
* @return DeploymentsListResponse
* @throws \Google\Service\Exception
*/
public function listDeployments($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], DeploymentsListResponse::class);
}
/**
* Patches a deployment and all of the resources described by the deployment
* manifest. (deployments.patch)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param Deployment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string createPolicy Sets the policy to use for creating new
* resources.
* @opt_param string deletePolicy Sets the policy to use for deleting resources.
* @opt_param bool header.bypassBillingFilter
* @opt_param bool preview If set to true, updates the deployment and creates
* and updates the "shell" resources but does not actually alter or instantiate
* these resources. This allows you to preview what your deployment will look
* like. You can use this intent to preview how an update would affect your
* deployment. You must provide a `target.config` with a configuration if this
* is set to true. After previewing a deployment, you can deploy your resources
* by making a request with the `update()` or you can `cancelPreview()` to
* remove the preview altogether. Note that the deployment will still exist
* after you cancel the preview and you must separately delete this deployment
* if you want to remove it.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($project, $deployment, Deployment $postBody, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. (deployments.setIamPolicy)
*
* @param string $project Project ID for this request.
* @param string $resource Name or id of the resource for this request.
* @param GlobalSetPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($project, $resource, GlobalSetPolicyRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Stops an ongoing operation. This does not roll back any work that has already
* been completed, but prevents any new work from being started.
* (deployments.stop)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param DeploymentsStopRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function stop($project, $deployment, DeploymentsStopRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params], Operation::class);
}
/**
* Returns permissions that a caller has on the specified resource.
* (deployments.testIamPermissions)
*
* @param string $project Project ID for this request.
* @param string $resource Name or id of the resource for this request.
* @param TestPermissionsRequest $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @return TestPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($project, $resource, TestPermissionsRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestPermissionsResponse::class);
}
/**
* Updates a deployment and all of the resources described by the deployment
* manifest. (deployments.update)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param Deployment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string createPolicy Sets the policy to use for creating new
* resources.
* @opt_param string deletePolicy Sets the policy to use for deleting resources.
* @opt_param bool header.bypassBillingFilter
* @opt_param bool preview If set to true, updates the deployment and creates
* and updates the "shell" resources but does not actually alter or instantiate
* these resources. This allows you to preview what your deployment will look
* like. You can use this intent to preview how an update would affect your
* deployment. You must provide a `target.config` with a configuration if this
* is set to true. After previewing a deployment, you can deploy your resources
* by making a request with the `update()` or you can `cancelPreview()` to
* remove the preview altogether. Note that the deployment will still exist
* after you cancel the preview and you must separately delete this deployment
* if you want to remove it.
* @return Operation
* @throws \Google\Service\Exception
*/
public function update($project, $deployment, Deployment $postBody, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Deployments::class, 'Google_Service_DeploymentManager_Resource_Deployments');

View File

@@ -0,0 +1,118 @@
<?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\DeploymentManager\Resource;
use Google\Service\DeploymentManager\Manifest;
use Google\Service\DeploymentManager\ManifestsListResponse;
/**
* The "manifests" collection of methods.
* Typical usage is:
* <code>
* $deploymentmanagerService = new Google\Service\DeploymentManager(...);
* $manifests = $deploymentmanagerService->manifests;
* </code>
*/
class Manifests extends \Google\Service\Resource
{
/**
* Gets information about a specific manifest. (manifests.get)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param string $manifest The name of the manifest for this request.
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @return Manifest
* @throws \Google\Service\Exception
*/
public function get($project, $deployment, $manifest, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'manifest' => $manifest];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Manifest::class);
}
/**
* Lists all manifests for a given deployment. (manifests.listManifests)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters resources listed in
* the response. Most Compute resources support two types of filter expressions:
* expressions that support regular expressions and expressions that follow API
* improvement proposal AIP-160. These two types of filter expressions cannot be
* mixed in one request. If you want to use AIP-160, your expression must
* specify the field name, an operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The operator
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you
* are filtering Compute Engine instances, you can exclude instances named
* `example-instance` by specifying `name != example-instance`. The `:*`
* comparison can be used to test whether a key has been defined. For example,
* to find all objects with `owner` label use: ``` labels.owner:* ``` You can
* also filter nested fields. For example, you could specify
* `scheduling.automaticRestart = false` to include instances only if they are
* not scheduled for automatic restarts. You can use filtering on nested fields
* to filter based on resource labels. To filter on multiple expressions,
* provide each separate expression within parentheses. For example: ```
* (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
* default, each expression is an `AND` expression. However, you can include
* `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
* Skylake") OR (cpuPlatform = "Intel Broadwell") AND
* (scheduling.automaticRestart = true) ``` If you want to use a regular
* expression, use the `eq` (equal) or `ne` (not equal) operator against a
* single un-parenthesized expression with or without quotes or against multiple
* parenthesized expressions. Examples: `fieldname eq unquoted literal`
* `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"`
* `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
* interpreted as a regular expression using Google RE2 library syntax. The
* literal value must match the entire field. For example, to filter for
* instances that do not end with name "instance", you would use `name ne
* .*instance`. You cannot combine constraints on multiple fields using regular
* expressions.
* @opt_param string maxResults The maximum number of results per page that
* should be returned. If the number of available results is larger than
* `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
* get the next page of results in subsequent list requests. Acceptable values
* are `0` to `500`, inclusive. (Default: `500`)
* @opt_param string orderBy Sorts list results by a certain order. By default,
* results are returned in alphanumerical order based on the resource name. You
* can also sort results in descending order based on the creation timestamp
* using `orderBy="creationTimestamp desc"`. This sorts results based on the
* `creationTimestamp` field in reverse chronological order (newest result
* first). Use this to sort resources like operations so that the newest
* operation is returned first. Currently, only sorting by `name` or
* `creationTimestamp desc` is supported.
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
* the `nextPageToken` returned by a previous list request to get the next page
* of results.
* @return ManifestsListResponse
* @throws \Google\Service\Exception
*/
public function listManifests($project, $deployment, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManifestsListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Manifests::class, 'Google_Service_DeploymentManager_Resource_Manifests');

View File

@@ -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\DeploymentManager\Resource;
use Google\Service\DeploymentManager\Operation;
use Google\Service\DeploymentManager\OperationsListResponse;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $deploymentmanagerService = new Google\Service\DeploymentManager(...);
* $operations = $deploymentmanagerService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Gets information about a specific operation. (operations.get)
*
* @param string $project The project ID for this request.
* @param string $operation The name of the operation for this request.
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($project, $operation, $optParams = [])
{
$params = ['project' => $project, 'operation' => $operation];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists all operations for a project. (operations.listOperations)
*
* @param string $project The project ID for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters resources listed in
* the response. Most Compute resources support two types of filter expressions:
* expressions that support regular expressions and expressions that follow API
* improvement proposal AIP-160. These two types of filter expressions cannot be
* mixed in one request. If you want to use AIP-160, your expression must
* specify the field name, an operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The operator
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you
* are filtering Compute Engine instances, you can exclude instances named
* `example-instance` by specifying `name != example-instance`. The `:*`
* comparison can be used to test whether a key has been defined. For example,
* to find all objects with `owner` label use: ``` labels.owner:* ``` You can
* also filter nested fields. For example, you could specify
* `scheduling.automaticRestart = false` to include instances only if they are
* not scheduled for automatic restarts. You can use filtering on nested fields
* to filter based on resource labels. To filter on multiple expressions,
* provide each separate expression within parentheses. For example: ```
* (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
* default, each expression is an `AND` expression. However, you can include
* `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
* Skylake") OR (cpuPlatform = "Intel Broadwell") AND
* (scheduling.automaticRestart = true) ``` If you want to use a regular
* expression, use the `eq` (equal) or `ne` (not equal) operator against a
* single un-parenthesized expression with or without quotes or against multiple
* parenthesized expressions. Examples: `fieldname eq unquoted literal`
* `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"`
* `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
* interpreted as a regular expression using Google RE2 library syntax. The
* literal value must match the entire field. For example, to filter for
* instances that do not end with name "instance", you would use `name ne
* .*instance`. You cannot combine constraints on multiple fields using regular
* expressions.
* @opt_param string maxResults The maximum number of results per page that
* should be returned. If the number of available results is larger than
* `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
* get the next page of results in subsequent list requests. Acceptable values
* are `0` to `500`, inclusive. (Default: `500`)
* @opt_param string orderBy Sorts list results by a certain order. By default,
* results are returned in alphanumerical order based on the resource name. You
* can also sort results in descending order based on the creation timestamp
* using `orderBy="creationTimestamp desc"`. This sorts results based on the
* `creationTimestamp` field in reverse chronological order (newest result
* first). Use this to sort resources like operations so that the newest
* operation is returned first. Currently, only sorting by `name` or
* `creationTimestamp desc` is supported.
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
* the `nextPageToken` returned by a previous list request to get the next page
* of results.
* @return OperationsListResponse
* @throws \Google\Service\Exception
*/
public function listOperations($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], OperationsListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_DeploymentManager_Resource_Operations');

View File

@@ -0,0 +1,118 @@
<?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\DeploymentManager\Resource;
use Google\Service\DeploymentManager\DeploymentmanagerResource;
use Google\Service\DeploymentManager\ResourcesListResponse;
/**
* The "resources" collection of methods.
* Typical usage is:
* <code>
* $deploymentmanagerService = new Google\Service\DeploymentManager(...);
* $resources = $deploymentmanagerService->resources;
* </code>
*/
class Resources extends \Google\Service\Resource
{
/**
* Gets information about a single resource. (resources.get)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param string $resource The name of the resource for this request.
* @param array $optParams Optional parameters.
*
* @opt_param bool header.bypassBillingFilter
* @return DeploymentmanagerResource
* @throws \Google\Service\Exception
*/
public function get($project, $deployment, $resource, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment, 'resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DeploymentmanagerResource::class);
}
/**
* Lists all resources in a given deployment. (resources.listResources)
*
* @param string $project The project ID for this request.
* @param string $deployment The name of the deployment for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters resources listed in
* the response. Most Compute resources support two types of filter expressions:
* expressions that support regular expressions and expressions that follow API
* improvement proposal AIP-160. These two types of filter expressions cannot be
* mixed in one request. If you want to use AIP-160, your expression must
* specify the field name, an operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The operator
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you
* are filtering Compute Engine instances, you can exclude instances named
* `example-instance` by specifying `name != example-instance`. The `:*`
* comparison can be used to test whether a key has been defined. For example,
* to find all objects with `owner` label use: ``` labels.owner:* ``` You can
* also filter nested fields. For example, you could specify
* `scheduling.automaticRestart = false` to include instances only if they are
* not scheduled for automatic restarts. You can use filtering on nested fields
* to filter based on resource labels. To filter on multiple expressions,
* provide each separate expression within parentheses. For example: ```
* (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
* default, each expression is an `AND` expression. However, you can include
* `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
* Skylake") OR (cpuPlatform = "Intel Broadwell") AND
* (scheduling.automaticRestart = true) ``` If you want to use a regular
* expression, use the `eq` (equal) or `ne` (not equal) operator against a
* single un-parenthesized expression with or without quotes or against multiple
* parenthesized expressions. Examples: `fieldname eq unquoted literal`
* `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"`
* `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
* interpreted as a regular expression using Google RE2 library syntax. The
* literal value must match the entire field. For example, to filter for
* instances that do not end with name "instance", you would use `name ne
* .*instance`. You cannot combine constraints on multiple fields using regular
* expressions.
* @opt_param string maxResults The maximum number of results per page that
* should be returned. If the number of available results is larger than
* `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
* get the next page of results in subsequent list requests. Acceptable values
* are `0` to `500`, inclusive. (Default: `500`)
* @opt_param string orderBy Sorts list results by a certain order. By default,
* results are returned in alphanumerical order based on the resource name. You
* can also sort results in descending order based on the creation timestamp
* using `orderBy="creationTimestamp desc"`. This sorts results based on the
* `creationTimestamp` field in reverse chronological order (newest result
* first). Use this to sort resources like operations so that the newest
* operation is returned first. Currently, only sorting by `name` or
* `creationTimestamp desc` is supported.
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
* the `nextPageToken` returned by a previous list request to get the next page
* of results.
* @return ResourcesListResponse
* @throws \Google\Service\Exception
*/
public function listResources($project, $deployment, $optParams = [])
{
$params = ['project' => $project, 'deployment' => $deployment];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ResourcesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Resources::class, 'Google_Service_DeploymentManager_Resource_Resources');

View File

@@ -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\DeploymentManager\Resource;
use Google\Service\DeploymentManager\TypesListResponse;
/**
* The "types" collection of methods.
* Typical usage is:
* <code>
* $deploymentmanagerService = new Google\Service\DeploymentManager(...);
* $types = $deploymentmanagerService->types;
* </code>
*/
class Types extends \Google\Service\Resource
{
/**
* Lists all resource types for Deployment Manager. (types.listTypes)
*
* @param string $project The project ID for this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters resources listed in
* the response. Most Compute resources support two types of filter expressions:
* expressions that support regular expressions and expressions that follow API
* improvement proposal AIP-160. These two types of filter expressions cannot be
* mixed in one request. If you want to use AIP-160, your expression must
* specify the field name, an operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The operator
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you
* are filtering Compute Engine instances, you can exclude instances named
* `example-instance` by specifying `name != example-instance`. The `:*`
* comparison can be used to test whether a key has been defined. For example,
* to find all objects with `owner` label use: ``` labels.owner:* ``` You can
* also filter nested fields. For example, you could specify
* `scheduling.automaticRestart = false` to include instances only if they are
* not scheduled for automatic restarts. You can use filtering on nested fields
* to filter based on resource labels. To filter on multiple expressions,
* provide each separate expression within parentheses. For example: ```
* (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
* default, each expression is an `AND` expression. However, you can include
* `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
* Skylake") OR (cpuPlatform = "Intel Broadwell") AND
* (scheduling.automaticRestart = true) ``` If you want to use a regular
* expression, use the `eq` (equal) or `ne` (not equal) operator against a
* single un-parenthesized expression with or without quotes or against multiple
* parenthesized expressions. Examples: `fieldname eq unquoted literal`
* `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"`
* `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
* interpreted as a regular expression using Google RE2 library syntax. The
* literal value must match the entire field. For example, to filter for
* instances that do not end with name "instance", you would use `name ne
* .*instance`. You cannot combine constraints on multiple fields using regular
* expressions.
* @opt_param string maxResults The maximum number of results per page that
* should be returned. If the number of available results is larger than
* `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
* get the next page of results in subsequent list requests. Acceptable values
* are `0` to `500`, inclusive. (Default: `500`)
* @opt_param string orderBy Sorts list results by a certain order. By default,
* results are returned in alphanumerical order based on the resource name. You
* can also sort results in descending order based on the creation timestamp
* using `orderBy="creationTimestamp desc"`. This sorts results based on the
* `creationTimestamp` field in reverse chronological order (newest result
* first). Use this to sort resources like operations so that the newest
* operation is returned first. Currently, only sorting by `name` or
* `creationTimestamp desc` is supported.
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
* the `nextPageToken` returned by a previous list request to get the next page
* of results.
* @return TypesListResponse
* @throws \Google\Service\Exception
*/
public function listTypes($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], TypesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Types::class, 'Google_Service_DeploymentManager_Resource_Types');

View File

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

View File

@@ -0,0 +1,165 @@
<?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\DeploymentManager;
class ResourceUpdate extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $accessControlType = ResourceAccessControl::class;
protected $accessControlDataType = '';
protected $errorType = ResourceUpdateError::class;
protected $errorDataType = '';
/**
* @var string
*/
public $finalProperties;
/**
* @var string
*/
public $intent;
/**
* @var string
*/
public $manifest;
/**
* @var string
*/
public $properties;
/**
* @var string
*/
public $state;
protected $warningsType = ResourceUpdateWarnings::class;
protected $warningsDataType = 'array';
/**
* @param ResourceAccessControl
*/
public function setAccessControl(ResourceAccessControl $accessControl)
{
$this->accessControl = $accessControl;
}
/**
* @return ResourceAccessControl
*/
public function getAccessControl()
{
return $this->accessControl;
}
/**
* @param ResourceUpdateError
*/
public function setError(ResourceUpdateError $error)
{
$this->error = $error;
}
/**
* @return ResourceUpdateError
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setFinalProperties($finalProperties)
{
$this->finalProperties = $finalProperties;
}
/**
* @return string
*/
public function getFinalProperties()
{
return $this->finalProperties;
}
/**
* @param string
*/
public function setIntent($intent)
{
$this->intent = $intent;
}
/**
* @return string
*/
public function getIntent()
{
return $this->intent;
}
/**
* @param string
*/
public function setManifest($manifest)
{
$this->manifest = $manifest;
}
/**
* @return string
*/
public function getManifest()
{
return $this->manifest;
}
/**
* @param string
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return string
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param ResourceUpdateWarnings[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return ResourceUpdateWarnings[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceUpdate::class, 'Google_Service_DeploymentManager_ResourceUpdate');

View File

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

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class ResourceUpdateErrorErrors extends \Google\Collection
{
protected $collection_key = 'errorDetails';
/**
* @var string[]
*/
public $arguments;
/**
* @var string
*/
public $code;
protected $debugInfoType = DebugInfo::class;
protected $debugInfoDataType = '';
protected $errorDetailsType = ResourceUpdateErrorErrorsErrorDetails::class;
protected $errorDetailsDataType = 'array';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $message;
/**
* @param string[]
*/
public function setArguments($arguments)
{
$this->arguments = $arguments;
}
/**
* @return string[]
*/
public function getArguments()
{
return $this->arguments;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param DebugInfo
*/
public function setDebugInfo(DebugInfo $debugInfo)
{
$this->debugInfo = $debugInfo;
}
/**
* @return DebugInfo
*/
public function getDebugInfo()
{
return $this->debugInfo;
}
/**
* @param ResourceUpdateErrorErrorsErrorDetails[]
*/
public function setErrorDetails($errorDetails)
{
$this->errorDetails = $errorDetails;
}
/**
* @return ResourceUpdateErrorErrorsErrorDetails[]
*/
public function getErrorDetails()
{
return $this->errorDetails;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(ResourceUpdateErrorErrors::class, 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors');

View File

@@ -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\DeploymentManager;
class ResourceUpdateErrorErrorsErrorDetails extends \Google\Model
{
protected $errorInfoType = ErrorInfo::class;
protected $errorInfoDataType = '';
protected $helpType = Help::class;
protected $helpDataType = '';
protected $localizedMessageType = LocalizedMessage::class;
protected $localizedMessageDataType = '';
protected $quotaInfoType = QuotaExceededInfo::class;
protected $quotaInfoDataType = '';
/**
* @param ErrorInfo
*/
public function setErrorInfo(ErrorInfo $errorInfo)
{
$this->errorInfo = $errorInfo;
}
/**
* @return ErrorInfo
*/
public function getErrorInfo()
{
return $this->errorInfo;
}
/**
* @param Help
*/
public function setHelp(Help $help)
{
$this->help = $help;
}
/**
* @return Help
*/
public function getHelp()
{
return $this->help;
}
/**
* @param LocalizedMessage
*/
public function setLocalizedMessage(LocalizedMessage $localizedMessage)
{
$this->localizedMessage = $localizedMessage;
}
/**
* @return LocalizedMessage
*/
public function getLocalizedMessage()
{
return $this->localizedMessage;
}
/**
* @param QuotaExceededInfo
*/
public function setQuotaInfo(QuotaExceededInfo $quotaInfo)
{
$this->quotaInfo = $quotaInfo;
}
/**
* @return QuotaExceededInfo
*/
public function getQuotaInfo()
{
return $this->quotaInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceUpdateErrorErrorsErrorDetails::class, 'Google_Service_DeploymentManager_ResourceUpdateErrorErrorsErrorDetails');

View File

@@ -0,0 +1,79 @@
<?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\DeploymentManager;
class ResourceUpdateWarnings extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = ResourceUpdateWarningsData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param ResourceUpdateWarningsData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return ResourceUpdateWarningsData[]
*/
public function getData()
{
return $this->data;
}
/**
* @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(ResourceUpdateWarnings::class, 'Google_Service_DeploymentManager_ResourceUpdateWarnings');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DeploymentManager;
class Type extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $name;
protected $operationType = Operation::class;
protected $operationDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Operation
*/
public function setOperation(Operation $operation)
{
$this->operation = $operation;
}
/**
* @return Operation
*/
public function getOperation()
{
return $this->operation;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Type::class, 'Google_Service_DeploymentManager_Type');

View File

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