View Source GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Binding (google_api_security_center v0.29.0)

Represents a Kubernetes RoleBinding or ClusterRoleBinding.

Attributes

  • name (type: String.t, default: nil) - Name for the binding.
  • ns (type: String.t, default: nil) - Namespace for the binding.
  • role (type: GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Role.t, default: nil) - The Role or ClusterRole referenced by the binding.
  • subjects (type: list(GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Subject.t), default: nil) - Represents one or more subjects that are bound to the role. Not always available for PATCH requests.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Binding{
  name: String.t() | nil,
  ns: String.t() | nil,
  role:
    GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Role.t() | nil,
  subjects:
    [GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Subject.t()]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.