Skip to content

Commit

Permalink
Merge pull request #27693: Make --dataflowEndpoint a public option
Browse files Browse the repository at this point in the history
  • Loading branch information
kennknowles authored Jul 27, 2023
2 parents 798e0f8 + 4578165 commit c6296ba
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package org.apache.beam.runners.dataflow.options;

import com.google.api.services.dataflow.Dataflow;
import java.util.List;
import java.util.Map;
import org.apache.beam.runners.dataflow.DataflowRunner;
Expand Down Expand Up @@ -136,6 +137,25 @@ public interface DataflowPipelineOptions

void setRegion(String region);

/**
* Dataflow endpoint to use.
*
* <p>Defaults to the current version of the Google Cloud Dataflow API, at the time the current
* SDK version was released.
*
* <p>If the string contains "://", then this is treated as a URL, otherwise {@link
* #getApiRootUrl()} is used as the root URL.
*/
@Description(
"The URL for the Dataflow API. If the string contains \"://\", this"
+ " will be treated as the entire URL, otherwise will be treated relative to apiRootUrl.")
@Override
@Default.String(Dataflow.DEFAULT_SERVICE_PATH)
String getDataflowEndpoint();

@Override
void setDataflowEndpoint(String value);

/** Labels that will be applied to the billing records for this job. */
@Description("Labels that will be applied to the billing records for this job.")
Map<String, String> getLabels();
Expand Down

0 comments on commit c6296ba

Please sign in to comment.