module Google::Cloud::Lustre::V1::Lustre::Paths
def instance_path project:, location:, instance:
-
(::String)
-
Parameters:
-
instance
(String
) -- -
location
(String
) -- -
project
(String
) --
def instance_path project:, location:, instance: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/instances/#{instance}" end
def location_path project:, location:
-
(::String)
-
Parameters:
-
location
(String
) -- -
project
(String
) --
def location_path project:, location: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/locations/#{location}" end
def network_path project:, network:
-
(::String)
-
Parameters:
-
network
(String
) -- -
project
(String
) --
def network_path project:, network: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/global/networks/#{network}" end
def service_account_path project:, service_account:
-
(::String)
-
Parameters:
-
service_account
(String
) -- -
project
(String
) --
def service_account_path project:, service_account: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/serviceAccounts/#{service_account}" end