|
1 | | -// Copyright 2021 Google LLC |
| 1 | +// Copyright 2022 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. |
@@ -229,7 +229,7 @@ message NodeInfo { |
229 | 229 | string zone = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; |
230 | 230 | } |
231 | 231 |
|
232 | | -// A Google Cloud Redis instance. |
| 232 | +// A Memorystore for Redis instance. |
233 | 233 | message Instance { |
234 | 234 | option (google.api.resource) = { |
235 | 235 | type: "redis.googleapis.com/Instance" |
@@ -372,6 +372,13 @@ message Instance { |
372 | 372 | // the default block size is /28. |
373 | 373 | string reserved_ip_range = 9 [(google.api.field_behavior) = OPTIONAL]; |
374 | 374 |
|
| 375 | + // Optional. Additional IP range for node placement. Required when enabling read |
| 376 | + // replicas on an existing instance. For DIRECT_PEERING mode value must be a |
| 377 | + // CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value |
| 378 | + // must be the name of an allocated address range associated with the private |
| 379 | + // service access connection, or "auto". |
| 380 | + string secondary_ip_range = 30 [(google.api.field_behavior) = OPTIONAL]; |
| 381 | + |
375 | 382 | // Output only. Hostname or IP address of the exposed Redis endpoint used by |
376 | 383 | // clients to connect to the service. |
377 | 384 | string host = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; |
@@ -479,8 +486,7 @@ message Instance { |
479 | 486 | // endpoint. Standard tier only. Write requests should target 'port'. |
480 | 487 | int32 read_endpoint_port = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; |
481 | 488 |
|
482 | | - // Optional. Read replica mode. Can only be specified when trying to create the |
483 | | - // instance. |
| 489 | + // Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. |
484 | 490 | ReadReplicasMode read_replicas_mode = 35 [(google.api.field_behavior) = OPTIONAL]; |
485 | 491 |
|
486 | 492 | // Optional. Persistence configuration parameters |
|
0 commit comments