GoogleApi.ServiceUsage.V1.Model.ConsumerPolicy (google_api_service_usage v0.27.0)
View SourceConsumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.
Attributes
-
annotations
(type:map()
, default:nil
) - 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 -
enableRules
(type:list(GoogleApi.ServiceUsage.V1.Model.EnableRule.t)
, default:nil
) - Enable rules define usable services and service groups. -
etag
(type:String.t
, default:nil
) - An opaque tag indicating the current version of the policy, used for concurrency control. -
name
(type:String.t
, default:nil
) - Output only. The resource name of the policy. We only allow consumer policy name asdefault
for now:projects/12345/consumerPolicies/default
,folders/12345/consumerPolicies/default
,organizations/12345/consumerPolicies/default
. -
updateTime
(type:DateTime.t
, default:nil
) - The last-modified time.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ServiceUsage.V1.Model.ConsumerPolicy{ annotations: map() | nil, enableRules: [GoogleApi.ServiceUsage.V1.Model.EnableRule.t()] | nil, etag: String.t() | nil, name: String.t() | nil, updateTime: DateTime.t() | nil }