* $genomicsService = new Google\Service\Genomics(...); * $workers = $genomicsService->workers; * */ class Workers extends \Google\Service\Resource { /** * The worker uses this method to retrieve the assigned operation and provide * periodic status updates. (workers.checkIn) * * @param string $id The VM identity token for authenticating the VM instance. * https://cloud.google.com/compute/docs/instances/verifying-instance-identity * @param CheckInRequest $postBody * @param array $optParams Optional parameters. * @return CheckInResponse */ public function checkIn($id, CheckInRequest $postBody, $optParams = []) { $params = ['id' => $id, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('checkIn', [$params], CheckInResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Workers::class, 'Google_Service_Genomics_Resource_Workers');