View Source GoogleApi.AccessContextManager.V1.Model.EgressFrom (google_api_access_context_manager v0.25.0)
Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.
Attributes
-
identities(type:list(String.t), default:nil) - A list of identities that are allowed access through [EgressPolicy]. 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. Thev1identities that have the prefixuser,group,serviceAccount, andprincipalin 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 to outside the perimeter. If left unspecified, then members ofidentitiesfield will be allowed access. -
sourceRestriction(type:String.t, default:nil) - Whether to enforce traffic restrictions based onsourcesfield. If thesourcesfields is non-empty, then this field must be set toSOURCE_RESTRICTION_ENABLED. -
sources(type:list(GoogleApi.AccessContextManager.V1.Model.EgressSource.t), default:nil) - Sources that this EgressPolicy authorizes access from. If this field is not empty, thensource_restrictionmust be set toSOURCE_RESTRICTION_ENABLED.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AccessContextManager.V1.Model.EgressFrom{ identities: [String.t()] | nil, identityType: String.t() | nil, sourceRestriction: String.t() | nil, sources: [GoogleApi.AccessContextManager.V1.Model.EgressSource.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.