google-apis-observability_v1 0.2.0 → 0.14.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: d734da16a15f1ef37cba941c623614072934ba54b5334eac61faafaa50885549
4
- data.tar.gz: 441e6aa6da9eb3218dd371f908edb2787ffb90736a0d105b3925bd03654b0730
3
+ metadata.gz: 2c48821fd8cd63b25ff168988e6eb2a540a8673122f1c500a2e1c0cf36ab3965
4
+ data.tar.gz: ffd2aca599200573471dfcedc18c8b878462ca475255391fb64524d3824787a4
5
5
  SHA512:
6
- metadata.gz: ac1e8c7974f0e35f92883f5910b96ecde1f18a05ec8283136197f7c2512d859b17098e3ff91c8e6eb2fed06554ffe7687e0d96c3c8b1a93adc44655d467bf970
7
- data.tar.gz: 5b9c69e6d3c76efd096bc79760b7bc02a9a371c32a71a07dd89bccb9e0e168d081e7c31c56f512a5581dd81a836f3df2502062ccda056ae6ac4178e41600f39a
6
+ metadata.gz: f44cc3d60253081a6932917221c6a5447c0cbc82bd54895cb269d1ed9804c8fe65d7be69a1272b31b41b1fff403b574943c739f63227e8984e0438a0ab60209e
7
+ data.tar.gz: e9d401125756037423d6d7ca2991235810803865e83d4796e81d38395df6452c565321581ae7dfde0128694af8c3438bc0edf2c02a675926ec6f811c3d8cea78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Release history for google-apis-observability_v1
2
2
 
3
+ ### v0.14.0 (2026-02-08)
4
+
5
+ * Regenerated from discovery document revision 20260129
6
+
7
+ ### v0.13.0 (2026-02-01)
8
+
9
+ * Regenerated from discovery document revision 20260122
10
+
11
+ ### v0.12.0 (2025-12-21)
12
+
13
+ * Regenerated from discovery document revision 20251211
14
+
15
+ ### v0.11.0 (2025-12-14)
16
+
17
+ * Regenerated from discovery document revision 20251204
18
+
19
+ ### v0.10.0 (2025-11-23)
20
+
21
+ * Regenerated from discovery document revision 20251113
22
+
23
+ ### v0.9.0 (2025-11-02)
24
+
25
+ * Regenerated from discovery document revision 20251023
26
+
27
+ ### v0.8.0 (2025-10-05)
28
+
29
+ * Regenerated from discovery document revision 20250925
30
+
31
+ ### v0.7.0 (2025-09-14)
32
+
33
+ * Regenerated from discovery document revision 20250904
34
+
35
+ ### v0.6.0 (2025-08-31)
36
+
37
+ * Regenerated from discovery document revision 20250822
38
+
39
+ ### v0.5.0 (2025-08-24)
40
+
41
+ * Regenerated from discovery document revision 20250814
42
+ * Regenerated using generator version 0.18.0
43
+
44
+ ### v0.4.0 (2025-05-04)
45
+
46
+ * Regenerated using generator version 0.17.0
47
+
48
+ ### v0.3.0 (2025-04-27)
49
+
50
+ * Regenerated from discovery document revision 20250417
51
+
3
52
  ### v0.2.0 (2025-03-30)
4
53
 
5
54
  * Regenerated from discovery document revision 20250320
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/stackdriver/docs/) may prov
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
 
@@ -22,6 +22,68 @@ module Google
22
22
  module Apis
23
23
  module ObservabilityV1
24
24
 
