google-apis-observability_v1 0.1.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b75c1d3351583bf292342505ad47623b6aa94f414add84b4cac0dc667646bc1a
4
- data.tar.gz: 00dae5b0bc5d87afc72a39dbb05fa9177d796ac708393ecd5a9870aad32cf233
3
+ metadata.gz: efe575cb2c4173b69a6cb9ffc3381bcdb626e1c2cda27d1fee318aa6a56374c8
4
+ data.tar.gz: b5b58edb215e7fa8da94b8cabb7ee08d629a64af41f0c86f80545dedcff7e5aa
5
5
  SHA512:
6
- metadata.gz: c56c0022e01e3719cce7530258783c34faf8adc28509b7c94af7e4884dfd914959cfa7e0511cdf4265f806bddaa662c46788ed03eefd1f012580854ab3fe770b
7
- data.tar.gz: 2f97ba266456085124f545188fc3d3d7c1b839ee5e40c8e43dfa65f074209740ef02e20ca70b1f40c3c3c233798e8fd96b7416a8cc52c5d790b1499ff0e11ff9
6
+ metadata.gz: 7a130b031b53782e8dec94f11d160373cdfadab2ad88be3bd40cd9eb980f14f935527a58f6192b59ab0765f005e6088cd2f7fd67bdb9040249f436d546389ff4
7
+ data.tar.gz: 7d624ed6e5dde34b0e1aa453c53b2086973f372da032b2381b1ab3d63c43a7a5c087a9f5f5391442a81edfa96ec9bf50124796b955fac307441d367cfd852970
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Release history for google-apis-observability_v1
2
2
 
3
+ ### v0.7.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250904
6
+
7
+ ### v0.6.0 (2025-08-31)
8
+
9
+ * Regenerated from discovery document revision 20250822
10
+
11
+ ### v0.5.0 (2025-08-24)
12
+
13
+ * Regenerated from discovery document revision 20250814
14
+ * Regenerated using generator version 0.18.0
15
+
16
+ ### v0.4.0 (2025-05-04)
17
+
18
+ * Regenerated using generator version 0.17.0
19
+
20
+ ### v0.3.0 (2025-04-27)
21
+
22
+ * Regenerated from discovery document revision 20250417
23
+
24
+ ### v0.2.0 (2025-03-30)
25
+
26
+ * Regenerated from discovery document revision 20250320
27
+
3
28
  ### v0.1.0 (2025-03-23)
4
29
 
5
30
  * Regenerated from discovery document revision 20250313
data/OVERVIEW.md CHANGED
@@ -79,11 +79,11 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation]() may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://cloud.google.com/stackdriver/docs/) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -101,6 +101,33 @@ module Google
101
101
  end
102
102
  end
103
103
 
104
+ # Response for listing TraceScopes.
105
+ class ListTraceScopesResponse
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # Optional. If there might be more results than appear in this response, then `
109
+ # next_page_token` is included. To get the next set of results, call the same
110
+ # method again using the value of `next_page_token` as `page_token`.
111
+ # Corresponds to the JSON property `nextPageToken`
112
+ # @return [String]
113
+ attr_accessor :next_page_token
114
+
115
+ # Optional. A list of trace scopes.
116
+ # Corresponds to the JSON property `traceScopes`
117
+ # @return [Array<Google::Apis::ObservabilityV1::TraceScope>]
118
+ attr_accessor :trace_scopes
119
+
120
+ def initialize(**args)
121
+ update!(**args)
122
+ end
123
+
124
+ # Update properties of this object
125
+ def update!(**args)
126
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
127
+ @trace_scopes = args[:trace_scopes] if args.key?(:trace_scopes)
128
+ end
129
+ end
130
+
104
131
  # A resource that represents a Google Cloud location.
105
132
  class Location
106
133
  include Google::Apis::Core::Hashable
@@ -286,6 +313,12 @@ module Google
286
313
  # @return [String]
