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\Contentwarehouse;
|
---|
19 |
|
---|
20 | class CloudAiPlatformTenantresourceTenantProjectResource extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'tenantServiceAccounts';
|
---|
23 | protected $cloudSqlInstancesType = CloudAiPlatformTenantresourceCloudSqlInstanceConfig::class;
|
---|
24 | protected $cloudSqlInstancesDataType = 'array';
|
---|
25 | protected $gcsBucketsType = CloudAiPlatformTenantresourceGcsBucketConfig::class;
|
---|
26 | protected $gcsBucketsDataType = 'array';
|
---|
27 | protected $iamPolicyBindingsType = CloudAiPlatformTenantresourceIamPolicyBinding::class;
|
---|
28 | protected $iamPolicyBindingsDataType = 'array';
|
---|
29 | protected $infraSpannerConfigsType = CloudAiPlatformTenantresourceInfraSpannerConfig::class;
|
---|
30 | protected $infraSpannerConfigsDataType = 'array';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $tag;
|
---|
35 | protected $tenantProjectConfigType = CloudAiPlatformTenantresourceTenantProjectConfig::class;
|
---|
36 | protected $tenantProjectConfigDataType = '';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $tenantProjectId;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $tenantProjectNumber;
|
---|
45 | protected $tenantServiceAccountsType = CloudAiPlatformTenantresourceTenantServiceAccountIdentity::class;
|
---|
46 | protected $tenantServiceAccountsDataType = 'array';
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * @param CloudAiPlatformTenantresourceCloudSqlInstanceConfig[]
|
---|
50 | */
|
---|
51 | public function setCloudSqlInstances($cloudSqlInstances)
|
---|
52 | {
|
---|
53 | $this->cloudSqlInstances = $cloudSqlInstances;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @return CloudAiPlatformTenantresourceCloudSqlInstanceConfig[]
|
---|
57 | */
|
---|
58 | public function getCloudSqlInstances()
|
---|
59 | {
|
---|
60 | return $this->cloudSqlInstances;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @param CloudAiPlatformTenantresourceGcsBucketConfig[]
|
---|
64 | */
|
---|
65 | public function setGcsBuckets($gcsBuckets)
|
---|
66 | {
|
---|
67 | $this->gcsBuckets = $gcsBuckets;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return CloudAiPlatformTenantresourceGcsBucketConfig[]
|
---|
71 | */
|
---|
72 | public function getGcsBuckets()
|
---|
73 | {
|
---|
74 | return $this->gcsBuckets;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param CloudAiPlatformTenantresourceIamPolicyBinding[]
|
---|
78 | */
|
---|
79 | public function setIamPolicyBindings($iamPolicyBindings)
|
---|
80 | {
|
---|
81 | $this->iamPolicyBindings = $iamPolicyBindings;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return CloudAiPlatformTenantresourceIamPolicyBinding[]
|
---|
85 | */
|
---|
86 | public function getIamPolicyBindings()
|
---|
87 | {
|
---|
88 | return $this->iamPolicyBindings;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param CloudAiPlatformTenantresourceInfraSpannerConfig[]
|
---|
92 | */
|
---|
93 | public function setInfraSpannerConfigs($infraSpannerConfigs)
|
---|
94 | {
|
---|
95 | $this->infraSpannerConfigs = $infraSpannerConfigs;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return CloudAiPlatformTenantresourceInfraSpannerConfig[]
|
---|
99 | */
|
---|
100 | public function getInfraSpannerConfigs()
|
---|
101 | {
|
---|
102 | return $this->infraSpannerConfigs;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setTag($tag)
|
---|
108 | {
|
---|
109 | $this->tag = $tag;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getTag()
|
---|
115 | {
|
---|
116 | return $this->tag;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param CloudAiPlatformTenantresourceTenantProjectConfig
|
---|
120 | */
|
---|
121 | public function setTenantProjectConfig(CloudAiPlatformTenantresourceTenantProjectConfig $tenantProjectConfig)
|
---|
122 | {
|
---|
123 | $this->tenantProjectConfig = $tenantProjectConfig;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return CloudAiPlatformTenantresourceTenantProjectConfig
|
---|
127 | */
|
---|
128 | public function getTenantProjectConfig()
|
---|
129 | {
|
---|
130 | return $this->tenantProjectConfig;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setTenantProjectId($tenantProjectId)
|
---|
136 | {
|
---|
137 | $this->tenantProjectId = $tenantProjectId;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getTenantProjectId()
|
---|
143 | {
|
---|
144 | return $this->tenantProjectId;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setTenantProjectNumber($tenantProjectNumber)
|
---|
150 | {
|
---|
151 | $this->tenantProjectNumber = $tenantProjectNumber;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getTenantProjectNumber()
|
---|
157 | {
|
---|
158 | return $this->tenantProjectNumber;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param CloudAiPlatformTenantresourceTenantServiceAccountIdentity[]
|
---|
162 | */
|
---|
163 | public function setTenantServiceAccounts($tenantServiceAccounts)
|
---|
164 | {
|
---|
165 | $this->tenantServiceAccounts = $tenantServiceAccounts;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return CloudAiPlatformTenantresourceTenantServiceAccountIdentity[]
|
---|
169 | */
|
---|
170 | public function getTenantServiceAccounts()
|
---|
171 | {
|
---|
172 | return $this->tenantServiceAccounts;
|
---|
173 | }
|
---|
174 | }
|
---|
175 |
|
---|
176 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
177 | class_alias(CloudAiPlatformTenantresourceTenantProjectResource::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceTenantProjectResource');
|
---|