google-apis-storage_v1 0.24.0 → 0.26.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: 0ac3bda0c55dce8463c85e9d322b51eb398882c6d4839c91b0624c65c3d85322
         | 
| 4 | 
            +
              data.tar.gz: 5a831d29ac1d89f9fe4690f86335973719c3a5c223472691328a91f6a90a1517
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b19d739437d70d60bf75c8d24e59e575e3ed08e847b048a628a69e6ce8891fa540dd4c46ec99a18ed2c003f765d60cd185c31e8730adfba1c4fa967dd09f2d63
         | 
| 7 | 
            +
              data.tar.gz: 2c081af800735e4f6139e97d259cc4c5515806ee0b21dd55e9f84858c1fc2b390145c121aff17ff1c84cc593ee6f3a3847ded1975382ecb620213e338e997594
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-storage_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.26.0 (2023-09-17)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20230914
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.25.0 (2023-09-10)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20230907
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.24.0 (2023-07-16)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20230710
         | 
| @@ -137,6 +137,11 @@ module Google | |
| 137 137 | 
             
                    # @return [String]
         | 
| 138 138 | 
             
                    attr_accessor :name
         | 
| 139 139 |  | 
| 140 | 
            +
                    # The bucket's object retention config.
         | 
| 141 | 
            +
                    # Corresponds to the JSON property `objectRetention`
         | 
| 142 | 
            +
                    # @return [Google::Apis::StorageV1::Bucket::ObjectRetention]
         | 
| 143 | 
            +
                    attr_accessor :object_retention
         | 
| 144 | 
            +
                  
         | 
| 140 145 | 
             
                    # The owner of the bucket. This is always the project team's owner group.
         | 
| 141 146 | 
             
                    # Corresponds to the JSON property `owner`
         | 
| 142 147 | 
             
                    # @return [Google::Apis::StorageV1::Bucket::Owner]
         | 
| @@ -177,6 +182,12 @@ module Google | |
| 177 182 | 
             
                    # @return [String]
         | 
| 178 183 | 
             
                    attr_accessor :self_link
         | 
| 179 184 |  | 
| 185 | 
            +
                    # The bucket's soft delete policy, which defines the period of time that soft-
         | 
| 186 | 
            +
                    # deleted objects will be retained, and cannot be permanently deleted.
         | 
| 187 | 
            +
                    # Corresponds to the JSON property `softDeletePolicy`
         | 
| 188 | 
            +
                    # @return [Google::Apis::StorageV1::Bucket::SoftDeletePolicy]
         | 
| 189 | 
            +
                    attr_accessor :soft_delete_policy
         | 
| 190 | 
            +
                  
         | 
| 180 191 | 
             
                    # The bucket's default storage class, used whenever no storageClass is specified
         | 
| 181 192 | 
             
                    # for a newly-created object. This defines how objects in the bucket are stored
         | 
| 182 193 | 
             
                    # and determines the SLA and the cost of storage. Values include MULTI_REGIONAL,
         | 
| @@ -235,12 +246,14 @@ module Google | |
| 235 246 | 
             
                      @logging = args[:logging] if args.key?(:logging)
         | 
| 236 247 | 
             
                      @metageneration = args[:metageneration] if args.key?(:metageneration)
         | 
| 237 248 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 249 | 
            +
                      @object_retention = args[:object_retention] if args.key?(:object_retention)
         | 
| 238 250 | 
             
                      @owner = args[:owner] if args.key?(:owner)
         | 
| 239 251 | 
             
                      @project_number = args[:project_number] if args.key?(:project_number)
         | 
| 240 252 | 
             
                      @retention_policy = args[:retention_policy] if args.key?(:retention_policy)
         | 
| 241 253 | 
             
                      @rpo = args[:rpo] if args.key?(:rpo)
         | 
| 242 254 | 
             
                      @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
         | 
| 243 255 | 
             
                      @self_link = args[:self_link] if args.key?(:self_link)
         | 
| 256 | 
            +
                      @soft_delete_policy = args[:soft_delete_policy] if args.key?(:soft_delete_policy)
         | 
| 244 257 | 
             
                      @storage_class = args[:storage_class] if args.key?(:storage_class)
         | 
| 245 258 | 
             
                      @time_created = args[:time_created] if args.key?(:time_created)
         | 
| 246 259 | 
             
                      @updated = args[:updated] if args.key?(:updated)
         | 
| @@ -258,6 +271,19 @@ module Google | |
| 258 271 | 
             
                      attr_accessor :enabled
         | 
| 259 272 | 
             
                      alias_method :enabled?, :enabled
         | 
| 260 273 |  | 
| 274 | 
            +
                      # The storage class that objects in the bucket eventually transition to if they
         | 
| 275 | 
            +
                      # are not read for a certain length of time. Valid values are NEARLINE and
         | 
| 276 | 
            +
                      # ARCHIVE.
         | 
| 277 | 
            +
                      # Corresponds to the JSON property `terminalStorageClass`
         | 
| 278 | 
            +
                      # @return [String]
         | 
| 279 | 
            +
                      attr_accessor :terminal_storage_class
         | 
| 280 | 
            +
                    
         | 
| 281 | 
            +
                      # A date and time in RFC 3339 format representing the time of the most recent
         | 
| 282 | 
            +
                      # update to "terminalStorageClass".
         | 
| 283 | 
            +
                      # Corresponds to the JSON property `terminalStorageClassUpdateTime`
         | 
| 284 | 
            +
                      # @return [DateTime]
         | 
| 285 | 
            +
                      attr_accessor :terminal_storage_class_update_time
         | 
| 286 | 
            +
                    
         | 
| 261 287 | 
             
                      # A date and time in RFC 3339 format representing the instant at which "enabled"
         | 
| 262 288 | 
             
                      # was last toggled.
         | 
| 263 289 | 
             
                      # Corresponds to the JSON property `toggleTime`
         | 
| @@ -271,6 +297,8 @@ module Google | |
| 271 297 | 
             
                      # Update properties of this object
         | 
| 272 298 | 
             
                      def update!(**args)
         | 
| 273 299 | 
             
                        @enabled = args[:enabled] if args.key?(:enabled)
         | 
| 300 | 
            +
                        @terminal_storage_class = args[:terminal_storage_class] if args.key?(:terminal_storage_class)
         | 
| 301 | 
            +
                        @terminal_storage_class_update_time = args[:terminal_storage_class_update_time] if args.key?(:terminal_storage_class_update_time)
         | 
| 274 302 | 
             
                        @toggle_time = args[:toggle_time] if args.key?(:toggle_time)
         | 
| 275 303 | 
             
                      end
         | 
| 276 304 | 
             
                    end
         | 
| @@ -682,6 +710,25 @@ module Google | |
| 682 710 | 
             
                      end
         | 
| 683 711 | 
             
                    end
         | 
| 684 712 |  | 
| 713 | 
            +
                    # The bucket's object retention config.
         | 
| 714 | 
            +
                    class ObjectRetention
         | 
| 715 | 
            +
                      include Google::Apis::Core::Hashable
         | 
| 716 | 
            +
                    
         | 
| 717 | 
            +
                      # The bucket's object retention mode. Can be Enabled.
         | 
| 718 | 
            +
                      # Corresponds to the JSON property `mode`
         | 
| 719 | 
            +
                      # @return [String]
         | 
| 720 | 
            +
                      attr_accessor :mode
         | 
| 721 | 
            +
                    
         | 
| 722 | 
            +
                      def initialize(**args)
         | 
| 723 | 
            +
                         update!(**args)
         | 
| 724 | 
            +
                      end
         | 
| 725 | 
            +
                    
         | 
| 726 | 
            +
                      # Update properties of this object
         | 
| 727 | 
            +
                      def update!(**args)
         | 
| 728 | 
            +
                        @mode = args[:mode] if args.key?(:mode)
         | 
| 729 | 
            +
                      end
         | 
| 730 | 
            +
                    end
         | 
