lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb in google-cloud-dataplex-v1-0.9.0 vs lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb in google-cloud-dataplex-v1-0.10.0

- old
+ new

@@ -1990,17 +1990,33 @@ # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @overload run_task(name: nil) + # @overload run_task(name: nil, labels: nil, args: nil) # Pass arguments to `run_task` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param name [::String] # Required. The resource name of the task: # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`. + # @param labels [::Hash{::String => ::String}] + # Optional. User-defined labels for the task. If the map is left empty, the + # task will run with existing labels from task definition. If the map + # contains an entry with a new key, the same will be added to existing set of + # labels. If the map contains an entry with an existing label key in task + # definition, the task will run with new label value for that entry. Clearing + # an existing label will require label value to be explicitly set to a hyphen + # "-". The label value cannot be empty. + # @param args [::Hash{::String => ::String}] + # Optional. Execution spec arguments. If the map is left empty, the task will + # run with existing execution spec args from task definition. If the map + # contains an entry with a new key, the same will be added to existing set of + # args. If the map contains an entry with an existing arg key in task + # definition, the task will run with new arg value for that entry. Clearing + # an existing arg will require arg value to be explicitly set to a hyphen + # "-". The arg value cannot be empty. # @yield [result, operation] Access the result along with the TransportOperation object # @yieldparam result [::Google::Cloud::Dataplex::V1::RunTaskResponse] # @yieldparam operation [::Gapic::Rest::TransportOperation] # # @return [::Google::Cloud::Dataplex::V1::RunTaskResponse]