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\GKEHub;
|
---|
19 |
|
---|
20 | class MembershipEndpoint extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $applianceClusterType = ApplianceCluster::class;
|
---|
23 | protected $applianceClusterDataType = '';
|
---|
24 | protected $edgeClusterType = EdgeCluster::class;
|
---|
25 | protected $edgeClusterDataType = '';
|
---|
26 | protected $gkeClusterType = GkeCluster::class;
|
---|
27 | protected $gkeClusterDataType = '';
|
---|
28 | /**
|
---|
29 | * @var bool
|
---|
30 | */
|
---|
31 | public $googleManaged;
|
---|
32 | protected $kubernetesMetadataType = KubernetesMetadata::class;
|
---|
33 | protected $kubernetesMetadataDataType = '';
|
---|
34 | protected $kubernetesResourceType = KubernetesResource::class;
|
---|
35 | protected $kubernetesResourceDataType = '';
|
---|
36 | protected $multiCloudClusterType = MultiCloudCluster::class;
|
---|
37 | protected $multiCloudClusterDataType = '';
|
---|
38 | protected $onPremClusterType = OnPremCluster::class;
|
---|
39 | protected $onPremClusterDataType = '';
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param ApplianceCluster
|
---|
43 | */
|
---|
44 | public function setApplianceCluster(ApplianceCluster $applianceCluster)
|
---|
45 | {
|
---|
46 | $this->applianceCluster = $applianceCluster;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return ApplianceCluster
|
---|
50 | */
|
---|
51 | public function getApplianceCluster()
|
---|
52 | {
|
---|
53 | return $this->applianceCluster;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param EdgeCluster
|
---|
57 | */
|
---|
58 | public function setEdgeCluster(EdgeCluster $edgeCluster)
|
---|
59 | {
|
---|
60 | $this->edgeCluster = $edgeCluster;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return EdgeCluster
|
---|
64 | */
|
---|
65 | public function getEdgeCluster()
|
---|
66 | {
|
---|
67 | return $this->edgeCluster;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param GkeCluster
|
---|
71 | */
|
---|
72 | public function setGkeCluster(GkeCluster $gkeCluster)
|
---|
73 | {
|
---|
74 | $this->gkeCluster = $gkeCluster;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return GkeCluster
|
---|
78 | */
|
---|
79 | public function getGkeCluster()
|
---|
80 | {
|
---|
81 | return $this->gkeCluster;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param bool
|
---|
85 | */
|
---|
86 | public function setGoogleManaged($googleManaged)
|
---|
87 | {
|
---|
88 | $this->googleManaged = $googleManaged;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return bool
|
---|
92 | */
|
---|
93 | public function getGoogleManaged()
|
---|
94 | {
|
---|
95 | return $this->googleManaged;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param KubernetesMetadata
|
---|
99 | */
|
---|
100 | public function setKubernetesMetadata(KubernetesMetadata $kubernetesMetadata)
|
---|
101 | {
|
---|
102 | $this->kubernetesMetadata = $kubernetesMetadata;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return KubernetesMetadata
|
---|
106 | */
|
---|
107 | public function getKubernetesMetadata()
|
---|
108 | {
|
---|
109 | return $this->kubernetesMetadata;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param KubernetesResource
|
---|
113 | */
|
---|
114 | public function setKubernetesResource(KubernetesResource $kubernetesResource)
|
---|
115 | {
|
---|
116 | $this->kubernetesResource = $kubernetesResource;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return KubernetesResource
|
---|
120 | */
|
---|
121 | public function getKubernetesResource()
|
---|
122 | {
|
---|
123 | return $this->kubernetesResource;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param MultiCloudCluster
|
---|
127 | */
|
---|
128 | public function setMultiCloudCluster(MultiCloudCluster $multiCloudCluster)
|
---|
129 | {
|
---|
130 | $this->multiCloudCluster = $multiCloudCluster;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return MultiCloudCluster
|
---|
134 | */
|
---|
135 | public function getMultiCloudCluster()
|
---|
136 | {
|
---|
137 | return $this->multiCloudCluster;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param OnPremCluster
|
---|
141 | */
|
---|
142 | public function setOnPremCluster(OnPremCluster $onPremCluster)
|
---|
143 | {
|
---|
144 | $this->onPremCluster = $onPremCluster;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return OnPremCluster
|
---|
148 | */
|
---|
149 | public function getOnPremCluster()
|
---|
150 | {
|
---|
151 | return $this->onPremCluster;
|
---|
152 | }
|
---|
153 | }
|
---|
154 |
|
---|
155 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
156 | class_alias(MembershipEndpoint::class, 'Google_Service_GKEHub_MembershipEndpoint');
|
---|