|
| 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\NetworkManagement; |
| 19 | + |
| 20 | +class GoogleManagedServiceInfo extends \Google\Model |
| 21 | +{ |
| 22 | + /** |
| 23 | + * Service type is unspecified. |
| 24 | + */ |
| 25 | + public const SERVICE_TYPE_SERVICE_TYPE_UNSPECIFIED = 'SERVICE_TYPE_UNSPECIFIED'; |
| 26 | + /** |
| 27 | + * Unsupported Google-managed service. |
| 28 | + */ |
| 29 | + public const SERVICE_TYPE_UNSUPPORTED = 'UNSUPPORTED'; |
| 30 | + /** |
| 31 | + * Cloud SQL Instance. |
| 32 | + */ |
| 33 | + public const SERVICE_TYPE_CLOUD_SQL = 'CLOUD_SQL'; |
| 34 | + /** |
| 35 | + * GKE Cluster control plane. |
| 36 | + */ |
| 37 | + public const SERVICE_TYPE_GKE_CLUSTER_CONTROL_PLANE = 'GKE_CLUSTER_CONTROL_PLANE'; |
| 38 | + /** |
| 39 | + * Redis Cluster. |
| 40 | + */ |
| 41 | + public const SERVICE_TYPE_REDIS_CLUSTER = 'REDIS_CLUSTER'; |
| 42 | + /** |
| 43 | + * Redis Instance. |
| 44 | + */ |
| 45 | + public const SERVICE_TYPE_REDIS_INSTANCE = 'REDIS_INSTANCE'; |
| 46 | + /** |
| 47 | + * IP address of the Google-managed service endpoint. |
| 48 | + * |
| 49 | + * @var string |
| 50 | + */ |
| 51 | + public $ipAddress; |
| 52 | + /** |
| 53 | + * URI of the Google-managed service endpoint network, it is empty if the IP |
| 54 | + * address is a public IP address. |
| 55 | + * |
| 56 | + * @var string |
| 57 | + */ |
| 58 | + public $networkUri; |
| 59 | + /** |
| 60 | + * Type of a Google-managed service. |
| 61 | + * |
| 62 | + * @var string |
| 63 | + */ |
| 64 | + public $serviceType; |
| 65 | + /** |
| 66 | + * URI of the Google-managed service. |
| 67 | + * |
| 68 | + * @var string |
| 69 | + */ |
| 70 | + public $serviceUri; |
| 71 | + |
| 72 | + /** |
| 73 | + * IP address of the Google-managed service endpoint. |
| 74 | + * |
| 75 | + * @param string $ipAddress |
| 76 | + */ |
| 77 | + public function setIpAddress($ipAddress) |
| 78 | + { |
| 79 | + $this->ipAddress = $ipAddress; |
| 80 | + } |
| 81 | + /** |
| 82 | + * @return string |
| 83 | + */ |
| 84 | + public function getIpAddress() |
| 85 | + { |
| 86 | + return $this->ipAddress; |
| 87 | + } |
| 88 | + /** |
| 89 | + * URI of the Google-managed service endpoint network, it is empty if the IP |
| 90 | + * address is a public IP address. |
| 91 | + * |
| 92 | + * @param string $networkUri |
| 93 | + */ |
| 94 | + public function setNetworkUri($networkUri) |
| 95 | + { |
| 96 | + $this->networkUri = $networkUri; |
| 97 | + } |
| 98 | + /** |
| 99 | + * @return string |
| 100 | + */ |
| 101 | + public function getNetworkUri() |
| 102 | + { |
| 103 | + return $this->networkUri; |
| 104 | + } |
| 105 | + /** |
| 106 | + * Type of a Google-managed service. |
| 107 | + * |
| 108 | + * Accepted values: SERVICE_TYPE_UNSPECIFIED, UNSUPPORTED, CLOUD_SQL, |
| 109 | + * GKE_CLUSTER_CONTROL_PLANE, REDIS_CLUSTER, REDIS_INSTANCE |
| 110 | + * |
| 111 | + * @param self::SERVICE_TYPE_* $serviceType |
| 112 | + */ |
| 113 | + public function setServiceType($serviceType) |
| 114 | + { |
| 115 | + $this->serviceType = $serviceType; |
| 116 | + } |
| 117 | + /** |
| 118 | + * @return self::SERVICE_TYPE_* |
| 119 | + */ |
| 120 | + public function getServiceType() |
| 121 | + { |
| 122 | + return $this->serviceType; |
| 123 | + } |
| 124 | + /** |
| 125 | + * URI of the Google-managed service. |
| 126 | + * |
| 127 | + * @param string $serviceUri |
| 128 | + */ |
| 129 | + public function setServiceUri($serviceUri) |
| 130 | + { |
| 131 | + $this->serviceUri = $serviceUri; |
| 132 | + } |
| 133 | + /** |
| 134 | + * @return string |
| 135 | + */ |
| 136 | + public function getServiceUri() |
| 137 | + { |
| 138 | + return $this->serviceUri; |
| 139 | + } |
| 140 | +} |
| 141 | + |
| 142 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 143 | +class_alias(GoogleManagedServiceInfo::class, 'Google_Service_NetworkManagement_GoogleManagedServiceInfo'); |
0 commit comments