📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CertificateManager
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AllowlistedCertificate.php
▶ Open 📄 View Source
🐘 AuthorizationAttemptInfo.php
▶ Open 📄 View Source
🐘 CNAME.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Certificate.php
▶ Open 📄 View Source
🐘 CertificateAuthorityConfig.php
▶ Open 📄 View Source
🐘 CertificateAuthorityServiceConfig.php
▶ Open 📄 View Source
🐘 CertificateIssuanceConfig.php
▶ Open 📄 View Source
🐘 CertificateMap.php
▶ Open 📄 View Source
🐘 CertificateMapEntry.php
▶ Open 📄 View Source
🐘 CertificatemanagerEmpty.php
▶ Open 📄 View Source
🐘 DnsAuthorization.php
▶ Open 📄 View Source
🐘 DnsResourceRecord.php
▶ Open 📄 View Source
🐘 GclbTarget.php
▶ Open 📄 View Source
🐘 IPs.php
▶ Open 📄 View Source
🐘 IntermediateCA.php
▶ Open 📄 View Source
🐘 IpConfig.php
▶ Open 📄 View Source
🐘 ListCertificateIssuanceConfigsResponse.php
▶ Open 📄 View Source
🐘 ListCertificateMapEntriesResponse.php
▶ Open 📄 View Source
🐘 ListCertificateMapsResponse.php
▶ Open 📄 View Source
🐘 ListCertificatesResponse.php
▶ Open 📄 View Source
🐘 ListDnsAuthorizationsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListTrustConfigsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 ManagedCertificate.php
▶ Open 📄 View Source
🐘 ManagedIdentityCertificate.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 ProvisioningIssue.php
▶ Open 📄 View Source
🐘 ResourcesCount.php
▶ Open 📄 View Source
🐘 SelfManagedCertificate.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Troubleshooting.php
▶ Open 📄 View Source
🐘 TrustAnchor.php
▶ Open 📄 View Source
🐘 TrustConfig.php
▶ Open 📄 View Source
🐘 TrustStore.php
▶ Open 📄 View Source
🐘 UsedBy.php
▶ Open 📄 View Source

📄 Source: DnsAuthorization.php

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

namespace Google\Service\CertificateManager;

class DnsAuthorization extends \Google\Model
{
  /**
   * Type is unspecified.
   */
  public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  /**
   * FIXED_RECORD DNS authorization uses DNS-01 validation method.
   */
  public const TYPE_FIXED_RECORD = 'FIXED_RECORD';
  /**
   * PER_PROJECT_RECORD DNS authorization allows for independent management of
   * Google-managed certificates with DNS authorization across multiple
   * projects.
   */
  public const TYPE_PER_PROJECT_RECORD = 'PER_PROJECT_RECORD';
  /**
   * Output only. The creation timestamp of a DnsAuthorization.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. One or more paragraphs of text description of a DnsAuthorization.
   *
   * @var string
   */
  public $description;
  protected $dnsResourceRecordType = DnsResourceRecord::class;
  protected $dnsResourceRecordDataType = '';
  /**
   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
   * resource covers a single domain and its wildcard, e.g. authorization for
   * `example.com` can be used to issue certificates for `example.com` and
   * `*.example.com`.
   *
   * @var string
   */
  public $domain;
  /**
   * Optional. Set of labels associated with a DnsAuthorization.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Identifier. A user-defined name of the dns authorization. DnsAuthorization
   * names must be unique globally and match pattern
   * `projects/locations/dnsAuthorizations`.
   *
   * @var string
   */
  public $name;
  /**
   * Optional. Immutable. Type of DnsAuthorization. If unset during resource
   * creation the following default will be used: - in location `global`:
   * FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
   *
   * @var string
   */
  public $type;
  /**
   * Output only. The last update timestamp of a DnsAuthorization.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Output only. The creation timestamp of a DnsAuthorization.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. One or more paragraphs of text description of a DnsAuthorization.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Output only. DNS Resource Record that needs to be added to DNS
   * configuration.
   *
   * @param DnsResourceRecord $dnsResourceRecord
   */
  public function setDnsResourceRecord(DnsResourceRecord $dnsResourceRecord)
  {
    $this->dnsResourceRecord = $dnsResourceRecord;
  }
  /**
   * @return DnsResourceRecord
   */
  public function getDnsResourceRecord()
  {
    return $this->dnsResourceRecord;
  }
  /**
   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
   * resource covers a single domain and its wildcard, e.g. authorization for
   * `example.com` can be used to issue certificates for `example.com` and
   * `*.example.com`.
   *
   * @param string $domain
   */
  public function setDomain($domain)
  {
    $this->domain = $domain;
  }
  /**
   * @return string
   */
  public function getDomain()
  {
    return $this->domain;
  }
  /**
   * Optional. Set of labels associated with a DnsAuthorization.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Identifier. A user-defined name of the dns authorization. DnsAuthorization
   * names must be unique globally and match pattern
   * `projects/locations/dnsAuthorizations`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. Immutable. Type of DnsAuthorization. If unset during resource
   * creation the following default will be used: - in location `global`:
   * FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
   *
   * Accepted values: TYPE_UNSPECIFIED, FIXED_RECORD, PER_PROJECT_RECORD
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Output only. The last update timestamp of a DnsAuthorization.
   *
   * @param string $updateTime
   */
  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(DnsAuthorization::class, 'Google_Service_CertificateManager_DnsAuthorization');
← Back