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.



370
371
372
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 370

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

Instance Attribute Details

#approval_requests ⇒ Array<Google::Apis::AccessapprovalV1::ApprovalRequest>

Approval request details. Corresponds to the JSON property approvalRequests



363
364
365
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 363

def approval_requests
  @approval_requests
end

#next_page_token ⇒ String

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

Returns:

  • (String)


368
369
370
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 368

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



375
376
377
378
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 375

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