25
+ # Bucket configuration for storing observability data.
26
+ class Bucket
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Settings for configuring CMEK for a bucket.
30
+ # Corresponds to the JSON property `cmekSettings`
31
+ # @return [Google::Apis::ObservabilityV1::CmekSettings]
32
+ attr_accessor :cmek_settings
33
+
34
+ # Output only. Create timestamp.
35
+ # Corresponds to the JSON property `createTime`
36
+ # @return [String]
37
+ attr_accessor :create_time
38
+
39
+ # Output only. Delete timestamp.
40
+ # Corresponds to the JSON property `deleteTime`
41
+ # @return [String]
42
+ attr_accessor :delete_time
43
+
44
+ # Optional. Description of the bucket.
45
+ # Corresponds to the JSON property `description`
46
+ # @return [String]
47
+ attr_accessor :description
48
+
49
+ # Optional. User friendly display name.
50
+ # Corresponds to the JSON property `displayName`
51
+ # @return [String]
52
+ attr_accessor :display_name
53
+
54
+ # Identifier. Name of the bucket. The format is: projects/[PROJECT_ID]/locations/
55
+ # [LOCATION]/buckets/[BUCKET_ID]
56
+ # Corresponds to the JSON property `name`
57
+ # @return [String]
58
+ attr_accessor :name
59
+
60
+ # Output only. Timestamp when the bucket in soft-deleted state is purged.
61
+ # Corresponds to the JSON property `purgeTime`
62
+ # @return [String]
63
+ attr_accessor :purge_time
64
+
65
+ # Output only. Update timestamp.
66
+ # Corresponds to the JSON property `updateTime`
67
+ # @return [String]
68
+ attr_accessor :update_time
69
+
70
+ def initialize(**args)
71
+ update!(**args)
72
+ end
73
+
74
+ # Update properties of this object
75
+ def update!(**args)
76
+ @cmek_settings = args[:cmek_settings] if args.key?(:cmek_settings)
77
+ @create_time = args[:create_time] if args.key?(:create_time)
78
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
79
+ @description = args[:description] if args.key?(:description)
80
+ @display_name = args[:display_name] if args.key?(:display_name)
81
+ @name = args[:name] if args.key?(:name)
82
+ @purge_time = args[:purge_time] if args.key?(:purge_time)
83
+ @update_time = args[:update_time] if args.key?(:update_time)
84
+ end
85
+ end
86
+
25
87
  # The request message for Operations.CancelOperation.
26
88
  class CancelOperationRequest
27
89
  include Google::Apis::Core::Hashable
@@ -35,6 +97,97 @@ module Google
35
97
  end
36
98
  end
37
99
 
100
+ # Settings for configuring CMEK for a bucket.
101
+ class CmekSettings
102
+ include Google::Apis::Core::Hashable
103
+
104
+ # Optional. The resource name for the configured Cloud KMS key. The format is:
105
+ # projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]
106
+ # For example: projects/my-project/locations/us-central1/keyRings/my-ring/
107
+ # cryptoKeys/my-key
108
+ # Corresponds to the JSON property `kmsKey`
109
+ # @return [String]
110
+ attr_accessor :kms_key
111
+
112
+ # Output only. The CryptoKeyVersion resource name for the configured Cloud KMS
113
+ # key. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[
114
+ # KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION] For example: projects/my-
115
+ # project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/
116
+ # cryptoKeyVersions/1 This read-only field is used to convey the specific
117
+ # configured CryptoKeyVersion of the `kms_key` that has been configured. It is
118
+ # populated when the CMEK settings are bound to a single key version.
119
+ # Corresponds to the JSON property `kmsKeyVersion`
120
+ # @return [String]
121
+ attr_accessor :kms_key_version
122
+
123
+ # Output only. The service account used to access the key.
124
+ # Corresponds to the JSON property `serviceAccountId`
125
+ # @return [String]
126
+ attr_accessor :service_account_id
127
+
128
+ def initialize(**args)
129
+ update!(**args)
130
+ end
131
+
132
+ # Update properties of this object
133
+ def update!(**args)
134
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
135
+ @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
136
+ @service_account_id = args[:service_account_id] if args.key?(:service_account_id)
137
+ end
138
+ end
139
+
140
+ # A dataset is a collection of data that has a specific configuration. A dataset
141
+ # can be backed by multiple tables. One bucket can have multiple datasets.
142
+ class Dataset
143
+ include Google::Apis::Core::Hashable
144
+
145
+ # Output only. Create timestamp.
146
+ # Corresponds to the JSON property `createTime`
147
+ # @return [String]
148
+ attr_accessor :create_time
149
+
150
+ # Output only. Delete timestamp.
151
+ # Corresponds to the JSON property `deleteTime`
152
+ # @return [String]
153
+ attr_accessor :delete_time
154
+
155
+ # Optional. Description of the dataset.
156
+ # Corresponds to the JSON property `description`
157
+ # @return [String]
158
+ attr_accessor :description
159
+
160
+ # Optional. User friendly display name.
161
+ # Corresponds to the JSON property `displayName`
162
+ # @return [String]
163
+ attr_accessor :display_name
164
+
165
+ # Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/
166
+ # locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
167
+ # Corresponds to the JSON property `name`
168
+ # @return [String]
169
+ attr_accessor :name
170
+
171
+ # Output only. Timestamp when the dataset in soft-deleted state is purged.
172
+ # Corresponds to the JSON property `purgeTime`
173
+ # @return [String]
174
+ attr_accessor :purge_time
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @create_time = args[:create_time] if args.key?(:create_time)
183
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
184
+ @description = args[:description] if args.key?(:description)
185
+ @display_name = args[:display_name] if args.key?(:display_name)
186
+ @name = args[:name] if args.key?(:name)
187
+ @purge_time = args[:purge_time] if args.key?(:purge_time)
188
+ end
189
+ end
190
+
38
191
  # A generic empty message that you can re-use to avoid defining duplicated empty
