class Google::Apis::GameservicesV1::DeployedFleetStatus

DeployedFleetStatus has details about the Agones fleets such as how many are running, how many allocated, and so on.

Attributes

allocated_replicas[RW]

The number of GameServer replicas in the ALLOCATED state in this fleet. Corresponds to the JSON property `allocatedReplicas` @return [Fixnum]

ready_replicas[RW]

The number of GameServer replicas in the READY state in this fleet. Corresponds to the JSON property `readyReplicas` @return [Fixnum]

replicas[RW]

The total number of current GameServer replicas in this fleet. Corresponds to the JSON property `replicas` @return [Fixnum]

reserved_replicas[RW]

The number of GameServer replicas in the RESERVED state in this fleet. Reserved instances won't be deleted on scale down, but won't cause an autoscaler to scale up. Corresponds to the JSON property `reservedReplicas` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1/classes.rb, line 523
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gameservices_v1/classes.rb, line 528
def update!(**args)
  @allocated_replicas = args[:allocated_replicas] if args.key?(:allocated_replicas)
  @ready_replicas = args[:ready_replicas] if args.key?(:ready_replicas)
  @replicas = args[:replicas] if args.key?(:replicas)
  @reserved_replicas = args[:reserved_replicas] if args.key?(:reserved_replicas)
end