Class: Google::Apis::CloudcontrolspartnerV1::ListAccessApprovalRequestsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb

Overview

Response message for list access requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAccessApprovalRequestsResponse

Returns a new instance of ListAccessApprovalRequestsResponse.



426
427
428
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 426

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

Instance Attribute Details

#access_approval_requestsArray<Google::Apis::CloudcontrolspartnerV1::AccessApprovalRequest>

List of access approval requests Corresponds to the JSON property accessApprovalRequests



413
414
415
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 413

def access_approval_requests
  @access_approval_requests
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


419
420
421
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 419

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


424
425
426
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 424

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



431
432
433
434
435
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 431

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