Google Cloud Storage Batch Operations V1 Client - Class Job (0.1.2)

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

The Storage Batch Operations Job description.

Generated from protobuf message google.cloud.storagebatchoperations.v1.Job

Namespace

Google \ Cloud \ StorageBatchOperations \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the Job. job_id is unique within the project, that is either set by the customer or defined by the service. Format: projects/{project}/locations/global/jobs/{job_id} . For example: "projects/123456/locations/global/jobs/job01".

↳ description
string

Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

↳ bucket_list
BucketList

Specifies a list of buckets and their objects to be transformed.

↳ put_object_hold
PutObjectHold

Changes object hold status.

↳ delete_object
DeleteObject

Delete objects.

↳ put_metadata
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.

↳ rewrite_object
RewriteObject

Rewrite the object and updates metadata like KMS key.

↳ logging_config
LoggingConfig

Optional. Logging configuration.

↳ create_time
Google\Protobuf\Timestamp

Output only. The time that the job was created.

↳ schedule_time
Google\Protobuf\Timestamp

Output only. The time that the job was scheduled.

↳ complete_time
Google\Protobuf\Timestamp

Output only. The time that the job was completed.

↳ counters
Counters

Output only. Information about the progress of the job.

↳ error_summaries
array< ErrorSummary >

Output only. Summarizes errors encountered with sample error log entries.

↳ state
int

Output only. State of the job.

getName

Identifier. The resource name of the Job. job_id is unique within the project, that is either set by the customer or defined by the service. Format: projects/{project}/locations/global/jobs/{job_id} .

For example: "projects/123456/locations/global/jobs/job01".

Returns
Type
Description
string

setName

Identifier. The resource name of the Job. job_id is unique within the project, that is either set by the customer or defined by the service. Format: projects/{project}/locations/global/jobs/{job_id} .

For example: "projects/123456/locations/global/jobs/job01".

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

Returns
Type
Description
string

setDescription

Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getBucketList

Specifies a list of buckets and their objects to be transformed.

Returns
Type
Description
BucketList |null

hasBucketList

setBucketList

Specifies a list of buckets and their objects to be transformed.

Parameter
Name
Description
Returns
Type
Description
$this

getPutObjectHold

Changes object hold status.

Returns
Type
Description

hasPutObjectHold

setPutObjectHold

Changes object hold status.

Parameter
Name
Description
Returns
Type
Description
$this

getDeleteObject

Delete objects.

Returns
Type
Description
DeleteObject |null

hasDeleteObject

setDeleteObject

Delete objects.

Parameter
Name
Description
Returns
Type
Description
$this

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.

Returns
Type
Description
PutMetadata |null

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.

Parameter
Name
Description
Returns
Type
Description
$this

getRewriteObject

Rewrite the object and updates metadata like KMS key.

Returns
Type
Description

hasRewriteObject

setRewriteObject

Rewrite the object and updates metadata like KMS key.

Parameter
Name
Description
Returns
Type
Description
$this

getLoggingConfig

Optional. Logging configuration.

Returns
Type
Description

hasLoggingConfig

clearLoggingConfig

setLoggingConfig

Optional. Logging configuration.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

Output only. The time that the job was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time that the job was created.

Parameter
Name
Description
Returns
Type
Description
$this

getScheduleTime

Output only. The time that the job was scheduled.

Returns
Type
Description

hasScheduleTime

clearScheduleTime

setScheduleTime

Output only. The time that the job was scheduled.

Parameter
Name
Description
Returns
Type
Description
$this

getCompleteTime

Output only. The time that the job was completed.

Returns
Type
Description

hasCompleteTime

clearCompleteTime

setCompleteTime

Output only. The time that the job was completed.

Parameter
Name
Description
Returns
Type
Description
$this

getCounters

Output only. Information about the progress of the job.

Returns
Type
Description
Counters |null

hasCounters

clearCounters

setCounters

Output only. Information about the progress of the job.

Parameter
Name
Description
var
Returns
Type
Description
$this

getErrorSummaries

Output only. Summarizes errors encountered with sample error log entries.

Returns
Type
Description

setErrorSummaries

Output only. Summarizes errors encountered with sample error log entries.

Parameter
Name
Description
var
array< ErrorSummary >
Returns
Type
Description
$this

getState

Output only. State of the job.

Returns
Type
Description
int

setState

Output only. State of the job.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getSource

Returns
Type
Description
string

getTransformation

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: