REST Resource: consumerPolicies

Resource: ConsumerPolicy

Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "etag" 
 : 
 string 
 , 
 "createTime" 
 : 
 string 
 , 
 "updateTime" 
 : 
 string 
 , 
 "enableRules" 
 : 
 [ 
 { 
 object (  EnableRule 
 
) 
 } 
 ] 
 } 
Fields
name

string

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 .

etag

string

An opaque tag indicating the current version of the policy, used for concurrency control.

createTime

string ( Timestamp format)

Output only. The time the policy was created. For singleton policies, this is the first touch of the policy.

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: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

updateTime

string ( Timestamp format)

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: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

enableRules[]

object ( EnableRule )

Enable rules define usable services, groups, and categories. There can currently be at most one EnableRule . This restriction will be lifted in later releases.

Methods

analyze

Analyze a consumer policy change without kicking off the actual update.

get

Get the consumer policy of a resource.

patch

Update the consumer policy of a resource.
Create a Mobile Website
View Site in Mobile | Classic
Share by: