Class: Google::Apis::AccessapprovalV1::ListApprovalRequestsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/accessapproval_v1/classes.rb,
generated/google/apis/accessapproval_v1/representations.rb,
generated/google/apis/accessapproval_v1/representations.rb

Overview

Response to listing of ApprovalRequest objects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListApprovalRequestsResponse

Returns a new instance of ListApprovalRequestsResponse.



367
368
369
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 367

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#approval_requestsArray<Google::Apis::AccessapprovalV1::ApprovalRequest>

Approval request details. Corresponds to the JSON property approvalRequests



360
361
362
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 360

def approval_requests
  @approval_requests
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


365
366
367
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 365

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



372
373
374
375
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 372

def update!(**args)
  @approval_requests = args[:approval_requests] if args.key?(:approval_requests)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end