google-apis-storage_v1 0.40.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc2817e120ad16d60743c2a442925e8a855dab1ad241d7cb9e44fdf4f71e1582
4
- data.tar.gz: 8baf01d69125bf894fb49416a916a62e73a55cfe79ff58fecc32c065756fe8ff
3
+ metadata.gz: 57c37c08f620ede9482e418a18d8454f12fc8b008086ae1b081ff607e6d9fc88
4
+ data.tar.gz: 3f99f26864ddf171f5b309c322a2e02d58adb63830200fd96f9f76aa8ca21c9b
5
5
  SHA512:
6
- metadata.gz: 44a5a33c4d0d48747f2a68ab884764d5ccf7fe8f64eae86b1c301f4e5d088cc4888a58405e0d922200eb83978f8e39b60e268880401da42b4bac69ee824c212b
7
- data.tar.gz: 8dc887aef896142eab243f127b9874e634ecbae9537e359bf2a60e029c510797f29f07f188269b3a4859549ffc150f9e1fe7d39fb7b0fd9c6d15e6a7aaba3243
6
+ metadata.gz: 5119dc88378c0302b7052a3d2c25f1ccfc527c53febc61577794703176fc5e2686413230eaa7a4eb747495d7e28036d9be7d3b5210fb34cf9ec8ec90e63a3d18
7
+ data.tar.gz: 559386b27b822dd2b337feb90fda12bd1679d1296a8c108dee7f131164429709e106b7541721d6ba60b64ab7b38ffa25b057c6a82dcb4aecba55fbaff08fb1b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.40.0 (2024-06-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240621
@@ -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
@@ -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.40.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 = "20240621"
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
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.40.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-06-27 00:00:00.000000000 Z
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.40.0
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: []