Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse

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

Overview

Response message for Simulator.ListReplayResults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse

Returns a new instance of GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse.



1013
1014
1015
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1013

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

Instance Attribute Details

#next_page_tokenString

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1006
1007
1008
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1006

def next_page_token
  @next_page_token
end

#replay_resultsArray<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayResult>

The results of running a Replay. Corresponds to the JSON property replayResults



1011
1012
1013
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1011

def replay_results
  @replay_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1018
1019
1020
1021
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1018

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