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

View File

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

View File

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

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\CloudDeploy;
class AdvanceChildRolloutJobRun extends \Google\Model
{
/**
* @var string
*/
public $rollout;
/**
* @var string
*/
public $rolloutPhaseId;
/**
* @param string
*/
public function setRollout($rollout)
{
$this->rollout = $rollout;
}
/**
* @return string
*/
public function getRollout()
{
return $this->rollout;
}
/**
* @param string
*/
public function setRolloutPhaseId($rolloutPhaseId)
{
$this->rolloutPhaseId = $rolloutPhaseId;
}
/**
* @return string
*/
public function getRolloutPhaseId()
{
return $this->rolloutPhaseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvanceChildRolloutJobRun::class, 'Google_Service_CloudDeploy_AdvanceChildRolloutJobRun');

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\CloudDeploy;
class AdvanceRolloutOperation extends \Google\Model
{
/**
* @var string
*/
public $destinationPhase;
/**
* @var string
*/
public $rollout;
/**
* @var string
*/
public $sourcePhase;
/**
* @var string
*/
public $wait;
/**
* @param string
*/
public function setDestinationPhase($destinationPhase)
{
$this->destinationPhase = $destinationPhase;
}
/**
* @return string
*/
public function getDestinationPhase()
{
return $this->destinationPhase;
}
/**
* @param string
*/
public function setRollout($rollout)
{
$this->rollout = $rollout;
}
/**
* @return string
*/
public function getRollout()
{
return $this->rollout;
}
/**
* @param string
*/
public function setSourcePhase($sourcePhase)
{
$this->sourcePhase = $sourcePhase;
}
/**
* @return string
*/
public function getSourcePhase()
{
return $this->sourcePhase;
}
/**
* @param string
*/
public function setWait($wait)
{
$this->wait = $wait;
}
/**
* @return string
*/
public function getWait()
{
return $this->wait;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvanceRolloutOperation::class, 'Google_Service_CloudDeploy_AdvanceRolloutOperation');

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\CloudDeploy;
class AdvanceRolloutRequest extends \Google\Collection
{
protected $collection_key = 'overrideDeployPolicy';
/**
* @var string[]
*/
public $overrideDeployPolicy;
/**
* @var string
*/
public $phaseId;
/**
* @param string[]
*/
public function setOverrideDeployPolicy($overrideDeployPolicy)
{
$this->overrideDeployPolicy = $overrideDeployPolicy;
}
/**
* @return string[]
*/
public function getOverrideDeployPolicy()
{
return $this->overrideDeployPolicy;
}
/**
* @param string
*/
public function setPhaseId($phaseId)
{
$this->phaseId = $phaseId;
}
/**
* @return string
*/
public function getPhaseId()
{
return $this->phaseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvanceRolloutRequest::class, 'Google_Service_CloudDeploy_AdvanceRolloutRequest');

View File

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

View File

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

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\CloudDeploy;
class AnthosCluster extends \Google\Model
{
/**
* @var string
*/
public $membership;
/**
* @param string
*/
public function setMembership($membership)
{
$this->membership = $membership;
}
/**
* @return string
*/
public function getMembership()
{
return $this->membership;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnthosCluster::class, 'Google_Service_CloudDeploy_AnthosCluster');

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\CloudDeploy;
class ApproveRolloutRequest extends \Google\Collection
{
protected $collection_key = 'overrideDeployPolicy';
/**
* @var bool
*/
public $approved;
/**
* @var string[]
*/
public $overrideDeployPolicy;
/**
* @param bool
*/
public function setApproved($approved)
{
$this->approved = $approved;
}
/**
* @return bool
*/
public function getApproved()
{
return $this->approved;
}
/**
* @param string[]
*/
public function setOverrideDeployPolicy($overrideDeployPolicy)
{
$this->overrideDeployPolicy = $overrideDeployPolicy;
}
/**
* @return string[]
*/
public function getOverrideDeployPolicy()
{
return $this->overrideDeployPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApproveRolloutRequest::class, 'Google_Service_CloudDeploy_ApproveRolloutRequest');

View File

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

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\CloudDeploy;
class AssociatedEntities extends \Google\Collection
{
protected $collection_key = 'gkeClusters';
protected $anthosClustersType = AnthosCluster::class;
protected $anthosClustersDataType = 'array';
protected $gkeClustersType = GkeCluster::class;
protected $gkeClustersDataType = 'array';
/**
* @param AnthosCluster[]
*/
public function setAnthosClusters($anthosClusters)
{
$this->anthosClusters = $anthosClusters;
}
/**
* @return AnthosCluster[]
*/
public function getAnthosClusters()
{
return $this->anthosClusters;
}
/**
* @param GkeCluster[]
*/
public function setGkeClusters($gkeClusters)
{
$this->gkeClusters = $gkeClusters;
}
/**
* @return GkeCluster[]
*/
public function getGkeClusters()
{
return $this->gkeClusters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssociatedEntities::class, 'Google_Service_CloudDeploy_AssociatedEntities');

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\CloudDeploy;
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_CloudDeploy_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\CloudDeploy;
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_CloudDeploy_AuditLogConfig');

View File

@@ -0,0 +1,239 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class Automation extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $rulesType = AutomationRule::class;
protected $rulesDataType = 'array';
protected $selectorType = AutomationResourceSelector::class;
protected $selectorDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var bool
*/
public $suspended;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param AutomationRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return AutomationRule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @param AutomationResourceSelector
*/
public function setSelector(AutomationResourceSelector $selector)
{
$this->selector = $selector;
}
/**
* @return AutomationResourceSelector
*/
public function getSelector()
{
return $this->selector;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param bool
*/
public function setSuspended($suspended)
{
$this->suspended = $suspended;
}
/**
* @return bool
*/
public function getSuspended()
{
return $this->suspended;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(Automation::class, 'Google_Service_CloudDeploy_Automation');

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\CloudDeploy;
class AutomationEvent extends \Google\Model
{
/**
* @var string
*/
public $automation;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $pipelineUid;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAutomation($automation)
{
$this->automation = $automation;
}
/**
* @return string
*/
public function getAutomation()
{
return $this->automation;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setPipelineUid($pipelineUid)
{
$this->pipelineUid = $pipelineUid;
}
/**
* @return string
*/
public function getPipelineUid()
{
return $this->pipelineUid;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationEvent::class, 'Google_Service_CloudDeploy_AutomationEvent');

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\CloudDeploy;
class AutomationResourceSelector extends \Google\Collection
{
protected $collection_key = 'targets';
protected $targetsType = TargetAttribute::class;
protected $targetsDataType = 'array';
/**
* @param TargetAttribute[]
*/
public function setTargets($targets)
{
$this->targets = $targets;
}
/**
* @return TargetAttribute[]
*/
public function getTargets()
{
return $this->targets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationResourceSelector::class, 'Google_Service_CloudDeploy_AutomationResourceSelector');

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\CloudDeploy;
class AutomationRolloutMetadata extends \Google\Collection
{
protected $collection_key = 'repairAutomationRuns';
/**
* @var string[]
*/
public $advanceAutomationRuns;
/**
* @var string
*/
public $promoteAutomationRun;
/**
* @var string[]
*/
public $repairAutomationRuns;
/**
* @param string[]
*/
public function setAdvanceAutomationRuns($advanceAutomationRuns)
{
$this->advanceAutomationRuns = $advanceAutomationRuns;
}
/**
* @return string[]
*/
public function getAdvanceAutomationRuns()
{
return $this->advanceAutomationRuns;
}
/**
* @param string
*/
public function setPromoteAutomationRun($promoteAutomationRun)
{
$this->promoteAutomationRun = $promoteAutomationRun;
}
/**
* @return string
*/
public function getPromoteAutomationRun()
{
return $this->promoteAutomationRun;
}
/**
* @param string[]
*/
public function setRepairAutomationRuns($repairAutomationRuns)
{
$this->repairAutomationRuns = $repairAutomationRuns;
}
/**
* @return string[]
*/
public function getRepairAutomationRuns()
{
return $this->repairAutomationRuns;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationRolloutMetadata::class, 'Google_Service_CloudDeploy_AutomationRolloutMetadata');

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\CloudDeploy;
class AutomationRule extends \Google\Model
{
protected $advanceRolloutRuleType = AdvanceRolloutRule::class;
protected $advanceRolloutRuleDataType = '';
protected $promoteReleaseRuleType = PromoteReleaseRule::class;
protected $promoteReleaseRuleDataType = '';
protected $repairRolloutRuleType = RepairRolloutRule::class;
protected $repairRolloutRuleDataType = '';
protected $timedPromoteReleaseRuleType = TimedPromoteReleaseRule::class;
protected $timedPromoteReleaseRuleDataType = '';
/**
* @param AdvanceRolloutRule
*/
public function setAdvanceRolloutRule(AdvanceRolloutRule $advanceRolloutRule)
{
$this->advanceRolloutRule = $advanceRolloutRule;
}
/**
* @return AdvanceRolloutRule
*/
public function getAdvanceRolloutRule()
{
return $this->advanceRolloutRule;
}
/**
* @param PromoteReleaseRule
*/
public function setPromoteReleaseRule(PromoteReleaseRule $promoteReleaseRule)
{
$this->promoteReleaseRule = $promoteReleaseRule;
}
/**
* @return PromoteReleaseRule
*/
public function getPromoteReleaseRule()
{
return $this->promoteReleaseRule;
}
/**
* @param RepairRolloutRule
*/
public function setRepairRolloutRule(RepairRolloutRule $repairRolloutRule)
{
$this->repairRolloutRule = $repairRolloutRule;
}
/**
* @return RepairRolloutRule
*/
public function getRepairRolloutRule()
{
return $this->repairRolloutRule;
}
/**
* @param TimedPromoteReleaseRule
*/
public function setTimedPromoteReleaseRule(TimedPromoteReleaseRule $timedPromoteReleaseRule)
{
$this->timedPromoteReleaseRule = $timedPromoteReleaseRule;
}
/**
* @return TimedPromoteReleaseRule
*/
public function getTimedPromoteReleaseRule()
{
return $this->timedPromoteReleaseRule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationRule::class, 'Google_Service_CloudDeploy_AutomationRule');

View File

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

View File

@@ -0,0 +1,338 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class AutomationRun extends \Google\Model
{
protected $advanceRolloutOperationType = AdvanceRolloutOperation::class;
protected $advanceRolloutOperationDataType = '';
/**
* @var string
*/
public $automationId;
protected $automationSnapshotType = Automation::class;
protected $automationSnapshotDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
protected $policyViolationType = PolicyViolation::class;
protected $policyViolationDataType = '';
protected $promoteReleaseOperationType = PromoteReleaseOperation::class;
protected $promoteReleaseOperationDataType = '';
protected $repairRolloutOperationType = RepairRolloutOperation::class;
protected $repairRolloutOperationDataType = '';
/**
* @var string
*/
public $ruleId;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateDescription;
/**
* @var string
*/
public $targetId;
protected $timedPromoteReleaseOperationType = TimedPromoteReleaseOperation::class;
protected $timedPromoteReleaseOperationDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $waitUntilTime;
/**
* @param AdvanceRolloutOperation
*/
public function setAdvanceRolloutOperation(AdvanceRolloutOperation $advanceRolloutOperation)
{
$this->advanceRolloutOperation = $advanceRolloutOperation;
}
/**
* @return AdvanceRolloutOperation
*/
public function getAdvanceRolloutOperation()
{
return $this->advanceRolloutOperation;
}
/**
* @param string
*/
public function setAutomationId($automationId)
{
$this->automationId = $automationId;
}
/**
* @return string
*/
public function getAutomationId()
{
return $this->automationId;
}
/**
* @param Automation
*/
public function setAutomationSnapshot(Automation $automationSnapshot)
{
$this->automationSnapshot = $automationSnapshot;
}
/**
* @return Automation
*/
public function getAutomationSnapshot()
{
return $this->automationSnapshot;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PolicyViolation
*/
public function setPolicyViolation(PolicyViolation $policyViolation)
{
$this->policyViolation = $policyViolation;
}
/**
* @return PolicyViolation
*/
public function getPolicyViolation()
{
return $this->policyViolation;
}
/**
* @param PromoteReleaseOperation
*/
public function setPromoteReleaseOperation(PromoteReleaseOperation $promoteReleaseOperation)
{
$this->promoteReleaseOperation = $promoteReleaseOperation;
}
/**
* @return PromoteReleaseOperation
*/
public function getPromoteReleaseOperation()
{
return $this->promoteReleaseOperation;
}
/**
* @param RepairRolloutOperation
*/
public function setRepairRolloutOperation(RepairRolloutOperation $repairRolloutOperation)
{
$this->repairRolloutOperation = $repairRolloutOperation;
}
/**
* @return RepairRolloutOperation
*/
public function getRepairRolloutOperation()
{
return $this->repairRolloutOperation;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateDescription($stateDescription)
{
$this->stateDescription = $stateDescription;
}
/**
* @return string
*/
public function getStateDescription()
{
return $this->stateDescription;
}
/**
* @param string
*/
public function setTargetId($targetId)
{
$this->targetId = $targetId;
}
/**
* @return string
*/
public function getTargetId()
{
return $this->targetId;
}
/**
* @param TimedPromoteReleaseOperation
*/
public function setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation $timedPromoteReleaseOperation)
{
$this->timedPromoteReleaseOperation = $timedPromoteReleaseOperation;
}
/**
* @return TimedPromoteReleaseOperation
*/
public function getTimedPromoteReleaseOperation()
{
return $this->timedPromoteReleaseOperation;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setWaitUntilTime($waitUntilTime)
{
$this->waitUntilTime = $waitUntilTime;
}
/**
* @return string
*/
public function getWaitUntilTime()
{
return $this->waitUntilTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationRun::class, 'Google_Service_CloudDeploy_AutomationRun');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class AutomationRunEvent extends \Google\Model
{
/**
* @var string
*/
public $automationId;
/**
* @var string
*/
public $automationRun;
/**
* @var string
*/
public $destinationTargetId;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $pipelineUid;
/**
* @var string
*/
public $ruleId;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAutomationId($automationId)
{
$this->automationId = $automationId;
}
/**
* @return string
*/
public function getAutomationId()
{
return $this->automationId;
}
/**
* @param string
*/
public function setAutomationRun($automationRun)
{
$this->automationRun = $automationRun;
}
/**
* @return string
*/
public function getAutomationRun()
{
return $this->automationRun;
}
/**
* @param string
*/
public function setDestinationTargetId($destinationTargetId)
{
$this->destinationTargetId = $destinationTargetId;
}
/**
* @return string
*/
public function getDestinationTargetId()
{
return $this->destinationTargetId;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setPipelineUid($pipelineUid)
{
$this->pipelineUid = $pipelineUid;
}
/**
* @return string
*/
public function getPipelineUid()
{
return $this->pipelineUid;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomationRunEvent::class, 'Google_Service_CloudDeploy_AutomationRunEvent');

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\CloudDeploy;
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_CloudDeploy_Binding');

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\CloudDeploy;
class BuildArtifact extends \Google\Model
{
/**
* @var string
*/
public $image;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildArtifact::class, 'Google_Service_CloudDeploy_BuildArtifact');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class Canary extends \Google\Model
{
protected $canaryDeploymentType = CanaryDeployment::class;
protected $canaryDeploymentDataType = '';
protected $customCanaryDeploymentType = CustomCanaryDeployment::class;
protected $customCanaryDeploymentDataType = '';
protected $runtimeConfigType = RuntimeConfig::class;
protected $runtimeConfigDataType = '';
/**
* @param CanaryDeployment
*/
public function setCanaryDeployment(CanaryDeployment $canaryDeployment)
{
$this->canaryDeployment = $canaryDeployment;
}
/**
* @return CanaryDeployment
*/
public function getCanaryDeployment()
{
return $this->canaryDeployment;
}
/**
* @param CustomCanaryDeployment
*/
public function setCustomCanaryDeployment(CustomCanaryDeployment $customCanaryDeployment)
{
$this->customCanaryDeployment = $customCanaryDeployment;
}
/**
* @return CustomCanaryDeployment
*/
public function getCustomCanaryDeployment()
{
return $this->customCanaryDeployment;
}
/**
* @param RuntimeConfig
*/
public function setRuntimeConfig(RuntimeConfig $runtimeConfig)
{
$this->runtimeConfig = $runtimeConfig;
}
/**
* @return RuntimeConfig
*/
public function getRuntimeConfig()
{
return $this->runtimeConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Canary::class, 'Google_Service_CloudDeploy_Canary');

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\CloudDeploy;
class CanaryDeployment extends \Google\Collection
{
protected $collection_key = 'percentages';
/**
* @var int[]
*/
public $percentages;
protected $postdeployType = Postdeploy::class;
protected $postdeployDataType = '';
protected $predeployType = Predeploy::class;
protected $predeployDataType = '';
/**
* @var bool
*/
public $verify;
/**
* @param int[]
*/
public function setPercentages($percentages)
{
$this->percentages = $percentages;
}
/**
* @return int[]
*/
public function getPercentages()
{
return $this->percentages;
}
/**
* @param Postdeploy
*/
public function setPostdeploy(Postdeploy $postdeploy)
{
$this->postdeploy = $postdeploy;
}
/**
* @return Postdeploy
*/
public function getPostdeploy()
{
return $this->postdeploy;
}
/**
* @param Predeploy
*/
public function setPredeploy(Predeploy $predeploy)
{
$this->predeploy = $predeploy;
}
/**
* @return Predeploy
*/
public function getPredeploy()
{
return $this->predeploy;
}
/**
* @param bool
*/
public function setVerify($verify)
{
$this->verify = $verify;
}
/**
* @return bool
*/
public function getVerify()
{
return $this->verify;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CanaryDeployment::class, 'Google_Service_CloudDeploy_CanaryDeployment');

View File

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

View File

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

View File

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

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

View File

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

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\CloudDeploy;
class ChildRolloutJobs extends \Google\Collection
{
protected $collection_key = 'createRolloutJobs';
protected $advanceRolloutJobsType = Job::class;
protected $advanceRolloutJobsDataType = 'array';
protected $createRolloutJobsType = Job::class;
protected $createRolloutJobsDataType = 'array';
/**
* @param Job[]
*/
public function setAdvanceRolloutJobs($advanceRolloutJobs)
{
$this->advanceRolloutJobs = $advanceRolloutJobs;
}
/**
* @return Job[]
*/
public function getAdvanceRolloutJobs()
{
return $this->advanceRolloutJobs;
}
/**
* @param Job[]
*/
public function setCreateRolloutJobs($createRolloutJobs)
{
$this->createRolloutJobs = $createRolloutJobs;
}
/**
* @return Job[]
*/
public function getCreateRolloutJobs()
{
return $this->createRolloutJobs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChildRolloutJobs::class, 'Google_Service_CloudDeploy_ChildRolloutJobs');

View File

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

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\CloudDeploy;
class CloudRunLocation extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudRunLocation::class, 'Google_Service_CloudDeploy_CloudRunLocation');

View File

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

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\CloudDeploy;
class CloudRunRenderMetadata extends \Google\Model
{
/**
* @var string
*/
public $service;
/**
* @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(CloudRunRenderMetadata::class, 'Google_Service_CloudDeploy_CloudRunRenderMetadata');

View File

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

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\CloudDeploy;
class Config extends \Google\Collection
{
protected $collection_key = 'supportedVersions';
/**
* @var string
*/
public $defaultSkaffoldVersion;
/**
* @var string
*/
public $name;
protected $supportedVersionsType = SkaffoldVersion::class;
protected $supportedVersionsDataType = 'array';
/**
* @param string
*/
public function setDefaultSkaffoldVersion($defaultSkaffoldVersion)
{
$this->defaultSkaffoldVersion = $defaultSkaffoldVersion;
}
/**
* @return string
*/
public function getDefaultSkaffoldVersion()
{
return $this->defaultSkaffoldVersion;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SkaffoldVersion[]
*/
public function setSupportedVersions($supportedVersions)
{
$this->supportedVersions = $supportedVersions;
}
/**
* @return SkaffoldVersion[]
*/
public function getSupportedVersions()
{
return $this->supportedVersions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Config::class, 'Google_Service_CloudDeploy_Config');

View File

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

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\CloudDeploy;
class CreateChildRolloutJobRun extends \Google\Model
{
/**
* @var string
*/
public $rollout;
/**
* @var string
*/
public $rolloutPhaseId;
/**
* @param string
*/
public function setRollout($rollout)
{
$this->rollout = $rollout;
}
/**
* @return string
*/
public function getRollout()
{
return $this->rollout;
}
/**
* @param string
*/
public function setRolloutPhaseId($rolloutPhaseId)
{
$this->rolloutPhaseId = $rolloutPhaseId;
}
/**
* @return string
*/
public function getRolloutPhaseId()
{
return $this->rolloutPhaseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateChildRolloutJobRun::class, 'Google_Service_CloudDeploy_CreateChildRolloutJobRun');

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\CloudDeploy;
class CustomCanaryDeployment extends \Google\Collection
{
protected $collection_key = 'phaseConfigs';
protected $phaseConfigsType = PhaseConfig::class;
protected $phaseConfigsDataType = 'array';
/**
* @param PhaseConfig[]
*/
public function setPhaseConfigs($phaseConfigs)
{
$this->phaseConfigs = $phaseConfigs;
}
/**
* @return PhaseConfig[]
*/
public function getPhaseConfigs()
{
return $this->phaseConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomCanaryDeployment::class, 'Google_Service_CloudDeploy_CustomCanaryDeployment');

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

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\CloudDeploy;
class CustomTarget extends \Google\Model
{
/**
* @var string
*/
public $customTargetType;
/**
* @param string
*/
public function setCustomTargetType($customTargetType)
{
$this->customTargetType = $customTargetType;
}
/**
* @return string
*/
public function getCustomTargetType()
{
return $this->customTargetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomTarget::class, 'Google_Service_CloudDeploy_CustomTarget');

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\CloudDeploy;
class CustomTargetDeployMetadata extends \Google\Model
{
/**
* @var string
*/
public $skipMessage;
/**
* @param string
*/
public function setSkipMessage($skipMessage)
{
$this->skipMessage = $skipMessage;
}
/**
* @return string
*/
public function getSkipMessage()
{
return $this->skipMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomTargetDeployMetadata::class, 'Google_Service_CloudDeploy_CustomTargetDeployMetadata');

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\CloudDeploy;
class CustomTargetSkaffoldActions extends \Google\Collection
{
protected $collection_key = 'includeSkaffoldModules';
/**
* @var string
*/
public $deployAction;
protected $includeSkaffoldModulesType = SkaffoldModules::class;
protected $includeSkaffoldModulesDataType = 'array';
/**
* @var string
*/
public $renderAction;
/**
* @param string
*/
public function setDeployAction($deployAction)
{
$this->deployAction = $deployAction;
}
/**
* @return string
*/
public function getDeployAction()
{
return $this->deployAction;
}
/**
* @param SkaffoldModules[]
*/
public function setIncludeSkaffoldModules($includeSkaffoldModules)
{
$this->includeSkaffoldModules = $includeSkaffoldModules;
}
/**
* @return SkaffoldModules[]
*/
public function getIncludeSkaffoldModules()
{
return $this->includeSkaffoldModules;
}
/**
* @param string
*/
public function setRenderAction($renderAction)
{
$this->renderAction = $renderAction;
}
/**
* @return string
*/
public function getRenderAction()
{
return $this->renderAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomTargetSkaffoldActions::class, 'Google_Service_CloudDeploy_CustomTargetSkaffoldActions');

View File

@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class CustomTargetType extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $createTime;
protected $customActionsType = CustomTargetSkaffoldActions::class;
protected $customActionsDataType = '';
/**
* @var string
*/
public $customTargetTypeId;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param CustomTargetSkaffoldActions
*/
public function setCustomActions(CustomTargetSkaffoldActions $customActions)
{
$this->customActions = $customActions;
}
/**
* @return CustomTargetSkaffoldActions
*/
public function getCustomActions()
{
return $this->customActions;
}
/**
* @param string
*/
public function setCustomTargetTypeId($customTargetTypeId)
{
$this->customTargetTypeId = $customTargetTypeId;
}
/**
* @return string
*/
public function getCustomTargetTypeId()
{
return $this->customTargetTypeId;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(CustomTargetType::class, 'Google_Service_CloudDeploy_CustomTargetType');

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\CloudDeploy;
class CustomTargetTypeNotificationEvent extends \Google\Model
{
/**
* @var string
*/
public $customTargetType;
/**
* @var string
*/
public $customTargetTypeUid;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCustomTargetType($customTargetType)
{
$this->customTargetType = $customTargetType;
}
/**
* @return string
*/
public function getCustomTargetType()
{
return $this->customTargetType;
}
/**
* @param string
*/
public function setCustomTargetTypeUid($customTargetTypeUid)
{
$this->customTargetTypeUid = $customTargetTypeUid;
}
/**
* @return string
*/
public function getCustomTargetTypeUid()
{
return $this->customTargetTypeUid;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomTargetTypeNotificationEvent::class, 'Google_Service_CloudDeploy_CustomTargetTypeNotificationEvent');

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\CloudDeploy;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_CloudDeploy_Date');

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\CloudDeploy;
class DefaultPool extends \Google\Model
{
/**
* @var string
*/
public $artifactStorage;
/**
* @var string
*/
public $serviceAccount;
/**
* @param string
*/
public function setArtifactStorage($artifactStorage)
{
$this->artifactStorage = $artifactStorage;
}
/**
* @return string
*/
public function getArtifactStorage()
{
return $this->artifactStorage;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefaultPool::class, 'Google_Service_CloudDeploy_DefaultPool');

View File

@@ -0,0 +1,220 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class DeliveryPipeline extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
protected $conditionType = PipelineCondition::class;
protected $conditionDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $serialPipelineType = SerialPipeline::class;
protected $serialPipelineDataType = '';
/**
* @var bool
*/
public $suspended;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param PipelineCondition
*/
public function setCondition(PipelineCondition $condition)
{
$this->condition = $condition;
}
/**
* @return PipelineCondition
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SerialPipeline
*/
public function setSerialPipeline(SerialPipeline $serialPipeline)
{
$this->serialPipeline = $serialPipeline;
}
/**
* @return SerialPipeline
*/
public function getSerialPipeline()
{
return $this->serialPipeline;
}
/**
* @param bool
*/
public function setSuspended($suspended)
{
$this->suspended = $suspended;
}
/**
* @return bool
*/
public function getSuspended()
{
return $this->suspended;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(DeliveryPipeline::class, 'Google_Service_CloudDeploy_DeliveryPipeline');

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\CloudDeploy;
class DeliveryPipelineAttribute extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $labels;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliveryPipelineAttribute::class, 'Google_Service_CloudDeploy_DeliveryPipelineAttribute');

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\CloudDeploy;
class DeliveryPipelineNotificationEvent extends \Google\Model
{
/**
* @var string
*/
public $deliveryPipeline;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $pipelineUid;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDeliveryPipeline($deliveryPipeline)
{
$this->deliveryPipeline = $deliveryPipeline;
}
/**
* @return string
*/
public function getDeliveryPipeline()
{
return $this->deliveryPipeline;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setPipelineUid($pipelineUid)
{
$this->pipelineUid = $pipelineUid;
}
/**
* @return string
*/
public function getPipelineUid()
{
return $this->pipelineUid;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliveryPipelineNotificationEvent::class, 'Google_Service_CloudDeploy_DeliveryPipelineNotificationEvent');

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\CloudDeploy;
class DeployArtifact extends \Google\Collection
{
protected $collection_key = 'manifestPaths';
/**
* @var string
*/
public $artifactUri;
/**
* @var string[]
*/
public $manifestPaths;
/**
* @param string
*/
public function setArtifactUri($artifactUri)
{
$this->artifactUri = $artifactUri;
}
/**
* @return string
*/
public function getArtifactUri()
{
return $this->artifactUri;
}
/**
* @param string[]
*/
public function setManifestPaths($manifestPaths)
{
$this->manifestPaths = $manifestPaths;
}
/**
* @return string[]
*/
public function getManifestPaths()
{
return $this->manifestPaths;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployArtifact::class, 'Google_Service_CloudDeploy_DeployArtifact');

View File

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

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class DeployJobRun extends \Google\Model
{
protected $artifactType = DeployArtifact::class;
protected $artifactDataType = '';
/**
* @var string
*/
public $build;
/**
* @var string
*/
public $failureCause;
/**
* @var string
*/
public $failureMessage;
protected $metadataType = DeployJobRunMetadata::class;
protected $metadataDataType = '';
/**
* @param DeployArtifact
*/
public function setArtifact(DeployArtifact $artifact)
{
$this->artifact = $artifact;
}
/**
* @return DeployArtifact
*/
public function getArtifact()
{
return $this->artifact;
}
/**
* @param string
*/
public function setBuild($build)
{
$this->build = $build;
}
/**
* @return string
*/
public function getBuild()
{
return $this->build;
}
/**
* @param string
*/
public function setFailureCause($failureCause)
{
$this->failureCause = $failureCause;
}
/**
* @return string
*/
public function getFailureCause()
{
return $this->failureCause;
}
/**
* @param string
*/
public function setFailureMessage($failureMessage)
{
$this->failureMessage = $failureMessage;
}
/**
* @return string
*/
public function getFailureMessage()
{
return $this->failureMessage;
}
/**
* @param DeployJobRunMetadata
*/
public function setMetadata(DeployJobRunMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return DeployJobRunMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployJobRun::class, 'Google_Service_CloudDeploy_DeployJobRun');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class DeployJobRunMetadata extends \Google\Model
{
protected $cloudRunType = CloudRunMetadata::class;
protected $cloudRunDataType = '';
protected $customType = CustomMetadata::class;
protected $customDataType = '';
protected $customTargetType = CustomTargetDeployMetadata::class;
protected $customTargetDataType = '';
/**
* @param CloudRunMetadata
*/
public function setCloudRun(CloudRunMetadata $cloudRun)
{
$this->cloudRun = $cloudRun;
}
/**
* @return CloudRunMetadata
*/
public function getCloudRun()
{
return $this->cloudRun;
}
/**
* @param CustomMetadata
*/
public function setCustom(CustomMetadata $custom)
{
$this->custom = $custom;
}
/**
* @return CustomMetadata
*/
public function getCustom()
{
return $this->custom;
}
/**
* @param CustomTargetDeployMetadata
*/
public function setCustomTarget(CustomTargetDeployMetadata $customTarget)
{
$this->customTarget = $customTarget;
}
/**
* @return CustomTargetDeployMetadata
*/
public function getCustomTarget()
{
return $this->customTarget;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployJobRunMetadata::class, 'Google_Service_CloudDeploy_DeployJobRunMetadata');

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\CloudDeploy;
class DeployParameters extends \Google\Model
{
/**
* @var string[]
*/
public $matchTargetLabels;
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setMatchTargetLabels($matchTargetLabels)
{
$this->matchTargetLabels = $matchTargetLabels;
}
/**
* @return string[]
*/
public function getMatchTargetLabels()
{
return $this->matchTargetLabels;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployParameters::class, 'Google_Service_CloudDeploy_DeployParameters');

View File

@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class DeployPolicy extends \Google\Collection
{
protected $collection_key = 'selectors';
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $rulesType = PolicyRule::class;
protected $rulesDataType = 'array';
protected $selectorsType = DeployPolicyResourceSelector::class;
protected $selectorsDataType = 'array';
/**
* @var bool
*/
public $suspended;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PolicyRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return PolicyRule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @param DeployPolicyResourceSelector[]
*/
public function setSelectors($selectors)
{
$this->selectors = $selectors;
}
/**
* @return DeployPolicyResourceSelector[]
*/
public function getSelectors()
{
return $this->selectors;
}
/**
* @param bool
*/
public function setSuspended($suspended)
{
$this->suspended = $suspended;
}
/**
* @return bool
*/
public function getSuspended()
{
return $this->suspended;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(DeployPolicy::class, 'Google_Service_CloudDeploy_DeployPolicy');

View File

@@ -0,0 +1,261 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class DeployPolicyEvaluationEvent extends \Google\Collection
{
protected $collection_key = 'overrides';
/**
* @var bool
*/
public $allowed;
/**
* @var string
*/
public $deliveryPipeline;
/**
* @var string
*/
public $deployPolicy;
/**
* @var string
*/
public $deployPolicyUid;
/**
* @var string
*/
public $invoker;
/**
* @var string
*/
public $message;
/**
* @var string[]
*/
public $overrides;
/**
* @var string
*/
public $pipelineUid;
/**
* @var string
*/
public $rule;
/**
* @var string
*/
public $ruleType;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $targetUid;
/**
* @var string
*/
public $verdict;
/**
* @param bool
*/
public function setAllowed($allowed)
{
$this->allowed = $allowed;
}
/**
* @return bool
*/
public function getAllowed()
{
return $this->allowed;
}
/**
* @param string
*/
public function setDeliveryPipeline($deliveryPipeline)
{
$this->deliveryPipeline = $deliveryPipeline;
}
/**
* @return string
*/
public function getDeliveryPipeline()
{
return $this->deliveryPipeline;
}
/**
* @param string
*/
public function setDeployPolicy($deployPolicy)
{
$this->deployPolicy = $deployPolicy;
}
/**
* @return string
*/
public function getDeployPolicy()
{
return $this->deployPolicy;
}
/**
* @param string
*/
public function setDeployPolicyUid($deployPolicyUid)
{
$this->deployPolicyUid = $deployPolicyUid;
}
/**
* @return string
*/
public function getDeployPolicyUid()
{
return $this->deployPolicyUid;
}
/**
* @param string
*/
public function setInvoker($invoker)
{
$this->invoker = $invoker;
}
/**
* @return string
*/
public function getInvoker()
{
return $this->invoker;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string[]
*/
public function setOverrides($overrides)
{
$this->overrides = $overrides;
}
/**
* @return string[]
*/
public function getOverrides()
{
return $this->overrides;
}
/**
* @param string
*/
public function setPipelineUid($pipelineUid)
{
$this->pipelineUid = $pipelineUid;
}
/**
* @return string
*/
public function getPipelineUid()
{
return $this->pipelineUid;
}
/**
* @param string
*/
public function setRule($rule)
{
$this->rule = $rule;
}
/**
* @return string
*/
public function getRule()
{
return $this->rule;
}
/**
* @param string
*/
public function setRuleType($ruleType)
{
$this->ruleType = $ruleType;
}
/**
* @return string
*/
public function getRuleType()
{
return $this->ruleType;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setTargetUid($targetUid)
{
$this->targetUid = $targetUid;
}
/**
* @return string
*/
public function getTargetUid()
{
return $this->targetUid;
}
/**
* @param string
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return string
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployPolicyEvaluationEvent::class, 'Google_Service_CloudDeploy_DeployPolicyEvaluationEvent');

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\CloudDeploy;
class DeployPolicyNotificationEvent extends \Google\Model
{
/**
* @var string
*/
public $deployPolicy;
/**
* @var string
*/
public $deployPolicyUid;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDeployPolicy($deployPolicy)
{
$this->deployPolicy = $deployPolicy;
}
/**
* @return string
*/
public function getDeployPolicy()
{
return $this->deployPolicy;
}
/**
* @param string
*/
public function setDeployPolicyUid($deployPolicyUid)
{
$this->deployPolicyUid = $deployPolicyUid;
}
/**
* @return string
*/
public function getDeployPolicyUid()
{
return $this->deployPolicyUid;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployPolicyNotificationEvent::class, 'Google_Service_CloudDeploy_DeployPolicyNotificationEvent');

View File

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

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\CloudDeploy;
class DeploymentJobs extends \Google\Model
{
protected $deployJobType = Job::class;
protected $deployJobDataType = '';
protected $postdeployJobType = Job::class;
protected $postdeployJobDataType = '';
protected $predeployJobType = Job::class;
protected $predeployJobDataType = '';
protected $verifyJobType = Job::class;
protected $verifyJobDataType = '';
/**
* @param Job
*/
public function setDeployJob(Job $deployJob)
{
$this->deployJob = $deployJob;
}
/**
* @return Job
*/
public function getDeployJob()
{
return $this->deployJob;
}
/**
* @param Job
*/
public function setPostdeployJob(Job $postdeployJob)
{
$this->postdeployJob = $postdeployJob;
}
/**
* @return Job
*/
public function getPostdeployJob()
{
return $this->postdeployJob;
}
/**
* @param Job
*/
public function setPredeployJob(Job $predeployJob)
{
$this->predeployJob = $predeployJob;
}
/**
* @return Job
*/
public function getPredeployJob()
{
return $this->predeployJob;
}
/**
* @param Job
*/
public function setVerifyJob(Job $verifyJob)
{
$this->verifyJob = $verifyJob;
}
/**
* @return Job
*/
public function getVerifyJob()
{
return $this->verifyJob;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeploymentJobs::class, 'Google_Service_CloudDeploy_DeploymentJobs');

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class ExecutionConfig extends \Google\Collection
{
protected $collection_key = 'usages';
/**
* @var string
*/
public $artifactStorage;
protected $defaultPoolType = DefaultPool::class;
protected $defaultPoolDataType = '';
/**
* @var string
*/
public $executionTimeout;
protected $privatePoolType = PrivatePool::class;
protected $privatePoolDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var string[]
*/
public $usages;
/**
* @var bool
*/
public $verbose;
/**
* @var string
*/
public $workerPool;
/**
* @param string
*/
public function setArtifactStorage($artifactStorage)
{
$this->artifactStorage = $artifactStorage;
}
/**
* @return string
*/
public function getArtifactStorage()
{
return $this->artifactStorage;
}
/**
* @param DefaultPool
*/
public function setDefaultPool(DefaultPool $defaultPool)
{
$this->defaultPool = $defaultPool;
}
/**
* @return DefaultPool
*/
public function getDefaultPool()
{
return $this->defaultPool;
}
/**
* @param string
*/
public function setExecutionTimeout($executionTimeout)
{
$this->executionTimeout = $executionTimeout;
}
/**
* @return string
*/
public function getExecutionTimeout()
{
return $this->executionTimeout;
}
/**
* @param PrivatePool
*/
public function setPrivatePool(PrivatePool $privatePool)
{
$this->privatePool = $privatePool;
}
/**
* @return PrivatePool
*/
public function getPrivatePool()
{
return $this->privatePool;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string[]
*/
public function setUsages($usages)
{
$this->usages = $usages;
}
/**
* @return string[]
*/
public function getUsages()
{
return $this->usages;
}
/**
* @param bool
*/
public function setVerbose($verbose)
{
$this->verbose = $verbose;
}
/**
* @return bool
*/
public function getVerbose()
{
return $this->verbose;
}
/**
* @param string
*/
public function setWorkerPool($workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return string
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutionConfig::class, 'Google_Service_CloudDeploy_ExecutionConfig');

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\CloudDeploy;
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_CloudDeploy_Expr');

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class GatewayServiceMesh extends \Google\Model
{
/**
* @var string
*/
public $deployment;
/**
* @var string
*/
public $httpRoute;
/**
* @var string
*/
public $podSelectorLabel;
protected $routeDestinationsType = RouteDestinations::class;
protected $routeDestinationsDataType = '';
/**
* @var string
*/
public $routeUpdateWaitTime;
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $stableCutbackDuration;
/**
* @param string
*/
public function setDeployment($deployment)
{
$this->deployment = $deployment;
}
/**
* @return string
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* @param string
*/
public function setHttpRoute($httpRoute)
{
$this->httpRoute = $httpRoute;
}
/**
* @return string
*/
public function getHttpRoute()
{
return $this->httpRoute;
}
/**
* @param string
*/
public function setPodSelectorLabel($podSelectorLabel)
{
$this->podSelectorLabel = $podSelectorLabel;
}
/**
* @return string
*/
public function getPodSelectorLabel()
{
return $this->podSelectorLabel;
}
/**
* @param RouteDestinations
*/
public function setRouteDestinations(RouteDestinations $routeDestinations)
{
$this->routeDestinations = $routeDestinations;
}
/**
* @return RouteDestinations
*/
public function getRouteDestinations()
{
return $this->routeDestinations;
}
/**
* @param string
*/
public function setRouteUpdateWaitTime($routeUpdateWaitTime)
{
$this->routeUpdateWaitTime = $routeUpdateWaitTime;
}
/**
* @return string
*/
public function getRouteUpdateWaitTime()
{
return $this->routeUpdateWaitTime;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setStableCutbackDuration($stableCutbackDuration)
{
$this->stableCutbackDuration = $stableCutbackDuration;
}
/**
* @return string
*/
public function getStableCutbackDuration()
{
return $this->stableCutbackDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GatewayServiceMesh::class, 'Google_Service_CloudDeploy_GatewayServiceMesh');

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\CloudDeploy;
class GkeCluster extends \Google\Model
{
/**
* @var string
*/
public $cluster;
/**
* @var bool
*/
public $internalIp;
/**
* @var string
*/
public $proxyUrl;
/**
* @param string
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
/**
* @param bool
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return bool
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setProxyUrl($proxyUrl)
{
$this->proxyUrl = $proxyUrl;
}
/**
* @return string
*/
public function getProxyUrl()
{
return $this->proxyUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeCluster::class, 'Google_Service_CloudDeploy_GkeCluster');

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\CloudDeploy;
class IgnoreJobRequest extends \Google\Collection
{
protected $collection_key = 'overrideDeployPolicy';
/**
* @var string
*/
public $jobId;
/**
* @var string[]
*/
public $overrideDeployPolicy;
/**
* @var string
*/
public $phaseId;
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string[]
*/
public function setOverrideDeployPolicy($overrideDeployPolicy)
{
$this->overrideDeployPolicy = $overrideDeployPolicy;
}
/**
* @return string[]
*/
public function getOverrideDeployPolicy()
{
return $this->overrideDeployPolicy;
}
/**
* @param string
*/
public function setPhaseId($phaseId)
{
$this->phaseId = $phaseId;
}
/**
* @return string
*/
public function getPhaseId()
{
return $this->phaseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IgnoreJobRequest::class, 'Google_Service_CloudDeploy_IgnoreJobRequest');

View File

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

View File

@@ -0,0 +1,194 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class Job extends \Google\Model
{
protected $advanceChildRolloutJobType = AdvanceChildRolloutJob::class;
protected $advanceChildRolloutJobDataType = '';
protected $createChildRolloutJobType = CreateChildRolloutJob::class;
protected $createChildRolloutJobDataType = '';
protected $deployJobType = DeployJob::class;
protected $deployJobDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $jobRun;
protected $postdeployJobType = PostdeployJob::class;
protected $postdeployJobDataType = '';
protected $predeployJobType = PredeployJob::class;
protected $predeployJobDataType = '';
/**
* @var string
*/
public $skipMessage;
/**
* @var string
*/
public $state;
protected $verifyJobType = VerifyJob::class;
protected $verifyJobDataType = '';
/**
* @param AdvanceChildRolloutJob
*/
public function setAdvanceChildRolloutJob(AdvanceChildRolloutJob $advanceChildRolloutJob)
{
$this->advanceChildRolloutJob = $advanceChildRolloutJob;
}
/**
* @return AdvanceChildRolloutJob
*/
public function getAdvanceChildRolloutJob()
{
return $this->advanceChildRolloutJob;
}
/**
* @param CreateChildRolloutJob
*/
public function setCreateChildRolloutJob(CreateChildRolloutJob $createChildRolloutJob)
{
$this->createChildRolloutJob = $createChildRolloutJob;
}
/**
* @return CreateChildRolloutJob
*/
public function getCreateChildRolloutJob()
{
return $this->createChildRolloutJob;
}
/**
* @param DeployJob
*/
public function setDeployJob(DeployJob $deployJob)
{
$this->deployJob = $deployJob;
}
/**
* @return DeployJob
*/
public function getDeployJob()
{
return $this->deployJob;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setJobRun($jobRun)
{
$this->jobRun = $jobRun;
}
/**
* @return string
*/
public function getJobRun()
{
return $this->jobRun;
}
/**
* @param PostdeployJob
*/
public function setPostdeployJob(PostdeployJob $postdeployJob)
{
$this->postdeployJob = $postdeployJob;
}
/**
* @return PostdeployJob
*/
public function getPostdeployJob()
{
return $this->postdeployJob;
}
/**
* @param PredeployJob
*/
public function setPredeployJob(PredeployJob $predeployJob)
{
$this->predeployJob = $predeployJob;
}
/**
* @return PredeployJob
*/
public function getPredeployJob()
{
return $this->predeployJob;
}
/**
* @param string
*/
public function setSkipMessage($skipMessage)
{
$this->skipMessage = $skipMessage;
}
/**
* @return string
*/
public function getSkipMessage()
{
return $this->skipMessage;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param VerifyJob
*/
public function setVerifyJob(VerifyJob $verifyJob)
{
$this->verifyJob = $verifyJob;
}
/**
* @return VerifyJob
*/
public function getVerifyJob()
{
return $this->verifyJob;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Job::class, 'Google_Service_CloudDeploy_Job');

View File

@@ -0,0 +1,284 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class JobRun extends \Google\Model
{
protected $advanceChildRolloutJobRunType = AdvanceChildRolloutJobRun::class;
protected $advanceChildRolloutJobRunDataType = '';
protected $createChildRolloutJobRunType = CreateChildRolloutJobRun::class;
protected $createChildRolloutJobRunDataType = '';
/**
* @var string
*/
public $createTime;
protected $deployJobRunType = DeployJobRun::class;
protected $deployJobRunDataType = '';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $jobId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $phaseId;
protected $postdeployJobRunType = PostdeployJobRun::class;
protected $postdeployJobRunDataType = '';
protected $predeployJobRunType = PredeployJobRun::class;
protected $predeployJobRunDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
protected $verifyJobRunType = VerifyJobRun::class;
protected $verifyJobRunDataType = '';
/**
* @param AdvanceChildRolloutJobRun
*/
public function setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun $advanceChildRolloutJobRun)
{
$this->advanceChildRolloutJobRun = $advanceChildRolloutJobRun;
}
/**
* @return AdvanceChildRolloutJobRun
*/
public function getAdvanceChildRolloutJobRun()
{
return $this->advanceChildRolloutJobRun;
}
/**
* @param CreateChildRolloutJobRun
*/
public function setCreateChildRolloutJobRun(CreateChildRolloutJobRun $createChildRolloutJobRun)
{
$this->createChildRolloutJobRun = $createChildRolloutJobRun;
}
/**
* @return CreateChildRolloutJobRun
*/
public function getCreateChildRolloutJobRun()
{
return $this->createChildRolloutJobRun;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DeployJobRun
*/
public function setDeployJobRun(DeployJobRun $deployJobRun)
{
$this->deployJobRun = $deployJobRun;
}
/**
* @return DeployJobRun
*/
public function getDeployJobRun()
{
return $this->deployJobRun;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPhaseId($phaseId)
{
$this->phaseId = $phaseId;
}
/**
* @return string
*/
public function getPhaseId()
{
return $this->phaseId;
}
/**
* @param PostdeployJobRun
*/
public function setPostdeployJobRun(PostdeployJobRun $postdeployJobRun)
{
$this->postdeployJobRun = $postdeployJobRun;
}
/**
* @return PostdeployJobRun
*/
public function getPostdeployJobRun()
{
return $this->postdeployJobRun;
}
/**
* @param PredeployJobRun
*/
public function setPredeployJobRun(PredeployJobRun $predeployJobRun)
{
$this->predeployJobRun = $predeployJobRun;
}
/**
* @return PredeployJobRun
*/
public function getPredeployJobRun()
{
return $this->predeployJobRun;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param VerifyJobRun
*/
public function setVerifyJobRun(VerifyJobRun $verifyJobRun)
{
$this->verifyJobRun = $verifyJobRun;
}
/**
* @return VerifyJobRun
*/
public function getVerifyJobRun()
{
return $this->verifyJobRun;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobRun::class, 'Google_Service_CloudDeploy_JobRun');

View File

@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class JobRunNotificationEvent extends \Google\Model
{
/**
* @var string
*/
public $jobRun;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $pipelineUid;
/**
* @var string
*/
public $release;
/**
* @var string
*/
public $releaseUid;
/**
* @var string
*/
public $rollout;
/**
* @var string
*/
public $rolloutUid;
/**
* @var string
*/
public $targetId;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setJobRun($jobRun)
{
$this->jobRun = $jobRun;
}
/**
* @return string
*/
public function getJobRun()
{
return $this->jobRun;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setPipelineUid($pipelineUid)
{
$this->pipelineUid = $pipelineUid;
}
/**
* @return string
*/
public function getPipelineUid()
{
return $this->pipelineUid;
}
/**
* @param string
*/
public function setRelease($release)
{
$this->release = $release;
}
/**
* @return string
*/
public function getRelease()
{
return $this->release;
}
/**
* @param string
*/
public function setReleaseUid($releaseUid)
{
$this->releaseUid = $releaseUid;
}
/**
* @return string
*/
public function getReleaseUid()
{
return $this->releaseUid;
}
/**
* @param string
*/
public function setRollout($rollout)
{
$this->rollout = $rollout;
}
/**
* @return string
*/
public function getRollout()
{
return $this->rollout;
}
/**
* @param string
*/
public function setRolloutUid($rolloutUid)
{
$this->rolloutUid = $rolloutUid;
}
/**
* @return string
*/
public function getRolloutUid()
{
return $this->rolloutUid;
}
/**
* @param string
*/
public function setTargetId($targetId)
{
$this->targetId = $targetId;
}
/**
* @return string
*/
public function getTargetId()
{
return $this->targetId;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobRunNotificationEvent::class, 'Google_Service_CloudDeploy_JobRunNotificationEvent');

View File

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

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\CloudDeploy;
class ListAutomationRunsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $automationRunsType = AutomationRun::class;
protected $automationRunsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param AutomationRun[]
*/
public function setAutomationRuns($automationRuns)
{
$this->automationRuns = $automationRuns;
}
/**
* @return AutomationRun[]
*/
public function getAutomationRuns()
{
return $this->automationRuns;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAutomationRunsResponse::class, 'Google_Service_CloudDeploy_ListAutomationRunsResponse');

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\CloudDeploy;
class ListAutomationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $automationsType = Automation::class;
protected $automationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Automation[]
*/
public function setAutomations($automations)
{
$this->automations = $automations;
}
/**
* @return Automation[]
*/
public function getAutomations()
{
return $this->automations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAutomationsResponse::class, 'Google_Service_CloudDeploy_ListAutomationsResponse');

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\CloudDeploy;
class ListCustomTargetTypesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $customTargetTypesType = CustomTargetType::class;
protected $customTargetTypesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CustomTargetType[]
*/
public function setCustomTargetTypes($customTargetTypes)
{
$this->customTargetTypes = $customTargetTypes;
}
/**
* @return CustomTargetType[]
*/
public function getCustomTargetTypes()
{
return $this->customTargetTypes;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCustomTargetTypesResponse::class, 'Google_Service_CloudDeploy_ListCustomTargetTypesResponse');

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\CloudDeploy;
class ListDeliveryPipelinesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $deliveryPipelinesType = DeliveryPipeline::class;
protected $deliveryPipelinesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param DeliveryPipeline[]
*/
public function setDeliveryPipelines($deliveryPipelines)
{
$this->deliveryPipelines = $deliveryPipelines;
}
/**
* @return DeliveryPipeline[]
*/
public function getDeliveryPipelines()
{
return $this->deliveryPipelines;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDeliveryPipelinesResponse::class, 'Google_Service_CloudDeploy_ListDeliveryPipelinesResponse');

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\CloudDeploy;
class ListDeployPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $deployPoliciesType = DeployPolicy::class;
protected $deployPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param DeployPolicy[]
*/
public function setDeployPolicies($deployPolicies)
{
$this->deployPolicies = $deployPolicies;
}
/**
* @return DeployPolicy[]
*/
public function getDeployPolicies()
{
return $this->deployPolicies;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDeployPoliciesResponse::class, 'Google_Service_CloudDeploy_ListDeployPoliciesResponse');

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\CloudDeploy;
class ListJobRunsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $jobRunsType = JobRun::class;
protected $jobRunsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param JobRun[]
*/
public function setJobRuns($jobRuns)
{
$this->jobRuns = $jobRuns;
}
/**
* @return JobRun[]
*/
public function getJobRuns()
{
return $this->jobRuns;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListJobRunsResponse::class, 'Google_Service_CloudDeploy_ListJobRunsResponse');

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\CloudDeploy;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @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(ListLocationsResponse::class, 'Google_Service_CloudDeploy_ListLocationsResponse');

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\CloudDeploy;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_CloudDeploy_ListOperationsResponse');

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\CloudDeploy;
class ListReleasesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $releasesType = Release::class;
protected $releasesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Release[]
*/
public function setReleases($releases)
{
$this->releases = $releases;
}
/**
* @return Release[]
*/
public function getReleases()
{
return $this->releases;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReleasesResponse::class, 'Google_Service_CloudDeploy_ListReleasesResponse');

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\CloudDeploy;
class ListRolloutsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $rolloutsType = Rollout::class;
protected $rolloutsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Rollout[]
*/
public function setRollouts($rollouts)
{
$this->rollouts = $rollouts;
}
/**
* @return Rollout[]
*/
public function getRollouts()
{
return $this->rollouts;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRolloutsResponse::class, 'Google_Service_CloudDeploy_ListRolloutsResponse');

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\CloudDeploy;
class ListTargetsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $targetsType = Target::class;
protected $targetsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Target[]
*/
public function setTargets($targets)
{
$this->targets = $targets;
}
/**
* @return Target[]
*/
public function getTargets()
{
return $this->targets;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListTargetsResponse::class, 'Google_Service_CloudDeploy_ListTargetsResponse');

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\CloudDeploy;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_CloudDeploy_Location');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class Metadata extends \Google\Model
{
protected $automationType = AutomationRolloutMetadata::class;
protected $automationDataType = '';
protected $cloudRunType = CloudRunMetadata::class;
protected $cloudRunDataType = '';
protected $customType = CustomMetadata::class;
protected $customDataType = '';
/**
* @param AutomationRolloutMetadata
*/
public function setAutomation(AutomationRolloutMetadata $automation)
{
$this->automation = $automation;
}
/**
* @return AutomationRolloutMetadata
*/
public function getAutomation()
{
return $this->automation;
}
/**
* @param CloudRunMetadata
*/
public function setCloudRun(CloudRunMetadata $cloudRun)
{
$this->cloudRun = $cloudRun;
}
/**
* @return CloudRunMetadata
*/
public function getCloudRun()
{
return $this->cloudRun;
}
/**
* @param CustomMetadata
*/
public function setCustom(CustomMetadata $custom)
{
$this->custom = $custom;
}
/**
* @return CustomMetadata
*/
public function getCustom()
{
return $this->custom;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_CloudDeploy_Metadata');

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

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\CloudDeploy;
class OneTimeWindow extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $endTimeType = TimeOfDay::class;
protected $endTimeDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param TimeOfDay
*/
public function setEndTime(TimeOfDay $endTime)
{
$this->endTime = $endTime;
}
/**
* @return TimeOfDay
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param TimeOfDay
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OneTimeWindow::class, 'Google_Service_CloudDeploy_OneTimeWindow');

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\CloudDeploy;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_CloudDeploy_Operation');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CloudDeploy_OperationMetadata');

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class Phase extends \Google\Model
{
protected $childRolloutJobsType = ChildRolloutJobs::class;
protected $childRolloutJobsDataType = '';
protected $deploymentJobsType = DeploymentJobs::class;
protected $deploymentJobsDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $skipMessage;
/**
* @var string
*/
public $state;
/**
* @param ChildRolloutJobs
*/
public function setChildRolloutJobs(ChildRolloutJobs $childRolloutJobs)
{
$this->childRolloutJobs = $childRolloutJobs;
}
/**
* @return ChildRolloutJobs
*/
public function getChildRolloutJobs()
{
return $this->childRolloutJobs;
}
/**
* @param DeploymentJobs
*/
public function setDeploymentJobs(DeploymentJobs $deploymentJobs)
{
$this->deploymentJobs = $deploymentJobs;
}
/**
* @return DeploymentJobs
*/
public function getDeploymentJobs()
{
return $this->deploymentJobs;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setSkipMessage($skipMessage)
{
$this->skipMessage = $skipMessage;
}
/**
* @return string
*/
public function getSkipMessage()
{
return $this->skipMessage;
}
/**
* @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(Phase::class, 'Google_Service_CloudDeploy_Phase');

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\CloudDeploy;
class PhaseArtifact extends \Google\Model
{
/**
* @var string
*/
public $jobManifestsPath;
/**
* @var string
*/
public $manifestPath;
/**
* @var string
*/
public $skaffoldConfigPath;
/**
* @param string
*/
public function setJobManifestsPath($jobManifestsPath)
{
$this->jobManifestsPath = $jobManifestsPath;
}
/**
* @return string
*/
public function getJobManifestsPath()
{
return $this->jobManifestsPath;
}
/**
* @param string
*/
public function setManifestPath($manifestPath)
{
$this->manifestPath = $manifestPath;
}
/**
* @return string
*/
public function getManifestPath()
{
return $this->manifestPath;
}
/**
* @param string
*/
public function setSkaffoldConfigPath($skaffoldConfigPath)
{
$this->skaffoldConfigPath = $skaffoldConfigPath;
}
/**
* @return string
*/
public function getSkaffoldConfigPath()
{
return $this->skaffoldConfigPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PhaseArtifact::class, 'Google_Service_CloudDeploy_PhaseArtifact');

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\CloudDeploy;
class PhaseConfig extends \Google\Collection
{
protected $collection_key = 'profiles';
/**
* @var int
*/
public $percentage;
/**
* @var string
*/
public $phaseId;
protected $postdeployType = Postdeploy::class;
protected $postdeployDataType = '';
protected $predeployType = Predeploy::class;
protected $predeployDataType = '';
/**
* @var string[]
*/
public $profiles;
/**
* @var bool
*/
public $verify;
/**
* @param int
*/
public function setPercentage($percentage)
{
$this->percentage = $percentage;
}
/**
* @return int
*/
public function getPercentage()
{
return $this->percentage;
}
/**
* @param string
*/
public function setPhaseId($phaseId)
{
$this->phaseId = $phaseId;
}
/**
* @return string
*/
public function getPhaseId()
{
return $this->phaseId;
}
/**
* @param Postdeploy
*/
public function setPostdeploy(Postdeploy $postdeploy)
{
$this->postdeploy = $postdeploy;
}
/**
* @return Postdeploy
*/
public function getPostdeploy()
{
return $this->postdeploy;
}
/**
* @param Predeploy
*/
public function setPredeploy(Predeploy $predeploy)
{
$this->predeploy = $predeploy;
}
/**
* @return Predeploy
*/
public function getPredeploy()
{
return $this->predeploy;
}
/**
* @param string[]
*/
public function setProfiles($profiles)
{
$this->profiles = $profiles;
}
/**
* @return string[]
*/
public function getProfiles()
{
return $this->profiles;
}
/**
* @param bool
*/
public function setVerify($verify)
{
$this->verify = $verify;
}
/**
* @return bool
*/
public function getVerify()
{
return $this->verify;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PhaseConfig::class, 'Google_Service_CloudDeploy_PhaseConfig');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDeploy;
class PipelineCondition extends \Google\Model
{
protected $pipelineReadyConditionType = PipelineReadyCondition::class;
protected $pipelineReadyConditionDataType = '';
protected $targetsPresentConditionType = TargetsPresentCondition::class;
protected $targetsPresentConditionDataType = '';
protected $targetsTypeConditionType = TargetsTypeCondition::class;
protected $targetsTypeConditionDataType = '';
/**
* @param PipelineReadyCondition
*/
public function setPipelineReadyCondition(PipelineReadyCondition $pipelineReadyCondition)
{
$this->pipelineReadyCondition = $pipelineReadyCondition;
}
/**
* @return PipelineReadyCondition
*/
public function getPipelineReadyCondition()
{
return $this->pipelineReadyCondition;
}
/**
* @param TargetsPresentCondition
*/
public function setTargetsPresentCondition(TargetsPresentCondition $targetsPresentCondition)
{
$this->targetsPresentCondition = $targetsPresentCondition;
}
/**
* @return TargetsPresentCondition
*/
public function getTargetsPresentCondition()
{
return $this->targetsPresentCondition;
}
/**
* @param TargetsTypeCondition
*/
public function setTargetsTypeCondition(TargetsTypeCondition $targetsTypeCondition)
{
$this->targetsTypeCondition = $targetsTypeCondition;
}
/**
* @return TargetsTypeCondition
*/
public function getTargetsTypeCondition()
{
return $this->targetsTypeCondition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PipelineCondition::class, 'Google_Service_CloudDeploy_PipelineCondition');

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\CloudDeploy;
class PipelineReadyCondition extends \Google\Model
{
/**
* @var bool
*/
public $status;
/**
* @var string
*/
public $updateTime;
/**
* @param bool
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return bool
*/
public function getStatus()
{
return $this->status;
}
/**
* @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(PipelineReadyCondition::class, 'Google_Service_CloudDeploy_PipelineReadyCondition');

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\CloudDeploy;
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_CloudDeploy_Policy');

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\CloudDeploy;
class PolicyRule extends \Google\Model
{
protected $rolloutRestrictionType = RolloutRestriction::class;
protected $rolloutRestrictionDataType = '';
/**
* @param RolloutRestriction
*/
public function setRolloutRestriction(RolloutRestriction $rolloutRestriction)
{
$this->rolloutRestriction = $rolloutRestriction;
}
/**
* @return RolloutRestriction
*/
public function getRolloutRestriction()
{
return $this->rolloutRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyRule::class, 'Google_Service_CloudDeploy_PolicyRule');

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\CloudDeploy;
class PolicyViolation extends \Google\Collection
{
protected $collection_key = 'policyViolationDetails';
protected $policyViolationDetailsType = PolicyViolationDetails::class;
protected $policyViolationDetailsDataType = 'array';
/**
* @param PolicyViolationDetails[]
*/
public function setPolicyViolationDetails($policyViolationDetails)
{
$this->policyViolationDetails = $policyViolationDetails;
}
/**
* @return PolicyViolationDetails[]
*/
public function getPolicyViolationDetails()
{
return $this->policyViolationDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyViolation::class, 'Google_Service_CloudDeploy_PolicyViolation');

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\CloudDeploy;
class PolicyViolationDetails extends \Google\Model
{
/**
* @var string
*/
public $failureMessage;
/**
* @var string
*/
public $policy;
/**
* @var string
*/
public $ruleId;
/**
* @param string
*/
public function setFailureMessage($failureMessage)
{
$this->failureMessage = $failureMessage;
}
/**
* @return string
*/
public function getFailureMessage()
{
return $this->failureMessage;
}
/**
* @param string
*/
public function setPolicy($policy)
{
$this->policy = $policy;
}
/**
* @return string
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyViolationDetails::class, 'Google_Service_CloudDeploy_PolicyViolationDetails');

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

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

Some files were not shown because too many files have changed in this diff Show More