[e3d4e0a] | 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 LocationData extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $blobstoreLocationType = BlobstoreLocation::class;
|
---|
| 23 | protected $blobstoreLocationDataType = '';
|
---|
| 24 | protected $childAssetLocationType = CloudAssetComposition::class;
|
---|
| 25 | protected $childAssetLocationDataType = '';
|
---|
| 26 | protected $directLocationType = DirectLocationAssignment::class;
|
---|
| 27 | protected $directLocationDataType = '';
|
---|
| 28 | protected $gcpProjectProxyType = TenantProjectProxy::class;
|
---|
| 29 | protected $gcpProjectProxyDataType = '';
|
---|
| 30 | protected $placerLocationType = PlacerLocation::class;
|
---|
| 31 | protected $placerLocationDataType = '';
|
---|
| 32 | protected $spannerLocationType = SpannerLocation::class;
|
---|
| 33 | protected $spannerLocationDataType = '';
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @param BlobstoreLocation
|
---|
| 37 | */
|
---|
| 38 | public function setBlobstoreLocation(BlobstoreLocation $blobstoreLocation)
|
---|
| 39 | {
|
---|
| 40 | $this->blobstoreLocation = $blobstoreLocation;
|
---|
| 41 | }
|
---|
| 42 | /**
|
---|
| 43 | * @return BlobstoreLocation
|
---|
| 44 | */
|
---|
| 45 | public function getBlobstoreLocation()
|
---|
| 46 | {
|
---|
| 47 | return $this->blobstoreLocation;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @param CloudAssetComposition
|
---|
| 51 | */
|
---|
| 52 | public function setChildAssetLocation(CloudAssetComposition $childAssetLocation)
|
---|
| 53 | {
|
---|
| 54 | $this->childAssetLocation = $childAssetLocation;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @return CloudAssetComposition
|
---|
| 58 | */
|
---|
| 59 | public function getChildAssetLocation()
|
---|
| 60 | {
|
---|
| 61 | return $this->childAssetLocation;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param DirectLocationAssignment
|
---|
| 65 | */
|
---|
| 66 | public function setDirectLocation(DirectLocationAssignment $directLocation)
|
---|
| 67 | {
|
---|
| 68 | $this->directLocation = $directLocation;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return DirectLocationAssignment
|
---|
| 72 | */
|
---|
| 73 | public function getDirectLocation()
|
---|
| 74 | {
|
---|
| 75 | return $this->directLocation;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @param TenantProjectProxy
|
---|
| 79 | */
|
---|
| 80 | public function setGcpProjectProxy(TenantProjectProxy $gcpProjectProxy)
|
---|
| 81 | {
|
---|
| 82 | $this->gcpProjectProxy = $gcpProjectProxy;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return TenantProjectProxy
|
---|
| 86 | */
|
---|
| 87 | public function getGcpProjectProxy()
|
---|
| 88 | {
|
---|
| 89 | return $this->gcpProjectProxy;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @param PlacerLocation
|
---|
| 93 | */
|
---|
| 94 | public function setPlacerLocation(PlacerLocation $placerLocation)
|
---|
| 95 | {
|
---|
| 96 | $this->placerLocation = $placerLocation;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return PlacerLocation
|
---|
| 100 | */
|
---|
| 101 | public function getPlacerLocation()
|
---|
| 102 | {
|
---|
| 103 | return $this->placerLocation;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param SpannerLocation
|
---|
| 107 | */
|
---|
| 108 | public function setSpannerLocation(SpannerLocation $spannerLocation)
|
---|
| 109 | {
|
---|
| 110 | $this->spannerLocation = $spannerLocation;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return SpannerLocation
|
---|
| 114 | */
|
---|
| 115 | public function getSpannerLocation()
|
---|
| 116 | {
|
---|
| 117 | return $this->spannerLocation;
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 122 | class_alias(LocationData::class, 'Google_Service_NetAppFiles_LocationData');
|
---|