|
| 1 | +<?php |
| 2 | +/* |
| 3 | + * Copyright 2014 Google Inc. |
| 4 | + * |
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | + * use this file except in compliance with the License. You may obtain a copy of |
| 7 | + * the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | + * License for the specific language governing permissions and limitations under |
| 15 | + * the License. |
| 16 | + */ |
| 17 | + |
| 18 | +namespace Google\Service\NetAppFiles; |
| 19 | + |
| 20 | +class EstablishVolumePeeringRequest extends \Google\Collection |
| 21 | +{ |
| 22 | + protected $collection_key = 'peerIpAddresses'; |
| 23 | + /** |
| 24 | + * Required. Name of the user's local source cluster to be peered with the |
| 25 | + * destination cluster. |
| 26 | + * |
| 27 | + * @var string |
| 28 | + */ |
| 29 | + public $peerClusterName; |
| 30 | + /** |
| 31 | + * Optional. List of IPv4 ip addresses to be used for peering. |
| 32 | + * |
| 33 | + * @var string[] |
| 34 | + */ |
| 35 | + public $peerIpAddresses; |
| 36 | + /** |
| 37 | + * Required. Name of the user's local source vserver svm to be peered with the |
| 38 | + * destination vserver svm. |
| 39 | + * |
| 40 | + * @var string |
| 41 | + */ |
| 42 | + public $peerSvmName; |
| 43 | + /** |
| 44 | + * Required. Name of the user's local source volume to be peered with the |
| 45 | + * destination volume. |
| 46 | + * |
| 47 | + * @var string |
| 48 | + */ |
| 49 | + public $peerVolumeName; |
| 50 | + |
| 51 | + /** |
| 52 | + * Required. Name of the user's local source cluster to be peered with the |
| 53 | + * destination cluster. |
| 54 | + * |
| 55 | + * @param string $peerClusterName |
| 56 | + */ |
| 57 | + public function setPeerClusterName($peerClusterName) |
| 58 | + { |
| 59 | + $this->peerClusterName = $peerClusterName; |
| 60 | + } |
| 61 | + /** |
| 62 | + * @return string |
| 63 | + */ |
| 64 | + public function getPeerClusterName() |
| 65 | + { |
| 66 | + return $this->peerClusterName; |
| 67 | + } |
| 68 | + /** |
| 69 | + * Optional. List of IPv4 ip addresses to be used for peering. |
| 70 | + * |
| 71 | + * @param string[] $peerIpAddresses |
| 72 | + */ |
| 73 | + public function setPeerIpAddresses($peerIpAddresses) |
| 74 | + { |
| 75 | + $this->peerIpAddresses = $peerIpAddresses; |
| 76 | + } |
| 77 | + /** |
| 78 | + * @return string[] |
| 79 | + */ |
| 80 | + public function getPeerIpAddresses() |
| 81 | + { |
| 82 | + return $this->peerIpAddresses; |
| 83 | + } |
| 84 | + /** |
| 85 | + * Required. Name of the user's local source vserver svm to be peered with the |
| 86 | + * destination vserver svm. |
| 87 | + * |
| 88 | + * @param string $peerSvmName |
| 89 | + */ |
| 90 | + public function setPeerSvmName($peerSvmName) |
| 91 | + { |
| 92 | + $this->peerSvmName = $peerSvmName; |
| 93 | + } |
| 94 | + /** |
| 95 | + * @return string |
| 96 | + */ |
| 97 | + public function getPeerSvmName() |
| 98 | + { |
| 99 | + return $this->peerSvmName; |
| 100 | + } |
| 101 | + /** |
| 102 | + * Required. Name of the user's local source volume to be peered with the |
| 103 | + * destination volume. |
| 104 | + * |
| 105 | + * @param string $peerVolumeName |
| 106 | + */ |
| 107 | + public function setPeerVolumeName($peerVolumeName) |
| 108 | + { |
| 109 | + $this->peerVolumeName = $peerVolumeName; |
| 110 | + } |
| 111 | + /** |
| 112 | + * @return string |
| 113 | + */ |
| 114 | + public function getPeerVolumeName() |
| 115 | + { |
| 116 | + return $this->peerVolumeName; |
| 117 | + } |
| 118 | +} |
| 119 | + |
| 120 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 121 | +class_alias(EstablishVolumePeeringRequest::class, 'Google_Service_NetAppFiles_EstablishVolumePeeringRequest'); |
0 commit comments