GoogleApi.BinaryAuthorization.V1.Model.PlatformPolicy (google_api_binary_authorization v0.18.0)

View Source

A Binary Authorization platform policy for deployments on various platforms.

Attributes

  • description (type: String.t, default: nil) - Optional. A description comment about the policy.
  • etag (type: String.t, default: nil) - Optional. Used to prevent updating the policy when another request has updated it since it was retrieved.
  • gkePolicy (type: GoogleApi.BinaryAuthorization.V1.Model.GkePolicy.t, default: nil) - Optional. GKE platform-specific policy.
  • name (type: String.t, default: nil) - Output only. The relative resource name of the Binary Authorization platform policy, in the form of projects/*/platforms/*/policies/*.
  • updateTime (type: DateTime.t, default: nil) - Output only. Time when the policy was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.BinaryAuthorization.V1.Model.PlatformPolicy{
  description: String.t() | nil,
  etag: String.t() | nil,
  gkePolicy: GoogleApi.BinaryAuthorization.V1.Model.GkePolicy.t() | nil,
  name: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.