View Source GoogleApi.SASPortal.V1alpha1.Model.SasPortalPolicy (google_api_sas_portal v0.17.0)

Defines an access control policy to the resources.

Attributes

  • assignments (type: list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalAssignment.t), default: nil) - List of assignments
  • etag (type: String.t, default: nil) - The etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that their change will be applied to the same version of the policy. If no etag is provided in the call to GetPolicy, then the existing policy is overwritten blindly.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalPolicy{
  assignments:
    [GoogleApi.SASPortal.V1alpha1.Model.SasPortalAssignment.t()] | nil,
  etag: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.