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 FeatureSpec extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $cloudbuildType = CloudBuildSpec::class;
|
---|
23 | protected $cloudbuildDataType = '';
|
---|
24 | protected $configmanagementType = ConfigManagementSpec::class;
|
---|
25 | protected $configmanagementDataType = '';
|
---|
26 | protected $identityserviceType = IdentityServiceSpec::class;
|
---|
27 | protected $identityserviceDataType = '';
|
---|
28 | protected $originType = Origin::class;
|
---|
29 | protected $originDataType = '';
|
---|
30 | protected $policycontrollerType = PolicyControllerSpec::class;
|
---|
31 | protected $policycontrollerDataType = '';
|
---|
32 | protected $servicemeshType = ServiceMeshSpec::class;
|
---|
33 | protected $servicemeshDataType = '';
|
---|
34 | protected $workloadcertificateType = WorkloadCertificateSpec::class;
|
---|
35 | protected $workloadcertificateDataType = '';
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * @param CloudBuildSpec
|
---|
39 | */
|
---|
40 | public function setCloudbuild(CloudBuildSpec $cloudbuild)
|
---|
41 | {
|
---|
42 | $this->cloudbuild = $cloudbuild;
|
---|
43 | }
|
---|
44 | /**
|
---|
45 | * @return CloudBuildSpec
|
---|
46 | */
|
---|
47 | public function getCloudbuild()
|
---|
48 | {
|
---|
49 | return $this->cloudbuild;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @param ConfigManagementSpec
|
---|
53 | */
|
---|
54 | public function setConfigmanagement(ConfigManagementSpec $configmanagement)
|
---|
55 | {
|
---|
56 | $this->configmanagement = $configmanagement;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return ConfigManagementSpec
|
---|
60 | */
|
---|
61 | public function getConfigmanagement()
|
---|
62 | {
|
---|
63 | return $this->configmanagement;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param IdentityServiceSpec
|
---|
67 | */
|
---|
68 | public function setIdentityservice(IdentityServiceSpec $identityservice)
|
---|
69 | {
|
---|
70 | $this->identityservice = $identityservice;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return IdentityServiceSpec
|
---|
74 | */
|
---|
75 | public function getIdentityservice()
|
---|
76 | {
|
---|
77 | return $this->identityservice;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param Origin
|
---|
81 | */
|
---|
82 | public function setOrigin(Origin $origin)
|
---|
83 | {
|
---|
84 | $this->origin = $origin;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return Origin
|
---|
88 | */
|
---|
89 | public function getOrigin()
|
---|
90 | {
|
---|
91 | return $this->origin;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param PolicyControllerSpec
|
---|
95 | */
|
---|
96 | public function setPolicycontroller(PolicyControllerSpec $policycontroller)
|
---|
97 | {
|
---|
98 | $this->policycontroller = $policycontroller;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return PolicyControllerSpec
|
---|
102 | */
|
---|
103 | public function getPolicycontroller()
|
---|
104 | {
|
---|
105 | return $this->policycontroller;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param ServiceMeshSpec
|
---|
109 | */
|
---|
110 | public function setServicemesh(ServiceMeshSpec $servicemesh)
|
---|
111 | {
|
---|
112 | $this->servicemesh = $servicemesh;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return ServiceMeshSpec
|
---|
116 | */
|
---|
117 | public function getServicemesh()
|
---|
118 | {
|
---|
119 | return $this->servicemesh;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param WorkloadCertificateSpec
|
---|
123 | */
|
---|
124 | public function setWorkloadcertificate(WorkloadCertificateSpec $workloadcertificate)
|
---|
125 | {
|
---|
126 | $this->workloadcertificate = $workloadcertificate;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return WorkloadCertificateSpec
|
---|
130 | */
|
---|
131 | public function getWorkloadcertificate()
|
---|
132 | {
|
---|
133 | return $this->workloadcertificate;
|
---|
134 | }
|
---|
135 | }
|
---|
136 |
|
---|
137 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
138 | class_alias(FeatureSpec::class, 'Google_Service_GKEHub_FeatureSpec');
|
---|