|
|
|
@ -27,6 +27,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;g |
|
|
|
|
|
|
|
|
|
option java_multiple_files = true; |
|
|
|
|
option java_package = "com.google.cloud.gaming.v1beta"; |
|
|
|
|
option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; |
|
|
|
|
|
|
|
|
|
// Request message for GameServerDeploymentsService.ListGameServerDeployments. |
|
|
|
|
message ListGameServerDeploymentsRequest { |
|
|
|
@ -39,11 +40,11 @@ message ListGameServerDeploymentsRequest { |
|
|
|
|
} |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
// 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. |
|
|
|
|
// 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. |
|
|
|
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
|
|
|
|
|
// Optional. The next_page_token value returned from a previous List request, |
|
|
|
@ -73,7 +74,8 @@ message ListGameServerDeploymentsResponse { |
|
|
|
|
|
|
|
|
|
// Request message for GameServerDeploymentsService.GetGameServerDeployment. |
|
|
|
|
message GetGameServerDeploymentRequest { |
|
|
|
|
// Required. The name of the game server delpoyment to retrieve. Uses the form: |
|
|
|
|
// Required. The name of the game server delpoyment to retrieve. Uses the |
|
|
|
|
// form: |
|
|
|
|
// |
|
|
|
|
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. |
|
|
|
|
string name = 1 [ |
|
|
|
@ -87,7 +89,8 @@ message GetGameServerDeploymentRequest { |
|
|
|
|
// Request message for |
|
|
|
|
// GameServerDeploymentsService.GetGameServerDeploymentRollout. |
|
|
|
|
message GetGameServerDeploymentRolloutRequest { |
|
|
|
|
// Required. The name of the game server delpoyment to retrieve. Uses the form: |
|
|
|
|
// Required. The name of the game server delpoyment to retrieve. Uses the |
|
|
|
|
// form: |
|
|
|
|
// |
|
|
|
|
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`. |
|
|
|
|
string name = 1 [ |
|
|
|
@ -113,7 +116,8 @@ message CreateGameServerDeploymentRequest { |
|
|
|
|
string deployment_id = 2 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// Required. The game server delpoyment resource to be created. |
|
|
|
|
GameServerDeployment game_server_deployment = 3 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
GameServerDeployment game_server_deployment = 3 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request message for GameServerDeploymentsService.DeleteGameServerDeployment. |
|
|
|
@ -134,7 +138,8 @@ message DeleteGameServerDeploymentRequest { |
|
|
|
|
message UpdateGameServerDeploymentRequest { |
|
|
|
|
// Required. The game server delpoyment to be updated. |
|
|
|
|
// Only fields specified in update_mask are updated. |
|
|
|
|
GameServerDeployment game_server_deployment = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
GameServerDeployment game_server_deployment = 1 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// Required. Mask of fields to update. At least one path must be supplied in |
|
|
|
|
// this field. For the `FieldMask` definition, see |
|
|
|
@ -142,7 +147,8 @@ message UpdateGameServerDeploymentRequest { |
|
|
|
|
// https: |
|
|
|
|
// //developers.google.com/protocol-buffers |
|
|
|
|
// // /docs/reference/google.protobuf#fieldmask |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request message for |
|
|
|
@ -150,7 +156,8 @@ message UpdateGameServerDeploymentRequest { |
|
|
|
|
message UpdateGameServerDeploymentRolloutRequest { |
|
|
|
|
// Required. The game server delpoyment rollout to be updated. |
|
|
|
|
// Only fields specified in update_mask are updated. |
|
|
|
|
GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
GameServerDeploymentRollout rollout = 1 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// Required. Mask of fields to update. At least one path must be supplied in |
|
|
|
|
// this field. For the `FieldMask` definition, see |
|
|
|
@ -158,7 +165,8 @@ message UpdateGameServerDeploymentRolloutRequest { |
|
|
|
|
// https: |
|
|
|
|
// //developers.google.com/protocol-buffers |
|
|
|
|
// // /docs/reference/google.protobuf#fieldmask |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request message for GameServerDeploymentsService.FetchDeploymentState. |
|
|
|
@ -204,10 +212,12 @@ message GameServerDeployment { |
|
|
|
|
string name = 1; |
|
|
|
|
|
|
|
|
|
// Output only. The creation time. |
|
|
|
|
google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
google.protobuf.Timestamp create_time = 2 |
|
|
|
|
[(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Output only. The last-modified time. |
|
|
|
|
google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
google.protobuf.Timestamp update_time = 3 |
|
|
|
|
[(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// The labels associated with this game server deployment. Each label is a |
|
|
|
|
// key-value pair. |
|
|
|
@ -252,10 +262,12 @@ message GameServerDeploymentRollout { |
|
|
|
|
string name = 1; |
|
|
|
|
|
|
|
|
|
// Output only. The creation time. |
|
|
|
|
google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
google.protobuf.Timestamp create_time = 2 |
|
|
|
|
[(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Output only. The last-modified time. |
|
|
|
|
google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
google.protobuf.Timestamp update_time = 3 |
|
|
|
|
[(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// The default game server config is applied to all realms unless overridden |
|
|
|
|
// in the rollout. For example, |
|
|
|
@ -276,7 +288,8 @@ message GameServerDeploymentRollout { |
|
|
|
|
message PreviewGameServerDeploymentRolloutRequest { |
|
|
|
|
// Required. The game server deployment rollout to be updated. |
|
|
|
|
// Only fields specified in update_mask are updated. |
|
|
|
|
GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
GameServerDeploymentRollout rollout = 1 |
|
|
|
|
[(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// Optional. Mask of fields to update. At least one path must be supplied in |
|
|
|
|
// this field. For the `FieldMask` definition, see |
|
|
|
@ -284,11 +297,13 @@ message PreviewGameServerDeploymentRolloutRequest { |
|
|
|
|
// https: |
|
|
|
|
// //developers.google.com/protocol-buffers |
|
|
|
|
// // /docs/reference/google.protobuf#fieldmask |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
google.protobuf.FieldMask update_mask = 2 |
|
|
|
|
[(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
|
|
|
|
|
// Optional. The target timestamp to compute the preview. Defaults to the immediately |
|
|
|
|
// after the proposed rollout completes. |
|
|
|
|
google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
// Optional. The target timestamp to compute the preview. Defaults to the |
|
|
|
|
// immediately after the proposed rollout completes. |
|
|
|
|
google.protobuf.Timestamp preview_time = 3 |
|
|
|
|
[(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Response message for PreviewGameServerDeploymentRollout. |
|
|
|
|