Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#76)
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 12db093 commit bfe23fe
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ async def optimize_tours(
.. 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 optimization_v1
async def sample_optimize_tours():
Expand Down Expand Up @@ -344,6 +351,13 @@ async def batch_optimize_tours(
.. 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 optimization_v1
async def sample_batch_optimize_tours():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,13 @@ def optimize_tours(
.. 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 optimization_v1
def sample_optimize_tours():
Expand Down Expand Up @@ -543,6 +550,13 @@ def batch_optimize_tours(
.. 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 optimization_v1
def sample_batch_optimize_tours():
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-optimization/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 cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_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 optimization_v1


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


# [START cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_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 optimization_v1


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


# [START cloudoptimization_v1_generated_FleetRouting_OptimizeTours_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 optimization_v1


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


# [START cloudoptimization_v1_generated_FleetRouting_OptimizeTours_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 optimization_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,33 @@
"regionTag": "cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_async",
"segments": [
{
"end": 53,
"end": 60,
"start": 27,
"type": "FULL"
},
{
"end": 53,
"end": 60,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 43,
"start": 34,
"end": 50,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 50,
"start": 44,
"end": 57,
"start": 51,
"type": "REQUEST_EXECUTION"
},
{
"end": 54,
"start": 51,
"end": 61,
"start": 58,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -131,33 +131,33 @@
"regionTag": "cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_sync",
"segments": [
{
"end": 53,
"end": 60,
"start": 27,
"type": "FULL"
},
{
"end": 53,
"end": 60,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 43,
"start": 34,
"end": 50,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 50,
"start": 44,
"end": 57,
"start": 51,
"type": "REQUEST_EXECUTION"
},
{
"end": 54,
"start": 51,
"end": 61,
"start": 58,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -208,33 +208,33 @@
"regionTag": "cloudoptimization_v1_generated_FleetRouting_OptimizeTours_async",
"segments": [
{
"end": 44,
"end": 51,
"start": 27,
"type": "FULL"
},
{
"end": 44,
"end": 51,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 38,
"start": 34,
"end": 45,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 41,
"start": 39,
"end": 48,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 45,
"start": 42,
"end": 52,
"start": 49,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -284,33 +284,33 @@
"regionTag": "cloudoptimization_v1_generated_FleetRouting_OptimizeTours_sync",
"segments": [
{
"end": 44,
"end": 51,
"start": 27,
"type": "FULL"
},
{
"end": 44,
"end": 51,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"end": 40,
"start": 38,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 38,
"start": 34,
"end": 45,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 41,
"start": 39,
"end": 48,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 45,
"start": 42,
"end": 52,
"start": 49,
"type": "RESPONSE_HANDLING"
}
],
Expand Down

0 comments on commit bfe23fe

Please sign in to comment.