File tree 10 files changed +839
-725
lines changed
generated/mockgcp/cloud/alloydb/v1beta
pkg/test/resourcefixture/testdata/basic/alloydb/v1beta1
basicalloydbsecondarycluster
basicalloydbsecondaryinstance
10 files changed +839
-725
lines changed Original file line number Diff line number Diff line change @@ -51,3 +51,16 @@ cd tools/patch-proto
51
51
# MaintenanceUpdatePolicy maintenance_update_policy = 32;
52
52
# EOF
53
53
54
+ # Use our proto patch tool to add the missing pscConfig field for AlloyDB cluster.
55
+ go run . --file ${REPO_ROOT} /mockgcp/third_party/googleapis/google/cloud/alloydb/v1beta/resources.proto --message Cluster << EOF
56
+
57
+ // PscConfig contains PSC related configuration at a cluster level.
58
+ message PscConfig {
59
+ // Optional. Create an instance that allows connections from Private Service
60
+ // Connect endpoints to the instance.
61
+ bool psc_enabled = 1 [(google.api.field_behavior) = OPTIONAL];
62
+ }
63
+
64
+ // Optional. The configuration for Private Service Connect (PSC) for the cluster.
65
+ PscConfig psc_config = 31 [(google.api.field_behavior) = OPTIONAL];
66
+ EOF
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ Grpc-Metadata-Content-Type: application/grpc
299
299
"network": "projects/${projectId}/global/networks/${networkID}"
300
300
},
301
301
"primaryConfig": null,
302
+ "pscConfig": null,
302
303
"reconciling": false,
303
304
"satisfiesPzs": false,
304
305
"secondaryConfig": null,
@@ -391,6 +392,7 @@ Grpc-Metadata-Content-Type: application/grpc
391
392
"network": "projects/${projectId}/global/networks/${networkID}"
392
393
},
393
394
"primaryConfig": null,
395
+ "pscConfig": null,
394
396
"reconciling": false,
395
397
"satisfiesPzs": false,
396
398
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ Grpc-Metadata-Content-Type: application/grpc
210
210
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
211
211
},
212
212
"primaryConfig": null,
213
+ "pscConfig": null,
213
214
"reconciling": false,
214
215
"satisfiesPzs": false,
215
216
"secondaryConfig": null,
@@ -777,6 +778,7 @@ Grpc-Metadata-Content-Type: application/grpc
777
778
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
778
779
},
779
780
"primaryConfig": null,
781
+ "pscConfig": null,
780
782
"reconciling": false,
781
783
"satisfiesPzs": false,
782
784
"secondaryConfig": {
@@ -867,6 +869,7 @@ Grpc-Metadata-Content-Type: application/grpc
867
869
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
868
870
},
869
871
"primaryConfig": null,
872
+ "pscConfig": null,
870
873
"reconciling": false,
871
874
"satisfiesPzs": false,
872
875
"secondaryConfig": {
@@ -1230,6 +1233,7 @@ Grpc-Metadata-Content-Type: application/grpc
1230
1233
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
1231
1234
},
1232
1235
"primaryConfig": null,
1236
+ "pscConfig": null,
1233
1237
"reconciling": false,
1234
1238
"satisfiesPzs": false,
1235
1239
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -572,6 +572,7 @@ Grpc-Metadata-Content-Type: application/grpc
572
572
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
573
573
},
574
574
"primaryConfig": null,
575
+ "pscConfig": null,
575
576
"reconciling": false,
576
577
"satisfiesPzs": false,
577
578
"secondaryConfig": null,
@@ -722,6 +723,7 @@ Grpc-Metadata-Content-Type: application/grpc
722
723
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
723
724
},
724
725
"primaryConfig": null,
726
+ "pscConfig": null,
725
727
"reconciling": false,
726
728
"satisfiesPzs": false,
727
729
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ Grpc-Metadata-Content-Type: application/grpc
210
210
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
211
211
},
212
212
"primaryConfig": null,
213
+ "pscConfig": null,
213
214
"reconciling": false,
214
215
"satisfiesPzs": false,
215
216
"secondaryConfig": null,
@@ -1063,6 +1064,7 @@ Grpc-Metadata-Content-Type: application/grpc
1063
1064
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
1064
1065
},
1065
1066
"primaryConfig": null,
1067
+ "pscConfig": null,
1066
1068
"reconciling": false,
1067
1069
"satisfiesPzs": false,
1068
1070
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ Grpc-Metadata-Content-Type: application/grpc
210
210
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
211
211
},
212
212
"primaryConfig": null,
213
+ "pscConfig": null,
213
214
"reconciling": false,
214
215
"satisfiesPzs": false,
215
216
"secondaryConfig": null,
@@ -777,6 +778,7 @@ Grpc-Metadata-Content-Type: application/grpc
777
778
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
778
779
},
779
780
"primaryConfig": null,
781
+ "pscConfig": null,
780
782
"reconciling": false,
781
783
"satisfiesPzs": false,
782
784
"secondaryConfig": {
@@ -992,6 +994,7 @@ Grpc-Metadata-Content-Type: application/grpc
992
994
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
993
995
},
994
996
"primaryConfig": null,
997
+ "pscConfig": null,
995
998
"reconciling": false,
996
999
"satisfiesPzs": false,
997
1000
"secondaryConfig": {
@@ -1355,6 +1358,7 @@ Grpc-Metadata-Content-Type: application/grpc
1355
1358
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
1356
1359
},
1357
1360
"primaryConfig": null,
1361
+ "pscConfig": null,
1358
1362
"reconciling": false,
1359
1363
"satisfiesPzs": false,
1360
1364
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ Grpc-Metadata-Content-Type: application/grpc
205
205
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}",
206
206
"networkConfig": null,
207
207
"primaryConfig": null,
208
+ "pscConfig": null,
208
209
"reconciling": false,
209
210
"satisfiesPzs": false,
210
211
"secondaryConfig": null,
@@ -1089,6 +1090,7 @@ Grpc-Metadata-Content-Type: application/grpc
1089
1090
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}",
1090
1091
"networkConfig": null,
1091
1092
"primaryConfig": null,
1093
+ "pscConfig": null,
1092
1094
"reconciling": false,
1093
1095
"satisfiesPzs": false,
1094
1096
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ Grpc-Metadata-Content-Type: application/grpc
205
205
"network": "projects/${projectId}/global/networks/computenetwork${uniqueId}",
206
206
"networkConfig": null,
207
207
"primaryConfig": null,
208
+ "pscConfig": null,
208
209
"reconciling": false,
209
210
"satisfiesPzs": false,
210
211
"secondaryConfig": null,
@@ -1209,6 +1210,7 @@ Grpc-Metadata-Content-Type: application/grpc
1209
1210
"network": "projects/${projectId}/global/networks/computenetwork${uniqueId}",
1210
1211
"networkConfig": null,
1211
1212
"primaryConfig": null,
1213
+ "pscConfig": null,
1212
1214
"reconciling": false,
1213
1215
"satisfiesPzs": false,
1214
1216
"secondaryConfig": null,
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ Grpc-Metadata-Content-Type: application/grpc
210
210
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
211
211
},
212
212
"primaryConfig": null,
213
+ "pscConfig": null,
213
214
"reconciling": false,
214
215
"satisfiesPzs": false,
215
216
"secondaryConfig": null,
@@ -985,6 +986,7 @@ Grpc-Metadata-Content-Type: application/grpc
985
986
"network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}"
986
987
},
987
988
"primaryConfig": null,
989
+ "pscConfig": null,
988
990
"reconciling": false,
989
991
"satisfiesPzs": false,
990
992
"secondaryConfig": null,
You can’t perform that action at this time.
0 commit comments