Skip to content

Commit

Permalink
feat: add secondary_ip_range field
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 427771855
  • Loading branch information
Google APIs authored and copybara-github committed Feb 10, 2022
1 parent 5556c91 commit fed73d4
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions google/cloud/redis/v1beta1/cloud_redis.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -229,7 +229,7 @@ message NodeInfo {
string zone = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}

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

// Optional. Additional IP range for node placement. Required when enabling read
// replicas on an existing instance. For DIRECT_PEERING mode value must be a
// CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value
// must be the name of an allocated address range associated with the private
// service access connection, or "auto".
string secondary_ip_range = 30 [(google.api.field_behavior) = OPTIONAL];

// Output only. Hostname or IP address of the exposed Redis endpoint used by
// clients to connect to the service.
string host = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down Expand Up @@ -479,8 +486,7 @@ message Instance {
// endpoint. Standard tier only. Write requests should target 'port'.
int32 read_endpoint_port = 34 [(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. Read replica mode. Can only be specified when trying to create the
// instance.
// Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
ReadReplicasMode read_replicas_mode = 35 [(google.api.field_behavior) = OPTIONAL];

// Optional. Persistence configuration parameters
Expand Down

0 comments on commit fed73d4

Please sign in to comment.