module Google::Cloud::Container::V1beta1::ClusterManager::Paths
Path helper methods for the ClusterManager
API.
Public Instance Methods
topic_path(project:, topic: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/")
click to toggle source
Create a fully-qualified Topic resource string.
The resource will be in the following format:
`projects/{project}/topics/{topic}`
@param project [String] @param topic [String]
@return [::String]
# File lib/google/cloud/container/v1beta1/cluster_manager/paths.rb, line 38 def topic_path project:, topic: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/topics/#{topic}" end