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.



1039
1040
1041
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1039

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)


1032
1033
1034
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1032

def next_page_token
  @next_page_token
end

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

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



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

def replays
  @replays
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1044
1045
1046
1047
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1044

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