google_api_access_approval v0.7.0 GoogleApi.AccessApproval.V1beta1.Model.ApprovalRequest View Source

A request for the customer to approve access to a resource.

Attributes

  • approve (type: GoogleApi.AccessApproval.V1beta1.Model.ApproveDecision.t, default: nil) - Access was approved.
  • dismiss (type: GoogleApi.AccessApproval.V1beta1.Model.DismissDecision.t, default: nil) - The request was dismissed.
  • name (type: String.t, default: nil) - The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
  • requestTime (type: DateTime.t, default: nil) - The time at which approval was requested.
  • requestedExpiration (type: DateTime.t, default: nil) - The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
  • requestedLocations (type: GoogleApi.AccessApproval.V1beta1.Model.AccessLocations.t, default: nil) - The locations for which approval is being requested.
  • requestedReason (type: GoogleApi.AccessApproval.V1beta1.Model.AccessReason.t, default: nil) - The justification for which approval is being requested.
  • requestedResourceName (type: String.t, default: nil) - The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.
  • requestedResourceProperties (type: GoogleApi.AccessApproval.V1beta1.Model.ResourceProperties.t, default: nil) - Properties related to the resource represented by requested_resource_name.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AccessApproval.V1beta1.Model.ApprovalRequest{
  approve: GoogleApi.AccessApproval.V1beta1.Model.ApproveDecision.t(),
  dismiss: GoogleApi.AccessApproval.V1beta1.Model.DismissDecision.t(),
  name: String.t(),
  requestTime: DateTime.t(),
  requestedExpiration: DateTime.t(),
  requestedLocations:
    GoogleApi.AccessApproval.V1beta1.Model.AccessLocations.t(),
  requestedReason: GoogleApi.AccessApproval.V1beta1.Model.AccessReason.t(),
  requestedResourceName: String.t(),
  requestedResourceProperties:
    GoogleApi.AccessApproval.V1beta1.Model.ResourceProperties.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.