Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#217)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472561635

Source-Link: googleapis/googleapis@332ecf5

Source-Link: googleapis/googleapis-gen@4313d68
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 7, 2022
1 parent c7b5e6d commit 820ced2
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ async def report_phishing(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import phishingprotection_v1beta1
async def sample_report_phishing():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,13 @@ def report_phishing(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import phishingprotection_v1beta1
def sample_report_phishing():
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-phishing-protection/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[mypy]
python_version = 3.6
python_version = 3.7
namespace_packages = True
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import phishingprotection_v1beta1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import phishingprotection_v1beta1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,33 +63,33 @@
"regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_async",
"segments": [
{
"end": 45,
"end": 52,
"start": 27,
"type": "FULL"
},
{
"end": 45,
"end": 52,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 39,
"start": 34,
"end": 46,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 42,
"start": 40,
"end": 49,
"start": 47,
"type": "REQUEST_EXECUTION"
},
{
"end": 46,
"start": 43,
"end": 53,
"start": 50,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -147,33 +147,33 @@
"regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_sync",
"segments": [
{
"end": 45,
"end": 52,
"start": 27,
"type": "FULL"
},
{
"end": 45,
"end": 52,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 39,
"start": 34,
"end": 46,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 42,
"start": 40,
"end": 49,
"start": 47,
"type": "REQUEST_EXECUTION"
},
{
"end": 46,
"start": 43,
"end": 53,
"start": 50,
"type": "RESPONSE_HANDLING"
}
],
Expand Down

0 comments on commit 820ced2

Please sign in to comment.