| 731 | 
            +
                    
         | 
| 685 732 | 
             
                    # The owner of the bucket. This is always the project team's owner group.
         | 
| 686 733 | 
             
                    class Owner
         | 
| 687 734 | 
             
                      include Google::Apis::Core::Hashable
         | 
| @@ -751,6 +798,34 @@ module Google | |
| 751 798 | 
             
                      end
         | 
| 752 799 | 
             
                    end
         | 
| 753 800 |  | 
| 801 | 
            +
                    # The bucket's soft delete policy, which defines the period of time that soft-
         | 
| 802 | 
            +
                    # deleted objects will be retained, and cannot be permanently deleted.
         | 
| 803 | 
            +
                    class SoftDeletePolicy
         | 
| 804 | 
            +
                      include Google::Apis::Core::Hashable
         | 
| 805 | 
            +
                    
         | 
| 806 | 
            +
                      # Server-determined value that indicates the time from which the policy, or one
         | 
| 807 | 
            +
                      # with a greater retention, was effective. This value is in RFC 3339 format.
         | 
| 808 | 
            +
                      # Corresponds to the JSON property `effectiveTime`
         | 
| 809 | 
            +
                      # @return [DateTime]
         | 
| 810 | 
            +
                      attr_accessor :effective_time
         | 
| 811 | 
            +
                    
         | 
| 812 | 
            +
                      # The period of time in seconds, that soft-deleted objects in the bucket will be
         | 
| 813 | 
            +
                      # retained and cannot be permanently deleted.
         | 
| 814 | 
            +
                      # Corresponds to the JSON property `retentionDurationSeconds`
         | 
| 815 | 
            +
                      # @return [Fixnum]
         | 
| 816 | 
            +
                      attr_accessor :retention_duration_seconds
         | 
| 817 | 
            +
                    
         | 
| 818 | 
            +
                      def initialize(**args)
         | 
| 819 | 
            +
                         update!(**args)
         | 
| 820 | 
            +
                      end
         | 
| 821 | 
            +
                    
         | 
| 822 | 
            +
                      # Update properties of this object
         | 
| 823 | 
            +
                      def update!(**args)
         | 
| 824 | 
            +
                        @effective_time = args[:effective_time] if args.key?(:effective_time)
         | 
| 825 | 
            +
                        @retention_duration_seconds = args[:retention_duration_seconds] if args.key?(:retention_duration_seconds)
         | 
| 826 | 
            +
                      end
         | 
| 827 | 
            +
                    end
         | 
| 828 | 
            +
                    
         | 
| 754 829 | 
             
                    # The bucket's versioning configuration.
         | 
| 755 830 | 
             
                    class Versioning
         | 
| 756 831 | 
             
                      include Google::Apis::Core::Hashable
         | 
| @@ -979,6 +1054,59 @@ module Google | |
| 979 1054 | 
             
                    end
         | 
| 980 1055 | 
             
                  end
         | 
| 981 1056 |  | 
| 1057 | 
            +
                  # A bulk restore objects request.
         | 
| 1058 | 
            +
                  class BulkRestoreObjectsRequest
         | 
| 1059 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1060 | 
            +
                  
         | 
| 1061 | 
            +
                    # If false (default), the restore will not overwrite live objects with the same
         | 
| 1062 | 
            +
                    # name at the destination. This means some deleted objects may be skipped. If
         | 
| 1063 | 
            +
                    # true, live objects will be overwritten resulting in a noncurrent object (if
         | 
| 1064 | 
            +
                    # versioning is enabled). If versioning is not enabled, overwriting the object
         | 
| 1065 | 
            +
                    # will result in a soft-deleted object. In either case, if a noncurrent object
         | 
| 1066 | 
            +
                    # already exists with the same name, a live version can be written without issue.
         | 
| 1067 | 
            +
                    # Corresponds to the JSON property `allowOverwrite`
         | 
| 1068 | 
            +
                    # @return [Boolean]
         | 
| 1069 | 
            +
                    attr_accessor :allow_overwrite
         | 
| 1070 | 
            +
                    alias_method :allow_overwrite?, :allow_overwrite
         | 
| 1071 | 
            +
                  
         | 
| 1072 | 
            +
                    # If true, copies the source object's ACL; otherwise, uses the bucket's default
         | 
| 1073 | 
            +
                    # object ACL. The default is false.
         | 
| 1074 | 
            +
                    # Corresponds to the JSON property `copySourceAcl`
         | 
| 1075 | 
            +
                    # @return [Boolean]
         | 
| 1076 | 
            +
                    attr_accessor :copy_source_acl
         | 
| 1077 | 
            +
                    alias_method :copy_source_acl?, :copy_source_acl
         | 
| 1078 | 
            +
                  
         | 
| 1079 | 
            +
                    # Restores only the objects matching any of the specified glob(s). If this
         | 
| 1080 | 
            +
                    # parameter is not specified, all objects will be restored within the specified
         | 
| 1081 | 
            +
                    # time range.
         | 
| 1082 | 
            +
                    # Corresponds to the JSON property `matchGlobs`
         | 
| 1083 | 
            +
                    # @return [Array<String>]
         | 
| 1084 | 
            +
                    attr_accessor :match_globs
         | 
| 1085 | 
            +
                  
         | 
| 1086 | 
            +
                    # Restores only the objects that were soft-deleted after this time.
         | 
| 1087 | 
            +
                    # Corresponds to the JSON property `softDeletedAfterTime`
         | 
| 1088 | 
            +
                    # @return [DateTime]
         | 
| 1089 | 
            +
                    attr_accessor :soft_deleted_after_time
         | 
| 1090 | 
            +
                  
         | 
| 1091 | 
            +
                    # Restores only the objects that were soft-deleted before this time.
         | 
| 1092 | 
            +
                    # Corresponds to the JSON property `softDeletedBeforeTime`
         | 
| 1093 | 
            +
                    # @return [DateTime]
         | 
| 1094 | 
            +
                    attr_accessor :soft_deleted_before_time
         | 
| 1095 | 
            +
                  
         | 
| 1096 | 
            +
                    def initialize(**args)
         | 
| 1097 | 
            +
                       update!(**args)
         | 
| 1098 | 
            +
                    end
         | 
| 1099 | 
            +
                  
         | 
| 1100 | 
            +
                    # Update properties of this object
         | 
| 1101 | 
            +
                    def update!(**args)
         | 
| 1102 | 
            +
                      @allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
         | 
| 1103 | 
            +
                      @copy_source_acl = args[:copy_source_acl] if args.key?(:copy_source_acl)
         | 
| 1104 | 
            +
                      @match_globs = args[:match_globs] if args.key?(:match_globs)
         | 
| 1105 | 
            +
                      @soft_deleted_after_time = args[:soft_deleted_after_time] if args.key?(:soft_deleted_after_time)
         | 
| 1106 | 
            +
                      @soft_deleted_before_time = args[:soft_deleted_before_time] if args.key?(:soft_deleted_before_time)
         | 
| 1107 | 
            +
                    end
         | 
| 1108 | 
            +
                  end
         | 
| 1109 | 
            +
                  
         | 
| 982 1110 | 
             
                  # An notification channel used to watch for resource changes.
         | 
| 983 1111 | 
             
                  class Channel
         | 
| 984 1112 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1184,6 +1312,131 @@ module Google | |
| 1184 1312 | 
             
                    end
         | 
| 1185 1313 | 
             
                  end
         | 
| 1186 1314 |  | 
| 1315 | 
            +
                  # The response message for storage.buckets.operations.list.
         | 
| 1316 | 
            +
                  class GoogleLongrunningListOperationsResponse
         | 
| 1317 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1318 | 
            +
                  
         | 
| 1319 | 
            +
                    # The continuation token, used to page through large result sets. Provide this
         | 
| 1320 | 
            +
                    # value in a subsequent request to return the next page of results.
         | 
| 1321 | 
            +
                    # Corresponds to the JSON property `nextPageToken`
         | 
