Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit c454a54

Browse files
feat: add secondary_ip_range field (#549)
* feat: add secondary_ip_range field PiperOrigin-RevId: 427771855 Source-Link: googleapis/googleapis@fed73d4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6d7c477f455cdab984e6e45c906a35bdcb3f3252 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmQ3YzQ3N2Y0NTVjZGFiOTg0ZTZlNDVjOTA2YTM1YmRjYjNmMzI1MiJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d54076b commit c454a54

4 files changed

Lines changed: 45 additions & 4 deletions

File tree

protos/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

protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)