> ## 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 Security

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

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

Previewv3.1.0[See changelog](https://docs.stackone.com/connectors/googlecloudsecurity/changelog.md)

[71 actions](#actions) · 3 auth methods

IAM
Security

## 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/googlecloudsecurity/guides/connector-profile/oauth-2-0.md)
>
> Use this if everyone connecting works at your company. An admin sets the GCP Project ID once on the connector profile, a...

> [card] [OAuth 2.0 (Multiple Companies) · Connector Profile](https://docs.stackone.com/connectors/googlecloudsecurity/guides/connector-profile/oauth-2-0-multiple-companies.md)
>
> Use this if you connect accounts from different companies, such as your customers. Each account enters its own GCP Proje...

> [card] [Service Account · Connector Profile](https://docs.stackone.com/connectors/googlecloudsecurity/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/googlecloudsecurity/guides/link-account/oauth-2-0.md)

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

> [card] [Service Account · Link Account](https://docs.stackone.com/connectors/googlecloudsecurity/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

OAuth 2.0 (Multiple Companies)

Service Account

No auth methods found

Scopes

Select all
|
Clear

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

No scopes found

71 actions

ActionDescriptionRequired scopes

List Deny Policies`googlecloudsecurity_list_deny_policies`

List the IAM deny policies attached to a project

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

Get Deny Policy`googlecloudsecurity_get_deny_policy`

Get an IAM deny policy attached to a project

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

Create Deny Policy`googlecloudsecurity_create_deny_policy`

Create an IAM deny policy on a project

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

Update Deny Policy`googlecloudsecurity_update_deny_policy`

Replace the rules and display name of an IAM deny policy

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

Delete Deny Policy`googlecloudsecurity_delete_deny_policy`

Delete an IAM deny policy from a project

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

Get Deny Policy Status`googlecloudsecurity_get_deny_policy_status`

Check whether a deny policy create, update or delete has finished

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

List Folders`googlecloudsecurity_list_folders`

List folders under a parent resource

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

Get Folder`googlecloudsecurity_get_folder`

Get details of a specific folder

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

Search Folders`googlecloudsecurity_search_folders`

Search for folders using a query

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

Create Folder`googlecloudsecurity_create_folder`

Create a new folder

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

Update Folder`googlecloudsecurity_update_folder`

Update a folder

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

Delete Folder`googlecloudsecurity_delete_folder`

Delete a folder

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

Get Project IAM Policy`googlecloudsecurity_get_project_iam_policy`

Get the IAM policy for a project

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

Set Project IAM Policy`googlecloudsecurity_set_project_iam_policy`

Set the IAM policy for a project

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

Test Project IAM Permissions`googlecloudsecurity_test_project_iam_permissions`

Test which IAM permissions the caller has on a project

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

Get Operation`googlecloudsecurity_get_operation`

Check whether a Resource Manager long-running operation has finished

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

Get Organization`googlecloudsecurity_get_organization`

Get details of a specific organization

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

Search Organizations`googlecloudsecurity_search_organizations`

Search for GCP organizations

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

List Projects`googlecloudsecurity_list_projects`

List GCP projects under a parent organization or folder

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

Get Project`googlecloudsecurity_get_project`

Get details of a specific GCP project

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

Search Projects`googlecloudsecurity_search_projects`

Search for GCP projects using a query

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

Create Project`googlecloudsecurity_create_project`

Create a new GCP project

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

Update Project`googlecloudsecurity_update_project`

Update a GCP project

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

Delete Project`googlecloudsecurity_delete_project`

Delete a GCP project

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

List Predefined Roles`googlecloudsecurity_list_predefined_roles`

List all predefined IAM roles

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

List Project Roles`googlecloudsecurity_list_project_roles`

List all custom roles in a project

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

Get Role`googlecloudsecurity_get_role`

Get details of a specific IAM role

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

Create Project Role`googlecloudsecurity_create_project_role`

Create a custom IAM role in a project

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

Update Project Role`googlecloudsecurity_update_project_role`

Update a custom IAM role in a project

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

Delete Project Role`googlecloudsecurity_delete_project_role`

Delete a custom IAM role from a project

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

Undelete Project Role`googlecloudsecurity_undelete_project_role`

Restore a recently deleted custom IAM role

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

List Service Account Keys`googlecloudsecurity_list_service_account_keys`

List all keys for a service account

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

Get Service Account Key`googlecloudsecurity_get_service_account_key`

Get details of a specific service account key

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

Create Service Account Key`googlecloudsecurity_create_service_account_key`

Create a new key for a service account

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

Disable Service Account Key`googlecloudsecurity_disable_service_account_key`

Disable a service account key

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

Enable Service Account Key`googlecloudsecurity_enable_service_account_key`

Enable a previously disabled service account key

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

Delete Service Account Key`googlecloudsecurity_delete_service_account_key`

Permanently delete a service account key

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

List Secret Versions`googlecloudsecurity_list_secret_versions`

List all versions of a secret

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

Get Secret Version`googlecloudsecurity_get_secret_version`

Get metadata of a specific secret version

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

Access Secret Version`googlecloudsecurity_access_secret_version`

Access the payload of a secret version

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

Add Secret Version`googlecloudsecurity_add_secret_version`

Add a new version with secret data

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

Enable Secret Version`googlecloudsecurity_enable_secret_version`

Enable a previously disabled secret version

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

Disable Secret Version`googlecloudsecurity_disable_secret_version`

Disable a secret version

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

Destroy Secret Version`googlecloudsecurity_destroy_secret_version`

Permanently destroy a secret version

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

List Secrets`googlecloudsecurity_list_secrets`

List all secrets in a project

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

Get Secret`googlecloudsecurity_get_secret`

Get metadata of a specific secret

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

Create Secret`googlecloudsecurity_create_secret`

Create a new secret in a project

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

Update Secret`googlecloudsecurity_update_secret`

Update metadata of an existing secret

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

Delete Secret`googlecloudsecurity_delete_secret`

Permanently delete a secret and all its versions

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

Get Secret IAM Policy`googlecloudsecurity_get_secret_iam_policy`

Get the IAM policy for a secret

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

Set Secret IAM Policy`googlecloudsecurity_set_secret_iam_policy`

Set the IAM policy for a secret

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

List Service Accounts`googlecloudsecurity_list_service_accounts`

List all service accounts in a project

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

Get Service Account`googlecloudsecurity_get_service_account`

Get details of a specific service account

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

Create Service Account`googlecloudsecurity_create_service_account`

Create a new service account in a project

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

Update Service Account`googlecloudsecurity_update_service_account`

Update the metadata of an existing service account

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

Disable Service Account`googlecloudsecurity_disable_service_account`

Disable a service account immediately

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

Enable Service Account`googlecloudsecurity_enable_service_account`

Enable a previously disabled service account

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

Delete Service Account`googlecloudsecurity_delete_service_account`

Delete a service account from a project

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

Undelete Service Account`googlecloudsecurity_undelete_service_account`

Restore a recently deleted service account

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

List Tag Keys`googlecloudsecurity_list_tag_keys`

List tag keys under a parent resource

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

Get Tag Key`googlecloudsecurity_get_tag_key`

Get details of a specific tag key

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

List Tag Values`googlecloudsecurity_list_tag_values`

List tag values under a tag key

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

Get Tag Value`googlecloudsecurity_get_tag_value`

Get details of a specific tag value

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

Get Namespaced Tag Key`googlecloudsecurity_get_namespaced_tag_key`

Get a tag key by its namespaced name

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

Create Tag Key`googlecloudsecurity_create_tag_key`

Create a tag key under a project or organization

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

Update Tag Key`googlecloudsecurity_update_tag_key`

Update the description of a tag key

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

Delete Tag Key`googlecloudsecurity_delete_tag_key`

Delete a tag key that has no tag values

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

Get Namespaced Tag Value`googlecloudsecurity_get_namespaced_tag_value`

Get a tag value by its namespaced name

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

Create Tag Value`googlecloudsecurity_create_tag_value`

Create a tag value under a tag key

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

Update Tag Value`googlecloudsecurity_update_tag_value`

Update the description of a tag value

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

Delete Tag Value`googlecloudsecurity_delete_tag_value`

Delete a tag value that isn't bound to any resource

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


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