Content-Length: 764833 | pFad | https://github.com/googleapis/google-cloud-python/commit/0f72d586cebe5d6bb7e127aded5eb49dcc2ca8d9

72 feat: Add support to generate client certificate and get connection i… · googleapis/google-cloud-python@0f72d58 · GitHub
Skip to content

Commit 0f72d58

Browse files
feat: Add support to generate client certificate and get connection info for auth proxy in AlloyDB v1 (#11764)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 569333566 Source-Link: googleapis/googleapis@bc4a508 Source-Link: googleapis/googleapis-gen@5512615 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFsbG95ZGIvLk93bEJvdC55YW1sIiwiaCI6IjU1MTI2MTU5NWE4Y2EyMmM4YWFmNzJlYjdjZDUxM2I3NTEzZjljZWMifQ== BEGIN_NESTED_COMMIT feat: Add support to generate client certificate and get connection info for auth proxy in AlloyDB v1 PiperOrigin-RevId: 568860878 Source-Link: googleapis/googleapis@5601ad3 Source-Link: googleapis/googleapis-gen@a1f1322 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFsbG95ZGIvLk93bEJvdC55YW1sIiwiaCI6ImExZjEzMjI2MGFmMjhhMzM2ZjQzZDVhN2E1M2JmM2U2NmE0Yjc1ZTgifQ== END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 4cf708c commit 0f72d58

28 files changed

+6009
-3259
lines changed

packages/google-cloud-alloydb/.OwlBot.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
deep-preserve-regex:
16+
- /owl-bot-staging/google-cloud-alloydb/connectors
17+
1518
deep-copy-regex:
1619
- source: /google/cloud/alloydb/(.*)/.*-py
1720
dest: /owl-bot-staging/google-cloud-alloydb/$1

packages/google-cloud-alloydb/CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system- -- -k <name of test>
146+
$ nox -s system-3.11 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python.
151+
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local

packages/google-cloud-alloydb/google/cloud/alloydb/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
BackupSource,
2929
Cluster,
3030
ClusterView,
31+
ConnectionInfo,
3132
ContinuousBackupConfig,
3233
ContinuousBackupInfo,
3334
ContinuousBackupSource,
@@ -59,8 +60,11 @@
5960
DeleteInstanceRequest,
6061
DeleteUserRequest,
6162
FailoverInstanceRequest,
63+
GenerateClientCertificateRequest,
64+
GenerateClientCertificateResponse,
6265
GetBackupRequest,
6366
GetClusterRequest,
67+
GetConnectionInfoRequest,
6468
GetInstanceRequest,
6569
GetUserRequest,
6670
InjectFaultRequest,
@@ -91,6 +95,7 @@
9195
"Backup",
9296
"BackupSource",
9397
"Cluster",
98+
"ConnectionInfo",
9499
"ContinuousBackupConfig",
95100
"ContinuousBackupInfo",
96101
"ContinuousBackupSource",
@@ -121,8 +126,11 @@
121126
"DeleteInstanceRequest",
122127
"DeleteUserRequest",
123128
"FailoverInstanceRequest",
129+
"GenerateClientCertificateRequest",
130+
"GenerateClientCertificateResponse",
124131
"GetBackupRequest",
125132
"GetClusterRequest",
133+
"GetConnectionInfoRequest",
126134
"GetInstanceRequest",
127135
"GetUserRequest",
128136
"InjectFaultRequest",

packages/google-cloud-alloydb/google/cloud/alloydb/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.3.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-alloydb/google/cloud/alloydb_v1/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
BackupSource,
2626
Cluster,
2727
ClusterView,
28+
ConnectionInfo,
2829
ContinuousBackupConfig,
2930
ContinuousBackupInfo,
3031
ContinuousBackupSource,
@@ -56,8 +57,11 @@
5657
DeleteInstanceRequest,
5758
DeleteUserRequest,
5859
FailoverInstanceRequest,
60+
GenerateClientCertificateRequest,
61+
GenerateClientCertificateResponse,
5962
GetBackupRequest,
6063
GetClusterRequest,
64+
GetConnectionInfoRequest,
6165
GetInstanceRequest,
6266
GetUserRequest,
6367
InjectFaultRequest,
@@ -93,6 +97,7 @@
9397
"BatchCreateInstancesResponse",
9498
"Cluster",
9599
"ClusterView",
100+
"ConnectionInfo",
96101
"ContinuousBackupConfig",
97102
"ContinuousBackupInfo",
98103
"ContinuousBackupSource",
@@ -111,8 +116,11 @@
111116
"EncryptionConfig",
112117
"EncryptionInfo",
113118
"FailoverInstanceRequest",
119+
"GenerateClientCertificateRequest",
120+
"GenerateClientCertificateResponse",
114121
"GetBackupRequest",
115122
"GetClusterRequest",
123+
"GetConnectionInfoRequest",
116124
"GetInstanceRequest",
117125
"GetUserRequest",
118126
"InjectFaultRequest",

packages/google-cloud-alloydb/google/cloud/alloydb_v1/gapic_metadata.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
"failover_instance"
7171
]
7272
},
73+
"GenerateClientCertificate": {
74+
"methods": [
75+
"generate_client_certificate"
76+
]
77+
},
7378
"GetBackup": {
7479
"methods": [
7580
"get_backup"
@@ -80,6 +85,11 @@
8085
"get_cluster"
8186
]
8287
},
88+
"GetConnectionInfo": {
89+
"methods": [
90+
"get_connection_info"
91+
]
92+
},
8393
"GetInstance": {
8494
"methods": [
8595
"get_instance"
@@ -220,6 +230,11 @@
220230
"failover_instance"
221231
]
222232
},
233+
"GenerateClientCertificate": {
234+
"methods": [
235+
"generate_client_certificate"
236+
]
237+
},
223238
"GetBackup": {
224239
"methods": [
225240
"get_backup"
@@ -230,6 +245,11 @@
230245
"get_cluster"
231246
]
232247
},
248+
"GetConnectionInfo": {
249+
"methods": [
250+
"get_connection_info"
251+
]
252+
},
233253
"GetInstance": {
234254
"methods": [
235255
"get_instance"
@@ -370,6 +390,11 @@
370390
"failover_instance"
371391
]
372392
},
393+
"GenerateClientCertificate": {
394+
"methods": [
395+
"generate_client_certificate"
396+
]
397+
},
373398
"GetBackup": {
374399
"methods": [
375400
"get_backup"
@@ -380,6 +405,11 @@
380405
"get_cluster"
381406
]
382407
},
408+
"GetConnectionInfo": {
409+
"methods": [
410+
"get_connection_info"
411+
]
412+
},
383413
"GetInstance": {
384414
"methods": [
385415
"get_instance"

packages/google-cloud-alloydb/google/cloud/alloydb_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.3.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/google-cloud-python/commit/0f72d586cebe5d6bb7e127aded5eb49dcc2ca8d9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy