View Source GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV2alphaConsumerPolicy (google_api_service_usage v0.19.0)

Consumer 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
  • createTime (type: DateTime.t, default: nil) - Output only. The time the policy was created. For singleton policies, this is the first touch of the policy.
  • enableRules (type: list(GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV2alphaEnableRule.t), default: nil) - Enable rules define usable services, groups, and categories. There can currently be at most one EnableRule. This restriction will be lifted in later releases.
  • etag (type: String.t, default: nil) - Output only. 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. Only the default policy is supported: projects/12345/consumerPolicies/default, folders/12345/consumerPolicies/default, organizations/12345/consumerPolicies/default.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time the policy was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV2alphaConsumerPolicy{
    annotations: map() | nil,
    createTime: DateTime.t() | nil,
    enableRules:
      [
        GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV2alphaEnableRule.t()
      ]
      | nil,
    etag: String.t() | nil,
    name: String.t() | nil,
    updateTime: DateTime.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.