lib/google/cloud/automl/v1beta1/prediction_service/operations.rb in google-cloud-automl-v1beta1-0.3.0 vs lib/google/cloud/automl/v1beta1/prediction_service/operations.rb in google-cloud-automl-v1beta1-0.3.1
- old
+ new
@@ -150,11 +150,11 @@
metadata = @config.rpcs.list_operations.metadata.to_h
# Set x-goog-api-client and x-goog-user-project headers
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
lib_name: @config.lib_name, lib_version: @config.lib_version,
- gapic_version: ::Google::Cloud::Automl::V1beta1::VERSION
+ gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
header_params = {
"name" => request.name
}
@@ -220,11 +220,11 @@
metadata = @config.rpcs.get_operation.metadata.to_h
# Set x-goog-api-client and x-goog-user-project headers
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
lib_name: @config.lib_name, lib_version: @config.lib_version,
- gapic_version: ::Google::Cloud::Automl::V1beta1::VERSION
+ gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
header_params = {
"name" => request.name
}
@@ -290,11 +290,11 @@
metadata = @config.rpcs.delete_operation.metadata.to_h
# Set x-goog-api-client and x-goog-user-project headers
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
lib_name: @config.lib_name, lib_version: @config.lib_version,
- gapic_version: ::Google::Cloud::Automl::V1beta1::VERSION
+ gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
header_params = {
"name" => request.name
}
@@ -365,10 +365,10 @@
metadata = @config.rpcs.cancel_operation.metadata.to_h
# Set x-goog-api-client and x-goog-user-project headers
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
lib_name: @config.lib_name, lib_version: @config.lib_version,
- gapic_version: ::Google::Cloud::Automl::V1beta1::VERSION
+ gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
header_params = {
"name" => request.name
}