39
192
  # messages in your APIs. A typical example is to use it as the request or the
40
193
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -51,6 +204,122 @@ module Google
51
204
  end
52
205
  end
53
206
 
207
+ # A link lets a dataset be accessible to BigQuery via usage of linked datasets.
208
+ class Link
209
+ include Google::Apis::Core::Hashable
210
+
211
+ # Output only. Create timestamp.
212
+ # Corresponds to the JSON property `createTime`
213
+ # @return [String]
214
+ attr_accessor :create_time
215
+
216
+ # Optional. Description of the link.
217
+ # Corresponds to the JSON property `description`
218
+ # @return [String]
219
+ attr_accessor :description
220
+
221
+ # Optional. A user friendly display name.
222
+ # Corresponds to the JSON property `displayName`
223
+ # @return [String]
224
+ attr_accessor :display_name
225
+
226
+ # Identifier. Name of the link. The format is: projects/[PROJECT_ID]/locations/[
227
+ # LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]
228
+ # Corresponds to the JSON property `name`
229
+ # @return [String]
230
+ attr_accessor :name
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @create_time = args[:create_time] if args.key?(:create_time)
239
+ @description = args[:description] if args.key?(:description)
240
+ @display_name = args[:display_name] if args.key?(:display_name)
241
+ @name = args[:name] if args.key?(:name)
242
+ end
243
+ end
244
+
245
+ # Response for listing buckets.
246
+ class ListBucketsResponse
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Optional. The list of buckets.
250
+ # Corresponds to the JSON property `buckets`
251
+ # @return [Array<Google::Apis::ObservabilityV1::Bucket>]
252
+ attr_accessor :buckets
253
+
254
+ # Optional. A token that can be sent as `page_token` to retrieve the next page.
255
+ # When this field is omitted, there are no subsequent pages.
256
+ # Corresponds to the JSON property `nextPageToken`
257
+ # @return [String]
258
+ attr_accessor :next_page_token
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @buckets = args[:buckets] if args.key?(:buckets)
267
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
268
+ end
269
+ end
270
+
271
+ # Response for listing datasets.
272
+ class ListDatasetsResponse
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # The list of datasets.
276
+ # Corresponds to the JSON property `datasets`
277
+ # @return [Array<Google::Apis::ObservabilityV1::Dataset>]
278
+ attr_accessor :datasets
279
+
280
+ # A token that can be sent as `page_token` to retrieve the next page. When this
281
+ # field is omitted, there are no subsequent pages.
282
+ # Corresponds to the JSON property `nextPageToken`
283
+ # @return [String]
284
+ attr_accessor :next_page_token
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @datasets = args[:datasets] if args.key?(:datasets)
293
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
294
+ end
295
+ end
296
+
297
+ # Response for listing links.
298
+ class ListLinksResponse
299
+ include Google::Apis::Core::Hashable
300
+
301
+ # The list of links.
302
+ # Corresponds to the JSON property `links`
303
+ # @return [Array<Google::Apis::ObservabilityV1::Link>]
304
+ attr_accessor :links
305
+
306
+ # Optional. A token that can be sent as `page_token` to retrieve the next page.
307
+ # When this field is omitted, there are no subsequent pages.
308
+ # Corresponds to the JSON property `nextPageToken`
309
+ # @return [String]
310
+ attr_accessor :next_page_token
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @links = args[:links] if args.key?(:links)
319
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
320
+ end
321
+ end
322
+
54
323
  # The response message for Locations.ListLocations.
