@@ -27,7 +27,6 @@ option java_multiple_files = true;
2727option java_outer_classname = "CloudRedisServiceV1Proto" ;
2828option java_package = "com.google.cloud.redis.v1" ;
2929
30-
3130// Configures and manages Cloud Memorystore for Redis instances
3231//
3332// Google Cloud Memorystore for Redis v1
@@ -77,7 +76,8 @@ service CloudRedis {
7776 //
7877 // The returned operation is automatically deleted after a few hours, so there
7978 // is no need to call DeleteOperation.
80- rpc CreateInstance (CreateInstanceRequest ) returns (google.longrunning.Operation ) {
79+ rpc CreateInstance (CreateInstanceRequest )
80+ returns (google.longrunning.Operation ) {
8181 option (google.api.http ) = {
8282 post : "/v1/{parent=projects/*/locations/*}/instances"
8383 body : "instance"
@@ -89,7 +89,8 @@ service CloudRedis {
8989 // Completed longrunning.Operation will contain the new instance object
9090 // in the response field. The returned operation is automatically deleted
9191 // after a few hours, so there is no need to call DeleteOperation.
92- rpc UpdateInstance (UpdateInstanceRequest ) returns (google.longrunning.Operation ) {
92+ rpc UpdateInstance (UpdateInstanceRequest )
93+ returns (google.longrunning.Operation ) {
9394 option (google.api.http ) = {
9495 patch : "/v1/{instance.name=projects/*/locations/*/instances/*}"
9596 body : "instance"
@@ -104,7 +105,8 @@ service CloudRedis {
104105 //
105106 // The returned operation is automatically deleted after a few hours, so
106107 // there is no need to call DeleteOperation.
107- rpc ImportInstance (ImportInstanceRequest ) returns (google.longrunning.Operation ) {
108+ rpc ImportInstance (ImportInstanceRequest )
109+ returns (google.longrunning.Operation ) {
108110 option (google.api.http ) = {
109111 post : "/v1/{name=projects/*/locations/*/instances/*}:import"
110112 body : "*"
@@ -117,7 +119,8 @@ service CloudRedis {
117119 //
118120 // The returned operation is automatically deleted after a few hours, so
119121 // there is no need to call DeleteOperation.
120- rpc ExportInstance (ExportInstanceRequest ) returns (google.longrunning.Operation ) {
122+ rpc ExportInstance (ExportInstanceRequest )
123+ returns (google.longrunning.Operation ) {
121124 option (google.api.http ) = {
122125 post : "/v1/{name=projects/*/locations/*/instances/*}:export"
123126 body : "*"
@@ -126,7 +129,8 @@ service CloudRedis {
126129
127130 // Failover the master role to current replica node against a specific
128131 // STANDARD tier redis instance.
129- rpc FailoverInstance (FailoverInstanceRequest ) returns (google.longrunning.Operation ) {
132+ rpc FailoverInstance (FailoverInstanceRequest )
133+ returns (google.longrunning.Operation ) {
130134 option (google.api.http ) = {
131135 post : "/v1/{name=projects/*/locations/*/instances/*}:failover"
132136 body : "*"
@@ -135,7 +139,8 @@ service CloudRedis {
135139
136140 // Deletes a specific Redis instance. Instance stops serving and data is
137141 // deleted.
138- rpc DeleteInstance (DeleteInstanceRequest ) returns (google.longrunning.Operation ) {
142+ rpc DeleteInstance (DeleteInstanceRequest )
143+ returns (google.longrunning.Operation ) {
139144 option (google.api.http ) = {
140145 delete : "/v1/{name=projects/*/locations/*/instances/*}"
141146 };
@@ -340,7 +345,8 @@ message GetInstanceRequest {
340345 string name = 1 ;
341346}
342347
343- // Request for [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance].
348+ // Request for
349+ // [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance].
344350message CreateInstanceRequest {
345351 // Required. The resource name of the instance location using the form:
346352 // `projects/{project_id}/locations/{location_id}`
@@ -361,7 +367,8 @@ message CreateInstanceRequest {
361367 Instance instance = 3 ;
362368}
363369
364- // Request for [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance].
370+ // Request for
371+ // [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance].
365372message UpdateInstanceRequest {
366373 // Required. Mask of fields to update. At least one path must be supplied in
367374 // this field. The elements of the repeated paths field may only include these
@@ -378,7 +385,8 @@ message UpdateInstanceRequest {
378385 Instance instance = 2 ;
379386}
380387
381- // Request for [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance].
388+ // Request for
389+ // [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance].
382390message DeleteInstanceRequest {
383391 // Required. Redis instance resource name using the form:
384392 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
@@ -412,7 +420,6 @@ message ImportInstanceRequest {
412420 InputConfig input_config = 3 ;
413421}
414422
415-
416423// The GCS location for the output content
417424message GcsDestination {
418425 // Required. Data destination URI (e.g.
@@ -503,6 +510,4 @@ message LocationMetadata {
503510
504511// Defines specific information for a particular zone. Currently empty and
505512// reserved for future use only.
506- message ZoneMetadata {
507-
508- }
513+ message ZoneMetadata {}
0 commit comments