code: def device_path(cls, project, location, registry, device):
          
          return google.api_core.path_template.expand(
              "projects/{project}/locations/{location}/registries/{registry}/devices/{device}",
              project=project,
              location=location,
              registry=registry,
              device=device,
          )
docs: Return a fully-qualified device string.