Storage Batch Operations V1 API - Class Google::Cloud::StorageBatchOperations::V1::Job (v0.1.0)

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

The Storage Batch Operations Job description.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket_list

def bucket_list() -> ::Google::Cloud::StorageBatchOperations::V1::BucketList
Returns

#bucket_list=

def bucket_list=(value) -> ::Google::Cloud::StorageBatchOperations::V1::BucketList
Parameter
Returns

#complete_time

def complete_time() -> ::Google::Protobuf::Timestamp
Returns

#counters

def counters() -> ::Google::Cloud::StorageBatchOperations::V1::Counters
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#delete_object

def delete_object() -> ::Google::Cloud::StorageBatchOperations::V1::DeleteObject
Returns
  • (::Google::Cloud::StorageBatchOperations::V1::DeleteObject) — Delete objects.

    Note: The following fields are mutually exclusive: delete_object, put_object_hold, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_object=

def delete_object=(value) -> ::Google::Cloud::StorageBatchOperations::V1::DeleteObject
Parameter
  • value (::Google::Cloud::StorageBatchOperations::V1::DeleteObject) — Delete objects.

    Note: The following fields are mutually exclusive: delete_object, put_object_hold, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageBatchOperations::V1::DeleteObject) — Delete objects.

    Note: The following fields are mutually exclusive: delete_object, put_object_hold, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
Returns
  • (::String) — Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

#error_summaries

def error_summaries() -> ::Array<::Google::Cloud::StorageBatchOperations::V1::ErrorSummary>
Returns

#logging_config

def logging_config() -> ::Google::Cloud::StorageBatchOperations::V1::LoggingConfig
Returns

#logging_config=

def logging_config=(value) -> ::Google::Cloud::StorageBatchOperations::V1::LoggingConfig
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the Job. job_id is unique within the project and location, that is either set by the customer or defined by the service. Format: projects/{project}/locations/{location}/jobs/{job_id} . For example: "projects/123456/locations/us-central1/jobs/job01".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the Job. job_id is unique within the project and location, that is either set by the customer or defined by the service. Format: projects/{project}/locations/{location}/jobs/{job_id} . For example: "projects/123456/locations/us-central1/jobs/job01".
Returns
  • (::String) — Identifier. The resource name of the Job. job_id is unique within the project and location, that is either set by the customer or defined by the service. Format: projects/{project}/locations/{location}/jobs/{job_id} . For example: "projects/123456/locations/us-central1/jobs/job01".

#put_metadata

def put_metadata() -> ::Google::Cloud::StorageBatchOperations::V1::PutMetadata
Returns
  • (::Google::Cloud::StorageBatchOperations::V1::PutMetadata) — Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.

    Note: The following fields are mutually exclusive: put_metadata, put_object_hold, delete_object, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#put_metadata=

def put_metadata=(value) -> ::Google::Cloud::StorageBatchOperations::V1::PutMetadata
Parameter
  • value (::Google::Cloud::StorageBatchOperations::V1::PutMetadata) — Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.

    Note: The following fields are mutually exclusive: put_metadata, put_object_hold, delete_object, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageBatchOperations::V1::PutMetadata) — Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.

    Note: The following fields are mutually exclusive: put_metadata, put_object_hold, delete_object, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#put_object_hold

def put_object_hold() -> ::Google::Cloud::StorageBatchOperations::V1::PutObjectHold
Returns
  • (::Google::Cloud::StorageBatchOperations::V1::PutObjectHold) — Changes object hold status.

    Note: The following fields are mutually exclusive: put_object_hold, delete_object, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#put_object_hold=

def put_object_hold=(value) -> ::Google::Cloud::StorageBatchOperations::V1::PutObjectHold
Parameter
  • value (::Google::Cloud::StorageBatchOperations::V1::PutObjectHold) — Changes object hold status.

    Note: The following fields are mutually exclusive: put_object_hold, delete_object, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageBatchOperations::V1::PutObjectHold) — Changes object hold status.

    Note: The following fields are mutually exclusive: put_object_hold, delete_object, put_metadata, rewrite_object. If a field in that set is populated, all other fields in the set will automatically be cleared.

#rewrite_object

def rewrite_object() -> ::Google::Cloud::StorageBatchOperations::V1::RewriteObject
Returns
  • (::Google::Cloud::StorageBatchOperations::V1::RewriteObject) — Rewrite the object and updates metadata like KMS key.

    Note: The following fields are mutually exclusive: rewrite_object, put_object_hold, delete_object, put_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#rewrite_object=

def rewrite_object=(value) -> ::Google::Cloud::StorageBatchOperations::V1::RewriteObject
Parameter
  • value (::Google::Cloud::StorageBatchOperations::V1::RewriteObject) — Rewrite the object and updates metadata like KMS key.

    Note: The following fields are mutually exclusive: rewrite_object, put_object_hold, delete_object, put_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageBatchOperations::V1::RewriteObject) — Rewrite the object and updates metadata like KMS key.

    Note: The following fields are mutually exclusive: rewrite_object, put_object_hold, delete_object, put_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#schedule_time

def schedule_time() -> ::Google::Protobuf::Timestamp
Returns

#state

def state() -> ::Google::Cloud::StorageBatchOperations::V1::Job::State
Returns