JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "DnsAutomationStatus.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/Networkconnectivity/DnsAutomationStatus.php
File size: 2.72 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Networkconnectivity;
class DnsAutomationStatus extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* DNS record creation is pending.
*/
public const STATE_PENDING_CREATE = 'PENDING_CREATE';
/**
* DNS record is active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* DNS record deletion is pending.
*/
public const STATE_PENDING_DELETE = 'PENDING_DELETE';
/**
* DNS record creation failed.
*/
public const STATE_CREATE_FAILED = 'CREATE_FAILED';
/**
* DNS record deletion failed.
*/
public const STATE_DELETE_FAILED = 'DELETE_FAILED';
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* Output only. The fully qualified domain name of the DNS record.
*
* @var string
*/
public $fqdn;
/**
* Output only. The current state of DNS automation.
*
* @var string
*/
public $state;
/**
* Output only. The error details if the state is CREATE_FAILED or
* DELETE_FAILED.
*
* @param GoogleRpcStatus $error
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* Output only. The fully qualified domain name of the DNS record.
*
* @param string $fqdn
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* Output only. The current state of DNS automation.
*
* Accepted values: STATE_UNSPECIFIED, PENDING_CREATE, ACTIVE, PENDING_DELETE,
* CREATE_FAILED, DELETE_FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsAutomationStatus::class, 'Google_Service_Networkconnectivity_DnsAutomationStatus');