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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 804ddec08a62d2d74400982ba5b0f128d1a8230e90c75323188a0752aad43420
|
4
|
+
data.tar.gz: 1834c7271045853750043692955f388834c15d97f6660faf866f86011610656f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
@@ -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.
|
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-
|
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
|
+
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.
|
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.
|
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
|