MachineImage class
Represents a machine image resource.
A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.
Constructors
- 
          MachineImage({String? creationTimestamp, String? description, bool? guestFlush, String? id, InstanceProperties? instanceProperties, String? kind, String? labelFingerprint, Map<String, String> ? labels, CustomerEncryptionKey? machineImageEncryptionKey, String? name, bool? satisfiesPzi, bool? satisfiesPzs, List<SavedDisk> ? savedDisks, String? selfLink, List<SourceDiskEncryptionKey> ? sourceDiskEncryptionKeys, String? sourceInstance, SourceInstanceProperties? sourceInstanceProperties, String? status, List<String> ? storageLocations, String? totalStorageBytes})
- MachineImage.fromJson(Map json_)
Properties
- creationTimestamp ↔ String?
- 
  The creation timestamp for this machine image in RFC3339 text format.
  getter/setter pair
- description ↔ String?
- 
  An optional description of this resource.
  getter/setter pair
- guestFlush ↔ bool?
- 
  [Input Only] Whether to attempt an application consistent machine image
by informing the OS to prepare for the snapshot process.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id ↔ String?
- 
  A unique identifier for this machine image.
  getter/setter pair
- instanceProperties ↔ InstanceProperties?
- 
  Properties of source instance
  getter/setter pair
- kind ↔ String?
- 
  The resource type, which is always compute#machineImage for machine image.
  getter/setter pair
- labelFingerprint ↔ String?
- 
  A fingerprint for the labels being applied to this machine image, which is
essentially a hash of the labels set used for optimistic locking.
  getter/setter pair
- 
  labelFingerprintAsBytes
  ↔ List<int> 
- 
  
  getter/setter pair
- 
  labels
  ↔ Map<String, String> ?
- 
  Labels to apply to this machine image.
  getter/setter pair
- machineImageEncryptionKey ↔ CustomerEncryptionKey?
- 
  Encrypts the machine image using a customer-supplied encryption key.
  getter/setter pair
- name ↔ String?
- 
  Name of the resource; provided by the client when the resource is created.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- satisfiesPzi ↔ bool?
- 
  Reserved for future use.
  getter/setter pair
- satisfiesPzs ↔ bool?
- 
  Reserved for future use.
  getter/setter pair
- 
  savedDisks
  ↔ List<SavedDisk> ?
- 
  An array of Machine Image specific properties for disks attached to the
source instance
  getter/setter pair
- selfLink ↔ String?
- 
  The URL for this machine image.
  getter/setter pair
- 
  sourceDiskEncryptionKeys
  ↔ List<SourceDiskEncryptionKey> ?
- 
  [Input Only] The customer-supplied encryption key of the disks attached
to the source instance.
  getter/setter pair
- sourceInstance ↔ String?
- 
  The source instance used to create the machine image.
  getter/setter pair
- sourceInstanceProperties ↔ SourceInstanceProperties?
- 
  DEPRECATED: Please use instance_properties instead for source instance
related properties.
  getter/setter pair
- status ↔ String?
- 
  The status of the machine image.
  getter/setter pair
- 
  storageLocations
  ↔ List<String> ?
- 
  The regional or multi-regional Cloud Storage bucket location where the
machine image is stored.
  getter/setter pair
- totalStorageBytes ↔ String?
- 
  Total size of the storage used by the machine image.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited