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 ConfigManagementMembershipState extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $clusterName;
26  protected $configSyncStateType = ConfigManagementConfigSyncState::class;
27  protected $configSyncStateDataType = '';
28  protected $hierarchyControllerStateType = ConfigManagementHierarchyControllerState::class;
29  protected $hierarchyControllerStateDataType = '';
30  protected $membershipSpecType = ConfigManagementMembershipSpec::class;
31  protected $membershipSpecDataType = '';
32  protected $operatorStateType = ConfigManagementOperatorState::class;
33  protected $operatorStateDataType = '';
34  protected $policyControllerStateType = ConfigManagementPolicyControllerState::class;
35  protected $policyControllerStateDataType = '';
36
37  /**
38   * @param string
39   */
40  public function setClusterName($clusterName)
41  {
42    $this->clusterName = $clusterName;
43  }
44  /**
45   * @return string
46   */
47  public function getClusterName()
48  {
49    return $this->clusterName;
50  }
51  /**
52   * @param ConfigManagementConfigSyncState
53   */
54  public function setConfigSyncState(ConfigManagementConfigSyncState $configSyncState)
55  {
56    $this->configSyncState = $configSyncState;
57  }
58  /**
59   * @return ConfigManagementConfigSyncState
60   */
61  public function getConfigSyncState()
62  {
63    return $this->configSyncState;
64  }
65  /**
66   * @param ConfigManagementHierarchyControllerState
67   */
68  public function setHierarchyControllerState(ConfigManagementHierarchyControllerState $hierarchyControllerState)
69  {
70    $this->hierarchyControllerState = $hierarchyControllerState;
71  }
72  /**
73   * @return ConfigManagementHierarchyControllerState
74   */
75  public function getHierarchyControllerState()
76  {
77    return $this->hierarchyControllerState;
78  }
79  /**
80   * @param ConfigManagementMembershipSpec
81   */
82  public function setMembershipSpec(ConfigManagementMembershipSpec $membershipSpec)
83  {
84    $this->membershipSpec = $membershipSpec;
85  }
86  /**
87   * @return ConfigManagementMembershipSpec
88   */
89  public function getMembershipSpec()
90  {
91    return $this->membershipSpec;
92  }
93  /**
94   * @param ConfigManagementOperatorState
95   */
96  public function setOperatorState(ConfigManagementOperatorState $operatorState)
97  {
98    $this->operatorState = $operatorState;
99  }
100  /**
101   * @return ConfigManagementOperatorState
102   */
103  public function getOperatorState()
104  {
105    return $this->operatorState;
106  }
107  /**
108   * @param ConfigManagementPolicyControllerState
109   */
110  public function setPolicyControllerState(ConfigManagementPolicyControllerState $policyControllerState)
111  {
112    $this->policyControllerState = $policyControllerState;
113  }
114  /**
115   * @return ConfigManagementPolicyControllerState
116   */
117  public function getPolicyControllerState()
118  {
119    return $this->policyControllerState;
120  }
121}
122
123// Adding a class alias for backwards compatibility with the previous class name.
124class_alias(ConfigManagementMembershipState::class, 'Google_Service_GKEHub_ConfigManagementMembershipState');
125