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

Commit ced945e

Browse files
docs: Fix formatting of request arg in docstring (#296)
* docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 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>
1 parent a67b955 commit ced945e

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py

+10-13
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@ async def sample_create_job():
272272
273273
Args:
274274
request (Optional[Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]]):
275-
The request object. Request message for
276-
`TranscoderService.CreateJob`.
275+
The request object. Request message for ``TranscoderService.CreateJob``.
277276
parent (:class:`str`):
278277
Required. The parent location to create and process this
279278
job. Format: ``projects/{project}/locations/{location}``
@@ -382,9 +381,9 @@ async def sample_list_jobs():
382381
383382
Args:
384383
request (Optional[Union[google.cloud.video.transcoder_v1.types.ListJobsRequest, dict]]):
385-
The request object. Request message for
386-
`TranscoderService.ListJobs`. The parent location from
387-
which to retrieve the collection of jobs.
384+
The request object. Request message for ``TranscoderService.ListJobs``. The
385+
parent location from which to retrieve the collection of
386+
jobs.
388387
parent (:class:`str`):
389388
Required. Format:
390389
``projects/{project}/locations/{location}``
@@ -496,8 +495,7 @@ async def sample_get_job():
496495
497496
Args:
498497
request (Optional[Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]]):
499-
The request object. Request message for
500-
`TranscoderService.GetJob`.
498+
The request object. Request message for ``TranscoderService.GetJob``.
501499
name (:class:`str`):
502500
Required. The name of the job to retrieve. Format:
503501
``projects/{project}/locations/{location}/jobs/{job}``
@@ -593,8 +591,7 @@ async def sample_delete_job():
593591
594592
Args:
595593
request (Optional[Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]]):
596-
The request object. Request message for
597-
`TranscoderService.DeleteJob`.
594+
The request object. Request message for ``TranscoderService.DeleteJob``.
598595
name (:class:`str`):
599596
Required. The name of the job to delete. Format:
600597
``projects/{project}/locations/{location}/jobs/{job}``
@@ -690,7 +687,7 @@ async def sample_create_job_template():
690687
Args:
691688
request (Optional[Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]]):
692689
The request object. Request message for
693-
`TranscoderService.CreateJobTemplate`.
690+
``TranscoderService.CreateJobTemplate``.
694691
parent (:class:`str`):
695692
Required. The parent location to create this job
696693
template. Format:
@@ -815,7 +812,7 @@ async def sample_list_job_templates():
815812
Args:
816813
request (Optional[Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]]):
817814
The request object. Request message for
818-
`TranscoderService.ListJobTemplates`.
815+
``TranscoderService.ListJobTemplates``.
819816
parent (:class:`str`):
820817
Required. The parent location from which to retrieve the
821818
collection of job templates. Format:
@@ -929,7 +926,7 @@ async def sample_get_job_template():
929926
Args:
930927
request (Optional[Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]]):
931928
The request object. Request message for
932-
`TranscoderService.GetJobTemplate`.
929+
``TranscoderService.GetJobTemplate``.
933930
name (:class:`str`):
934931
Required. The name of the job template to retrieve.
935932
Format:
@@ -1027,7 +1024,7 @@ async def sample_delete_job_template():
10271024
Args:
10281025
request (Optional[Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]]):
10291026
The request object. Request message for
1030-
`TranscoderService.DeleteJobTemplate`.
1027+
``TranscoderService.DeleteJobTemplate``.
10311028
name (:class:`str`):
10321029
Required. The name of the job template to delete.
10331030
``projects/{project}/locations/{location}/jobTemplates/{job_template}``

google/cloud/video/transcoder_v1/services/transcoder_service/client.py

