Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListReplaysResponse

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.ListReplays.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListReplaysResponse

Returns a new instance of GoogleCloudPolicysimulatorV1alphaListReplaysResponse.



1030
1031
1032
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1030

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)


1023
1024
1025
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1023

def next_page_token
  @next_page_token
end

#replaysArray<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplay>

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



1028
1029
1030
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1028

def replays
  @replays
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1035
1036
1037
1038
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1035

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