google-apis-storage_v1 0.39.0 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57c37c08f620ede9482e418a18d8454f12fc8b008086ae1b081ff607e6d9fc88
|
4
|
+
data.tar.gz: 3f99f26864ddf171f5b309c322a2e02d58adb63830200fd96f9f76aa8ca21c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5119dc88378c0302b7052a3d2c25f1ccfc527c53febc61577794703176fc5e2686413230eaa7a4eb747495d7e28036d9be7d3b5210fb34cf9ec8ec90e63a3d18
|
7
|
+
data.tar.gz: 559386b27b822dd2b337feb90fda12bd1679d1296a8c108dee7f131164429709e106b7541721d6ba60b64ab7b38ffa25b057c6a82dcb4aecba55fbaff08fb1b3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240706
|
6
|
+
|
7
|
+
### v0.40.0 (2024-06-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240621
|
10
|
+
|
3
11
|
### v0.39.0 (2024-06-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240524
|
@@ -219,6 +219,13 @@ module Google
|
|
219
219
|
# @return [String]
|
220
220
|
attr_accessor :id
|
221
221
|
|
222
|
+
# The bucket's IP filter configuration. Specifies the network sources that are
|
223
|
+
# allowed to access the operations on the bucket, as well as its underlying
|
224
|
+
# objects. Only enforced when the mode is set to 'Enabled'.
|
225
|
+
# Corresponds to the JSON property `ipFilter`
|
226
|
+
# @return [Google::Apis::StorageV1::Bucket::IpFilter]
|
227
|
+
attr_accessor :ip_filter
|
228
|
+
|
222
229
|
# The kind of item this is. For buckets, this is always storage#bucket.
|
223
230
|
# Corresponds to the JSON property `kind`
|
224
231
|
# @return [String]
|
@@ -365,6 +372,7 @@ module Google
|
|
365
372
|
@hierarchical_namespace = args[:hierarchical_namespace] if args.key?(:hierarchical_namespace)
|
366
373
|
@iam_configuration = args[:iam_configuration] if args.key?(:iam_configuration)
|
367
374
|
@id = args[:id] if args.key?(:id)
|
375
|
+
@ip_filter = args[:ip_filter] if args.key?(:ip_filter)
|
368
376
|
@kind = args[:kind] if args.key?(:kind)
|
369
377
|
@labels = args[:labels] if args.key?(:labels)
|
370
378
|
@lifecycle = args[:lifecycle] if args.key?(:lifecycle)
|
@@ -649,6 +657,87 @@ module Google
|
|
649
657
|
end
|
650
658
|
end
|
651
659
|
|
660
|
+
# The bucket's IP filter configuration. Specifies the network sources that are
|
661
|
+
# allowed to access the operations on the bucket, as well as its underlying
|
662
|
+
# objects. Only enforced when the mode is set to 'Enabled'.
|
663
|
+
class IpFilter
|
664
|
+
include Google::Apis::Core::Hashable
|
665
|
+
|
666
|
+
# The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.
|
667
|
+
# Corresponds to the JSON property `mode`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :mode
|
670
|
+
|
671
|
+
# The public network source of the bucket's IP filter.
|
672
|
+
# Corresponds to the JSON property `publicNetworkSource`
|
673
|
+
# @return [Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource]
|
674
|
+
attr_accessor :public_network_source
|
675
|
+
|
676
|
+
# The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of
|
677
|
+
# the bucket's IP filter.
|
678
|
+
# Corresponds to the JSON property `vpcNetworkSources`
|
679
|
+
# @return [Array<Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource>]
|
680
|
+
attr_accessor :vpc_network_sources
|
681
|
+
|
682
|
+
def initialize(**args)
|
683
|
+
update!(**args)
|
684
|
+
end
|
685
|
+
|
686
|
+
# Update properties of this object
|
687
|
+
def update!(**args)
|
688
|
+
@mode = args[:mode] if args.key?(:mode)
|
689
|
+
@public_network_source = args[:public_network_source] if args.key?(:public_network_source)
|
690
|
+
@vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
|
691
|
+
end
|
692
|
+
|
693
|
+
# The public network source of the bucket's IP filter.
|
694
|
+
class PublicNetworkSource
|
695
|
+
include Google::Apis::Core::Hashable
|
696
|
+
|
697
|
+
# The list of public IPv4, IPv6 cidr ranges that are allowed to access the
|
698
|
+
# bucket.
|
699
|
+
# Corresponds to the JSON property `allowedIpCidrRanges`
|
700
|
+
# @return [Array<String>]
|
701
|
+
attr_accessor :allowed_ip_cidr_ranges
|
702
|
+
|
703
|
+
def initialize(**args)
|
704
|
+
update!(**args)
|
705
|
+
end
|
706
|
+
|
707
|
+
# Update properties of this object
|
708
|
+
def update!(**args)
|
709
|
+
@allowed_ip_cidr_ranges = args[:allowed_ip_cidr_ranges] if args.key?(:allowed_ip_cidr_ranges)
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
#
|
714
|
+
class VpcNetworkSource
|
715
|
+
include Google::Apis::Core::Hashable
|
716
|
+
|
717
|
+
# The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the
|
718
|
+
# bucket.
|
719
|
+
# Corresponds to the JSON property `allowedIpCidrRanges`
|
720
|
+
# @return [Array<String>]
|
721
|
+
attr_accessor :allowed_ip_cidr_ranges
|
722
|
+
|
723
|
+
# Name of the network. Format: projects/`PROJECT_ID`/global/networks/`
|
724
|
+
# NETWORK_NAME`
|
725
|
+
# Corresponds to the JSON property `network`
|
726
|
+
# @return [String]
|
727
|
+
attr_accessor :network
|
728
|
+
|
729
|
+
def initialize(**args)
|
730
|
+
update!(**args)
|
731
|
+
end
|
732
|
+
|
733
|
+
# Update properties of this object
|
734
|
+
def update!(**args)
|
735
|
+
@allowed_ip_cidr_ranges = args[:allowed_ip_cidr_ranges] if args.key?(:allowed_ip_cidr_ranges)
|
736
|
+
@network = args[:network] if args.key?(:network)
|
737
|
+
end
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
652
741
|
# The bucket's lifecycle configuration. See lifecycle management for more
|
653
742
|
# information.
|
654
743
|
class Lifecycle
|
@@ -1673,6 +1762,12 @@ module Google
|
|
1673
1762
|
class GoogleLongrunningListOperationsResponse
|
1674
1763
|
include Google::Apis::Core::Hashable
|
1675
1764
|
|
1765
|
+
# The kind of item this is. For lists of operations, this is always storage#
|
1766
|
+
# operations.
|
1767
|
+
# Corresponds to the JSON property `kind`
|
1768
|
+
# @return [String]
|
1769
|
+
attr_accessor :kind
|
1770
|
+
|
1676
1771
|
# The continuation token, used to page through large result sets. Provide this
|
1677
1772
|
# value in a subsequent request to return the next page of results.
|
1678
1773
|
# Corresponds to the JSON property `nextPageToken`
|
@@ -1690,6 +1785,7 @@ module Google
|
|
1690
1785
|
|
1691
1786
|
# Update properties of this object
|
1692
1787
|
def update!(**args)
|
1788
|
+
@kind = args[:kind] if args.key?(:kind)
|
1693
1789
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1694
1790
|
@operations = args[:operations] if args.key?(:operations)
|
1695
1791
|
end
|
@@ -1717,6 +1813,11 @@ module Google
|
|
1717
1813
|
# @return [Google::Apis::StorageV1::GoogleRpcStatus]
|
1718
1814
|
attr_accessor :error
|
1719
1815
|
|
1816
|
+
# The kind of item this is. For operations, this is always storage#operation.
|
1817
|
+
# Corresponds to the JSON property `kind`
|
1818
|
+
# @return [String]
|
1819
|
+
attr_accessor :kind
|
1820
|
+
|
1720
1821
|
# Service-specific metadata associated with the operation. It typically contains
|
1721
1822
|
# progress information and common metadata such as create time. Some services
|
1722
1823
|
# might not provide such metadata. Any method that returns a long-running
|
@@ -1743,6 +1844,11 @@ module Google
|
|
1743
1844
|
# @return [Hash<String,Object>]
|
1744
1845
|
attr_accessor :response
|
1745
1846
|
|
1847
|
+
# The link to this long running operation.
|
1848
|
+
# Corresponds to the JSON property `selfLink`
|
1849
|
+
# @return [String]
|
1850
|
+
attr_accessor :self_link
|
1851
|
+
|
1746
1852
|
def initialize(**args)
|
1747
1853
|
update!(**args)
|
1748
1854
|
end
|
@@ -1751,9 +1857,11 @@ module Google
|
|
1751
1857
|
def update!(**args)
|
1752
1858
|
@done = args[:done] if args.key?(:done)
|
1753
1859
|
@error = args[:error] if args.key?(:error)
|
1860
|
+
@kind = args[:kind] if args.key?(:kind)
|
1754
1861
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1755
1862
|
@name = args[:name] if args.key?(:name)
|
1756
1863
|
@response = args[:response] if args.key?(:response)
|
1864
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1757
1865
|
end
|
1758
1866
|
end
|
1759
1867
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module StorageV1
|
18
18
|
# Version of the google-apis-storage_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -91,6 +91,24 @@ module Google
|
|
91
91
|
include Google::Apis::Core::JsonObjectSupport
|
92
92
|
end
|
93
93
|
|
94
|
+
class IpFilter
|
95
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
|
+
|
97
|
+
class PublicNetworkSource
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class VpcNetworkSource
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
include Google::Apis::Core::JsonObjectSupport
|
110
|
+
end
|
111
|
+
|
94
112
|
class Lifecycle
|
95
113
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
114
|
|
@@ -448,6 +466,8 @@ module Google
|
|
448
466
|
property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
|
449
467
|
|
450
468
|
property :id, as: 'id'
|
469
|
+
property :ip_filter, as: 'ipFilter', class: Google::Apis::StorageV1::Bucket::IpFilter, decorator: Google::Apis::StorageV1::Bucket::IpFilter::Representation
|
470
|
+
|
451
471
|
property :kind, as: 'kind'
|
452
472
|
hash :labels, as: 'labels'
|
453
473
|
property :lifecycle, as: 'lifecycle', class: Google::Apis::StorageV1::Bucket::Lifecycle, decorator: Google::Apis::StorageV1::Bucket::Lifecycle::Representation
|
@@ -560,6 +580,32 @@ module Google
|
|
560
580
|
end
|
561
581
|
end
|
562
582
|
|
583
|
+
class IpFilter
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :mode, as: 'mode'
|
587
|
+
property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
|
588
|
+
|
589
|
+
collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource::Representation
|
590
|
+
|
591
|
+
end
|
592
|
+
|
593
|
+
class PublicNetworkSource
|
594
|
+
# @private
|
595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
class VpcNetworkSource
|
601
|
+
# @private
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
603
|
+
collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
|
604
|
+
property :network, as: 'network'
|
605
|
+
end
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
563
609
|
class Lifecycle
|
564
610
|
# @private
|
565
611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -843,6 +889,7 @@ module Google
|
|
843
889
|
class GoogleLongrunningListOperationsResponse
|
844
890
|
# @private
|
845
891
|
class Representation < Google::Apis::Core::JsonRepresentation
|
892
|
+
property :kind, as: 'kind'
|
846
893
|
property :next_page_token, as: 'nextPageToken'
|
847
894
|
collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
|
848
895
|
|
@@ -855,9 +902,11 @@ module Google
|
|
855
902
|
property :done, as: 'done'
|
856
903
|
property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
|
857
904
|
|
905
|
+
property :kind, as: 'kind'
|
858
906
|
hash :metadata, as: 'metadata'
|
859
907
|
property :name, as: 'name'
|
860
908
|
hash :response, as: 'response'
|
909
|
+
property :self_link, as: 'selfLink'
|
861
910
|
end
|
862
911
|
end
|
863
912
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-storage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.41.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|