GoogleApi.ServiceControl.V1.Model.AuthorizationInfo (google_api_service_control v0.37.2) View Source

Authorization information for the operation.

Attributes

  • granted (type: boolean(), default: nil) - Whether or not authorization for resource and permission was granted.
  • permission (type: String.t, default: nil) - The required IAM permission.
  • resource (type: String.t, default: nil) - The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID
  • resourceAttributes (type: GoogleApi.ServiceControl.V1.Model.Resource.t, default: nil) - Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceControl.V1.Model.AuthorizationInfo{
  granted: boolean() | nil,
  permission: String.t() | nil,
  resource: String.t() | nil,
  resourceAttributes: GoogleApi.ServiceControl.V1.Model.Resource.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.