Skip to content

Commit fed73d4

Browse files
Google APIscopybara-github
authored andcommitted
feat: add secondary_ip_range field
PiperOrigin-RevId: 427771855
1 parent 5556c91 commit fed73d4

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

google/cloud/redis/v1beta1/cloud_redis.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -229,7 +229,7 @@ message NodeInfo {
229229
string zone = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
230230
}
231231

232-
// A Google Cloud Redis instance.
232+
// A Memorystore for Redis instance.
233233
message Instance {
234234
option (google.api.resource) = {
235235
type: "redis.googleapis.com/Instance"
@@ -372,6 +372,13 @@ message Instance {
372372
// the default block size is /28.
373373
string reserved_ip_range = 9 [(google.api.field_behavior) = OPTIONAL];
374374

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+
375382
// Output only. Hostname or IP address of the exposed Redis endpoint used by
376383
// clients to connect to the service.
377384
string host = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -479,8 +486,7 @@ message Instance {
479486
// endpoint. Standard tier only. Write requests should target 'port'.
480487
int32 read_endpoint_port = 34 [(google.api.field_behavior) = OUTPUT_ONLY];
481488

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.
484490
ReadReplicasMode read_replicas_mode = 35 [(google.api.field_behavior) = OPTIONAL];
485491

486492
// Optional. Persistence configuration parameters

0 commit comments

Comments
 (0)