Skip to content

Commit 5e4f2e8

Browse files
Regenerate storagetransfer client
1 parent c9fa9d7 commit 5e4f2e8

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

src/Storagetransfer/AzureBlobStorageData.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class AzureBlobStorageData extends \Google\Model
2929
* @var string
3030
*/
3131
public $credentialsSecret;
32+
protected $federatedIdentityConfigType = FederatedIdentityConfig::class;
33+
protected $federatedIdentityConfigDataType = '';
3234
/**
3335
* @var string
3436
*/
@@ -80,6 +82,20 @@ public function getCredentialsSecret()
8082
{
8183
return $this->credentialsSecret;
8284
}
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+
}
8399
/**
84100
* @param string
85101
*/
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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');

src/Storagetransfer/TransferJob.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ class TransferJob extends \Google\Model
5757
protected $replicationSpecDataType = '';
5858
protected $scheduleType = Schedule::class;
5959
protected $scheduleDataType = '';
60+
/**
61+
* @var string
62+
*/
63+
public $serviceAccount;
6064
/**
6165
* @var string
6266
*/
@@ -232,6 +236,20 @@ public function getSchedule()
232236
{
233237
return $this->schedule;
234238
}
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+
}
235253
/**
236254
* @param string
237255
*/

0 commit comments

Comments
 (0)