| 1322 | 
            +
                    # @return [String]
         | 
| 1323 | 
            +
                    attr_accessor :next_page_token
         | 
| 1324 | 
            +
                  
         | 
| 1325 | 
            +
                    # A list of operations that matches the specified filter in the request.
         | 
| 1326 | 
            +
                    # Corresponds to the JSON property `operations`
         | 
| 1327 | 
            +
                    # @return [Array<Google::Apis::StorageV1::GoogleLongrunningOperation>]
         | 
| 1328 | 
            +
                    attr_accessor :operations
         | 
| 1329 | 
            +
                  
         | 
| 1330 | 
            +
                    def initialize(**args)
         | 
| 1331 | 
            +
                       update!(**args)
         | 
| 1332 | 
            +
                    end
         | 
| 1333 | 
            +
                  
         | 
| 1334 | 
            +
                    # Update properties of this object
         | 
| 1335 | 
            +
                    def update!(**args)
         | 
| 1336 | 
            +
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         | 
| 1337 | 
            +
                      @operations = args[:operations] if args.key?(:operations)
         | 
| 1338 | 
            +
                    end
         | 
| 1339 | 
            +
                  end
         | 
| 1340 | 
            +
                  
         | 
| 1341 | 
            +
                  # This resource represents a long-running operation that is the result of a
         | 
| 1342 | 
            +
                  # network API call.
         | 
| 1343 | 
            +
                  class GoogleLongrunningOperation
         | 
| 1344 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1345 | 
            +
                  
         | 
| 1346 | 
            +
                    # If the value is "false", it means the operation is still in progress. If "true"
         | 
| 1347 | 
            +
                    # , the operation is completed, and either "error" or "response" is available.
         | 
| 1348 | 
            +
                    # Corresponds to the JSON property `done`
         | 
| 1349 | 
            +
                    # @return [Boolean]
         | 
| 1350 | 
            +
                    attr_accessor :done
         | 
| 1351 | 
            +
                    alias_method :done?, :done
         | 
| 1352 | 
            +
                  
         | 
| 1353 | 
            +
                    # The "Status" type defines a logical error model that is suitable for different
         | 
| 1354 | 
            +
                    # programming environments, including REST APIs and RPC APIs. It is used by [
         | 
| 1355 | 
            +
                    # gRPC](https://github.com/grpc). Each "Status" message contains three pieces of
         | 
| 1356 | 
            +
                    # data: error code, error message, and error details. You can find out more
         | 
| 1357 | 
            +
                    # about this error model and how to work with it in the [API Design Guide](https:
         | 
| 1358 | 
            +
                    # //cloud.google.com/apis/design/errors).
         | 
| 1359 | 
            +
                    # Corresponds to the JSON property `error`
         | 
| 1360 | 
            +
                    # @return [Google::Apis::StorageV1::GoogleRpcStatus]
         | 
| 1361 | 
            +
                    attr_accessor :error
         | 
| 1362 | 
            +
                  
         | 
| 1363 | 
            +
                    # Service-specific metadata associated with the operation. It typically contains
         | 
| 1364 | 
            +
                    # progress information and common metadata such as create time. Some services
         | 
| 1365 | 
            +
                    # might not provide such metadata. Any method that returns a long-running
         | 
| 1366 | 
            +
                    # operation should document the metadata type, if any.
         | 
| 1367 | 
            +
                    # Corresponds to the JSON property `metadata`
         | 
| 1368 | 
            +
                    # @return [Hash<String,Object>]
         | 
| 1369 | 
            +
                    attr_accessor :metadata
         | 
| 1370 | 
            +
                  
         | 
| 1371 | 
            +
                    # The server-assigned name, which is only unique within the same service that
         | 
| 1372 | 
            +
                    # originally returns it. If you use the default HTTP mapping, the "name" should
         | 
| 1373 | 
            +
                    # be a resource name ending with "operations/`operationId`".
         | 
| 1374 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 1375 | 
            +
                    # @return [String]
         | 
| 1376 | 
            +
                    attr_accessor :name
         | 
| 1377 | 
            +
                  
         | 
| 1378 | 
            +
                    # The normal response of the operation in case of success. If the original
         | 
| 1379 | 
            +
                    # method returns no data on success, such as "Delete", the response is google.
         | 
| 1380 | 
            +
                    # protobuf.Empty. If the original method is standard Get/Create/Update, the
         | 
| 1381 | 
            +
                    # response should be the resource. For other methods, the response should have
         | 
| 1382 | 
            +
                    # the type "XxxResponse", where "Xxx" is the original method name. For example,
         | 
| 1383 | 
            +
                    # if the original method name is "TakeSnapshot()", the inferred response type is
         | 
| 1384 | 
            +
                    # "TakeSnapshotResponse".
         | 
| 1385 | 
            +
                    # Corresponds to the JSON property `response`
         | 
| 1386 | 
            +
                    # @return [Hash<String,Object>]
         | 
| 1387 | 
            +
                    attr_accessor :response
         | 
| 1388 | 
            +
                  
         | 
| 1389 | 
            +
                    def initialize(**args)
         | 
| 1390 | 
            +
                       update!(**args)
         | 
| 1391 | 
            +
                    end
         | 
| 1392 | 
            +
                  
         | 
| 1393 | 
            +
                    # Update properties of this object
         | 
| 1394 | 
            +
                    def update!(**args)
         | 
| 1395 | 
            +
                      @done = args[:done] if args.key?(:done)
         | 
| 1396 | 
            +
                      @error = args[:error] if args.key?(:error)
         | 
| 1397 | 
            +
                      @metadata = args[:metadata] if args.key?(:metadata)
         | 
| 1398 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 1399 | 
            +
                      @response = args[:response] if args.key?(:response)
         | 
| 1400 | 
            +
                    end
         | 
| 1401 | 
            +
                  end
         | 
| 1402 | 
            +
                  
         | 
| 1403 | 
            +
                  # The "Status" type defines a logical error model that is suitable for different
         | 
| 1404 | 
            +
                  # programming environments, including REST APIs and RPC APIs. It is used by [
         | 
| 1405 | 
            +
                  # gRPC](https://github.com/grpc). Each "Status" message contains three pieces of
         | 
| 1406 | 
            +
                  # data: error code, error message, and error details. You can find out more
         | 
| 1407 | 
            +
                  # about this error model and how to work with it in the [API Design Guide](https:
         | 
| 1408 | 
            +
                  # //cloud.google.com/apis/design/errors).
         | 
| 1409 | 
            +
                  class GoogleRpcStatus
         | 
| 1410 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1411 | 
            +
                  
         | 
| 1412 | 
            +
                    # The status code, which should be an enum value of google.rpc.Code.
         | 
| 1413 | 
            +
                    # Corresponds to the JSON property `code`
         | 
| 1414 | 
            +
                    # @return [Fixnum]
         | 
| 1415 | 
            +
                    attr_accessor :code
         | 
| 1416 | 
            +
                  
         | 
| 1417 | 
            +
                    # A list of messages that carry the error details. There is a common set of
         | 
| 1418 | 
            +
                    # message types for APIs to use.
         | 
| 1419 | 
            +
                    # Corresponds to the JSON property `details`
         | 
| 1420 | 
            +
                    # @return [Array<Hash<String,Object>>]
         | 
| 1421 | 
            +
                    attr_accessor :details
         | 
| 1422 | 
            +
                  
         | 
| 1423 | 
            +
                    # A developer-facing error message, which should be in English.
         | 
| 1424 | 
            +
                    # Corresponds to the JSON property `message`
         | 
| 1425 | 
            +
                    # @return [String]
         | 
| 1426 | 
            +
                    attr_accessor :message
         | 
| 1427 | 
            +
                  
         | 
| 1428 | 
            +
                    def initialize(**args)
         | 
| 1429 | 
            +
                       update!(**args)
         | 
| 1430 | 
            +
                    end
         | 
| 1431 | 
            +
                  
         | 
