Resource: SandboxEnvironmentSnapshot
SandboxEnvironmentSnapshot is a snapshot of the SandboxEnvironment.
namestring
Identifier. The resource name of the SandboxEnvironmentSnapshot. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sandboxEnvironmentSnapshots/{sandboxEnvironmentSnapshot}
displayNamestring
Required. The display name of the SandboxEnvironmentSnapshot.
Output only. The timestamp when this SandboxEnvironmentSnapshot was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. The timestamp when this SandboxEnvironment was most recently updated.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
sourceSandboxEnvironmentstring
Required. The resource name of the source SandboxEnvironment this snapshot was taken from.
parentSnapshotstring
Output only. The resource name of the parent SandboxEnvironmentSnapshot. Empty if this is a root Snapshot (the first snapshot from a newly created sandbox). Can be used to reconstruct the whole ancestry tree of snapshots.
Optional. Output only. Size of the snapshot data in bytes.
ownerstring
Optional. owner information for this sandbox snapshot. Different owners will have isolations on snapshot storage and identity. If not set, snapshot will be created as the default owner.
Optional. Input only. Action to take on the source SandboxEnvironment after the snapshot is taken. This field is only used in CreateSandboxEnvironmentSnapshotRequest and it is not stored in the resource.
expirationUnion type
expire_time is recommended for specifying a precise expiration time. expiration can be only one of the following:Optional. timestamp in UTC of when this SandboxEnvironmentSnapshot is considered expired. This is always provided on output, regardless of what expiration was sent on input.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Optional. Input only. The TTL for the sandbox environment snapshot. The expiration time is computed: now + TTL.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
| JSON representation |
|---|
{
"name": string,
"displayName": string,
"createTime": string,
"updateTime": string,
"sourceSandboxEnvironment": string,
"parentSnapshot": string,
"sizeBytes": string,
"owner": string,
"postSnapshotAction": enum ( |
PostSnapshotAction
Action to take on the source SandboxEnvironment after the snapshot is taken.
| Enums | |
|---|---|
POST_SNAPSHOT_ACTION_UNSPECIFIED |
The default value. This value is unused. |
RUNNING |
Sandbox environment will continue to run after snapshot is taken. |
PAUSE |
Sandbox environment will be paused after snapshot is taken. |
Methods |
|
|---|---|
|
Deletes the specific SandboxEnvironmentSnapshot. |
|
Gets details of the specific SandboxEnvironmentSnapshot. |
|
Lists SandboxEnvironmentSnapshots in a given reasoning engine. |