Method: organizations.locations.cloudControls.get

Gets details about a cloud control. This method retrieves the latest major version of a cloud control that you identify by name.

By default, the latest major version of the cloud control is returned. To retrieve a specific major version, include majorRevisionId in the request.

HTTP request

GET https://cloudsecuritycompliance.googleapis.com/v1/{name=organizations/*/locations/*/cloudControls/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the cloud control to retrieve, in the format organizations/{organization}/locations/{location}/cloudControls/{cloudControl}. The only supported location is global.

Query parameters

Parameters
majorRevisionId

string (int64 format)

Optional. The major version of the cloud control to retrieve. If not specified, the most recently updated revision_id is retrieved.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CloudControl.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • cloudsecuritycompliance.cloudControls.get

For more information, see the IAM documentation.