Class: Google::Apis::GamesV1::ResolveSnapshotHeadRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::ResolveSnapshotHeadRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb
Overview
Request for ResolveSnapshotHead RPC.
Instance Attribute Summary collapse
-
#resolution_policy ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResolveSnapshotHeadRequest
constructor
A new instance of ResolveSnapshotHeadRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResolveSnapshotHeadRequest
Returns a new instance of ResolveSnapshotHeadRequest.
2320 2321 2322 |
# File 'lib/google/apis/games_v1/classes.rb', line 2320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resolution_policy ⇒ String
Required. The automatic resolution policy. All conflicts are resolved in
chronological order, starting from the/ least recent. If the comparison metric
is equal for the tentative head and the conflict, the head wins.
Corresponds to the JSON property resolutionPolicy
2318 2319 2320 |
# File 'lib/google/apis/games_v1/classes.rb', line 2318 def resolution_policy @resolution_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2325 2326 2327 |
# File 'lib/google/apis/games_v1/classes.rb', line 2325 def update!(**args) @resolution_policy = args[:resolution_policy] if args.key?(:resolution_policy) end |