google-apis-storage_v1 0.21.0 → 0.23.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: 6e8cdfe32ae3e046f00a6f771297d8d62a044bcf79110c416e9fae968d2b5e8f
4
- data.tar.gz: 504d595e8774801a76db4d1e4ec390e1fa67e401bc8343037d9a29a8558c3521
3
+ metadata.gz: 5bf44dcc9608305412965a53779bb848842e84e2a7a3e4ab2eed83d2dc3a423d
4
+ data.tar.gz: 96b372ed51c3684b8187f361f64a7cdd10d1d7e0f42c5f8be7cca06f1f5c6462
5
5
  SHA512:
6
- metadata.gz: 8d21d0cdbb78f6a4a074af7e52ec6938e95d3ced618ceed09b583cf40117fd6df241eb0f9af84789ab7ae7c34d3bed9312194f6b90c7b0a780b51acc5d7a384e
7
- data.tar.gz: e5b29e76a3b6ab1e0d5d3609032f80479392f69133e99b175acd53464b32971bba5b4514ddd5b300a027d6c6105ee0a7df2bbb563efe80c6dd1c01dde8713229
6
+ metadata.gz: 669e1ac88fb1259fbfc402a19fe55efb04eaced1df5b05633435bc5aa49561fe2fb2d5e47b0c48b4dfeb0001d768aa23dc9b5f1e719809054727b75726bf7dfb
7
+ data.tar.gz: c990b1fbc49a150918c3845ec311c750bfee49cc6f72b9841f621d41d7bcff6f714caf7ef5d2cf3f5830fe50c7f8b712b161418277d10e5ea517fe5f454a4bd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.23.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230617
6
+
7
+ ### v0.22.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230301
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.21.0 (2023-02-14)
4
13
 
5
14
  * Regenerated using generator version 0.11.1
@@ -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.21.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220705"
25
+ REVISION = "20230617"
26
26
  end
27
27
  end
28
28
  end
@@ -1191,7 +1191,8 @@ module Google
1191
1191
  # Name of a bucket.
1192
1192
  # @param [String] object
1193
1193
  # Name of the object. For information about how to URL encode object names to be
1194
- # path safe, see Encoding URI Path Parts.
1194
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1195
+ # endpoints#encoding).
1195
1196
  # @param [String] entity
1196
1197
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1197
1198
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
@@ -1237,7 +1238,8 @@ module Google
1237
1238
  # Name of a bucket.
1238
1239
  # @param [String] object
1239
1240
  # Name of the object. For information about how to URL encode object names to be
1240
- # path safe, see Encoding URI Path Parts.
1241
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1242
+ # endpoints#encoding).
1241
1243
  # @param [String] entity
1242
1244
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1243
1245
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
@@ -1285,7 +1287,8 @@ module Google
1285
1287
  # Name of a bucket.
1286
1288
  # @param [String] object
1287
1289
  # Name of the object. For information about how to URL encode object names to be
1288
- # path safe, see Encoding URI Path Parts.
1290
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1291
+ # endpoints#encoding).
1289
1292
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1290
1293
  # @param [Fixnum] generation
1291
1294
  # If present, selects a specific revision of this object (as opposed to the
@@ -1332,7 +1335,8 @@ module Google
1332
1335
  # Name of a bucket.
1333
1336
  # @param [String] object
1334
1337
  # Name of the object. For information about how to URL encode object names to be
1335
- # path safe, see Encoding URI Path Parts.
1338
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1339
+ # endpoints#encoding).
1336
1340
  # @param [Fixnum] generation
1337
1341
  # If present, selects a specific revision of this object (as opposed to the
1338
1342
  # latest version, the default).
@@ -1376,7 +1380,8 @@ module Google
1376
1380
  # Name of a bucket.
1377
1381
  # @param [String] object
1378
1382
  # Name of the object. For information about how to URL encode object names to be
1379
- # path safe, see Encoding URI Path Parts.
1383
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1384
+ # endpoints#encoding).
1380
1385
  # @param [String] entity
1381
1386
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1382
1387
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
@@ -1427,7 +1432,8 @@ module Google
1427
1432
  # Name of a bucket.
1428
1433
  # @param [String] object
1429
1434
  # Name of the object. For information about how to URL encode object names to be
1430
- # path safe, see Encoding URI Path Parts.
1435
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1436
+ # endpoints#encoding).
1431
1437
  # @param [String] entity
