GetInstanceComputeV1Result constructor

const GetInstanceComputeV1Result({
  1. required AdvancedMachineFeaturesResponseComputeV1 advancedMachineFeatures,
  2. required bool canIpForward,
  3. required ConfidentialInstanceConfigResponseComputeV1 confidentialInstanceConfig,
  4. required String cpuPlatform,
  5. required String creationTimestamp,
  6. required bool deletionProtection,
  7. required String description,
  8. required List<AttachedDiskResponseComputeV1> disks,
  9. required DisplayDeviceResponseComputeV1 displayDevice,
  10. required String fingerprint,
  11. required List<AcceleratorConfigResponseComputeV1> guestAccelerators,
  12. required String hostname,
  13. required CustomerEncryptionKeyResponseComputeV1 instanceEncryptionKey,
  14. required String keyRevocationActionType,
  15. required String kind,
  16. required String labelFingerprint,
  17. required Map<String, String> labels,
  18. required String lastStartTimestamp,
  19. required String lastStopTimestamp,
  20. required String lastSuspendedTimestamp,
  21. required String machineType,
  22. required MetadataResponseComputeV1 metadata,
  23. required String minCpuPlatform,
  24. required String name,
  25. required List<NetworkInterfaceResponseComputeV1> networkInterfaces,
  26. required NetworkPerformanceConfigResponseComputeV1 networkPerformanceConfig,
  27. required InstanceParamsResponseComputeV1 params,
  28. required String privateIpv6GoogleAccess,
  29. required ReservationAffinityResponseComputeV1 reservationAffinity,
  30. required List<String> resourcePolicies,
  31. required ResourceStatusResponseComputeV1 resourceStatus,
  32. required bool satisfiesPzs,
  33. required SchedulingResponseComputeV1 scheduling,
  34. required String selfLink,
  35. required List<ServiceAccountResponseComputeV1> serviceAccounts,
  36. required ShieldedInstanceConfigResponseComputeV1 shieldedInstanceConfig,
  37. required ShieldedInstanceIntegrityPolicyResponseComputeV1 shieldedInstanceIntegrityPolicy,
  38. required String sourceMachineImage,
  39. required CustomerEncryptionKeyResponseComputeV1 sourceMachineImageEncryptionKey,
  40. required bool startRestricted,
  41. required String status,
  42. required String statusMessage,
  43. required TagsResponseComputeV1 tags,
  44. required String zone,
})

Creates a new GetInstanceComputeV1Result. advancedMachineFeatures Controls for advanced machine-related behavior features. canIpForward Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding . confidentialInstanceConfig Required. cpuPlatform The CPU platform used by this instance. creationTimestamp Creation timestamp in RFC3339 text format. deletionProtection Whether the resource should be protected against deletion. description An optional description of this resource. Provide this property when you create the resource. disks Array of disks associated with this instance. Persistent disks must be created before you can assign them. displayDevice Enables display device for the instance. fingerprint Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. guestAccelerators A list of the type and count of accelerator cards attached to the instance. hostname Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is INSTANCE_NAME.c.PROJECT_ID.internal when using the global DNS, and INSTANCE_NAME.ZONE.c.PROJECT_ID.internal when using zonal DNS. instanceEncryptionKey Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation. keyRevocationActionType KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. kind Type of the resource. Always compute#instance for instances. labelFingerprint A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. labels Labels to apply to this instance. These can be later modified by the setLabels method. lastStartTimestamp Last start timestamp in RFC3339 text format. lastStopTimestamp Last stop timestamp in RFC3339 text format. lastSuspendedTimestamp Last suspended timestamp in RFC3339 text format. machineType Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. metadata The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. minCpuPlatform Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". name The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. networkInterfaces An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. networkPerformanceConfig Required. params Input only. Input Only Additional params passed with the request, but not persisted as part of resource payload. privateIpv6GoogleAccess The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. reservationAffinity Specifies the reservations that this instance can consume from. resourcePolicies Resource policies applied to this instance. resourceStatus Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field. satisfiesPzs Reserved for future use. scheduling Sets the scheduling options for this instance. selfLink Server-defined URL for this resource. serviceAccounts A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. shieldedInstanceConfig Required. shieldedInstanceIntegrityPolicy Required. sourceMachineImage Source machine image sourceMachineImageEncryptionKey Source machine image encryption key when creating an instance from a machine image. startRestricted Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. status The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. statusMessage An optional, human-readable explanation of the status. tags Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. zone URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Implementation

const GetInstanceComputeV1Result({
  required this.advancedMachineFeatures,
  required this.canIpForward,
  required this.confidentialInstanceConfig,
  required this.cpuPlatform,
  required this.creationTimestamp,
  required this.deletionProtection,
  required this.description,
  required this.disks,
  required this.displayDevice,
  required this.fingerprint,
  required this.guestAccelerators,
  required this.hostname,
  required this.instanceEncryptionKey,
  required this.keyRevocationActionType,
  required this.kind,
  required this.labelFingerprint,
  required this.labels,
  required this.lastStartTimestamp,
  required this.lastStopTimestamp,
  required this.lastSuspendedTimestamp,
  required this.machineType,
  required this.metadata,
  required this.minCpuPlatform,
  required this.name,
  required this.networkInterfaces,
  required this.networkPerformanceConfig,
  required this.params,
  required this.privateIpv6GoogleAccess,
  required this.reservationAffinity,
  required this.resourcePolicies,
  required this.resourceStatus,
  required this.satisfiesPzs,
  required this.scheduling,
  required this.selfLink,
  required this.serviceAccounts,
  required this.shieldedInstanceConfig,
  required this.shieldedInstanceIntegrityPolicy,
  required this.sourceMachineImage,
  required this.sourceMachineImageEncryptionKey,
  required this.startRestricted,
  required this.status,
  required this.statusMessage,
  required this.tags,
  required this.zone,
});