File tree 3 files changed +96
-0
lines changed 3 files changed +96
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ class AzureBlobStorageData extends \Google\Model
29
29
* @var string
30
30
*/
31
31
public $ credentialsSecret ;
32
+ protected $ federatedIdentityConfigType = FederatedIdentityConfig::class;
33
+ protected $ federatedIdentityConfigDataType = '' ;
32
34
/**
33
35
* @var string
34
36
*/
@@ -80,6 +82,20 @@ public function getCredentialsSecret()
80
82
{
81
83
return $ this ->credentialsSecret ;
82
84
}
85
+ /**
86
+ * @param FederatedIdentityConfig
87
+ */
88
+ public function setFederatedIdentityConfig (FederatedIdentityConfig $ federatedIdentityConfig )
89
+ {
90
+ $ this ->federatedIdentityConfig = $ federatedIdentityConfig ;
91
+ }
92
+ /**
93
+ * @return FederatedIdentityConfig
94
+ */
95
+ public function getFederatedIdentityConfig ()
96
+ {
97
+ return $ this ->federatedIdentityConfig ;
98
+ }
83
99
/**
84
100
* @param string
85
101
*/
Original file line number Diff line number Diff line change
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 \Storagetransfer ;
19
+
20
+ class FederatedIdentityConfig extends \Google \Model
21
+ {
22
+ /**
23
+ * @var string
24
+ */
25
+ public $ clientId ;
26
+ /**
27
+ * @var string
28
+ */
29
+ public $ tenantId ;
30
+
31
+ /**
32
+ * @param string
33
+ */
34
+ public function setClientId ($ clientId )
35
+ {
36
+ $ this ->clientId = $ clientId ;
37
+ }
38
+ /**
39
+ * @return string
40
+ */
41
+ public function getClientId ()
42
+ {
43
+ return $ this ->clientId ;
44
+ }
45
+ /**
46
+ * @param string
47
+ */
48
+ public function setTenantId ($ tenantId )
49
+ {
50
+ $ this ->tenantId = $ tenantId ;
51
+ }
52
+ /**
53
+ * @return string
54
+ */
55
+ public function getTenantId ()
56
+ {
57
+ return $ this ->tenantId ;
58
+ }
59
+ }
60
+
61
+ // Adding a class alias for backwards compatibility with the previous class name.
62
+ class_alias (FederatedIdentityConfig::class, 'Google_Service_Storagetransfer_FederatedIdentityConfig ' );
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ class TransferJob extends \Google\Model
57
57
protected $ replicationSpecDataType = '' ;
58
58
protected $ scheduleType = Schedule::class;
59
59
protected $ scheduleDataType = '' ;
60
+ /**
61
+ * @var string
62
+ */
63
+ public $ serviceAccount ;
60
64
/**
61
65
* @var string
62
66
*/
@@ -232,6 +236,20 @@ public function getSchedule()
232
236
{
233
237
return $ this ->schedule ;
234
238
}
239
+ /**
240
+ * @param string
241
+ */
242
+ public function setServiceAccount ($ serviceAccount )
243
+ {
244
+ $ this ->serviceAccount = $ serviceAccount ;
245
+ }
246
+ /**
247
+ * @return string
248
+ */
249
+ public function getServiceAccount ()
250
+ {
251
+ return $ this ->serviceAccount ;
252
+ }
235
253
/**
236
254
* @param string
237
255
*/
You can’t perform that action at this time.
0 commit comments