Skip to content

Commit ee799bd

Browse files
Google APIscopybara-github
authored andcommitted
feat: [Memorystore for Redis Cluster] Added support for maintenance window and rescheduling maintenance
feat: [Memorystore for Redis Cluster] Added support for Backups and Backup Collections feat: [Memorystore for Redis Cluster] Added support for Multiple VPCs feat: [Memorystore for Redis Cluster] Added support for Cross Cluster Replication feat: [Memorystore for Redis Cluster] Added support for CMEK feat: New REQUIRED field `service_attachment` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` fix: Changed field behavior for an existing field `psc_connection_id` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` fix: Changed field behavior for an existing field `address` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` fix: Changed field behavior for an existing field `forwarding_rule` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` fix: Changed field behavior for an existing field `network` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` docs: A comment for enum value `NODE_TYPE_UNSPECIFIED` in enum `NodeType` is changed docs: A comment for field `name` in message `.google.cloud.redis.cluster.v1beta1.Cluster` is changed docs: A comment for field `shard_count` in message `.google.cloud.redis.cluster.v1beta1.Cluster` is changed docs: A comment for field `psc_configs` in message `.google.cloud.redis.cluster.v1beta1.Cluster` is changed docs: A comment for field `psc_connections` in message `.google.cloud.redis.cluster.v1beta1.Cluster` is changed docs: A comment for field `psc_connection_id` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` is changed docs: A comment for field `address` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` is changed docs: A comment for field `forwarding_rule` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` is changed docs: A comment for field `project_id` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` is changed docs: A comment for field `network` in message `.google.cloud.redis.cluster.v1beta1.PscConnection` is changed docs: A comment for enum value `ALWAYS` in enum `AppendFsync` is changed PiperOrigin-RevId: 715144046
1 parent 3d2a47e commit ee799bd

3 files changed

Lines changed: 1021 additions & 33 deletions

File tree

google/cloud/redis/cluster/v1beta1/BUILD.bazel

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@
99
# * extra_protoc_file_parameters
1010
# The complete list of preserved parameters can be found in the source code.
1111

12+
# buildifier: disable=load-on-top
13+
1214
# This is an API workspace, having public visibility by default makes perfect sense.
1315
package(default_visibility = ["//visibility:public"])
1416

1517
##############################################################################
1618
# Common
1719
##############################################################################
18-
load("@rules_proto//proto:defs.bzl", "proto_library")
20+
# buildifier: disable=same-origin-load
1921
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
22+
load("@rules_proto//proto:defs.bzl", "proto_library")
2023

2124
proto_library(
2225
name = "cluster_proto",
@@ -27,9 +30,13 @@ proto_library(
2730
"//google/api:annotations_proto",
2831
"//google/api:client_proto",
2932
"//google/api:field_behavior_proto",
33+
"//google/api:field_info_proto",
3034
"//google/api:resource_proto",
3135
"//google/longrunning:operations_proto",
36+
"//google/type:dayofweek_proto",
37+
"//google/type:timeofday_proto",
3238
"@com_google_protobuf//:any_proto",
39+
"@com_google_protobuf//:duration_proto",
3340
"@com_google_protobuf//:empty_proto",
3441
"@com_google_protobuf//:field_mask_proto",
3542
"@com_google_protobuf//:timestamp_proto",
@@ -48,6 +55,7 @@ proto_library_with_info(
4855
##############################################################################
4956
# Java
5057
##############################################################################
58+
# buildifier: disable=same-origin-load
5159
load(
5260
"@com_google_googleapis_imports//:imports.bzl",
5361
"java_gapic_assembly_gradle_pkg",
@@ -76,8 +84,8 @@ java_gapic_library(
7684
rest_numeric_enums = True,
7785
service_yaml = "redis_v1beta1.yaml",
7886
test_deps = [
79-
"//google/cloud/location:location_java_grpc",
8087
":cluster_java_grpc",
88+
"//google/cloud/location:location_java_grpc",
8189
],
8290
transport = "grpc+rest",
8391
deps = [
@@ -112,6 +120,7 @@ java_gapic_assembly_gradle_pkg(
112120
##############################################################################
113121
# Go
114122
##############################################################################
123+
# buildifier: disable=same-origin-load
115124
load(
116125
"@com_google_googleapis_imports//:imports.bzl",
117126
"go_gapic_assembly_pkg",
@@ -127,6 +136,8 @@ go_proto_library(
127136
deps = [
128137
"//google/api:annotations_go_proto",
129138
"//google/longrunning:longrunning_go_proto",
139+
"//google/type:dayofweek_go_proto",
140+
"//google/type:timeofday_go_proto",
130141
],
131142
)
132143

@@ -147,6 +158,7 @@ go_gapic_library(
147158
"@com_google_cloud_go_longrunning//:go_default_library",
148159
"@com_google_cloud_go_longrunning//autogen:go_default_library",
149160
"@io_bazel_rules_go//proto/wkt:any_go_proto",
161+
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
150162
],
151163
)
152164

@@ -165,6 +177,7 @@ go_gapic_assembly_pkg(
165177
##############################################################################
166178
# Python
167179
##############################################################################
180+
# buildifier: disable=same-origin-load
168181
load(
169182
"@com_google_googleapis_imports//:imports.bzl",
170183
"py_gapic_assembly_pkg",
@@ -176,15 +189,15 @@ py_gapic_library(
176189
name = "cluster_py_gapic",
177190
srcs = [":cluster_proto"],
178191
grpc_service_config = "redis_cluster_v1beta1_grpc_service_config.json",
192+
opt_args = [
193+
"python-gapic-name=redis_cluster",
194+
"python-gapic-namespace=google.cloud",
195+
],
179196
rest_numeric_enums = True,
180197
service_yaml = "redis_v1beta1.yaml",
181198
transport = "grpc+rest",
182199
deps = [
183200
],
184-
opt_args = [
185-
"python-gapic-namespace=google.cloud",
186-
"python-gapic-name=redis_cluster",
187-
],
188201
)
189202

190203
py_test(
@@ -208,6 +221,7 @@ py_gapic_assembly_pkg(
208221
##############################################################################
209222
# PHP
210223
##############################################################################
224+
# buildifier: disable=same-origin-load
211225
load(
212226
"@com_google_googleapis_imports//:imports.bzl",
213227
"php_gapic_assembly_pkg",
@@ -245,6 +259,7 @@ php_gapic_assembly_pkg(
245259
##############################################################################
246260
# Node.js
247261
##############################################################################
262+
# buildifier: disable=same-origin-load
248263
load(
249264
"@com_google_googleapis_imports//:imports.bzl",
250265
"nodejs_gapic_assembly_pkg",
@@ -275,6 +290,7 @@ nodejs_gapic_assembly_pkg(
275290
##############################################################################
276291
# Ruby
277292
##############################################################################
293+
# buildifier: disable=same-origin-load
278294
load(
279295
"@com_google_googleapis_imports//:imports.bzl",
280296
"ruby_cloud_gapic_library",
@@ -324,6 +340,7 @@ ruby_gapic_assembly_pkg(
324340
##############################################################################
325341
# C#
326342
##############################################################################
343+
# buildifier: disable=same-origin-load
327344
load(
328345
"@com_google_googleapis_imports//:imports.bzl",
329346
"csharp_gapic_assembly_pkg",
@@ -334,7 +351,6 @@ load(
334351

335352
csharp_proto_library(
336353
name = "cluster_csharp_proto",
337-
extra_opts = [],
338354
deps = [":cluster_proto"],
339355
)
340356

@@ -351,6 +367,7 @@ csharp_gapic_library(
351367
grpc_service_config = "redis_cluster_v1beta1_grpc_service_config.json",
352368
rest_numeric_enums = True,
353369
service_yaml = "redis_v1beta1.yaml",
370+
transport = "grpc+rest",
354371
deps = [
355372
":cluster_csharp_grpc",
356373
":cluster_csharp_proto",
@@ -370,6 +387,7 @@ csharp_gapic_assembly_pkg(
370387
##############################################################################
371388
# C++
372389
##############################################################################
390+
# buildifier: disable=same-origin-load
373391
load(
374392
"@com_google_googleapis_imports//:imports.bzl",
375393
"cc_grpc_library",

0 commit comments

Comments
 (0)