class Google::Apis::GameservicesV1::TargetFleet

Target Agones fleet specification.

Attributes

name[RW]

The name of the Agones fleet. Corresponds to the JSON property `name` @return [String]

spec_source[RW]

Encapsulates Agones fleet spec and Agones autoscaler spec sources. Corresponds to the JSON property `specSource` @return [Google::Apis::GameservicesV1::SpecSource]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1/classes.rb, line 2128
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 2133
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @spec_source = args[:spec_source] if args.key?(:spec_source)
end