55
324
  class ListLocationsResponse
56
325
  include Google::Apis::Core::Hashable
@@ -90,6 +359,14 @@ module Google
90
359
  # @return [Array<Google::Apis::ObservabilityV1::Operation>]
91
360
  attr_accessor :operations
92
361
 
362
+ # Unordered list. Unreachable resources. Populated when the request sets `
363
+ # ListOperationsRequest.return_partial_success` and reads across collections.
364
+ # For example, when attempting to list all resources across all supported
365
+ # locations.
366
+ # Corresponds to the JSON property `unreachable`
367
+ # @return [Array<String>]
368
+ attr_accessor :unreachable
369
+
93
370
  def initialize(**args)
94
371
  update!(**args)
95
372
  end
@@ -98,6 +375,60 @@ module Google
98
375
  def update!(**args)
99
376
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
100
377
  @operations = args[:operations] if args.key?(:operations)
378
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
379
+ end
380
+ end
381
+
382
+ # Response for listing TraceScopes.
383
+ class ListTraceScopesResponse
384
+ include Google::Apis::Core::Hashable
385
+
386
+ # Optional. If there might be more results than appear in this response, then `
387
+ # next_page_token` is included. To get the next set of results, call the same
388
+ # method again using the value of `next_page_token` as `page_token`.
389
+ # Corresponds to the JSON property `nextPageToken`
390
+ # @return [String]
391
+ attr_accessor :next_page_token
392
+
393
+ # Optional. A list of trace scopes.
394
+ # Corresponds to the JSON property `traceScopes`
395
+ # @return [Array<Google::Apis::ObservabilityV1::TraceScope>]
396
+ attr_accessor :trace_scopes
397
+
398
+ def initialize(**args)
399
+ update!(**args)
400
+ end
401
+
402
+ # Update properties of this object
403
+ def update!(**args)
404
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
405
+ @trace_scopes = args[:trace_scopes] if args.key?(:trace_scopes)
406
+ end
407
+ end
408
+
409
+ # Response for listing views.
410
+ class ListViewsResponse
411
+ include Google::Apis::Core::Hashable
412
+
413
+ # Optional. A token that can be sent as `page_token` to retrieve the next page.
414
+ # When this field is omitted, there are no subsequent pages.
415
+ # Corresponds to the JSON property `nextPageToken`
416
+ # @return [String]
417
+ attr_accessor :next_page_token
418
+
419
+ # The list of views.
420
+ # Corresponds to the JSON property `views`
421
+ # @return [Array<Google::Apis::ObservabilityV1::View>]
422
+ attr_accessor :views
423
+
424
+ def initialize(**args)
425
+ update!(**args)
426
+ end
427
+
428
+ # Update properties of this object
429
+ def update!(**args)
430
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
431
+ @views = args[:views] if args.key?(:views)
101
432
  end
102
433
  end
103
434
 
@@ -286,6 +617,12 @@ module Google
286
617
  # @return [String]
287
618
  attr_accessor :name
288
619
 
620
+ # Required. The resource name of the `TraceScope`. For example: projects/
621
+ # myproject/locations/global/traceScopes/my-trace-scope
622
+ # Corresponds to the JSON property `traceScope`
623
+ # @return [String]
624
+ attr_accessor :trace_scope
625
+
289
626
  # Output only. Update timestamp. Note: The Update timestamp for the default
