Types for Google Cloud Gaming v1beta API¶
- class google.cloud.gaming_v1beta.types.CreateGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.CreateGameServerCluster.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/realms/{realm-id}
.- Type
- game_server_cluster_id¶
Required. The ID of the game server cluster resource to be created.
- Type
- game_server_cluster¶
Required. The game server cluster resource to be created.
- class google.cloud.gaming_v1beta.types.CreateGameServerConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.CreateGameServerConfig.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/
.- Type
- game_server_config¶
Required. The game server config resource to be created.
- class google.cloud.gaming_v1beta.types.CreateGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.CreateGameServerDeployment.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}
.- Type
- game_server_deployment¶
Required. The game server delpoyment resource to be created.
- class google.cloud.gaming_v1beta.types.CreateRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.CreateRealm.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}
.- Type
- realm¶
Required. The realm resource to be created.
- class google.cloud.gaming_v1beta.types.DeleteGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.DeleteGameServerCluster.
- class google.cloud.gaming_v1beta.types.DeleteGameServerConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.DeleteGameServerConfig.
- class google.cloud.gaming_v1beta.types.DeleteGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
- class google.cloud.gaming_v1beta.types.DeleteRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.DeleteRealm.
- class google.cloud.gaming_v1beta.types.DeployedFleetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Details of the deployed Agones fleet.
- deployed_fleet¶
Information about the Agones fleet.
- deployed_autoscaler¶
Information about the Agones autoscaler for that fleet.
- class DeployedFleet(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Agones fleet specification and details.
- spec_source¶
The source spec that is used to create the Agones fleet. The GameServerConfig resource may no longer exist in the system.
- status¶
The current status of the Agones fleet. Includes count of game servers in various states.
- class DeployedFleetStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
DeployedFleetStatus has details about the Agones fleets such as how many are running, how many allocated, and so on.
- allocated_replicas¶
The number of GameServer replicas in the ALLOCATED state in this fleet.
- Type
- reserved_replicas¶
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.
- Type
- class DeployedFleetAutoscaler(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Details about the Agones autoscaler.
- spec_source¶
The source spec that is used to create the autoscaler. The GameServerConfig resource may no longer exist in the system.
- class google.cloud.gaming_v1beta.types.FetchDeploymentStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.FetchDeploymentState.
- class google.cloud.gaming_v1beta.types.FetchDeploymentStateResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerDeploymentsService.FetchDeploymentState.
- cluster_state¶
The state of the game server deployment in each game server cluster.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.FetchDeploymentStateResponse.DeployedClusterState]
List of locations that could not be reached.
- Type
MutableSequence[str]
- class DeployedClusterState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The game server cluster changes made by the game server deployment.
- fleet_details¶
The details about the Agones fleets and autoscalers created in the game server cluster.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.DeployedFleetDetails]
- class google.cloud.gaming_v1beta.types.FleetConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Fleet configs for Agones.
- fleet_spec¶
Agones fleet spec. Example spec:
https://agones.dev/site/docs/reference/fleet/
.- Type
- class google.cloud.gaming_v1beta.types.GameServerCluster(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A game server cluster resource.
- name¶
Required. The resource name of the game server cluster. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}
. For example,projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster
.- Type
- create_time¶
Output only. The creation time.
- update_time¶
Output only. The last-modified time.
- labels¶
The labels associated with this game server cluster. Each label is a key-value pair.
- connection_info¶
The game server cluster connection information. This information is used to manage game server clusters.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.GameServerClusterConnectionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The game server cluster connection information.
- class google.cloud.gaming_v1beta.types.GameServerConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A game server config resource.
- name¶
The resource name of the game server config. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}
. For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- Type
- create_time¶
Output only. The creation time.
- update_time¶
Output only. The last-modified time.
- labels¶
The labels associated with this game server config. Each label is a key-value pair.
- fleet_configs¶
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.FleetConfig]
- scaling_configs¶
The autoscaling settings.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.ScalingConfig]
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.GameServerConfigOverride(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A game server config override.
- class google.cloud.gaming_v1beta.types.GameServerDeployment(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A game server deployment resource.
- name¶
The resource name of the game server deployment. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}
. For example,projects/my-project/locations/{location}/gameServerDeployments/my-deployment
.- Type
- create_time¶
Output only. The creation time.
- update_time¶
Output only. The last-modified time.
- labels¶
The labels associated with this game server deployment. Each label is a key-value pair.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.GameServerDeploymentRollout(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The game server deployment rollout which represents the desired rollout state.
- name¶
The resource name of the game server deployment rollout. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout
. For example,projects/my-project/locations/{location}/gameServerDeployments/my-deployment/rollout
.- Type
- create_time¶
Output only. The creation time.
- update_time¶
Output only. The last-modified time.
- default_game_server_config¶
The default game server config is applied to all realms unless overridden in the rollout. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- Type
- game_server_config_overrides¶
Contains the game server config rollout overrides. Overrides are processed in the order they are listed. Once a match is found for a realm, the rest of the list is not processed.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.GameServerConfigOverride]
- class google.cloud.gaming_v1beta.types.GetGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.GetGameServerCluster.
- class google.cloud.gaming_v1beta.types.GetGameServerConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.GetGameServerConfig.
- class google.cloud.gaming_v1beta.types.GetGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.GetGameServerDeployment.
- class google.cloud.gaming_v1beta.types.GetGameServerDeploymentRolloutRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.GetGameServerDeploymentRollout.
- class google.cloud.gaming_v1beta.types.GetRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.GetRealm.
- class google.cloud.gaming_v1beta.types.GkeClusterReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A reference to a GKE cluster.
- cluster¶
The full or partial name of a GKE cluster, using one of the following forms:
projects/{project}/locations/{location}/clusters/{cluster}
locations/{location}/clusters/{cluster}
{cluster}
If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.
- Type
- class google.cloud.gaming_v1beta.types.LabelSelector(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The label selector, used to group labels on the resources.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.ListGameServerClustersRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.ListGameServerClusters.
- parent¶
Required. The parent resource name. Uses the form: “projects/{project}/locations/{location}/realms/{realm}”.
- Type
- page_size¶
Optional. The maximum number of items to return. If unspecified, the server will pick an appropriate default. The server may return fewer items than requested. A caller should only rely on response’s [next_page_token][google.cloud.gaming.v1beta.ListGameServerClustersResponse.next_page_token] to determine if there are more GameServerClusters left to be queried.
- Type
- page_token¶
Optional. The next_page_token value returned from a previous List request, if any.
- Type
- order_by¶
Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
- Type
- class google.cloud.gaming_v1beta.types.ListGameServerClustersResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerClustersService.ListGameServerClusters.
- game_server_clusters¶
The list of game server clusters.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.GameServerCluster]
- next_page_token¶
Token to retrieve the next page of results, or empty if there are no more results in the list.
- Type
- class google.cloud.gaming_v1beta.types.ListGameServerConfigsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.ListGameServerConfigs.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*
.- Type
- page_size¶
Optional. The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response’s [next_page_token][google.cloud.gaming.v1beta.ListGameServerConfigsResponse.next_page_token] to determine if there are more GameServerConfigs left to be queried.
- Type
- page_token¶
Optional. The next_page_token value returned from a previous list request, if any.
- Type
- order_by¶
Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
- Type
- class google.cloud.gaming_v1beta.types.ListGameServerConfigsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerConfigsService.ListGameServerConfigs.
- game_server_configs¶
The list of game server configs.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.GameServerConfig]
- next_page_token¶
Token to retrieve the next page of results, or empty if there are no more results in the list.
- Type
- class google.cloud.gaming_v1beta.types.ListGameServerDeploymentsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.ListGameServerDeployments.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}
.- Type
- page_size¶
Optional. The maximum number of items to return. If unspecified, the server will pick an appropriate default. The server may return fewer items than requested. A caller should only rely on response’s [next_page_token][google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.next_page_token] to determine if there are more GameServerDeployments left to be queried.
- Type
- page_token¶
Optional. The next_page_token value returned from a previous List request, if any.
- Type
- order_by¶
Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
- Type
- class google.cloud.gaming_v1beta.types.ListGameServerDeploymentsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerDeploymentsService.ListGameServerDeployments.
- game_server_deployments¶
The list of game server deployments.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.GameServerDeployment]
- next_page_token¶
Token to retrieve the next page of results, or empty if there are no more results in the list.
- Type
- class google.cloud.gaming_v1beta.types.ListRealmsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.ListRealms.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}
.- Type
- page_size¶
Optional. The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response’s [next_page_token][google.cloud.gaming.v1beta.ListRealmsResponse.next_page_token] to determine if there are more realms left to be queried.
- Type
- page_token¶
Optional. The next_page_token value returned from a previous List request, if any.
- Type
- order_by¶
Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
- Type
- class google.cloud.gaming_v1beta.types.ListRealmsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for RealmsService.ListRealms.
- realms¶
The list of realms.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.Realm]
- next_page_token¶
Token to retrieve the next page of results, or empty if there are no more results in the list.
- Type
- class google.cloud.gaming_v1beta.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Represents the metadata of the long-running operation.
- create_time¶
Output only. The time the operation was created.
- end_time¶
Output only. The time the operation finished running.
- requested_cancellation¶
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
.- Type
- operation_status¶
Output only. Operation status for Game Services API operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
- Type
MutableMapping[str, google.cloud.gaming_v1beta.types.OperationStatus]
- class OperationStatusEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.OperationStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- error_code¶
The error code in case of failures.
- class ErrorCode(value)[source]¶
Bases:
proto.enums.Enum
- Values:
- ERROR_CODE_UNSPECIFIED (0):
No description available.
- INTERNAL_ERROR (1):
No description available.
- PERMISSION_DENIED (2):
No description available.
- CLUSTER_CONNECTION (3):
No description available.
- class google.cloud.gaming_v1beta.types.PreviewCreateGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.PreviewCreateGameServerCluster.
- parent¶
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/realms/{realm}
.- Type
- game_server_cluster_id¶
Required. The ID of the game server cluster resource to be created.
- Type
- game_server_cluster¶
Required. The game server cluster resource to be created.
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1beta.types.PreviewCreateGameServerClusterResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerClustersService.PreviewCreateGameServerCluster.
- target_state¶
The target state.
- class google.cloud.gaming_v1beta.types.PreviewDeleteGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
- name¶
Required. The name of the game server cluster to delete. Uses the form:
projects/{project}/locations/{location}/gameServerClusters/{cluster}
.- Type
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1beta.types.PreviewDeleteGameServerClusterResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
- target_state¶
The target state.
- class google.cloud.gaming_v1beta.types.PreviewGameServerDeploymentRolloutRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for PreviewGameServerDeploymentRollout.
- rollout¶
Required. The game server deployment rollout to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Optional. Mask of fields to update. At least one path must be supplied in this field. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- preview_time¶
Optional. The target timestamp to compute the preview. Defaults to the immediately after the proposed rollout completes.
- class google.cloud.gaming_v1beta.types.PreviewGameServerDeploymentRolloutResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for PreviewGameServerDeploymentRollout. This has details about the Agones fleet and autoscaler to be actuated.
Locations that could not be reached on this request.
- Type
MutableSequence[str]
- target_state¶
The target state.
- class google.cloud.gaming_v1beta.types.PreviewRealmUpdateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.PreviewRealmUpdate.
- realm¶
Required. The realm to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. The update mask applies to the resource. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1beta.types.PreviewRealmUpdateResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for RealmsService.PreviewRealmUpdate.
- target_state¶
The target state.
- class google.cloud.gaming_v1beta.types.PreviewUpdateGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.UpdateGameServerCluster.
- game_server_cluster¶
Required. The game server cluster to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. Mask of fields to update. At least one path must be supplied in this field. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1beta.types.PreviewUpdateGameServerClusterResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerClustersService.PreviewUpdateGameServerCluster
- target_state¶
The target state.
- class google.cloud.gaming_v1beta.types.Realm(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A realm resource.
- name¶
The resource name of the realm. Uses the form:
projects/{project}/locations/{location}/realms/{realm}
. For example,projects/my-project/locations/{location}/realms/my-realm
.- Type
- create_time¶
Output only. The creation time.
- update_time¶
Output only. The last-modified time.
- labels¶
The labels associated with this realm. Each label is a key-value pair.
- time_zone¶
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
- Type
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1beta.types.RealmSelector(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The realm selector, used to match realm resources.
- class google.cloud.gaming_v1beta.types.ScalingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Autoscaling config for an Agones fleet.
- fleet_autoscaler_spec¶
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
- Type
- selectors¶
Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.LabelSelector]
- schedules¶
The schedules to which this Scaling Config applies.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.Schedule]
- class google.cloud.gaming_v1beta.types.Schedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The schedule of a recurring or one time event. The event’s time span is specified by start_time and end_time. If the scheduled event’s timespan is larger than the cron_spec + cron_job_duration, the event will be recurring. If only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring.
start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time cron job: cron spec start time + duration
- start_time¶
The start time of the event.
- end_time¶
The end time of the event.
- cron_job_duration¶
The duration for the cron job event. The duration of the event is effective after the cron job’s start time.
- cron_spec¶
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
- Type
- class google.cloud.gaming_v1beta.types.SpecSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Encapsulates Agones fleet spec and Agones autoscaler spec sources.
- game_server_config_name¶
The game server config resource. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}
.- Type
- class google.cloud.gaming_v1beta.types.TargetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Details about the Agones resources.
- game_server_cluster_name¶
The game server cluster name. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}
.- Type
- game_server_deployment_name¶
The game server deployment name. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}
.- Type
- fleet_details¶
Agones fleet details for game server clusters and game server deployments.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.TargetDetails.TargetFleetDetails]
- class TargetFleetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Details of the target Agones fleet.
- fleet¶
Reference to target Agones fleet.
- autoscaler¶
Reference to target Agones fleet autoscaling policy.
- class TargetFleet(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Target Agones fleet specification.
- spec_source¶
Encapsulates the source of the Agones fleet spec. The Agones fleet spec source.
- class TargetFleetAutoscaler(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Target Agones autoscaler policy reference.
- spec_source¶
Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec.
- class google.cloud.gaming_v1beta.types.TargetState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Encapsulates the Target state.
- details¶
Details about Agones fleets.
- Type
MutableSequence[google.cloud.gaming_v1beta.types.TargetDetails]
- class google.cloud.gaming_v1beta.types.UpdateGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.UpdateGameServerCluster.
- game_server_cluster¶
Required. The game server cluster to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. Mask of fields to update. At least one path must be supplied in this field. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1beta.types.UpdateGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.UpdateGameServerDeployment. Only allows updates for labels.
- game_server_deployment¶
Required. The game server delpoyment to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. Mask of fields to update. At least one path must be supplied in this field. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1beta.types.UpdateGameServerDeploymentRolloutRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
- rollout¶
Required. The game server delpoyment rollout to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. Mask of fields to update. At least one path must be supplied in this field. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1beta.types.UpdateRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.UpdateRealm.
- realm¶
Required. The realm to be updated. Only fields specified in update_mask are updated.
- update_mask¶
Required. The update mask applies to the resource. For the
FieldMask
definition, seehttps: //developers.google.com/protocol-buffers // /docs/reference/google.protobuf#fieldmask