287
314
  attr_accessor :name
288
315
 
316
+ # Required. The resource name of the `TraceScope`. For example: projects/
317
+ # myproject/locations/global/traceScopes/my-trace-scope
318
+ # Corresponds to the JSON property `traceScope`
319
+ # @return [String]
320
+ attr_accessor :trace_scope
321
+
289
322
  # Output only. Update timestamp. Note: The Update timestamp for the default
290
323
  # scope is initially unset.
291
324
  # Corresponds to the JSON property `updateTime`
@@ -300,6 +333,7 @@ module Google
300
333
  def update!(**args)
301
334
  @log_scope = args[:log_scope] if args.key?(:log_scope)
302
335
  @name = args[:name] if args.key?(:name)
336
+ @trace_scope = args[:trace_scope] if args.key?(:trace_scope)
303
337
  @update_time = args[:update_time] if args.key?(:update_time)
304
338
  end
305
339
  end
@@ -342,6 +376,52 @@ module Google
342
376
  @message = args[:message] if args.key?(:message)
343
377
  end
344
378
  end
379
+
380
+ # A trace scope is a collection of resources whose traces are queried together.
381
+ class TraceScope
382
+ include Google::Apis::Core::Hashable
383
+
384
+ # Output only. The creation timestamp of the trace scope.
385
+ # Corresponds to the JSON property `createTime`
386
+ # @return [String]
387
+ attr_accessor :create_time
388
+
389
+ # Optional. Describes this trace scope. The maximum length of the description is
390
+ # 8000 characters.
391
+ # Corresponds to the JSON property `description`
392
+ # @return [String]
393
+ attr_accessor :description
394
+
395
+ # Identifier. The resource name of the trace scope. For example: projects/my-
396
+ # project/locations/global/traceScopes/my-trace-scope
397
+ # Corresponds to the JSON property `name`
398
+ # @return [String]
399
+ attr_accessor :name
400
+
401
+ # Required. Names of the projects that are included in this trace scope. * `
402
+ # projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
403
+ # Corresponds to the JSON property `resourceNames`
404
+ # @return [Array<String>]
405
+ attr_accessor :resource_names
406
+
407
+ # Output only. The last update timestamp of the trace scope.
408
+ # Corresponds to the JSON property `updateTime`
409
+ # @return [String]
410
+ attr_accessor :update_time
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @create_time = args[:create_time] if args.key?(:create_time)
419
+ @description = args[:description] if args.key?(:description)
420
+ @name = args[:name] if args.key?(:name)
421
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
422
+ @update_time = args[:update_time] if args.key?(:update_time)
423
+ end
424
+ end
345
425
  end
346
426
  end
347
427
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ObservabilityV1
18
18
  # Version of the google-apis-observability_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250313"
25
+ REVISION = "20250904"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ListTraceScopesResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Location
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class TraceScope
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class CancelOperationRequest
80
92
  # @private
81
93
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -106,6 +118,15 @@ module Google
106
118
  end
107
119
  end
108
120
 
121
+ class ListTraceScopesResponse
122
+ # @private
123
+ class Representation < Google::Apis::Core::JsonRepresentation
124
+ property :next_page_token, as: 'nextPageToken'
125
+ collection :trace_scopes, as: 'traceScopes', class: Google::Apis::ObservabilityV1::TraceScope, decorator: Google::Apis::ObservabilityV1::TraceScope::Representation
126
+
127
+ end
128
+ end
129
+
109
130
  class Location
110
131
  # @private
111
132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -147,6 +168,7 @@ module Google
147
168
  class Representation < Google::Apis::Core::JsonRepresentation
148
169
  property :log_scope, as: 'logScope'
149
170
  property :name, as: 'name'
171
+ property :trace_scope, as: 'traceScope'
150
172
  property :update_time, as: 'updateTime'
151
173
  end
152
174
  end
@@ -159,6 +181,17 @@ module Google
159
181
  property :message, as: 'message'
160
182
  end
161
183
  end
184
+
185
+ class TraceScope
186
+ # @private
187
+ class Representation < Google::Apis::Core::JsonRepresentation
188
+ property :create_time, as: 'createTime'
189
+ property :description, as: 'description'
190
+ property :name, as: 'name'
191
+ collection :resource_names, as: 'resourceNames'
192
+ property :update_time, as: 'updateTime'
193
+ end
194
+ end
162
195
  end
163
196
  end
164
197
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # Observability = Google::Apis::ObservabilityV1 # Alias the module
31
31
  # service = Observability::CloudObservabilityService.new
32
32
  #
33
- # @see
33
+ # @see https://cloud.google.com/stackdriver/docs/
34
34
  class CloudObservabilityService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://observability.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -84,6 +84,9 @@ module Google
84
84
  # Lists information about the supported locations for this service.
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
+ # @param [Array<String>, String] extra_location_types
88
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
89
+ # field which is primarily intended for internal usage.
87
90
  # @param [String] filter
88
91
  # A filter to narrow down results to a preferred subset. The filtering language
89
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ module Google
111
114
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
114
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
115
118
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
116
119
  command.response_representation = Google::Apis::ObservabilityV1::ListLocationsResponse::Representation
117
120
  command.response_class = Google::Apis::ObservabilityV1::ListLocationsResponse
118
121
  command.params['name'] = name unless name.nil?
122
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
119
123
  command.query['filter'] = filter unless filter.nil?
120
124
  command.query['pageSize'] = page_size unless page_size.nil?
121
125
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -309,9 +313,9 @@ module Google
309
313
  # @param [String] update_mask
310
314
  # Optional. Field mask is used to specify the fields to be overwritten in the
311
315
  # Scope resource by the update. The fields specified in the update_mask are
312
- # relative to the resource, not the full request. A field will be overwritten if
313
- # it is in the mask. If the user does not provide a mask then all fields present
314
- # in the request will be overwritten.
316
+ # relative to the resource, not the full request. A field is overwritten when it
317
+ # is in the mask. If the user does not provide a mask, then all fields present
318
+ # in the request are overwritten.
315
319
  # @param [String] fields
316
320
  # Selector specifying which fields to include in a partial response.
317
321
  # @param [String] quota_user
@@ -341,6 +345,188 @@ module Google
341
345
  command.query['quotaUser'] = quota_user unless quota_user.nil?
342
346
  execute_or_queue_command(command, &block)
343
347
  end
