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.



403
404
405
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 403

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



390
391
392
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 390

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)


396
397
398
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 396

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>)


401
402
403
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 401

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



408
409
410
411
412
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 408

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