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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListApprovalRequestsResponse

Returns a new instance of ListApprovalRequestsResponse.


358
359
360
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 358

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

Instance Attribute Details

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

Approval request details. Corresponds to the JSON property approvalRequests


351
352
353
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 351

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)

356
357
358
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 356

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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