+10-13
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,7 @@ def sample_create_job():
519519
520520
Args:
521521
request (Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]):
522-
The request object. Request message for
523-
`TranscoderService.CreateJob`.
522+
The request object. Request message for ``TranscoderService.CreateJob``.
524523
parent (str):
525524
Required. The parent location to create and process this
526525
job. Format: ``projects/{project}/locations/{location}``
@@ -629,9 +628,9 @@ def sample_list_jobs():
629628
630629
Args:
631630
request (Union[google.cloud.video.transcoder_v1.types.ListJobsRequest, dict]):
632-
The request object. Request message for
633-
`TranscoderService.ListJobs`. The parent location from
634-
which to retrieve the collection of jobs.
631+
The request object. Request message for ``TranscoderService.ListJobs``. The
632+
parent location from which to retrieve the collection of
633+
jobs.
635634
parent (str):
636635
Required. Format:
637636
``projects/{project}/locations/{location}``
@@ -743,8 +742,7 @@ def sample_get_job():
743742
744743
Args:
745744
request (Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]):
746-
The request object. Request message for
747-
`TranscoderService.GetJob`.
745+
The request object. Request message for ``TranscoderService.GetJob``.
748746
name (str):
749747
Required. The name of the job to retrieve. Format:
750748
``projects/{project}/locations/{location}/jobs/{job}``
@@ -840,8 +838,7 @@ def sample_delete_job():
840838
841839
Args:
842840
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]):
843-
The request object. Request message for
844-
`TranscoderService.DeleteJob`.
841+
The request object. Request message for ``TranscoderService.DeleteJob``.
845842
name (str):
846843
Required. The name of the job to delete. Format:
847844
``projects/{project}/locations/{location}/jobs/{job}``
@@ -937,7 +934,7 @@ def sample_create_job_template():
937934
Args:
938935
request (Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]):
939936
The request object. Request message for
940-
`TranscoderService.CreateJobTemplate`.
937+
``TranscoderService.CreateJobTemplate``.
941938
parent (str):
942939
Required. The parent location to create this job
943940
template. Format:
@@ -1062,7 +1059,7 @@ def sample_list_job_templates():
10621059
Args:
10631060
request (Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]):
10641061
The request object. Request message for
1065-
`TranscoderService.ListJobTemplates`.
1062+
``TranscoderService.ListJobTemplates``.
10661063
parent (str):
10671064
Required. The parent location from which to retrieve the
10681065
collection of job templates. Format:
@@ -1176,7 +1173,7 @@ def sample_get_job_template():
11761173
Args:
11771174
request (Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]):
11781175
The request object. Request message for
1179-
`TranscoderService.GetJobTemplate`.
1176+
``TranscoderService.GetJobTemplate``.
11801177
name (str):
11811178
Required. The name of the job template to retrieve.
11821179
Format:
@@ -1274,7 +1271,7 @@ def sample_delete_job_template():
12741271
Args:
12751272
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]):
12761273
The request object. Request message for
1277-
`TranscoderService.DeleteJobTemplate`.
1274+
``TranscoderService.DeleteJobTemplate``.
12781275
name (str):
12791276
Required. The name of the job template to delete.
12801277
``projects/{project}/locations/{location}/jobTemplates/{job_template}``

google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py

-5
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ def __call__(
505505
request (~.services.CreateJobTemplateRequest):
506506
The request object. Request message for
507507
``TranscoderService.CreateJobTemplate``.
508-
509508
retry (google.api_core.retry.Retry): Designation of what errors, if any,
510509
should be retried.
511510
timeout (float): The timeout for this request.
@@ -678,7 +677,6 @@ def __call__(
678677
request (~.services.DeleteJobTemplateRequest):
679678
The request object. Request message for
680679
``TranscoderService.DeleteJobTemplate``.
681-
682680
retry (google.api_core.retry.Retry): Designation of what errors, if any,
683681
should be retried.
684682
timeout (float): The timeout for this request.
@@ -842,7 +840,6 @@ def __call__(
842840
request (~.services.GetJobTemplateRequest):
843841
The request object. Request message for
844842
``TranscoderService.GetJobTemplate``.
845-
846843
retry (google.api_core.retry.Retry): Designation of what errors, if any,
847844
should be retried.
848845
timeout (float): The timeout for this request.
@@ -933,7 +930,6 @@ def __call__(
933930
The request object. Request message for ``TranscoderService.ListJobs``. The
934931
parent location from which to retrieve the collection of
935932
jobs.
936-
937933
retry (google.api_core.retry.Retry): Designation of what errors, if any,
938934
should be retried.
939935
timeout (float): The timeout for this request.
@@ -1021,7 +1017,6 @@ def __call__(
10211017
request (~.services.ListJobTemplatesRequest):
10221018
The request object. Request message for
10231019
``TranscoderService.ListJobTemplates``.
1024-
10251020
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10261021
should be retried.
10271022
timeout (float): The timeout for this request.

samples/generated_samples/snippet_metadata_google.cloud.video.transcoder.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-video-transcoder",
11-
"version": "1.8.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)