Service Client: Google::Dataflow::V1beta3::Templates::TemplatesServiceClient
Client stub representing the remote TemplatesService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to dataflow.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
Service Client: Google::Dataflow::V1beta3::Templates::FlexTemplatesServiceClient
Client stub representing the remote FlexTemplatesService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to dataflow.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Dataflow::V1beta3::Templates - Compiled Protocol Buffers messages for google/dataflow/v1beta3/templates.proto
SYNOPSIS
use Google::Dataflow::V1beta3::Templates;
my $msg = Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateResponse->new({
job => $job,
});
# Read or update a field
my $val = $msg->job();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateResponse->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/dataflow/v1beta3/templates.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateResponse
Response to the request to launch a job from Flex Template.
Inherits from Protobuf::Message.
Accessors
$msg->job()/$msg->job($value)Type:
Message(Google::Dataflow::V1beta3::Jobs::Job)The job that was launched, if the request was not a dry run and the job was successfully launched.
Google::Dataflow::V1beta3::Templates::ContainerSpec
Container Spec.
Inherits from Protobuf::Message.
Accessors
$msg->image()/$msg->image($value)Type:
StringName of the docker container image. E.g., gcr.io/project/some-image
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Dataflow::V1beta3::Templates::TemplateMetadata)Metadata describing a template including description and validation rules.
$msg->sdk_info()/$msg->sdk_info($value)Type:
Message(Google::Dataflow::V1beta3::Templates::SDKInfo)Required. SDK info of the Flex Template.
$msg->default_environment()/$msg->default_environment($value)Type:
Message(Google::Dataflow::V1beta3::Templates::FlexTemplateRuntimeEnvironment)Default runtime environment for the job.
$msg->image_repository_username_secret_id()/$msg->image_repository_username_secret_id($value)Type:
StringSecret Manager secret id for username to authenticate to private registry.
$msg->image_repository_password_secret_id()/$msg->image_repository_password_secret_id($value)Type:
StringSecret Manager secret id for password to authenticate to private registry.
$msg->image_repository_cert_path()/$msg->image_repository_cert_path($value)Type:
StringCloud Storage path to self-signed certificate of private registry.
Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateParameter
Launch FlexTemplate Parameter.
Inherits from Protobuf::Message.
Accessors
$msg->job_name()/$msg->job_name($value)Type:
StringRequired. The job name to use for the created job. For update job request, job name should be same as the existing running job.
$msg->container_spec()/$msg->container_spec($value)Type:
Message(Google::Dataflow::V1beta3::Templates::ContainerSpec)Spec about the container image to launch.
$msg->container_spec_gcs_path()/$msg->container_spec_gcs_path($value)Type:
StringCloud Storage path to a file with json serialized ContainerSpec as content.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateParameter::ParametersEntry)The parameters for FlexTemplate. Ex. {"num_workers":"5"}
$msg->launch_options()/$msg->launch_options($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateParameter::LaunchOptionsEntry)Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.
$msg->environment()/$msg->environment($value)Type:
Message(Google::Dataflow::V1beta3::Templates::FlexTemplateRuntimeEnvironment)The runtime environment for the FlexTemplate job
$msg->update()/$msg->update($value)Type:
BoolSet this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.
$msg->transform_name_mappings()/$msg->transform_name_mappings($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateParameter::TransformNameMappingsEntry)Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'
Google::Dataflow::V1beta3::Templates::FlexTemplateRuntimeEnvironment
The environment values to be set at runtime for flex template.
Inherits from Protobuf::Message.
Accessors
$msg->num_workers()/$msg->num_workers($value)Type:
Int32The initial number of Google Compute Engine instances for the job.
$msg->max_workers()/$msg->max_workers($value)Type:
Int32The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
$msg->zone()/$msg->zone($value)Type:
StringThe Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
$msg->service_account_email()/$msg->service_account_email($value)Type:
StringThe email address of the service account to run the job as.
$msg->temp_location()/$msg->temp_location($value)Type:
StringThe Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
$msg->machine_type()/$msg->machine_type($value)Type:
StringThe machine type to use for the job. Defaults to the value from the template if not specified.
$msg->additional_experiments()/$msg->additional_experiments($value)Type:
StringAdditional experiment flags for the job.
$msg->network()/$msg->network($value)Type:
StringNetwork to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
$msg->subnetwork()/$msg->subnetwork($value)Type:
StringSubnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
$msg->additional_user_labels()/$msg->additional_user_labels($value)Type:
Message(Google::Dataflow::V1beta3::Templates::FlexTemplateRuntimeEnvironment::AdditionalUserLabelsEntry)Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringName for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
$msg->ip_configuration()/$msg->ip_configuration($value)Type:
Enum(Google::Dataflow::V1beta3::WorkerIPAddressConfiguration)Configuration for VM IPs.
$msg->worker_region()/$msg->worker_region($value)Type:
StringThe Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
$msg->worker_zone()/$msg->worker_zone($value)Type:
StringThe Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
$msg->enable_streaming_engine()/$msg->enable_streaming_engine($value)Type:
BoolWhether to enable Streaming Engine for the job.
$msg->flexrs_goal()/$msg->flexrs_goal($value)Type:
Enum(Google::Dataflow::V1beta3::FlexResourceSchedulingGoal)Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs
$msg->staging_location()/$msg->staging_location($value)Type:
StringThe Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.
$msg->sdk_container_image()/$msg->sdk_container_image($value)Type:
StringDocker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
$msg->disk_size_gb()/$msg->disk_size_gb($value)Type:
Int32Worker disk size, in gigabytes.
$msg->autoscaling_algorithm()/$msg->autoscaling_algorithm($value)Type:
Enum(Google::Dataflow::V1beta3::AutoscalingAlgorithm)The algorithm to use for autoscaling
$msg->dump_heap_on_oom()/$msg->dump_heap_on_oom($value)Type:
BoolIf true, when processing time is spent almost entirely on garbage collection (GC), saves a heap dump before ending the thread or process. If false, ends the thread or process without saving a heap dump. Does not save a heap dump when the Java Virtual Machine (JVM) has an out of memory error during processing. The location of the heap file is either echoed back to the user, or the user is given the opportunity to download the heap file.
$msg->save_heap_dumps_to_gcs_path()/$msg->save_heap_dumps_to_gcs_path($value)Type:
StringCloud Storage bucket (directory) to upload heap dumps to. Enabling this field implies that `dump_heap_on_oom` is set to true.
$msg->launcher_machine_type()/$msg->launcher_machine_type($value)Type:
StringThe machine type to use for launching the job. The default is n1-standard-1.
$msg->enable_launcher_vm_serial_port_logging()/$msg->enable_launcher_vm_serial_port_logging($value)Type:
BoolIf true serial port logging will be enabled for the launcher VM.
$msg->streaming_mode()/$msg->streaming_mode($value)Type:
Enum(Google::Dataflow::V1beta3::StreamingMode)Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
$msg->additional_pipeline_options()/$msg->additional_pipeline_options($value)Type:
StringOptional. Additional pipeline option flags for the job.
Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateRequest
A request to launch a Cloud Dataflow job from a FlexTemplate.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The ID of the Cloud Platform project that the job belongs to.
$msg->launch_parameter()/$msg->launch_parameter($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchFlexTemplateParameter)Required. Parameter to launch a job form Flex Template.
$msg->location()/$msg->location($value)Type:
StringRequired. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf true, the request is validated but not actually executed. Defaults to false.
Google::Dataflow::V1beta3::Templates::RuntimeEnvironment
The environment values to set at runtime.
Inherits from Protobuf::Message.
Accessors
$msg->num_workers()/$msg->num_workers($value)Type:
Int32Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.
$msg->max_workers()/$msg->max_workers($value)Type:
Int32Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1.
$msg->zone()/$msg->zone($value)Type:
StringOptional. The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
$msg->service_account_email()/$msg->service_account_email($value)Type:
StringOptional. The email address of the service account to run the job as.
$msg->temp_location()/$msg->temp_location($value)Type:
StringRequired. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
$msg->bypass_temp_dir_validation()/$msg->bypass_temp_dir_validation($value)Type:
BoolOptional. Whether to bypass the safety checks for the job's temporary directory. Use with caution.
$msg->machine_type()/$msg->machine_type($value)Type:
StringOptional. The machine type to use for the job. Defaults to the value from the template if not specified.
$msg->additional_experiments()/$msg->additional_experiments($value)Type:
StringOptional. Additional experiment flags for the job, specified with the `--experiments` option.
$msg->network()/$msg->network($value)Type:
StringOptional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
$msg->subnetwork()/$msg->subnetwork($value)Type:
StringOptional. Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
$msg->additional_user_labels()/$msg->additional_user_labels($value)Type:
Message(Google::Dataflow::V1beta3::Templates::RuntimeEnvironment::AdditionalUserLabelsEntry)Optional. Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringOptional. Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
$msg->ip_configuration()/$msg->ip_configuration($value)Type:
Enum(Google::Dataflow::V1beta3::WorkerIPAddressConfiguration)Optional. Configuration for VM IPs.
$msg->worker_region()/$msg->worker_region($value)Type:
StringRequired. The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
$msg->worker_zone()/$msg->worker_zone($value)Type:
StringOptional. The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
$msg->enable_streaming_engine()/$msg->enable_streaming_engine($value)Type:
BoolOptional. Whether to enable Streaming Engine for the job.
$msg->disk_size_gb()/$msg->disk_size_gb($value)Type:
Int32Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance.
$msg->streaming_mode()/$msg->streaming_mode($value)Type:
Enum(Google::Dataflow::V1beta3::StreamingMode)Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
$msg->additional_pipeline_options()/$msg->additional_pipeline_options($value)Type:
StringOptional. Additional pipeline option flags for the job.
Google::Dataflow::V1beta3::Templates::ParameterMetadataEnumOption
ParameterMetadataEnumOption specifies the option shown in the enum form.
Inherits from Protobuf::Message.
Accessors
$msg->value()/$msg->value($value)Type:
StringRequired. The value of the enum option.
$msg->label()/$msg->label($value)Type:
StringOptional. The label to display for the enum option.
$msg->description()/$msg->description($value)Type:
StringOptional. The description to display for the enum option.
Google::Dataflow::V1beta3::Templates::ParameterMetadata
Metadata for a specific parameter.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the parameter.
$msg->label()/$msg->label($value)Type:
StringRequired. The label to display for the parameter.
$msg->help_text()/$msg->help_text($value)Type:
StringRequired. The help text to display for the parameter.
$msg->is_optional()/$msg->is_optional($value)Type:
BoolOptional. Whether the parameter is optional. Defaults to false.
$msg->regexes()/$msg->regexes($value)Type:
StringOptional. Regexes that the parameter must match.
$msg->param_type()/$msg->param_type($value)Type:
Enum(Google::Dataflow::V1beta3::ParameterType)Optional. The type of the parameter. Used for selecting input picker.
$msg->custom_metadata()/$msg->custom_metadata($value)Type:
Message(Google::Dataflow::V1beta3::Templates::ParameterMetadata::CustomMetadataEntry)Optional. Additional metadata for describing this parameter.
$msg->group_name()/$msg->group_name($value)Type:
StringOptional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
$msg->parent_name()/$msg->parent_name($value)Type:
StringOptional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
$msg->parent_trigger_values()/$msg->parent_trigger_values($value)Type:
StringOptional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
$msg->enum_options()/$msg->enum_options($value)Type:
Message(Google::Dataflow::V1beta3::Templates::ParameterMetadataEnumOption)Optional. The options shown when ENUM ParameterType is specified.
$msg->default_value()/$msg->default_value($value)Type:
StringOptional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
$msg->hidden_ui()/$msg->hidden_ui($value)Type:
BoolOptional. Whether the parameter should be hidden in the UI.
Google::Dataflow::V1beta3::Templates::TemplateMetadata
Metadata describing a template.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the template.
$msg->description()/$msg->description($value)Type:
StringOptional. A description of the template.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::ParameterMetadata)The parameters for the template.
$msg->streaming()/$msg->streaming($value)Type:
BoolOptional. Indicates if the template is streaming or not.
$msg->supports_at_least_once()/$msg->supports_at_least_once($value)Type:
BoolOptional. Indicates if the streaming template supports at least once mode.
$msg->supports_exactly_once()/$msg->supports_exactly_once($value)Type:
BoolOptional. Indicates if the streaming template supports exactly once mode.
$msg->default_streaming_mode()/$msg->default_streaming_mode($value)Type:
StringOptional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
Google::Dataflow::V1beta3::Templates::SDKInfo
SDK Information.
Inherits from Protobuf::Message.
Accessors
$msg->language()/$msg->language($value)Type:
Enum(Google::Dataflow::V1beta3::SDKInfo::Language)Required. The SDK Language.
$msg->version()/$msg->version($value)Type:
StringOptional. The SDK version.
Enum: SDKInfo::Language
UNKNOWN=>0JAVA=>1PYTHON=>2GO=>3YAML=>4
Google::Dataflow::V1beta3::Templates::RuntimeMetadata
RuntimeMetadata describing a runtime environment.
Inherits from Protobuf::Message.
Accessors
$msg->sdk_info()/$msg->sdk_info($value)Type:
Message(Google::Dataflow::V1beta3::Templates::SDKInfo)SDK Info for the template.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::ParameterMetadata)The parameters for the template.
Google::Dataflow::V1beta3::Templates::CreateJobFromTemplateRequest
A request to create a Cloud Dataflow job from a template.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The ID of the Cloud Platform project that the job belongs to.
$msg->job_name()/$msg->job_name($value)Type:
StringRequired. The job name to use for the created job.
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringRequired. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::CreateJobFromTemplateRequest::ParametersEntry)The runtime parameters to pass to the job.
$msg->environment()/$msg->environment($value)Type:
Message(Google::Dataflow::V1beta3::Templates::RuntimeEnvironment)The runtime environment for the job.
$msg->location()/$msg->location($value)Type:
StringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Google::Dataflow::V1beta3::Templates::GetTemplateRequest
A request to retrieve a Cloud Dataflow job template.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The ID of the Cloud Platform project that the job belongs to.
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringRequired. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
$msg->view()/$msg->view($value)Type:
Enum(Google::Dataflow::V1beta3::GetTemplateRequest::TemplateView)The view to retrieve. Defaults to METADATA_ONLY.
$msg->location()/$msg->location($value)Type:
StringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Enum: GetTemplateRequest::TemplateView
METADATA_ONLY=>0
Google::Dataflow::V1beta3::Templates::GetTemplateResponse
The response to a GetTemplate request.
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
Message(Google::Rpc::Status::Status)The status of the get template request. Any problems with the request will be indicated in the error_details.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Dataflow::V1beta3::Templates::TemplateMetadata)The template metadata describing the template name, available parameters, etc.
$msg->template_type()/$msg->template_type($value)Type:
Enum(Google::Dataflow::V1beta3::GetTemplateResponse::TemplateType)Template Type.
$msg->runtime_metadata()/$msg->runtime_metadata($value)Type:
Message(Google::Dataflow::V1beta3::Templates::RuntimeMetadata)Describes the runtime metadata with SDKInfo and available parameters.
Enum: GetTemplateResponse::TemplateType
UNKNOWN=>0LEGACY=>1FLEX=>2
Google::Dataflow::V1beta3::Templates::LaunchTemplateParameters
Parameters to provide to the template being launched. Note that the [metadata in the pipeline code] (https://cloud.google.com/dataflow/docs/guides/templates/creating-templates#metadata) determines which runtime parameters are valid.
Inherits from Protobuf::Message.
Accessors
$msg->job_name()/$msg->job_name($value)Type:
StringRequired. The job name to use for the created job.
The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchTemplateParameters::ParametersEntry)The runtime parameters to pass to the job.
$msg->environment()/$msg->environment($value)Type:
Message(Google::Dataflow::V1beta3::Templates::RuntimeEnvironment)The runtime environment for the job.
$msg->update()/$msg->update($value)Type:
BoolIf set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.
$msg->transform_name_mapping()/$msg->transform_name_mapping($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchTemplateParameters::TransformNameMappingEntry)Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
Google::Dataflow::V1beta3::Templates::LaunchTemplateRequest
A request to launch a template.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The ID of the Cloud Platform project that the job belongs to.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf true, the request is validated but not actually executed. Defaults to false.
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringA Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
$msg->dynamic_template()/$msg->dynamic_template($value)Type:
Message(Google::Dataflow::V1beta3::Templates::DynamicTemplateLaunchParams)Parameters for launching a dynamic template.
$msg->launch_parameters()/$msg->launch_parameters($value)Type:
Message(Google::Dataflow::V1beta3::Templates::LaunchTemplateParameters)The parameters of the template to launch. Part of the body of the POST request.
$msg->location()/$msg->location($value)Type:
StringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
Google::Dataflow::V1beta3::Templates::LaunchTemplateResponse
Response to the request to launch a template.
Inherits from Protobuf::Message.
Accessors
$msg->job()/$msg->job($value)Type:
Message(Google::Dataflow::V1beta3::Jobs::Job)The job that was launched, if the request was not a dry run and the job was successfully launched.
Google::Dataflow::V1beta3::Templates::InvalidTemplateParameters
Used in the error_details field of a google.rpc.Status message, this indicates problems with the template parameter.
Inherits from Protobuf::Message.
Accessors
$msg->parameter_violations()/$msg->parameter_violations($value)Type:
Message(Google::Dataflow::V1beta3::Templates::InvalidTemplateParameters::ParameterViolation)Describes all parameter violations in a template request.
Google::Dataflow::V1beta3::Templates::DynamicTemplateLaunchParams
Parameters to pass when launching a dynamic template.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringPath to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized `DynamicTemplateFileSpec` object.
$msg->staging_location()/$msg->staging_location($value)Type:
StringCloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Dataflow::V1beta3::Templates::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.