Module: Google::Cloud::VisionAI::V1::StreamingService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/cloud/vision_ai/v1/streaming_service/paths.rb
Overview
Path helper methods for the StreamingService API.
Instance Method Summary collapse
-
#series_path(project:, location:, cluster:, series:) ⇒ ::String
Create a fully-qualified Series resource string.
Instance Method Details
#series_path(project:, location:, cluster:, series:) ⇒ ::String
Create a fully-qualified Series resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}/series/{series}
40 41 42 43 44 45 46 |
# File 'lib/google/cloud/vision_ai/v1/streaming_service/paths.rb', line 40 def series_path project:, location:, cluster:, series: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" raise ::ArgumentError, "cluster cannot contain /" if cluster.to_s.include? "/" "projects/#{project}/locations/#{location}/clusters/#{cluster}/series/#{series}" end |