Thanks to visit codestin.com
Credit goes to github.com

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

Commit e414723

Browse files
feat: Add support for python 3.11 (#421)
* feat: Add support for python 3.11 chore: Update gapic-generator-python to v1.8.0 PiperOrigin-RevId: 500768693 Source-Link: googleapis/googleapis@190b612 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7bf29a414b9ecac3170f0b65bdc2a95705c0ef1a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 Updates from OwlBot post-processor 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 d3b23ae commit e414723

File tree

11 files changed

+18
-9
lines changed

11 files changed

+18
-9
lines changed

google/cloud/securitycenter_v1/services/security_center/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def get_mtls_endpoint_and_cert_source(
210210
The API endpoint is determined in the following order:
211211
(1) if `client_options.api_endpoint` if provided, use the provided one.
212212
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
213-
default mTLS endpoint; if the environment variabel is "never", use the default API
213+
default mTLS endpoint; if the environment variable is "never", use the default API
214214
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
215215
use the default API endpoint.
216216

google/cloud/securitycenter_v1/services/security_center/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def get_mtls_endpoint_and_cert_source(
512512
The API endpoint is determined in the following order:
513513
(1) if `client_options.api_endpoint` if provided, use the provided one.
514514
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
515-
default mTLS endpoint; if the environment variabel is "never", use the default API
515+
default mTLS endpoint; if the environment variable is "never", use the default API
516516
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
517517
use the default API endpoint.
518518

google/cloud/securitycenter_v1beta1/services/security_center/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_mtls_endpoint_and_cert_source(
167167
The API endpoint is determined in the following order:
168168
(1) if `client_options.api_endpoint` if provided, use the provided one.
169169
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
170-
default mTLS endpoint; if the environment variabel is "never", use the default API
170+
default mTLS endpoint; if the environment variable is "never", use the default API
171171
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
172172
use the default API endpoint.
173173

google/cloud/securitycenter_v1beta1/services/security_center/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def get_mtls_endpoint_and_cert_source(
386386
The API endpoint is determined in the following order:
387387
(1) if `client_options.api_endpoint` if provided, use the provided one.
388388
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
389-
default mTLS endpoint; if the environment variabel is "never", use the default API
389+
default mTLS endpoint; if the environment variable is "never", use the default API
390390
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
391391
use the default API endpoint.
392392

google/cloud/securitycenter_v1p1beta1/services/security_center/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def get_mtls_endpoint_and_cert_source(
181181
The API endpoint is determined in the following order:
182182
(1) if `client_options.api_endpoint` if provided, use the provided one.
183183
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
184-
default mTLS endpoint; if the environment variabel is "never", use the default API
184+
default mTLS endpoint; if the environment variable is "never", use the default API
185185
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
186186
use the default API endpoint.
187187

google/cloud/securitycenter_v1p1beta1/services/security_center/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def get_mtls_endpoint_and_cert_source(
429429
The API endpoint is determined in the following order:
430430
(1) if `client_options.api_endpoint` if provided, use the provided one.
431431
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
432-
default mTLS endpoint; if the environment variabel is "never", use the default API
432+
default mTLS endpoint; if the environment variable is "never", use the default API
433433
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
434434
use the default API endpoint.
435435

samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.17.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.17.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.17.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
dependencies = [
4141
"google-api-core[grpc] >= 1.34.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
4242
"proto-plus >= 1.22.0, <2.0.0dev",
43+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4344
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
4445
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
4546
]
@@ -80,6 +81,7 @@
8081
"Programming Language :: Python :: 3.8",
8182
"Programming Language :: Python :: 3.9",
8283
"Programming Language :: Python :: 3.10",
84+
"Programming Language :: Python :: 3.11",
8385
"Operating System :: OS Independent",
8486
"Topic :: Internet",
8587
],

0 commit comments

Comments
 (0)