Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

fix: Remove deprecated v1beta1 API that is no longer available#138

Merged
gcf-merge-on-green merged 3 commits intomainfromowl-bot-copy
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes fromall 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
11 changes: 0 additions & 11 deletionsdocs/index.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,9 +2,6 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Transcoder.
By default, you will get version ``transcoder_v1``.


API Reference
-------------
Expand All@@ -14,14 +11,6 @@ API Reference
transcoder_v1/services
transcoder_v1/types

API Reference
-------------
.. toctree::
:maxdepth: 2

transcoder_v1beta1/services
transcoder_v1beta1/types


Changelog
---------
Expand Down
6 changes: 0 additions & 6 deletionsdocs/transcoder_v1beta1/services.rst
View file
Open in desktop

This file was deleted.

10 changes: 0 additions & 10 deletionsdocs/transcoder_v1beta1/transcoder_service.rst
View file
Open in desktop

This file was deleted.

7 changes: 0 additions & 7 deletionsdocs/transcoder_v1beta1/types.rst
View file
Open in desktop

This file was deleted.

View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -228,6 +228,29 @@ async def create_job(
) -> resources.Job:
r"""Creates a job in the specified region.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_create_job():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
job = transcoder_v1.Job()
job.template_id = "template_id_value"

request = transcoder_v1.CreateJobRequest(
parent="parent_value",
job=job,
)

# Make the request
response = client.create_job(request=request)

# Handle the response
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -306,6 +329,26 @@ async def list_jobs(
) -> pagers.ListJobsAsyncPager:
r"""Lists jobs in the specified region.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_list_jobs():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.ListJobsRequest(
parent="parent_value",
)

# Make the request
page_result = client.list_jobs(request=request)

# Handle the response
for response in page_result:
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.ListJobsRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -386,6 +429,25 @@ async def get_job(
) -> resources.Job:
r"""Returns the job data.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_get_job():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.GetJobRequest(
name="name_value",
)

# Make the request
response = client.get_job(request=request)

# Handle the response
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -455,6 +517,22 @@ async def delete_job(
) -> None:
r"""Deletes a job.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_delete_job():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.DeleteJobRequest(
name="name_value",
)

# Make the request
client.delete_job(request=request)

Args:
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -521,6 +599,26 @@ async def create_job_template(
) -> resources.JobTemplate:
r"""Creates a job template in the specified region.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_create_job_template():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.CreateJobTemplateRequest(
parent="parent_value",
job_template_id="job_template_id_value",
)

# Make the request
response = client.create_job_template(request=request)

# Handle the response
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -614,6 +712,26 @@ async def list_job_templates(
) -> pagers.ListJobTemplatesAsyncPager:
r"""Lists job templates in the specified region.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_list_job_templates():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.ListJobTemplatesRequest(
parent="parent_value",
)

# Make the request
page_result = client.list_job_templates(request=request)

# Handle the response
for response in page_result:
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -694,6 +812,25 @@ async def get_job_template(
) -> resources.JobTemplate:
r"""Returns the job template data.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_get_job_template():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.GetJobTemplateRequest(
name="name_value",
)

# Make the request
response = client.get_job_template(request=request)

# Handle the response
print(response)

Args:
request (Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]):
The request object. Request message for
Expand DownExpand Up@@ -764,6 +901,22 @@ async def delete_job_template(
) -> None:
r"""Deletes a job template.

.. code-block::

from google.cloud.video import transcoder_v1

def sample_delete_job_template():
# Create a client
client = transcoder_v1.TranscoderServiceClient()

# Initialize request argument(s)
request = transcoder_v1.DeleteJobTemplateRequest(
name="name_value",
)

# Make the request
client.delete_job_template(request=request)

Args:
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]):
The request object. Request message for
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp