Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378722,6 +378722,7 @@
"/storage:v1/storage.objects.compose/destinationBucket": destination_bucket
"/storage:v1/storage.objects.compose/destinationObject": destination_object
"/storage:v1/storage.objects.compose/destinationPredefinedAcl": destination_predefined_acl
"/storage:v1/storage.objects.compose/dropContextGroups": drop_context_groups
"/storage:v1/storage.objects.compose/ifGenerationMatch": if_generation_match
"/storage:v1/storage.objects.compose/ifMetagenerationMatch": if_metageneration_match
"/storage:v1/storage.objects.compose/kmsKeyName": kms_key_name
Expand Down Expand Up @@ -378849,6 +378850,7 @@
"/storage:v1/storage.objects.rewrite/destinationKmsKeyName": destination_kms_key_name
"/storage:v1/storage.objects.rewrite/destinationObject": destination_object
"/storage:v1/storage.objects.rewrite/destinationPredefinedAcl": destination_predefined_acl
"/storage:v1/storage.objects.rewrite/dropContextGroups": drop_context_groups
"/storage:v1/storage.objects.rewrite/ifGenerationMatch": if_generation_match
"/storage:v1/storage.objects.rewrite/ifGenerationNotMatch": if_generation_not_match
"/storage:v1/storage.objects.rewrite/ifMetagenerationMatch": if_metageneration_match
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-storage_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-storage_v1

### v0.60.0 (2026-02-08)

* Regenerated from discovery document revision 20260131

### v0.59.0 (2026-01-18)

* Regenerated from discovery document revision 20260111
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module StorageV1
# Version of the google-apis-storage_v1 gem
GEM_VERSION = "0.59.0"
GEM_VERSION = "0.60.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20260111"
REVISION = "20260131"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2459,6 +2459,9 @@ def bulk_restore_objects(bucket, bulk_restore_objects_request_object = nil, fiel
# @param [Google::Apis::StorageV1::ComposeRequest] compose_request_object
# @param [String] destination_predefined_acl
# Apply a predefined set of access controls to the destination object.
# @param [Array<String>, String] drop_context_groups
# Specifies which groups of Object Contexts from the source object(s) should be
# dropped from the destination object.
# @param [Fixnum] if_generation_match
# Makes the operation conditional on whether the object's current generation
# matches the given value. Setting to 0 makes the operation succeed only if
Expand Down Expand Up @@ -2491,7 +2494,7 @@ def bulk_restore_objects(bucket, bulk_restore_objects_request_object = nil, fiel
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, drop_context_groups: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
command.request_representation = Google::Apis::StorageV1::ComposeRequest::Representation
command.request_object = compose_request_object
Expand All @@ -2500,6 +2503,7 @@ def compose_object(destination_bucket, destination_object, compose_request_objec
command.params['destinationBucket'] = destination_bucket unless destination_bucket.nil?
command.params['destinationObject'] = destination_object unless destination_object.nil?
command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil?
command.query['dropContextGroups'] = drop_context_groups unless drop_context_groups.nil?
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil?
Expand Down Expand Up @@ -3274,6 +3278,9 @@ def restore_object(bucket, object, generation, copy_source_acl: nil, if_generati
# object. Overrides the object metadata's kms_key_name value, if any.
# @param [String] destination_predefined_acl
# Apply a predefined set of access controls to the destination object.
# @param [Array<String>, String] drop_context_groups
# Specifies which groups of Object Contexts from the source object should be
# dropped from the destination object.
# @param [Fixnum] if_generation_match
# Makes the operation conditional on whether the object's current generation
# matches the given value. Setting to 0 makes the operation succeed only if
Expand Down Expand Up @@ -3341,7 +3348,7 @@ def restore_object(bucket, object, generation, copy_source_acl: nil, if_generati
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, 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, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, drop_context_groups: nil, 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, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
command.request_representation = Google::Apis::StorageV1::Object::Representation
command.request_object = object_object
Expand All @@ -3353,6 +3360,7 @@ def rewrite_object(source_bucket, source_object, destination_bucket, destination
command.params['destinationObject'] = destination_object unless destination_object.nil?
command.query['destinationKmsKeyName'] = destination_kms_key_name unless destination_kms_key_name.nil?
command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil?
command.query['dropContextGroups'] = drop_context_groups unless drop_context_groups.nil?
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
Expand Down