google-apis-storage_v1 0.49.0 → 0.51.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: ff26be4bb55f4a670e315ca18140db560ab3044093d58c602c5f003df7c23939
4
- data.tar.gz: 6ace78a94b2cbc82857df21f4a997991961084584a6132770a5722df921fe82c
3
+ metadata.gz: 04f8b6ac5d1f53ac828b9286b489323f653215d59aa55f94031b9f83d1c428a5
4
+ data.tar.gz: 516b63e290da0b3567585f27d1e051d42c7c76b219d39bf44f6e579bdcf8184f
5
5
  SHA512:
6
- metadata.gz: d90a9aa6f2124d2dd9c1a8b2896412f092477911d9d811a9cd7c286511e3c8a851fab92477a411da06663c50e0e1f87d0a2be93cb6362e8b7efb6cb46ffca736
7
- data.tar.gz: 88fd5cfce0a4f5c76d0912f3d58fe929ed8e850cd73abbf2853d0ed53118ba3a3a0febfdb575ec11576e7103bcaa626d5327d6ee9079a7dc75a370dc674a1d00
6
+ metadata.gz: 7a7b22318dbf8fa580411c6dbb6852d9a3d17cea9e734d5c68385cfe20c61bc8f2d14f927563e38bb0295e2edf4700509adf3dd3019e36bdbef5cabf1d6a2c95
7
+ data.tar.gz: 496406c8ae9c763fb1ad1946eeb71d693f18b584030734804f9cce2cca1f9c29fd3ad83e179d0decebbf02b2c77741e4160d0f5747e4fce6c8123f2a284fed5b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.51.0 (2025-05-04)
4
+
5
+ * Regenerated from discovery document revision 20250424
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.50.0 (2025-03-02)
9
+
10
+ * Regenerated from discovery document revision 20250224
11
+ * Regenerated using generator version 0.16.0
12
+
3
13
  ### v0.49.0 (2024-12-15)
4
14
 
5
15
  * Regenerated from discovery document revision 20241206
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
 
@@ -2902,23 +2902,23 @@ module Google
2902
2902
 
2903
2903
  # A collection of identifiers for members who may assume the provided role.
2904
2904
  # Recognized identifiers are as follows:
2905
- # - allUsers A special identifier that represents anyone on the internet; with
2905
+ # - allUsers - A special identifier that represents anyone on the internet; with
2906
2906
  # or without a Google account.
2907
- # - allAuthenticatedUsers A special identifier that represents anyone who is
2907
+ # - allAuthenticatedUsers - A special identifier that represents anyone who is
2908
2908
  # authenticated with a Google account or a service account.
2909
- # - user:emailid An email address that represents a specific account. For
2909
+ # - user:emailid - An email address that represents a specific account. For
2910
2910
  # example, user:alice@gmail.com or user:joe@example.com.
2911
- # - serviceAccount:emailid An email address that represents a service account.
2911
+ # - serviceAccount:emailid - An email address that represents a service account.
2912
2912
  # For example, serviceAccount:my-other-app@appspot.gserviceaccount.com .
2913
- # - group:emailid An email address that represents a Google group. For example,
2913
+ # - group:emailid - An email address that represents a Google group. For example,
2914
2914
  # group:admins@example.com.
2915
- # - domain:domain A Google Apps domain name that represents all the users of
2915
+ # - domain:domain - A Google Apps domain name that represents all the users of
2916
2916
  # that domain. For example, domain:google.com or domain:example.com.
2917
- # - projectOwner:projectid Owners of the given project. For example,
2917
+ # - projectOwner:projectid - Owners of the given project. For example,
2918
2918
  # projectOwner:my-example-project
2919
- # - projectEditor:projectid Editors of the given project. For example,
2919
+ # - projectEditor:projectid - Editors of the given project. For example,
2920
2920
  # projectEditor:my-example-project
2921
- # - projectViewer:projectid Viewers of the given project. For example,
2921
+ # - projectViewer:projectid - Viewers of the given project. For example,
2922
2922
  # projectViewer:my-example-project
2923
2923
  # Corresponds to the JSON property `members`
2924
2924
  # @return [Array<String>]
@@ -2929,23 +2929,23 @@ module Google
2929
2929
  # ACLs, and legacy IAM roles, which do map directly to ACL permissions. All
2930
2930
  # roles are of the format roles/storage.specificRole.
2931
2931
  # The new IAM roles are:
2932
- # - roles/storage.admin Full control of Google Cloud Storage resources.
2933
- # - roles/storage.objectViewer Read-Only access to Google Cloud Storage
2932
+ # - roles/storage.admin - Full control of Google Cloud Storage resources.
2933
+ # - roles/storage.objectViewer - Read-Only access to Google Cloud Storage
2934
2934
  # objects.
2935
- # - roles/storage.objectCreator Access to create objects in Google Cloud
2935
+ # - roles/storage.objectCreator - Access to create objects in Google Cloud
2936
2936
  # Storage.
2937
- # - roles/storage.objectAdmin Full control of Google Cloud Storage objects.
2937
+ # - roles/storage.objectAdmin - Full control of Google Cloud Storage objects.
2938
2938
  # The legacy IAM roles are:
