google-apis-storage_v1 0.52.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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.55.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250718
|
6
|
+
|
7
|
+
### v0.54.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250629
|
10
|
+
|
11
|
+
### v0.53.0 (2025-06-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20250605
|
14
|
+
|
3
15
|
### v0.52.0 (2025-06-01)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20250524
|
@@ -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
|
|
@@ -717,6 +833,13 @@ module Google
|
|
717
833
|
class IpFilter
|
718
834
|
include Google::Apis::Core::Hashable
|
719
835
|
|
836
|
+
# Whether to allow all service agents to access the bucket regardless of the IP
|
837
|
+
# filter configuration.
|
838
|
+
# Corresponds to the JSON property `allowAllServiceAgentAccess`
|
839
|
+
# @return [Boolean]
|
840
|
+
attr_accessor :allow_all_service_agent_access
|
841
|
+
alias_method :allow_all_service_agent_access?, :allow_all_service_agent_access
|
842
|
+
|
720
843
|
# Whether to allow cross-org VPCs in the bucket's IP filter configuration.
|
721
844
|
# Corresponds to the JSON property `allowCrossOrgVpcs`
|
722
845
|
# @return [Boolean]
|
@@ -745,6 +868,7 @@ module Google
|
|
745
868
|
|
746
869
|
# Update properties of this object
|
747
870
|
def update!(**args)
|
871
|
+
@allow_all_service_agent_access = args[:allow_all_service_agent_access] if args.key?(:allow_all_service_agent_access)
|
748
872
|
@allow_cross_org_vpcs = args[:allow_cross_org_vpcs] if args.key?(:allow_cross_org_vpcs)
|
749
873
|
@mode = args[:mode] if args.key?(:mode)
|
750
874
|
@public_network_source = args[:public_network_source] if args.key?(:public_network_source)
|
@@ -2343,6 +2467,13 @@ module Google
|
|
2343
2467
|
# @return [String]
|
2344
2468
|
attr_accessor :content_type
|
2345
2469
|
|
2470
|
+
# User-defined or system-defined object contexts. Each object context is a key-
|
2471
|
+
# payload pair, where the key provides the identification and the payload holds
|
2472
|
+
# the associated value and additional metadata.
|
2473
|
+
# Corresponds to the JSON property `contexts`
|
2474
|
+
# @return [Google::Apis::StorageV1::Object::Contexts]
|
2475
|
+
attr_accessor :contexts
|
2476
|
+
|
2346
2477
|
# CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in
|
2347
2478
|
# big-endian byte order. For more information about using the CRC32c checksum,
|
2348
2479
|
# see [Data Validation and Change Detection](https://cloud.google.com/storage/
|
@@ -2544,6 +2675,7 @@ module Google
|
|
2544
2675
|
@content_encoding = args[:content_encoding] if args.key?(:content_encoding)
|
2545
2676
|
@content_language = args[:content_language] if args.key?(:content_language)
|
2546
2677
|
@content_type = args[:content_type] if args.key?(:content_type)
|
2678
|
+
@contexts = args[:contexts] if args.key?(:contexts)
|
2547
2679
|
@crc32c = args[:crc32c] if args.key?(:crc32c)
|
2548
2680
|
@custom_time = args[:custom_time] if args.key?(:custom_time)
|
2549
2681
|
@customer_encryption = args[:customer_encryption] if args.key?(:customer_encryption)
|
@@ -2575,6 +2707,27 @@ module Google
|
|
2575
2707
|
@updated = args[:updated] if args.key?(:updated)
|
2576
2708
|
end
|
2577
2709
|
|
2710
|
+
# User-defined or system-defined object contexts. Each object context is a key-
|
2711
|
+
# payload pair, where the key provides the identification and the payload holds
|
2712
|
+
# the associated value and additional metadata.
|
2713
|
+
class Contexts
|
2714
|
+
include Google::Apis::Core::Hashable
|
2715
|
+
|
2716
|
+
# User-defined object contexts.
|
2717
|
+
# Corresponds to the JSON property `custom`
|
2718
|
+
# @return [Hash<String,Google::Apis::StorageV1::ObjectCustomContextPayload>]
|
2719
|
+
attr_accessor :custom
|
2720
|
+
|
2721
|
+
def initialize(**args)
|
2722
|
+
update!(**args)
|
2723
|
+
end
|
2724
|
+
|
2725
|
+
# Update properties of this object
|
2726
|
+
def update!(**args)
|
2727
|
+
@custom = args[:custom] if args.key?(:custom)
|
2728
|
+
end
|
2729
|
+
end
|
2730
|
+
|
2578
2731
|
# Metadata of customer-supplied encryption key, if the object is encrypted by
|
2579
2732
|
# such a key.
|
2580
2733
|
class CustomerEncryption
|
@@ -2807,6 +2960,37 @@ module Google
|
|
2807
2960
|
end
|
2808
2961
|
end
|
2809
2962
|
|
2963
|
+
# The payload of a single user-defined object context.
|
2964
|
+
class ObjectCustomContextPayload
|
2965
|
+
include Google::Apis::Core::Hashable
|
2966
|
+
|
2967
|
+
# The time at which the object context was created in RFC 3339 format.
|
2968
|
+
# Corresponds to the JSON property `createTime`
|
2969
|
+
# @return [DateTime]
|
2970
|
+
attr_accessor :create_time
|
2971
|
+
|
2972
|
+
# The time at which the object context was last updated in RFC 3339 format.
|
2973
|
+
# Corresponds to the JSON property `updateTime`
|
2974
|
+
# @return [DateTime]
|
2975
|
+
attr_accessor :update_time
|
2976
|
+
|
2977
|
+
# The value of the object context.
|
2978
|
+
# Corresponds to the JSON property `value`
|
2979
|
+
# @return [String]
|
2980
|
+
attr_accessor :value
|
2981
|
+
|
2982
|
+
def initialize(**args)
|
2983
|
+
update!(**args)
|
2984
|
+
end
|
2985
|
+
|
2986
|
+
# Update properties of this object
|
2987
|
+
def update!(**args)
|
2988
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2989
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2990
|
+
@value = args[:value] if args.key?(:value)
|
2991
|
+
end
|
2992
|
+
end
|
2993
|
+
|
2810
2994
|
# A list of objects.
|
2811
2995
|
class Objects
|
2812
2996
|
include Google::Apis::Core::Hashable
|
@@ -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
|
@@ -343,6 +361,12 @@ module Google
|
|
343
361
|
class Object
|
344
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
363
|
|
364
|
+
class Contexts
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
366
|
+
|
367
|
+
include Google::Apis::Core::JsonObjectSupport
|
368
|
+
end
|
369
|
+
|
346
370
|
class CustomerEncryption
|
347
371
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
348
372
|
|
@@ -382,6 +406,12 @@ module Google
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
383
407
|
end
|
384
408
|
|
409
|
+
class ObjectCustomContextPayload
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
385
415
|
class Objects
|
386
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
417
|
|
@@ -573,7 +603,40 @@ module Google
|
|
573
603
|
class Encryption
|
574
604
|
# @private
|
575
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
|
+
|
576
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
|
577
640
|
end
|
578
641
|
end
|
579
642
|
|
@@ -616,6 +679,7 @@ module Google
|
|
616
679
|
class IpFilter
|
617
680
|
# @private
|
618
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :allow_all_service_agent_access, as: 'allowAllServiceAgentAccess'
|
619
683
|
property :allow_cross_org_vpcs, as: 'allowCrossOrgVpcs'
|
620
684
|
property :mode, as: 'mode'
|
621
685
|
property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
|
@@ -1053,6 +1117,8 @@ module Google
|
|
1053
1117
|
property :content_encoding, as: 'contentEncoding'
|
1054
1118
|
property :content_language, as: 'contentLanguage'
|
1055
1119
|
property :content_type, as: 'contentType'
|
1120
|
+
property :contexts, as: 'contexts', class: Google::Apis::StorageV1::Object::Contexts, decorator: Google::Apis::StorageV1::Object::Contexts::Representation
|
1121
|
+
|
1056
1122
|
property :crc32c, as: 'crc32c'
|
1057
1123
|
property :custom_time, as: 'customTime', type: DateTime
|
1058
1124
|
|
@@ -1096,6 +1162,14 @@ module Google
|
|
1096
1162
|
|
1097
1163
|
end
|
1098
1164
|
|
1165
|
+
class Contexts
|
1166
|
+
# @private
|
1167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1168
|
+
hash :custom, as: 'custom', class: Google::Apis::StorageV1::ObjectCustomContextPayload, decorator: Google::Apis::StorageV1::ObjectCustomContextPayload::Representation
|
1169
|
+
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1099
1173
|
class CustomerEncryption
|
1100
1174
|
# @private
|
1101
1175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1159,6 +1233,17 @@ module Google
|
|
1159
1233
|
end
|
1160
1234
|
end
|
1161
1235
|
|
1236
|
+
class ObjectCustomContextPayload
|
1237
|
+
# @private
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1239
|
+
property :create_time, as: 'createTime', type: DateTime
|
1240
|
+
|
1241
|
+
property :update_time, as: 'updateTime', type: DateTime
|
1242
|
+
|
1243
|
+
property :value, as: 'value'
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1162
1247
|
class Objects
|
1163
1248
|
# @private
|
1164
1249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2913,6 +2913,9 @@ module Google
|
|
2913
2913
|
# Filter results to objects whose names are lexicographically before endOffset.
|
2914
2914
|
# If startOffset is also set, the objects listed will have names between
|
2915
2915
|
# startOffset (inclusive) and endOffset (exclusive).
|
2916
|
+
# @param [String] filter
|
2917
|
+
# Filter the returned objects. Currently only supported for the contexts field.
|
2918
|
+
# If delimiter is set, the returned prefixes are exempt from this filter.
|
2916
2919
|
# @param [Boolean] include_folders_as_prefixes
|
2917
2920
|
# Only applicable if delimiter is set to '/'. If true, will also include folders
|
2918
2921
|
# and managed folders (besides objects) in the returned prefixes.
|
@@ -2966,13 +2969,14 @@ module Google
|
|
2966
2969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2967
2970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2968
2971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2969
|
-
def list_objects(bucket, delimiter: nil, end_offset: nil, include_folders_as_prefixes: nil, include_trailing_delimiter: nil, match_glob: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, soft_deleted: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2972
|
+
def list_objects(bucket, delimiter: nil, end_offset: nil, filter: nil, include_folders_as_prefixes: nil, include_trailing_delimiter: nil, match_glob: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, soft_deleted: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2970
2973
|
command = make_simple_command(:get, 'b/{bucket}/o', options)
|
2971
2974
|
command.response_representation = Google::Apis::StorageV1::Objects::Representation
|
2972
2975
|
command.response_class = Google::Apis::StorageV1::Objects
|
2973
2976
|
command.params['bucket'] = bucket unless bucket.nil?
|
2974
2977
|
command.query['delimiter'] = delimiter unless delimiter.nil?
|
2975
2978
|
command.query['endOffset'] = end_offset unless end_offset.nil?
|
2979
|
+
command.query['filter'] = filter unless filter.nil?
|
2976
2980
|
command.query['includeFoldersAsPrefixes'] = include_folders_as_prefixes unless include_folders_as_prefixes.nil?
|
2977
2981
|
command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
|
2978
2982
|
command.query['matchGlob'] = match_glob unless match_glob.nil?
|
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:
|