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

docs: Fix formatting of request arg in docstring #331

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.company_service.CreateCompanyRequest):
The request object. The Request of the CreateCompany
method.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -534,7 +533,6 @@ def __call__(
request (~.company_service.GetCompanyRequest):
The request object. Request for getting a company by
name.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +626,6 @@ def __call__(
request (~.company_service.ListCompaniesRequest):
The request object. List companies for which the client
has ACL visibility.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +713,6 @@ def __call__(
request (~.company_service.UpdateCompanyRequest):
The request object. Request for updating a specified
company.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4/services/job_service/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,8 +1324,7 @@ async def sample_search_jobs():

Args:
request (Optional[Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1414,8 +1413,7 @@ async def sample_search_jobs_for_alert():

Args:
request (Optional[Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4/services/job_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1562,8 +1562,7 @@ def sample_search_jobs():

Args:
request (Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1653,8 +1652,7 @@ def sample_search_jobs_for_alert():

Args:
request (Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,7 @@ async def sample_get_tenant():

Args:
request (Optional[Union[google.cloud.talent_v4.types.GetTenantRequest, dict]]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (:class:`str`):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -738,8 +737,8 @@ async def sample_list_tenants():

Args:
request (Optional[Union[google.cloud.talent_v4.types.ListTenantsRequest, dict]]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (:class:`str`):
Required. Resource name of the project under which the
tenant is created.
Expand Down
7 changes: 3 additions & 4 deletions google/cloud/talent_v4/services/tenant_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,7 @@ def sample_get_tenant():

Args:
request (Union[google.cloud.talent_v4.types.GetTenantRequest, dict]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (str):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -940,8 +939,8 @@ def sample_list_tenants():

Args:
request (Union[google.cloud.talent_v4.types.ListTenantsRequest, dict]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (str):
Required. Resource name of the project under which the
tenant is created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.tenant_service.CreateTenantRequest):
The request object. The Request of the CreateTenant
method.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +627,6 @@ def __call__(
request (~.tenant_service.ListTenantsRequest):
The request object. List tenants for which the client has
ACL visibility.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +714,6 @@ def __call__(
request (~.tenant_service.UpdateTenantRequest):
The request object. Request for updating a specified
tenant.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.company_service.CreateCompanyRequest):
The request object. The Request of the CreateCompany
method.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -543,7 +542,6 @@ def __call__(
request (~.company_service.GetCompanyRequest):
The request object. Request for getting a company by
name.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -641,7 +639,6 @@ def __call__(
request (~.company_service.ListCompaniesRequest):
The request object. List companies for which the client
has ACL visibility.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -733,7 +730,6 @@ def __call__(
request (~.company_service.UpdateCompanyRequest):
The request object. Request for updating a specified
company.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1292,8 +1292,7 @@ async def sample_search_jobs():

Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1396,8 +1395,7 @@ async def sample_search_jobs_for_alert():

Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4beta1/services/job_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,8 +1515,7 @@ def sample_search_jobs():

Args:
request (Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1620,8 +1619,7 @@ def sample_search_jobs_for_alert():

Args:
request (Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ async def sample_get_tenant():

Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.GetTenantRequest, dict]]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (:class:`str`):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -718,8 +717,8 @@ async def sample_list_tenants():

Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.ListTenantsRequest, dict]]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (:class:`str`):
Required. Resource name of the project under which the
tenant is created.
Expand Down
7 changes: 3 additions & 4 deletions google/cloud/talent_v4beta1/services/tenant_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,7 @@ def sample_get_tenant():

Args:
request (Union[google.cloud.talent_v4beta1.types.GetTenantRequest, dict]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (str):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -920,8 +919,8 @@ def sample_list_tenants():

Args:
request (Union[google.cloud.talent_v4beta1.types.ListTenantsRequest, dict]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (str):
Required. Resource name of the project under which the
tenant is created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.tenant_service.CreateTenantRequest):
The request object. The Request of the CreateTenant
method.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +627,6 @@ def __call__(
request (~.tenant_service.ListTenantsRequest):
The request object. List tenants for which the client has
ACL visibility.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +714,6 @@ def __call__(
request (~.tenant_service.UpdateTenantRequest):
The request object. Request for updating a specified
tenant.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-talent",
"version": "2.10.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-talent",
"version": "2.10.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down