Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::GameServerConfig.
A game server config resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The creation time.
#description
def description() -> ::String
Returns
- (::String) — The description of the game server config.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — The description of the game server config.
Returns
- (::String) — The description of the game server config.
#fleet_configs
def fleet_configs() -> ::Array<::Google::Cloud::Gaming::V1::FleetConfig>
Returns
- (::Array<::Google::Cloud::Gaming::V1::FleetConfig>) — FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
#fleet_configs=
def fleet_configs=(value) -> ::Array<::Google::Cloud::Gaming::V1::FleetConfig>
Parameter
- value (::Array<::Google::Cloud::Gaming::V1::FleetConfig>) — FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
Returns
- (::Array<::Google::Cloud::Gaming::V1::FleetConfig>) — FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels associated with this game server config. Each label is a key-value pair.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The labels associated with this game server config. Each label is a key-value pair.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels associated with this game server config. Each label is a key-value pair.
#name
def name() -> ::String
Returns
-
(::String) — The resource name of the game server config, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}
. For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The resource name of the game server config, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}
. For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.
Returns
-
(::String) — The resource name of the game server config, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}
. For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.
#scaling_configs
def scaling_configs() -> ::Array<::Google::Cloud::Gaming::V1::ScalingConfig>
Returns
- (::Array<::Google::Cloud::Gaming::V1::ScalingConfig>) — The autoscaling settings.
#scaling_configs=
def scaling_configs=(value) -> ::Array<::Google::Cloud::Gaming::V1::ScalingConfig>
Parameter
- value (::Array<::Google::Cloud::Gaming::V1::ScalingConfig>) — The autoscaling settings.
Returns
- (::Array<::Google::Cloud::Gaming::V1::ScalingConfig>) — The autoscaling settings.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last-modified time.