| 1432 | 
            +
                    # Update properties of this object
         | 
| 1433 | 
            +
                    def update!(**args)
         | 
| 1434 | 
            +
                      @code = args[:code] if args.key?(:code)
         | 
| 1435 | 
            +
                      @details = args[:details] if args.key?(:details)
         | 
| 1436 | 
            +
                      @message = args[:message] if args.key?(:message)
         | 
| 1437 | 
            +
                    end
         | 
| 1438 | 
            +
                  end
         | 
| 1439 | 
            +
                  
         | 
| 1187 1440 | 
             
                  # JSON template to produce a JSON-style HMAC Key resource for Create responses.
         | 
| 1188 1441 | 
             
                  class HmacKey
         | 
| 1189 1442 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1562,6 +1815,11 @@ module Google | |
| 1562 1815 | 
             
                    # @return [Google::Apis::StorageV1::Object::Owner]
         | 
| 1563 1816 | 
             
                    attr_accessor :owner
         | 
| 1564 1817 |  | 
| 1818 | 
            +
                    # A collection of object level retention parameters.
         | 
| 1819 | 
            +
                    # Corresponds to the JSON property `retention`
         | 
| 1820 | 
            +
                    # @return [Google::Apis::StorageV1::Object::Retention]
         | 
| 1821 | 
            +
                    attr_accessor :retention
         | 
| 1822 | 
            +
                  
         | 
| 1565 1823 | 
             
                    # A server-determined value that specifies the earliest time that the object's
         | 
| 1566 1824 | 
             
                    # retention period expires. This value is in RFC 3339 format. Note 1: This field
         | 
| 1567 1825 | 
             
                    # is not provided for objects with an active event-based hold, since retention
         | 
| @@ -1652,6 +1910,7 @@ module Google | |
| 1652 1910 | 
             
                      @metageneration = args[:metageneration] if args.key?(:metageneration)
         | 
| 1653 1911 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 1654 1912 | 
             
                      @owner = args[:owner] if args.key?(:owner)
         | 
| 1913 | 
            +
                      @retention = args[:retention] if args.key?(:retention)
         | 
| 1655 1914 | 
             
                      @retention_expiration_time = args[:retention_expiration_time] if args.key?(:retention_expiration_time)
         | 
| 1656 1915 | 
             
                      @self_link = args[:self_link] if args.key?(:self_link)
         | 
| 1657 1916 | 
             
                      @size = args[:size] if args.key?(:size)
         | 
| @@ -1713,6 +1972,31 @@ module Google | |
| 1713 1972 | 
             
                        @entity_id = args[:entity_id] if args.key?(:entity_id)
         | 
| 1714 1973 | 
             
                      end
         | 
| 1715 1974 | 
             
                    end
         | 
| 1975 | 
            +
                    
         | 
| 1976 | 
            +
                    # A collection of object level retention parameters.
         | 
| 1977 | 
            +
                    class Retention
         | 
| 1978 | 
            +
                      include Google::Apis::Core::Hashable
         | 
| 1979 | 
            +
                    
         | 
| 1980 | 
            +
                      # The bucket's object retention mode, can only be Unlocked or Locked.
         | 
| 1981 | 
            +
                      # Corresponds to the JSON property `mode`
         | 
| 1982 | 
            +
                      # @return [String]
         | 
| 1983 | 
            +
                      attr_accessor :mode
         | 
| 1984 | 
            +
                    
         | 
| 1985 | 
            +
                      # A time in RFC 3339 format until which object retention protects this object.
         | 
| 1986 | 
            +
                      # Corresponds to the JSON property `retainUntilTime`
         | 
| 1987 | 
            +
                      # @return [DateTime]
         | 
| 1988 | 
            +
                      attr_accessor :retain_until_time
         | 
| 1989 | 
            +
                    
         | 
| 1990 | 
            +
                      def initialize(**args)
         | 
| 1991 | 
            +
                         update!(**args)
         | 
| 1992 | 
            +
                      end
         | 
| 1993 | 
            +
                    
         | 
| 1994 | 
            +
                      # Update properties of this object
         | 
| 1995 | 
            +
                      def update!(**args)
         | 
| 1996 | 
            +
                        @mode = args[:mode] if args.key?(:mode)
         | 
| 1997 | 
            +
                        @retain_until_time = args[:retain_until_time] if args.key?(:retain_until_time)
         | 
| 1998 | 
            +
                      end
         | 
| 1999 | 
            +
                    end
         | 
| 1716 2000 | 
             
                  end
         | 
| 1717 2001 |  | 
| 1718 2002 | 
             
                  # An access-control entry.
         | 
| @@ -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.26.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.12.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20230914"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -103,6 +103,12 @@ module Google | |
| 103 103 | 
             
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 104 104 | 
             
                    end
         | 
| 105 105 |  | 
| 106 | 
            +
                    class ObjectRetention
         | 
| 107 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 108 | 
            +
                    
         | 
| 109 | 
            +
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 110 | 
            +
                    end
         | 
| 111 | 
            +
                    
         | 
| 106 112 | 
             
                    class Owner
         | 
| 107 113 | 
             
                      class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 108 114 |  | 
| @@ -115,6 +121,12 @@ module Google | |
| 115 121 | 
             
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 116 122 | 
             
                    end
         | 
| 117 123 |  | 
| 124 | 
            +
                    class SoftDeletePolicy
         | 
| 125 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 126 | 
            +
                    
         | 
| 127 | 
            +
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 128 | 
            +
                    end
         | 
| 129 | 
            +
                    
         | 
| 118 130 | 
             
                    class Versioning
         | 
| 119 131 | 
             
                      class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 120 132 |  | 
| @@ -154,6 +166,12 @@ module Google | |
| 154 166 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 155 167 | 
             
                  end
         | 
| 156 168 |  | 
| 169 | 
            +
                  class BulkRestoreObjectsRequest
         | 
| 170 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 171 | 
            +
                  
         | 
| 172 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 173 | 
            +
                  end
         | 
| 174 | 
            +
                  
         | 
| 157 175 | 
             
                  class Channel
         | 
| 158 176 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 159 177 |  | 
| @@ -184,6 +202,24 @@ module Google | |
| 184 202 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 185 203 | 
             
                  end
         | 
| 186 204 |  | 
| 205 | 
            +
                  class GoogleLongrunningListOperationsResponse
         | 
| 206 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 207 | 
            +
                  
         | 
| 208 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 209 | 
            +
                  end
         | 
| 210 | 
            +
                  
         | 
| 211 | 
            +
                  class GoogleLongrunningOperation
         | 
| 212 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 213 | 
            +
                  
         | 
| 214 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 215 | 
            +
                  end
         | 
| 216 | 
            +
                  
         | 
| 217 | 
            +
                  class GoogleRpcStatus
         | 
| 218 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 219 | 
            +
                  
         | 
| 220 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 221 | 
            +
                  end
         | 
| 222 | 
            +
                  
         | 
| 187 223 | 
             
                  class HmacKey
         | 
| 188 224 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 189 225 |  | 
| @@ -228,6 +264,12 @@ module Google | |
| 228 264 |  | 
| 229 265 | 
             
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 230 266 | 
             
                    end
         | 
| 267 | 
            +
                    
         | 
| 268 | 
            +
                    class Retention
         | 
| 269 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 270 | 
            +
                    
         | 
| 271 | 
            +
                      include Google::Apis::Core::JsonObjectSupport
         | 
| 272 | 
            +
                    end
         | 
| 231 273 |  | 
| 232 274 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 233 275 | 
             
                  end
         | 
| @@ -318,6 +360,8 @@ module Google | |
| 318 360 |  | 
| 319 361 | 
             
                      property :metageneration, :numeric_string => true, as: 'metageneration'
         | 
| 320 362 | 
             
                      property :name, as: 'name'
         | 
| 363 | 
            +
                      property :object_retention, as: 'objectRetention', class: Google::Apis::StorageV1::Bucket::ObjectRetention, decorator: Google::Apis::StorageV1::Bucket::ObjectRetention::Representation
         | 
