Class GoogleApiServiceusageV2betaConsumerPolicy
Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.
Implements
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1.Data
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class GoogleApiServiceusageV2betaConsumerPolicy : IDirectResponseSchema
Properties
Annotations
Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. AIP-128
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
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, this is the first touch of the policy.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. 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 |
EnableRules
Enable rules define usable services, groups, and categories. There can currently be at most one
EnableRule
. This restriction will be lifted in later releases.
Declaration
[JsonProperty("enableRules")]
public virtual IList<GoogleApiServiceusageV2betaEnableRule> EnableRules { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleApiServiceusageV2betaEnableRule> |
Name
Output only. The resource name of the policy. Only the default
policy is supported:
projects/12345/consumerPolicies/default
, folders/12345/consumerPolicies/default
,
organizations/12345/consumerPolicies/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 |