Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListReplaysResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListReplaysResponse
- 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.ListReplays.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that you can use to retrieve the next page of results.
-
#replays ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplay>
The list of Replay objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListReplaysResponse
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaListReplaysResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListReplaysResponse
Returns a new instance of GoogleCloudPolicysimulatorV1alphaListReplaysResponse.
969 970 971 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that you can use to retrieve the next page of results. If this field
is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
962 963 964 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 962 def next_page_token @next_page_token end |
#replays ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplay>
The list of Replay objects.
Corresponds to the JSON property replays
967 968 969 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 967 def replays @replays end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
974 975 976 977 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 974 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @replays = args[:replays] if args.key?(:replays) end |