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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/accessapproval_v1/classes.rb,
lib/google/apis/accessapproval_v1/representations.rb,
lib/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.



510
511
512
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 510

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

Instance Attribute Details

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

Approval request details. Corresponds to the JSON property approvalRequests



503
504
505
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 503

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)


508
509
510
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 508

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



515
516
517
518
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 515

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