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 (
|
| 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, 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: |
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: |
enableRules[]
|
Enable rules define usable services, groups, and categories. There can currently be at most one |
Methods |
|
|---|---|
|
Analyze a consumer policy change without kicking off the actual update. |
|
Get the consumer policy of a resource. |
|
Update the consumer policy of a resource. |

