Resource: McpPolicy
MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.
| JSON representation |
|---|
{
"name": string,
"etag": string,
"createTime": string,
"updateTime": string,
"mcpEnableRules": [
{
object ( |
| Fields | |
|---|---|
name |
Output only. The resource name of the policy. Only the |
etag |
An opaque tag indicating the current version of the policy, used for concurrency control. |
createTime |
Output only. The time the policy was created. For singleton policies (such as the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time the policy was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
mcpEnableRules[] |
McpEnableRules contains MCP enablement related rules. |
McpEnableRule
McpEnableRule contains MCP enablement related rules.
| JSON representation |
|---|
{
"mcpServices": [
{
object ( |
| Fields | |
|---|---|
mcpServices[] |
List of enabled MCP services. |
McpService
McpService contains the service names that are enabled for MCP.
| JSON representation |
|---|
{ "service": string } |
| Fields | |
|---|---|
service |
The names of the services that are enabled for MCP. Example: |
Methods |
|
|---|---|
|
Get the MCP consumer policy of a resource. |
|
Update the MCP consumer policy of a resource. |