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

Authorization information for the operation.


  • 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: or projects/PROJECTID/datasets/DATASETID
  • resourceAttributes (type: GoogleApi.ServiceControl.V2.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


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.