class ProjectsLocationsFlexTemplates extends Resource (View source)

The "flexTemplates" collection of methods.

Typical usage is:

 $dataflowService = new Google\Service\Dataflow(...);
 $flexTemplates = $dataflowService->projects_locations_flexTemplates;

Methods

launch(string $projectId, string $location, LaunchFlexTemplateRequest $postBody, array $optParams = [])

Launch a job with a FlexTemplate. (flexTemplates.launch)

Details

LaunchFlexTemplateResponse launch(string $projectId, string $location, LaunchFlexTemplateRequest $postBody, array $optParams = [])

Launch a job with a FlexTemplate. (flexTemplates.launch)

Parameters

string $projectId

Required. The ID of the Cloud Platform project that the job belongs to.

string $location

Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1.

LaunchFlexTemplateRequest $postBody
array $optParams

Optional parameters.

Return Value

LaunchFlexTemplateResponse

Exceptions

Exception