google_api_service_control v0.8.0 GoogleApi.ServiceControl.V1.Model.AuthorizationInfo View Source

Authorization information for the operation.

Attributes

  • granted (boolean()): Whether or not authorization for resource and permission was granted. Defaults to nil.

  • permission (String.t): The required IAM permission. Defaults to nil.

  • resource (String.t): The resource being accessed, as a REST-style string. For example:

    bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID Defaults to nil.

  • resourceAttributes (GoogleApi.ServiceControl.V1.Model.Resource.t): 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. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

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

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.