From 97967804daec9e3799bfc38b4aae3e60a7df9e2a Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Mon, 5 Nov 2018 16:16:19 -0800 Subject: [PATCH] Fix naming of monitoring.projects.timeSeries.create method (#734) --- Gemfile | 2 +- api_names_out.yaml | 2 +- spec/google/apis/core/http_command_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index bfc17665e..18083ae72 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,7 @@ group :development do gem 'rmail', '~> 1.1' gem 'redis', '~> 3.2' gem 'logging', '~> 2.2' - gem 'opencensus', '~> 0.3' + gem 'opencensus', '~> 0.4' end platforms :jruby do diff --git a/api_names_out.yaml b/api_names_out.yaml index ae6698d5f..753d4cf78 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -71946,7 +71946,7 @@ "/monitoring:v3/monitoring.projects.notificationChannels.sendVerificationCode/name": name "/monitoring:v3/monitoring.projects.notificationChannels.verify": verify_notification_channel "/monitoring:v3/monitoring.projects.notificationChannels.verify/name": name -"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series +"/monitoring:v3/monitoring.projects.timeSeries.create": create_project_time_series "/monitoring:v3/monitoring.projects.timeSeries.create/name": name "/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series "/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period diff --git a/spec/google/apis/core/http_command_spec.rb b/spec/google/apis/core/http_command_spec.rb index 6c6b6c8a4..4d039862f 100644 --- a/spec/google/apis/core/http_command_spec.rb +++ b/spec/google/apis/core/http_command_spec.rb @@ -343,7 +343,7 @@ RSpec.describe Google::Apis::Core::HttpCommand do OpenCensus::Trace.start_request_trace do |span_context| result = command.execute(client) expect(a_request(:get, 'https://www.googleapis.com/zoo/animals') - .with { |req| !req.headers['Trace-Context'].empty? }).to have_been_made + .with { |req| !req.headers['Traceparent'].empty? }).to have_been_made end end