google-apis-storage_v1 0.54.0 → 0.56.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1be8f7fbd87aa2831b6f9d6355a0f0933a530a7b986e77b0e2cf34b832225dfd
|
4
|
+
data.tar.gz: 9f5f0e6ce00326243a02e36558118d6bedf93c5e5595eae5c660ff875c91f42e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db84f3cbf54976e3625ed3a5b98397d4e70d65e8c36bec15b3e018609395e75d636412cecfa82887653112746b2e099a3564f6a17f7d8587536aa6d4a9c8d32
|
7
|
+
data.tar.gz: '084a24cb1afd974f251b2e7ee3a2d2776f19ddb61b1f11fcb3f26cc6f40f5be1f9c705ecf604a6c019fefdb77bba597c1aaa3ca451171718d275317a5d68e845'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.56.0 (2025-08-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250814
|
6
|
+
|
7
|
+
### v0.55.0 (2025-07-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250718
|
10
|
+
|
3
11
|
### v0.54.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250629
|
@@ -577,19 +577,135 @@ module Google
|
|
577
577
|
class Encryption
|
578
578
|
include Google::Apis::Core::Hashable
|
579
579
|
|
580
|
+
# If set, the new objects created in this bucket must comply with this
|
581
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
582
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
583
|
+
# encrypted with Customer Managed Encryption type by default.
|
584
|
+
# Corresponds to the JSON property `customerManagedEncryptionEnforcementConfig`
|
585
|
+
# @return [Google::Apis::StorageV1::Bucket::Encryption::CustomerManagedEncryptionEnforcementConfig]
|
586
|
+
attr_accessor :customer_managed_encryption_enforcement_config
|
587
|
+
|
588
|
+
# If set, the new objects created in this bucket must comply with this
|
589
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
590
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
591
|
+
# encrypted with Customer Supplied Encryption type by default.
|
592
|
+
# Corresponds to the JSON property `customerSuppliedEncryptionEnforcementConfig`
|
593
|
+
# @return [Google::Apis::StorageV1::Bucket::Encryption::CustomerSuppliedEncryptionEnforcementConfig]
|
594
|
+
attr_accessor :customer_supplied_encryption_enforcement_config
|
595
|
+
|
580
596
|
# A Cloud KMS key that will be used to encrypt objects inserted into this bucket,
|
581
597
|
# if no encryption method is specified.
|
582
598
|
# Corresponds to the JSON property `defaultKmsKeyName`
|
583
599
|
# @return [String]
|
584
600
|
attr_accessor :default_kms_key_name
|
585
601
|
|
602
|
+
# If set, the new objects created in this bucket must comply with this
|
603
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
604
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
605
|
+
# encrypted with Google Managed Encryption type by default.
|
606
|
+
# Corresponds to the JSON property `googleManagedEncryptionEnforcementConfig`
|
607
|
+
# @return [Google::Apis::StorageV1::Bucket::Encryption::GoogleManagedEncryptionEnforcementConfig]
|
608
|
+
attr_accessor :google_managed_encryption_enforcement_config
|
609
|
+
|
586
610
|
def initialize(**args)
|
587
611
|
update!(**args)
|
588
612
|
end
|
589
613
|
|
590
614
|
# Update properties of this object
|
591
615
|
def update!(**args)
|
616
|
+
@customer_managed_encryption_enforcement_config = args[:customer_managed_encryption_enforcement_config] if args.key?(:customer_managed_encryption_enforcement_config)
|
617
|
+
@customer_supplied_encryption_enforcement_config = args[:customer_supplied_encryption_enforcement_config] if args.key?(:customer_supplied_encryption_enforcement_config)
|
592
618
|
@default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name)
|
619
|
+
@google_managed_encryption_enforcement_config = args[:google_managed_encryption_enforcement_config] if args.key?(:google_managed_encryption_enforcement_config)
|
620
|
+
end
|
621
|
+
|
622
|
+
# If set, the new objects created in this bucket must comply with this
|
623
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
624
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
625
|
+
# encrypted with Customer Managed Encryption type by default.
|
626
|
+
class CustomerManagedEncryptionEnforcementConfig
|
627
|
+
include Google::Apis::Core::Hashable
|
628
|
+
|
629
|
+
# Server-determined value that indicates the time from which configuration was
|
630
|
+
# enforced and effective. This value is in RFC 3339 format.
|
631
|
+
# Corresponds to the JSON property `effectiveTime`
|
632
|
+
# @return [DateTime]
|
633
|
+
attr_accessor :effective_time
|
634
|
+
|
635
|
+
# Restriction mode for Customer-Managed Encryption Keys. Defaults to
|
636
|
+
# NotRestricted.
|
637
|
+
# Corresponds to the JSON property `restrictionMode`
|
638
|
+
# @return [String]
|
639
|
+
attr_accessor :restriction_mode
|
640
|
+
|
641
|
+
def initialize(**args)
|
642
|
+
update!(**args)
|
643
|
+
end
|
644
|
+
|
645
|
+
# Update properties of this object
|
646
|
+
def update!(**args)
|
647
|
+
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
648
|
+
@restriction_mode = args[:restriction_mode] if args.key?(:restriction_mode)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# If set, the new objects created in this bucket must comply with this
|
653
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
654
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
655
|
+
# encrypted with Customer Supplied Encryption type by default.
|
656
|
+
class CustomerSuppliedEncryptionEnforcementConfig
|
657
|
+
include Google::Apis::Core::Hashable
|
658
|
+
|
659
|
+
# Server-determined value that indicates the time from which configuration was
|
660
|
+
# enforced and effective. This value is in RFC 3339 format.
|
661
|
+
# Corresponds to the JSON property `effectiveTime`
|
662
|
+
# @return [DateTime]
|
663
|
+
attr_accessor :effective_time
|
664
|
+
|
665
|
+
# Restriction mode for Customer-Supplied Encryption Keys. Defaults to
|
666
|
+
# NotRestricted.
|
667
|
+
# Corresponds to the JSON property `restrictionMode`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :restriction_mode
|
670
|
+
|
671
|
+
def initialize(**args)
|
672
|
+
update!(**args)
|
673
|
+
end
|
674
|
+
|
675
|
+
# Update properties of this object
|
676
|
+
def update!(**args)
|
677
|
+
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
678
|
+
@restriction_mode = args[:restriction_mode] if args.key?(:restriction_mode)
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
# If set, the new objects created in this bucket must comply with this
|
683
|
+
# enforcement config. Changing this has no effect on existing objects; it
|
684
|
+
# applies to new objects only. If omitted, the new objects are allowed to be
|
685
|
+
# encrypted with Google Managed Encryption type by default.
|
686
|
+
class GoogleManagedEncryptionEnforcementConfig
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# Server-determined value that indicates the time from which configuration was
|
690
|
+
# enforced and effective. This value is in RFC 3339 format.
|
691
|
+
# Corresponds to the JSON property `effectiveTime`
|
692
|
+
# @return [DateTime]
|
693
|
+
attr_accessor :effective_time
|
694
|
+
|
695
|
+
# Restriction mode for Google-Managed Encryption Keys. Defaults to NotRestricted.
|
696
|
+
# Corresponds to the JSON property `restrictionMode`
|
697
|
+
# @return [String]
|
698
|
+
attr_accessor :restriction_mode
|
699
|
+
|
700
|
+
def initialize(**args)
|
701
|
+
update!(**args)
|
702
|
+
end
|
703
|
+
|
704
|
+
# Update properties of this object
|
705
|
+
def update!(**args)
|
706
|
+
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
707
|
+
@restriction_mode = args[:restriction_mode] if args.key?(:restriction_mode)
|
708
|
+
end
|
593
709
|
end
|
594
710
|
end
|
595
711
|
|
@@ -1470,6 +1586,16 @@ module Google
|
|
1470
1586
|
attr_accessor :copy_source_acl
|
1471
1587
|
alias_method :copy_source_acl?, :copy_source_acl
|
1472
1588
|
|
1589
|
+
# Restores only the objects that were created after this time.
|
1590
|
+
# Corresponds to the JSON property `createdAfterTime`
|
1591
|
+
# @return [DateTime]
|
1592
|
+
attr_accessor :created_after_time
|
1593
|
+
|
1594
|
+
# Restores only the objects that were created before this time.
|
1595
|
+
# Corresponds to the JSON property `createdBeforeTime`
|
1596
|
+
# @return [DateTime]
|
1597
|
+
attr_accessor :created_before_time
|
1598
|
+
|
1473
1599
|
# Restores only the objects matching any of the specified glob(s). If this
|
1474
1600
|
# parameter is not specified, all objects will be restored within the specified
|
1475
1601
|
# time range.
|
@@ -1495,6 +1621,8 @@ module Google
|
|
1495
1621
|
def update!(**args)
|
1496
1622
|
@allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
|
1497
1623
|
@copy_source_acl = args[:copy_source_acl] if args.key?(:copy_source_acl)
|
1624
|
+
@created_after_time = args[:created_after_time] if args.key?(:created_after_time)
|
1625
|
+
@created_before_time = args[:created_before_time] if args.key?(:created_before_time)
|
1498
1626
|
@match_globs = args[:match_globs] if args.key?(:match_globs)
|
1499
1627
|
@soft_deleted_after_time = args[:soft_deleted_after_time] if args.key?(:soft_deleted_after_time)
|
1500
1628
|
@soft_deleted_before_time = args[:soft_deleted_before_time] if args.key?(:soft_deleted_before_time)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.56.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 = "20250814"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -69,6 +69,24 @@ module Google
|
|
69
69
|
|
70
70
|
class Encryption
|
71
71
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
72
|
+
|
73
|
+
class CustomerManagedEncryptionEnforcementConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CustomerSuppliedEncryptionEnforcementConfig
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleManagedEncryptionEnforcementConfig
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
72
90
|
|
73
91
|
include Google::Apis::Core::JsonObjectSupport
|
74
92
|
end
|
@@ -585,7 +603,40 @@ module Google
|
|
585
603
|
class Encryption
|
586
604
|
# @private
|
587
605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
606
|
+
property :customer_managed_encryption_enforcement_config, as: 'customerManagedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::CustomerManagedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::CustomerManagedEncryptionEnforcementConfig::Representation
|
607
|
+
|
608
|
+
property :customer_supplied_encryption_enforcement_config, as: 'customerSuppliedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::CustomerSuppliedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::CustomerSuppliedEncryptionEnforcementConfig::Representation
|
609
|
+
|
588
610
|
property :default_kms_key_name, as: 'defaultKmsKeyName'
|
611
|
+
property :google_managed_encryption_enforcement_config, as: 'googleManagedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::GoogleManagedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::GoogleManagedEncryptionEnforcementConfig::Representation
|
612
|
+
|
613
|
+
end
|
614
|
+
|
615
|
+
class CustomerManagedEncryptionEnforcementConfig
|
616
|
+
# @private
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
property :effective_time, as: 'effectiveTime', type: DateTime
|
619
|
+
|
620
|
+
property :restriction_mode, as: 'restrictionMode'
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
class CustomerSuppliedEncryptionEnforcementConfig
|
625
|
+
# @private
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
627
|
+
property :effective_time, as: 'effectiveTime', type: DateTime
|
628
|
+
|
629
|
+
property :restriction_mode, as: 'restrictionMode'
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class GoogleManagedEncryptionEnforcementConfig
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :effective_time, as: 'effectiveTime', type: DateTime
|
637
|
+
|
638
|
+
property :restriction_mode, as: 'restrictionMode'
|
639
|
+
end
|
589
640
|
end
|
590
641
|
end
|
591
642
|
|
@@ -836,6 +887,10 @@ module Google
|
|
836
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
837
888
|
property :allow_overwrite, as: 'allowOverwrite'
|
838
889
|
property :copy_source_acl, as: 'copySourceAcl'
|
890
|
+
property :created_after_time, as: 'createdAfterTime', type: DateTime
|
891
|
+
|
892
|
+
property :created_before_time, as: 'createdBeforeTime', type: DateTime
|
893
|
+
|
839
894
|
collection :match_globs, as: 'matchGlobs'
|
840
895
|
property :soft_deleted_after_time, as: 'softDeletedAfterTime', type: DateTime
|
841
896
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-storage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.56.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-storage_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.56.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:
|