Class: Google::Apis::GamesV1::ResolveSnapshotHeadRequest

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

Overview

Request for ResolveSnapshotHead RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResolveSnapshotHeadRequest

Returns a new instance of ResolveSnapshotHeadRequest.



2350
2351
2352
# File 'generated/google/apis/games_v1/classes.rb', line 2350

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

Instance Attribute Details

#resolution_policyString

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

Returns:

  • (String)


2348
2349
2350
# File 'generated/google/apis/games_v1/classes.rb', line 2348

def resolution_policy
  @resolution_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2355
2356
2357
# File 'generated/google/apis/games_v1/classes.rb', line 2355

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