Module: Google::Cloud::Video::Stitcher::V1::VideoStitcherService::Paths
- Extended by:
- Paths
- Defined in:
- lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb
Overview
Path helper methods for the VideoStitcherService API.
Instance Method Summary collapse
-
#cdn_key_path(project:, location:, cdn_key:) ⇒ ::String
Create a fully-qualified CdnKey resource string.
-
#live_ad_tag_detail_path(project:, location:, live_session:, live_ad_tag_detail:) ⇒ ::String
Create a fully-qualified LiveAdTagDetail resource string.
-
#live_config_path(project:, location:, live_config:) ⇒ ::String
Create a fully-qualified LiveConfig resource string.
-
#live_session_path(project:, location:, live_session:) ⇒ ::String
Create a fully-qualified LiveSession resource string.
-
#location_path(project:, location:) ⇒ ::String
Create a fully-qualified Location resource string.
-
#slate_path(project:, location:, slate:) ⇒ ::String
Create a fully-qualified Slate resource string.
-
#vod_ad_tag_detail_path(project:, location:, vod_session:, vod_ad_tag_detail:) ⇒ ::String
Create a fully-qualified VodAdTagDetail resource string.
-
#vod_config_path(project:, location:, vod_config:) ⇒ ::String
Create a fully-qualified VodConfig resource string.
-
#vod_session_path(project:, location:, vod_session:) ⇒ ::String
Create a fully-qualified VodSession resource string.
-
#vod_stitch_detail_path(project:, location:, vod_session:, vod_stitch_detail:) ⇒ ::String
Create a fully-qualified VodStitchDetail resource string.
Instance Method Details
#cdn_key_path(project:, location:, cdn_key:) ⇒ ::String
Create a fully-qualified CdnKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/cdnKeys/{cdn_key}
40 41 42 43 44 45 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 40 def cdn_key_path project:, location:, cdn_key: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/cdnKeys/#{cdn_key}" end |
#live_ad_tag_detail_path(project:, location:, live_session:, live_ad_tag_detail:) ⇒ ::String
Create a fully-qualified LiveAdTagDetail resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}
60 61 62 63 64 65 66 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 60 def live_ad_tag_detail_path project:, location:, live_session:, live_ad_tag_detail: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" raise ::ArgumentError, "live_session cannot contain /" if live_session.to_s.include? "/" "projects/#{project}/locations/#{location}/liveSessions/#{live_session}/liveAdTagDetails/#{live_ad_tag_detail}" end |
#live_config_path(project:, location:, live_config:) ⇒ ::String
Create a fully-qualified LiveConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/liveConfigs/{live_config}
80 81 82 83 84 85 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 80 def live_config_path project:, location:, live_config: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/liveConfigs/#{live_config}" end |
#live_session_path(project:, location:, live_session:) ⇒ ::String
Create a fully-qualified LiveSession resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/liveSessions/{live_session}
99 100 101 102 103 104 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 99 def live_session_path project:, location:, live_session: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/liveSessions/#{live_session}" end |
#location_path(project:, location:) ⇒ ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
117 118 119 120 121 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 117 def location_path project:, location: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/locations/#{location}" end |
#slate_path(project:, location:, slate:) ⇒ ::String
Create a fully-qualified Slate resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/slates/{slate}
135 136 137 138 139 140 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 135 def slate_path project:, location:, slate: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/slates/#{slate}" end |
#vod_ad_tag_detail_path(project:, location:, vod_session:, vod_ad_tag_detail:) ⇒ ::String
Create a fully-qualified VodAdTagDetail resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/vodSessions/{vod_session}/vodAdTagDetails/{vod_ad_tag_detail}
155 156 157 158 159 160 161 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 155 def vod_ad_tag_detail_path project:, location:, vod_session:, vod_ad_tag_detail: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" raise ::ArgumentError, "vod_session cannot contain /" if vod_session.to_s.include? "/" "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}/vodAdTagDetails/#{vod_ad_tag_detail}" end |
#vod_config_path(project:, location:, vod_config:) ⇒ ::String
Create a fully-qualified VodConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/vodConfigs/{vod_config}
175 176 177 178 179 180 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 175 def vod_config_path project:, location:, vod_config: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/vodConfigs/#{vod_config}" end |
#vod_session_path(project:, location:, vod_session:) ⇒ ::String
Create a fully-qualified VodSession resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/vodSessions/{vod_session}
194 195 196 197 198 199 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 194 def vod_session_path project:, location:, vod_session: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}" end |
#vod_stitch_detail_path(project:, location:, vod_session:, vod_stitch_detail:) ⇒ ::String
Create a fully-qualified VodStitchDetail resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/vodSessions/{vod_session}/vodStitchDetails/{vod_stitch_detail}
214 215 216 217 218 219 220 |
# File 'lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb', line 214 def vod_stitch_detail_path project:, location:, vod_session:, vod_stitch_detail: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" raise ::ArgumentError, "vod_session cannot contain /" if vod_session.to_s.include? "/" "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}/vodStitchDetails/#{vod_stitch_detail}" end |