Skip to content

Commit

Permalink
docs(samples): Fix Video Stitcher region tag prefix (#86)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
irataxy and parthea committed Jun 8, 2023
1 parent 67c7d0e commit e92f6e3
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions video/stitcher/create_cdn_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--hostname <hostname> [--gcdn_keyname <name> --gcdn_private_key <secret> | --akamai_token_key <token-key>]
"""

# [START video_stitcher_create_cdn_key]
# [START videostitcher_create_cdn_key]

import argparse

Expand Down Expand Up @@ -76,7 +76,7 @@ def create_cdn_key(
return response


# [END video_stitcher_create_cdn_key]
# [END videostitcher_create_cdn_key]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/create_live_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
--slate_id <slate-id>
"""

# [START video_stitcher_create_live_session]
# [START videostitcher_create_live_session]

import argparse

Expand Down Expand Up @@ -61,7 +61,7 @@ def create_live_session(
return response


# [END video_stitcher_create_live_session]
# [END videostitcher_create_live_session]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/create_slate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--slate_id <slate-id> --slate_uri <uri>
"""

# [START video_stitcher_create_slate]
# [START videostitcher_create_slate]

import argparse

Expand Down Expand Up @@ -52,7 +52,7 @@ def create_slate(project_id: str, location: str, slate_id: str, slate_uri: str)
return response


# [END video_stitcher_create_slate]
# [END videostitcher_create_slate]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/create_vod_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--location <location> --source_uri <uri> --ad_tag_uri <uri>
"""

# [START video_stitcher_create_vod_session]
# [START videostitcher_create_vod_session]

import argparse

Expand Down Expand Up @@ -56,7 +56,7 @@ def create_vod_session(
return response


# [END video_stitcher_create_vod_session]
# [END videostitcher_create_vod_session]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/delete_cdn_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--cdn_key_id <cdn_key_id>
"""

# [START video_stitcher_delete_cdn_key]
# [START videostitcher_delete_cdn_key]

import argparse

Expand All @@ -44,7 +44,7 @@ def delete_cdn_key(project_id: str, location: str, cdn_key_id: str) -> str:
return response


# [END video_stitcher_delete_cdn_key]
# [END videostitcher_delete_cdn_key]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/delete_slate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--slate_id <slate-id>
"""

# [START video_stitcher_delete_slate]
# [START videostitcher_delete_slate]

import argparse

Expand All @@ -44,7 +44,7 @@ def delete_slate(project_id: str, location: str, slate_id: str) -> str:
return response


# [END video_stitcher_delete_slate]
# [END videostitcher_delete_slate]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_cdn_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--cdn_key_id <cdn_key_id>
"""

# [START video_stitcher_get_cdn_key]
# [START videostitcher_get_cdn_key]

import argparse

Expand All @@ -44,7 +44,7 @@ def get_cdn_key(project_id: str, location: str, cdn_key_id: str) -> str:
return response


# [END video_stitcher_get_cdn_key]
# [END videostitcher_get_cdn_key]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_live_ad_tag_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
--ad_tag_details_id <ad-tag-details-id>
"""

# [START video_stitcher_get_live_ad_tag_detail]
# [START videostitcher_get_live_ad_tag_detail]

import argparse

Expand Down Expand Up @@ -51,7 +51,7 @@ def get_live_ad_tag_detail(
return response


# [END video_stitcher_get_live_ad_tag_detail]
# [END videostitcher_get_live_ad_tag_detail]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_live_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--session_id <session-id>
"""

# [START video_stitcher_get_live_session]
# [START videostitcher_get_live_session]

import argparse

Expand All @@ -45,7 +45,7 @@ def get_live_session(project_id: str, location: str, session_id: str) -> str:
return response


# [END video_stitcher_get_live_session]
# [END videostitcher_get_live_session]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_slate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--slate_id <slate-id>
"""

# [START video_stitcher_get_slate]
# [START videostitcher_get_slate]

import argparse

Expand All @@ -44,7 +44,7 @@ def get_slate(project_id: str, location: str, slate_id: str) -> str:
return response


# [END video_stitcher_get_slate]
# [END videostitcher_get_slate]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_vod_ad_tag_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
python get_vod_ad_tag_detail.py --project_id <project-id> --location <location> --session_id <session-id> --ad_tag_details_id <ad-tag-details-id>
"""

# [START video_stitcher_get_vod_ad_tag_detail]
# [START videostitcher_get_vod_ad_tag_detail]

import argparse

Expand Down Expand Up @@ -49,7 +49,7 @@ def get_vod_ad_tag_detail(
return response


# [END video_stitcher_get_vod_ad_tag_detail]
# [END videostitcher_get_vod_ad_tag_detail]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_vod_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--session_id <session-id>
"""

# [START video_stitcher_get_vod_session]
# [START videostitcher_get_vod_session]

import argparse

Expand All @@ -46,7 +46,7 @@ def get_vod_session(project_id: str, location: str, session_id: str) -> str:
return response


# [END video_stitcher_get_vod_session]
# [END videostitcher_get_vod_session]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/get_vod_stitch_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
--stitch_details_id <stitch-details-id>
"""

# [START video_stitcher_get_vod_stitch_detail]
# [START videostitcher_get_vod_stitch_detail]

import argparse

Expand Down Expand Up @@ -51,7 +51,7 @@ def get_vod_stitch_detail(
return response


# [END video_stitcher_get_vod_stitch_detail]
# [END videostitcher_get_vod_stitch_detail]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/list_cdn_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
python list_cdn_keys.py --project_id <project-id> --location <location>
"""

# [START video_stitcher_list_cdn_keys]
# [START videostitcher_list_cdn_keys]

import argparse

Expand All @@ -45,7 +45,7 @@ def list_cdn_keys(project_id: str, location: str) -> str:
return response


# [END video_stitcher_list_cdn_keys]
# [END videostitcher_list_cdn_keys]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/list_live_ad_tag_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--location <location> --session_id <session-id>
"""

# [START video_stitcher_list_live_ad_tag_details]
# [START videostitcher_list_live_ad_tag_details]

import argparse

Expand All @@ -48,7 +48,7 @@ def list_live_ad_tag_details(project_id: str, location: str, session_id: str) ->
return page_result


# [END video_stitcher_list_live_ad_tag_details]
# [END videostitcher_list_live_ad_tag_details]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/list_slates.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
python list_slates.py --project_id <project-id> --location <location>
"""

# [START video_stitcher_list_slates]
# [START videostitcher_list_slates]

import argparse

Expand All @@ -45,7 +45,7 @@ def list_slates(project_id: str, location: str) -> str:
return response


# [END video_stitcher_list_slates]
# [END videostitcher_list_slates]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/list_vod_ad_tag_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--location <location> --session_id <session-id>
"""

# [START video_stitcher_list_vod_ad_tag_details]
# [START videostitcher_list_vod_ad_tag_details]

import argparse

Expand All @@ -48,7 +48,7 @@ def list_vod_ad_tag_details(project_id: str, location: str, session_id: str) ->
return response


# [END video_stitcher_list_vod_ad_tag_details]
# [END videostitcher_list_vod_ad_tag_details]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/list_vod_stitch_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--location <location> --session_id <session-id>
"""

# [START video_stitcher_list_vod_stitch_details]
# [START videostitcher_list_vod_stitch_details]

import argparse

Expand All @@ -48,7 +48,7 @@ def list_vod_stitch_details(project_id: str, location: str, session_id: str) ->
return response


# [END video_stitcher_list_vod_stitch_details]
# [END videostitcher_list_vod_stitch_details]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/update_cdn_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
[--gcdn_keyname <name> --gcdn_private_key <secret> | --akamai_token_key <token-key>]
"""

# [START video_stitcher_update_cdn_key]
# [START videostitcher_update_cdn_key]

import argparse

Expand Down Expand Up @@ -79,7 +79,7 @@ def update_cdn_key(
return response


# [END video_stitcher_update_cdn_key]
# [END videostitcher_update_cdn_key]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions video/stitcher/update_slate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--slate_id <slate-id> --slate_uri <uri>
"""

# [START video_stitcher_update_slate]
# [START videostitcher_update_slate]

import argparse

Expand Down Expand Up @@ -53,7 +53,7 @@ def update_slate(project_id: str, location: str, slate_id: str, slate_uri: str)
return response


# [END video_stitcher_update_slate]
# [END videostitcher_update_slate]

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit e92f6e3

Please sign in to comment.