1432
1438
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1433
1439
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
@@ -1479,7 +1485,8 @@ module Google
1479
1485
  # stored in this bucket.
1480
1486
  # @param [String] destination_object
1481
1487
  # Name of the new object. For information about how to URL encode object names
1482
- # to be path safe, see Encoding URI Path Parts.
1488
+ # to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/
1489
+ # request-endpoints#encoding).
1483
1490
  # @param [Google::Apis::StorageV1::ComposeRequest] compose_request_object
1484
1491
  # @param [String] destination_predefined_acl
1485
1492
  # Apply a predefined set of access controls to the destination object.
@@ -1539,11 +1546,13 @@ module Google
1539
1546
  # Name of the bucket in which to find the source object.
1540
1547
  # @param [String] source_object
1541
1548
  # Name of the source object. For information about how to URL encode object
1542
- # names to be path safe, see Encoding URI Path Parts.
1549
+ # names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/
1550
+ # request-endpoints#encoding).
1543
1551
  # @param [String] destination_bucket
1544
1552
  # Name of the bucket in which to store the new object. Overrides the provided
1545
1553
  # object metadata's bucket value, if any.For information about how to URL encode
1546
- # object names to be path safe, see Encoding URI Path Parts.
1554
+ # object names to be path safe, see [Encoding URI Path Parts](http://cloud/
1555
+ # storage/docs/request-endpoints#encoding).
1547
1556
  # @param [String] destination_object
1548
1557
  # Name of the new object. Required when the object metadata is not otherwise
1549
1558
  # provided. Overrides the object metadata's name value, if any.
@@ -1643,7 +1652,8 @@ module Google
1643
1652
  # Name of the bucket in which the object resides.
1644
1653
  # @param [String] object
1645
1654
  # Name of the object. For information about how to URL encode object names to be
1646
- # path safe, see Encoding URI Path Parts.
1655
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1656
+ # endpoints#encoding).
1647
1657
  # @param [Fixnum] generation
1648
1658
  # If present, permanently deletes a specific revision of this object (as opposed
1649
1659
  # to the latest version, the default).
@@ -1704,7 +1714,8 @@ module Google
1704
1714
  # Name of the bucket in which the object resides.
1705
1715
  # @param [String] object
1706
1716
  # Name of the object. For information about how to URL encode object names to be
1707
- # path safe, see Encoding URI Path Parts.
1717
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1718
+ # endpoints#encoding).
1708
1719
  # @param [Fixnum] generation
1709
1720
  # If present, selects a specific revision of this object (as opposed to the
1710
1721
  # latest version, the default).
@@ -1778,7 +1789,8 @@ module Google
1778
1789
  # Name of the bucket in which the object resides.
1779
1790
  # @param [String] object
1780
1791
  # Name of the object. For information about how to URL encode object names to be
1781
- # path safe, see Encoding URI Path Parts.
1792
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
1793
+ # endpoints#encoding).
1782
1794
  # @param [Fixnum] generation
1783
1795
  # If present, selects a specific revision of this object (as opposed to the
1784
1796
  # latest version, the default).
@@ -1849,8 +1861,8 @@ module Google
1849
1861
  # @param [String] name
1850
1862
  # Name of the object. Required when the object metadata is not otherwise
1851
1863
  # provided. Overrides the object metadata's name value, if any. For information
1852
- # about how to URL encode object names to be path safe, see Encoding URI Path
1853
- # Parts.
1864
+ # about how to URL encode object names to be path safe, see [Encoding URI Path
1865
+ # Parts](http://cloud/storage/docs/request-endpoints#encoding).
1854
1866
  # @param [String] predefined_acl
1855
1867
  # Apply a predefined set of access controls to this object.
1856
1868
  # @param [String] projection
@@ -1927,6 +1939,8 @@ module Google
1927
1939
  # @param [Boolean] include_trailing_delimiter
1928
1940
  # If true, objects that end in exactly one instance of delimiter will have their
1929
1941
  # metadata included in items in addition to prefixes.
1942
+ # @param [String] match_glob
1943
+ # Filter results to objects and prefixes that match this glob pattern.
1930
1944
  # @param [Fixnum] max_results
1931
1945
  # Maximum number of items plus prefixes to return in a single page of responses.
1932
1946
  # As duplicate prefixes are omitted, fewer total results may be returned than
