google-apis-storage_v1 0.50.0 → 0.52.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: 42bcb279dde4b85904092ec1a6d16624755d40b38c65365474ea7fb6e68af00e
4
- data.tar.gz: 23dea4b529c226e71322911d55f87b8c2755868ee77c018e1a253eba673b5d2b
3
+ metadata.gz: 5b741919bd80142548b84a6e8bcde0c44d0951b7d04a33b221e98728b34382c8
4
+ data.tar.gz: 588099d3946f8e424defd3fdd138dd6dbaa0c43f194d16e8ef6ace0704d34bf2
5
5
  SHA512:
6
- metadata.gz: 89727d7f616b6b8e2204410fda12c493f784ee6eeb96306620713df0f9ad4b3e9fd34bdc5ab64b40d275f1fd9ddc694078e2cd82d6b8d9f8ad3151334caec6fc
7
- data.tar.gz: a8596bf95d4a5b34dbf1948ecc5a9fa52c49d6c585a4e9f5fd52aaecc0ca5daa7c6334432315765368b1f791ccf77a1251c0b76cc38f203bf8f33918e15228fc
6
+ metadata.gz: 2a57414306079dd0c9b6f476b0bd1323ad0baca977c631f6d27e3f3e778fcb6c19085c1b47915d0e39caae5412bde86e40a02fd1d8764a00b8409716e33d5353
7
+ data.tar.gz: 998f5382077fca007ca6e56de942ee62aa965e905bdd8eebef14d7ae1c5e521b5544b62e03edeeaca499ce89c367e27db545b6d3f64aab69de0516a0a1f9848c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.52.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250524
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.51.0 (2025-05-04)
9
+
10
+ * Regenerated from discovery document revision 20250424
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.50.0 (2025-03-02)
4
14
 
5
15
  * Regenerated from discovery document revision 20250224
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/storage/docs/json_api/
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -717,6 +717,12 @@ module Google
717
717
  class IpFilter
718
718
  include Google::Apis::Core::Hashable
719
719
 
720
+ # Whether to allow cross-org VPCs in the bucket's IP filter configuration.
721
+ # Corresponds to the JSON property `allowCrossOrgVpcs`
722
+ # @return [Boolean]
723
+ attr_accessor :allow_cross_org_vpcs
724
+ alias_method :allow_cross_org_vpcs?, :allow_cross_org_vpcs
725
+
720
726
  # The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.
721
727
  # Corresponds to the JSON property `mode`
722
728
  # @return [String]
@@ -739,6 +745,7 @@ module Google
739
745
 
740
746
  # Update properties of this object
741
747
  def update!(**args)
748
+ @allow_cross_org_vpcs = args[:allow_cross_org_vpcs] if args.key?(:allow_cross_org_vpcs)
742
749
  @mode = args[:mode] if args.key?(:mode)
743
750
  @public_network_source = args[:public_network_source] if args.key?(:public_network_source)
744
751
  @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250224"
25
+ REVISION = "20250524"
26
26
  end
27
27
  end
28
28
  end
@@ -616,6 +616,7 @@ module Google
616
616
  class IpFilter
617
617
  # @private
618
618
  class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :allow_cross_org_vpcs, as: 'allowCrossOrgVpcs'
619
620
  property :mode, as: 'mode'
620
621
  property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
621
622
 
@@ -3044,6 +3044,8 @@ module Google
3044
3044
  # metageneration does not match the given value. `ifSourceMetagenerationMatch`
3045
3045
  # and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's
3046
3046
  # an error for both of them to be set in the request.
3047
+ # @param [String] projection
3048
+ # Set of properties to return. Defaults to noAcl.
3047
3049
  # @param [String] user_project
3048
3050
  # The project to be billed for this request. Required for Requester Pays buckets.
3049
3051
  # @param [String] fields
@@ -3065,7 +3067,7 @@ module Google
3065
3067
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3066
3068
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3067
3069
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3068
- def move_object(bucket, source_object, destination_object, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3070
+ def move_object(bucket, source_object, destination_object, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3069
3071
  command = make_simple_command(:post, 'b/{bucket}/o/{sourceObject}/moveTo/o/{destinationObject}', options)
3070
3072
  command.response_representation = Google::Apis::StorageV1::Object::Representation
3071
3073
  command.response_class = Google::Apis::StorageV1::Object
@@ -3080,6 +3082,7 @@ module Google
3080
3082
  command.query['ifSourceGenerationNotMatch'] = if_source_generation_not_match unless if_source_generation_not_match.nil?
3081
3083
  command.query['ifSourceMetagenerationMatch'] = if_source_metageneration_match unless if_source_metageneration_match.nil?
3082
3084
  command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil?
3085
+ command.query['projection'] = projection unless projection.nil?
3083
3086
  command.query['userProject'] = user_project unless user_project.nil?
3084
3087
  command.query['fields'] = fields unless fields.nil?
3085
3088
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.52.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Storage JSON API V1
79
79
  test_files: []