Initial commit

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

View File

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

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\CloudDomains;
class AuthorizationCode extends \Google\Model
{
/**
* @var string
*/
public $code;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizationCode::class, 'Google_Service_CloudDomains_AuthorizationCode');

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\CloudDomains;
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_CloudDomains_Binding');

View File

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

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\CloudDomains;
class ConfigureDnsSettingsRequest extends \Google\Model
{
protected $dnsSettingsType = DnsSettings::class;
protected $dnsSettingsDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @var bool
*/
public $validateOnly;
/**
* @param DnsSettings
*/
public function setDnsSettings(DnsSettings $dnsSettings)
{
$this->dnsSettings = $dnsSettings;
}
/**
* @return DnsSettings
*/
public function getDnsSettings()
{
return $this->dnsSettings;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigureDnsSettingsRequest::class, 'Google_Service_CloudDomains_ConfigureDnsSettingsRequest');

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\CloudDomains;
class ConfigureManagementSettingsRequest extends \Google\Model
{
protected $managementSettingsType = ManagementSettings::class;
protected $managementSettingsDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param ManagementSettings
*/
public function setManagementSettings(ManagementSettings $managementSettings)
{
$this->managementSettings = $managementSettings;
}
/**
* @return ManagementSettings
*/
public function getManagementSettings()
{
return $this->managementSettings;
}
/**
* @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(ConfigureManagementSettingsRequest::class, 'Google_Service_CloudDomains_ConfigureManagementSettingsRequest');

View File

@@ -0,0 +1,96 @@
<?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\CloudDomains;
class Contact extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $faxNumber;
/**
* @var string
*/
public $phoneNumber;
protected $postalAddressType = PostalAddress::class;
protected $postalAddressDataType = '';
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setFaxNumber($faxNumber)
{
$this->faxNumber = $faxNumber;
}
/**
* @return string
*/
public function getFaxNumber()
{
return $this->faxNumber;
}
/**
* @param string
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* @param PostalAddress
*/
public function setPostalAddress(PostalAddress $postalAddress)
{
$this->postalAddress = $postalAddress;
}
/**
* @return PostalAddress
*/
public function getPostalAddress()
{
return $this->postalAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Contact::class, 'Google_Service_CloudDomains_Contact');

View File

@@ -0,0 +1,92 @@
<?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\CloudDomains;
class ContactSettings extends \Google\Model
{
protected $adminContactType = Contact::class;
protected $adminContactDataType = '';
/**
* @var string
*/
public $privacy;
protected $registrantContactType = Contact::class;
protected $registrantContactDataType = '';
protected $technicalContactType = Contact::class;
protected $technicalContactDataType = '';
/**
* @param Contact
*/
public function setAdminContact(Contact $adminContact)
{
$this->adminContact = $adminContact;
}
/**
* @return Contact
*/
public function getAdminContact()
{
return $this->adminContact;
}
/**
* @param string
*/
public function setPrivacy($privacy)
{
$this->privacy = $privacy;
}
/**
* @return string
*/
public function getPrivacy()
{
return $this->privacy;
}
/**
* @param Contact
*/
public function setRegistrantContact(Contact $registrantContact)
{
$this->registrantContact = $registrantContact;
}
/**
* @return Contact
*/
public function getRegistrantContact()
{
return $this->registrantContact;
}
/**
* @param Contact
*/
public function setTechnicalContact(Contact $technicalContact)
{
$this->technicalContact = $technicalContact;
}
/**
* @return Contact
*/
public function getTechnicalContact()
{
return $this->technicalContact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContactSettings::class, 'Google_Service_CloudDomains_ContactSettings');

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\CloudDomains;
class CustomDns extends \Google\Collection
{
protected $collection_key = 'nameServers';
protected $dsRecordsType = DsRecord::class;
protected $dsRecordsDataType = 'array';
/**
* @var string[]
*/
public $nameServers;
/**
* @param DsRecord[]
*/
public function setDsRecords($dsRecords)
{
$this->dsRecords = $dsRecords;
}
/**
* @return DsRecord[]
*/
public function getDsRecords()
{
return $this->dsRecords;
}
/**
* @param string[]
*/
public function setNameServers($nameServers)
{
$this->nameServers = $nameServers;
}
/**
* @return string[]
*/
public function getNameServers()
{
return $this->nameServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomDns::class, 'Google_Service_CloudDomains_CustomDns');

View File

@@ -0,0 +1,93 @@
<?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\CloudDomains;
class DnsSettings extends \Google\Collection
{
protected $collection_key = 'glueRecords';
protected $customDnsType = CustomDns::class;
protected $customDnsDataType = '';
protected $glueRecordsType = GlueRecord::class;
protected $glueRecordsDataType = 'array';
protected $googleDomainsDnsType = GoogleDomainsDns::class;
protected $googleDomainsDnsDataType = '';
/**
* @var bool
*/
public $googleDomainsRedirectsDataAvailable;
/**
* @param CustomDns
*/
public function setCustomDns(CustomDns $customDns)
{
$this->customDns = $customDns;
}
/**
* @return CustomDns
*/
public function getCustomDns()
{
return $this->customDns;
}
/**
* @param GlueRecord[]
*/
public function setGlueRecords($glueRecords)
{
$this->glueRecords = $glueRecords;
}
/**
* @return GlueRecord[]
*/
public function getGlueRecords()
{
return $this->glueRecords;
}
/**
* @param GoogleDomainsDns
*/
public function setGoogleDomainsDns(GoogleDomainsDns $googleDomainsDns)
{
$this->googleDomainsDns = $googleDomainsDns;
}
/**
* @return GoogleDomainsDns
*/
public function getGoogleDomainsDns()
{
return $this->googleDomainsDns;
}
/**
* @param bool
*/
public function setGoogleDomainsRedirectsDataAvailable($googleDomainsRedirectsDataAvailable)
{
$this->googleDomainsRedirectsDataAvailable = $googleDomainsRedirectsDataAvailable;
}
/**
* @return bool
*/
public function getGoogleDomainsRedirectsDataAvailable()
{
return $this->googleDomainsRedirectsDataAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsSettings::class, 'Google_Service_CloudDomains_DnsSettings');

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\CloudDomains;
class Domain extends \Google\Model
{
/**
* @var string
*/
public $domainName;
/**
* @var string
*/
public $resourceState;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string
*/
public function setResourceState($resourceState)
{
$this->resourceState = $resourceState;
}
/**
* @return string
*/
public function getResourceState()
{
return $this->resourceState;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domain::class, 'Google_Service_CloudDomains_Domain');

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\CloudDomains;
class DomainForwarding extends \Google\Model
{
/**
* @var bool
*/
public $pathForwarding;
/**
* @var string
*/
public $pemCertificate;
/**
* @var string
*/
public $redirectType;
/**
* @var bool
*/
public $sslEnabled;
/**
* @var string
*/
public $subdomain;
/**
* @var string
*/
public $targetUri;
/**
* @param bool
*/
public function setPathForwarding($pathForwarding)
{
$this->pathForwarding = $pathForwarding;
}
/**
* @return bool
*/
public function getPathForwarding()
{
return $this->pathForwarding;
}
/**
* @param string
*/
public function setPemCertificate($pemCertificate)
{
$this->pemCertificate = $pemCertificate;
}
/**
* @return string
*/
public function getPemCertificate()
{
return $this->pemCertificate;
}
/**
* @param string
*/
public function setRedirectType($redirectType)
{
$this->redirectType = $redirectType;
}
/**
* @return string
*/
public function getRedirectType()
{
return $this->redirectType;
}
/**
* @param bool
*/
public function setSslEnabled($sslEnabled)
{
$this->sslEnabled = $sslEnabled;
}
/**
* @return bool
*/
public function getSslEnabled()
{
return $this->sslEnabled;
}
/**
* @param string
*/
public function setSubdomain($subdomain)
{
$this->subdomain = $subdomain;
}
/**
* @return string
*/
public function getSubdomain()
{
return $this->subdomain;
}
/**
* @param string
*/
public function setTargetUri($targetUri)
{
$this->targetUri = $targetUri;
}
/**
* @return string
*/
public function getTargetUri()
{
return $this->targetUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainForwarding::class, 'Google_Service_CloudDomains_DomainForwarding');

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\CloudDomains;
class DsRecord extends \Google\Model
{
/**
* @var string
*/
public $algorithm;
/**
* @var string
*/
public $digest;
/**
* @var string
*/
public $digestType;
/**
* @var int
*/
public $keyTag;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param string
*/
public function setDigest($digest)
{
$this->digest = $digest;
}
/**
* @return string
*/
public function getDigest()
{
return $this->digest;
}
/**
* @param string
*/
public function setDigestType($digestType)
{
$this->digestType = $digestType;
}
/**
* @return string
*/
public function getDigestType()
{
return $this->digestType;
}
/**
* @param int
*/
public function setKeyTag($keyTag)
{
$this->keyTag = $keyTag;
}
/**
* @return int
*/
public function getKeyTag()
{
return $this->keyTag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DsRecord::class, 'Google_Service_CloudDomains_DsRecord');

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\CloudDomains;
class EmailForwarding extends \Google\Model
{
/**
* @var string
*/
public $alias;
/**
* @var string
*/
public $targetEmailAddress;
/**
* @param string
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* @param string
*/
public function setTargetEmailAddress($targetEmailAddress)
{
$this->targetEmailAddress = $targetEmailAddress;
}
/**
* @return string
*/
public function getTargetEmailAddress()
{
return $this->targetEmailAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EmailForwarding::class, 'Google_Service_CloudDomains_EmailForwarding');

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

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\CloudDomains;
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_CloudDomains_Expr');

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\CloudDomains;
class GeoPolicy extends \Google\Collection
{
protected $collection_key = 'item';
/**
* @var bool
*/
public $enableFencing;
protected $itemType = GeoPolicyItem::class;
protected $itemDataType = 'array';
/**
* @param bool
*/
public function setEnableFencing($enableFencing)
{
$this->enableFencing = $enableFencing;
}
/**
* @return bool
*/
public function getEnableFencing()
{
return $this->enableFencing;
}
/**
* @param GeoPolicyItem[]
*/
public function setItem($item)
{
$this->item = $item;
}
/**
* @return GeoPolicyItem[]
*/
public function getItem()
{
return $this->item;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeoPolicy::class, 'Google_Service_CloudDomains_GeoPolicy');

View File

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

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\CloudDomains;
class GlueRecord extends \Google\Collection
{
protected $collection_key = 'ipv6Addresses';
/**
* @var string
*/
public $hostName;
/**
* @var string[]
*/
public $ipv4Addresses;
/**
* @var string[]
*/
public $ipv6Addresses;
/**
* @param string
*/
public function setHostName($hostName)
{
$this->hostName = $hostName;
}
/**
* @return string
*/
public function getHostName()
{
return $this->hostName;
}
/**
* @param string[]
*/
public function setIpv4Addresses($ipv4Addresses)
{
$this->ipv4Addresses = $ipv4Addresses;
}
/**
* @return string[]
*/
public function getIpv4Addresses()
{
return $this->ipv4Addresses;
}
/**
* @param string[]
*/
public function setIpv6Addresses($ipv6Addresses)
{
$this->ipv6Addresses = $ipv6Addresses;
}
/**
* @return string[]
*/
public function getIpv6Addresses()
{
return $this->ipv6Addresses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GlueRecord::class, 'Google_Service_CloudDomains_GlueRecord');

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\CloudDomains;
class GoogleDomainsDns extends \Google\Collection
{
protected $collection_key = 'nameServers';
protected $dsRecordsType = DsRecord::class;
protected $dsRecordsDataType = 'array';
/**
* @var string
*/
public $dsState;
/**
* @var string[]
*/
public $nameServers;
/**
* @param DsRecord[]
*/
public function setDsRecords($dsRecords)
{
$this->dsRecords = $dsRecords;
}
/**
* @return DsRecord[]
*/
public function getDsRecords()
{
return $this->dsRecords;
}
/**
* @param string
*/
public function setDsState($dsState)
{
$this->dsState = $dsState;
}
/**
* @return string
*/
public function getDsState()
{
return $this->dsState;
}
/**
* @param string[]
*/
public function setNameServers($nameServers)
{
$this->nameServers = $nameServers;
}
/**
* @return string[]
*/
public function getNameServers()
{
return $this->nameServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDomainsDns::class, 'Google_Service_CloudDomains_GoogleDomainsDns');

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\CloudDomains;
class HealthCheckTargets extends \Google\Collection
{
protected $collection_key = 'internalLoadBalancer';
/**
* @var string[]
*/
public $externalEndpoints;
protected $internalLoadBalancerType = LoadBalancerTarget::class;
protected $internalLoadBalancerDataType = 'array';
/**
* @param string[]
*/
public function setExternalEndpoints($externalEndpoints)
{
$this->externalEndpoints = $externalEndpoints;
}
/**
* @return string[]
*/
public function getExternalEndpoints()
{
return $this->externalEndpoints;
}
/**
* @param LoadBalancerTarget[]
*/
public function setInternalLoadBalancer($internalLoadBalancer)
{
$this->internalLoadBalancer = $internalLoadBalancer;
}
/**
* @return LoadBalancerTarget[]
*/
public function getInternalLoadBalancer()
{
return $this->internalLoadBalancer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HealthCheckTargets::class, 'Google_Service_CloudDomains_HealthCheckTargets');

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

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

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\CloudDomains;
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_CloudDomains_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\CloudDomains;
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_CloudDomains_ListOperationsResponse');

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\CloudDomains;
class ListRegistrationsResponse extends \Google\Collection
{
protected $collection_key = 'registrations';
/**
* @var string
*/
public $nextPageToken;
protected $registrationsType = Registration::class;
protected $registrationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Registration[]
*/
public function setRegistrations($registrations)
{
$this->registrations = $registrations;
}
/**
* @return Registration[]
*/
public function getRegistrations()
{
return $this->registrations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRegistrationsResponse::class, 'Google_Service_CloudDomains_ListRegistrationsResponse');

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\CloudDomains;
class LoadBalancerTarget extends \Google\Model
{
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $ipProtocol;
/**
* @var string
*/
public $loadBalancerType;
/**
* @var string
*/
public $networkUrl;
/**
* @var string
*/
public $port;
/**
* @var string
*/
public $project;
/**
* @var string
*/
public $region;
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setIpProtocol($ipProtocol)
{
$this->ipProtocol = $ipProtocol;
}
/**
* @return string
*/
public function getIpProtocol()
{
return $this->ipProtocol;
}
/**
* @param string
*/
public function setLoadBalancerType($loadBalancerType)
{
$this->loadBalancerType = $loadBalancerType;
}
/**
* @return string
*/
public function getLoadBalancerType()
{
return $this->loadBalancerType;
}
/**
* @param string
*/
public function setNetworkUrl($networkUrl)
{
$this->networkUrl = $networkUrl;
}
/**
* @return string
*/
public function getNetworkUrl()
{
return $this->networkUrl;
}
/**
* @param string
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return string
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadBalancerTarget::class, 'Google_Service_CloudDomains_LoadBalancerTarget');

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\CloudDomains;
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_CloudDomains_Location');

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\CloudDomains;
class ManagementSettings extends \Google\Model
{
/**
* @var string
*/
public $effectiveTransferLockState;
/**
* @var string
*/
public $preferredRenewalMethod;
/**
* @var string
*/
public $renewalMethod;
/**
* @var string
*/
public $transferLockState;
/**
* @param string
*/
public function setEffectiveTransferLockState($effectiveTransferLockState)
{
$this->effectiveTransferLockState = $effectiveTransferLockState;
}
/**
* @return string
*/
public function getEffectiveTransferLockState()
{
return $this->effectiveTransferLockState;
}
/**
* @param string
*/
public function setPreferredRenewalMethod($preferredRenewalMethod)
{
$this->preferredRenewalMethod = $preferredRenewalMethod;
}
/**
* @return string
*/
public function getPreferredRenewalMethod()
{
return $this->preferredRenewalMethod;
}
/**
* @param string
*/
public function setRenewalMethod($renewalMethod)
{
$this->renewalMethod = $renewalMethod;
}
/**
* @return string
*/
public function getRenewalMethod()
{
return $this->renewalMethod;
}
/**
* @param string
*/
public function setTransferLockState($transferLockState)
{
$this->transferLockState = $transferLockState;
}
/**
* @return string
*/
public function getTransferLockState()
{
return $this->transferLockState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementSettings::class, 'Google_Service_CloudDomains_ManagementSettings');

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\CloudDomains;
class Money extends \Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var int
*/
public $nanos;
/**
* @var string
*/
public $units;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param string
*/
public function setUnits($units)
{
$this->units = $units;
}
/**
* @return string
*/
public function getUnits()
{
return $this->units;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Money::class, 'Google_Service_CloudDomains_Money');

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\CloudDomains;
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_CloudDomains_Operation');

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\CloudDomains;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $statusDetail;
/**
* @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 string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @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_CloudDomains_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\CloudDomains;
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_CloudDomains_Policy');

View File

@@ -0,0 +1,225 @@
<?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\CloudDomains;
class PostalAddress extends \Google\Collection
{
protected $collection_key = 'recipients';
/**
* @var string[]
*/
public $addressLines;
/**
* @var string
*/
public $administrativeArea;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $organization;
/**
* @var string
*/
public $postalCode;
/**
* @var string[]
*/
public $recipients;
/**
* @var string
*/
public $regionCode;
/**
* @var int
*/
public $revision;
/**
* @var string
*/
public $sortingCode;
/**
* @var string
*/
public $sublocality;
/**
* @param string[]
*/
public function setAddressLines($addressLines)
{
$this->addressLines = $addressLines;
}
/**
* @return string[]
*/
public function getAddressLines()
{
return $this->addressLines;
}
/**
* @param string
*/
public function setAdministrativeArea($administrativeArea)
{
$this->administrativeArea = $administrativeArea;
}
/**
* @return string
*/
public function getAdministrativeArea()
{
return $this->administrativeArea;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @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 setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string[]
*/
public function setRecipients($recipients)
{
$this->recipients = $recipients;
}
/**
* @return string[]
*/
public function getRecipients()
{
return $this->recipients;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param int
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return int
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setSortingCode($sortingCode)
{
$this->sortingCode = $sortingCode;
}
/**
* @return string
*/
public function getSortingCode()
{
return $this->sortingCode;
}
/**
* @param string
*/
public function setSublocality($sublocality)
{
$this->sublocality = $sublocality;
}
/**
* @return string
*/
public function getSublocality()
{
return $this->sublocality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostalAddress::class, 'Google_Service_CloudDomains_PostalAddress');

View File

@@ -0,0 +1,67 @@
<?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\CloudDomains;
class PrimaryBackupPolicy extends \Google\Model
{
protected $backupGeoTargetsType = GeoPolicy::class;
protected $backupGeoTargetsDataType = '';
protected $primaryTargetsType = HealthCheckTargets::class;
protected $primaryTargetsDataType = '';
public $trickleTraffic;
/**
* @param GeoPolicy
*/
public function setBackupGeoTargets(GeoPolicy $backupGeoTargets)
{
$this->backupGeoTargets = $backupGeoTargets;
}
/**
* @return GeoPolicy
*/
public function getBackupGeoTargets()
{
return $this->backupGeoTargets;
}
/**
* @param HealthCheckTargets
*/
public function setPrimaryTargets(HealthCheckTargets $primaryTargets)
{
$this->primaryTargets = $primaryTargets;
}
/**
* @return HealthCheckTargets
*/
public function getPrimaryTargets()
{
return $this->primaryTargets;
}
public function setTrickleTraffic($trickleTraffic)
{
$this->trickleTraffic = $trickleTraffic;
}
public function getTrickleTraffic()
{
return $this->trickleTraffic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrimaryBackupPolicy::class, 'Google_Service_CloudDomains_PrimaryBackupPolicy');

View File

@@ -0,0 +1,124 @@
<?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\CloudDomains;
class RRSetRoutingPolicy extends \Google\Model
{
protected $geoType = GeoPolicy::class;
protected $geoDataType = '';
protected $geoPolicyType = GeoPolicy::class;
protected $geoPolicyDataType = '';
/**
* @var string
*/
public $healthCheck;
protected $primaryBackupType = PrimaryBackupPolicy::class;
protected $primaryBackupDataType = '';
protected $wrrType = WrrPolicy::class;
protected $wrrDataType = '';
protected $wrrPolicyType = WrrPolicy::class;
protected $wrrPolicyDataType = '';
/**
* @param GeoPolicy
*/
public function setGeo(GeoPolicy $geo)
{
$this->geo = $geo;
}
/**
* @return GeoPolicy
*/
public function getGeo()
{
return $this->geo;
}
/**
* @param GeoPolicy
*/
public function setGeoPolicy(GeoPolicy $geoPolicy)
{
$this->geoPolicy = $geoPolicy;
}
/**
* @return GeoPolicy
*/
public function getGeoPolicy()
{
return $this->geoPolicy;
}
/**
* @param string
*/
public function setHealthCheck($healthCheck)
{
$this->healthCheck = $healthCheck;
}
/**
* @return string
*/
public function getHealthCheck()
{
return $this->healthCheck;
}
/**
* @param PrimaryBackupPolicy
*/
public function setPrimaryBackup(PrimaryBackupPolicy $primaryBackup)
{
$this->primaryBackup = $primaryBackup;
}
/**
* @return PrimaryBackupPolicy
*/
public function getPrimaryBackup()
{
return $this->primaryBackup;
}
/**
* @param WrrPolicy
*/
public function setWrr(WrrPolicy $wrr)
{
$this->wrr = $wrr;
}
/**
* @return WrrPolicy
*/
public function getWrr()
{
return $this->wrr;
}
/**
* @param WrrPolicy
*/
public function setWrrPolicy(WrrPolicy $wrrPolicy)
{
$this->wrrPolicy = $wrrPolicy;
}
/**
* @return WrrPolicy
*/
public function getWrrPolicy()
{
return $this->wrrPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicy::class, 'Google_Service_CloudDomains_RRSetRoutingPolicy');

View File

@@ -0,0 +1,113 @@
<?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\CloudDomains;
class RegisterDomainRequest extends \Google\Collection
{
protected $collection_key = 'domainNotices';
/**
* @var string[]
*/
public $contactNotices;
/**
* @var string[]
*/
public $domainNotices;
protected $registrationType = Registration::class;
protected $registrationDataType = '';
/**
* @var bool
*/
public $validateOnly;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param string[]
*/
public function setContactNotices($contactNotices)
{
$this->contactNotices = $contactNotices;
}
/**
* @return string[]
*/
public function getContactNotices()
{
return $this->contactNotices;
}
/**
* @param string[]
*/
public function setDomainNotices($domainNotices)
{
$this->domainNotices = $domainNotices;
}
/**
* @return string[]
*/
public function getDomainNotices()
{
return $this->domainNotices;
}
/**
* @param Registration
*/
public function setRegistration(Registration $registration)
{
$this->registration = $registration;
}
/**
* @return Registration
*/
public function getRegistration()
{
return $this->registration;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegisterDomainRequest::class, 'Google_Service_CloudDomains_RegisterDomainRequest');

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\CloudDomains;
class RegisterParameters extends \Google\Collection
{
protected $collection_key = 'supportedPrivacy';
/**
* @var string
*/
public $availability;
/**
* @var string
*/
public $domainName;
/**
* @var string[]
*/
public $domainNotices;
/**
* @var string[]
*/
public $supportedPrivacy;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param string
*/
public function setAvailability($availability)
{
$this->availability = $availability;
}
/**
* @return string
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string[]
*/
public function setDomainNotices($domainNotices)
{
$this->domainNotices = $domainNotices;
}
/**
* @return string[]
*/
public function getDomainNotices()
{
return $this->domainNotices;
}
/**
* @param string[]
*/
public function setSupportedPrivacy($supportedPrivacy)
{
$this->supportedPrivacy = $supportedPrivacy;
}
/**
* @return string[]
*/
public function getSupportedPrivacy()
{
return $this->supportedPrivacy;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegisterParameters::class, 'Google_Service_CloudDomains_RegisterParameters');

View File

@@ -0,0 +1,289 @@
<?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\CloudDomains;
class Registration extends \Google\Collection
{
protected $collection_key = 'supportedPrivacy';
protected $contactSettingsType = ContactSettings::class;
protected $contactSettingsDataType = '';
/**
* @var string
*/
public $createTime;
protected $dnsSettingsType = DnsSettings::class;
protected $dnsSettingsDataType = '';
/**
* @var string
*/
public $domainName;
/**
* @var string[]
*/
public $domainProperties;
/**
* @var string
*/
public $expireTime;
/**
* @var string[]
*/
public $issues;
/**
* @var string[]
*/
public $labels;
protected $managementSettingsType = ManagementSettings::class;
protected $managementSettingsDataType = '';
/**
* @var string
*/
public $name;
protected $pendingContactSettingsType = ContactSettings::class;
protected $pendingContactSettingsDataType = '';
/**
* @var string
*/
public $registerFailureReason;
/**
* @var string
*/
public $state;
/**
* @var string[]
*/
public $supportedPrivacy;
/**
* @var string
*/
public $transferFailureReason;
/**
* @param ContactSettings
*/
public function setContactSettings(ContactSettings $contactSettings)
{
$this->contactSettings = $contactSettings;
}
/**
* @return ContactSettings
*/
public function getContactSettings()
{
return $this->contactSettings;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DnsSettings
*/
public function setDnsSettings(DnsSettings $dnsSettings)
{
$this->dnsSettings = $dnsSettings;
}
/**
* @return DnsSettings
*/
public function getDnsSettings()
{
return $this->dnsSettings;
}
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string[]
*/
public function setDomainProperties($domainProperties)
{
$this->domainProperties = $domainProperties;
}
/**
* @return string[]
*/
public function getDomainProperties()
{
return $this->domainProperties;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return string[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ManagementSettings
*/
public function setManagementSettings(ManagementSettings $managementSettings)
{
$this->managementSettings = $managementSettings;
}
/**
* @return ManagementSettings
*/
public function getManagementSettings()
{
return $this->managementSettings;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ContactSettings
*/
public function setPendingContactSettings(ContactSettings $pendingContactSettings)
{
$this->pendingContactSettings = $pendingContactSettings;
}
/**
* @return ContactSettings
*/
public function getPendingContactSettings()
{
return $this->pendingContactSettings;
}
/**
* @param string
*/
public function setRegisterFailureReason($registerFailureReason)
{
$this->registerFailureReason = $registerFailureReason;
}
/**
* @return string
*/
public function getRegisterFailureReason()
{
return $this->registerFailureReason;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string[]
*/
public function setSupportedPrivacy($supportedPrivacy)
{
$this->supportedPrivacy = $supportedPrivacy;
}
/**
* @return string[]
*/
public function getSupportedPrivacy()
{
return $this->supportedPrivacy;
}
/**
* @param string
*/
public function setTransferFailureReason($transferFailureReason)
{
$this->transferFailureReason = $transferFailureReason;
}
/**
* @return string
*/
public function getTransferFailureReason()
{
return $this->transferFailureReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Registration::class, 'Google_Service_CloudDomains_Registration');

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\CloudDomains;
class RenewDomainRequest extends \Google\Model
{
/**
* @var bool
*/
public $validateOnly;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RenewDomainRequest::class, 'Google_Service_CloudDomains_RenewDomainRequest');

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

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\CloudDomains\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $domainsService = new Google\Service\CloudDomains(...);
* $projects = $domainsService->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_CloudDomains_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\CloudDomains\Resource;
use Google\Service\CloudDomains\ListLocationsResponse;
use Google\Service\CloudDomains\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $domainsService = new Google\Service\CloudDomains(...);
* $locations = $domainsService->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_CloudDomains_Resource_ProjectsLocations');

View File

@@ -0,0 +1,72 @@
<?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\CloudDomains\Resource;
use Google\Service\CloudDomains\ListOperationsResponse;
use Google\Service\CloudDomains\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $domainsService = new Google\Service\CloudDomains(...);
* $operations = $domainsService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* 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_CloudDomains_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,619 @@
<?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\CloudDomains\Resource;
use Google\Service\CloudDomains\AuthorizationCode;
use Google\Service\CloudDomains\ConfigureContactSettingsRequest;
use Google\Service\CloudDomains\ConfigureDnsSettingsRequest;
use Google\Service\CloudDomains\ConfigureManagementSettingsRequest;
use Google\Service\CloudDomains\ExportRegistrationRequest;
use Google\Service\CloudDomains\ImportDomainRequest;
use Google\Service\CloudDomains\InitiatePushTransferRequest;
use Google\Service\CloudDomains\ListRegistrationsResponse;
use Google\Service\CloudDomains\Operation;
use Google\Service\CloudDomains\Policy;
use Google\Service\CloudDomains\RegisterDomainRequest;
use Google\Service\CloudDomains\Registration;
use Google\Service\CloudDomains\RenewDomainRequest;
use Google\Service\CloudDomains\ResetAuthorizationCodeRequest;
use Google\Service\CloudDomains\RetrieveGoogleDomainsDnsRecordsResponse;
use Google\Service\CloudDomains\RetrieveGoogleDomainsForwardingConfigResponse;
use Google\Service\CloudDomains\RetrieveImportableDomainsResponse;
use Google\Service\CloudDomains\RetrieveRegisterParametersResponse;
use Google\Service\CloudDomains\RetrieveTransferParametersResponse;
use Google\Service\CloudDomains\SearchDomainsResponse;
use Google\Service\CloudDomains\SetIamPolicyRequest;
use Google\Service\CloudDomains\TestIamPermissionsRequest;
use Google\Service\CloudDomains\TestIamPermissionsResponse;
use Google\Service\CloudDomains\TransferDomainRequest;
/**
* The "registrations" collection of methods.
* Typical usage is:
* <code>
* $domainsService = new Google\Service\CloudDomains(...);
* $registrations = $domainsService->projects_locations_registrations;
* </code>
*/
class ProjectsLocationsRegistrations extends \Google\Service\Resource
{
/**
* Updates a `Registration`'s contact settings. Some changes require
* confirmation by the domain's registrant contact . Caution: Please consider
* carefully any changes to contact privacy settings when changing from
* `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA.` There may be a delay in
* reflecting updates you make to registrant contact information such that any
* changes you make to contact privacy (including from `REDACTED_CONTACT_DATA`
* to `PUBLIC_CONTACT_DATA`) will be applied without delay but changes to
* registrant contact information may take a limited time to be publicized. This
* means that changes to contact privacy from `REDACTED_CONTACT_DATA` to
* `PUBLIC_CONTACT_DATA` may make the previous registrant contact data public
* until the modified registrant contact details are published.
* (registrations.configureContactSettings)
*
* @param string $registration Required. The name of the `Registration` whose
* contact settings are being updated, in the format
* `projects/locations/registrations`.
* @param ConfigureContactSettingsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function configureContactSettings($registration, ConfigureContactSettingsRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('configureContactSettings', [$params], Operation::class);
}
/**
* Updates a `Registration`'s DNS settings. (registrations.configureDnsSettings)
*
* @param string $registration Required. The name of the `Registration` whose
* DNS settings are being updated, in the format
* `projects/locations/registrations`.
* @param ConfigureDnsSettingsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function configureDnsSettings($registration, ConfigureDnsSettingsRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('configureDnsSettings', [$params], Operation::class);
}
/**
* Updates a `Registration`'s management settings.
* (registrations.configureManagementSettings)
*
* @param string $registration Required. The name of the `Registration` whose
* management settings are being updated, in the format
* `projects/locations/registrations`.
* @param ConfigureManagementSettingsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function configureManagementSettings($registration, ConfigureManagementSettingsRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('configureManagementSettings', [$params], Operation::class);
}
/**
* Deletes a `Registration` resource. This method works on any `Registration`
* resource using [Subscription or Commitment billing](/domains/pricing#billing-
* models), provided that the resource was created at least 1 day in the past.
* When an active registration is successfully deleted, you can continue to use
* the domain in [Google Domains](https://domains.google/) until it expires. The
* calling user becomes the domain's sole owner in Google Domains, and
* permissions for the domain are subsequently managed there. The domain does
* not renew automatically unless the new owner sets up billing in Google
* Domains. After January 2024 you will only be able to delete `Registration`
* resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED`
* or `TRANSFER_FAILED`. See [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) for more details. (registrations.delete)
*
* @param string $name Required. The name of the `Registration` to delete, in
* the format `projects/locations/registrations`.
* @param array $optParams Optional parameters.
* @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);
}
/**
* Deprecated: For more information, see [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) Exports a `Registration` resource, such that it is no longer
* managed by Cloud Domains. When an active domain is successfully exported, you
* can continue to use the domain in [Google Domains](https://domains.google/)
* until it expires. The calling user becomes the domain's sole owner in Google
* Domains, and permissions for the domain are subsequently managed there. The
* domain does not renew automatically unless the new owner sets up billing in
* Google Domains. (registrations.export)
*
* @param string $name Required. The name of the `Registration` to export, in
* the format `projects/locations/registrations`.
* @param ExportRegistrationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function export($name, ExportRegistrationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('export', [$params], Operation::class);
}
/**
* Gets the details of a `Registration` resource. (registrations.get)
*
* @param string $name Required. The name of the `Registration` to get, in the
* format `projects/locations/registrations`.
* @param array $optParams Optional parameters.
* @return Registration
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Registration::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (registrations.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);
}
/**
* Deprecated: For more information, see [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) Imports a domain name from [Google
* Domains](https://domains.google/) for use in Cloud Domains. To transfer a
* domain from another registrar, use the `TransferDomain` method instead. Since
* individual users can own domains in Google Domains, the calling user must
* have ownership permission on the domain. (registrations.import)
*
* @param string $parent Required. The parent resource of the Registration. Must
* be in the format `projects/locations`.
* @param ImportDomainRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function import($parent, ImportDomainRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('import', [$params], Operation::class);
}
/**
* Initiates the `Push Transfer` process to transfer the domain to another
* registrar. The process might complete instantly or might require confirmation
* or additional work. Check the emails sent to the email address of the
* registrant. The process is aborted after a timeout if it's not completed.
* This method is only supported for domains that have the
* `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The
* domain must also be unlocked before it can be transferred to a different
* registrar. For more information, see [Transfer a registered domain to another
* registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-
* registrar). (registrations.initiatePushTransfer)
*
* @param string $registration Required. The name of the `Registration` for
* which the push transfer is initiated, in the format
* `projects/locations/registrations`.
* @param InitiatePushTransferRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function initiatePushTransfer($registration, InitiatePushTransferRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('initiatePushTransfer', [$params], Operation::class);
}
/**
* Lists the `Registration` resources in a project.
* (registrations.listProjectsLocationsRegistrations)
*
* @param string $parent Required. The project and location from which to list
* `Registration`s, specified in the format `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter expression to restrict the `Registration`s
* returned. The expression must specify the field name, a comparison operator,
* and the value that you want to use for filtering. The value must be a string,
* a number, a boolean, or an enum value. The comparison operator should be one
* of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to
* filter to a specific domain name, use an expression like
* `domainName="example.com"`. You can also check for the existence of a field;
* for example, to find domains using custom DNS settings, use an expression
* like `dnsSettings.customDns:*`. You can also create compound filters by
* combining expressions with the `AND` and `OR` operators. For example, to find
* domains that are suspended or have specific issues flagged, use an expression
* like `(state=SUSPENDED) OR (issue:*)`.
* @opt_param int pageSize Maximum number of results to return.
* @opt_param string pageToken When set to the `next_page_token` from a prior
* response, provides the next page of results.
* @return ListRegistrationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRegistrations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRegistrationsResponse::class);
}
/**
* Updates select fields of a `Registration` resource, notably `labels`. To
* update other fields, use the appropriate custom update method: * To update
* management settings, see `ConfigureManagementSettings` * To update DNS
* configuration, see `ConfigureDnsSettings` * To update contact information,
* see `ConfigureContactSettings` (registrations.patch)
*
* @param string $name Output only. Name of the `Registration` resource, in the
* format `projects/locations/registrations/`.
* @param Registration $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The field mask describing which fields
* to update as a comma-separated list. For example, if only the labels are
* being updated, the `update_mask` is `"labels"`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Registration $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Registers a new domain name and creates a corresponding `Registration`
* resource. Call `RetrieveRegisterParameters` first to check availability of
* the domain name and determine parameters like price that are needed to build
* a call to this method. A successful call creates a `Registration` resource in
* state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes,
* indicating that the domain was successfully registered. If the resource ends
* up in state `REGISTRATION_FAILED`, it indicates that the domain was not
* registered successfully, and you can safely delete the resource and retry
* registration. (registrations.register)
*
* @param string $parent Required. The parent resource of the `Registration`.
* Must be in the format `projects/locations`.
* @param RegisterDomainRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function register($parent, RegisterDomainRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('register', [$params], Operation::class);
}
/**
* Renews a recently expired domain. This method can only be called on domains
* that expired in the previous 30 days. After the renewal, the new expiration
* time of the domain is one year after the old expiration time and you are
* charged a `yearly_price` for the renewal. (registrations.renewDomain)
*
* @param string $registration Required. The name of the `Registration` whish is
* being renewed, in the format `projects/locations/registrations`.
* @param RenewDomainRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function renewDomain($registration, RenewDomainRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('renewDomain', [$params], Operation::class);
}
/**
* Resets the authorization code of the `Registration` to a new random string.
* You can call this method only after 60 days have elapsed since the initial
* domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property
* in the list of `domain_properties` don't support authorization codes and must
* use the `InitiatePushTransfer` method to initiate the process to transfer the
* domain to a different registrar. (registrations.resetAuthorizationCode)
*
* @param string $registration Required. The name of the `Registration` whose
* authorization code is being reset, in the format
* `projects/locations/registrations`.
* @param ResetAuthorizationCodeRequest $postBody
* @param array $optParams Optional parameters.
* @return AuthorizationCode
* @throws \Google\Service\Exception
*/
public function resetAuthorizationCode($registration, ResetAuthorizationCodeRequest $postBody, $optParams = [])
{
$params = ['registration' => $registration, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetAuthorizationCode', [$params], AuthorizationCode::class);
}
/**
* Gets the authorization code of the `Registration` for the purpose of
* transferring the domain to another registrar. You can call this method only
* after 60 days have elapsed since the initial domain registration. Domains
* that have the `REQUIRE_PUSH_TRANSFER` property in the list of
* `domain_properties` don't support authorization codes and must use the
* `InitiatePushTransfer` method to initiate the process to transfer the domain
* to a different registrar. (registrations.retrieveAuthorizationCode)
*
* @param string $registration Required. The name of the `Registration` whose
* authorization code is being retrieved, in the format
* `projects/locations/registrations`.
* @param array $optParams Optional parameters.
* @return AuthorizationCode
* @throws \Google\Service\Exception
*/
public function retrieveAuthorizationCode($registration, $optParams = [])
{
$params = ['registration' => $registration];
$params = array_merge($params, $optParams);
return $this->call('retrieveAuthorizationCode', [$params], AuthorizationCode::class);
}
/**
* Lists the DNS records from the Google Domains DNS zone for domains that use
* the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`.
* (registrations.retrieveGoogleDomainsDnsRecords)
*
* @param string $registration Required. The name of the `Registration` whose
* Google Domains DNS records details you are retrieving, in the format
* `projects/locations/registrations`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of results to return.
* @opt_param string pageToken Optional. When set to the `next_page_token` from
* a prior response, provides the next page of results.
* @return RetrieveGoogleDomainsDnsRecordsResponse
* @throws \Google\Service\Exception
*/
public function retrieveGoogleDomainsDnsRecords($registration, $optParams = [])
{
$params = ['registration' => $registration];
$params = array_merge($params, $optParams);
return $this->call('retrieveGoogleDomainsDnsRecords', [$params], RetrieveGoogleDomainsDnsRecordsResponse::class);
}
/**
* Lists the deprecated domain and email forwarding configurations you set up in
* the deprecated Google Domains UI. The configuration is present only for
* domains with the `google_domains_redirects_data_available` set to `true` in
* the `Registration`'s `dns_settings`. A forwarding configuration might not
* work correctly if required DNS records are not present in the domain's
* authoritative DNS Zone. (registrations.retrieveGoogleDomainsForwardingConfig)
*
* @param string $registration Required. The name of the `Registration` whose
* Google Domains forwarding configuration details are being retrieved, in the
* format `projects/locations/registrations`.
* @param array $optParams Optional parameters.
* @return RetrieveGoogleDomainsForwardingConfigResponse
* @throws \Google\Service\Exception
*/
public function retrieveGoogleDomainsForwardingConfig($registration, $optParams = [])
{
$params = ['registration' => $registration];
$params = array_merge($params, $optParams);
return $this->call('retrieveGoogleDomainsForwardingConfig', [$params], RetrieveGoogleDomainsForwardingConfigResponse::class);
}
/**
* Deprecated: For more information, see [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) Lists domain names from [Google
* Domains](https://domains.google/) that can be imported to Cloud Domains using
* the `ImportDomain` method. Since individual users can own domains in Google
* Domains, the list of domains returned depends on the individual user making
* the call. Domains already managed by Cloud Domains are not returned.
* (registrations.retrieveImportableDomains)
*
* @param string $location Required. The location. Must be in the format
* `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of results to return.
* @opt_param string pageToken When set to the `next_page_token` from a prior
* response, provides the next page of results.
* @return RetrieveImportableDomainsResponse
* @throws \Google\Service\Exception
*/
public function retrieveImportableDomains($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('retrieveImportableDomains', [$params], RetrieveImportableDomainsResponse::class);
}
/**
* Gets parameters needed to register a new domain name, including price and up-
* to-date availability. Use the returned values to call `RegisterDomain`.
* (registrations.retrieveRegisterParameters)
*
* @param string $location Required. The location. Must be in the format
* `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string domainName Required. The domain name. Unicode domain names
* must be expressed in Punycode format.
* @return RetrieveRegisterParametersResponse
* @throws \Google\Service\Exception
*/
public function retrieveRegisterParameters($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('retrieveRegisterParameters', [$params], RetrieveRegisterParametersResponse::class);
}
/**
* Deprecated: For more information, see [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) Gets parameters needed to transfer a domain name from another
* registrar to Cloud Domains. For domains already managed by [Google
* Domains](https://domains.google/), use `ImportDomain` instead. Use the
* returned values to call `TransferDomain`.
* (registrations.retrieveTransferParameters)
*
* @param string $location Required. The location. Must be in the format
* `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string domainName Required. The domain name. Unicode domain names
* must be expressed in Punycode format.
* @return RetrieveTransferParametersResponse
* @throws \Google\Service\Exception
*/
public function retrieveTransferParameters($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('retrieveTransferParameters', [$params], RetrieveTransferParametersResponse::class);
}
/**
* Searches for available domain names similar to the provided query.
* Availability results from this method are approximate; call
* `RetrieveRegisterParameters` on a domain before registering to confirm
* availability. (registrations.searchDomains)
*
* @param string $location Required. The location. Must be in the format
* `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string query Required. String used to search for available domain
* names.
* @return SearchDomainsResponse
* @throws \Google\Service\Exception
*/
public function searchDomains($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('searchDomains', [$params], SearchDomainsResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (registrations.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.
* (registrations.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);
}
/**
* Deprecated: For more information, see [Cloud Domains feature
* deprecation](https://cloud.google.com/domains/docs/deprecations/feature-
* deprecations) Transfers a domain name from another registrar to Cloud
* Domains. For domains already managed by [Google
* Domains](https://domains.google/), use `ImportDomain` instead. Before calling
* this method, go to the domain's current registrar to unlock the domain for
* transfer and retrieve the domain's transfer authorization code. Then call
* `RetrieveTransferParameters` to confirm that the domain is unlocked and to
* get values needed to build a call to this method. A successful call creates a
* `Registration` resource in state `TRANSFER_PENDING`. It can take several days
* to complete the transfer process. The registrant can often speed up this
* process by approving the transfer through the current registrar, either by
* clicking a link in an email from the registrar or by visiting the registrar's
* website. A few minutes after transfer approval, the resource transitions to
* state `ACTIVE`, indicating that the transfer was successful. If the transfer
* is rejected or the request expires without being approved, the resource can
* end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
* the resource and retry the transfer. (registrations.transfer)
*
* @param string $parent Required. The parent resource of the `Registration`.
* Must be in the format `projects/locations`.
* @param TransferDomainRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function transfer($parent, TransferDomainRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('transfer', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRegistrations::class, 'Google_Service_CloudDomains_Resource_ProjectsLocationsRegistrations');

View File

@@ -0,0 +1,133 @@
<?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\CloudDomains;
class ResourceRecordSet extends \Google\Collection
{
protected $collection_key = 'signatureRrdata';
/**
* @var string
*/
public $name;
protected $routingPolicyType = RRSetRoutingPolicy::class;
protected $routingPolicyDataType = '';
/**
* @var string[]
*/
public $rrdata;
/**
* @var string[]
*/
public $signatureRrdata;
/**
* @var int
*/
public $ttl;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param RRSetRoutingPolicy
*/
public function setRoutingPolicy(RRSetRoutingPolicy $routingPolicy)
{
$this->routingPolicy = $routingPolicy;
}
/**
* @return RRSetRoutingPolicy
*/
public function getRoutingPolicy()
{
return $this->routingPolicy;
}
/**
* @param string[]
*/
public function setRrdata($rrdata)
{
$this->rrdata = $rrdata;
}
/**
* @return string[]
*/
public function getRrdata()
{
return $this->rrdata;
}
/**
* @param string[]
*/
public function setSignatureRrdata($signatureRrdata)
{
$this->signatureRrdata = $signatureRrdata;
}
/**
* @return string[]
*/
public function getSignatureRrdata()
{
return $this->signatureRrdata;
}
/**
* @param int
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return int
*/
public function getTtl()
{
return $this->ttl;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceRecordSet::class, 'Google_Service_CloudDomains_ResourceRecordSet');

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\CloudDomains;
class RetrieveGoogleDomainsDnsRecordsResponse extends \Google\Collection
{
protected $collection_key = 'rrset';
/**
* @var string
*/
public $nextPageToken;
protected $rrsetType = ResourceRecordSet::class;
protected $rrsetDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ResourceRecordSet[]
*/
public function setRrset($rrset)
{
$this->rrset = $rrset;
}
/**
* @return ResourceRecordSet[]
*/
public function getRrset()
{
return $this->rrset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RetrieveGoogleDomainsDnsRecordsResponse::class, 'Google_Service_CloudDomains_RetrieveGoogleDomainsDnsRecordsResponse');

View File

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

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\CloudDomains;
class RetrieveImportableDomainsResponse extends \Google\Collection
{
protected $collection_key = 'domains';
protected $domainsType = Domain::class;
protected $domainsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Domain[]
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return Domain[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* @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(RetrieveImportableDomainsResponse::class, 'Google_Service_CloudDomains_RetrieveImportableDomainsResponse');

View File

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

View File

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

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\CloudDomains;
class SearchDomainsResponse extends \Google\Collection
{
protected $collection_key = 'registerParameters';
protected $registerParametersType = RegisterParameters::class;
protected $registerParametersDataType = 'array';
/**
* @param RegisterParameters[]
*/
public function setRegisterParameters($registerParameters)
{
$this->registerParameters = $registerParameters;
}
/**
* @return RegisterParameters[]
*/
public function getRegisterParameters()
{
return $this->registerParameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchDomainsResponse::class, 'Google_Service_CloudDomains_SearchDomainsResponse');

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\CloudDomains;
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_CloudDomains_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\CloudDomains;
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_CloudDomains_Status');

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\CloudDomains;
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_CloudDomains_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\CloudDomains;
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_CloudDomains_TestIamPermissionsResponse');

View File

@@ -0,0 +1,111 @@
<?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\CloudDomains;
class TransferDomainRequest extends \Google\Collection
{
protected $collection_key = 'contactNotices';
protected $authorizationCodeType = AuthorizationCode::class;
protected $authorizationCodeDataType = '';
/**
* @var string[]
*/
public $contactNotices;
protected $registrationType = Registration::class;
protected $registrationDataType = '';
/**
* @var bool
*/
public $validateOnly;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param AuthorizationCode
*/
public function setAuthorizationCode(AuthorizationCode $authorizationCode)
{
$this->authorizationCode = $authorizationCode;
}
/**
* @return AuthorizationCode
*/
public function getAuthorizationCode()
{
return $this->authorizationCode;
}
/**
* @param string[]
*/
public function setContactNotices($contactNotices)
{
$this->contactNotices = $contactNotices;
}
/**
* @return string[]
*/
public function getContactNotices()
{
return $this->contactNotices;
}
/**
* @param Registration
*/
public function setRegistration(Registration $registration)
{
$this->registration = $registration;
}
/**
* @return Registration
*/
public function getRegistration()
{
return $this->registration;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TransferDomainRequest::class, 'Google_Service_CloudDomains_TransferDomainRequest');

View File

@@ -0,0 +1,151 @@
<?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\CloudDomains;
class TransferParameters extends \Google\Collection
{
protected $collection_key = 'supportedPrivacy';
/**
* @var string
*/
public $currentRegistrar;
/**
* @var string
*/
public $currentRegistrarUri;
/**
* @var string
*/
public $domainName;
/**
* @var string[]
*/
public $nameServers;
/**
* @var string[]
*/
public $supportedPrivacy;
/**
* @var string
*/
public $transferLockState;
protected $yearlyPriceType = Money::class;
protected $yearlyPriceDataType = '';
/**
* @param string
*/
public function setCurrentRegistrar($currentRegistrar)
{
$this->currentRegistrar = $currentRegistrar;
}
/**
* @return string
*/
public function getCurrentRegistrar()
{
return $this->currentRegistrar;
}
/**
* @param string
*/
public function setCurrentRegistrarUri($currentRegistrarUri)
{
$this->currentRegistrarUri = $currentRegistrarUri;
}
/**
* @return string
*/
public function getCurrentRegistrarUri()
{
return $this->currentRegistrarUri;
}
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string[]
*/
public function setNameServers($nameServers)
{
$this->nameServers = $nameServers;
}
/**
* @return string[]
*/
public function getNameServers()
{
return $this->nameServers;
}
/**
* @param string[]
*/
public function setSupportedPrivacy($supportedPrivacy)
{
$this->supportedPrivacy = $supportedPrivacy;
}
/**
* @return string[]
*/
public function getSupportedPrivacy()
{
return $this->supportedPrivacy;
}
/**
* @param string
*/
public function setTransferLockState($transferLockState)
{
$this->transferLockState = $transferLockState;
}
/**
* @return string
*/
public function getTransferLockState()
{
return $this->transferLockState;
}
/**
* @param Money
*/
public function setYearlyPrice(Money $yearlyPrice)
{
$this->yearlyPrice = $yearlyPrice;
}
/**
* @return Money
*/
public function getYearlyPrice()
{
return $this->yearlyPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TransferParameters::class, 'Google_Service_CloudDomains_TransferParameters');

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\CloudDomains;
class WrrPolicy extends \Google\Collection
{
protected $collection_key = 'item';
protected $itemType = WrrPolicyItem::class;
protected $itemDataType = 'array';
/**
* @param WrrPolicyItem[]
*/
public function setItem($item)
{
$this->item = $item;
}
/**
* @return WrrPolicyItem[]
*/
public function getItem()
{
return $this->item;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WrrPolicy::class, 'Google_Service_CloudDomains_WrrPolicy');

View File

@@ -0,0 +1,88 @@
<?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\CloudDomains;
class WrrPolicyItem extends \Google\Collection
{
protected $collection_key = 'signatureRrdata';
protected $healthCheckedTargetsType = HealthCheckTargets::class;
protected $healthCheckedTargetsDataType = '';
/**
* @var string[]
*/
public $rrdata;
/**
* @var string[]
*/
public $signatureRrdata;
public $weight;
/**
* @param HealthCheckTargets
*/
public function setHealthCheckedTargets(HealthCheckTargets $healthCheckedTargets)
{
$this->healthCheckedTargets = $healthCheckedTargets;
}
/**
* @return HealthCheckTargets
*/
public function getHealthCheckedTargets()
{
return $this->healthCheckedTargets;
}
/**
* @param string[]
*/
public function setRrdata($rrdata)
{
$this->rrdata = $rrdata;
}
/**
* @return string[]
*/
public function getRrdata()
{
return $this->rrdata;
}
/**
* @param string[]
*/
public function setSignatureRrdata($signatureRrdata)
{
$this->signatureRrdata = $signatureRrdata;
}
/**
* @return string[]
*/
public function getSignatureRrdata()
{
return $this->signatureRrdata;
}
public function setWeight($weight)
{
$this->weight = $weight;
}
public function getWeight()
{
return $this->weight;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WrrPolicyItem::class, 'Google_Service_CloudDomains_WrrPolicyItem');