Method: mcpPolicies.get

Get the MCP consumer policy of a resource.

HTTP request

GET https://serviceusage.googleapis.com/v2beta/{name=*/*/mcpPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the MCP consumer policy to retrieve. Format: projects/100/mcpPolicies/default, folders/101/mcpPolicies/default, organizations/102/mcpPolicies/default.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.