GoogleApi.AccessContextManager.V1.Model.IngressFrom (google_api_access_context_manager v0.28.0)

View Source

Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in sources AND identity related fields in order to match.

Attributes

  • identities (type: list(String.t), default: nil) - A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The v1 identities that have the prefix user, group, serviceAccount, and principal in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
  • identityType (type: String.t, default: nil) - Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access.
  • sources (type: list(GoogleApi.AccessContextManager.V1.Model.IngressSource.t), default: nil) - Sources that this IngressPolicy authorizes access from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AccessContextManager.V1.Model.IngressFrom{
  identities: [String.t()] | nil,
  identityType: String.t() | nil,
  sources: [GoogleApi.AccessContextManager.V1.Model.IngressSource.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.