Types for Google Cloud Gaming v1 API¶
- class google.cloud.gaming_v1.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, in the following 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_v1.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, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/
.- Type
- game_server_config¶
Required. The game server config resource to be created.
- class google.cloud.gaming_v1.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, in the following form:
projects/{project}/locations/{location}
.- Type
- game_server_deployment¶
Required. The game server delpoyment resource to be created.
- class google.cloud.gaming_v1.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, in the following form:
projects/{project}/locations/{location}
.- Type
- realm¶
Required. The realm resource to be created.
- class google.cloud.gaming_v1.types.DeleteGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.DeleteGameServerCluster.
- class google.cloud.gaming_v1.types.DeleteGameServerConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.DeleteGameServerConfig.
- class google.cloud.gaming_v1.types.DeleteGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
- class google.cloud.gaming_v1.types.DeleteRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.DeleteRealm.
- class google.cloud.gaming_v1.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_v1.types.FetchDeploymentStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.FetchDeploymentState.
- class google.cloud.gaming_v1.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_v1.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_v1.types.DeployedFleetDetails]
- class google.cloud.gaming_v1.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_v1.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, in the following 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.
- cluster_state¶
Output only. The state of the Kubernetes cluster, this will be available if ‘view’ is set to
FULL
in the relevant List/Get/Preview request.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1.types.GameServerClusterConnectionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The game server cluster connection information.
- class google.cloud.gaming_v1.types.GameServerClusterView(value)[source]¶
Bases:
proto.enums.Enum
A view for GameServerCluster objects.
- Values:
- GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED (0):
The default / unset value. The API will default to the BASIC view.
- BASIC (1):
Include basic information of a GameServerCluster resource and omit
cluster_state
. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).- FULL (2):
Include everything.
- class google.cloud.gaming_v1.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, 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
.- 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_v1.types.FleetConfig]
- scaling_configs¶
The autoscaling settings.
- Type
MutableSequence[google.cloud.gaming_v1.types.ScalingConfig]
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1.types.GameServerConfigOverride(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A game server config override.
- class google.cloud.gaming_v1.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, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}
. For example,projects/my-project/locations/global/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_v1.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, in the following form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout
. For example,projects/my-project/locations/global/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_v1.types.GameServerConfigOverride]
- class google.cloud.gaming_v1.types.GetGameServerClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerClustersService.GetGameServerCluster.
- name¶
Required. The name of the game server cluster to retrieve, in the following form:
projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}
.- Type
- view¶
Optional. View for the returned GameServerCluster objects. When
FULL
is specified, thecluster_state
field is also returned in the GameServerCluster object, which includes the state of the referenced Kubernetes cluster such as versions and provider info. The default/unset value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return thecluster_state
field.
- class google.cloud.gaming_v1.types.GetGameServerConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerConfigsService.GetGameServerConfig.
- class google.cloud.gaming_v1.types.GetGameServerDeploymentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.GetGameServerDeployment.
- class google.cloud.gaming_v1.types.GetGameServerDeploymentRolloutRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for GameServerDeploymentsService.GetGameServerDeploymentRollout.
- class google.cloud.gaming_v1.types.GetRealmRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for RealmsService.GetRealm.
- class google.cloud.gaming_v1.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_v1.types.KubernetesClusterState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The state of the Kubernetes cluster.
- agones_version_installed¶
Output only. The version of Agones currently installed in the registered Kubernetes cluster.
- Type
- kubernetes_version_installed¶
Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- Type
- installation_state¶
Output only. The state for the installed versions of Agones/Kubernetes.
- version_installed_error_message¶
Output only. The detailed error message for the installed versions of Agones/Kubernetes.
- Type
- provider¶
Output only. The cloud provider type reported by the first node’s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
- Type
- agones_version_targeted¶
Output only. The version of Agones that is targeted to be installed in the cluster.
- Type
- class InstallationState(value)[source]¶
Bases:
proto.enums.Enum
The state of the installed versions of Agones/Kubernetes. See also https://cloud.google.com/game-servers/docs/versions-and-upgrades.
- Values:
- INSTALLATION_STATE_UNSPECIFIED (0):
The default value. This value is used if the state is omitted.
- AGONES_KUBERNETES_VERSION_SUPPORTED (1):
The combination of Agones and Kubernetes versions is supported by Google Cloud Game Servers.
- AGONES_VERSION_UNSUPPORTED (2):
The installed version of Agones is not supported by Google Cloud Game Servers.
- AGONES_KUBERNETES_VERSION_UNSUPPORTED (3):
The installed version of Agones is supported by Google Cloud Game Servers, but the installed version of Kubernetes is not recommended or supported by the version of Agones.
- AGONES_VERSION_UNRECOGNIZED (4):
The installed version of Agones is not recognized because the Agones controller’s image name does not have a version string reported as {major}.{minor}(.{patch}).
- KUBERNETES_VERSION_UNRECOGNIZED (5):
The server version of Kubernetes cluster is not recognized because the API server didn’t return parsable version info on path/version.
- VERSION_VERIFICATION_FAILED (6):
Failed to read or verify the version of Agones or Kubernetes. See version_installed_error_message for details.
- AGONES_NOT_INSTALLED (7):
Agones is not installed.
- class google.cloud.gaming_v1.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_v1.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, in the following 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.v1.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
- view¶
Optional. View for the returned GameServerCluster objects. When
FULL
is specified, thecluster_state
field is also returned in the GameServerCluster object, which includes the state of the referenced Kubernetes cluster such as versions and provider info. The default/unset value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return thecluster_state
field.
- class google.cloud.gaming_v1.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_v1.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_v1.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, in the following 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.v1.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_v1.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_v1.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_v1.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, in the following 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.v1.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_v1.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_v1.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_v1.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, in the following 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.v1.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_v1.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_v1.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_v1.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_v1.types.OperationStatus]
- class OperationStatusEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.gaming_v1.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_v1.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, in the following 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.
- view¶
Optional. This field is deprecated, preview will always return KubernetesClusterState.
- class google.cloud.gaming_v1.types.PreviewCreateGameServerClusterResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for GameServerClustersService.PreviewCreateGameServerCluster.
- target_state¶
The target state.
- cluster_state¶
Output only. The state of the Kubernetes cluster in preview, this will be available if ‘view’ is set to
FULL
in the relevant List/Get/Preview request.
- class google.cloud.gaming_v1.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, in the following form:
projects/{project}/locations/{location}/gameServerClusters/{cluster}
.- Type
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1.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_v1.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, see https://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_v1.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_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1.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_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- preview_time¶
Optional. The target timestamp to compute the preview.
- class google.cloud.gaming_v1.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_v1.types.Realm(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A realm resource.
- name¶
The resource name of the realm, in the following 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_v1.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_v1.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_v1.types.LabelSelector]
- schedules¶
The schedules to which this Scaling Config applies.
- Type
MutableSequence[google.cloud.gaming_v1.types.Schedule]
- class google.cloud.gaming_v1.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_v1.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_v1.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_v1.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_v1.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_v1.types.TargetDetails]
- class google.cloud.gaming_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- class google.cloud.gaming_v1.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, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask