google-cloud-trace-v1 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09f1569575485de5dd8aa1df51e346dfea27fc87fbf770adc93897c1e0d8f831'
4
- data.tar.gz: f206597d0ae9595a9aecab2318fb26e077de2a01651fdde7faa5ed6bfbceb288
3
+ metadata.gz: 893d7621343fb3f37cf6d3b3ff605c4ee838fbe010a00d9228a5ee811caf91dc
4
+ data.tar.gz: 6974f1aeb011dca06b5883513c1672e7c6c4cdf3fe524c92800c7184a8a7a9e1
5
5
  SHA512:
6
- metadata.gz: f0aff7cd0992153d16c6c3cfe5fd8578e4fb13394abf66dbd0c043006efb2147280b64df695e7d14acd38de9dbc1d34880cae789a84c7320c6e5510379e9a851
7
- data.tar.gz: cefef45342ec9ccef717629fda591476addd1069ecb2ad11f62939d1300b2878b7763dda5c8906c3cc46f6421efe837151cff632c1bd483f744d8cd26d2bcdd3
6
+ metadata.gz: f44ee4e525bf085a7228cd8efe86320eea2dd49fde751001f384fae07cfaa0a644a0a1592e06b6e9c73546e7aaa46b2f380f987fff2f0862d366075256615542
7
+ data.tar.gz: 012574a2ff43927c713da9ae36084b2296ca92c26b1cf584eb8a82a020176b088602c7bd0ff53a41b4082b90c666888617df15f43849ccfe03f28ad95f090e13
@@ -34,6 +34,9 @@ module Google
34
34
  # may span multiple services.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "cloudtrace.$UNIVERSE_DOMAIN$"
39
42
 
@@ -297,10 +300,11 @@ module Google
297
300
  # Customize the options with defaults
298
301
  metadata = @config.rpcs.list_traces.metadata.to_h
299
302
 
300
- # Set x-goog-api-client and x-goog-user-project headers
303
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
301
304
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
302
305
  lib_name: @config.lib_name, lib_version: @config.lib_version,
303
306
  gapic_version: ::Google::Cloud::Trace::V1::VERSION
307
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
304
308
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
305
309
 
306
310
  header_params = {}
@@ -385,10 +389,11 @@ module Google
385
389
  # Customize the options with defaults
386
390
  metadata = @config.rpcs.get_trace.metadata.to_h
387
391
 
388
- # Set x-goog-api-client and x-goog-user-project headers
392
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
389
393
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
390
394
  lib_name: @config.lib_name, lib_version: @config.lib_version,
391
395
  gapic_version: ::Google::Cloud::Trace::V1::VERSION
396
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
392
397
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
393
398
 
394
399
  header_params = {}
@@ -479,10 +484,11 @@ module Google
479
484
  # Customize the options with defaults
480
485
  metadata = @config.rpcs.patch_traces.metadata.to_h
481
486
 
482
- # Set x-goog-api-client and x-goog-user-project headers
487
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
483
488
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
484
489
  lib_name: @config.lib_name, lib_version: @config.lib_version,
485
490
  gapic_version: ::Google::Cloud::Trace::V1::VERSION
491
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
486
492
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
487
493
 
488
494
  header_params = {}
@@ -36,6 +36,9 @@ module Google
36
36
  # may span multiple services.
37
37
  #
38
38
  class Client
39
+ # @private
40
+ API_VERSION = ""
41
+
39
42
  # @private
40
43
  DEFAULT_ENDPOINT_TEMPLATE = "cloudtrace.$UNIVERSE_DOMAIN$"
41
44
 
@@ -289,12 +292,13 @@ module Google
289
292
  # Customize the options with defaults
290
293
  call_metadata = @config.rpcs.list_traces.metadata.to_h
291
294
 
292
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
293
296
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
294
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
295
298
  gapic_version: ::Google::Cloud::Trace::V1::VERSION,
296
299
  transports_version_send: [:rest]
297
300
 
301
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
298
302
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
299
303
 
300
304
  options.apply_defaults timeout: @config.rpcs.list_traces.timeout,
@@ -370,12 +374,13 @@ module Google
370
374
  # Customize the options with defaults
371
375
  call_metadata = @config.rpcs.get_trace.metadata.to_h
372
376
 
373
- # Set x-goog-api-client and x-goog-user-project headers
377
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
374
378
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
375
379
  lib_name: @config.lib_name, lib_version: @config.lib_version,
376
380
  gapic_version: ::Google::Cloud::Trace::V1::VERSION,
377
381
  transports_version_send: [:rest]
378
382
 
383
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
379
384
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
380
385
 
381
386
  options.apply_defaults timeout: @config.rpcs.get_trace.timeout,
@@ -454,12 +459,13 @@ module Google
454
459
  # Customize the options with defaults
455
460
  call_metadata = @config.rpcs.patch_traces.metadata.to_h
456
461
 
457
- # Set x-goog-api-client and x-goog-user-project headers
462
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
458
463
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
459
464
  lib_name: @config.lib_name, lib_version: @config.lib_version,
460
465
  gapic_version: ::Google::Cloud::Trace::V1::VERSION,
461
466
  transports_version_send: [:rest]
462
467
 
468
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
463
469
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
464
470
 
465
471
  options.apply_defaults timeout: @config.rpcs.patch_traces.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Trace
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common