Storage Batch Operations V1 API - Class Google::Cloud::StorageBatchOperations::V1::CustomContextUpdates (v0.6.0)

Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::V1::CustomContextUpdates.

Describes a collection of updates to apply to custom contexts identified by key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#keys_to_clear

def keys_to_clear() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Custom contexts to clear by key. A key cannot be present in both updates and keys_to_clear.

#keys_to_clear=

def keys_to_clear=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Custom contexts to clear by key. A key cannot be present in both updates and keys_to_clear.
Returns
  • (::Array<::String>) — Optional. Custom contexts to clear by key. A key cannot be present in both updates and keys_to_clear.

#updates

def updates() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::StorageBatchOperations::V1::ObjectCustomContextPayload}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::StorageBatchOperations::V1::ObjectCustomContextPayload}) — Optional. Insert or update the existing custom contexts.

#updates=

def updates=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::StorageBatchOperations::V1::ObjectCustomContextPayload}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::StorageBatchOperations::V1::ObjectCustomContextPayload}) — Optional. Insert or update the existing custom contexts.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::StorageBatchOperations::V1::ObjectCustomContextPayload}) — Optional. Insert or update the existing custom contexts.