Class ProjectSource
Describes the project source where the objects satisfying the filters will be transformed.
Implements
Inherited Members
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class ProjectSource : IDirectResponseSchema
Properties
BucketFilters
Optional. Filters expressed in Common Expression Language (CEL) to apply to buckets to identify buckets with objects to be transformed.
Declaration
[JsonProperty("bucketFilters")]
public virtual Expr BucketFilters { get; set; }
Property Value
| Type | Description |
|---|---|
| Expr |
DryRunJobId
Optional. The unique identifier of a dry run job to use as the baseline for the current job. Specifying this
ID ensures the job is executed against the same set of objects validated during the dry run. The value
corresponds to the {job_id} segment of the resource name:
projects/{project_id}/locations/{location}/jobs/{job_id}.
Declaration
[JsonProperty("dryRunJobId")]
public virtual string DryRunJobId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InsightsDatasetConfig
Required. The resource identifier of the Storage Insights dataset configuration. Storage batch operations
uses the latest snapshot from this dataset as the source to list and filter target objects. Format:
projects/{project_id}/locations/{location}/datasetConfigs/{dataset_config}.
Declaration
[JsonProperty("insightsDatasetConfig")]
public virtual string InsightsDatasetConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectFilters
Optional. Filters expressed in Common Expression Language (CEL) to apply to objects to identify objects to be transformed.
Declaration
[JsonProperty("objectFilters")]
public virtual Expr ObjectFilters { get; set; }
Property Value
| Type | Description |
|---|---|
| Expr |
Project
Required. Project name of the objects to be transformed. e.g. projects/my-project or projects/123456.
Declaration
[JsonProperty("project")]
public virtual string Project { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SnapshotTime
object representation of SnapshotTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SnapshotTimeDateTimeOffset instead.")]
public virtual object SnapshotTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SnapshotTimeDateTimeOffset
DateTimeOffset representation of SnapshotTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? SnapshotTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
SnapshotTimeRaw
Output only. The snapshot time used by the job to read the Storage Insights dataset for bucket and object discovery. This field is populated by the service and reflects the exact timestamp of the dataset snapshot used.
Declaration
[JsonProperty("snapshotTime")]
public virtual string SnapshotTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetLocations
Optional. Specifies the Cloud Storage locations to include in the job. If provided, only buckets and objects
within these locations will be discovered from the Storage Insights dataset as configured in the
insights_dataset_config. If omitted, the job will discover buckets and objects from all locations
configured in the insights_dataset_config.
Declaration
[JsonProperty("targetLocations")]
public virtual TargetLocations TargetLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| TargetLocations |