GetInstanceComputeBetaResult class
Result data returned by getInstance.
Constructors
-
GetInstanceComputeBetaResult({required AdvancedMachineFeaturesResponseComputeBeta advancedMachineFeatures, required bool canIpForward, required ConfidentialInstanceConfigResponseComputeBeta confidentialInstanceConfig, required String cpuPlatform, required String creationTimestamp, required bool deletionProtection, required String description, required List<
AttachedDiskResponseComputeBeta> disks, required DisplayDeviceResponseComputeBeta displayDevice, required bool eraseWindowsVssSignature, required String fingerprint, required List<AcceleratorConfigResponseComputeBeta> guestAccelerators, required String hostname, required CustomerEncryptionKeyResponseComputeBeta instanceEncryptionKey, required String keyRevocationActionType, required String kind, required String labelFingerprint, required Map<String, String> labels, required String lastStartTimestamp, required String lastStopTimestamp, required String lastSuspendedTimestamp, required String machineType, required MetadataResponseComputeBeta metadata, required String minCpuPlatform, required String name, required List<NetworkInterfaceResponseComputeBeta> networkInterfaces, required NetworkPerformanceConfigResponseComputeBeta networkPerformanceConfig, required InstanceParamsResponseComputeBeta params, required String postKeyRevocationActionType, required String privateIpv6GoogleAccess, required ReservationAffinityResponseComputeBeta reservationAffinity, required List<String> resourcePolicies, required ResourceStatusResponseComputeBeta resourceStatus, required bool satisfiesPzs, required SchedulingResponseComputeBeta scheduling, required String selfLink, required List<ServiceAccountResponseComputeBeta> serviceAccounts, required ShieldedInstanceConfigResponseComputeBeta shieldedInstanceConfig, required ShieldedInstanceIntegrityPolicyResponseComputeBeta shieldedInstanceIntegrityPolicy, required ShieldedVmConfigResponseComputeBeta shieldedVmConfig, required ShieldedVmIntegrityPolicyResponseComputeBeta shieldedVmIntegrityPolicy, required String sourceMachineImage, required CustomerEncryptionKeyResponseComputeBeta sourceMachineImageEncryptionKey, required bool startRestricted, required String status, required String statusMessage, required TagsResponseComputeBeta tags, required String zone}) -
Creates a new GetInstanceComputeBetaResult.
advancedMachineFeaturesControls for advanced machine-related behavior features.canIpForwardAllows 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 .confidentialInstanceConfigRequired.cpuPlatformThe CPU platform used by this instance.creationTimestampCreation timestamp in RFC3339 text format.deletionProtectionWhether the resource should be protected against deletion.descriptionAn optional description of this resource. Provide this property when you create the resource.disksArray of disks associated with this instance. Persistent disks must be created before you can assign them.displayDeviceEnables display device for the instance.eraseWindowsVssSignatureSpecifies whether the disks restored from source snapshots or source machine image should erase Windows specific VSS signature.fingerprintSpecifies 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.guestAcceleratorsA list of the type and count of accelerator cards attached to the instance.hostnameSpecifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname isINSTANCE_NAME.c.PROJECT_ID.internal when using the global DNS, andINSTANCE_NAME.ZONE.c.PROJECT_ID.internal when using zonal DNS.instanceEncryptionKeyEncrypts 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.keyRevocationActionTypeKeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.kindType of the resource. Always compute#instance for instances.labelFingerprintA 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.labelsLabels to apply to this instance. These can be later modified by the setLabels method.lastStartTimestampLast start timestamp in RFC3339 text format.lastStopTimestampLast stop timestamp in RFC3339 text format.lastSuspendedTimestampLast suspended timestamp in RFC3339 text format.machineTypeFull 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.metadataThe metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.minCpuPlatformSpecifies 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".nameThe 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.networkInterfacesAn 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.networkPerformanceConfigRequired.paramsInput only.Input OnlyAdditional params passed with the request, but not persisted as part of resource payload.postKeyRevocationActionTypePostKeyRevocationActionType of the instance.privateIpv6GoogleAccessThe private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.reservationAffinitySpecifies the reservations that this instance can consume from.resourcePoliciesResource policies applied to this instance.resourceStatusSpecifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.satisfiesPzsReserved for future use.schedulingSets the scheduling options for this instance.selfLinkServer-defined URL for this resource.serviceAccountsA 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.shieldedInstanceConfigRequired.shieldedInstanceIntegrityPolicyRequired.shieldedVmConfigDeprecating, please use shielded_instance_config.shieldedVmIntegrityPolicyDeprecating, please use shielded_instance_integrity_policy.sourceMachineImageSource machine imagesourceMachineImageEncryptionKeySource machine image encryption key when creating an instance from a machine image.startRestrictedWhether a VM has been restricted for start because Compute Engine has detected suspicious activity.statusThe 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.statusMessageAn optional, human-readable explanation of the status.tagsTags 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.zoneURL 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.const -
GetInstanceComputeBetaResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- advancedMachineFeatures → AdvancedMachineFeaturesResponseComputeBeta
-
Controls for advanced machine-related behavior features.
final
- canIpForward → bool
-
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 .
final
- confidentialInstanceConfig → ConfidentialInstanceConfigResponseComputeBeta
-
final
- cpuPlatform → String
-
The CPU platform used by this instance.
final
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- deletionProtection → bool
-
Whether the resource should be protected against deletion.
final
- description → String
-
An optional description of this resource. Provide this property when you create the resource.
final
-
disks
→ List<
AttachedDiskResponseComputeBeta> -
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
final
- displayDevice → DisplayDeviceResponseComputeBeta
-
Enables display device for the instance.
final
- eraseWindowsVssSignature → bool
-
Specifies whether the disks restored from source snapshots or source machine image should erase Windows specific VSS signature.
final
- fingerprint → String
-
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.
final
-
guestAccelerators
→ List<
AcceleratorConfigResponseComputeBeta> -
A list of the type and count of accelerator cards attached to the instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostname → String
-
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, andINSTANCE_NAME.ZONE.c.PROJECT_ID.internal when using zonal DNS.final - instanceEncryptionKey → CustomerEncryptionKeyResponseComputeBeta
-
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.
final
- keyRevocationActionType → String
-
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
final
- kind → String
-
Type of the resource. Always compute#instance for instances.
final
- labelFingerprint → String
-
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.
final
-
labels
→ Map<
String, String> -
Labels to apply to this instance. These can be later modified by the setLabels method.
final
- lastStartTimestamp → String
-
Last start timestamp in RFC3339 text format.
final
- lastStopTimestamp → String
-
Last stop timestamp in RFC3339 text format.
final
- lastSuspendedTimestamp → String
-
Last suspended timestamp in RFC3339 text format.
final
- machineType → String
-
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.
final
- metadata → MetadataResponseComputeBeta
-
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
final
- minCpuPlatform → String
-
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".
final
- name → String
-
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.final -
networkInterfaces
→ List<
NetworkInterfaceResponseComputeBeta> -
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.
final
- networkPerformanceConfig → NetworkPerformanceConfigResponseComputeBeta
-
final
- params → InstanceParamsResponseComputeBeta
-
Input only.
Input OnlyAdditional params passed with the request, but not persisted as part of resource payload.final - postKeyRevocationActionType → String
-
PostKeyRevocationActionType of the instance.
final
- privateIpv6GoogleAccess → String
-
The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
final
- reservationAffinity → ReservationAffinityResponseComputeBeta
-
Specifies the reservations that this instance can consume from.
final
-
resourcePolicies
→ List<
String> -
Resource policies applied to this instance.
final
- resourceStatus → ResourceStatusResponseComputeBeta
-
Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs → bool
-
Reserved for future use.
final
- scheduling → SchedulingResponseComputeBeta
-
Sets the scheduling options for this instance.
final
- selfLink → String
-
Server-defined URL for this resource.
final
-
serviceAccounts
→ List<
ServiceAccountResponseComputeBeta> -
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.
final
- shieldedInstanceConfig → ShieldedInstanceConfigResponseComputeBeta
-
final
- shieldedInstanceIntegrityPolicy → ShieldedInstanceIntegrityPolicyResponseComputeBeta
-
final
- shieldedVmConfig → ShieldedVmConfigResponseComputeBeta
-
Deprecating, please use shielded_instance_config.
final
- shieldedVmIntegrityPolicy → ShieldedVmIntegrityPolicyResponseComputeBeta
-
Deprecating, please use shielded_instance_integrity_policy.
final
- sourceMachineImage → String
-
Source machine image
final
- sourceMachineImageEncryptionKey → CustomerEncryptionKeyResponseComputeBeta
-
Source machine image encryption key when creating an instance from a machine image.
final
- startRestricted → bool
-
Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
final
- status → String
-
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.
final
- statusMessage → String
-
An optional, human-readable explanation of the status.
final
-
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.
final
- zone → String
-
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.
final
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