We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71b52d2 commit 8aa9644Copy full SHA for 8aa9644
1 file changed
google-cloud-storage-control-v2/lib/google/cloud/storage/control/v2/storage_control/operations.rb
@@ -284,6 +284,7 @@ def get_operation request, options = nil
284
# Customize the options with defaults
285
metadata = @config.rpcs.get_operation.metadata.to_h
286
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
287
+
288
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
289
lib_name: @config.lib_name, lib_version: @config.lib_version,
290
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
0 commit comments