Skip to content

Commit fa6fb47

Browse files
feat(storage): update the api
#### storage:v1 The following keys were added: - schemas.Bucket.properties.ipFilter (Total Keys: 10)
1 parent 1969fba commit fa6fb47

File tree

2 files changed

+189
-2
lines changed

2 files changed

+189
-2
lines changed

docs/dyn/storage_v1.buckets.html

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,22 @@ <h3>Method Details</h3>
257257
},
258258
},
259259
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
260+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
261+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
262+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
263+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
264+
&quot;A String&quot;,
265+
],
266+
},
267+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
268+
{
269+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
270+
&quot;A String&quot;,
271+
],
272+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
273+
},
274+
],
275+
},
260276
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
261277
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
262278
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -530,6 +546,22 @@ <h3>Method Details</h3>
530546
},
531547
},
532548
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
549+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
550+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
551+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
552+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
553+
&quot;A String&quot;,
554+
],
555+
},
556+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
557+
{
558+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
559+
&quot;A String&quot;,
560+
],
561+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
562+
},
563+
],
564+
},
533565
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
534566
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
535567
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -738,6 +770,22 @@ <h3>Method Details</h3>
738770
},
739771
},
740772
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
773+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
774+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
775+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
776+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
777+
&quot;A String&quot;,
778+
],
779+
},
780+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
781+
{
782+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
783+
&quot;A String&quot;,
784+
],
785+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
786+
},
787+
],
788+
},
741789
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
742790
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
743791
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -942,6 +990,22 @@ <h3>Method Details</h3>
942990
},
943991
},
944992
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
993+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
994+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
995+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
996+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
997+
&quot;A String&quot;,
998+
],
999+
},
1000+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
1001+
{
1002+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
1003+
&quot;A String&quot;,
1004+
],
1005+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
1006+
},
1007+
],
1008+
},
9451009
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
9461010
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
9471011
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -1156,6 +1220,22 @@ <h3>Method Details</h3>
11561220
},
11571221
},
11581222
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
1223+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
1224+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
1225+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
1226+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
1227+
&quot;A String&quot;,
1228+
],
1229+
},
1230+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
1231+
{
1232+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
1233+
&quot;A String&quot;,
1234+
],
1235+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
1236+
},
1237+
],
1238+
},
11591239
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
11601240
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
11611241
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -1349,6 +1429,22 @@ <h3>Method Details</h3>
13491429
},
13501430
},
13511431
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
1432+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
1433+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
1434+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
1435+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
1436+
&quot;A String&quot;,
1437+
],
1438+
},
1439+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
1440+
{
1441+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
1442+
&quot;A String&quot;,
1443+
],
1444+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
1445+
},
1446+
],
1447+
},
13521448
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
13531449
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
13541450
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -1558,6 +1654,22 @@ <h3>Method Details</h3>
15581654
},
15591655
},
15601656
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
1657+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
1658+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
1659+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
1660+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
1661+
&quot;A String&quot;,
1662+
],
1663+
},
1664+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
1665+
{
1666+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
1667+
&quot;A String&quot;,
1668+
],
1669+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
1670+
},
1671+
],
1672+
},
15611673
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
15621674
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
15631675
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -1886,6 +1998,22 @@ <h3>Method Details</h3>
18861998
},
18871999
},
18882000
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
2001+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
2002+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
2003+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
2004+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
2005+
&quot;A String&quot;,
2006+
],
2007+
},
2008+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
2009+
{
2010+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
2011+
&quot;A String&quot;,
2012+
],
2013+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
2014+
},
2015+
],
2016+
},
18892017
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
18902018
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
18912019
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.
@@ -2095,6 +2223,22 @@ <h3>Method Details</h3>
20952223
},
20962224
},
20972225
&quot;id&quot;: &quot;A String&quot;, # The ID of the bucket. For buckets, the id and name properties are the same.
2226+
&quot;ipFilter&quot;: { # The bucket&#x27;s IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to &#x27;Enabled&#x27;.
2227+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the IP filter. Valid values are &#x27;Enabled&#x27; and &#x27;Disabled&#x27;.
2228+
&quot;publicNetworkSource&quot;: { # The public network source of the bucket&#x27;s IP filter.
2229+
&quot;allowedIpCidrRanges&quot;: [ # The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
2230+
&quot;A String&quot;,
2231+
],
2232+
},
2233+
&quot;vpcNetworkSources&quot;: [ # The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket&#x27;s IP filter.
2234+
{
2235+
&quot;allowedIpCidrRanges&quot;: [ # The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.
2236+
&quot;A String&quot;,
2237+
],
2238+
&quot;network&quot;: &quot;A String&quot;, # Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}
2239+
},
2240+
],
2241+
},
20982242
&quot;kind&quot;: &quot;storage#bucket&quot;, # The kind of item this is. For buckets, this is always storage#bucket.
20992243
&quot;labels&quot;: { # User-provided labels, in key/value pairs.
21002244
&quot;a_key&quot;: &quot;A String&quot;, # An individual label entry.

googleapiclient/discovery_cache/documents/storage.v1.json

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"location": "me-central2"
4444
}
4545
],
46-
"etag": "\"39393931363036383932333134343736343437\"",
46+
"etag": "\"323732353932323032353837333633313231\"",
4747
"icons": {
4848
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
4949
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -4085,7 +4085,7 @@
40854085
}
40864086
}
40874087
},
4088-
"revision": "20240625",
4088+
"revision": "20240706",
40894089
"rootUrl": "https://storage.googleapis.com/",
40904090
"schemas": {
40914091
"AnywhereCache": {
@@ -4347,6 +4347,49 @@
43474347
"description": "The ID of the bucket. For buckets, the id and name properties are the same.",
43484348
"type": "string"
43494349
},
4350+
"ipFilter": {
4351+
"description": "The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'.",
4352+
"properties": {
4353+
"mode": {
4354+
"description": "The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.",
4355+
"type": "string"
4356+
},
4357+
"publicNetworkSource": {
4358+
"description": "The public network source of the bucket's IP filter.",
4359+
"properties": {
4360+
"allowedIpCidrRanges": {
4361+
"description": "The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.",
4362+
"items": {
4363+
"type": "string"
4364+
},
4365+
"type": "array"
4366+
}
4367+
},
4368+
"type": "object"
4369+
},
4370+
"vpcNetworkSources": {
4371+
"description": "The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket's IP filter.",
4372+
"items": {
4373+
"properties": {
4374+
"allowedIpCidrRanges": {
4375+
"description": "The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.",
4376+
"items": {
4377+
"type": "string"
4378+
},
4379+
"type": "array"
4380+
},
4381+
"network": {
4382+
"description": "Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}",
4383+
"type": "string"
4384+
}
4385+
},
4386+
"type": "object"
4387+
},
4388+
"type": "array"
4389+
}
4390+
},
4391+
"type": "object"
4392+
},
43504393
"kind": {
43514394
"default": "storage#bucket",
43524395
"description": "The kind of item this is. For buckets, this is always storage#bucket.",

0 commit comments

Comments
 (0)