module Google::Cloud::Dataplex::V1::DataScanService::Paths

def entity_path project:, location:, lake:, zone:, entity:

Returns:
  • (::String) -

Parameters:
  • entity (String) --
  • zone (String) --
  • lake (String) --
  • location (String) --
  • project (String) --
def entity_path project:, location:, lake:, zone:, entity:
  raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
  raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
  raise ::ArgumentError, "lake cannot contain /" if lake.to_s.include? "/"
  raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
  "projects/#{project}/locations/#{location}/lakes/#{lake}/zones/#{zone}/entities/#{entity}"
end