Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.6.1 (#358)
Browse files Browse the repository at this point in the history
* chore: update to gapic-generator-python 1.5.0

feat: add support for `google.cloud.<api>.__version__`
PiperOrigin-RevId: 484665853

Source-Link: googleapis/googleapis@8eb249a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update version in gapic_version.py

* add .release-please-manifest.json with correct version

* add owlbot.py to exclude generated gapic_version.py

* set manifest to true in .github/release-please.yml

* add release-please-config.json

* chore: Update to gapic-generator-python 1.6.0

feat(python): Add typing to proto.Message based class attributes

feat(python): Snippetgen handling of repeated enum field

PiperOrigin-RevId: 487326846

Source-Link: googleapis/googleapis@da380c7

Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: new APIs added to reflect updates to the filestore service

- Add ENTERPRISE Tier
- Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot
- Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare
- Add ConnectMode to NetworkConfig (for Private Service Access support)
- New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING)
- Add SuspensionReason (for KMS related suspension)
- Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled

PiperOrigin-RevId: 487492758

Source-Link: googleapis/googleapis@5be5981

Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update path to snippet metadata json

* chore: Update gapic-generator-python to v1.6.1

PiperOrigin-RevId: 488036204

Source-Link: googleapis/googleapis@08f275f

Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9

* 🦉 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>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2022
1 parent 516001b commit b064d15
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_create_control():
# Initialize request argument(s)
control = retail_v2.Control()
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_create_control():
# Initialize request argument(s)
control = retail_v2.Control()
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_update_control():
# Initialize request argument(s)
control = retail_v2.Control()
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_update_control():
# Initialize request argument(s)
control = retail_v2.Control()
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ async def sample_create_control():
control = retail_v2alpha.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.search_solution_use_case = "SEARCH_SOLUTION_USE_CASE_BROWSE"
control.solution_types = ['SOLUTION_TYPE_SEARCH']
control.search_solution_use_case = ['SEARCH_SOLUTION_USE_CASE_BROWSE']

request = retail_v2alpha.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def sample_create_control():
control = retail_v2alpha.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.search_solution_use_case = "SEARCH_SOLUTION_USE_CASE_BROWSE"
control.solution_types = ['SOLUTION_TYPE_SEARCH']
control.search_solution_use_case = ['SEARCH_SOLUTION_USE_CASE_BROWSE']

request = retail_v2alpha.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ async def sample_update_control():
control = retail_v2alpha.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.search_solution_use_case = "SEARCH_SOLUTION_USE_CASE_BROWSE"
control.solution_types = ['SOLUTION_TYPE_SEARCH']
control.search_solution_use_case = ['SEARCH_SOLUTION_USE_CASE_BROWSE']

request = retail_v2alpha.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def sample_update_control():
control = retail_v2alpha.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.search_solution_use_case = "SEARCH_SOLUTION_USE_CASE_BROWSE"
control.solution_types = ['SOLUTION_TYPE_SEARCH']
control.search_solution_use_case = ['SEARCH_SOLUTION_USE_CASE_BROWSE']

request = retail_v2alpha.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2alpha.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2alpha.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2alpha.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2alpha.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2alpha.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2alpha.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2alpha.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2alpha.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def sample_create_control():
control = retail_v2beta.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def sample_create_control():
control = retail_v2beta.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.CreateControlRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def sample_update_control():
control = retail_v2beta.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def sample_update_control():
control = retail_v2beta.Control()
control.facet_spec.facet_key.key = "key_value"
control.display_name = "display_name_value"
control.solution_types = "SOLUTION_TYPE_SEARCH"
control.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.UpdateControlRequest(
control=control,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2beta.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_create_serving_config():
# Initialize request argument(s)
serving_config = retail_v2beta.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.CreateServingConfigRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2beta.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def sample_update_serving_config():
# Initialize request argument(s)
serving_config = retail_v2beta.ServingConfig()
serving_config.display_name = "display_name_value"
serving_config.solution_types = "SOLUTION_TYPE_SEARCH"
serving_config.solution_types = ['SOLUTION_TYPE_SEARCH']

request = retail_v2beta.UpdateServingConfigRequest(
serving_config=serving_config,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
}
],
"language": "PYTHON",
"name": "google-cloud-retail"
"name": "google-cloud-retail",
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
}
],
"language": "PYTHON",
"name": "google-cloud-retail"
"name": "google-cloud-retail",
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
}
],
"language": "PYTHON",
"name": "google-cloud-retail"
"name": "google-cloud-retail",
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit b064d15

Please sign in to comment.