Class Job
The storage batch operations job description.
Implements
Inherited Members
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class Job : IDirectResponseSchema
Properties
BucketList
Specifies a list of buckets and their objects to be transformed.
Declaration
[JsonProperty("bucketList")]
public virtual BucketList BucketList { get; set; }
Property Value
| Type | Description |
|---|---|
| BucketList |
CompleteTime
object representation of CompleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CompleteTimeDateTimeOffset instead.")]
public virtual object CompleteTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CompleteTimeDateTimeOffset
DateTimeOffset representation of CompleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CompleteTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CompleteTimeRaw
Output only. The time that the job was completed.
Declaration
[JsonProperty("completeTime")]
public virtual string CompleteTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Counters
Output only. Information about the progress of the job.
Declaration
[JsonProperty("counters")]
public virtual Counters Counters { get; set; }
Property Value
| Type | Description |
|---|---|
| Counters |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time that the job was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DeleteObject
Delete objects.
Declaration
[JsonProperty("deleteObject")]
public virtual DeleteObject DeleteObject { get; set; }
Property Value
| Type | Description |
|---|---|
| DeleteObject |
Description
Optional. A user-provided description for the job. Maximum length: 1024 bytes when unicode-encoded.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DryRun
Optional. If true, the job runs in dry run mode, returning the total object count and, if the object configuration is a prefix list, the bytes found from source. No transformations are performed.
Declaration
[JsonProperty("dryRun")]
public virtual bool? DryRun { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorSummaries
Output only. Summarizes errors encountered with sample error log entries.
Declaration
[JsonProperty("errorSummaries")]
public virtual IList<ErrorSummary> ErrorSummaries { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ErrorSummary> |
IsMultiBucketJob
Output only. If true, this job operates on multiple buckets. Multi-bucket jobs are subject to different quota limits than single-bucket jobs.
Declaration
[JsonProperty("isMultiBucketJob")]
public virtual bool? IsMultiBucketJob { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
LoggingConfig
Optional. Logging configuration.
Declaration
[JsonProperty("loggingConfig")]
public virtual LoggingConfig LoggingConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| LoggingConfig |
Name
Identifier. The resource name of the job. Format: projects/{project_id}/locations/global/jobs/{job_id}.
For example: projects/123456/locations/global/jobs/job01. job_id is unique in a given project.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProjectSource
Specifies a project source and filters to identify objects to be transformed.
Declaration
[JsonProperty("projectSource")]
public virtual ProjectSource ProjectSource { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectSource |
PutMetadata
Updates object metadata. Allows updating fixed-key and custom metadata. For example, Cache-Control,
Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time, and Retention configuration.
Declaration
[JsonProperty("putMetadata")]
public virtual PutMetadata PutMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| PutMetadata |
PutObjectHold
Changes object hold status.
Declaration
[JsonProperty("putObjectHold")]
public virtual PutObjectHold PutObjectHold { get; set; }
Property Value
| Type | Description |
|---|---|
| PutObjectHold |
RewriteObject
Rewrite the object and updates metadata like KMS key.
Declaration
[JsonProperty("rewriteObject")]
public virtual RewriteObject RewriteObject { get; set; }
Property Value
| Type | Description |
|---|---|
| RewriteObject |
ScheduleTime
object representation of ScheduleTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ScheduleTimeDateTimeOffset instead.")]
public virtual object ScheduleTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ScheduleTimeDateTimeOffset
DateTimeOffset representation of ScheduleTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ScheduleTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ScheduleTimeRaw
Output only. The time that the job was scheduled.
Declaration
[JsonProperty("scheduleTime")]
public virtual string ScheduleTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SetObjectAcls
Updates object ACLs.
Declaration
[JsonProperty("setObjectAcls")]
public virtual SetObjectAcls SetObjectAcls { get; set; }
Property Value
| Type | Description |
|---|---|
| SetObjectAcls |
State
Output only. State of the job.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateObjectCustomContext
Update object custom context.
Declaration
[JsonProperty("updateObjectCustomContext")]
public virtual UpdateObjectCustomContext UpdateObjectCustomContext { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateObjectCustomContext |