Class TargetLocations
Describes the Cloud Storage locations to include in a ProjectSource job.
Implements
Inherited Members
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class TargetLocations : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Locations
Required. REQUIRED. A list of Cloud Storage locations (e.g., us-central1) to include in the job. If
snapshot_time is omitted, the job automatically defaults to the most recent snapshot timestamp that is
successfully populated in BOTH the object_attributes_view and bucket_attributes_view across ALL
specified locations. For details on Storage Insights dataset snapshots and views, see:
https://docs.cloud.google.com/storage/docs/insights/dataset-tables-and-schemas#schema
Declaration
[JsonProperty("locations")]
public virtual IList<string> Locations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<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
Optional. OPTIONAL. The exact Storage Insights snapshot timestamp to use for the job compatible with the RFC
3339 format (e.g., 2024-01-02T03:04:05Z). If specified, this exact snapshot must exist in BOTH the
object_attributes_view and bucket_attributes_view for every location listed in locations. If the
snapshot is missing from either view in any of the locations, the job fails.
Declaration
[JsonProperty("snapshotTime")]
public virtual string SnapshotTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |