1
- // Copyright 2020 Google LLC
1
+ // Copyright 2019 Google LLC.
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
+ //
14
15
15
16
syntax = "proto3" ;
16
17
@@ -24,7 +25,6 @@ import "google/protobuf/timestamp.proto";
24
25
import "google/api/annotations.proto" ;
25
26
26
27
option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming" ;
27
-
28
28
option java_multiple_files = true ;
29
29
option java_package = "com.google.cloud.gaming.v1beta" ;
30
30
@@ -35,7 +35,7 @@ message ListGameServerClustersRequest {
35
35
string parent = 1 [
36
36
(google.api.field_behavior ) = REQUIRED ,
37
37
(google.api.resource_reference ) = {
38
- child_type : "gameservices.googleapis.com/GameServerCluster"
38
+ type : "gameservices.googleapis.com/GameServerCluster"
39
39
}
40
40
];
41
41
@@ -90,7 +90,7 @@ message CreateGameServerClusterRequest {
90
90
string parent = 1 [
91
91
(google.api.field_behavior ) = REQUIRED ,
92
92
(google.api.resource_reference ) = {
93
- child_type : "gameservices.googleapis.com/GameServerCluster"
93
+ type : "gameservices.googleapis.com/GameServerCluster"
94
94
}
95
95
];
96
96
@@ -105,12 +105,7 @@ message CreateGameServerClusterRequest {
105
105
message PreviewCreateGameServerClusterRequest {
106
106
// Required. The parent resource name. Uses the form:
107
107
// `projects/{project}/locations/{location}/realms/{realm}`.
108
- string parent = 1 [
109
- (google.api.field_behavior ) = REQUIRED ,
110
- (google.api.resource_reference ) = {
111
- child_type : "gameservices.googleapis.com/GameServerCluster"
112
- }
113
- ];
108
+ string parent = 1 [(google.api.field_behavior ) = REQUIRED ];
114
109
115
110
// Required. The ID of the Game Server Cluster resource to be created.
116
111
string game_server_cluster_id = 2 [(google.api.field_behavior ) = REQUIRED ];
@@ -148,12 +143,7 @@ message DeleteGameServerClusterRequest {
148
143
message PreviewDeleteGameServerClusterRequest {
149
144
// Required. The name of the Game Server Cluster to delete. Uses the form:
150
145
// `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
151
- string name = 1 [
152
- (google.api.field_behavior ) = REQUIRED ,
153
- (google.api.resource_reference ) = {
154
- type : "gameservices.googleapis.com/GameServerCluster"
155
- }
156
- ];
146
+ string name = 1 [(google.api.field_behavior ) = REQUIRED ];
157
147
158
148
// Optional. The target timestamp to compute the preview.
159
149
google.protobuf.Timestamp preview_time = 2 [(google.api.field_behavior ) = OPTIONAL ];
0 commit comments