Get Snapshot Plain Args
data class GetSnapshotPlainArgs(val filter: String? = null, val mostRecent: Boolean? = null, val name: String? = null, val project: String? = null) : ConvertibleToJava<GetSnapshotPlainArgs>
/* A collection of arguments for invoking getSnapshot.
Properties
Link copied to clipboard
A filter to retrieve the compute snapshot. See API filter parameter documentation for reference. If multiple compute snapshot match, either adjust the filter or specify most_recent
. One of name
or filter
must be provided. If you want to use a regular expression, use the eq
(equal) or ne
(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Example sourceDisk eq '.*(.*/data-disk$).*'
. More details for golang Snapshots list call filters here.
Link copied to clipboard
If filter
is provided, ensures the most recent snapshot is returned when multiple compute snapshot match.