diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/create_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/create_job.php deleted file mode 100644 index f1f12b037bff..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/create_job.php +++ /dev/null @@ -1,70 +0,0 @@ -createJob($formattedParent, $job); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = CloudSchedulerClient::locationName('[PROJECT]', '[LOCATION]'); - - create_job_sample($formattedParent); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_CreateJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/delete_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/delete_job.php deleted file mode 100644 index 123a99b96b16..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/delete_job.php +++ /dev/null @@ -1,65 +0,0 @@ -deleteJob($formattedName); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = CloudSchedulerClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]'); - - delete_job_sample($formattedName); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_DeleteJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/get_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/get_job.php deleted file mode 100644 index ceb5eec37e6c..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/get_job.php +++ /dev/null @@ -1,67 +0,0 @@ -getJob($formattedName); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = CloudSchedulerClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]'); - - get_job_sample($formattedName); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_GetJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/get_location.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/get_location.php deleted file mode 100644 index 82f04a9ccdbc..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/get_location.php +++ /dev/null @@ -1,53 +0,0 @@ -getLocation(); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_GetLocation_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/list_jobs.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/list_jobs.php deleted file mode 100644 index 64c059807125..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/list_jobs.php +++ /dev/null @@ -1,72 +0,0 @@ -listJobs($formattedParent); - - /** @var Job $element */ - foreach ($response as $element) { - printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); - } - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = CloudSchedulerClient::locationName('[PROJECT]', '[LOCATION]'); - - list_jobs_sample($formattedParent); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_ListJobs_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/list_locations.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/list_locations.php deleted file mode 100644 index 259d58bf08b0..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/list_locations.php +++ /dev/null @@ -1,58 +0,0 @@ -listLocations(); - - /** @var Location $element */ - foreach ($response as $element) { - printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); - } - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_ListLocations_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/pause_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/pause_job.php deleted file mode 100644 index 3ec678ebbaf8..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/pause_job.php +++ /dev/null @@ -1,77 +0,0 @@ -pauseJob($formattedName); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = CloudSchedulerClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]'); - - pause_job_sample($formattedName); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_PauseJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/resume_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/resume_job.php deleted file mode 100644 index 30f1ed7f85eb..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/resume_job.php +++ /dev/null @@ -1,77 +0,0 @@ -resumeJob($formattedName); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = CloudSchedulerClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]'); - - resume_job_sample($formattedName); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_ResumeJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/run_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/run_job.php deleted file mode 100644 index 055579eb3bf9..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/run_job.php +++ /dev/null @@ -1,70 +0,0 @@ -runJob($formattedName); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = CloudSchedulerClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]'); - - run_job_sample($formattedName); -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_RunJob_sync] diff --git a/Scheduler/samples/V1beta1/CloudSchedulerClient/update_job.php b/Scheduler/samples/V1beta1/CloudSchedulerClient/update_job.php deleted file mode 100644 index 7827aab83c76..000000000000 --- a/Scheduler/samples/V1beta1/CloudSchedulerClient/update_job.php +++ /dev/null @@ -1,65 +0,0 @@ -updateJob($job); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END cloudscheduler_v1beta1_generated_CloudScheduler_UpdateJob_sync]