module Google::Cloud::Talent::V4beta1::TenantService::Paths
Path helper methods for the TenantService
API.
Public Instance Methods
project_path(project: "projects/
click to toggle source
Create a fully-qualified Project resource string.
The resource will be in the following format:
`projects/{project}`
@param project [String]
@return [::String]
# File lib/google/cloud/talent/v4beta1/tenant_service/paths.rb, line 37 def project_path project: "projects/#{project}" end
tenant_path(project:, tenant: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/")
click to toggle source
Create a fully-qualified Tenant
resource string.
The resource will be in the following format:
`projects/{project}/tenants/{tenant}`
@param project [String] @param tenant [String]
@return [::String]
# File lib/google/cloud/talent/v4beta1/tenant_service/paths.rb, line 52 def tenant_path project:, tenant: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/tenants/#{tenant}" end