2939
- # - roles/storage.legacyObjectReader Read-only access to objects without
2939
+ # - roles/storage.legacyObjectReader - Read-only access to objects without
2940
2940
  # listing. Equivalent to an ACL entry on an object with the READER role.
2941
- # - roles/storage.legacyObjectOwner Read/write access to existing objects
2941
+ # - roles/storage.legacyObjectOwner - Read/write access to existing objects
2942
2942
  # without listing. Equivalent to an ACL entry on an object with the OWNER role.
2943
- # - roles/storage.legacyBucketReader Read access to buckets with object
2943
+ # - roles/storage.legacyBucketReader - Read access to buckets with object
2944
2944
  # listing. Equivalent to an ACL entry on a bucket with the READER role.
2945
- # - roles/storage.legacyBucketWriter Read access to buckets with object
2945
+ # - roles/storage.legacyBucketWriter - Read access to buckets with object
2946
2946
  # listing/creation/deletion. Equivalent to an ACL entry on a bucket with the
2947
2947
  # WRITER role.
2948
- # - roles/storage.legacyBucketOwner Read and write access to existing buckets
2948
+ # - roles/storage.legacyBucketOwner - Read and write access to existing buckets
2949
2949
  # with object listing/creation/deletion. Equivalent to an ACL entry on a bucket
2950
2950
  # with the OWNER role.
2951
2951
  # Corresponds to the JSON property `role`
@@ -3110,26 +3110,26 @@ module Google
3110
3110
  # The permissions held by the caller. Permissions are always of the format
3111
3111
  # storage.resource.capability, where resource is one of buckets, objects, or
3112
3112
  # managedFolders. The supported permissions are as follows:
3113
- # - storage.buckets.delete Delete bucket.
3114
- # - storage.buckets.get Read bucket metadata.
3115
- # - storage.buckets.getIamPolicy Read bucket IAM policy.
3116
- # - storage.buckets.create Create bucket.
3117
- # - storage.buckets.list List buckets.
3118
- # - storage.buckets.setIamPolicy Update bucket IAM policy.
3119
- # - storage.buckets.update Update bucket metadata.
3120
- # - storage.objects.delete Delete object.
3121
- # - storage.objects.get Read object data and metadata.
3122
- # - storage.objects.getIamPolicy Read object IAM policy.
3123
- # - storage.objects.create Create object.
3124
- # - storage.objects.list List objects.
3125
- # - storage.objects.setIamPolicy Update object IAM policy.
3126
- # - storage.objects.update Update object metadata.
3127
- # - storage.managedFolders.delete Delete managed folder.
3128
- # - storage.managedFolders.get Read managed folder metadata.
3129
- # - storage.managedFolders.getIamPolicy Read managed folder IAM policy.
3130
- # - storage.managedFolders.create Create managed folder.
3131
- # - storage.managedFolders.list List managed folders.
3132
- # - storage.managedFolders.setIamPolicy Update managed folder IAM policy.
3113
+ # - storage.buckets.delete - Delete bucket.
3114
+ # - storage.buckets.get - Read bucket metadata.
3115
+ # - storage.buckets.getIamPolicy - Read bucket IAM policy.
3116
+ # - storage.buckets.create - Create bucket.
3117
+ # - storage.buckets.list - List buckets.
3118
+ # - storage.buckets.setIamPolicy - Update bucket IAM policy.
3119
+ # - storage.buckets.update - Update bucket metadata.
3120
+ # - storage.objects.delete - Delete object.
3121
+ # - storage.objects.get - Read object data and metadata.
3122
+ # - storage.objects.getIamPolicy - Read object IAM policy.
3123
+ # - storage.objects.create - Create object.
3124
+ # - storage.objects.list - List objects.
3125
+ # - storage.objects.setIamPolicy - Update object IAM policy.
3126
+ # - storage.objects.update - Update object metadata.
3127
+ # - storage.managedFolders.delete - Delete managed folder.
3128
+ # - storage.managedFolders.get - Read managed folder metadata.
3129
+ # - storage.managedFolders.getIamPolicy - Read managed folder IAM policy.
3130
+ # - storage.managedFolders.create - Create managed folder.
3131
+ # - storage.managedFolders.list - List managed folders.
3132
+ # - storage.managedFolders.setIamPolicy - Update managed folder IAM policy.
3133
3133
  # Corresponds to the JSON property `permissions`
3134
3134
  # @return [Array<String>]
3135
3135
  attr_accessor :permissions
@@ -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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241206"
25
+ REVISION = "20250424"
26
26
  end
27
27
  end
28
28
  end
@@ -1522,7 +1522,7 @@ module Google
1522
1522
  # Name of the bucket in which the folder resides.
1523
1523
  # @param [Google::Apis::StorageV1::Folder] folder_object
1524
1524
  # @param [Boolean] recursive
1525
- # If true, any parent folder which doesnt exist will be created automatically.
1525
+ # If true, any parent folder which doesn't exist will be created automatically.
1526
1526
  # @param [String] fields
1527
1527
  # Selector specifying which fields to include in a partial response.
1528
1528
  # @param [String] quota_user
@@ -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,14 +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.49.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.49.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.51.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Storage JSON API V1
82
79
  test_files: []