Skip to content

Commit e187771

Browse files
Regenerate storage client
1 parent c9fa9d7 commit e187771

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

src/Storage.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,6 +1700,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
17001700
'location' => 'query',
17011701
'type' => 'string',
17021702
],
1703+
'projection' => [
1704+
'location' => 'query',
1705+
'type' => 'string',
1706+
],
17031707
'userProject' => [
17041708
'location' => 'query',
17051709
'type' => 'string',

src/Storage/BucketIpFilter.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
class BucketIpFilter extends \Google\Collection
2121
{
2222
protected $collection_key = 'vpcNetworkSources';
23+
/**
24+
* @var bool
25+
*/
26+
public $allowCrossOrgVpcs;
2327
/**
2428
* @var string
2529
*/
@@ -29,6 +33,20 @@ class BucketIpFilter extends \Google\Collection
2933
protected $vpcNetworkSourcesType = BucketIpFilterVpcNetworkSources::class;
3034
protected $vpcNetworkSourcesDataType = 'array';
3135

36+
/**
37+
* @param bool
38+
*/
39+
public function setAllowCrossOrgVpcs($allowCrossOrgVpcs)
40+
{
41+
$this->allowCrossOrgVpcs = $allowCrossOrgVpcs;
42+
}
43+
/**
44+
* @return bool
45+
*/
46+
public function getAllowCrossOrgVpcs()
47+
{
48+
return $this->allowCrossOrgVpcs;
49+
}
3250
/**
3351
* @param string
3452
*/

src/Storage/Resource/Objects.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ public function listObjects($bucket, $optParams = [])
407407
* match the given value. `ifSourceMetagenerationMatch` and
408408
* `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an
409409
* error for both of them to be set in the request.
410+
* @opt_param string projection Set of properties to return. Defaults to noAcl.
410411
* @opt_param string userProject The project to be billed for this request.
411412
* Required for Requester Pays buckets.
412413
* @return StorageObject

0 commit comments

Comments
 (0)