290
627
  # scope is initially unset.
291
628
  # Corresponds to the JSON property `updateTime`
@@ -300,6 +637,7 @@ module Google
300
637
  def update!(**args)
301
638
  @log_scope = args[:log_scope] if args.key?(:log_scope)
302
639
  @name = args[:name] if args.key?(:name)
640
+ @trace_scope = args[:trace_scope] if args.key?(:trace_scope)
303
641
  @update_time = args[:update_time] if args.key?(:update_time)
304
642
  end
305
643
  end
@@ -342,6 +680,97 @@ module Google
342
680
  @message = args[:message] if args.key?(:message)
343
681
  end
344
682
  end
683
+
684
+ # A trace scope is a collection of resources whose traces are queried together.
685
+ class TraceScope
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # Output only. The creation timestamp of the trace scope.
689
+ # Corresponds to the JSON property `createTime`
690
+ # @return [String]
691
+ attr_accessor :create_time
692
+
693
+ # Optional. Describes this trace scope. The maximum length of the description is
694
+ # 8000 characters.
695
+ # Corresponds to the JSON property `description`
696
+ # @return [String]
697
+ attr_accessor :description
698
+
699
+ # Identifier. The resource name of the trace scope. For example: projects/my-
700
+ # project/locations/global/traceScopes/my-trace-scope
701
+ # Corresponds to the JSON property `name`
702
+ # @return [String]
703
+ attr_accessor :name
704
+
705
+ # Required. Names of the projects that are included in this trace scope. * `
706
+ # projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
707
+ # Corresponds to the JSON property `resourceNames`
708
+ # @return [Array<String>]
709
+ attr_accessor :resource_names
710
+
711
+ # Output only. The last update timestamp of the trace scope.
712
+ # Corresponds to the JSON property `updateTime`
713
+ # @return [String]
714
+ attr_accessor :update_time
715
+
716
+ def initialize(**args)
717
+ update!(**args)
718
+ end
719
+
720
+ # Update properties of this object
721
+ def update!(**args)
722
+ @create_time = args[:create_time] if args.key?(:create_time)
723
+ @description = args[:description] if args.key?(:description)
724
+ @name = args[:name] if args.key?(:name)
725
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
726
+ @update_time = args[:update_time] if args.key?(:update_time)
727
+ end
728
+ end
729
+
730
+ # A view corresponds to a read-only representation of a subset of the data in a
731
+ # dataset.
732
+ class View
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Output only. Create timestamp.
736
+ # Corresponds to the JSON property `createTime`
737
+ # @return [String]
738
+ attr_accessor :create_time
739
+
740
+ # Optional. Description of the view.
741
+ # Corresponds to the JSON property `description`
742
+ # @return [String]
743
+ attr_accessor :description
744
+
745
+ # Optional. User friendly display name.
746
+ # Corresponds to the JSON property `displayName`
747
+ # @return [String]
748
+ attr_accessor :display_name
749
+
750
+ # Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[
751
+ # LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]
752
+ # Corresponds to the JSON property `name`
753
+ # @return [String]
754
+ attr_accessor :name
755
+
756
+ # Output only. Update timestamp.
757
+ # Corresponds to the JSON property `updateTime`
758
+ # @return [String]
759
+ attr_accessor :update_time
760
+
761
+ def initialize(**args)
762
+ update!(**args)
763
+ end
764
+
765
+ # Update properties of this object
766
+ def update!(**args)
767
+ @create_time = args[:create_time] if args.key?(:create_time)
768
+ @description = args[:description] if args.key?(:description)
769
+ @display_name = args[:display_name] if args.key?(:display_name)
770
+ @name = args[:name] if args.key?(:name)
771
+ @update_time = args[:update_time] if args.key?(:update_time)
772
+ end
773
+ end
345
774
  end
346
775
  end
347
776
  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.2.0"
19
+ GEM_VERSION = "0.14.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 = "20250320"
25
+ REVISION = "20260129"
26
26
  end
27
27
  end
28
28
  end