| 364 | 
            +
                  
         | 
| 321 365 | 
             
                      property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
         | 
| 322 366 |  | 
| 323 367 | 
             
                      property :project_number, :numeric_string => true, as: 'projectNumber'
         | 
| @@ -326,6 +370,8 @@ module Google | |
| 326 370 | 
             
                      property :rpo, as: 'rpo'
         | 
| 327 371 | 
             
                      property :satisfies_pzs, as: 'satisfiesPZS'
         | 
| 328 372 | 
             
                      property :self_link, as: 'selfLink'
         | 
| 373 | 
            +
                      property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
         | 
| 374 | 
            +
                  
         | 
| 329 375 | 
             
                      property :storage_class, as: 'storageClass'
         | 
| 330 376 | 
             
                      property :time_created, as: 'timeCreated', type: DateTime
         | 
| 331 377 |  | 
| @@ -341,6 +387,9 @@ module Google | |
| 341 387 | 
             
                      # @private
         | 
| 342 388 | 
             
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 343 389 | 
             
                        property :enabled, as: 'enabled'
         | 
| 390 | 
            +
                        property :terminal_storage_class, as: 'terminalStorageClass'
         | 
| 391 | 
            +
                        property :terminal_storage_class_update_time, as: 'terminalStorageClassUpdateTime', type: DateTime
         | 
| 392 | 
            +
                    
         | 
| 344 393 | 
             
                        property :toggle_time, as: 'toggleTime', type: DateTime
         | 
| 345 394 |  | 
| 346 395 | 
             
                      end
         | 
| @@ -461,6 +510,13 @@ module Google | |
| 461 510 | 
             
                      end
         | 
| 462 511 | 
             
                    end
         | 
| 463 512 |  | 
| 513 | 
            +
                    class ObjectRetention
         | 
| 514 | 
            +
                      # @private
         | 
| 515 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 516 | 
            +
                        property :mode, as: 'mode'
         | 
| 517 | 
            +
                      end
         | 
| 518 | 
            +
                    end
         | 
| 519 | 
            +
                    
         | 
| 464 520 | 
             
                    class Owner
         | 
| 465 521 | 
             
                      # @private
         | 
| 466 522 | 
             
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -479,6 +535,15 @@ module Google | |
| 479 535 | 
             
                      end
         | 
| 480 536 | 
             
                    end
         | 
| 481 537 |  | 
| 538 | 
            +
                    class SoftDeletePolicy
         | 
| 539 | 
            +
                      # @private
         | 
| 540 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 541 | 
            +
                        property :effective_time, as: 'effectiveTime', type: DateTime
         | 
| 542 | 
            +
                    
         | 
| 543 | 
            +
                        property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
         | 
| 544 | 
            +
                      end
         | 
| 545 | 
            +
                    end
         | 
| 546 | 
            +
                    
         | 
| 482 547 | 
             
                    class Versioning
         | 
| 483 548 | 
             
                      # @private
         | 
| 484 549 | 
             
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -540,6 +605,19 @@ module Google | |
| 540 605 | 
             
                    end
         | 
| 541 606 | 
             
                  end
         | 
| 542 607 |  | 
| 608 | 
            +
                  class BulkRestoreObjectsRequest
         | 
| 609 | 
            +
                    # @private
         | 
| 610 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 611 | 
            +
                      property :allow_overwrite, as: 'allowOverwrite'
         | 
| 612 | 
            +
                      property :copy_source_acl, as: 'copySourceAcl'
         | 
| 613 | 
            +
                      collection :match_globs, as: 'matchGlobs'
         | 
| 614 | 
            +
                      property :soft_deleted_after_time, as: 'softDeletedAfterTime', type: DateTime
         | 
| 615 | 
            +
                  
         | 
| 616 | 
            +
                      property :soft_deleted_before_time, as: 'softDeletedBeforeTime', type: DateTime
         | 
| 617 | 
            +
                  
         | 
| 618 | 
            +
                    end
         | 
| 619 | 
            +
                  end
         | 
| 620 | 
            +
                  
         | 
| 543 621 | 
             
                  class Channel
         | 
| 544 622 | 
             
                    # @private
         | 
| 545 623 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -594,6 +672,36 @@ module Google | |
| 594 672 | 
             
                    end
         | 
| 595 673 | 
             
                  end
         | 
| 596 674 |  | 
| 675 | 
            +
                  class GoogleLongrunningListOperationsResponse
         | 
| 676 | 
            +
                    # @private
         | 
| 677 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 678 | 
            +
                      property :next_page_token, as: 'nextPageToken'
         | 
| 679 | 
            +
                      collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
         | 
| 680 | 
            +
                  
         | 
| 681 | 
            +
                    end
         | 
| 682 | 
            +
                  end
         | 
| 683 | 
            +
                  
         | 
| 684 | 
            +
                  class GoogleLongrunningOperation
         | 
| 685 | 
            +
                    # @private
         | 
| 686 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 687 | 
            +
                      property :done, as: 'done'
         | 
| 688 | 
            +
                      property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
         | 
| 689 | 
            +
                  
         | 
| 690 | 
            +
                      hash :metadata, as: 'metadata'
         | 
| 691 | 
            +
                      property :name, as: 'name'
         | 
| 692 | 
            +
                      hash :response, as: 'response'
         | 
| 693 | 
            +
                    end
         | 
| 694 | 
            +
                  end
         | 
| 695 | 
            +
                  
         | 
| 696 | 
            +
                  class GoogleRpcStatus
         | 
| 697 | 
            +
                    # @private
         | 
| 698 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 699 | 
            +
                      property :code, as: 'code'
         | 
| 700 | 
            +
                      collection :details, as: 'details'
         | 
| 701 | 
            +
                      property :message, as: 'message'
         | 
| 702 | 
            +
                    end
         | 
| 703 | 
            +
                  end
         | 
| 704 | 
            +
                  
         | 
| 597 705 | 
             
                  class HmacKey
         | 
| 598 706 | 
             
                    # @private
         | 
| 599 707 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -686,6 +794,8 @@ module Google | |
| 686 794 | 
             
                      property :name, as: 'name'
         | 
| 687 795 | 
             
                      property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
         | 
| 688 796 |  | 
| 797 | 
            +
                      property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
         | 
| 798 | 
            +
                  
         | 
| 689 799 | 
             
                      property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
         | 
| 690 800 |  | 
| 691 801 | 
             
                      property :self_link, as: 'selfLink'
         | 
| @@ -717,6 +827,15 @@ module Google | |
| 717 827 | 
             
                        property :entity_id, as: 'entityId'
         | 
| 718 828 | 
             
                      end
         | 
| 719 829 | 
             
                    end
         | 
| 830 | 
            +
                    
         | 
| 831 | 
            +
                    class Retention
         | 
| 832 | 
            +
                      # @private
         | 
| 833 | 
            +
                      class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 834 | 
            +
                        property :mode, as: 'mode'
         | 
| 835 | 
            +
                        property :retain_until_time, as: 'retainUntilTime', type: DateTime
         | 
| 836 | 
            +
                    
         | 
| 837 | 
            +
                      end
         | 
| 838 | 
            +
                    end
         | 
| 720 839 | 
             
                  end
         | 
| 721 840 |  | 
| 722 841 | 
             
                  class ObjectAccessControl
         | 
| @@ -426,6 +426,8 @@ module Google | |
| 426 426 | 
             
                    # @param [String] project
         | 
| 427 427 | 
             
                    #   A valid API project identifier.
         | 
| 428 428 | 
             
                    # @param [Google::Apis::StorageV1::Bucket] bucket_object
         | 
| 429 | 
            +
                    # @param [Boolean] enable_object_retention
         | 
| 430 | 
            +
                    #   When set to true, object retention is enabled for this bucket.
         | 
| 429 431 | 
             
                    # @param [String] predefined_acl
         | 