348
+
349
+ # Create a new TraceScope.
350
+ # @param [String] parent
351
+ # Required. The full resource name of the location where the trace scope should
352
+ # be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/
353
+ # my-project/locations/global
354
+ # @param [Google::Apis::ObservabilityV1::TraceScope] trace_scope_object
355
+ # @param [String] trace_scope_id
356
+ # Required. A client-assigned identifier for the trace scope.
357
+ # @param [String] fields
358
+ # Selector specifying which fields to include in a partial response.
359
+ # @param [String] quota_user
360
+ # Available to use for quota purposes for server-side applications. Can be any
361
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
362
+ # @param [Google::Apis::RequestOptions] options
363
+ # Request-specific options
364
+ #
365
+ # @yield [result, err] Result & error if block supplied
366
+ # @yieldparam result [Google::Apis::ObservabilityV1::TraceScope] parsed result object
367
+ # @yieldparam err [StandardError] error object if request failed
368
+ #
369
+ # @return [Google::Apis::ObservabilityV1::TraceScope]
370
+ #
371
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
372
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
373
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
374
+ def create_project_location_trace_scope(parent, trace_scope_object = nil, trace_scope_id: nil, fields: nil, quota_user: nil, options: nil, &block)
375
+ command = make_simple_command(:post, 'v1/{+parent}/traceScopes', options)
376
+ command.request_representation = Google::Apis::ObservabilityV1::TraceScope::Representation
377
+ command.request_object = trace_scope_object
378
+ command.response_representation = Google::Apis::ObservabilityV1::TraceScope::Representation
379
+ command.response_class = Google::Apis::ObservabilityV1::TraceScope
380
+ command.params['parent'] = parent unless parent.nil?
381
+ command.query['traceScopeId'] = trace_scope_id unless trace_scope_id.nil?
382
+ command.query['fields'] = fields unless fields.nil?
383
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
384
+ execute_or_queue_command(command, &block)
385
+ end
386
+
387
+ # Delete a TraceScope.
388
+ # @param [String] name
389
+ # Required. The full resource name of the trace scope to delete: projects/[
390
+ # PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example:
391
+ # projects/my-project/locations/global/traceScopes/my-trace-scope
392
+ # @param [String] fields
393
+ # Selector specifying which fields to include in a partial response.
394
+ # @param [String] quota_user
395
+ # Available to use for quota purposes for server-side applications. Can be any
396
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
397
+ # @param [Google::Apis::RequestOptions] options
398
+ # Request-specific options
399
+ #
400
+ # @yield [result, err] Result & error if block supplied
401
+ # @yieldparam result [Google::Apis::ObservabilityV1::Empty] parsed result object
402
+ # @yieldparam err [StandardError] error object if request failed
403
+ #
404
+ # @return [Google::Apis::ObservabilityV1::Empty]
405
+ #
406
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
409
+ def delete_project_location_trace_scope(name, fields: nil, quota_user: nil, options: nil, &block)
410
+ command = make_simple_command(:delete, 'v1/{+name}', options)
411
+ command.response_representation = Google::Apis::ObservabilityV1::Empty::Representation
412
+ command.response_class = Google::Apis::ObservabilityV1::Empty
413
+ command.params['name'] = name unless name.nil?
414
+ command.query['fields'] = fields unless fields.nil?
415
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
416
+ execute_or_queue_command(command, &block)
417
+ end
418
+
419
+ # Get TraceScope resource.
420
+ # @param [String] name
421
+ # Required. The resource name of the trace scope: projects/[PROJECT_ID]/
422
+ # locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-
423
+ # project/locations/global/traceScopes/my-trace-scope
424
+ # @param [String] fields
425
+ # Selector specifying which fields to include in a partial response.
426
+ # @param [String] quota_user
427
+ # Available to use for quota purposes for server-side applications. Can be any
428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
429
+ # @param [Google::Apis::RequestOptions] options
430
+ # Request-specific options
431
+ #
432
+ # @yield [result, err] Result & error if block supplied
433
+ # @yieldparam result [Google::Apis::ObservabilityV1::TraceScope] parsed result object
434
+ # @yieldparam err [StandardError] error object if request failed
435
+ #
436
+ # @return [Google::Apis::ObservabilityV1::TraceScope]
437
+ #
438
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
439
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
440
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
441
+ def get_project_location_trace_scope(name, fields: nil, quota_user: nil, options: nil, &block)
442
+ command = make_simple_command(:get, 'v1/{+name}', options)
443
+ command.response_representation = Google::Apis::ObservabilityV1::TraceScope::Representation
444
+ command.response_class = Google::Apis::ObservabilityV1::TraceScope
445
+ command.params['name'] = name unless name.nil?
446
+ command.query['fields'] = fields unless fields.nil?
447
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
448
+ execute_or_queue_command(command, &block)
449
+ end
450
+
451
+ # List TraceScopes of a project in a particular location.
452
+ # @param [String] parent
453
+ # Required. The full resource name of the location to look for trace scopes:
454
+ # projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/
455
+ # locations/global
456
+ # @param [Fixnum] page_size
457
+ # Optional. The maximum number of results to return from this request. Non-
458
+ # positive values are ignored. The presence of `next_page_token` in the response
459
+ # indicates that more results might be available.
460
+ # @param [String] page_token
461
+ # Optional. If present, then retrieve the next batch of results from the
462
+ # preceding call to this method. `page_token` must be the value of `
463
+ # next_page_token` from the previous response. The values of other method
464
+ # parameters should be identical to those in the previous call.
465
+ # @param [String] fields
466
+ # Selector specifying which fields to include in a partial response.
467
+ # @param [String] quota_user
468
+ # Available to use for quota purposes for server-side applications. Can be any
469
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
470
+ # @param [Google::Apis::RequestOptions] options
471
+ # Request-specific options
472
+ #
473
+ # @yield [result, err] Result & error if block supplied
474
+ # @yieldparam result [Google::Apis::ObservabilityV1::ListTraceScopesResponse] parsed result object
475
+ # @yieldparam err [StandardError] error object if request failed
476
+ #
477
+ # @return [Google::Apis::ObservabilityV1::ListTraceScopesResponse]
478
+ #
479
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
482
+ def list_project_location_trace_scopes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
483
+ command = make_simple_command(:get, 'v1/{+parent}/traceScopes', options)
484
+ command.response_representation = Google::Apis::ObservabilityV1::ListTraceScopesResponse::Representation
485
+ command.response_class = Google::Apis::ObservabilityV1::ListTraceScopesResponse
486
+ command.params['parent'] = parent unless parent.nil?
487
+ command.query['pageSize'] = page_size unless page_size.nil?
488
+ command.query['pageToken'] = page_token unless page_token.nil?
489
+ command.query['fields'] = fields unless fields.nil?
490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
491
+ execute_or_queue_command(command, &block)
492
+ end
493
+
494
+ # Update a TraceScope.
495
+ # @param [String] name
496
+ # Identifier. The resource name of the trace scope. For example: projects/my-
497
+ # project/locations/global/traceScopes/my-trace-scope
498
+ # @param [Google::Apis::ObservabilityV1::TraceScope] trace_scope_object
499
+ # @param [String] update_mask
500
+ # Optional. The list of fields to update.
501
+ # @param [String] fields
502
+ # Selector specifying which fields to include in a partial response.
503
+ # @param [String] quota_user
504
+ # Available to use for quota purposes for server-side applications. Can be any
505
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
506
+ # @param [Google::Apis::RequestOptions] options
507
+ # Request-specific options
508
+ #
509
+ # @yield [result, err] Result & error if block supplied
510
+ # @yieldparam result [Google::Apis::ObservabilityV1::TraceScope] parsed result object
511
+ # @yieldparam err [StandardError] error object if request failed
512
+ #
513
+ # @return [Google::Apis::ObservabilityV1::TraceScope]
514
+ #
515
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
516
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
517
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
518
+ def patch_project_location_trace_scope(name, trace_scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
519
+ command = make_simple_command(:patch, 'v1/{+name}', options)
520
+ command.request_representation = Google::Apis::ObservabilityV1::TraceScope::Representation
521
+ command.request_object = trace_scope_object
522
+ command.response_representation = Google::Apis::ObservabilityV1::TraceScope::Representation
523
+ command.response_class = Google::Apis::ObservabilityV1::TraceScope
524
+ command.params['name'] = name unless name.nil?
525
+ command.query['updateMask'] = update_mask unless update_mask.nil?
526
+ command.query['fields'] = fields unless fields.nil?
527
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
528
+ execute_or_queue_command(command, &block)
529
+ end
344
530
 
345
531
  protected
346
532
 
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  #
25
25
  #
26
- # @see
26
+ # @see https://cloud.google.com/stackdriver/docs/
27
27
  module ObservabilityV1
28
28
  # Version of the Observability API this client connects to.
29
29
  # This is NOT the gem version.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-observability_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-observability_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-observability_v1/v0.1.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-observability_v1/v0.7.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-observability_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Observability API V1
79
79
  test_files: []