Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaListReplaysResponse

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

Overview

Response message for Simulator.ListReplays.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaListReplaysResponse

Returns a new instance of GoogleCloudPolicysimulatorV1betaListReplaysResponse.



1354
1355
1356
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1354

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1347
1348
1349
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1347

def next_page_token
  @next_page_token
end

#replaysArray<Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay>

The list of Replay objects. Corresponds to the JSON property replays



1352
1353
1354
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1352

def replays
  @replays
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1359
1360
1361
1362
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1359

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