Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#289)
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 68a1a91 commit 146404a
Show file tree
Hide file tree
Showing 111 changed files with 2,093 additions and 861 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,13 @@ async def create_company(
.. 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 talent_v4
async def sample_create_company():
Expand Down Expand Up @@ -341,6 +348,13 @@ async def get_company(
.. 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 talent_v4
async def sample_get_company():
Expand Down Expand Up @@ -456,6 +470,13 @@ async def update_company(
.. 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 talent_v4
async def sample_update_company():
Expand Down Expand Up @@ -582,6 +603,13 @@ async def delete_company(
.. 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 talent_v4
async def sample_delete_company():
Expand Down Expand Up @@ -678,6 +706,13 @@ async def list_companies(
.. 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 talent_v4
async def sample_list_companies():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,13 @@ def create_company(
.. 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 talent_v4
def sample_create_company():
Expand Down Expand Up @@ -581,6 +588,13 @@ def get_company(
.. 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 talent_v4
def sample_get_company():
Expand Down Expand Up @@ -686,6 +700,13 @@ def update_company(
.. 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 talent_v4
def sample_update_company():
Expand Down Expand Up @@ -812,6 +833,13 @@ def delete_company(
.. 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 talent_v4
def sample_delete_company():
Expand Down Expand Up @@ -898,6 +926,13 @@ def list_companies(
.. 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 talent_v4
def sample_list_companies():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ async def complete_query(
.. 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 talent_v4
async def sample_complete_query():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,13 @@ def complete_query(
.. 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 talent_v4
def sample_complete_query():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,13 @@ async def create_client_event(
.. 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 talent_v4
async def sample_create_client_event():
Expand All @@ -229,7 +236,7 @@ async def sample_create_client_event():
# Initialize request argument(s)
client_event = talent_v4.ClientEvent()
client_event.job_event.type_ = "INTERVIEW_GRANTED"
client_event.job_event.jobs = ['jobs_value_1', 'jobs_value_2']
client_event.job_event.jobs = ['jobs_value1', 'jobs_value2']
client_event.event_id = "event_id_value"
request = talent_v4.CreateClientEventRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,13 @@ def create_client_event(
.. 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 talent_v4
def sample_create_client_event():
Expand All @@ -451,7 +458,7 @@ def sample_create_client_event():
# Initialize request argument(s)
client_event = talent_v4.ClientEvent()
client_event.job_event.type_ = "INTERVIEW_GRANTED"
client_event.job_event.jobs = ['jobs_value_1', 'jobs_value_2']
client_event.job_event.jobs = ['jobs_value1', 'jobs_value2']
client_event.event_id = "event_id_value"
request = talent_v4.CreateClientEventRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@ async def create_job(
.. 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 talent_v4
async def sample_create_job():
Expand Down Expand Up @@ -342,6 +349,13 @@ async def batch_create_jobs(
.. 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 talent_v4
async def sample_batch_create_jobs():
Expand Down Expand Up @@ -474,6 +488,13 @@ async def get_job(
.. 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 talent_v4
async def sample_get_job():
Expand Down Expand Up @@ -587,6 +608,13 @@ async def update_job(
.. 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 talent_v4
async def sample_update_job():
Expand Down Expand Up @@ -706,6 +734,13 @@ async def batch_update_jobs(
.. 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 talent_v4
async def sample_batch_update_jobs():
Expand Down Expand Up @@ -839,6 +874,13 @@ async def delete_job(
.. 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 talent_v4
async def sample_delete_job():
Expand Down Expand Up @@ -935,6 +977,13 @@ async def batch_delete_jobs(
.. 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 talent_v4
async def sample_batch_delete_jobs():
Expand Down Expand Up @@ -1067,6 +1116,13 @@ async def list_jobs(
.. 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 talent_v4
async def sample_list_jobs():
Expand Down Expand Up @@ -1227,6 +1283,13 @@ async def search_jobs(
.. 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 talent_v4
async def sample_search_jobs():
Expand Down Expand Up @@ -1310,6 +1373,13 @@ async def search_jobs_for_alert(
.. 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 talent_v4
async def sample_search_jobs_for_alert():
Expand Down
Loading

0 comments on commit 146404a

Please sign in to comment.