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,149 @@
<?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\Dns;
class Change extends \Google\Collection
{
protected $collection_key = 'deletions';
protected $additionsType = ResourceRecordSet::class;
protected $additionsDataType = 'array';
protected $deletionsType = ResourceRecordSet::class;
protected $deletionsDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $isServing;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $status;
/**
* @param ResourceRecordSet[]
*/
public function setAdditions($additions)
{
$this->additions = $additions;
}
/**
* @return ResourceRecordSet[]
*/
public function getAdditions()
{
return $this->additions;
}
/**
* @param ResourceRecordSet[]
*/
public function setDeletions($deletions)
{
$this->deletions = $deletions;
}
/**
* @return ResourceRecordSet[]
*/
public function getDeletions()
{
return $this->deletions;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setIsServing($isServing)
{
$this->isServing = $isServing;
}
/**
* @return bool
*/
public function getIsServing()
{
return $this->isServing;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Change::class, 'Google_Service_Dns_Change');

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\Dns;
class ChangesListResponse extends \Google\Collection
{
protected $collection_key = 'changes';
protected $changesType = Change::class;
protected $changesDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param Change[]
*/
public function setChanges($changes)
{
$this->changes = $changes;
}
/**
* @return Change[]
*/
public function getChanges()
{
return $this->changes;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @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(ChangesListResponse::class, 'Google_Service_Dns_ChangesListResponse');

View File

@@ -0,0 +1,223 @@
<?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\Dns;
class DnsKey extends \Google\Collection
{
protected $collection_key = 'digests';
/**
* @var string
*/
public $algorithm;
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $description;
protected $digestsType = DnsKeyDigest::class;
protected $digestsDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $isActive;
/**
* @var string
*/
public $keyLength;
/**
* @var int
*/
public $keyTag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $publicKey;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param DnsKeyDigest[]
*/
public function setDigests($digests)
{
$this->digests = $digests;
}
/**
* @return DnsKeyDigest[]
*/
public function getDigests()
{
return $this->digests;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
/**
* @return bool
*/
public function getIsActive()
{
return $this->isActive;
}
/**
* @param string
*/
public function setKeyLength($keyLength)
{
$this->keyLength = $keyLength;
}
/**
* @return string
*/
public function getKeyLength()
{
return $this->keyLength;
}
/**
* @param int
*/
public function setKeyTag($keyTag)
{
$this->keyTag = $keyTag;
}
/**
* @return int
*/
public function getKeyTag()
{
return $this->keyTag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPublicKey($publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return string
*/
public function getPublicKey()
{
return $this->publicKey;
}
/**
* @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(DnsKey::class, 'Google_Service_Dns_DnsKey');

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\Dns;
class DnsKeyDigest extends \Google\Model
{
/**
* @var string
*/
public $digest;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDigest($digest)
{
$this->digest = $digest;
}
/**
* @return string
*/
public function getDigest()
{
return $this->digest;
}
/**
* @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(DnsKeyDigest::class, 'Google_Service_Dns_DnsKeyDigest');

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\Dns;
class DnsKeySpec extends \Google\Model
{
/**
* @var string
*/
public $algorithm;
/**
* @var string
*/
public $keyLength;
/**
* @var string
*/
public $keyType;
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param string
*/
public function setKeyLength($keyLength)
{
$this->keyLength = $keyLength;
}
/**
* @return string
*/
public function getKeyLength()
{
return $this->keyLength;
}
/**
* @param string
*/
public function setKeyType($keyType)
{
$this->keyType = $keyType;
}
/**
* @return string
*/
public function getKeyType()
{
return $this->keyType;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsKeySpec::class, 'Google_Service_Dns_DnsKeySpec');

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\Dns;
class DnsKeysListResponse extends \Google\Collection
{
protected $collection_key = 'dnsKeys';
protected $dnsKeysType = DnsKey::class;
protected $dnsKeysDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param DnsKey[]
*/
public function setDnsKeys($dnsKeys)
{
$this->dnsKeys = $dnsKeys;
}
/**
* @return DnsKey[]
*/
public function getDnsKeys()
{
return $this->dnsKeys;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @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(DnsKeysListResponse::class, 'Google_Service_Dns_DnsKeysListResponse');

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\Dns;
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_Dns_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\Dns;
class GoogleIamV1AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = GoogleIamV1AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param GoogleIamV1AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return GoogleIamV1AuditLogConfig[]
*/
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(GoogleIamV1AuditConfig::class, 'Google_Service_Dns_GoogleIamV1AuditConfig');

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\Dns;
class GoogleIamV1AuditLogConfig 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(GoogleIamV1AuditLogConfig::class, 'Google_Service_Dns_GoogleIamV1AuditLogConfig');

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\Dns;
class GoogleIamV1Binding 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(GoogleIamV1Binding::class, 'Google_Service_Dns_GoogleIamV1Binding');

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\Dns;
class GoogleIamV1GetIamPolicyRequest extends \Google\Model
{
protected $optionsType = GoogleIamV1GetPolicyOptions::class;
protected $optionsDataType = '';
/**
* @param GoogleIamV1GetPolicyOptions
*/
public function setOptions(GoogleIamV1GetPolicyOptions $options)
{
$this->options = $options;
}
/**
* @return GoogleIamV1GetPolicyOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1GetIamPolicyRequest::class, 'Google_Service_Dns_GoogleIamV1GetIamPolicyRequest');

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\Dns;
class GoogleIamV1GetPolicyOptions extends \Google\Model
{
/**
* @var int
*/
public $requestedPolicyVersion;
/**
* @param int
*/
public function setRequestedPolicyVersion($requestedPolicyVersion)
{
$this->requestedPolicyVersion = $requestedPolicyVersion;
}
/**
* @return int
*/
public function getRequestedPolicyVersion()
{
return $this->requestedPolicyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1GetPolicyOptions::class, 'Google_Service_Dns_GoogleIamV1GetPolicyOptions');

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\Dns;
class GoogleIamV1Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = GoogleIamV1AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = GoogleIamV1Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param GoogleIamV1AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return GoogleIamV1AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param GoogleIamV1Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return GoogleIamV1Binding[]
*/
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(GoogleIamV1Policy::class, 'Google_Service_Dns_GoogleIamV1Policy');

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\Dns;
class GoogleIamV1SetIamPolicyRequest extends \Google\Model
{
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
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(GoogleIamV1SetIamPolicyRequest::class, 'Google_Service_Dns_GoogleIamV1SetIamPolicyRequest');

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\Dns;
class GoogleIamV1TestIamPermissionsRequest 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(GoogleIamV1TestIamPermissionsRequest::class, 'Google_Service_Dns_GoogleIamV1TestIamPermissionsRequest');

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\Dns;
class GoogleIamV1TestIamPermissionsResponse 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(GoogleIamV1TestIamPermissionsResponse::class, 'Google_Service_Dns_GoogleIamV1TestIamPermissionsResponse');

View File

@@ -0,0 +1,319 @@
<?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\Dns;
class ManagedZone extends \Google\Collection
{
protected $collection_key = 'nameServers';
protected $cloudLoggingConfigType = ManagedZoneCloudLoggingConfig::class;
protected $cloudLoggingConfigDataType = '';
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $dnsName;
protected $dnssecConfigType = ManagedZoneDnsSecConfig::class;
protected $dnssecConfigDataType = '';
protected $forwardingConfigType = ManagedZoneForwardingConfig::class;
protected $forwardingConfigDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nameServerSet;
/**
* @var string[]
*/
public $nameServers;
protected $peeringConfigType = ManagedZonePeeringConfig::class;
protected $peeringConfigDataType = '';
protected $privateVisibilityConfigType = ManagedZonePrivateVisibilityConfig::class;
protected $privateVisibilityConfigDataType = '';
protected $reverseLookupConfigType = ManagedZoneReverseLookupConfig::class;
protected $reverseLookupConfigDataType = '';
protected $serviceDirectoryConfigType = ManagedZoneServiceDirectoryConfig::class;
protected $serviceDirectoryConfigDataType = '';
/**
* @var string
*/
public $visibility;
/**
* @param ManagedZoneCloudLoggingConfig
*/
public function setCloudLoggingConfig(ManagedZoneCloudLoggingConfig $cloudLoggingConfig)
{
$this->cloudLoggingConfig = $cloudLoggingConfig;
}
/**
* @return ManagedZoneCloudLoggingConfig
*/
public function getCloudLoggingConfig()
{
return $this->cloudLoggingConfig;
}
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDnsName($dnsName)
{
$this->dnsName = $dnsName;
}
/**
* @return string
*/
public function getDnsName()
{
return $this->dnsName;
}
/**
* @param ManagedZoneDnsSecConfig
*/
public function setDnssecConfig(ManagedZoneDnsSecConfig $dnssecConfig)
{
$this->dnssecConfig = $dnssecConfig;
}
/**
* @return ManagedZoneDnsSecConfig
*/
public function getDnssecConfig()
{
return $this->dnssecConfig;
}
/**
* @param ManagedZoneForwardingConfig
*/
public function setForwardingConfig(ManagedZoneForwardingConfig $forwardingConfig)
{
$this->forwardingConfig = $forwardingConfig;
}
/**
* @return ManagedZoneForwardingConfig
*/
public function getForwardingConfig()
{
return $this->forwardingConfig;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNameServerSet($nameServerSet)
{
$this->nameServerSet = $nameServerSet;
}
/**
* @return string
*/
public function getNameServerSet()
{
return $this->nameServerSet;
}
/**
* @param string[]
*/
public function setNameServers($nameServers)
{
$this->nameServers = $nameServers;
}
/**
* @return string[]
*/
public function getNameServers()
{
return $this->nameServers;
}
/**
* @param ManagedZonePeeringConfig
*/
public function setPeeringConfig(ManagedZonePeeringConfig $peeringConfig)
{
$this->peeringConfig = $peeringConfig;
}
/**
* @return ManagedZonePeeringConfig
*/
public function getPeeringConfig()
{
return $this->peeringConfig;
}
/**
* @param ManagedZonePrivateVisibilityConfig
*/
public function setPrivateVisibilityConfig(ManagedZonePrivateVisibilityConfig $privateVisibilityConfig)
{
$this->privateVisibilityConfig = $privateVisibilityConfig;
}
/**
* @return ManagedZonePrivateVisibilityConfig
*/
public function getPrivateVisibilityConfig()
{
return $this->privateVisibilityConfig;
}
/**
* @param ManagedZoneReverseLookupConfig
*/
public function setReverseLookupConfig(ManagedZoneReverseLookupConfig $reverseLookupConfig)
{
$this->reverseLookupConfig = $reverseLookupConfig;
}
/**
* @return ManagedZoneReverseLookupConfig
*/
public function getReverseLookupConfig()
{
return $this->reverseLookupConfig;
}
/**
* @param ManagedZoneServiceDirectoryConfig
*/
public function setServiceDirectoryConfig(ManagedZoneServiceDirectoryConfig $serviceDirectoryConfig)
{
$this->serviceDirectoryConfig = $serviceDirectoryConfig;
}
/**
* @return ManagedZoneServiceDirectoryConfig
*/
public function getServiceDirectoryConfig()
{
return $this->serviceDirectoryConfig;
}
/**
* @param string
*/
public function setVisibility($visibility)
{
$this->visibility = $visibility;
}
/**
* @return string
*/
public function getVisibility()
{
return $this->visibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZone::class, 'Google_Service_Dns_ManagedZone');

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\Dns;
class ManagedZoneCloudLoggingConfig extends \Google\Model
{
/**
* @var bool
*/
public $enableLogging;
/**
* @var string
*/
public $kind;
/**
* @param bool
*/
public function setEnableLogging($enableLogging)
{
$this->enableLogging = $enableLogging;
}
/**
* @return bool
*/
public function getEnableLogging()
{
return $this->enableLogging;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneCloudLoggingConfig::class, 'Google_Service_Dns_ManagedZoneCloudLoggingConfig');

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\Dns;
class ManagedZoneDnsSecConfig extends \Google\Collection
{
protected $collection_key = 'defaultKeySpecs';
protected $defaultKeySpecsType = DnsKeySpec::class;
protected $defaultKeySpecsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nonExistence;
/**
* @var string
*/
public $state;
/**
* @param DnsKeySpec[]
*/
public function setDefaultKeySpecs($defaultKeySpecs)
{
$this->defaultKeySpecs = $defaultKeySpecs;
}
/**
* @return DnsKeySpec[]
*/
public function getDefaultKeySpecs()
{
return $this->defaultKeySpecs;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNonExistence($nonExistence)
{
$this->nonExistence = $nonExistence;
}
/**
* @return string
*/
public function getNonExistence()
{
return $this->nonExistence;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneDnsSecConfig::class, 'Google_Service_Dns_ManagedZoneDnsSecConfig');

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\Dns;
class ManagedZoneForwardingConfig extends \Google\Collection
{
protected $collection_key = 'targetNameServers';
/**
* @var string
*/
public $kind;
protected $targetNameServersType = ManagedZoneForwardingConfigNameServerTarget::class;
protected $targetNameServersDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedZoneForwardingConfigNameServerTarget[]
*/
public function setTargetNameServers($targetNameServers)
{
$this->targetNameServers = $targetNameServers;
}
/**
* @return ManagedZoneForwardingConfigNameServerTarget[]
*/
public function getTargetNameServers()
{
return $this->targetNameServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneForwardingConfig::class, 'Google_Service_Dns_ManagedZoneForwardingConfig');

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\Dns;
class ManagedZoneForwardingConfigNameServerTarget extends \Google\Model
{
/**
* @var string
*/
public $forwardingPath;
/**
* @var string
*/
public $ipv4Address;
/**
* @var string
*/
public $ipv6Address;
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setForwardingPath($forwardingPath)
{
$this->forwardingPath = $forwardingPath;
}
/**
* @return string
*/
public function getForwardingPath()
{
return $this->forwardingPath;
}
/**
* @param string
*/
public function setIpv4Address($ipv4Address)
{
$this->ipv4Address = $ipv4Address;
}
/**
* @return string
*/
public function getIpv4Address()
{
return $this->ipv4Address;
}
/**
* @param string
*/
public function setIpv6Address($ipv6Address)
{
$this->ipv6Address = $ipv6Address;
}
/**
* @return string
*/
public function getIpv6Address()
{
return $this->ipv6Address;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneForwardingConfigNameServerTarget::class, 'Google_Service_Dns_ManagedZoneForwardingConfigNameServerTarget');

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\Dns;
class ManagedZoneOperationsListResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @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(ManagedZoneOperationsListResponse::class, 'Google_Service_Dns_ManagedZoneOperationsListResponse');

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\Dns;
class ManagedZonePeeringConfig extends \Google\Model
{
/**
* @var string
*/
public $kind;
protected $targetNetworkType = ManagedZonePeeringConfigTargetNetwork::class;
protected $targetNetworkDataType = '';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedZonePeeringConfigTargetNetwork
*/
public function setTargetNetwork(ManagedZonePeeringConfigTargetNetwork $targetNetwork)
{
$this->targetNetwork = $targetNetwork;
}
/**
* @return ManagedZonePeeringConfigTargetNetwork
*/
public function getTargetNetwork()
{
return $this->targetNetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZonePeeringConfig::class, 'Google_Service_Dns_ManagedZonePeeringConfig');

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\Dns;
class ManagedZonePeeringConfigTargetNetwork extends \Google\Model
{
/**
* @var string
*/
public $deactivateTime;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $networkUrl;
/**
* @param string
*/
public function setDeactivateTime($deactivateTime)
{
$this->deactivateTime = $deactivateTime;
}
/**
* @return string
*/
public function getDeactivateTime()
{
return $this->deactivateTime;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNetworkUrl($networkUrl)
{
$this->networkUrl = $networkUrl;
}
/**
* @return string
*/
public function getNetworkUrl()
{
return $this->networkUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZonePeeringConfigTargetNetwork::class, 'Google_Service_Dns_ManagedZonePeeringConfigTargetNetwork');

View File

@@ -0,0 +1,77 @@
<?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\Dns;
class ManagedZonePrivateVisibilityConfig extends \Google\Collection
{
protected $collection_key = 'networks';
protected $gkeClustersType = ManagedZonePrivateVisibilityConfigGKECluster::class;
protected $gkeClustersDataType = 'array';
/**
* @var string
*/
public $kind;
protected $networksType = ManagedZonePrivateVisibilityConfigNetwork::class;
protected $networksDataType = 'array';
/**
* @param ManagedZonePrivateVisibilityConfigGKECluster[]
*/
public function setGkeClusters($gkeClusters)
{
$this->gkeClusters = $gkeClusters;
}
/**
* @return ManagedZonePrivateVisibilityConfigGKECluster[]
*/
public function getGkeClusters()
{
return $this->gkeClusters;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedZonePrivateVisibilityConfigNetwork[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return ManagedZonePrivateVisibilityConfigNetwork[]
*/
public function getNetworks()
{
return $this->networks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZonePrivateVisibilityConfig::class, 'Google_Service_Dns_ManagedZonePrivateVisibilityConfig');

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\Dns;
class ManagedZonePrivateVisibilityConfigGKECluster extends \Google\Model
{
/**
* @var string
*/
public $gkeClusterName;
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setGkeClusterName($gkeClusterName)
{
$this->gkeClusterName = $gkeClusterName;
}
/**
* @return string
*/
public function getGkeClusterName()
{
return $this->gkeClusterName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZonePrivateVisibilityConfigGKECluster::class, 'Google_Service_Dns_ManagedZonePrivateVisibilityConfigGKECluster');

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\Dns;
class ManagedZonePrivateVisibilityConfigNetwork extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $networkUrl;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNetworkUrl($networkUrl)
{
$this->networkUrl = $networkUrl;
}
/**
* @return string
*/
public function getNetworkUrl()
{
return $this->networkUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZonePrivateVisibilityConfigNetwork::class, 'Google_Service_Dns_ManagedZonePrivateVisibilityConfigNetwork');

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\Dns;
class ManagedZoneReverseLookupConfig extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneReverseLookupConfig::class, 'Google_Service_Dns_ManagedZoneReverseLookupConfig');

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\Dns;
class ManagedZoneServiceDirectoryConfig extends \Google\Model
{
/**
* @var string
*/
public $kind;
protected $namespaceType = ManagedZoneServiceDirectoryConfigNamespace::class;
protected $namespaceDataType = '';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedZoneServiceDirectoryConfigNamespace
*/
public function setNamespace(ManagedZoneServiceDirectoryConfigNamespace $namespace)
{
$this->namespace = $namespace;
}
/**
* @return ManagedZoneServiceDirectoryConfigNamespace
*/
public function getNamespace()
{
return $this->namespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneServiceDirectoryConfig::class, 'Google_Service_Dns_ManagedZoneServiceDirectoryConfig');

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\Dns;
class ManagedZoneServiceDirectoryConfigNamespace extends \Google\Model
{
/**
* @var string
*/
public $deletionTime;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $namespaceUrl;
/**
* @param string
*/
public function setDeletionTime($deletionTime)
{
$this->deletionTime = $deletionTime;
}
/**
* @return string
*/
public function getDeletionTime()
{
return $this->deletionTime;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNamespaceUrl($namespaceUrl)
{
$this->namespaceUrl = $namespaceUrl;
}
/**
* @return string
*/
public function getNamespaceUrl()
{
return $this->namespaceUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneServiceDirectoryConfigNamespace::class, 'Google_Service_Dns_ManagedZoneServiceDirectoryConfigNamespace');

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\Dns;
class ManagedZonesListResponse extends \Google\Collection
{
protected $collection_key = 'managedZones';
/**
* @var string
*/
public $kind;
protected $managedZonesType = ManagedZone::class;
protected $managedZonesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedZone[]
*/
public function setManagedZones($managedZones)
{
$this->managedZones = $managedZones;
}
/**
* @return ManagedZone[]
*/
public function getManagedZones()
{
return $this->managedZones;
}
/**
* @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(ManagedZonesListResponse::class, 'Google_Service_Dns_ManagedZonesListResponse');

View File

@@ -0,0 +1,166 @@
<?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\Dns;
class Operation extends \Google\Model
{
protected $dnsKeyContextType = OperationDnsKeyContext::class;
protected $dnsKeyContextDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $user;
protected $zoneContextType = OperationManagedZoneContext::class;
protected $zoneContextDataType = '';
/**
* @param OperationDnsKeyContext
*/
public function setDnsKeyContext(OperationDnsKeyContext $dnsKeyContext)
{
$this->dnsKeyContext = $dnsKeyContext;
}
/**
* @return OperationDnsKeyContext
*/
public function getDnsKeyContext()
{
return $this->dnsKeyContext;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
/**
* @param OperationManagedZoneContext
*/
public function setZoneContext(OperationManagedZoneContext $zoneContext)
{
$this->zoneContext = $zoneContext;
}
/**
* @return OperationManagedZoneContext
*/
public function getZoneContext()
{
return $this->zoneContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Dns_Operation');

View File

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

View File

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

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\Dns;
class PoliciesListResponse extends \Google\Collection
{
protected $collection_key = 'policies';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
protected $policiesType = Policy::class;
protected $policiesDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Policy[]
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return Policy[]
*/
public function getPolicies()
{
return $this->policies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PoliciesListResponse::class, 'Google_Service_Dns_PoliciesListResponse');

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\Dns;
class PoliciesPatchResponse extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PoliciesPatchResponse::class, 'Google_Service_Dns_PoliciesPatchResponse');

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\Dns;
class PoliciesUpdateResponse extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PoliciesUpdateResponse::class, 'Google_Service_Dns_PoliciesUpdateResponse');

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dns;
class Policy extends \Google\Collection
{
protected $collection_key = 'networks';
protected $alternativeNameServerConfigType = PolicyAlternativeNameServerConfig::class;
protected $alternativeNameServerConfigDataType = '';
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $enableInboundForwarding;
/**
* @var bool
*/
public $enableLogging;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $networksType = PolicyNetwork::class;
protected $networksDataType = 'array';
/**
* @param PolicyAlternativeNameServerConfig
*/
public function setAlternativeNameServerConfig(PolicyAlternativeNameServerConfig $alternativeNameServerConfig)
{
$this->alternativeNameServerConfig = $alternativeNameServerConfig;
}
/**
* @return PolicyAlternativeNameServerConfig
*/
public function getAlternativeNameServerConfig()
{
return $this->alternativeNameServerConfig;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param bool
*/
public function setEnableInboundForwarding($enableInboundForwarding)
{
$this->enableInboundForwarding = $enableInboundForwarding;
}
/**
* @return bool
*/
public function getEnableInboundForwarding()
{
return $this->enableInboundForwarding;
}
/**
* @param bool
*/
public function setEnableLogging($enableLogging)
{
$this->enableLogging = $enableLogging;
}
/**
* @return bool
*/
public function getEnableLogging()
{
return $this->enableLogging;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PolicyNetwork[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return PolicyNetwork[]
*/
public function getNetworks()
{
return $this->networks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_Dns_Policy');

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\Dns;
class PolicyAlternativeNameServerConfig extends \Google\Collection
{
protected $collection_key = 'targetNameServers';
/**
* @var string
*/
public $kind;
protected $targetNameServersType = PolicyAlternativeNameServerConfigTargetNameServer::class;
protected $targetNameServersDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param PolicyAlternativeNameServerConfigTargetNameServer[]
*/
public function setTargetNameServers($targetNameServers)
{
$this->targetNameServers = $targetNameServers;
}
/**
* @return PolicyAlternativeNameServerConfigTargetNameServer[]
*/
public function getTargetNameServers()
{
return $this->targetNameServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyAlternativeNameServerConfig::class, 'Google_Service_Dns_PolicyAlternativeNameServerConfig');

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\Dns;
class PolicyAlternativeNameServerConfigTargetNameServer extends \Google\Model
{
/**
* @var string
*/
public $forwardingPath;
/**
* @var string
*/
public $ipv4Address;
/**
* @var string
*/
public $ipv6Address;
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setForwardingPath($forwardingPath)
{
$this->forwardingPath = $forwardingPath;
}
/**
* @return string
*/
public function getForwardingPath()
{
return $this->forwardingPath;
}
/**
* @param string
*/
public function setIpv4Address($ipv4Address)
{
$this->ipv4Address = $ipv4Address;
}
/**
* @return string
*/
public function getIpv4Address()
{
return $this->ipv4Address;
}
/**
* @param string
*/
public function setIpv6Address($ipv6Address)
{
$this->ipv6Address = $ipv6Address;
}
/**
* @return string
*/
public function getIpv6Address()
{
return $this->ipv6Address;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyAlternativeNameServerConfigTargetNameServer::class, 'Google_Service_Dns_PolicyAlternativeNameServerConfigTargetNameServer');

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\Dns;
class PolicyNetwork extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $networkUrl;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNetworkUrl($networkUrl)
{
$this->networkUrl = $networkUrl;
}
/**
* @return string
*/
public function getNetworkUrl()
{
return $this->networkUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyNetwork::class, 'Google_Service_Dns_PolicyNetwork');

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\Dns;
class Project extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $number;
protected $quotaType = Quota::class;
protected $quotaDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return string
*/
public function getNumber()
{
return $this->number;
}
/**
* @param Quota
*/
public function setQuota(Quota $quota)
{
$this->quota = $quota;
}
/**
* @return Quota
*/
public function getQuota()
{
return $this->quota;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Project::class, 'Google_Service_Dns_Project');

View File

@@ -0,0 +1,493 @@
<?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\Dns;
class Quota extends \Google\Collection
{
protected $collection_key = 'whitelistedKeySpecs';
/**
* @var int
*/
public $dnsKeysPerManagedZone;
/**
* @var int
*/
public $gkeClustersPerManagedZone;
/**
* @var int
*/
public $gkeClustersPerPolicy;
/**
* @var int
*/
public $gkeClustersPerResponsePolicy;
/**
* @var int
*/
public $internetHealthChecksPerManagedZone;
/**
* @var int
*/
public $itemsPerRoutingPolicy;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $managedZones;
/**
* @var int
*/
public $managedZonesPerGkeCluster;
/**
* @var int
*/
public $managedZonesPerNetwork;
/**
* @var int
*/
public $nameserversPerDelegation;
/**
* @var int
*/
public $networksPerManagedZone;
/**
* @var int
*/
public $networksPerPolicy;
/**
* @var int
*/
public $networksPerResponsePolicy;
/**
* @var int
*/
public $peeringZonesPerTargetNetwork;
/**
* @var int
*/
public $policies;
/**
* @var int
*/
public $resourceRecordsPerRrset;
/**
* @var int
*/
public $responsePolicies;
/**
* @var int
*/
public $responsePolicyRulesPerResponsePolicy;
/**
* @var int
*/
public $rrsetAdditionsPerChange;
/**
* @var int
*/
public $rrsetDeletionsPerChange;
/**
* @var int
*/
public $rrsetsPerManagedZone;
/**
* @var int
*/
public $targetNameServersPerManagedZone;
/**
* @var int
*/
public $targetNameServersPerPolicy;
/**
* @var int
*/
public $totalRrdataSizePerChange;
protected $whitelistedKeySpecsType = DnsKeySpec::class;
protected $whitelistedKeySpecsDataType = 'array';
/**
* @param int
*/
public function setDnsKeysPerManagedZone($dnsKeysPerManagedZone)
{
$this->dnsKeysPerManagedZone = $dnsKeysPerManagedZone;
}
/**
* @return int
*/
public function getDnsKeysPerManagedZone()
{
return $this->dnsKeysPerManagedZone;
}
/**
* @param int
*/
public function setGkeClustersPerManagedZone($gkeClustersPerManagedZone)
{
$this->gkeClustersPerManagedZone = $gkeClustersPerManagedZone;
}
/**
* @return int
*/
public function getGkeClustersPerManagedZone()
{
return $this->gkeClustersPerManagedZone;
}
/**
* @param int
*/
public function setGkeClustersPerPolicy($gkeClustersPerPolicy)
{
$this->gkeClustersPerPolicy = $gkeClustersPerPolicy;
}
/**
* @return int
*/
public function getGkeClustersPerPolicy()
{
return $this->gkeClustersPerPolicy;
}
/**
* @param int
*/
public function setGkeClustersPerResponsePolicy($gkeClustersPerResponsePolicy)
{
$this->gkeClustersPerResponsePolicy = $gkeClustersPerResponsePolicy;
}
/**
* @return int
*/
public function getGkeClustersPerResponsePolicy()
{
return $this->gkeClustersPerResponsePolicy;
}
/**
* @param int
*/
public function setInternetHealthChecksPerManagedZone($internetHealthChecksPerManagedZone)
{
$this->internetHealthChecksPerManagedZone = $internetHealthChecksPerManagedZone;
}
/**
* @return int
*/
public function getInternetHealthChecksPerManagedZone()
{
return $this->internetHealthChecksPerManagedZone;
}
/**
* @param int
*/
public function setItemsPerRoutingPolicy($itemsPerRoutingPolicy)
{
$this->itemsPerRoutingPolicy = $itemsPerRoutingPolicy;
}
/**
* @return int
*/
public function getItemsPerRoutingPolicy()
{
return $this->itemsPerRoutingPolicy;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setManagedZones($managedZones)
{
$this->managedZones = $managedZones;
}
/**
* @return int
*/
public function getManagedZones()
{
return $this->managedZones;
}
/**
* @param int
*/
public function setManagedZonesPerGkeCluster($managedZonesPerGkeCluster)
{
$this->managedZonesPerGkeCluster = $managedZonesPerGkeCluster;
}
/**
* @return int
*/
public function getManagedZonesPerGkeCluster()
{
return $this->managedZonesPerGkeCluster;
}
/**
* @param int
*/
public function setManagedZonesPerNetwork($managedZonesPerNetwork)
{
$this->managedZonesPerNetwork = $managedZonesPerNetwork;
}
/**
* @return int
*/
public function getManagedZonesPerNetwork()
{
return $this->managedZonesPerNetwork;
}
/**
* @param int
*/
public function setNameserversPerDelegation($nameserversPerDelegation)
{
$this->nameserversPerDelegation = $nameserversPerDelegation;
}
/**
* @return int
*/
public function getNameserversPerDelegation()
{
return $this->nameserversPerDelegation;
}
/**
* @param int
*/
public function setNetworksPerManagedZone($networksPerManagedZone)
{
$this->networksPerManagedZone = $networksPerManagedZone;
}
/**
* @return int
*/
public function getNetworksPerManagedZone()
{
return $this->networksPerManagedZone;
}
/**
* @param int
*/
public function setNetworksPerPolicy($networksPerPolicy)
{
$this->networksPerPolicy = $networksPerPolicy;
}
/**
* @return int
*/
public function getNetworksPerPolicy()
{
return $this->networksPerPolicy;
}
/**
* @param int
*/
public function setNetworksPerResponsePolicy($networksPerResponsePolicy)
{
$this->networksPerResponsePolicy = $networksPerResponsePolicy;
}
/**
* @return int
*/
public function getNetworksPerResponsePolicy()
{
return $this->networksPerResponsePolicy;
}
/**
* @param int
*/
public function setPeeringZonesPerTargetNetwork($peeringZonesPerTargetNetwork)
{
$this->peeringZonesPerTargetNetwork = $peeringZonesPerTargetNetwork;
}
/**
* @return int
*/
public function getPeeringZonesPerTargetNetwork()
{
return $this->peeringZonesPerTargetNetwork;
}
/**
* @param int
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return int
*/
public function getPolicies()
{
return $this->policies;
}
/**
* @param int
*/
public function setResourceRecordsPerRrset($resourceRecordsPerRrset)
{
$this->resourceRecordsPerRrset = $resourceRecordsPerRrset;
}
/**
* @return int
*/
public function getResourceRecordsPerRrset()
{
return $this->resourceRecordsPerRrset;
}
/**
* @param int
*/
public function setResponsePolicies($responsePolicies)
{
$this->responsePolicies = $responsePolicies;
}
/**
* @return int
*/
public function getResponsePolicies()
{
return $this->responsePolicies;
}
/**
* @param int
*/
public function setResponsePolicyRulesPerResponsePolicy($responsePolicyRulesPerResponsePolicy)
{
$this->responsePolicyRulesPerResponsePolicy = $responsePolicyRulesPerResponsePolicy;
}
/**
* @return int
*/
public function getResponsePolicyRulesPerResponsePolicy()
{
return $this->responsePolicyRulesPerResponsePolicy;
}
/**
* @param int
*/
public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange)
{
$this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange;
}
/**
* @return int
*/
public function getRrsetAdditionsPerChange()
{
return $this->rrsetAdditionsPerChange;
}
/**
* @param int
*/
public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange)
{
$this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange;
}
/**
* @return int
*/
public function getRrsetDeletionsPerChange()
{
return $this->rrsetDeletionsPerChange;
}
/**
* @param int
*/
public function setRrsetsPerManagedZone($rrsetsPerManagedZone)
{
$this->rrsetsPerManagedZone = $rrsetsPerManagedZone;
}
/**
* @return int
*/
public function getRrsetsPerManagedZone()
{
return $this->rrsetsPerManagedZone;
}
/**
* @param int
*/
public function setTargetNameServersPerManagedZone($targetNameServersPerManagedZone)
{
$this->targetNameServersPerManagedZone = $targetNameServersPerManagedZone;
}
/**
* @return int
*/
public function getTargetNameServersPerManagedZone()
{
return $this->targetNameServersPerManagedZone;
}
/**
* @param int
*/
public function setTargetNameServersPerPolicy($targetNameServersPerPolicy)
{
$this->targetNameServersPerPolicy = $targetNameServersPerPolicy;
}
/**
* @return int
*/
public function getTargetNameServersPerPolicy()
{
return $this->targetNameServersPerPolicy;
}
/**
* @param int
*/
public function setTotalRrdataSizePerChange($totalRrdataSizePerChange)
{
$this->totalRrdataSizePerChange = $totalRrdataSizePerChange;
}
/**
* @return int
*/
public function getTotalRrdataSizePerChange()
{
return $this->totalRrdataSizePerChange;
}
/**
* @param DnsKeySpec[]
*/
public function setWhitelistedKeySpecs($whitelistedKeySpecs)
{
$this->whitelistedKeySpecs = $whitelistedKeySpecs;
}
/**
* @return DnsKeySpec[]
*/
public function getWhitelistedKeySpecs()
{
return $this->whitelistedKeySpecs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Quota::class, 'Google_Service_Dns_Quota');

View File

@@ -0,0 +1,110 @@
<?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\Dns;
class RRSetRoutingPolicy extends \Google\Model
{
protected $geoType = RRSetRoutingPolicyGeoPolicy::class;
protected $geoDataType = '';
/**
* @var string
*/
public $healthCheck;
/**
* @var string
*/
public $kind;
protected $primaryBackupType = RRSetRoutingPolicyPrimaryBackupPolicy::class;
protected $primaryBackupDataType = '';
protected $wrrType = RRSetRoutingPolicyWrrPolicy::class;
protected $wrrDataType = '';
/**
* @param RRSetRoutingPolicyGeoPolicy
*/
public function setGeo(RRSetRoutingPolicyGeoPolicy $geo)
{
$this->geo = $geo;
}
/**
* @return RRSetRoutingPolicyGeoPolicy
*/
public function getGeo()
{
return $this->geo;
}
/**
* @param string
*/
public function setHealthCheck($healthCheck)
{
$this->healthCheck = $healthCheck;
}
/**
* @return string
*/
public function getHealthCheck()
{
return $this->healthCheck;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RRSetRoutingPolicyPrimaryBackupPolicy
*/
public function setPrimaryBackup(RRSetRoutingPolicyPrimaryBackupPolicy $primaryBackup)
{
$this->primaryBackup = $primaryBackup;
}
/**
* @return RRSetRoutingPolicyPrimaryBackupPolicy
*/
public function getPrimaryBackup()
{
return $this->primaryBackup;
}
/**
* @param RRSetRoutingPolicyWrrPolicy
*/
public function setWrr(RRSetRoutingPolicyWrrPolicy $wrr)
{
$this->wrr = $wrr;
}
/**
* @return RRSetRoutingPolicyWrrPolicy
*/
public function getWrr()
{
return $this->wrr;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicy::class, 'Google_Service_Dns_RRSetRoutingPolicy');

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\Dns;
class RRSetRoutingPolicyGeoPolicy extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var bool
*/
public $enableFencing;
protected $itemsType = RRSetRoutingPolicyGeoPolicyGeoPolicyItem::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param bool
*/
public function setEnableFencing($enableFencing)
{
$this->enableFencing = $enableFencing;
}
/**
* @return bool
*/
public function getEnableFencing()
{
return $this->enableFencing;
}
/**
* @param RRSetRoutingPolicyGeoPolicyGeoPolicyItem[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return RRSetRoutingPolicyGeoPolicyGeoPolicyItem[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicyGeoPolicy::class, 'Google_Service_Dns_RRSetRoutingPolicyGeoPolicy');

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\Dns;
class RRSetRoutingPolicyGeoPolicyGeoPolicyItem extends \Google\Collection
{
protected $collection_key = 'signatureRrdatas';
protected $healthCheckedTargetsType = RRSetRoutingPolicyHealthCheckTargets::class;
protected $healthCheckedTargetsDataType = '';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $location;
/**
* @var string[]
*/
public $rrdatas;
/**
* @var string[]
*/
public $signatureRrdatas;
/**
* @param RRSetRoutingPolicyHealthCheckTargets
*/
public function setHealthCheckedTargets(RRSetRoutingPolicyHealthCheckTargets $healthCheckedTargets)
{
$this->healthCheckedTargets = $healthCheckedTargets;
}
/**
* @return RRSetRoutingPolicyHealthCheckTargets
*/
public function getHealthCheckedTargets()
{
return $this->healthCheckedTargets;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string[]
*/
public function setRrdatas($rrdatas)
{
$this->rrdatas = $rrdatas;
}
/**
* @return string[]
*/
public function getRrdatas()
{
return $this->rrdatas;
}
/**
* @param string[]
*/
public function setSignatureRrdatas($signatureRrdatas)
{
$this->signatureRrdatas = $signatureRrdatas;
}
/**
* @return string[]
*/
public function getSignatureRrdatas()
{
return $this->signatureRrdatas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicyGeoPolicyGeoPolicyItem::class, 'Google_Service_Dns_RRSetRoutingPolicyGeoPolicyGeoPolicyItem');

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\Dns;
class RRSetRoutingPolicyHealthCheckTargets extends \Google\Collection
{
protected $collection_key = 'internalLoadBalancers';
/**
* @var string[]
*/
public $externalEndpoints;
protected $internalLoadBalancersType = RRSetRoutingPolicyLoadBalancerTarget::class;
protected $internalLoadBalancersDataType = 'array';
/**
* @param string[]
*/
public function setExternalEndpoints($externalEndpoints)
{
$this->externalEndpoints = $externalEndpoints;
}
/**
* @return string[]
*/
public function getExternalEndpoints()
{
return $this->externalEndpoints;
}
/**
* @param RRSetRoutingPolicyLoadBalancerTarget[]
*/
public function setInternalLoadBalancers($internalLoadBalancers)
{
$this->internalLoadBalancers = $internalLoadBalancers;
}
/**
* @return RRSetRoutingPolicyLoadBalancerTarget[]
*/
public function getInternalLoadBalancers()
{
return $this->internalLoadBalancers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicyHealthCheckTargets::class, 'Google_Service_Dns_RRSetRoutingPolicyHealthCheckTargets');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dns;
class RRSetRoutingPolicyLoadBalancerTarget extends \Google\Model
{
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $ipProtocol;
/**
* @var string
*/
public $kind;
/**
* @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 setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @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(RRSetRoutingPolicyLoadBalancerTarget::class, 'Google_Service_Dns_RRSetRoutingPolicyLoadBalancerTarget');

View File

@@ -0,0 +1,85 @@
<?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\Dns;
class RRSetRoutingPolicyPrimaryBackupPolicy extends \Google\Model
{
protected $backupGeoTargetsType = RRSetRoutingPolicyGeoPolicy::class;
protected $backupGeoTargetsDataType = '';
/**
* @var string
*/
public $kind;
protected $primaryTargetsType = RRSetRoutingPolicyHealthCheckTargets::class;
protected $primaryTargetsDataType = '';
public $trickleTraffic;
/**
* @param RRSetRoutingPolicyGeoPolicy
*/
public function setBackupGeoTargets(RRSetRoutingPolicyGeoPolicy $backupGeoTargets)
{
$this->backupGeoTargets = $backupGeoTargets;
}
/**
* @return RRSetRoutingPolicyGeoPolicy
*/
public function getBackupGeoTargets()
{
return $this->backupGeoTargets;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RRSetRoutingPolicyHealthCheckTargets
*/
public function setPrimaryTargets(RRSetRoutingPolicyHealthCheckTargets $primaryTargets)
{
$this->primaryTargets = $primaryTargets;
}
/**
* @return RRSetRoutingPolicyHealthCheckTargets
*/
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(RRSetRoutingPolicyPrimaryBackupPolicy::class, 'Google_Service_Dns_RRSetRoutingPolicyPrimaryBackupPolicy');

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\Dns;
class RRSetRoutingPolicyWrrPolicy extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = RRSetRoutingPolicyWrrPolicyWrrPolicyItem::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param RRSetRoutingPolicyWrrPolicyWrrPolicyItem[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return RRSetRoutingPolicyWrrPolicyWrrPolicyItem[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RRSetRoutingPolicyWrrPolicy::class, 'Google_Service_Dns_RRSetRoutingPolicyWrrPolicy');

View File

@@ -0,0 +1,106 @@
<?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\Dns;
class RRSetRoutingPolicyWrrPolicyWrrPolicyItem extends \Google\Collection
{
protected $collection_key = 'signatureRrdatas';
protected $healthCheckedTargetsType = RRSetRoutingPolicyHealthCheckTargets::class;
protected $healthCheckedTargetsDataType = '';
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $rrdatas;
/**
* @var string[]
*/
public $signatureRrdatas;
public $weight;
/**
* @param RRSetRoutingPolicyHealthCheckTargets
*/
public function setHealthCheckedTargets(RRSetRoutingPolicyHealthCheckTargets $healthCheckedTargets)
{
$this->healthCheckedTargets = $healthCheckedTargets;
}
/**
* @return RRSetRoutingPolicyHealthCheckTargets
*/
public function getHealthCheckedTargets()
{
return $this->healthCheckedTargets;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setRrdatas($rrdatas)
{
$this->rrdatas = $rrdatas;
}
/**
* @return string[]
*/
public function getRrdatas()
{
return $this->rrdatas;
}
/**
* @param string[]
*/
public function setSignatureRrdatas($signatureRrdatas)
{
$this->signatureRrdatas = $signatureRrdatas;
}
/**
* @return string[]
*/
public function getSignatureRrdatas()
{
return $this->signatureRrdatas;
}
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(RRSetRoutingPolicyWrrPolicyWrrPolicyItem::class, 'Google_Service_Dns_RRSetRoutingPolicyWrrPolicyWrrPolicyItem');

View File

@@ -0,0 +1,105 @@
<?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\Dns\Resource;
use Google\Service\Dns\Change;
use Google\Service\Dns\ChangesListResponse;
/**
* The "changes" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $changes = $dnsService->changes;
* </code>
*/
class Changes extends \Google\Service\Resource
{
/**
* Atomically updates the ResourceRecordSet collection. (changes.create)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param Change $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Change
* @throws \Google\Service\Exception
*/
public function create($project, $managedZone, Change $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Change::class);
}
/**
* Fetches the representation of an existing Change. (changes.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $changeId The identifier of the requested change, from a
* previous ResourceRecordSetsChangeResponse.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Change
* @throws \Google\Service\Exception
*/
public function get($project, $managedZone, $changeId, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Change::class);
}
/**
* Enumerates Changes to a ResourceRecordSet collection. (changes.listChanges)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @opt_param string sortBy Sorting criterion. The only supported value is
* change sequence.
* @opt_param string sortOrder Sorting order direction: 'ascending' or
* 'descending'.
* @return ChangesListResponse
* @throws \Google\Service\Exception
*/
public function listChanges($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ChangesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Changes::class, 'Google_Service_Dns_Resource_Changes');

View File

@@ -0,0 +1,85 @@
<?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\Dns\Resource;
use Google\Service\Dns\DnsKey;
use Google\Service\Dns\DnsKeysListResponse;
/**
* The "dnsKeys" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $dnsKeys = $dnsService->dnsKeys;
* </code>
*/
class DnsKeys extends \Google\Service\Resource
{
/**
* Fetches the representation of an existing DnsKey. (dnsKeys.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $dnsKeyId The identifier of the requested DnsKey.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @opt_param string digestType An optional comma-separated list of digest types
* to compute and display for key signing keys. If omitted, the recommended
* digest type is computed and displayed.
* @return DnsKey
* @throws \Google\Service\Exception
*/
public function get($project, $managedZone, $dnsKeyId, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'dnsKeyId' => $dnsKeyId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DnsKey::class);
}
/**
* Enumerates DnsKeys to a ResourceRecordSet collection. (dnsKeys.listDnsKeys)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param array $optParams Optional parameters.
*
* @opt_param string digestType An optional comma-separated list of digest types
* to compute and display for key signing keys. If omitted, the recommended
* digest type is computed and displayed.
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @return DnsKeysListResponse
* @throws \Google\Service\Exception
*/
public function listDnsKeys($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], DnsKeysListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsKeys::class, 'Google_Service_Dns_Resource_DnsKeys');

View File

@@ -0,0 +1,84 @@
<?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\Dns\Resource;
use Google\Service\Dns\ManagedZoneOperationsListResponse;
use Google\Service\Dns\Operation;
/**
* The "managedZoneOperations" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $managedZoneOperations = $dnsService->managedZoneOperations;
* </code>
*/
class ManagedZoneOperations extends \Google\Service\Resource
{
/**
* Fetches the representation of an existing Operation.
* (managedZoneOperations.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request.
* @param string $operation Identifies the operation addressed by this request
* (ID of the operation).
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($project, $managedZone, $operation, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'operation' => $operation];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Enumerates Operations for the given ManagedZone.
* (managedZoneOperations.listManagedZoneOperations)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @opt_param string sortBy Sorting criterion. The only supported values are
* START_TIME and ID.
* @return ManagedZoneOperationsListResponse
* @throws \Google\Service\Exception
*/
public function listManagedZoneOperations($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManagedZoneOperationsListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZoneOperations::class, 'Google_Service_Dns_Resource_ManagedZoneOperations');

View File

@@ -0,0 +1,227 @@
<?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\Dns\Resource;
use Google\Service\Dns\GoogleIamV1GetIamPolicyRequest;
use Google\Service\Dns\GoogleIamV1Policy;
use Google\Service\Dns\GoogleIamV1SetIamPolicyRequest;
use Google\Service\Dns\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\Dns\GoogleIamV1TestIamPermissionsResponse;
use Google\Service\Dns\ManagedZone;
use Google\Service\Dns\ManagedZonesListResponse;
use Google\Service\Dns\Operation;
/**
* The "managedZones" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $managedZones = $dnsService->managedZones;
* </code>
*/
class ManagedZones extends \Google\Service\Resource
{
/**
* Creates a new ManagedZone. (managedZones.create)
*
* @param string $project Identifies the project addressed by this request.
* @param ManagedZone $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ManagedZone
* @throws \Google\Service\Exception
*/
public function create($project, ManagedZone $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ManagedZone::class);
}
/**
* Deletes a previously created ManagedZone. (managedZones.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @throws \Google\Service\Exception
*/
public function delete($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Fetches the representation of an existing ManagedZone. (managedZones.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ManagedZone
* @throws \Google\Service\Exception
*/
public function get($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagedZone::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (managedZones.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 GoogleIamV1GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, GoogleIamV1GetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Enumerates ManagedZones that have been created but not yet deleted.
* (managedZones.listManagedZones)
*
* @param string $project Identifies the project addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string dnsName Restricts the list to return only zones with this
* domain name.
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @return ManagedZonesListResponse
* @throws \Google\Service\Exception
*/
public function listManagedZones($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManagedZonesListResponse::class);
}
/**
* Applies a partial update to an existing ManagedZone. (managedZones.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param ManagedZone $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($project, $managedZone, ManagedZone $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (managedZones.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 GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this returns 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.
* (managedZones.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 GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
/**
* Updates an existing ManagedZone. (managedZones.update)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param ManagedZone $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Operation
* @throws \Google\Service\Exception
*/
public function update($project, $managedZone, ManagedZone $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedZones::class, 'Google_Service_Dns_Resource_ManagedZones');

View File

@@ -0,0 +1,159 @@
<?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\Dns\Resource;
use Google\Service\Dns\PoliciesListResponse;
use Google\Service\Dns\PoliciesPatchResponse;
use Google\Service\Dns\PoliciesUpdateResponse;
use Google\Service\Dns\Policy;
/**
* The "policies" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $policies = $dnsService->policies;
* </code>
*/
class Policies extends \Google\Service\Resource
{
/**
* Creates a new Policy. (policies.create)
*
* @param string $project Identifies the project addressed by this request.
* @param Policy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Policy
* @throws \Google\Service\Exception
*/
public function create($project, Policy $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Policy::class);
}
/**
* Deletes a previously created Policy. Fails if the policy is still being
* referenced by a network. (policies.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $policy User given friendly name of the policy addressed by
* this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @throws \Google\Service\Exception
*/
public function delete($project, $policy, $optParams = [])
{
$params = ['project' => $project, 'policy' => $policy];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Fetches the representation of an existing Policy. (policies.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $policy User given friendly name of the policy addressed by
* this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Policy
* @throws \Google\Service\Exception
*/
public function get($project, $policy, $optParams = [])
{
$params = ['project' => $project, 'policy' => $policy];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Policy::class);
}
/**
* Enumerates all Policies associated with a project. (policies.listPolicies)
*
* @param string $project Identifies the project addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @return PoliciesListResponse
* @throws \Google\Service\Exception
*/
public function listPolicies($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], PoliciesListResponse::class);
}
/**
* Applies a partial update to an existing Policy. (policies.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $policy User given friendly name of the policy addressed by
* this request.
* @param Policy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return PoliciesPatchResponse
* @throws \Google\Service\Exception
*/
public function patch($project, $policy, Policy $postBody, $optParams = [])
{
$params = ['project' => $project, 'policy' => $policy, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], PoliciesPatchResponse::class);
}
/**
* Updates an existing Policy. (policies.update)
*
* @param string $project Identifies the project addressed by this request.
* @param string $policy User given friendly name of the policy addressed by
* this request.
* @param Policy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return PoliciesUpdateResponse
* @throws \Google\Service\Exception
*/
public function update($project, $policy, Policy $postBody, $optParams = [])
{
$params = ['project' => $project, 'policy' => $policy, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], PoliciesUpdateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policies::class, 'Google_Service_Dns_Resource_Policies');

View File

@@ -0,0 +1,53 @@
<?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\Dns\Resource;
use Google\Service\Dns\Project;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $projects = $dnsService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
/**
* Fetches the representation of an existing Project. (projects.get)
*
* @param string $project Identifies the project addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return Project
* @throws \Google\Service\Exception
*/
public function get($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Project::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Dns_Resource_Projects');

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\Dns\Resource;
/**
* The "managedZones" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $managedZones = $dnsService->managedZones;
* </code>
*/
class ProjectsManagedZones extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsManagedZones::class, 'Google_Service_Dns_Resource_ProjectsManagedZones');

View File

@@ -0,0 +1,120 @@
<?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\Dns\Resource;
use Google\Service\Dns\ResourceRecordSet;
use Google\Service\Dns\ResourceRecordSetsDeleteResponse;
/**
* The "rrsets" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $rrsets = $dnsService->rrsets;
* </code>
*/
class ProjectsManagedZonesRrsets extends \Google\Service\Resource
{
/**
* Creates a new ResourceRecordSet. (rrsets.create)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param ResourceRecordSet $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
*/
public function create($project, $managedZone, ResourceRecordSet $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ResourceRecordSet::class);
}
/**
* Deletes a previously created ResourceRecordSet. (rrsets.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSetsDeleteResponse
*/
public function delete($project, $managedZone, $name, $type, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ResourceRecordSetsDeleteResponse::class);
}
/**
* Fetches the representation of an existing ResourceRecordSet. (rrsets.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
*/
public function get($project, $managedZone, $name, $type, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ResourceRecordSet::class);
}
/**
* Applies a partial update to an existing ResourceRecordSet. (rrsets.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param ResourceRecordSet $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
*/
public function patch($project, $managedZone, $name, $type, ResourceRecordSet $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ResourceRecordSet::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsManagedZonesRrsets::class, 'Google_Service_Dns_Resource_ProjectsManagedZonesRrsets');

View File

@@ -0,0 +1,154 @@
<?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\Dns\Resource;
use Google\Service\Dns\ResourceRecordSet;
use Google\Service\Dns\ResourceRecordSetsDeleteResponse;
use Google\Service\Dns\ResourceRecordSetsListResponse;
/**
* The "resourceRecordSets" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $resourceRecordSets = $dnsService->resourceRecordSets;
* </code>
*/
class ResourceRecordSets extends \Google\Service\Resource
{
/**
* Creates a new ResourceRecordSet. (resourceRecordSets.create)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param ResourceRecordSet $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
* @throws \Google\Service\Exception
*/
public function create($project, $managedZone, ResourceRecordSet $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ResourceRecordSet::class);
}
/**
* Deletes a previously created ResourceRecordSet. (resourceRecordSets.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSetsDeleteResponse
* @throws \Google\Service\Exception
*/
public function delete($project, $managedZone, $name, $type, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ResourceRecordSetsDeleteResponse::class);
}
/**
* Fetches the representation of an existing ResourceRecordSet.
* (resourceRecordSets.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
* @throws \Google\Service\Exception
*/
public function get($project, $managedZone, $name, $type, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ResourceRecordSet::class);
}
/**
* Enumerates ResourceRecordSets that you have created but not yet deleted.
* (resourceRecordSets.listResourceRecordSets)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string name Restricts the list to return only records with this
* fully qualified domain name.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @opt_param string type Restricts the list to return only records of this
* type. If present, the "name" parameter must also be present.
* @return ResourceRecordSetsListResponse
* @throws \Google\Service\Exception
*/
public function listResourceRecordSets($project, $managedZone, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ResourceRecordSetsListResponse::class);
}
/**
* Applies a partial update to an existing ResourceRecordSet.
* (resourceRecordSets.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $managedZone Identifies the managed zone addressed by this
* request. Can be the managed zone name or ID.
* @param string $name Fully qualified domain name.
* @param string $type RRSet type.
* @param ResourceRecordSet $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResourceRecordSet
* @throws \Google\Service\Exception
*/
public function patch($project, $managedZone, $name, $type, ResourceRecordSet $postBody, $optParams = [])
{
$params = ['project' => $project, 'managedZone' => $managedZone, 'name' => $name, 'type' => $type, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ResourceRecordSet::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceRecordSets::class, 'Google_Service_Dns_Resource_ResourceRecordSets');

View File

@@ -0,0 +1,162 @@
<?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\Dns\Resource;
use Google\Service\Dns\ResponsePoliciesListResponse;
use Google\Service\Dns\ResponsePoliciesPatchResponse;
use Google\Service\Dns\ResponsePoliciesUpdateResponse;
use Google\Service\Dns\ResponsePolicy;
/**
* The "responsePolicies" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $responsePolicies = $dnsService->responsePolicies;
* </code>
*/
class ResponsePolicies extends \Google\Service\Resource
{
/**
* Creates a new Response Policy (responsePolicies.create)
*
* @param string $project Identifies the project addressed by this request.
* @param ResponsePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicy
* @throws \Google\Service\Exception
*/
public function create($project, ResponsePolicy $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ResponsePolicy::class);
}
/**
* Deletes a previously created Response Policy. Fails if the response policy is
* non-empty or still being referenced by a network. (responsePolicies.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @throws \Google\Service\Exception
*/
public function delete($project, $responsePolicy, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Fetches the representation of an existing Response Policy.
* (responsePolicies.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicy
* @throws \Google\Service\Exception
*/
public function get($project, $responsePolicy, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ResponsePolicy::class);
}
/**
* Enumerates all Response Policies associated with a project.
* (responsePolicies.listResponsePolicies)
*
* @param string $project Identifies the project addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @return ResponsePoliciesListResponse
* @throws \Google\Service\Exception
*/
public function listResponsePolicies($project, $optParams = [])
{
$params = ['project' => $project];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ResponsePoliciesListResponse::class);
}
/**
* Applies a partial update to an existing Response Policy.
* (responsePolicies.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the response policy
* addressed by this request.
* @param ResponsePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePoliciesPatchResponse
* @throws \Google\Service\Exception
*/
public function patch($project, $responsePolicy, ResponsePolicy $postBody, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ResponsePoliciesPatchResponse::class);
}
/**
* Updates an existing Response Policy. (responsePolicies.update)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* addressed by this request.
* @param ResponsePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePoliciesUpdateResponse
* @throws \Google\Service\Exception
*/
public function update($project, $responsePolicy, ResponsePolicy $postBody, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], ResponsePoliciesUpdateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicies::class, 'Google_Service_Dns_Resource_ResponsePolicies');

View File

@@ -0,0 +1,174 @@
<?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\Dns\Resource;
use Google\Service\Dns\ResponsePolicyRule;
use Google\Service\Dns\ResponsePolicyRulesListResponse;
use Google\Service\Dns\ResponsePolicyRulesPatchResponse;
use Google\Service\Dns\ResponsePolicyRulesUpdateResponse;
/**
* The "responsePolicyRules" collection of methods.
* Typical usage is:
* <code>
* $dnsService = new Google\Service\Dns(...);
* $responsePolicyRules = $dnsService->responsePolicyRules;
* </code>
*/
class ResponsePolicyRules extends \Google\Service\Resource
{
/**
* Creates a new Response Policy Rule. (responsePolicyRules.create)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* containing the Response Policy Rule.
* @param ResponsePolicyRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicyRule
* @throws \Google\Service\Exception
*/
public function create($project, $responsePolicy, ResponsePolicyRule $postBody, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ResponsePolicyRule::class);
}
/**
* Deletes a previously created Response Policy Rule.
* (responsePolicyRules.delete)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* containing the Response Policy Rule.
* @param string $responsePolicyRule User assigned name of the Response Policy
* Rule addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @throws \Google\Service\Exception
*/
public function delete($project, $responsePolicy, $responsePolicyRule, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'responsePolicyRule' => $responsePolicyRule];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Fetches the representation of an existing Response Policy Rule.
* (responsePolicyRules.get)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* containing the Response Policy Rule.
* @param string $responsePolicyRule User assigned name of the Response Policy
* Rule addressed by this request.
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicyRule
* @throws \Google\Service\Exception
*/
public function get($project, $responsePolicy, $responsePolicyRule, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'responsePolicyRule' => $responsePolicyRule];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ResponsePolicyRule::class);
}
/**
* Enumerates all Response Policy Rules associated with a project.
* (responsePolicyRules.listResponsePolicyRules)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy to
* list.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Optional. Maximum number of results to be returned.
* If unspecified, the server decides how many results to return.
* @opt_param string pageToken Optional. A tag returned by a previous list
* request that was truncated. Use this parameter to continue a previous list
* request.
* @return ResponsePolicyRulesListResponse
* @throws \Google\Service\Exception
*/
public function listResponsePolicyRules($project, $responsePolicy, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ResponsePolicyRulesListResponse::class);
}
/**
* Applies a partial update to an existing Response Policy Rule.
* (responsePolicyRules.patch)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* containing the Response Policy Rule.
* @param string $responsePolicyRule User assigned name of the Response Policy
* Rule addressed by this request.
* @param ResponsePolicyRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicyRulesPatchResponse
* @throws \Google\Service\Exception
*/
public function patch($project, $responsePolicy, $responsePolicyRule, ResponsePolicyRule $postBody, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'responsePolicyRule' => $responsePolicyRule, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ResponsePolicyRulesPatchResponse::class);
}
/**
* Updates an existing Response Policy Rule. (responsePolicyRules.update)
*
* @param string $project Identifies the project addressed by this request.
* @param string $responsePolicy User assigned name of the Response Policy
* containing the Response Policy Rule.
* @param string $responsePolicyRule User assigned name of the Response Policy
* Rule addressed by this request.
* @param ResponsePolicyRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clientOperationId For mutating operation requests only. An
* optional identifier specified by the client. Must be unique for operation
* resources in the Operations collection.
* @return ResponsePolicyRulesUpdateResponse
* @throws \Google\Service\Exception
*/
public function update($project, $responsePolicy, $responsePolicyRule, ResponsePolicyRule $postBody, $optParams = [])
{
$params = ['project' => $project, 'responsePolicy' => $responsePolicy, 'responsePolicyRule' => $responsePolicyRule, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], ResponsePolicyRulesUpdateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRules::class, 'Google_Service_Dns_Resource_ResponsePolicyRules');

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\Dns;
class ResourceRecordSet extends \Google\Collection
{
protected $collection_key = 'signatureRrdatas';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $routingPolicyType = RRSetRoutingPolicy::class;
protected $routingPolicyDataType = '';
/**
* @var string[]
*/
public $rrdatas;
/**
* @var string[]
*/
public $signatureRrdatas;
/**
* @var int
*/
public $ttl;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @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 setRrdatas($rrdatas)
{
$this->rrdatas = $rrdatas;
}
/**
* @return string[]
*/
public function getRrdatas()
{
return $this->rrdatas;
}
/**
* @param string[]
*/
public function setSignatureRrdatas($signatureRrdatas)
{
$this->signatureRrdatas = $signatureRrdatas;
}
/**
* @return string[]
*/
public function getSignatureRrdatas()
{
return $this->signatureRrdatas;
}
/**
* @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_Dns_ResourceRecordSet');

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

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\Dns;
class ResourceRecordSetsListResponse extends \Google\Collection
{
protected $collection_key = 'rrsets';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
protected $rrsetsType = ResourceRecordSet::class;
protected $rrsetsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ResourceRecordSet[]
*/
public function setRrsets($rrsets)
{
$this->rrsets = $rrsets;
}
/**
* @return ResourceRecordSet[]
*/
public function getRrsets()
{
return $this->rrsets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceRecordSetsListResponse::class, 'Google_Service_Dns_ResourceRecordSetsListResponse');

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\Dns;
class ResponseHeader extends \Google\Model
{
/**
* @var string
*/
public $operationId;
/**
* @param string
*/
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
/**
* @return string
*/
public function getOperationId()
{
return $this->operationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponseHeader::class, 'Google_Service_Dns_ResponseHeader');

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\Dns;
class ResponsePoliciesListResponse extends \Google\Collection
{
protected $collection_key = 'responsePolicies';
/**
* @var string
*/
public $nextPageToken;
protected $responsePoliciesType = ResponsePolicy::class;
protected $responsePoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ResponsePolicy[]
*/
public function setResponsePolicies($responsePolicies)
{
$this->responsePolicies = $responsePolicies;
}
/**
* @return ResponsePolicy[]
*/
public function getResponsePolicies()
{
return $this->responsePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePoliciesListResponse::class, 'Google_Service_Dns_ResponsePoliciesListResponse');

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\Dns;
class ResponsePoliciesPatchResponse extends \Google\Model
{
protected $responsePolicyType = ResponsePolicy::class;
protected $responsePolicyDataType = '';
/**
* @param ResponsePolicy
*/
public function setResponsePolicy(ResponsePolicy $responsePolicy)
{
$this->responsePolicy = $responsePolicy;
}
/**
* @return ResponsePolicy
*/
public function getResponsePolicy()
{
return $this->responsePolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePoliciesPatchResponse::class, 'Google_Service_Dns_ResponsePoliciesPatchResponse');

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\Dns;
class ResponsePoliciesUpdateResponse extends \Google\Model
{
protected $responsePolicyType = ResponsePolicy::class;
protected $responsePolicyDataType = '';
/**
* @param ResponsePolicy
*/
public function setResponsePolicy(ResponsePolicy $responsePolicy)
{
$this->responsePolicy = $responsePolicy;
}
/**
* @return ResponsePolicy
*/
public function getResponsePolicy()
{
return $this->responsePolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePoliciesUpdateResponse::class, 'Google_Service_Dns_ResponsePoliciesUpdateResponse');

View File

@@ -0,0 +1,149 @@
<?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\Dns;
class ResponsePolicy extends \Google\Collection
{
protected $collection_key = 'networks';
/**
* @var string
*/
public $description;
protected $gkeClustersType = ResponsePolicyGKECluster::class;
protected $gkeClustersDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $labels;
protected $networksType = ResponsePolicyNetwork::class;
protected $networksDataType = 'array';
/**
* @var string
*/
public $responsePolicyName;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param ResponsePolicyGKECluster[]
*/
public function setGkeClusters($gkeClusters)
{
$this->gkeClusters = $gkeClusters;
}
/**
* @return ResponsePolicyGKECluster[]
*/
public function getGkeClusters()
{
return $this->gkeClusters;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ResponsePolicyNetwork[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return ResponsePolicyNetwork[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @param string
*/
public function setResponsePolicyName($responsePolicyName)
{
$this->responsePolicyName = $responsePolicyName;
}
/**
* @return string
*/
public function getResponsePolicyName()
{
return $this->responsePolicyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicy::class, 'Google_Service_Dns_ResponsePolicy');

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\Dns;
class ResponsePolicyGKECluster extends \Google\Model
{
/**
* @var string
*/
public $gkeClusterName;
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setGkeClusterName($gkeClusterName)
{
$this->gkeClusterName = $gkeClusterName;
}
/**
* @return string
*/
public function getGkeClusterName()
{
return $this->gkeClusterName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyGKECluster::class, 'Google_Service_Dns_ResponsePolicyGKECluster');

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\Dns;
class ResponsePolicyNetwork extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $networkUrl;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNetworkUrl($networkUrl)
{
$this->networkUrl = $networkUrl;
}
/**
* @return string
*/
public function getNetworkUrl()
{
return $this->networkUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyNetwork::class, 'Google_Service_Dns_ResponsePolicyNetwork');

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\Dns;
class ResponsePolicyRule extends \Google\Model
{
/**
* @var string
*/
public $behavior;
/**
* @var string
*/
public $dnsName;
/**
* @var string
*/
public $kind;
protected $localDataType = ResponsePolicyRuleLocalData::class;
protected $localDataDataType = '';
/**
* @var string
*/
public $ruleName;
/**
* @param string
*/
public function setBehavior($behavior)
{
$this->behavior = $behavior;
}
/**
* @return string
*/
public function getBehavior()
{
return $this->behavior;
}
/**
* @param string
*/
public function setDnsName($dnsName)
{
$this->dnsName = $dnsName;
}
/**
* @return string
*/
public function getDnsName()
{
return $this->dnsName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ResponsePolicyRuleLocalData
*/
public function setLocalData(ResponsePolicyRuleLocalData $localData)
{
$this->localData = $localData;
}
/**
* @return ResponsePolicyRuleLocalData
*/
public function getLocalData()
{
return $this->localData;
}
/**
* @param string
*/
public function setRuleName($ruleName)
{
$this->ruleName = $ruleName;
}
/**
* @return string
*/
public function getRuleName()
{
return $this->ruleName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRule::class, 'Google_Service_Dns_ResponsePolicyRule');

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\Dns;
class ResponsePolicyRuleLocalData extends \Google\Collection
{
protected $collection_key = 'localDatas';
protected $localDatasType = ResourceRecordSet::class;
protected $localDatasDataType = 'array';
/**
* @param ResourceRecordSet[]
*/
public function setLocalDatas($localDatas)
{
$this->localDatas = $localDatas;
}
/**
* @return ResourceRecordSet[]
*/
public function getLocalDatas()
{
return $this->localDatas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRuleLocalData::class, 'Google_Service_Dns_ResponsePolicyRuleLocalData');

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\Dns;
class ResponsePolicyRulesListResponse extends \Google\Collection
{
protected $collection_key = 'responsePolicyRules';
/**
* @var string
*/
public $nextPageToken;
protected $responsePolicyRulesType = ResponsePolicyRule::class;
protected $responsePolicyRulesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ResponsePolicyRule[]
*/
public function setResponsePolicyRules($responsePolicyRules)
{
$this->responsePolicyRules = $responsePolicyRules;
}
/**
* @return ResponsePolicyRule[]
*/
public function getResponsePolicyRules()
{
return $this->responsePolicyRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRulesListResponse::class, 'Google_Service_Dns_ResponsePolicyRulesListResponse');

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\Dns;
class ResponsePolicyRulesPatchResponse extends \Google\Model
{
protected $responsePolicyRuleType = ResponsePolicyRule::class;
protected $responsePolicyRuleDataType = '';
/**
* @param ResponsePolicyRule
*/
public function setResponsePolicyRule(ResponsePolicyRule $responsePolicyRule)
{
$this->responsePolicyRule = $responsePolicyRule;
}
/**
* @return ResponsePolicyRule
*/
public function getResponsePolicyRule()
{
return $this->responsePolicyRule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRulesPatchResponse::class, 'Google_Service_Dns_ResponsePolicyRulesPatchResponse');

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\Dns;
class ResponsePolicyRulesUpdateResponse extends \Google\Model
{
protected $responsePolicyRuleType = ResponsePolicyRule::class;
protected $responsePolicyRuleDataType = '';
/**
* @param ResponsePolicyRule
*/
public function setResponsePolicyRule(ResponsePolicyRule $responsePolicyRule)
{
$this->responsePolicyRule = $responsePolicyRule;
}
/**
* @return ResponsePolicyRule
*/
public function getResponsePolicyRule()
{
return $this->responsePolicyRule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponsePolicyRulesUpdateResponse::class, 'Google_Service_Dns_ResponsePolicyRulesUpdateResponse');