google-apis-storagebatchoperations_v1 0.5.0 → 0.7.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/storagebatchoperations_v1/classes.rb +41 -0
- data/lib/google/apis/storagebatchoperations_v1/gem_version.rb +2 -2
- data/lib/google/apis/storagebatchoperations_v1/representations.rb +17 -0
- data/lib/google/apis/storagebatchoperations_v1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6a1535a904f92c8f0f2970ea92af1be0252c927b71e50b95cb3614b740ab749
|
|
4
|
+
data.tar.gz: 14f509e0feceedfb69af2f219a86703fc0994a6f2bdd301b9870820e80d73c0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a631580fa33ce11b1b2e7b2536d437c6ad30e01cc0facab1799ec50babba99be9a117067631d306a14c857de3fc752a4e6c4f26609fd76add912e2038caff64
|
|
7
|
+
data.tar.gz: 4747793c0b812bc5ffbe6c827e4ecf4eb5f155fdd2e2bd4a6313d7835d19a4c611ea26efa6b41ddf9a0a5b37c17a97d267374b1ac91dc9fdb657119984ce67e7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-storagebatchoperations_v1
|
|
2
2
|
|
|
3
|
+
### v0.7.0 (2025-10-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251015
|
|
6
|
+
|
|
7
|
+
### v0.6.0 (2025-10-05)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250924
|
|
10
|
+
|
|
3
11
|
### v0.5.0 (2025-09-21)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250910
|
|
@@ -426,6 +426,13 @@ module Google
|
|
|
426
426
|
# @return [Array<Google::Apis::StoragebatchoperationsV1::Operation>]
|
|
427
427
|
attr_accessor :operations
|
|
428
428
|
|
|
429
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
430
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
431
|
+
# when attempting to list all resources across all supported locations.
|
|
432
|
+
# Corresponds to the JSON property `unreachable`
|
|
433
|
+
# @return [Array<String>]
|
|
434
|
+
attr_accessor :unreachable
|
|
435
|
+
|
|
429
436
|
def initialize(**args)
|
|
430
437
|
update!(**args)
|
|
431
438
|
end
|
|
@@ -434,6 +441,7 @@ module Google
|
|
|
434
441
|
def update!(**args)
|
|
435
442
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
436
443
|
@operations = args[:operations] if args.key?(:operations)
|
|
444
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
437
445
|
end
|
|
438
446
|
end
|
|
439
447
|
|
|
@@ -536,6 +544,33 @@ module Google
|
|
|
536
544
|
end
|
|
537
545
|
end
|
|
538
546
|
|
|
547
|
+
# Describes options for object retention update.
|
|
548
|
+
class ObjectRetention
|
|
549
|
+
include Google::Apis::Core::Hashable
|
|
550
|
+
|
|
551
|
+
# Required. The time when the object will be retained until. UNSET will clear
|
|
552
|
+
# the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.
|
|
553
|
+
# SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'.
|
|
554
|
+
# Corresponds to the JSON property `retainUntilTime`
|
|
555
|
+
# @return [String]
|
|
556
|
+
attr_accessor :retain_until_time
|
|
557
|
+
|
|
558
|
+
# Required. The retention mode of the object.
|
|
559
|
+
# Corresponds to the JSON property `retentionMode`
|
|
560
|
+
# @return [String]
|
|
561
|
+
attr_accessor :retention_mode
|
|
562
|
+
|
|
563
|
+
def initialize(**args)
|
|
564
|
+
update!(**args)
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# Update properties of this object
|
|
568
|
+
def update!(**args)
|
|
569
|
+
@retain_until_time = args[:retain_until_time] if args.key?(:retain_until_time)
|
|
570
|
+
@retention_mode = args[:retention_mode] if args.key?(:retention_mode)
|
|
571
|
+
end
|
|
572
|
+
end
|
|
573
|
+
|
|
539
574
|
# This resource represents a long-running operation that is the result of a
|
|
540
575
|
# network API call.
|
|
541
576
|
class Operation
|
|
@@ -732,6 +767,11 @@ module Google
|
|
|
732
767
|
# @return [String]
|
|
733
768
|
attr_accessor :custom_time
|
|
734
769
|
|
|
770
|
+
# Describes options for object retention update.
|
|
771
|
+
# Corresponds to the JSON property `objectRetention`
|
|
772
|
+
# @return [Google::Apis::StoragebatchoperationsV1::ObjectRetention]
|
|
773
|
+
attr_accessor :object_retention
|
|
774
|
+
|
|
735
775
|
def initialize(**args)
|
|
736
776
|
update!(**args)
|
|
737
777
|
end
|
|
@@ -745,6 +785,7 @@ module Google
|
|
|
745
785
|
@content_type = args[:content_type] if args.key?(:content_type)
|
|
746
786
|
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
|
747
787
|
@custom_time = args[:custom_time] if args.key?(:custom_time)
|
|
788
|
+
@object_retention = args[:object_retention] if args.key?(:object_retention)
|
|
748
789
|
end
|
|
749
790
|
end
|
|
750
791
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module StoragebatchoperationsV1
|
|
18
18
|
# Version of the google-apis-storagebatchoperations_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.7.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251015"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -124,6 +124,12 @@ module Google
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
class ObjectRetention
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
127
133
|
class Operation
|
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
135
|
|
|
@@ -297,6 +303,7 @@ module Google
|
|
|
297
303
|
property :next_page_token, as: 'nextPageToken'
|
|
298
304
|
collection :operations, as: 'operations', class: Google::Apis::StoragebatchoperationsV1::Operation, decorator: Google::Apis::StoragebatchoperationsV1::Operation::Representation
|
|
299
305
|
|
|
306
|
+
collection :unreachable, as: 'unreachable'
|
|
300
307
|
end
|
|
301
308
|
end
|
|
302
309
|
|
|
@@ -326,6 +333,14 @@ module Google
|
|
|
326
333
|
end
|
|
327
334
|
end
|
|
328
335
|
|
|
336
|
+
class ObjectRetention
|
|
337
|
+
# @private
|
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
339
|
+
property :retain_until_time, as: 'retainUntilTime'
|
|
340
|
+
property :retention_mode, as: 'retentionMode'
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
|
|
329
344
|
class Operation
|
|
330
345
|
# @private
|
|
331
346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -368,6 +383,8 @@ module Google
|
|
|
368
383
|
property :content_type, as: 'contentType'
|
|
369
384
|
hash :custom_metadata, as: 'customMetadata'
|
|
370
385
|
property :custom_time, as: 'customTime'
|
|
386
|
+
property :object_retention, as: 'objectRetention', class: Google::Apis::StoragebatchoperationsV1::ObjectRetention, decorator: Google::Apis::StoragebatchoperationsV1::ObjectRetention::Representation
|
|
387
|
+
|
|
371
388
|
end
|
|
372
389
|
end
|
|
373
390
|
|
|
@@ -432,6 +432,13 @@ module Google
|
|
|
432
432
|
# The standard list page size.
|
|
433
433
|
# @param [String] page_token
|
|
434
434
|
# The standard list page token.
|
|
435
|
+
# @param [Boolean] return_partial_success
|
|
436
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
437
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
438
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
439
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
440
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
441
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
435
442
|
# @param [String] fields
|
|
436
443
|
# Selector specifying which fields to include in a partial response.
|
|
437
444
|
# @param [String] quota_user
|
|
@@ -449,7 +456,7 @@ module Google
|
|
|
449
456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
450
457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
451
458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
452
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
459
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
453
460
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
454
461
|
command.response_representation = Google::Apis::StoragebatchoperationsV1::ListOperationsResponse::Representation
|
|
455
462
|
command.response_class = Google::Apis::StoragebatchoperationsV1::ListOperationsResponse
|
|
@@ -457,6 +464,7 @@ module Google
|
|
|
457
464
|
command.query['filter'] = filter unless filter.nil?
|
|
458
465
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
459
466
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
467
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
460
468
|
command.query['fields'] = fields unless fields.nil?
|
|
461
469
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
462
470
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-storagebatchoperations_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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-storagebatchoperations_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storagebatchoperations_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagebatchoperations_v1/v0.7.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagebatchoperations_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|