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

# Google Cloud Compute

> How to set up the Google Cloud Compute connector, plus the actions that are available.

![Google Cloud Compute](https://stackone-logos.com/api/google/filled/svg)

Previewv2.1.1[See changelog](https://docs.stackone.com/connectors/googlecloudcompute/changelog.md)

[64 actions](#actions) · 2 auth methods

Infrastructure
Internal

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 · Connector Profile](https://docs.stackone.com/connectors/googlecloudcompute/guides/connector-profile/oauth-2-0.md)
>
> Requires Owner or Compute Admin role on the target GCP project. Subject to Google Cloud session control — Google Workspa...

> [card] [Service Account · Connector Profile](https://docs.stackone.com/connectors/googlecloudcompute/guides/connector-profile/service-account.md)
>
> Uses a Google Cloud service account's JSON key instead of a user sign-in. Access is limited to the roles granted to that...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 · Link Account](https://docs.stackone.com/connectors/googlecloudcompute/guides/link-account/oauth-2-0.md)

> [card] [Service Account · Link Account](https://docs.stackone.com/connectors/googlecloudcompute/guides/link-account/service-account.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

OAuth 2.0

Service Account

No auth methods found

Scopes

Select all
|
Clear

https\://​www\.googleapis.com/auth/cloud-platform

https\://​www\.googleapis.com/auth/compute

https\://​www\.googleapis.com/auth/compute.readonly

https\://​www\.googleapis.com/auth/run.readonly

No scopes found

64 actions

ActionDescriptionRequired scopes

List Artifact Repositories`googlecloudcompute_list_artifact_repositories`

List Artifact Registry repositories in a specific location

`https://​www.googleapis.com/auth/cloud-platform`

Get Artifact Repository`googlecloudcompute_get_artifact_repository`

Get details of a specific Artifact Registry repository

`https://​www.googleapis.com/auth/cloud-platform`

List Artifact Packages`googlecloudcompute_list_artifact_packages`

List packages in an Artifact Registry repository

`https://​www.googleapis.com/auth/cloud-platform`

Get Artifact Package`googlecloudcompute_get_artifact_package`

Get details of a specific package in Artifact Registry

`https://​www.googleapis.com/auth/cloud-platform`

List Artifact Docker Images`googlecloudcompute_list_artifact_docker_images`

List Docker images in an Artifact Registry repository

`https://​www.googleapis.com/auth/cloud-platform`

Get Artifact Docker Image`googlecloudcompute_get_artifact_docker_image`

Get details of a specific Docker image in Artifact Registry

`https://​www.googleapis.com/auth/cloud-platform`

List Artifact Versions`googlecloudcompute_list_artifact_versions`

List versions of a package in Artifact Registry

`https://​www.googleapis.com/auth/cloud-platform`

Create Artifact Repository`googlecloudcompute_create_artifact_repository`

Create an Artifact Registry repository in a location

`https://​www.googleapis.com/auth/cloud-platform`

Delete Artifact Repository`googlecloudcompute_delete_artifact_repository`

Delete an Artifact Registry repository

`https://​www.googleapis.com/auth/cloud-platform`

List Cloud Functions`googlecloudcompute_list_cloud_functions`

List Cloud Functions in a specific location

`https://​www.googleapis.com/auth/cloud-platform`

Get Cloud Function`googlecloudcompute_get_cloud_function`

Get details of a specific Cloud Function

`https://​www.googleapis.com/auth/cloud-platform`

Delete Cloud Function`googlecloudcompute_delete_cloud_function`

Delete a Cloud Function

`https://​www.googleapis.com/auth/cloud-platform`

Create Cloud Function`googlecloudcompute_create_cloud_function`

Create a Cloud Function in a location

`https://​www.googleapis.com/auth/cloud-platform`

Patch Cloud Function`googlecloudcompute_patch_cloud_function`

Update a Cloud Function

`https://​www.googleapis.com/auth/cloud-platform`

List Cloud Run Services`googlecloudcompute_list_cloudrun_services`

List Cloud Run services in a specific location

`https://​www.googleapis.com/auth/run.readonly`

Get Cloud Run Service`googlecloudcompute_get_cloudrun_service`

Get details of a specific Cloud Run service

`https://​www.googleapis.com/auth/run.readonly`

Delete Cloud Run Service`googlecloudcompute_delete_cloudrun_service`

Delete a Cloud Run service

`https://​www.googleapis.com/auth/cloud-platform`

List Cloud Run Revisions`googlecloudcompute_list_cloudrun_revisions`

List revisions of a Cloud Run service

`https://​www.googleapis.com/auth/run.readonly`

Get Cloud Run Revision`googlecloudcompute_get_cloudrun_revision`

Get details of a specific Cloud Run revision

`https://​www.googleapis.com/auth/run.readonly`

List Cloud Run Jobs`googlecloudcompute_list_cloudrun_jobs`

List Cloud Run jobs in a specific location

`https://​www.googleapis.com/auth/run.readonly`

Get Cloud Run Job`googlecloudcompute_get_cloudrun_job`

Get details of a specific Cloud Run job

`https://​www.googleapis.com/auth/run.readonly`

List Cloud Run Job Executions`googlecloudcompute_list_cloudrun_job_executions`

List executions of a Cloud Run job

`https://​www.googleapis.com/auth/run.readonly`

Get Cloud Run Job Execution`googlecloudcompute_get_cloudrun_job_execution`

Get details of a specific Cloud Run job execution

`https://​www.googleapis.com/auth/run.readonly`

Create Cloud Run Service`googlecloudcompute_create_cloudrun_service`

Create a Cloud Run service in a location

`https://​www.googleapis.com/auth/cloud-platform`

Patch Cloud Run Service`googlecloudcompute_patch_cloudrun_service`

Update a Cloud Run service

`https://​www.googleapis.com/auth/cloud-platform`

Run Cloud Run Job`googlecloudcompute_run_cloudrun_job`

Start an execution of a Cloud Run job

`https://​www.googleapis.com/auth/cloud-platform`

Create Cloud Run Job`googlecloudcompute_create_cloudrun_job`

Create a Cloud Run job in a location

`https://​www.googleapis.com/auth/cloud-platform`

List Disks`googlecloudcompute_list_disks`

List persistent disks in a specific zone

`https://​www.googleapis.com/auth/compute.readonly`

Get Disk`googlecloudcompute_get_disk`

Get details of a specific persistent disk

`https://​www.googleapis.com/auth/compute.readonly`

Create Disk Snapshot`googlecloudcompute_create_disk_snapshot`

Create a snapshot of a persistent disk

`https://​www.googleapis.com/auth/compute`

List Snapshots`googlecloudcompute_list_snapshots`

List persistent disk snapshots in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

Get Snapshot`googlecloudcompute_get_snapshot`

Get details of a specific snapshot

`https://​www.googleapis.com/auth/compute.readonly`

Insert Disk`googlecloudcompute_insert_disk`

Create a persistent disk in a zone

`https://​www.googleapis.com/auth/compute`

Delete Snapshot`googlecloudcompute_delete_snapshot`

Delete a snapshot

`https://​www.googleapis.com/auth/compute`

Delete Disk`googlecloudcompute_delete_disk`

Delete a persistent disk

`https://​www.googleapis.com/auth/compute`

List Images`googlecloudcompute_list_images`

List images in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

Get Image`googlecloudcompute_get_image`

Get details of a specific image

`https://​www.googleapis.com/auth/compute.readonly`

Insert Image`googlecloudcompute_insert_image`

Create a custom image in a GCP project

`https://​www.googleapis.com/auth/compute`

List Instance Groups`googlecloudcompute_list_instance_groups`

List instance groups in a specific zone

`https://​www.googleapis.com/auth/compute.readonly`

Get Instance Group`googlecloudcompute_get_instance_group`

Get details of a specific instance group

`https://​www.googleapis.com/auth/compute.readonly`

List Instance Group Instances`googlecloudcompute_list_instance_group_instances`

List instances in a specific instance group

`https://​www.googleapis.com/auth/compute.readonly`

List Managed Instance Groups`googlecloudcompute_list_managed_instance_groups`

List managed instance group managers in a specific zone

`https://​www.googleapis.com/auth/compute.readonly`

Get Managed Instance Group`googlecloudcompute_get_managed_instance_group`

Get details of a specific managed instance group manager

`https://​www.googleapis.com/auth/compute.readonly`

Resize Managed Instance Group`googlecloudcompute_resize_managed_instance_group`

Resize a managed instance group to the specified size

`https://​www.googleapis.com/auth/compute`

Insert Instance Group`googlecloudcompute_insert_instance_group`

Create an unmanaged instance group in a zone

`https://​www.googleapis.com/auth/compute`

Insert Managed Instance Group`googlecloudcompute_insert_managed_instance_group`

Create a managed instance group in a zone

`https://​www.googleapis.com/auth/compute`

Delete Instance Group`googlecloudcompute_delete_instance_group`

Delete an unmanaged instance group

`https://​www.googleapis.com/auth/compute`

Delete Managed Instance Group`googlecloudcompute_delete_managed_instance_group`

Delete a managed instance group and its instances

`https://​www.googleapis.com/auth/compute`

List Instances`googlecloudcompute_list_instances`

List VM instances in a specific zone

`https://​www.googleapis.com/auth/compute.readonly`

List Instances (Aggregated)`googlecloudcompute_list_instances_aggregated`

List VM instances across all zones in a project

`https://​www.googleapis.com/auth/compute.readonly`

Get Instance`googlecloudcompute_get_instance`

Get details of a specific VM instance

`https://​www.googleapis.com/auth/compute.readonly`

Start Instance`googlecloudcompute_start_instance`

Start a stopped VM instance

`https://​www.googleapis.com/auth/compute`

Stop Instance`googlecloudcompute_stop_instance`

Stop a running VM instance

`https://​www.googleapis.com/auth/compute`

Reset Instance`googlecloudcompute_reset_instance`

Reset a VM instance (hard reset)

`https://​www.googleapis.com/auth/compute`

Suspend Instance`googlecloudcompute_suspend_instance`

Suspend a running VM instance

`https://​www.googleapis.com/auth/compute`

Resume Instance`googlecloudcompute_resume_instance`

Resume a suspended VM instance

`https://​www.googleapis.com/auth/compute`

Delete Instance`googlecloudcompute_delete_instance`

Delete a VM instance

`https://​www.googleapis.com/auth/compute`

Insert Instance`googlecloudcompute_insert_instance`

Create a VM instance in a zone

`https://​www.googleapis.com/auth/compute`

Test Auth`googlecloudcompute_test_auth_googlecloudcompute`

Verify Google Cloud Compute credentials

`https://​www.googleapis.com/auth/compute.readonly`

List Compute Zones`googlecloudcompute_list_compute_zones`

List all available zones in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

List Compute Regions`googlecloudcompute_list_compute_regions`

List all available regions in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

Get Compute Zone`googlecloudcompute_get_compute_zone`

Get details of a specific zone in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

Get Compute Region`googlecloudcompute_get_compute_region`

Get details of a specific region in a GCP project

`https://​www.googleapis.com/auth/compute.readonly`

Get Zone Operation`googlecloudcompute_get_zone_operation`

Get the status of a zonal Compute Engine operation

`https://​www.googleapis.com/auth/compute.readonly`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.