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.



536
537
538
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 536

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

Instance Attribute Details

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

Approval request details. Corresponds to the JSON property approvalRequests



529
530
531
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 529

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)


534
535
536
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 534

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



541
542
543
544
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 541

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