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,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\CertificateAuthorityService;
class AccessUrls extends \Google\Collection
{
protected $collection_key = 'crlAccessUrls';
/**
* @var string
*/
public $caCertificateAccessUrl;
/**
* @var string[]
*/
public $crlAccessUrls;
/**
* @param string
*/
public function setCaCertificateAccessUrl($caCertificateAccessUrl)
{
$this->caCertificateAccessUrl = $caCertificateAccessUrl;
}
/**
* @return string
*/
public function getCaCertificateAccessUrl()
{
return $this->caCertificateAccessUrl;
}
/**
* @param string[]
*/
public function setCrlAccessUrls($crlAccessUrls)
{
$this->crlAccessUrls = $crlAccessUrls;
}
/**
* @return string[]
*/
public function getCrlAccessUrls()
{
return $this->crlAccessUrls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessUrls::class, 'Google_Service_CertificateAuthorityService_AccessUrls');

View File

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

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\CertificateAuthorityService;
class AllowedKeyType extends \Google\Model
{
protected $ellipticCurveType = EcKeyType::class;
protected $ellipticCurveDataType = '';
protected $rsaType = RsaKeyType::class;
protected $rsaDataType = '';
/**
* @param EcKeyType
*/
public function setEllipticCurve(EcKeyType $ellipticCurve)
{
$this->ellipticCurve = $ellipticCurve;
}
/**
* @return EcKeyType
*/
public function getEllipticCurve()
{
return $this->ellipticCurve;
}
/**
* @param RsaKeyType
*/
public function setRsa(RsaKeyType $rsa)
{
$this->rsa = $rsa;
}
/**
* @return RsaKeyType
*/
public function getRsa()
{
return $this->rsa;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllowedKeyType::class, 'Google_Service_CertificateAuthorityService_AllowedKeyType');

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\CertificateAuthorityService;
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_CertificateAuthorityService_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\CertificateAuthorityService;
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_CertificateAuthorityService_AuditLogConfig');

View File

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

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\CertificateAuthorityService;
class CaPool extends \Google\Model
{
protected $issuancePolicyType = IssuancePolicy::class;
protected $issuancePolicyDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $publishingOptionsType = PublishingOptions::class;
protected $publishingOptionsDataType = '';
/**
* @var string
*/
public $tier;
/**
* @param IssuancePolicy
*/
public function setIssuancePolicy(IssuancePolicy $issuancePolicy)
{
$this->issuancePolicy = $issuancePolicy;
}
/**
* @return IssuancePolicy
*/
public function getIssuancePolicy()
{
return $this->issuancePolicy;
}
/**
* @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 PublishingOptions
*/
public function setPublishingOptions(PublishingOptions $publishingOptions)
{
$this->publishingOptions = $publishingOptions;
}
/**
* @return PublishingOptions
*/
public function getPublishingOptions()
{
return $this->publishingOptions;
}
/**
* @param string
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CaPool::class, 'Google_Service_CertificateAuthorityService_CaPool');

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\CertificateAuthorityService;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_CertificateAuthorityService_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\CertificateAuthorityService;
class CertChain extends \Google\Collection
{
protected $collection_key = 'certificates';
/**
* @var string[]
*/
public $certificates;
/**
* @param string[]
*/
public function setCertificates($certificates)
{
$this->certificates = $certificates;
}
/**
* @return string[]
*/
public function getCertificates()
{
return $this->certificates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertChain::class, 'Google_Service_CertificateAuthorityService_CertChain');

View File

@@ -0,0 +1,273 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class Certificate extends \Google\Collection
{
protected $collection_key = 'pemCertificateChain';
protected $certificateDescriptionType = CertificateDescription::class;
protected $certificateDescriptionDataType = '';
/**
* @var string
*/
public $certificateTemplate;
protected $configType = CertificateConfig::class;
protected $configDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $issuerCertificateAuthority;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lifetime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pemCertificate;
/**
* @var string[]
*/
public $pemCertificateChain;
/**
* @var string
*/
public $pemCsr;
protected $revocationDetailsType = RevocationDetails::class;
protected $revocationDetailsDataType = '';
/**
* @var string
*/
public $subjectMode;
/**
* @var string
*/
public $updateTime;
/**
* @param CertificateDescription
*/
public function setCertificateDescription(CertificateDescription $certificateDescription)
{
$this->certificateDescription = $certificateDescription;
}
/**
* @return CertificateDescription
*/
public function getCertificateDescription()
{
return $this->certificateDescription;
}
/**
* @param string
*/
public function setCertificateTemplate($certificateTemplate)
{
$this->certificateTemplate = $certificateTemplate;
}
/**
* @return string
*/
public function getCertificateTemplate()
{
return $this->certificateTemplate;
}
/**
* @param CertificateConfig
*/
public function setConfig(CertificateConfig $config)
{
$this->config = $config;
}
/**
* @return CertificateConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setIssuerCertificateAuthority($issuerCertificateAuthority)
{
$this->issuerCertificateAuthority = $issuerCertificateAuthority;
}
/**
* @return string
*/
public function getIssuerCertificateAuthority()
{
return $this->issuerCertificateAuthority;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLifetime($lifetime)
{
$this->lifetime = $lifetime;
}
/**
* @return string
*/
public function getLifetime()
{
return $this->lifetime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPemCertificate($pemCertificate)
{
$this->pemCertificate = $pemCertificate;
}
/**
* @return string
*/
public function getPemCertificate()
{
return $this->pemCertificate;
}
/**
* @param string[]
*/
public function setPemCertificateChain($pemCertificateChain)
{
$this->pemCertificateChain = $pemCertificateChain;
}
/**
* @return string[]
*/
public function getPemCertificateChain()
{
return $this->pemCertificateChain;
}
/**
* @param string
*/
public function setPemCsr($pemCsr)
{
$this->pemCsr = $pemCsr;
}
/**
* @return string
*/
public function getPemCsr()
{
return $this->pemCsr;
}
/**
* @param RevocationDetails
*/
public function setRevocationDetails(RevocationDetails $revocationDetails)
{
$this->revocationDetails = $revocationDetails;
}
/**
* @return RevocationDetails
*/
public function getRevocationDetails()
{
return $this->revocationDetails;
}
/**
* @param string
*/
public function setSubjectMode($subjectMode)
{
$this->subjectMode = $subjectMode;
}
/**
* @return string
*/
public function getSubjectMode()
{
return $this->subjectMode;
}
/**
* @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(Certificate::class, 'Google_Service_CertificateAuthorityService_Certificate');

View File

@@ -0,0 +1,359 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class CertificateAuthority extends \Google\Collection
{
protected $collection_key = 'pemCaCertificates';
protected $accessUrlsType = AccessUrls::class;
protected $accessUrlsDataType = '';
protected $caCertificateDescriptionsType = CertificateDescription::class;
protected $caCertificateDescriptionsDataType = 'array';
protected $configType = CertificateConfig::class;
protected $configDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $gcsBucket;
protected $keySpecType = KeyVersionSpec::class;
protected $keySpecDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lifetime;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $pemCaCertificates;
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $state;
protected $subordinateConfigType = SubordinateConfig::class;
protected $subordinateConfigDataType = '';
/**
* @var string
*/
public $tier;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
/**
* @param AccessUrls
*/
public function setAccessUrls(AccessUrls $accessUrls)
{
$this->accessUrls = $accessUrls;
}
/**
* @return AccessUrls
*/
public function getAccessUrls()
{
return $this->accessUrls;
}
/**
* @param CertificateDescription[]
*/
public function setCaCertificateDescriptions($caCertificateDescriptions)
{
$this->caCertificateDescriptions = $caCertificateDescriptions;
}
/**
* @return CertificateDescription[]
*/
public function getCaCertificateDescriptions()
{
return $this->caCertificateDescriptions;
}
/**
* @param CertificateConfig
*/
public function setConfig(CertificateConfig $config)
{
$this->config = $config;
}
/**
* @return CertificateConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGcsBucket($gcsBucket)
{
$this->gcsBucket = $gcsBucket;
}
/**
* @return string
*/
public function getGcsBucket()
{
return $this->gcsBucket;
}
/**
* @param KeyVersionSpec
*/
public function setKeySpec(KeyVersionSpec $keySpec)
{
$this->keySpec = $keySpec;
}
/**
* @return KeyVersionSpec
*/
public function getKeySpec()
{
return $this->keySpec;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLifetime($lifetime)
{
$this->lifetime = $lifetime;
}
/**
* @return string
*/
public function getLifetime()
{
return $this->lifetime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPemCaCertificates($pemCaCertificates)
{
$this->pemCaCertificates = $pemCaCertificates;
}
/**
* @return string[]
*/
public function getPemCaCertificates()
{
return $this->pemCaCertificates;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param SubordinateConfig
*/
public function setSubordinateConfig(SubordinateConfig $subordinateConfig)
{
$this->subordinateConfig = $subordinateConfig;
}
/**
* @return SubordinateConfig
*/
public function getSubordinateConfig()
{
return $this->subordinateConfig;
}
/**
* @param string
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @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(CertificateAuthority::class, 'Google_Service_CertificateAuthorityService_CertificateAuthority');

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\CertificateAuthorityService;
class CertificateConfig extends \Google\Model
{
protected $publicKeyType = PublicKey::class;
protected $publicKeyDataType = '';
protected $subjectConfigType = SubjectConfig::class;
protected $subjectConfigDataType = '';
protected $subjectKeyIdType = CertificateConfigKeyId::class;
protected $subjectKeyIdDataType = '';
protected $x509ConfigType = X509Parameters::class;
protected $x509ConfigDataType = '';
/**
* @param PublicKey
*/
public function setPublicKey(PublicKey $publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return PublicKey
*/
public function getPublicKey()
{
return $this->publicKey;
}
/**
* @param SubjectConfig
*/
public function setSubjectConfig(SubjectConfig $subjectConfig)
{
$this->subjectConfig = $subjectConfig;
}
/**
* @return SubjectConfig
*/
public function getSubjectConfig()
{
return $this->subjectConfig;
}
/**
* @param CertificateConfigKeyId
*/
public function setSubjectKeyId(CertificateConfigKeyId $subjectKeyId)
{
$this->subjectKeyId = $subjectKeyId;
}
/**
* @return CertificateConfigKeyId
*/
public function getSubjectKeyId()
{
return $this->subjectKeyId;
}
/**
* @param X509Parameters
*/
public function setX509Config(X509Parameters $x509Config)
{
$this->x509Config = $x509Config;
}
/**
* @return X509Parameters
*/
public function getX509Config()
{
return $this->x509Config;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateConfig::class, 'Google_Service_CertificateAuthorityService_CertificateConfig');

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\CertificateAuthorityService;
class CertificateConfigKeyId extends \Google\Model
{
/**
* @var string
*/
public $keyId;
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateConfigKeyId::class, 'Google_Service_CertificateAuthorityService_CertificateConfigKeyId');

View File

@@ -0,0 +1,177 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class CertificateDescription extends \Google\Collection
{
protected $collection_key = 'crlDistributionPoints';
/**
* @var string[]
*/
public $aiaIssuingCertificateUrls;
protected $authorityKeyIdType = KeyId::class;
protected $authorityKeyIdDataType = '';
protected $certFingerprintType = CertificateFingerprint::class;
protected $certFingerprintDataType = '';
/**
* @var string[]
*/
public $crlDistributionPoints;
protected $publicKeyType = PublicKey::class;
protected $publicKeyDataType = '';
protected $subjectDescriptionType = SubjectDescription::class;
protected $subjectDescriptionDataType = '';
protected $subjectKeyIdType = KeyId::class;
protected $subjectKeyIdDataType = '';
/**
* @var string
*/
public $tbsCertificateDigest;
protected $x509DescriptionType = X509Parameters::class;
protected $x509DescriptionDataType = '';
/**
* @param string[]
*/
public function setAiaIssuingCertificateUrls($aiaIssuingCertificateUrls)
{
$this->aiaIssuingCertificateUrls = $aiaIssuingCertificateUrls;
}
/**
* @return string[]
*/
public function getAiaIssuingCertificateUrls()
{
return $this->aiaIssuingCertificateUrls;
}
/**
* @param KeyId
*/
public function setAuthorityKeyId(KeyId $authorityKeyId)
{
$this->authorityKeyId = $authorityKeyId;
}
/**
* @return KeyId
*/
public function getAuthorityKeyId()
{
return $this->authorityKeyId;
}
/**
* @param CertificateFingerprint
*/
public function setCertFingerprint(CertificateFingerprint $certFingerprint)
{
$this->certFingerprint = $certFingerprint;
}
/**
* @return CertificateFingerprint
*/
public function getCertFingerprint()
{
return $this->certFingerprint;
}
/**
* @param string[]
*/
public function setCrlDistributionPoints($crlDistributionPoints)
{
$this->crlDistributionPoints = $crlDistributionPoints;
}
/**
* @return string[]
*/
public function getCrlDistributionPoints()
{
return $this->crlDistributionPoints;
}
/**
* @param PublicKey
*/
public function setPublicKey(PublicKey $publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return PublicKey
*/
public function getPublicKey()
{
return $this->publicKey;
}
/**
* @param SubjectDescription
*/
public function setSubjectDescription(SubjectDescription $subjectDescription)
{
$this->subjectDescription = $subjectDescription;
}
/**
* @return SubjectDescription
*/
public function getSubjectDescription()
{
return $this->subjectDescription;
}
/**
* @param KeyId
*/
public function setSubjectKeyId(KeyId $subjectKeyId)
{
$this->subjectKeyId = $subjectKeyId;
}
/**
* @return KeyId
*/
public function getSubjectKeyId()
{
return $this->subjectKeyId;
}
/**
* @param string
*/
public function setTbsCertificateDigest($tbsCertificateDigest)
{
$this->tbsCertificateDigest = $tbsCertificateDigest;
}
/**
* @return string
*/
public function getTbsCertificateDigest()
{
return $this->tbsCertificateDigest;
}
/**
* @param X509Parameters
*/
public function setX509Description(X509Parameters $x509Description)
{
$this->x509Description = $x509Description;
}
/**
* @return X509Parameters
*/
public function getX509Description()
{
return $this->x509Description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateDescription::class, 'Google_Service_CertificateAuthorityService_CertificateDescription');

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\CertificateAuthorityService;
class CertificateExtensionConstraints extends \Google\Collection
{
protected $collection_key = 'knownExtensions';
protected $additionalExtensionsType = ObjectId::class;
protected $additionalExtensionsDataType = 'array';
/**
* @var string[]
*/
public $knownExtensions;
/**
* @param ObjectId[]
*/
public function setAdditionalExtensions($additionalExtensions)
{
$this->additionalExtensions = $additionalExtensions;
}
/**
* @return ObjectId[]
*/
public function getAdditionalExtensions()
{
return $this->additionalExtensions;
}
/**
* @param string[]
*/
public function setKnownExtensions($knownExtensions)
{
$this->knownExtensions = $knownExtensions;
}
/**
* @return string[]
*/
public function getKnownExtensions()
{
return $this->knownExtensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateExtensionConstraints::class, 'Google_Service_CertificateAuthorityService_CertificateExtensionConstraints');

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\CertificateAuthorityService;
class CertificateFingerprint extends \Google\Model
{
/**
* @var string
*/
public $sha256Hash;
/**
* @param string
*/
public function setSha256Hash($sha256Hash)
{
$this->sha256Hash = $sha256Hash;
}
/**
* @return string
*/
public function getSha256Hash()
{
return $this->sha256Hash;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateFingerprint::class, 'Google_Service_CertificateAuthorityService_CertificateFingerprint');

View File

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

View File

@@ -0,0 +1,205 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class CertificateRevocationList extends \Google\Collection
{
protected $collection_key = 'revokedCertificates';
/**
* @var string
*/
public $accessUrl;
/**
* @var string
*/
public $createTime;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pemCrl;
/**
* @var string
*/
public $revisionId;
protected $revokedCertificatesType = RevokedCertificate::class;
protected $revokedCertificatesDataType = 'array';
/**
* @var string
*/
public $sequenceNumber;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setAccessUrl($accessUrl)
{
$this->accessUrl = $accessUrl;
}
/**
* @return string
*/
public function getAccessUrl()
{
return $this->accessUrl;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPemCrl($pemCrl)
{
$this->pemCrl = $pemCrl;
}
/**
* @return string
*/
public function getPemCrl()
{
return $this->pemCrl;
}
/**
* @param string
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
/**
* @param RevokedCertificate[]
*/
public function setRevokedCertificates($revokedCertificates)
{
$this->revokedCertificates = $revokedCertificates;
}
/**
* @return RevokedCertificate[]
*/
public function getRevokedCertificates()
{
return $this->revokedCertificates;
}
/**
* @param string
*/
public function setSequenceNumber($sequenceNumber)
{
$this->sequenceNumber = $sequenceNumber;
}
/**
* @return string
*/
public function getSequenceNumber()
{
return $this->sequenceNumber;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(CertificateRevocationList::class, 'Google_Service_CertificateAuthorityService_CertificateRevocationList');

View File

@@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class CertificateTemplate extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
protected $identityConstraintsType = CertificateIdentityConstraints::class;
protected $identityConstraintsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $maximumLifetime;
/**
* @var string
*/
public $name;
protected $passthroughExtensionsType = CertificateExtensionConstraints::class;
protected $passthroughExtensionsDataType = '';
protected $predefinedValuesType = X509Parameters::class;
protected $predefinedValuesDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @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 CertificateIdentityConstraints
*/
public function setIdentityConstraints(CertificateIdentityConstraints $identityConstraints)
{
$this->identityConstraints = $identityConstraints;
}
/**
* @return CertificateIdentityConstraints
*/
public function getIdentityConstraints()
{
return $this->identityConstraints;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMaximumLifetime($maximumLifetime)
{
$this->maximumLifetime = $maximumLifetime;
}
/**
* @return string
*/
public function getMaximumLifetime()
{
return $this->maximumLifetime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param CertificateExtensionConstraints
*/
public function setPassthroughExtensions(CertificateExtensionConstraints $passthroughExtensions)
{
$this->passthroughExtensions = $passthroughExtensions;
}
/**
* @return CertificateExtensionConstraints
*/
public function getPassthroughExtensions()
{
return $this->passthroughExtensions;
}
/**
* @param X509Parameters
*/
public function setPredefinedValues(X509Parameters $predefinedValues)
{
$this->predefinedValues = $predefinedValues;
}
/**
* @return X509Parameters
*/
public function getPredefinedValues()
{
return $this->predefinedValues;
}
/**
* @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(CertificateTemplate::class, 'Google_Service_CertificateAuthorityService_CertificateTemplate');

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\CertificateAuthorityService;
class DisableCertificateAuthorityRequest extends \Google\Model
{
/**
* @var bool
*/
public $ignoreDependentResources;
/**
* @var string
*/
public $requestId;
/**
* @param bool
*/
public function setIgnoreDependentResources($ignoreDependentResources)
{
$this->ignoreDependentResources = $ignoreDependentResources;
}
/**
* @return bool
*/
public function getIgnoreDependentResources()
{
return $this->ignoreDependentResources;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisableCertificateAuthorityRequest::class, 'Google_Service_CertificateAuthorityService_DisableCertificateAuthorityRequest');

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\CertificateAuthorityService;
class EcKeyType extends \Google\Model
{
/**
* @var string
*/
public $signatureAlgorithm;
/**
* @param string
*/
public function setSignatureAlgorithm($signatureAlgorithm)
{
$this->signatureAlgorithm = $signatureAlgorithm;
}
/**
* @return string
*/
public function getSignatureAlgorithm()
{
return $this->signatureAlgorithm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EcKeyType::class, 'Google_Service_CertificateAuthorityService_EcKeyType');

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\CertificateAuthorityService;
class EnableCertificateAuthorityRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnableCertificateAuthorityRequest::class, 'Google_Service_CertificateAuthorityService_EnableCertificateAuthorityRequest');

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\CertificateAuthorityService;
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_CertificateAuthorityService_Expr');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class ExtendedKeyUsageOptions extends \Google\Model
{
/**
* @var bool
*/
public $clientAuth;
/**
* @var bool
*/
public $codeSigning;
/**
* @var bool
*/
public $emailProtection;
/**
* @var bool
*/
public $ocspSigning;
/**
* @var bool
*/
public $serverAuth;
/**
* @var bool
*/
public $timeStamping;
/**
* @param bool
*/
public function setClientAuth($clientAuth)
{
$this->clientAuth = $clientAuth;
}
/**
* @return bool
*/
public function getClientAuth()
{
return $this->clientAuth;
}
/**
* @param bool
*/
public function setCodeSigning($codeSigning)
{
$this->codeSigning = $codeSigning;
}
/**
* @return bool
*/
public function getCodeSigning()
{
return $this->codeSigning;
}
/**
* @param bool
*/
public function setEmailProtection($emailProtection)
{
$this->emailProtection = $emailProtection;
}
/**
* @return bool
*/
public function getEmailProtection()
{
return $this->emailProtection;
}
/**
* @param bool
*/
public function setOcspSigning($ocspSigning)
{
$this->ocspSigning = $ocspSigning;
}
/**
* @return bool
*/
public function getOcspSigning()
{
return $this->ocspSigning;
}
/**
* @param bool
*/
public function setServerAuth($serverAuth)
{
$this->serverAuth = $serverAuth;
}
/**
* @return bool
*/
public function getServerAuth()
{
return $this->serverAuth;
}
/**
* @param bool
*/
public function setTimeStamping($timeStamping)
{
$this->timeStamping = $timeStamping;
}
/**
* @return bool
*/
public function getTimeStamping()
{
return $this->timeStamping;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtendedKeyUsageOptions::class, 'Google_Service_CertificateAuthorityService_ExtendedKeyUsageOptions');

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\CertificateAuthorityService;
class FetchCaCertsRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchCaCertsRequest::class, 'Google_Service_CertificateAuthorityService_FetchCaCertsRequest');

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\CertificateAuthorityService;
class FetchCaCertsResponse extends \Google\Collection
{
protected $collection_key = 'caCerts';
protected $caCertsType = CertChain::class;
protected $caCertsDataType = 'array';
/**
* @param CertChain[]
*/
public function setCaCerts($caCerts)
{
$this->caCerts = $caCerts;
}
/**
* @return CertChain[]
*/
public function getCaCerts()
{
return $this->caCerts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchCaCertsResponse::class, 'Google_Service_CertificateAuthorityService_FetchCaCertsResponse');

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\CertificateAuthorityService;
class FetchCertificateAuthorityCsrResponse extends \Google\Model
{
/**
* @var string
*/
public $pemCsr;
/**
* @param string
*/
public function setPemCsr($pemCsr)
{
$this->pemCsr = $pemCsr;
}
/**
* @return string
*/
public function getPemCsr()
{
return $this->pemCsr;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchCertificateAuthorityCsrResponse::class, 'Google_Service_CertificateAuthorityService_FetchCertificateAuthorityCsrResponse');

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\CertificateAuthorityService;
class IssuanceModes extends \Google\Model
{
/**
* @var bool
*/
public $allowConfigBasedIssuance;
/**
* @var bool
*/
public $allowCsrBasedIssuance;
/**
* @param bool
*/
public function setAllowConfigBasedIssuance($allowConfigBasedIssuance)
{
$this->allowConfigBasedIssuance = $allowConfigBasedIssuance;
}
/**
* @return bool
*/
public function getAllowConfigBasedIssuance()
{
return $this->allowConfigBasedIssuance;
}
/**
* @param bool
*/
public function setAllowCsrBasedIssuance($allowCsrBasedIssuance)
{
$this->allowCsrBasedIssuance = $allowCsrBasedIssuance;
}
/**
* @return bool
*/
public function getAllowCsrBasedIssuance()
{
return $this->allowCsrBasedIssuance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IssuanceModes::class, 'Google_Service_CertificateAuthorityService_IssuanceModes');

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class IssuancePolicy extends \Google\Collection
{
protected $collection_key = 'allowedKeyTypes';
protected $allowedIssuanceModesType = IssuanceModes::class;
protected $allowedIssuanceModesDataType = '';
protected $allowedKeyTypesType = AllowedKeyType::class;
protected $allowedKeyTypesDataType = 'array';
protected $baselineValuesType = X509Parameters::class;
protected $baselineValuesDataType = '';
protected $identityConstraintsType = CertificateIdentityConstraints::class;
protected $identityConstraintsDataType = '';
/**
* @var string
*/
public $maximumLifetime;
protected $passthroughExtensionsType = CertificateExtensionConstraints::class;
protected $passthroughExtensionsDataType = '';
/**
* @param IssuanceModes
*/
public function setAllowedIssuanceModes(IssuanceModes $allowedIssuanceModes)
{
$this->allowedIssuanceModes = $allowedIssuanceModes;
}
/**
* @return IssuanceModes
*/
public function getAllowedIssuanceModes()
{
return $this->allowedIssuanceModes;
}
/**
* @param AllowedKeyType[]
*/
public function setAllowedKeyTypes($allowedKeyTypes)
{
$this->allowedKeyTypes = $allowedKeyTypes;
}
/**
* @return AllowedKeyType[]
*/
public function getAllowedKeyTypes()
{
return $this->allowedKeyTypes;
}
/**
* @param X509Parameters
*/
public function setBaselineValues(X509Parameters $baselineValues)
{
$this->baselineValues = $baselineValues;
}
/**
* @return X509Parameters
*/
public function getBaselineValues()
{
return $this->baselineValues;
}
/**
* @param CertificateIdentityConstraints
*/
public function setIdentityConstraints(CertificateIdentityConstraints $identityConstraints)
{
$this->identityConstraints = $identityConstraints;
}
/**
* @return CertificateIdentityConstraints
*/
public function getIdentityConstraints()
{
return $this->identityConstraints;
}
/**
* @param string
*/
public function setMaximumLifetime($maximumLifetime)
{
$this->maximumLifetime = $maximumLifetime;
}
/**
* @return string
*/
public function getMaximumLifetime()
{
return $this->maximumLifetime;
}
/**
* @param CertificateExtensionConstraints
*/
public function setPassthroughExtensions(CertificateExtensionConstraints $passthroughExtensions)
{
$this->passthroughExtensions = $passthroughExtensions;
}
/**
* @return CertificateExtensionConstraints
*/
public function getPassthroughExtensions()
{
return $this->passthroughExtensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IssuancePolicy::class, 'Google_Service_CertificateAuthorityService_IssuancePolicy');

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\CertificateAuthorityService;
class KeyId extends \Google\Model
{
/**
* @var string
*/
public $keyId;
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KeyId::class, 'Google_Service_CertificateAuthorityService_KeyId');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class KeyUsage extends \Google\Collection
{
protected $collection_key = 'unknownExtendedKeyUsages';
protected $baseKeyUsageType = KeyUsageOptions::class;
protected $baseKeyUsageDataType = '';
protected $extendedKeyUsageType = ExtendedKeyUsageOptions::class;
protected $extendedKeyUsageDataType = '';
protected $unknownExtendedKeyUsagesType = ObjectId::class;
protected $unknownExtendedKeyUsagesDataType = 'array';
/**
* @param KeyUsageOptions
*/
public function setBaseKeyUsage(KeyUsageOptions $baseKeyUsage)
{
$this->baseKeyUsage = $baseKeyUsage;
}
/**
* @return KeyUsageOptions
*/
public function getBaseKeyUsage()
{
return $this->baseKeyUsage;
}
/**
* @param ExtendedKeyUsageOptions
*/
public function setExtendedKeyUsage(ExtendedKeyUsageOptions $extendedKeyUsage)
{
$this->extendedKeyUsage = $extendedKeyUsage;
}
/**
* @return ExtendedKeyUsageOptions
*/
public function getExtendedKeyUsage()
{
return $this->extendedKeyUsage;
}
/**
* @param ObjectId[]
*/
public function setUnknownExtendedKeyUsages($unknownExtendedKeyUsages)
{
$this->unknownExtendedKeyUsages = $unknownExtendedKeyUsages;
}
/**
* @return ObjectId[]
*/
public function getUnknownExtendedKeyUsages()
{
return $this->unknownExtendedKeyUsages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KeyUsage::class, 'Google_Service_CertificateAuthorityService_KeyUsage');

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\CertificateAuthorityService;
class KeyUsageOptions extends \Google\Model
{
/**
* @var bool
*/
public $certSign;
/**
* @var bool
*/
public $contentCommitment;
/**
* @var bool
*/
public $crlSign;
/**
* @var bool
*/
public $dataEncipherment;
/**
* @var bool
*/
public $decipherOnly;
/**
* @var bool
*/
public $digitalSignature;
/**
* @var bool
*/
public $encipherOnly;
/**
* @var bool
*/
public $keyAgreement;
/**
* @var bool
*/
public $keyEncipherment;
/**
* @param bool
*/
public function setCertSign($certSign)
{
$this->certSign = $certSign;
}
/**
* @return bool
*/
public function getCertSign()
{
return $this->certSign;
}
/**
* @param bool
*/
public function setContentCommitment($contentCommitment)
{
$this->contentCommitment = $contentCommitment;
}
/**
* @return bool
*/
public function getContentCommitment()
{
return $this->contentCommitment;
}
/**
* @param bool
*/
public function setCrlSign($crlSign)
{
$this->crlSign = $crlSign;
}
/**
* @return bool
*/
public function getCrlSign()
{
return $this->crlSign;
}
/**
* @param bool
*/
public function setDataEncipherment($dataEncipherment)
{
$this->dataEncipherment = $dataEncipherment;
}
/**
* @return bool
*/
public function getDataEncipherment()
{
return $this->dataEncipherment;
}
/**
* @param bool
*/
public function setDecipherOnly($decipherOnly)
{
$this->decipherOnly = $decipherOnly;
}
/**
* @return bool
*/
public function getDecipherOnly()
{
return $this->decipherOnly;
}
/**
* @param bool
*/
public function setDigitalSignature($digitalSignature)
{
$this->digitalSignature = $digitalSignature;
}
/**
* @return bool
*/
public function getDigitalSignature()
{
return $this->digitalSignature;
}
/**
* @param bool
*/
public function setEncipherOnly($encipherOnly)
{
$this->encipherOnly = $encipherOnly;
}
/**
* @return bool
*/
public function getEncipherOnly()
{
return $this->encipherOnly;
}
/**
* @param bool
*/
public function setKeyAgreement($keyAgreement)
{
$this->keyAgreement = $keyAgreement;
}
/**
* @return bool
*/
public function getKeyAgreement()
{
return $this->keyAgreement;
}
/**
* @param bool
*/
public function setKeyEncipherment($keyEncipherment)
{
$this->keyEncipherment = $keyEncipherment;
}
/**
* @return bool
*/
public function getKeyEncipherment()
{
return $this->keyEncipherment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KeyUsageOptions::class, 'Google_Service_CertificateAuthorityService_KeyUsageOptions');

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\CertificateAuthorityService;
class KeyVersionSpec extends \Google\Model
{
/**
* @var string
*/
public $algorithm;
/**
* @var string
*/
public $cloudKmsKeyVersion;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param string
*/
public function setCloudKmsKeyVersion($cloudKmsKeyVersion)
{
$this->cloudKmsKeyVersion = $cloudKmsKeyVersion;
}
/**
* @return string
*/
public function getCloudKmsKeyVersion()
{
return $this->cloudKmsKeyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KeyVersionSpec::class, 'Google_Service_CertificateAuthorityService_KeyVersionSpec');

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\CertificateAuthorityService;
class ListCaPoolsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $caPoolsType = CaPool::class;
protected $caPoolsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CaPool[]
*/
public function setCaPools($caPools)
{
$this->caPools = $caPools;
}
/**
* @return CaPool[]
*/
public function getCaPools()
{
return $this->caPools;
}
/**
* @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(ListCaPoolsResponse::class, 'Google_Service_CertificateAuthorityService_ListCaPoolsResponse');

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\CertificateAuthorityService;
class ListCertificateAuthoritiesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $certificateAuthoritiesType = CertificateAuthority::class;
protected $certificateAuthoritiesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CertificateAuthority[]
*/
public function setCertificateAuthorities($certificateAuthorities)
{
$this->certificateAuthorities = $certificateAuthorities;
}
/**
* @return CertificateAuthority[]
*/
public function getCertificateAuthorities()
{
return $this->certificateAuthorities;
}
/**
* @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(ListCertificateAuthoritiesResponse::class, 'Google_Service_CertificateAuthorityService_ListCertificateAuthoritiesResponse');

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\CertificateAuthorityService;
class ListCertificateRevocationListsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $certificateRevocationListsType = CertificateRevocationList::class;
protected $certificateRevocationListsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CertificateRevocationList[]
*/
public function setCertificateRevocationLists($certificateRevocationLists)
{
$this->certificateRevocationLists = $certificateRevocationLists;
}
/**
* @return CertificateRevocationList[]
*/
public function getCertificateRevocationLists()
{
return $this->certificateRevocationLists;
}
/**
* @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(ListCertificateRevocationListsResponse::class, 'Google_Service_CertificateAuthorityService_ListCertificateRevocationListsResponse');

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\CertificateAuthorityService;
class ListCertificateTemplatesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $certificateTemplatesType = CertificateTemplate::class;
protected $certificateTemplatesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CertificateTemplate[]
*/
public function setCertificateTemplates($certificateTemplates)
{
$this->certificateTemplates = $certificateTemplates;
}
/**
* @return CertificateTemplate[]
*/
public function getCertificateTemplates()
{
return $this->certificateTemplates;
}
/**
* @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(ListCertificateTemplatesResponse::class, 'Google_Service_CertificateAuthorityService_ListCertificateTemplatesResponse');

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\CertificateAuthorityService;
class ListCertificatesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $certificatesType = Certificate::class;
protected $certificatesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Certificate[]
*/
public function setCertificates($certificates)
{
$this->certificates = $certificates;
}
/**
* @return Certificate[]
*/
public function getCertificates()
{
return $this->certificates;
}
/**
* @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(ListCertificatesResponse::class, 'Google_Service_CertificateAuthorityService_ListCertificatesResponse');

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\CertificateAuthorityService;
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_CertificateAuthorityService_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\CertificateAuthorityService;
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_CertificateAuthorityService_ListOperationsResponse');

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\CertificateAuthorityService;
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_CertificateAuthorityService_Location');

View File

@@ -0,0 +1,189 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class NameConstraints extends \Google\Collection
{
protected $collection_key = 'permittedUris';
/**
* @var bool
*/
public $critical;
/**
* @var string[]
*/
public $excludedDnsNames;
/**
* @var string[]
*/
public $excludedEmailAddresses;
/**
* @var string[]
*/
public $excludedIpRanges;
/**
* @var string[]
*/
public $excludedUris;
/**
* @var string[]
*/
public $permittedDnsNames;
/**
* @var string[]
*/
public $permittedEmailAddresses;
/**
* @var string[]
*/
public $permittedIpRanges;
/**
* @var string[]
*/
public $permittedUris;
/**
* @param bool
*/
public function setCritical($critical)
{
$this->critical = $critical;
}
/**
* @return bool
*/
public function getCritical()
{
return $this->critical;
}
/**
* @param string[]
*/
public function setExcludedDnsNames($excludedDnsNames)
{
$this->excludedDnsNames = $excludedDnsNames;
}
/**
* @return string[]
*/
public function getExcludedDnsNames()
{
return $this->excludedDnsNames;
}
/**
* @param string[]
*/
public function setExcludedEmailAddresses($excludedEmailAddresses)
{
$this->excludedEmailAddresses = $excludedEmailAddresses;
}
/**
* @return string[]
*/
public function getExcludedEmailAddresses()
{
return $this->excludedEmailAddresses;
}
/**
* @param string[]
*/
public function setExcludedIpRanges($excludedIpRanges)
{
$this->excludedIpRanges = $excludedIpRanges;
}
/**
* @return string[]
*/
public function getExcludedIpRanges()
{
return $this->excludedIpRanges;
}
/**
* @param string[]
*/
public function setExcludedUris($excludedUris)
{
$this->excludedUris = $excludedUris;
}
/**
* @return string[]
*/
public function getExcludedUris()
{
return $this->excludedUris;
}
/**
* @param string[]
*/
public function setPermittedDnsNames($permittedDnsNames)
{
$this->permittedDnsNames = $permittedDnsNames;
}
/**
* @return string[]
*/
public function getPermittedDnsNames()
{
return $this->permittedDnsNames;
}
/**
* @param string[]
*/
public function setPermittedEmailAddresses($permittedEmailAddresses)
{
$this->permittedEmailAddresses = $permittedEmailAddresses;
}
/**
* @return string[]
*/
public function getPermittedEmailAddresses()
{
return $this->permittedEmailAddresses;
}
/**
* @param string[]
*/
public function setPermittedIpRanges($permittedIpRanges)
{
$this->permittedIpRanges = $permittedIpRanges;
}
/**
* @return string[]
*/
public function getPermittedIpRanges()
{
return $this->permittedIpRanges;
}
/**
* @param string[]
*/
public function setPermittedUris($permittedUris)
{
$this->permittedUris = $permittedUris;
}
/**
* @return string[]
*/
public function getPermittedUris()
{
return $this->permittedUris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NameConstraints::class, 'Google_Service_CertificateAuthorityService_NameConstraints');

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\CertificateAuthorityService;
class ObjectId extends \Google\Collection
{
protected $collection_key = 'objectIdPath';
/**
* @var int[]
*/
public $objectIdPath;
/**
* @param int[]
*/
public function setObjectIdPath($objectIdPath)
{
$this->objectIdPath = $objectIdPath;
}
/**
* @return int[]
*/
public function getObjectIdPath()
{
return $this->objectIdPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ObjectId::class, 'Google_Service_CertificateAuthorityService_ObjectId');

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\CertificateAuthorityService;
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_CertificateAuthorityService_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\CertificateAuthorityService;
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_CertificateAuthorityService_OperationMetadata');

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\CertificateAuthorityService;
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_CertificateAuthorityService_Policy');

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

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\CertificateAuthorityService;
class PublicKey extends \Google\Model
{
/**
* @var string
*/
public $format;
/**
* @var string
*/
public $key;
/**
* @param string
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return string
*/
public function getFormat()
{
return $this->format;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublicKey::class, 'Google_Service_CertificateAuthorityService_PublicKey');

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\CertificateAuthorityService;
class PublishingOptions extends \Google\Model
{
/**
* @var string
*/
public $encodingFormat;
/**
* @var bool
*/
public $publishCaCert;
/**
* @var bool
*/
public $publishCrl;
/**
* @param string
*/
public function setEncodingFormat($encodingFormat)
{
$this->encodingFormat = $encodingFormat;
}
/**
* @return string
*/
public function getEncodingFormat()
{
return $this->encodingFormat;
}
/**
* @param bool
*/
public function setPublishCaCert($publishCaCert)
{
$this->publishCaCert = $publishCaCert;
}
/**
* @return bool
*/
public function getPublishCaCert()
{
return $this->publishCaCert;
}
/**
* @param bool
*/
public function setPublishCrl($publishCrl)
{
$this->publishCrl = $publishCrl;
}
/**
* @return bool
*/
public function getPublishCrl()
{
return $this->publishCrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublishingOptions::class, 'Google_Service_CertificateAuthorityService_PublishingOptions');

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\CertificateAuthorityService;
class ReconciliationOperationMetadata extends \Google\Model
{
/**
* @var bool
*/
public $deleteResource;
/**
* @var string
*/
public $exclusiveAction;
/**
* @param bool
*/
public function setDeleteResource($deleteResource)
{
$this->deleteResource = $deleteResource;
}
/**
* @return bool
*/
public function getDeleteResource()
{
return $this->deleteResource;
}
/**
* @param string
*/
public function setExclusiveAction($exclusiveAction)
{
$this->exclusiveAction = $exclusiveAction;
}
/**
* @return string
*/
public function getExclusiveAction()
{
return $this->exclusiveAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReconciliationOperationMetadata::class, 'Google_Service_CertificateAuthorityService_ReconciliationOperationMetadata');

View File

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

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\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\ListLocationsResponse;
use Google\Service\CertificateAuthorityService\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $locations = $privatecaService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocations');

View File

@@ -0,0 +1,265 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\CaPool;
use Google\Service\CertificateAuthorityService\FetchCaCertsRequest;
use Google\Service\CertificateAuthorityService\FetchCaCertsResponse;
use Google\Service\CertificateAuthorityService\ListCaPoolsResponse;
use Google\Service\CertificateAuthorityService\Operation;
use Google\Service\CertificateAuthorityService\Policy;
use Google\Service\CertificateAuthorityService\SetIamPolicyRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsResponse;
/**
* The "caPools" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $caPools = $privatecaService->projects_locations_caPools;
* </code>
*/
class ProjectsLocationsCaPools extends \Google\Service\Resource
{
/**
* Create a CaPool. (caPools.create)
*
* @param string $parent Required. The resource name of the location associated
* with the CaPool, in the format `projects/locations`.
* @param CaPool $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string caPoolId Required. It must be unique within a location and
* match the regular expression `[a-zA-Z0-9_-]{1,63}`
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, CaPool $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Delete a CaPool. (caPools.delete)
*
* @param string $name Required. The resource name for this CaPool in the format
* `projects/locations/caPools`.
* @param array $optParams Optional parameters.
*
* @opt_param bool ignoreDependentResources Optional. This field allows this
* pool to be deleted even if it's being depended on by another resource.
* However, doing so may result in unintended and unrecoverable effects on any
* dependent resources since the pool will no longer be able to issue
* certificates.
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* FetchCaCerts returns the current trust anchor for the CaPool. This will
* include CA certificate chains for all certificate authorities in the ENABLED,
* DISABLED, or STAGED states. (caPools.fetchCaCerts)
*
* @param string $caPool Required. The resource name for the CaPool in the
* format `projects/locations/caPools`.
* @param FetchCaCertsRequest $postBody
* @param array $optParams Optional parameters.
* @return FetchCaCertsResponse
* @throws \Google\Service\Exception
*/
public function fetchCaCerts($caPool, FetchCaCertsRequest $postBody, $optParams = [])
{
$params = ['caPool' => $caPool, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('fetchCaCerts', [$params], FetchCaCertsResponse::class);
}
/**
* Returns a CaPool. (caPools.get)
*
* @param string $name Required. The name of the CaPool to get.
* @param array $optParams Optional parameters.
* @return CaPool
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CaPool::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (caPools.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists CaPools. (caPools.listProjectsLocationsCaPools)
*
* @param string $parent Required. The resource name of the location associated
* with the CaPools, in the format `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Only include resources that match the
* filter in the response.
* @opt_param string orderBy Optional. Specify how the results should be sorted.
* @opt_param int pageSize Optional. Limit on the number of CaPools to include
* in the response. Further CaPools can subsequently be obtained by including
* the ListCaPoolsResponse.next_page_token in a subsequent request. If
* unspecified, the server will pick an appropriate default.
* @opt_param string pageToken Optional. Pagination token, returned earlier via
* ListCaPoolsResponse.next_page_token.
* @return ListCaPoolsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsCaPools($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCaPoolsResponse::class);
}
/**
* Update a CaPool. (caPools.patch)
*
* @param string $name Identifier. The resource name for this CaPool in the
* format `projects/locations/caPools`.
* @param CaPool $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. A list of fields to be updated in this
* request.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, CaPool $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (caPools.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (caPools.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsCaPools::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsCaPools');

View File

@@ -0,0 +1,271 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\ActivateCertificateAuthorityRequest;
use Google\Service\CertificateAuthorityService\CertificateAuthority;
use Google\Service\CertificateAuthorityService\DisableCertificateAuthorityRequest;
use Google\Service\CertificateAuthorityService\EnableCertificateAuthorityRequest;
use Google\Service\CertificateAuthorityService\FetchCertificateAuthorityCsrResponse;
use Google\Service\CertificateAuthorityService\ListCertificateAuthoritiesResponse;
use Google\Service\CertificateAuthorityService\Operation;
use Google\Service\CertificateAuthorityService\UndeleteCertificateAuthorityRequest;
/**
* The "certificateAuthorities" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $certificateAuthorities = $privatecaService->projects_locations_caPools_certificateAuthorities;
* </code>
*/
class ProjectsLocationsCaPoolsCertificateAuthorities extends \Google\Service\Resource
{
/**
* Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and
* is of type SUBORDINATE. After the parent Certificate Authority signs a
* certificate signing request from FetchCertificateAuthorityCsr, this method
* can complete the activation process. (certificateAuthorities.activate)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param ActivateCertificateAuthorityRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function activate($name, ActivateCertificateAuthorityRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('activate', [$params], Operation::class);
}
/**
* Create a new CertificateAuthority in a given Project and Location.
* (certificateAuthorities.create)
*
* @param string $parent Required. The resource name of the CaPool associated
* with the CertificateAuthorities, in the format `projects/locations/caPools`.
* @param CertificateAuthority $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string certificateAuthorityId Required. It must be unique within a
* location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, CertificateAuthority $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Delete a CertificateAuthority. (certificateAuthorities.delete)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param array $optParams Optional parameters.
*
* @opt_param bool ignoreActiveCertificates Optional. This field allows the CA
* to be deleted even if the CA has active certs. Active certs include both
* unrevoked and unexpired certs.
* @opt_param bool ignoreDependentResources Optional. This field allows this CA
* to be deleted even if it's being depended on by another resource. However,
* doing so may result in unintended and unrecoverable effects on any dependent
* resources since the CA will no longer be able to issue certificates.
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool skipGracePeriod Optional. If this flag is set, the
* Certificate Authority will be deleted as soon as possible without a 30-day
* grace period where undeletion would have been allowed. If you proceed, there
* will be no way to recover this CA.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Disable a CertificateAuthority. (certificateAuthorities.disable)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param DisableCertificateAuthorityRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function disable($name, DisableCertificateAuthorityRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disable', [$params], Operation::class);
}
/**
* Enable a CertificateAuthority. (certificateAuthorities.enable)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param EnableCertificateAuthorityRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function enable($name, EnableCertificateAuthorityRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enable', [$params], Operation::class);
}
/**
* Fetch a certificate signing request (CSR) from a CertificateAuthority that is
* in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must
* then be signed by the desired parent Certificate Authority, which could be
* another CertificateAuthority resource, or could be an on-prem certificate
* authority. See also ActivateCertificateAuthority.
* (certificateAuthorities.fetch)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param array $optParams Optional parameters.
* @return FetchCertificateAuthorityCsrResponse
* @throws \Google\Service\Exception
*/
public function fetch($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetch', [$params], FetchCertificateAuthorityCsrResponse::class);
}
/**
* Returns a CertificateAuthority. (certificateAuthorities.get)
*
* @param string $name Required. The name of the CertificateAuthority to get.
* @param array $optParams Optional parameters.
* @return CertificateAuthority
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CertificateAuthority::class);
}
/**
* Lists CertificateAuthorities.
* (certificateAuthorities.listProjectsLocationsCaPoolsCertificateAuthorities)
*
* @param string $parent Required. The resource name of the CaPool associated
* with the CertificateAuthorities, in the format `projects/locations/caPools`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Only include resources that match the
* filter in the response.
* @opt_param string orderBy Optional. Specify how the results should be sorted.
* @opt_param int pageSize Optional. Limit on the number of
* CertificateAuthorities to include in the response. Further
* CertificateAuthorities can subsequently be obtained by including the
* ListCertificateAuthoritiesResponse.next_page_token in a subsequent request.
* If unspecified, the server will pick an appropriate default.
* @opt_param string pageToken Optional. Pagination token, returned earlier via
* ListCertificateAuthoritiesResponse.next_page_token.
* @return ListCertificateAuthoritiesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsCaPoolsCertificateAuthorities($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCertificateAuthoritiesResponse::class);
}
/**
* Update a CertificateAuthority. (certificateAuthorities.patch)
*
* @param string $name Identifier. The resource name for this
* CertificateAuthority in the format
* `projects/locations/caPools/certificateAuthorities`.
* @param CertificateAuthority $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. A list of fields to be updated in this
* request.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, CertificateAuthority $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Undelete a CertificateAuthority that has been deleted.
* (certificateAuthorities.undelete)
*
* @param string $name Required. The resource name for this CertificateAuthority
* in the format `projects/locations/caPools/certificateAuthorities`.
* @param UndeleteCertificateAuthorityRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($name, UndeleteCertificateAuthorityRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsCaPoolsCertificateAuthorities::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsCaPoolsCertificateAuthorities');

View File

@@ -0,0 +1,191 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\CertificateRevocationList;
use Google\Service\CertificateAuthorityService\ListCertificateRevocationListsResponse;
use Google\Service\CertificateAuthorityService\Operation;
use Google\Service\CertificateAuthorityService\Policy;
use Google\Service\CertificateAuthorityService\SetIamPolicyRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsResponse;
/**
* The "certificateRevocationLists" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $certificateRevocationLists = $privatecaService->projects_locations_caPools_certificateAuthorities_certificateRevocationLists;
* </code>
*/
class ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists extends \Google\Service\Resource
{
/**
* Returns a CertificateRevocationList. (certificateRevocationLists.get)
*
* @param string $name Required. The name of the CertificateRevocationList to
* get.
* @param array $optParams Optional parameters.
* @return CertificateRevocationList
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CertificateRevocationList::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (certificateRevocationLists.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists CertificateRevocationLists. (certificateRevocationLists.listProjectsLoc
* ationsCaPoolsCertificateAuthoritiesCertificateRevocationLists)
*
* @param string $parent Required. The resource name of the location associated
* with the CertificateRevocationLists, in the format
* `projects/locations/caPools/certificateAuthorities`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Only include resources that match the
* filter in the response.
* @opt_param string orderBy Optional. Specify how the results should be sorted.
* @opt_param int pageSize Optional. Limit on the number of
* CertificateRevocationLists to include in the response. Further
* CertificateRevocationLists can subsequently be obtained by including the
* ListCertificateRevocationListsResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
* @opt_param string pageToken Optional. Pagination token, returned earlier via
* ListCertificateRevocationListsResponse.next_page_token.
* @return ListCertificateRevocationListsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCertificateRevocationListsResponse::class);
}
/**
* Update a CertificateRevocationList. (certificateRevocationLists.patch)
*
* @param string $name Identifier. The resource name for this
* CertificateRevocationList in the format
* `projects/locations/caPoolscertificateAuthorities/
* certificateRevocationLists`.
* @param CertificateRevocationList $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. A list of fields to be updated in this
* request.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, CertificateRevocationList $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (certificateRevocationLists.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (certificateRevocationLists.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists');

View File

@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\Certificate;
use Google\Service\CertificateAuthorityService\ListCertificatesResponse;
use Google\Service\CertificateAuthorityService\RevokeCertificateRequest;
/**
* The "certificates" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $certificates = $privatecaService->projects_locations_caPools_certificates;
* </code>
*/
class ProjectsLocationsCaPoolsCertificates extends \Google\Service\Resource
{
/**
* Create a new Certificate in a given Project, Location from a particular
* CaPool. (certificates.create)
*
* @param string $parent Required. The resource name of the CaPool associated
* with the Certificate, in the format `projects/locations/caPools`.
* @param Certificate $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string certificateId Optional. It must be unique within a location
* and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is
* required when using a CertificateAuthority in the Enterprise
* CertificateAuthority.tier, but is optional and its value is ignored
* otherwise.
* @opt_param string issuingCertificateAuthorityId Optional. The resource ID of
* the CertificateAuthority that should issue the certificate. This optional
* field will ignore the load-balancing scheme of the Pool and directly issue
* the certificate from the CA with the specified ID, contained in the same
* CaPool referenced by `parent`. Per-CA quota rules apply. If left empty, a
* CertificateAuthority will be chosen from the CaPool by the service. For
* example, to issue a Certificate from a Certificate Authority with resource
* name "projects/my-project/locations/us-central1/caPools/my-
* pool/certificateAuthorities/my-ca", you can set the parent to "projects/my-
* project/locations/us-central1/caPools/my-pool" and the
* issuing_certificate_authority_id to "my-ca".
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. If this is true, no Certificate
* resource will be persisted regardless of the CaPool's tier, and the returned
* Certificate will not contain the pem_certificate field.
* @return Certificate
* @throws \Google\Service\Exception
*/
public function create($parent, Certificate $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Certificate::class);
}
/**
* Returns a Certificate. (certificates.get)
*
* @param string $name Required. The name of the Certificate to get.
* @param array $optParams Optional parameters.
* @return Certificate
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Certificate::class);
}
/**
* Lists Certificates. (certificates.listProjectsLocationsCaPoolsCertificates)
*
* @param string $parent Required. The resource name of the location associated
* with the Certificates, in the format `projects/locations/caPools`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Only include resources that match the
* filter in the response. For details on supported filters and syntax, see
* [Certificates Filtering documentation](https://cloud.google.com/certificate-
* authority-service/docs/sorting-filtering-certificates#filtering_support).
* @opt_param string orderBy Optional. Specify how the results should be sorted.
* For details on supported fields and syntax, see [Certificates Sorting
* documentation](https://cloud.google.com/certificate-authority-
* service/docs/sorting-filtering-certificates#sorting_support).
* @opt_param int pageSize Optional. Limit on the number of Certificates to
* include in the response. Further Certificates can subsequently be obtained by
* including the ListCertificatesResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
* @opt_param string pageToken Optional. Pagination token, returned earlier via
* ListCertificatesResponse.next_page_token.
* @return ListCertificatesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsCaPoolsCertificates($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCertificatesResponse::class);
}
/**
* Update a Certificate. Currently, the only field you can update is the labels
* field. (certificates.patch)
*
* @param string $name Identifier. The resource name for this Certificate in the
* format `projects/locations/caPools/certificates`.
* @param Certificate $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. A list of fields to be updated in this
* request.
* @return Certificate
* @throws \Google\Service\Exception
*/
public function patch($name, Certificate $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Certificate::class);
}
/**
* Revoke a Certificate. (certificates.revoke)
*
* @param string $name Required. The resource name for this Certificate in the
* format `projects/locations/caPools/certificates`.
* @param RevokeCertificateRequest $postBody
* @param array $optParams Optional parameters.
* @return Certificate
* @throws \Google\Service\Exception
*/
public function revoke($name, RevokeCertificateRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('revoke', [$params], Certificate::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsCaPoolsCertificates::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsCaPoolsCertificates');

View File

@@ -0,0 +1,246 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\CertificateTemplate;
use Google\Service\CertificateAuthorityService\ListCertificateTemplatesResponse;
use Google\Service\CertificateAuthorityService\Operation;
use Google\Service\CertificateAuthorityService\Policy;
use Google\Service\CertificateAuthorityService\SetIamPolicyRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsRequest;
use Google\Service\CertificateAuthorityService\TestIamPermissionsResponse;
/**
* The "certificateTemplates" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $certificateTemplates = $privatecaService->projects_locations_certificateTemplates;
* </code>
*/
class ProjectsLocationsCertificateTemplates extends \Google\Service\Resource
{
/**
* Create a new CertificateTemplate in a given Project and Location.
* (certificateTemplates.create)
*
* @param string $parent Required. The resource name of the location associated
* with the CertificateTemplate, in the format `projects/locations`.
* @param CertificateTemplate $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string certificateTemplateId Required. It must be unique within a
* location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, CertificateTemplate $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* DeleteCertificateTemplate deletes a CertificateTemplate.
* (certificateTemplates.delete)
*
* @param string $name Required. The resource name for this CertificateTemplate
* in the format `projects/locations/certificateTemplates`.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Returns a CertificateTemplate. (certificateTemplates.get)
*
* @param string $name Required. The name of the CertificateTemplate to get.
* @param array $optParams Optional parameters.
* @return CertificateTemplate
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CertificateTemplate::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (certificateTemplates.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists CertificateTemplates.
* (certificateTemplates.listProjectsLocationsCertificateTemplates)
*
* @param string $parent Required. The resource name of the location associated
* with the CertificateTemplates, in the format `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Only include resources that match the
* filter in the response.
* @opt_param string orderBy Optional. Specify how the results should be sorted.
* @opt_param int pageSize Optional. Limit on the number of CertificateTemplates
* to include in the response. Further CertificateTemplates can subsequently be
* obtained by including the ListCertificateTemplatesResponse.next_page_token in
* a subsequent request. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken Optional. Pagination token, returned earlier via
* ListCertificateTemplatesResponse.next_page_token.
* @return ListCertificateTemplatesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsCertificateTemplates($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCertificateTemplatesResponse::class);
}
/**
* Update a CertificateTemplate. (certificateTemplates.patch)
*
* @param string $name Identifier. The resource name for this
* CertificateTemplate in the format `projects/locations/certificateTemplates`.
* @param CertificateTemplate $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For example,
* consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if original operation with the same request ID was received, and if so,
* will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. A list of fields to be updated in this
* request.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, CertificateTemplate $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (certificateTemplates.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (certificateTemplates.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsCertificateTemplates::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsCertificateTemplates');

View File

@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\Policy;
/**
* The "managedPkis" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $managedPkis = $privatecaService->managedPkis;
* </code>
*/
class ProjectsLocationsManagedPkis extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (managedPkis.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedPkis::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsManagedPkis');

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\CertificateAuthorityService\Resource;
use Google\Service\CertificateAuthorityService\CancelOperationRequest;
use Google\Service\CertificateAuthorityService\ListOperationsResponse;
use Google\Service\CertificateAuthorityService\Operation;
use Google\Service\CertificateAuthorityService\PrivatecaEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $privatecaService = new Google\Service\CertificateAuthorityService(...);
* $operations = $privatecaService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return PrivatecaEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], PrivatecaEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return PrivatecaEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], PrivatecaEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CertificateAuthorityService_Resource_ProjectsLocationsOperations');

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\CertificateAuthorityService;
class RevocationDetails extends \Google\Model
{
/**
* @var string
*/
public $revocationState;
/**
* @var string
*/
public $revocationTime;
/**
* @param string
*/
public function setRevocationState($revocationState)
{
$this->revocationState = $revocationState;
}
/**
* @return string
*/
public function getRevocationState()
{
return $this->revocationState;
}
/**
* @param string
*/
public function setRevocationTime($revocationTime)
{
$this->revocationTime = $revocationTime;
}
/**
* @return string
*/
public function getRevocationTime()
{
return $this->revocationTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevocationDetails::class, 'Google_Service_CertificateAuthorityService_RevocationDetails');

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\CertificateAuthorityService;
class RevokeCertificateRequest extends \Google\Model
{
/**
* @var string
*/
public $reason;
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevokeCertificateRequest::class, 'Google_Service_CertificateAuthorityService_RevokeCertificateRequest');

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\CertificateAuthorityService;
class RevokedCertificate extends \Google\Model
{
/**
* @var string
*/
public $certificate;
/**
* @var string
*/
public $hexSerialNumber;
/**
* @var string
*/
public $revocationReason;
/**
* @param string
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* @param string
*/
public function setHexSerialNumber($hexSerialNumber)
{
$this->hexSerialNumber = $hexSerialNumber;
}
/**
* @return string
*/
public function getHexSerialNumber()
{
return $this->hexSerialNumber;
}
/**
* @param string
*/
public function setRevocationReason($revocationReason)
{
$this->revocationReason = $revocationReason;
}
/**
* @return string
*/
public function getRevocationReason()
{
return $this->revocationReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevokedCertificate::class, 'Google_Service_CertificateAuthorityService_RevokedCertificate');

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\CertificateAuthorityService;
class RsaKeyType extends \Google\Model
{
/**
* @var string
*/
public $maxModulusSize;
/**
* @var string
*/
public $minModulusSize;
/**
* @param string
*/
public function setMaxModulusSize($maxModulusSize)
{
$this->maxModulusSize = $maxModulusSize;
}
/**
* @return string
*/
public function getMaxModulusSize()
{
return $this->maxModulusSize;
}
/**
* @param string
*/
public function setMinModulusSize($minModulusSize)
{
$this->minModulusSize = $minModulusSize;
}
/**
* @return string
*/
public function getMinModulusSize()
{
return $this->minModulusSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RsaKeyType::class, 'Google_Service_CertificateAuthorityService_RsaKeyType');

View File

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

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\CertificateAuthorityService;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_CertificateAuthorityService_Status');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class Subject extends \Google\Model
{
/**
* @var string
*/
public $commonName;
/**
* @var string
*/
public $countryCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $organization;
/**
* @var string
*/
public $organizationalUnit;
/**
* @var string
*/
public $postalCode;
/**
* @var string
*/
public $province;
/**
* @var string
*/
public $streetAddress;
/**
* @param string
*/
public function setCommonName($commonName)
{
$this->commonName = $commonName;
}
/**
* @return string
*/
public function getCommonName()
{
return $this->commonName;
}
/**
* @param string
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setOrganization($organization)
{
$this->organization = $organization;
}
/**
* @return string
*/
public function getOrganization()
{
return $this->organization;
}
/**
* @param string
*/
public function setOrganizationalUnit($organizationalUnit)
{
$this->organizationalUnit = $organizationalUnit;
}
/**
* @return string
*/
public function getOrganizationalUnit()
{
return $this->organizationalUnit;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string
*/
public function setProvince($province)
{
$this->province = $province;
}
/**
* @return string
*/
public function getProvince()
{
return $this->province;
}
/**
* @param string
*/
public function setStreetAddress($streetAddress)
{
$this->streetAddress = $streetAddress;
}
/**
* @return string
*/
public function getStreetAddress()
{
return $this->streetAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Subject::class, 'Google_Service_CertificateAuthorityService_Subject');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class SubjectAltNames extends \Google\Collection
{
protected $collection_key = 'uris';
protected $customSansType = X509Extension::class;
protected $customSansDataType = 'array';
/**
* @var string[]
*/
public $dnsNames;
/**
* @var string[]
*/
public $emailAddresses;
/**
* @var string[]
*/
public $ipAddresses;
/**
* @var string[]
*/
public $uris;
/**
* @param X509Extension[]
*/
public function setCustomSans($customSans)
{
$this->customSans = $customSans;
}
/**
* @return X509Extension[]
*/
public function getCustomSans()
{
return $this->customSans;
}
/**
* @param string[]
*/
public function setDnsNames($dnsNames)
{
$this->dnsNames = $dnsNames;
}
/**
* @return string[]
*/
public function getDnsNames()
{
return $this->dnsNames;
}
/**
* @param string[]
*/
public function setEmailAddresses($emailAddresses)
{
$this->emailAddresses = $emailAddresses;
}
/**
* @return string[]
*/
public function getEmailAddresses()
{
return $this->emailAddresses;
}
/**
* @param string[]
*/
public function setIpAddresses($ipAddresses)
{
$this->ipAddresses = $ipAddresses;
}
/**
* @return string[]
*/
public function getIpAddresses()
{
return $this->ipAddresses;
}
/**
* @param string[]
*/
public function setUris($uris)
{
$this->uris = $uris;
}
/**
* @return string[]
*/
public function getUris()
{
return $this->uris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubjectAltNames::class, 'Google_Service_CertificateAuthorityService_SubjectAltNames');

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\CertificateAuthorityService;
class SubjectConfig extends \Google\Model
{
protected $subjectType = Subject::class;
protected $subjectDataType = '';
protected $subjectAltNameType = SubjectAltNames::class;
protected $subjectAltNameDataType = '';
/**
* @param Subject
*/
public function setSubject(Subject $subject)
{
$this->subject = $subject;
}
/**
* @return Subject
*/
public function getSubject()
{
return $this->subject;
}
/**
* @param SubjectAltNames
*/
public function setSubjectAltName(SubjectAltNames $subjectAltName)
{
$this->subjectAltName = $subjectAltName;
}
/**
* @return SubjectAltNames
*/
public function getSubjectAltName()
{
return $this->subjectAltName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubjectConfig::class, 'Google_Service_CertificateAuthorityService_SubjectConfig');

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class SubjectDescription extends \Google\Model
{
/**
* @var string
*/
public $hexSerialNumber;
/**
* @var string
*/
public $lifetime;
/**
* @var string
*/
public $notAfterTime;
/**
* @var string
*/
public $notBeforeTime;
protected $subjectType = Subject::class;
protected $subjectDataType = '';
protected $subjectAltNameType = SubjectAltNames::class;
protected $subjectAltNameDataType = '';
/**
* @param string
*/
public function setHexSerialNumber($hexSerialNumber)
{
$this->hexSerialNumber = $hexSerialNumber;
}
/**
* @return string
*/
public function getHexSerialNumber()
{
return $this->hexSerialNumber;
}
/**
* @param string
*/
public function setLifetime($lifetime)
{
$this->lifetime = $lifetime;
}
/**
* @return string
*/
public function getLifetime()
{
return $this->lifetime;
}
/**
* @param string
*/
public function setNotAfterTime($notAfterTime)
{
$this->notAfterTime = $notAfterTime;
}
/**
* @return string
*/
public function getNotAfterTime()
{
return $this->notAfterTime;
}
/**
* @param string
*/
public function setNotBeforeTime($notBeforeTime)
{
$this->notBeforeTime = $notBeforeTime;
}
/**
* @return string
*/
public function getNotBeforeTime()
{
return $this->notBeforeTime;
}
/**
* @param Subject
*/
public function setSubject(Subject $subject)
{
$this->subject = $subject;
}
/**
* @return Subject
*/
public function getSubject()
{
return $this->subject;
}
/**
* @param SubjectAltNames
*/
public function setSubjectAltName(SubjectAltNames $subjectAltName)
{
$this->subjectAltName = $subjectAltName;
}
/**
* @return SubjectAltNames
*/
public function getSubjectAltName()
{
return $this->subjectAltName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubjectDescription::class, 'Google_Service_CertificateAuthorityService_SubjectDescription');

View File

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

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

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

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

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\CertificateAuthorityService;
class UndeleteCertificateAuthorityRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteCertificateAuthorityRequest::class, 'Google_Service_CertificateAuthorityService_UndeleteCertificateAuthorityRequest');

View File

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

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CertificateAuthorityService;
class X509Parameters extends \Google\Collection
{
protected $collection_key = 'policyIds';
protected $additionalExtensionsType = X509Extension::class;
protected $additionalExtensionsDataType = 'array';
/**
* @var string[]
*/
public $aiaOcspServers;
protected $caOptionsType = CaOptions::class;
protected $caOptionsDataType = '';
protected $keyUsageType = KeyUsage::class;
protected $keyUsageDataType = '';
protected $nameConstraintsType = NameConstraints::class;
protected $nameConstraintsDataType = '';
protected $policyIdsType = ObjectId::class;
protected $policyIdsDataType = 'array';
/**
* @param X509Extension[]
*/
public function setAdditionalExtensions($additionalExtensions)
{
$this->additionalExtensions = $additionalExtensions;
}
/**
* @return X509Extension[]
*/
public function getAdditionalExtensions()
{
return $this->additionalExtensions;
}
/**
* @param string[]
*/
public function setAiaOcspServers($aiaOcspServers)
{
$this->aiaOcspServers = $aiaOcspServers;
}
/**
* @return string[]
*/
public function getAiaOcspServers()
{
return $this->aiaOcspServers;
}
/**
* @param CaOptions
*/
public function setCaOptions(CaOptions $caOptions)
{
$this->caOptions = $caOptions;
}
/**
* @return CaOptions
*/
public function getCaOptions()
{
return $this->caOptions;
}
/**
* @param KeyUsage
*/
public function setKeyUsage(KeyUsage $keyUsage)
{
$this->keyUsage = $keyUsage;
}
/**
* @return KeyUsage
*/
public function getKeyUsage()
{
return $this->keyUsage;
}
/**
* @param NameConstraints
*/
public function setNameConstraints(NameConstraints $nameConstraints)
{
$this->nameConstraints = $nameConstraints;
}
/**
* @return NameConstraints
*/
public function getNameConstraints()
{
return $this->nameConstraints;
}
/**
* @param ObjectId[]
*/
public function setPolicyIds($policyIds)
{
$this->policyIds = $policyIds;
}
/**
* @return ObjectId[]
*/
public function getPolicyIds()
{
return $this->policyIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(X509Parameters::class, 'Google_Service_CertificateAuthorityService_X509Parameters');