| 430 432 | 
             
                    #   Apply a predefined set of access controls to this bucket.
         | 
| 431 433 | 
             
                    # @param [String] predefined_default_object_acl
         | 
| @@ -454,12 +456,13 @@ module Google | |
| 454 456 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 455 457 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 456 458 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 457 | 
            -
                    def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 459 | 
            +
                    def insert_bucket(project, bucket_object = nil, enable_object_retention: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 458 460 | 
             
                      command = make_simple_command(:post, 'b', options)
         | 
| 459 461 | 
             
                      command.request_representation = Google::Apis::StorageV1::Bucket::Representation
         | 
| 460 462 | 
             
                      command.request_object = bucket_object
         | 
| 461 463 | 
             
                      command.response_representation = Google::Apis::StorageV1::Bucket::Representation
         | 
| 462 464 | 
             
                      command.response_class = Google::Apis::StorageV1::Bucket
         | 
| 465 | 
            +
                      command.query['enableObjectRetention'] = enable_object_retention unless enable_object_retention.nil?
         | 
| 463 466 | 
             
                      command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
         | 
| 464 467 | 
             
                      command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
         | 
| 465 468 | 
             
                      command.query['project'] = project unless project.nil?
         | 
| @@ -1479,6 +1482,42 @@ module Google | |
| 1479 1482 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1480 1483 | 
             
                    end
         | 
| 1481 1484 |  | 
| 1485 | 
            +
                    # Initiates a long-running bulk restore operation on the specified bucket.
         | 
| 1486 | 
            +
                    # @param [String] bucket
         | 
| 1487 | 
            +
                    #   Name of the bucket in which the object resides.
         | 
| 1488 | 
            +
                    # @param [Google::Apis::StorageV1::BulkRestoreObjectsRequest] bulk_restore_objects_request_object
         | 
| 1489 | 
            +
                    # @param [String] fields
         | 
| 1490 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1491 | 
            +
                    # @param [String] quota_user
         | 
| 1492 | 
            +
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 1493 | 
            +
                    #   characters.
         | 
| 1494 | 
            +
                    # @param [String] user_ip
         | 
| 1495 | 
            +
                    #   Deprecated. Please use quotaUser instead.
         | 
| 1496 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1497 | 
            +
                    #   Request-specific options
         | 
| 1498 | 
            +
                    #
         | 
| 1499 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1500 | 
            +
                    # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
         | 
| 1501 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1502 | 
            +
                    #
         | 
| 1503 | 
            +
                    # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
         | 
| 1504 | 
            +
                    #
         | 
| 1505 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1506 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1507 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1508 | 
            +
                    def bulk_restore_objects(bucket, bulk_restore_objects_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 1509 | 
            +
                      command = make_simple_command(:post, 'b/{bucket}/o/bulkRestore', options)
         | 
| 1510 | 
            +
                      command.request_representation = Google::Apis::StorageV1::BulkRestoreObjectsRequest::Representation
         | 
| 1511 | 
            +
                      command.request_object = bulk_restore_objects_request_object
         | 
| 1512 | 
            +
                      command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
         | 
| 1513 | 
            +
                      command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
         | 
| 1514 | 
            +
                      command.params['bucket'] = bucket unless bucket.nil?
         | 
| 1515 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1516 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1517 | 
            +
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 1518 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1519 | 
            +
                    end
         | 
| 1520 | 
            +
                    
         | 
| 1482 1521 | 
             
                    # Concatenates a list of existing objects into a new object in the same bucket.
         | 
| 1483 1522 | 
             
                    # @param [String] destination_bucket
         | 
| 1484 1523 | 
             
                    #   Name of the bucket containing the source objects. The destination object is
         | 
| @@ -1736,6 +1775,9 @@ module Google | |
| 1736 1775 | 
             
                    #   does not match the given value.
         | 
| 1737 1776 | 
             
                    # @param [String] projection
         | 
| 1738 1777 | 
             
                    #   Set of properties to return. Defaults to noAcl.
         | 
| 1778 | 
            +
                    # @param [Boolean] soft_deleted
         | 
| 1779 | 
            +
                    #   If true, only soft-deleted object versions will be listed. The default is
         | 
| 1780 | 
            +
                    #   false. For more information, see Soft Delete.
         | 
| 1739 1781 | 
             
                    # @param [String] user_project
         | 
| 1740 1782 | 
             
                    #   The project to be billed for this request. Required for Requester Pays buckets.
         | 
| 1741 1783 | 
             
                    # @param [String] fields
         | 
| @@ -1759,7 +1801,7 @@ module Google | |
| 1759 1801 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1760 1802 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1761 1803 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1762 | 
            -
                    def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
         | 
| 1804 | 
            +
                    def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, soft_deleted: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
         | 
| 1763 1805 |  | 
| 1764 1806 | 
             
                      if download_dest.nil?
         | 
| 1765 1807 | 
             
                        command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
         | 
| @@ -1777,6 +1819,7 @@ module Google | |
| 1777 1819 | 
             
                      command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
         | 
| 1778 1820 | 
             
                      command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
         | 
| 1779 1821 | 
             
                      command.query['projection'] = projection unless projection.nil?
         | 
| 1822 | 
            +
                      command.query['softDeleted'] = soft_deleted unless soft_deleted.nil?
         | 
| 1780 1823 | 
             
                      command.query['userProject'] = user_project unless user_project.nil?
         | 
| 1781 1824 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1782 1825 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| @@ -1953,6 +1996,9 @@ module Google | |
| 1953 1996 | 
             
                    #   Filter results to objects whose names begin with this prefix.
         | 
| 1954 1997 | 
             
                    # @param [String] projection
         | 
| 1955 1998 | 
             
                    #   Set of properties to return. Defaults to noAcl.
         | 
| 1999 | 
            +
                    # @param [Boolean] soft_deleted
         | 
| 2000 | 
            +
                    #   If true, only soft-deleted object versions will be listed. The default is
         | 
| 2001 | 
            +
                    #   false. For more information, see Soft Delete.
         | 
| 1956 2002 | 
             
                    # @param [String] start_offset
         | 
| 1957 2003 | 
             
                    #   Filter results to objects whose names are lexicographically equal to or after
         | 
| 1958 2004 | 
             
                    #   startOffset. If endOffset is also set, the objects listed will have names
         | 
| @@ -1981,7 +2027,7 @@ module Google | |
| 1981 2027 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1982 2028 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1983 2029 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1984 | 
            -
                    def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, match_glob: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2030 | 
            +
                    def list_objects(bucket, delimiter: nil, end_offset: 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)
         | 
| 1985 2031 | 
             
                      command = make_simple_command(:get, 'b/{bucket}/o', options)
         | 
| 1986 2032 | 
             
                      command.response_representation = Google::Apis::StorageV1::Objects::Representation
         | 
| 1987 2033 | 
             
                      command.response_class = Google::Apis::StorageV1::Objects
         | 
| @@ -1994,6 +2040,7 @@ module Google | |
| 1994 2040 | 
             
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 1995 2041 | 
             
                      command.query['prefix'] = prefix unless prefix.nil?
         | 
| 1996 2042 | 
             
                      command.query['projection'] = projection unless projection.nil?
         | 
| 2043 | 
            +
                      command.query['softDeleted'] = soft_deleted unless soft_deleted.nil?
         | 
| 1997 2044 | 
             
                      command.query['startOffset'] = start_offset unless start_offset.nil?
         | 
| 1998 2045 | 
             
                      command.query['userProject'] = user_project unless user_project.nil?
         | 
| 1999 2046 | 
             
                      command.query['versions'] = versions unless versions.nil?
         | 
| @@ -2029,6 +2076,9 @@ module Google | |
| 2029 2076 | 
             
                    # @param [Fixnum] if_metageneration_not_match
         | 
| 2030 2077 | 
             
                    #   Makes the operation conditional on whether the object's current metageneration
         | 
| 2031 2078 | 
             
                    #   does not match the given value.
         | 
| 2079 | 
            +
                    # @param [Boolean] override_unlocked_retention
         | 
| 2080 | 
            +
                    #   Must be true to remove the retention configuration, reduce its unlocked
         | 
| 2081 | 
            +
                    #   retention period, or change its mode from unlocked to locked.
         | 
| 2032 2082 | 
             
                    # @param [String] predefined_acl
         | 
| 2033 2083 | 
             
                    #   Apply a predefined set of access controls to this object.
         | 
| 2034 2084 | 
             
                    # @param [String] projection
         | 
| @@ -2054,7 +2104,7 @@ module Google | |
| 2054 2104 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2055 2105 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2056 2106 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2057 | 
            -
                    def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2107 | 
            +
                    def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, override_unlocked_retention: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2058 2108 | 
             
                      command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
         | 
| 2059 2109 | 
             
                      command.request_representation = Google::Apis::StorageV1::Object::Representation
         | 
| 2060 2110 | 
             
                      command.request_object = object_object
         | 
| @@ -2067,6 +2117,7 @@ module Google | |
| 2067 2117 | 
             
                      command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
         | 
| 2068 2118 | 
             
                      command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
         | 
| 2069 2119 | 
             
                      command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
         | 
| 2120 | 
            +
                      command.query['overrideUnlockedRetention'] = override_unlocked_retention unless override_unlocked_retention.nil?
         | 
| 2070 2121 | 
             
                      command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
         | 
| 2071 2122 | 
             
                      command.query['projection'] = projection unless projection.nil?
         | 
| 2072 2123 | 
             
                      command.query['userProject'] = user_project unless user_project.nil?
         | 
| @@ -2076,6 +2127,72 @@ module Google | |
| 2076 2127 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 2077 2128 | 
             
                    end
         | 
| 2078 2129 |  | 
| 2130 | 
            +
                    # Restores a soft-deleted object.
         | 
| 2131 | 
            +
                    # @param [String] bucket
         | 
| 2132 | 
            +
                    #   Name of the bucket in which the object resides.
         | 
| 2133 | 
            +
                    # @param [String] object
         | 
| 2134 | 
            +
                    #   Name of the object. For information about how to URL encode object names to be
         | 
| 2135 | 
            +
                    #   path safe, see Encoding URI Path Parts.
         | 
| 2136 | 
            +
                    # @param [Google::Apis::StorageV1::Object] object_object
         | 
| 2137 | 
            +
                    # @param [Fixnum] if_generation_match
         | 
| 2138 | 
            +
                    #   Makes the operation conditional on whether the object's one live generation
         | 
| 2139 | 
            +
                    #   matches the given value. Setting to 0 makes the operation succeed only if
         | 
| 2140 | 
            +
                    #   there are no live versions of the object.
         | 
| 2141 | 
            +
                    # @param [Fixnum] if_generation_not_match
         | 
| 2142 | 
            +
                    #   Makes the operation conditional on whether none of the object's live
         | 
| 2143 | 
            +
                    #   generations match the given value. If no live object exists, the precondition
         | 
| 2144 | 
            +
                    #   fails. Setting to 0 makes the operation succeed only if there is a live
         | 
| 2145 | 
            +
                    #   version of the object.
         | 
| 2146 | 
            +
                    # @param [Fixnum] if_metageneration_match
         | 
| 2147 | 
            +
                    #   Makes the operation conditional on whether the object's one live
         | 
| 2148 | 
            +
                    #   metageneration matches the given value.
         | 
| 2149 | 
            +
                    # @param [Fixnum] if_metageneration_not_match
         | 
| 2150 | 
            +
                    #   Makes the operation conditional on whether none of the object's live
         | 
| 2151 | 
            +
                    #   metagenerations match the given value.
         | 
| 2152 | 
            +
                    # @param [String] projection
         | 
| 2153 | 
            +
                    #   Set of properties to return. Defaults to full.
         | 
| 2154 | 
            +
                    # @param [String] user_project
         | 
| 2155 | 
            +
                    #   The project to be billed for this request. Required for Requester Pays buckets.
         | 
| 2156 | 
            +
                    # @param [String] fields
         | 
| 2157 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2158 | 
            +
                    # @param [String] quota_user
         | 
| 2159 | 
            +
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 2160 | 
            +
                    #   characters.
         | 
| 2161 | 
            +
                    # @param [String] user_ip
         | 
| 2162 | 
            +
                    #   Deprecated. Please use quotaUser instead.
         | 
| 2163 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2164 | 
            +
                    #   Request-specific options
         | 
| 2165 | 
            +
                    #
         | 
| 2166 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2167 | 
            +
                    # @yieldparam result [Google::Apis::StorageV1::Object] parsed result object
         | 
| 2168 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2169 | 
            +
                    #
         | 
| 2170 | 
            +
                    # @return [Google::Apis::StorageV1::Object]
         | 
| 2171 | 
            +
                    #
         | 
| 2172 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2173 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2174 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2175 | 
            +
                    def restore_object(bucket, object, object_object = nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2176 | 
            +
                      command = make_simple_command(:post, 'b/{bucket}/o/{object}/restore', options)
         | 
| 2177 | 
            +
                      command.request_representation = Google::Apis::StorageV1::Object::Representation
         | 
| 2178 | 
            +
                      command.request_object = object_object
         | 
| 2179 | 
            +
                      command.response_representation = Google::Apis::StorageV1::Object::Representation
         | 
| 2180 | 
            +
                      command.response_class = Google::Apis::StorageV1::Object
         | 
| 2181 | 
            +
                      command.params['bucket'] = bucket unless bucket.nil?
         | 
| 2182 | 
            +
                      command.params['object'] = object unless object.nil?
         | 
| 2183 | 
            +
                      command.query['generation'] = generation unless generation.nil?
         | 
| 2184 | 
            +
                      command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
         | 
| 2185 | 
            +
                      command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
         | 
| 2186 | 
            +
                      command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
         | 
| 2187 | 
            +
                      command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
         | 
| 2188 | 
            +
                      command.query['projection'] = projection unless projection.nil?
         | 
| 2189 | 
            +
                      command.query['userProject'] = user_project unless user_project.nil?
         | 
| 2190 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2191 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2192 | 
            +
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 2193 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2194 | 
            +
                    end
         | 
| 2195 | 
            +
                    
         | 
| 2079 2196 | 
             
                    # Rewrites a source object to a destination object. Optionally overrides
         | 
| 2080 2197 | 
             
                    # metadata.
         | 
| 2081 2198 | 
             
                    # @param [String] source_bucket
         | 
| @@ -2320,6 +2437,9 @@ module Google | |
| 2320 2437 | 
             
                    # @param [Fixnum] if_metageneration_not_match
         | 
| 2321 2438 | 
             
                    #   Makes the operation conditional on whether the object's current metageneration
         | 
| 2322 2439 | 
             
                    #   does not match the given value.
         | 
| 2440 | 
            +
                    # @param [Boolean] override_unlocked_retention
         | 
| 2441 | 
            +
                    #   Must be true to remove the retention configuration, reduce its unlocked
         | 
| 2442 | 
            +
                    #   retention period, or change its mode from unlocked to locked.
         | 
| 2323 2443 | 
             
                    # @param [String] predefined_acl
         | 
| 2324 2444 | 
             
                    #   Apply a predefined set of access controls to this object.
         | 
| 2325 2445 | 
             
                    # @param [String] projection
         | 
| @@ -2345,7 +2465,7 @@ module Google | |
| 2345 2465 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2346 2466 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2347 2467 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2348 | 
            -
                    def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2468 | 
            +
                    def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, override_unlocked_retention: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2349 2469 | 
             
                      command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
         | 
| 2350 2470 | 
             
                      command.request_representation = Google::Apis::StorageV1::Object::Representation
         | 
| 2351 2471 | 
             
                      command.request_object = object_object
         | 
| @@ -2358,6 +2478,7 @@ module Google | |
| 2358 2478 | 
             
                      command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
         | 
| 2359 2479 | 
             
                      command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
         | 
| 2360 2480 | 
             
                      command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
         | 
| 2481 | 
            +
                      command.query['overrideUnlockedRetention'] = override_unlocked_retention unless override_unlocked_retention.nil?
         | 
| 2361 2482 | 
             
                      command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
         | 
| 2362 2483 | 
             
                      command.query['projection'] = projection unless projection.nil?
         | 
| 2363 2484 | 
             
                      command.query['userProject'] = user_project unless user_project.nil?
         | 
| @@ -2447,6 +2568,123 @@ module Google | |
| 2447 2568 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 2448 2569 | 
             
                    end
         | 
| 2449 2570 |  | 
| 2571 | 
            +
                    # Starts asynchronous cancellation on a long-running operation. The server makes
         | 
| 2572 | 
            +
                    # a best effort to cancel the operation, but success is not guaranteed.
         | 
| 2573 | 
            +
                    # @param [String] bucket
         | 
| 2574 | 
            +
                    #   The parent bucket of the operation resource.
         | 
| 2575 | 
            +
                    # @param [String] operation_id
         | 
| 2576 | 
            +
                    #   The ID of the operation resource.
         | 
| 2577 | 
            +
                    # @param [String] fields
         | 
| 2578 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2579 | 
            +
                    # @param [String] quota_user
         | 
| 2580 | 
            +
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 2581 | 
            +
                    #   characters.
         | 
| 2582 | 
            +
                    # @param [String] user_ip
         | 
| 2583 | 
            +
                    #   Deprecated. Please use quotaUser instead.
         | 
| 2584 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2585 | 
            +
                    #   Request-specific options
         | 
| 2586 | 
            +
                    #
         | 
| 2587 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2588 | 
            +
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 2589 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2590 | 
            +
                    #
         | 
| 2591 | 
            +
                    # @return [void]
         | 
| 2592 | 
            +
                    #
         | 
| 2593 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2594 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2595 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2596 | 
            +
                    def cancel_bucket_operation(bucket, operation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2597 | 
            +
                      command = make_simple_command(:post, 'b/{bucket}/operations/{operationId}/cancel', options)
         | 
| 2598 | 
            +
                      command.params['bucket'] = bucket unless bucket.nil?
         | 
| 2599 | 
            +
                      command.params['operationId'] = operation_id unless operation_id.nil?
         | 
| 2600 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2601 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2602 | 
            +
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 2603 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2604 | 
            +
                    end
         | 
| 2605 | 
            +
                    
         | 
| 2606 | 
            +
                    # Gets the latest state of a long-running operation.
         | 
| 2607 | 
            +
                    # @param [String] bucket
         | 
| 2608 | 
            +
                    #   The parent bucket of the operation resource.
         | 
| 2609 | 
            +
                    # @param [String] operation_id
         | 
| 2610 | 
            +
                    #   The ID of the operation resource.
         | 
| 2611 | 
            +
                    # @param [String] fields
         | 
| 2612 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2613 | 
            +
                    # @param [String] quota_user
         | 
| 2614 | 
            +
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 2615 | 
            +
                    #   characters.
         | 
| 2616 | 
            +
                    # @param [String] user_ip
         | 
| 2617 | 
            +
                    #   Deprecated. Please use quotaUser instead.
         | 
| 2618 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2619 | 
            +
                    #   Request-specific options
         | 
| 2620 | 
            +
                    #
         | 
| 2621 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2622 | 
            +
                    # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
         | 
| 2623 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2624 | 
            +
                    #
         | 
| 2625 | 
            +
                    # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
         | 
| 2626 | 
            +
                    #
         | 
| 2627 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2628 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2629 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2630 | 
            +
                    def get_bucket_operation(bucket, operation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2631 | 
            +
                      command = make_simple_command(:get, 'b/{bucket}/operations/{operationId}', options)
         | 
| 2632 | 
            +
                      command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
         | 
| 2633 | 
            +
                      command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
         | 
| 2634 | 
            +
                      command.params['bucket'] = bucket unless bucket.nil?
         | 
| 2635 | 
            +
                      command.params['operationId'] = operation_id unless operation_id.nil?
         | 
| 2636 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2637 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2638 | 
            +
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 2639 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2640 | 
            +
                    end
         | 
| 2641 | 
            +
                    
         | 
| 2642 | 
            +
                    # Lists operations that match the specified filter in the request.
         | 
| 2643 | 
            +
                    # @param [String] bucket
         | 
| 2644 | 
            +
                    #   Name of the bucket in which to look for operations.
         | 
| 2645 | 
            +
                    # @param [String] filter
         | 
| 2646 | 
            +
                    #   A filter to narrow down results to a preferred subset. The filtering language
         | 
| 2647 | 
            +
                    #   is documented in more detail in [AIP-160](https://google.aip.dev/160).
         | 
| 2648 | 
            +
                    # @param [Fixnum] page_size
         | 
| 2649 | 
            +
                    #   Maximum number of items to return in a single page of responses. Fewer total
         | 
| 2650 | 
            +
                    #   results may be returned than requested. The service uses this parameter or 100
         | 
| 2651 | 
            +
                    #   items, whichever is smaller.
         | 
| 2652 | 
            +
                    # @param [String] page_token
         | 
| 2653 | 
            +
                    #   A previously-returned page token representing part of the larger set of
         | 
| 2654 | 
            +
                    #   results to view.
         | 
| 2655 | 
            +
                    # @param [String] fields
         | 
| 2656 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2657 | 
            +
                    # @param [String] quota_user
         | 
| 2658 | 
            +
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 2659 | 
            +
                    #   characters.
         | 
| 2660 | 
            +
                    # @param [String] user_ip
         | 
| 2661 | 
            +
                    #   Deprecated. Please use quotaUser instead.
         | 
| 2662 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2663 | 
            +
                    #   Request-specific options
         | 
| 2664 | 
            +
                    #
         | 
| 2665 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2666 | 
            +
                    # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningListOperationsResponse] parsed result object
         | 
| 2667 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2668 | 
            +
                    #
         | 
| 2669 | 
            +
                    # @return [Google::Apis::StorageV1::GoogleLongrunningListOperationsResponse]
         | 
| 2670 | 
            +
                    #
         | 
| 2671 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2672 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2673 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2674 | 
            +
                    def list_bucket_operations(bucket, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 2675 | 
            +
                      command = make_simple_command(:get, 'b/{bucket}/operations', options)
         | 
| 2676 | 
            +
                      command.response_representation = Google::Apis::StorageV1::GoogleLongrunningListOperationsResponse::Representation
         | 
| 2677 | 
            +
                      command.response_class = Google::Apis::StorageV1::GoogleLongrunningListOperationsResponse
         | 
| 2678 | 
            +
                      command.params['bucket'] = bucket unless bucket.nil?
         | 
| 2679 | 
            +
                      command.query['filter'] = filter unless filter.nil?
         | 
| 2680 | 
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 2681 | 
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 2682 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2683 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2684 | 
            +
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 2685 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2686 | 
            +
                    end
         | 
| 2687 | 
            +
                    
         | 
| 2450 2688 | 
             
                    # Creates a new HMAC key for the specified service account.
         | 
| 2451 2689 | 
             
                    # @param [String] project_id
         | 
| 2452 2690 | 
             
                    #   Project ID owning the service account.
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 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.26.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-09-17 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.26.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         | 
| @@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 75 75 | 
             
                - !ruby/object:Gem::Version
         | 
| 76 76 | 
             
                  version: '0'
         | 
| 77 77 | 
             
            requirements: []
         | 
| 78 | 
            -
            rubygems_version: 3.4. | 
| 78 | 
            +
            rubygems_version: 3.4.19
         | 
| 79 79 | 
             
            signing_key: 
         | 
| 80 80 | 
             
            specification_version: 4
         | 
| 81 81 | 
             
            summary: Simple REST client for Cloud Storage JSON API V1
         |