google-apis-storage_v1 0.54.0 → 0.55.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: a4e333e2216ef01585673681364a1f62ae580635db8a9d0f251f88112be0370b
|
4
|
+
data.tar.gz: cea61a6a402ea10d90d6ad9017682aa98f756542575e823b56bad4a154dcf85a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ed00c5eb2b68f5789285511bb645ccd9934d96fd31e8c8013f6ac3e5b043264570d398c70eda6b62a60b8f87e0fc4aa69fa1e308636b68adb083e86aab54297
|
7
|
+
data.tar.gz: 0151da3405000d63b8f950ee760423ee478d2a8e50e36f371c99b27ef374b606ad2fe8e7c5bdc57bd73d1834ffa7dc148b69366280919f70d1f66b0db9bce83a
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
@@ -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.55.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 = "20250718"
|
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
|
|
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.55.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.55.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:
|