View Source GoogleApi.Compute.V1.Model.GlobalSetPolicyRequest (google_api_compute v0.56.2)

Attributes

  • bindings (type: list(GoogleApi.Compute.V1.Model.Binding.t), default: nil) - Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
  • etag (type: String.t, default: nil) - Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
  • policy (type: GoogleApi.Compute.V1.Model.Policy.t, default: nil) - REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.GlobalSetPolicyRequest{
  bindings: [GoogleApi.Compute.V1.Model.Binding.t()] | nil,
  etag: String.t() | nil,
  policy: GoogleApi.Compute.V1.Model.Policy.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.