@@ -1967,7 +1981,7 @@ module Google
1967
1981
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1968
1982
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1969
1983
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1970
- def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1984
+ def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, match_glob: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1971
1985
  command = make_simple_command(:get, 'b/{bucket}/o', options)
1972
1986
  command.response_representation = Google::Apis::StorageV1::Objects::Representation
1973
1987
  command.response_class = Google::Apis::StorageV1::Objects
@@ -1975,6 +1989,7 @@ module Google
1975
1989
  command.query['delimiter'] = delimiter unless delimiter.nil?
1976
1990
  command.query['endOffset'] = end_offset unless end_offset.nil?
1977
1991
  command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
1992
+ command.query['matchGlob'] = match_glob unless match_glob.nil?
1978
1993
  command.query['maxResults'] = max_results unless max_results.nil?
1979
1994
  command.query['pageToken'] = page_token unless page_token.nil?
1980
1995
  command.query['prefix'] = prefix unless prefix.nil?
@@ -1993,7 +2008,8 @@ module Google
1993
2008
  # Name of the bucket in which the object resides.
1994
2009
  # @param [String] object
1995
2010
  # Name of the object. For information about how to URL encode object names to be
1996
- # path safe, see Encoding URI Path Parts.
2011
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
2012
+ # endpoints#encoding).
1997
2013
  # @param [Google::Apis::StorageV1::Object] object_object
1998
2014
  # @param [Fixnum] generation
1999
2015
  # If present, selects a specific revision of this object (as opposed to the
@@ -2066,15 +2082,16 @@ module Google
2066
2082
  # Name of the bucket in which to find the source object.
2067
2083
  # @param [String] source_object
2068
2084
  # Name of the source object. For information about how to URL encode object
2069
- # names to be path safe, see Encoding URI Path Parts.
2085
+ # names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/
2086
+ # request-endpoints#encoding).
2070
2087
  # @param [String] destination_bucket
2071
2088
  # Name of the bucket in which to store the new object. Overrides the provided
2072
2089
  # object metadata's bucket value, if any.
2073
2090
  # @param [String] destination_object
2074
2091
  # Name of the new object. Required when the object metadata is not otherwise
2075
2092
  # provided. Overrides the object metadata's name value, if any. For information
2076
- # about how to URL encode object names to be path safe, see Encoding URI Path
2077
- # Parts.
2093
+ # about how to URL encode object names to be path safe, see [Encoding URI Path
2094
+ # Parts](http://cloud/storage/docs/request-endpoints#encoding).
2078
2095
  # @param [Google::Apis::StorageV1::Object] object_object
2079
2096
  # @param [String] destination_kms_key_name
2080
2097
  # Resource name of the Cloud KMS key, of the form projects/my-project/locations/
@@ -2185,7 +2202,8 @@ module Google
2185
2202
  # Name of the bucket in which the object resides.
2186
2203
  # @param [String] object
2187
2204
  # Name of the object. For information about how to URL encode object names to be
2188
- # path safe, see Encoding URI Path Parts.
2205
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
2206
+ # endpoints#encoding).
2189
2207
  # @param [Google::Apis::StorageV1::Policy] policy_object
2190
2208
  # @param [Fixnum] generation
2191
2209
  # If present, selects a specific revision of this object (as opposed to the
@@ -2233,7 +2251,8 @@ module Google
2233
2251
  # Name of the bucket in which the object resides.
2234
2252
  # @param [String] object
2235
2253
  # Name of the object. For information about how to URL encode object names to be
2236
- # path safe, see Encoding URI Path Parts.
2254
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
2255
+ # endpoints#encoding).
2237
2256
  # @param [Array<String>, String] permissions
2238
2257
  # Permissions to test.
2239
2258
  # @param [Fixnum] generation
@@ -2280,7 +2299,8 @@ module Google
2280
2299
  # Name of the bucket in which the object resides.
2281
2300
  # @param [String] object
2282
2301
  # Name of the object. For information about how to URL encode object names to be
2283
- # path safe, see Encoding URI Path Parts.
2302
+ # path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-
2303
+ # endpoints#encoding).
2284
2304
  # @param [Google::Apis::StorageV1::Object] object_object
2285
2305
  # @param [Fixnum] generation
2286
2306
  # If present, selects a specific revision of this object (as opposed to the
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.21.0
4
+ version: 0.23.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: 2023-02-14 00:00:00.000000000 Z
11
+ date: 2023-06-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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.23.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: []