google-cloud-trace-v1 0.6.1 → 0.7.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: f13989436387c152ee29906b522a4bd7a4fc6ace2bff76aff2bc1aa3ef06e694
4
- data.tar.gz: 8e12821037ee82ed679eeedb467547e5311093ada7f624bab2f621b14c134f4d
3
+ metadata.gz: 804ddec08a62d2d74400982ba5b0f128d1a8230e90c75323188a0752aad43420
4
+ data.tar.gz: 1834c7271045853750043692955f388834c15d97f6660faf866f86011610656f
5
5
  SHA512:
6
- metadata.gz: afb7ab5e343858c3b1fd908ca970ea62513b6cda00a8d39523ee535504c0b1e39f1a129e94852f6b49e00c6aa02ba9df45b5fabbfef6c9cc50293f455620e1ae
7
- data.tar.gz: '018e1366576eb0568b5b63fcf803f46a528224079ead48b65f0f3da2e9d78d5942bf50109a52f678376419e4aa99f1310106202e3a1d0c13fdbe4e5490901645'
6
+ metadata.gz: 4025dcb84091825f3c12f747c8b36e3d2392bdc3b9c842ef3672e06893e58e0a635d7e3cdf7a20303bacd325636d17dcf22f94da2acbf513dadcc0fc5e58c3b1
7
+ data.tar.gz: 9fb3e4ae3bb0637e6f631e406f913c6788339dceeba9c4be07ca89d1aabb5de39b6ae0adb53fbfeb45b11fa3fa88d8eb3f2450e8803dd8130e620fb0febb5e63
@@ -155,7 +155,8 @@ module Google
155
155
  credentials: credentials,
156
156
  endpoint: @config.endpoint,
157
157
  channel_args: @config.channel_args,
158
- interceptors: @config.interceptors
158
+ interceptors: @config.interceptors,
159
+ channel_pool_config: @config.channel_pool
159
160
  )
160
161
  end
161
162
 
@@ -612,6 +613,14 @@ module Google
612
613
  end
613
614
  end
614
615
 
616
+ ##
617
+ # Configuration for the channel pool
618
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
619
+ #
620
+ def channel_pool
621
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
622
+ end
623
+
615
624
  ##
616
625
  # Configuration RPC class for the TraceService API.
617
626
  #
@@ -240,6 +240,26 @@ module Google
240
240
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Trace::V1::Trace>]
241
241
  #
242
242
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
243
+ #
244
+ # @example Basic example
245
+ # require "google/cloud/trace/v1"
246
+ #
247
+ # # Create a client object. The client can be reused for multiple calls.
248
+ # client = Google::Cloud::Trace::V1::TraceService::Rest::Client.new
249
+ #
250
+ # # Create a request. To set request fields, pass in keyword arguments.
251
+ # request = Google::Cloud::Trace::V1::ListTracesRequest.new
252
+ #
253
+ # # Call the list_traces method.
254
+ # result = client.list_traces request
255
+ #
256
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
257
+ # # over elements, and API calls will be issued to fetch pages as needed.
258
+ # result.each do |item|
259
+ # # Each element is of type ::Google::Cloud::Trace::V1::Trace.
260
+ # p item
261
+ # end
262
+ #
243
263
  def list_traces request, options = nil
244
264
  raise ::ArgumentError, "request must be provided" if request.nil?
245
265
 
@@ -305,6 +325,22 @@ module Google
305
325
  # @return [::Google::Cloud::Trace::V1::Trace]
306
326
  #
307
327
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
328
+ #
329
+ # @example Basic example
330
+ # require "google/cloud/trace/v1"
331
+ #
332
+ # # Create a client object. The client can be reused for multiple calls.
333
+ # client = Google::Cloud::Trace::V1::TraceService::Rest::Client.new
334
+ #
335
+ # # Create a request. To set request fields, pass in keyword arguments.
336
+ # request = Google::Cloud::Trace::V1::GetTraceRequest.new
337
+ #
338
+ # # Call the get_trace method.
339
+ # result = client.get_trace request
340
+ #
341
+ # # The returned object is of type Google::Cloud::Trace::V1::Trace.
342
+ # p result
343
+ #
308
344
  def get_trace request, options = nil
309
345
  raise ::ArgumentError, "request must be provided" if request.nil?
310
346
 
@@ -373,6 +409,22 @@ module Google
373
409
  # @return [::Google::Protobuf::Empty]
374
410
  #
375
411
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
412
+ #
413
+ # @example Basic example
414
+ # require "google/cloud/trace/v1"
415
+ #
416
+ # # Create a client object. The client can be reused for multiple calls.
417
+ # client = Google::Cloud::Trace::V1::TraceService::Rest::Client.new
418
+ #
419
+ # # Create a request. To set request fields, pass in keyword arguments.
420
+ # request = Google::Cloud::Trace::V1::PatchTracesRequest.new
421
+ #
422
+ # # Call the patch_traces method.
423
+ # result = client.patch_traces request
424
+ #
425
+ # # The returned object is of type Google::Protobuf::Empty.
426
+ # p result
427
+ #
376
428
  def patch_traces request, options = nil
377
429
  raise ::ArgumentError, "request must be provided" if request.nil?
378
430
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Trace
23
23
  module V1
24
- VERSION = "0.6.1"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.6.1
4
+ version: 0.7.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: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  - !ruby/object:Gem::Version
213
213
  version: '0'
214
214
  requirements: []
215
- rubygems_version: 3.4.2
215
+ rubygems_version: 3.4.19
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: Sends application trace data to Stackdriver Trace for viewing. Trace data