module Google::Cloud::Shell::V1::CloudShellService::Paths
Path helper methods for the CloudShellService
API.
Public Instance Methods
environment_path(user:, environment: raise ::ArgumentError, "user cannot contain /" if user.to_s.include? "/")
click to toggle source
Create a fully-qualified Environment
resource string.
The resource will be in the following format:
`users/{user}/environments/{environment}`
@param user [String] @param environment [String]
@return [::String]
# File lib/google/cloud/shell/v1/cloud_shell_service/paths.rb, line 38 def environment_path user:, environment: raise ::ArgumentError, "user cannot contain /" if user.to_s.include? "/" "users/#{user}/environments/#{environment}" end