google-cloud-trace-v1 0.9.0 → 1.0.1

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: e37a189c3942341a0a1909ec58de0ef41401a1ea9c64a8821df52078d7d03f00
4
+ data.tar.gz: 633a14f679e3576c53ac8cabbaa85ee25d23ce504367ea28f9a9f30ac87b59b8
5
5
  SHA512:
6
- metadata.gz: f0aff7cd0992153d16c6c3cfe5fd8578e4fb13394abf66dbd0c043006efb2147280b64df695e7d14acd38de9dbc1d34880cae789a84c7320c6e5510379e9a851
7
- data.tar.gz: cefef45342ec9ccef717629fda591476addd1069ecb2ad11f62939d1300b2878b7763dda5c8906c3cc46f6421efe837151cff632c1bd483f744d8cd26d2bcdd3
6
+ metadata.gz: abbc05b17cd2db4d11bb4ccdf87fd6629e33b28b783e456d2c1a651c8c75c519629ea4723b6ad3ff1732d380a811885c8985d23bacb211c6883c48a53c682e08
7
+ data.tar.gz: 031a0fbc456b034de1a9b00cda4dbbc4f6aeea9c01c83f06c23d0ac85c21190b21f69ef049ee534947ab68ad937630fdadb5c831adedd6cd293a3d14a22ddd1f
@@ -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.1"
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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.1
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-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common