> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Compute Instance

Returns the specified Instance resource. Gets a list of available instances by making a list() request.

<Note>
  External Documentation

  To learn more, visit the [GCP documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instances/get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                              |
  | --------- | ---------------------------------------- |
  | Instance  | Name of the instance resource to return. |
  | Project   | Project ID for this request.             |
  | Zone      | The name of the zone for this request.   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                        |
  | --------- | ------------------------------------------------------------------ |
  | Fields    | Selector specifying which fields to include in a partial response. |
</div>

## Example Output

```json theme={"dark"}
{
	"kind": "compute#instance",
	"id": "9167772395593820681",
	"creationTimestamp": "2022-12-29T09:56:54.771-08:00",
	"name": "test-instance",
	"description": "",
	"tags": {
		"fingerprint": "42WmSpB8rSM="
	},
	"machineType": "https://blinkops.com",
	"status": "RUNNING",
	"zone": "https://blinkops.com",
	"canIpForward": false,
	"networkInterfaces": [
		{
			"kind": "compute#networkInterface",
			"network": "https://blinkops.com",
			"subnetwork": "https://blinkops.com",
			"networkIP": "1.1.1.1",
			"name": "nic0",
			"accessConfigs": [
				{
					"kind": "compute#accessConfig",
					"type": "ONE_TO_ONE_NAT",
					"name": "External NAT",
					"natIP": "1.1.1.1",
					"networkTier": "PREMIUM"
				}
			],
			"fingerprint": "xkwN6FFa7Tw=",
			"stackType": "IPV4_ONLY"
		}
	],
	"disks": [
		{
			"kind": "compute#attachedDisk",
			"type": "PERSISTENT",
			"mode": "READ_WRITE",
			"source": "https://blinkops.com",
			"deviceName": "test-instance",
			"index": 0,
			"boot": true,
			"autoDelete": true,
			"licenses": [
				"https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-11-bullseye"
			],
			"interface": "SCSI",
			"guestOsFeatures": [
				{
					"type": "UEFI_COMPATIBLE"
				},
				{
					"type": "VIRTIO_SCSI_MULTIQUEUE"
				},
				{
					"type": "GVNIC"
				}
			],
			"diskSizeGb": "10",
			"architecture": "X86_64"
		}
	],
	"metadata": {
		"kind": "compute#metadata",
		"fingerprint": "5c6Q1lcqqGY="
	},
	"serviceAccounts": [
		{
			"email": "test@blinkops.com",
			"scopes": [
				"https://www.googleapis.com/auth/devstorage.read_only",
				"https://www.googleapis.com/auth/logging.write",
				"https://www.googleapis.com/auth/monitoring.write",
				"https://www.googleapis.com/auth/servicecontrol",
				"https://www.googleapis.com/auth/service.management.readonly",
				"https://www.googleapis.com/auth/trace.append"
			]
		}
	],
	"selfLink": "https://blinkops.com",
	"scheduling": {
		"onHostMaintenance": "MIGRATE",
		"automaticRestart": true,
		"preemptible": false,
		"provisioningModel": "STANDARD"
	},
	"cpuPlatform": "Intel Broadwell",
	"labelFingerprint": "42WmSpB8rSM=",
	"startRestricted": false,
	"deletionProtection": false,
	"reservationAffinity": {
		"consumeReservationType": "ANY_RESERVATION"
	},
	"displayDevice": {
		"enableDisplay": false
	},
	"shieldedInstanceConfig": {
		"enableSecureBoot": false,
		"enableVtpm": true,
		"enableIntegrityMonitoring": true
	},
	"shieldedInstanceIntegrityPolicy": {
		"updateAutoLearnPolicy": true
	},
	"confidentialInstanceConfig": {
		"enableConfidentialCompute": false
	},
	"fingerprint": "_tRWvOmUzR0=",
	"lastStartTimestamp": "2022-12-29T09:57:02.305-08:00",
	"keyRevocationActionType": "NONE"
}
```

## Workflow Library Example

[Get Compute Instance with Gcp and Send Results Via Email](https://library.blinkops.com/workflows/get-compute-instance-with-gcp-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-compute-instance-with-gcp-and-send-results-via-email/canvas" />
</div>
