GetSnapshotArgs class

Arguments for getSnapshot. Arguments for getSnapshot.

Constructors

GetSnapshotArgs({Input<String?>? filter, Input<bool?>? mostRecent, Input<String?>? name, Input<String?>? project})
Creates a new GetSnapshotArgs. filter A filter to retrieve the compute snapshot. mostRecent If filter is provided, ensures the most recent snapshot is returned when multiple compute snapshot match. name The name of the compute snapshot. One of name or filter must be provided. project The ID of the project in which the resource belongs.
const
GetSnapshotArgs.fromMap(Map<String, dynamic> map)
factory

Properties

filter → Input<String?>?
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 mostRecent. 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$).*'
final
hashCode → int
The hash code for this object.
no setterinherited
mostRecent → Input<bool?>?
If filter is provided, ensures the most recent snapshot is returned when multiple compute snapshot match.
final
name → Input<String?>?
The name of the compute snapshot. One of name or filter must be provided.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited