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