Class McpPolicy
MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.
Implements
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1.Data
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class McpPolicy : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time the policy was created. For singleton policies (such as the default policy), this is
the first touch of the policy.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
An opaque tag indicating the current version of the policy, used for concurrency control.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
McpEnableRules
McpEnableRules contains MCP enablement related rules.
Declaration
[JsonProperty("mcpEnableRules")]
public virtual IList<McpEnableRule> McpEnableRules { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<McpEnableRule> |
Name
Output only. The resource name of the policy. Only the default policy is supported. We allow the following
formats: projects/{PROJECT_NUMBER}/mcpPolicies/default, projects/{PROJECT_ID}/mcpPolicies/default,
folders/{FOLDER_ID}/mcpPolicies/default, organizations/{ORG_ID}/mcpPolicies/default.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time the policy was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |