lib/google/cloud/dataflow/v1beta3/templates_service/client.rb in google-cloud-dataflow-v1beta3-0.2.0 vs lib/google/cloud/dataflow/v1beta3/templates_service/client.rb in google-cloud-dataflow-v1beta3-0.3.0

- old
+ new

@@ -221,10 +221,13 @@ header_params = {} if request.project_id header_params["project_id"] = request.project_id end + if request.location + header_params["location"] = request.location + end request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") metadata[:"x-goog-request-params"] ||= request_params_header options.apply_defaults timeout: @config.rpcs.create_job_from_template.timeout, @@ -322,10 +325,13 @@ header_params = {} if request.project_id header_params["project_id"] = request.project_id end + if request.location + header_params["location"] = request.location + end request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") metadata[:"x-goog-request-params"] ||= request_params_header options.apply_defaults timeout: @config.rpcs.launch_template.timeout, @@ -416,9 +422,12 @@ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id header_params = {} if request.project_id header_params["project_id"] = request.project_id + end + if request.location + header_params["location"] = request.location end request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") metadata[:"x-goog-request-params"] ||= request_params_header