google-apis-observability_v1 0.2.0 → 0.17.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 +4 -4
- data/CHANGELOG.md +61 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/observability_v1/classes.rb +473 -0
- data/lib/google/apis/observability_v1/gem_version.rb +3 -3
- data/lib/google/apis/observability_v1/representations.rb +197 -0
- data/lib/google/apis/observability_v1/service.rb +1309 -26
- data/lib/google/apis/observability_v1.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 999bd54da0d89fbb871684ff8250a7c404f88d0c27b886b16b062214ad76dc39
|
|
4
|
+
data.tar.gz: 3378ff0fbd80e8adccd680d6b8e3f9e404b6fc950195c30f9308eeddfb5ff0ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19ca075133b0c073d4c761161558f1dd444f40e01cf76583ef34fa6a62fc1194da11e6283f68697498b0f4e63c0445a98029dd353ad98014c36c25c4c904df36
|
|
7
|
+
data.tar.gz: 1b544e19952d917b4806702969c2c85377ce9d3b0acea9c3b998344cb2ddef84d4f32ce33bd11711df6579ae03e961f7e36d2ca23d3737722fe76302dad8b796
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# Release history for google-apis-observability_v1
|
|
2
2
|
|
|
3
|
+
### v0.17.0 (2026-05-03)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260423
|
|
6
|
+
|
|
7
|
+
### v0.16.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260409
|
|
10
|
+
|
|
11
|
+
### v0.15.0 (2026-03-01)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20260220
|
|
14
|
+
|
|
15
|
+
### v0.14.0 (2026-02-08)
|
|
16
|
+
|
|
17
|
+
* Regenerated from discovery document revision 20260129
|
|
18
|
+
|
|
19
|
+
### v0.13.0 (2026-02-01)
|
|
20
|
+
|
|
21
|
+
* Regenerated from discovery document revision 20260122
|
|
22
|
+
|
|
23
|
+
### v0.12.0 (2025-12-21)
|
|
24
|
+
|
|
25
|
+
* Regenerated from discovery document revision 20251211
|
|
26
|
+
|
|
27
|
+
### v0.11.0 (2025-12-14)
|
|
28
|
+
|
|
29
|
+
* Regenerated from discovery document revision 20251204
|
|
30
|
+
|
|
31
|
+
### v0.10.0 (2025-11-23)
|
|
32
|
+
|
|
33
|
+
* Regenerated from discovery document revision 20251113
|
|
34
|
+
|
|
35
|
+
### v0.9.0 (2025-11-02)
|
|
36
|
+
|
|
37
|
+
* Regenerated from discovery document revision 20251023
|
|
38
|
+
|
|
39
|
+
### v0.8.0 (2025-10-05)
|
|
40
|
+
|
|
41
|
+
* Regenerated from discovery document revision 20250925
|
|
42
|
+
|
|
43
|
+
### v0.7.0 (2025-09-14)
|
|
44
|
+
|
|
45
|
+
* Regenerated from discovery document revision 20250904
|
|
46
|
+
|
|
47
|
+
### v0.6.0 (2025-08-31)
|
|
48
|
+
|
|
49
|
+
* Regenerated from discovery document revision 20250822
|
|
50
|
+
|
|
51
|
+
### v0.5.0 (2025-08-24)
|
|
52
|
+
|
|
53
|
+
* Regenerated from discovery document revision 20250814
|
|
54
|
+
* Regenerated using generator version 0.18.0
|
|
55
|
+
|
|
56
|
+
### v0.4.0 (2025-05-04)
|
|
57
|
+
|
|
58
|
+
* Regenerated using generator version 0.17.0
|
|
59
|
+
|
|
60
|
+
### v0.3.0 (2025-04-27)
|
|
61
|
+
|
|
62
|
+
* Regenerated from discovery document revision 20250417
|
|
63
|
+
|
|
3
64
|
### v0.2.0 (2025-03-30)
|
|
4
65
|
|
|
5
66
|
* 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
|
|
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,10 +637,55 @@ 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
|
|
306
644
|
|
|
645
|
+
# Describes the settings associated with a project, organization, or folder.
|
|
646
|
+
class Settings
|
|
647
|
+
include Google::Apis::Core::Hashable
|
|
648
|
+
|
|
649
|
+
# Optional. The location which should be used when any regional resources are
|
|
650
|
+
# provisioned by Google Cloud.
|
|
651
|
+
# Corresponds to the JSON property `defaultStorageLocation`
|
|
652
|
+
# @return [String]
|
|
653
|
+
attr_accessor :default_storage_location
|
|
654
|
+
|
|
655
|
+
# Optional. The resource name for the configured Cloud KMS key. KMS key name
|
|
656
|
+
# format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
|
|
657
|
+
# cryptoKeys/[KEY]" For example: `"projects/my-project/locations/us-central1/
|
|
658
|
+
# keyRings/my-ring/cryptoKeys/my-key"`
|
|
659
|
+
# Corresponds to the JSON property `kmsKeyName`
|
|
660
|
+
# @return [String]
|
|
661
|
+
attr_accessor :kms_key_name
|
|
662
|
+
|
|
663
|
+
# Identifier. The resource name of the settings.
|
|
664
|
+
# Corresponds to the JSON property `name`
|
|
665
|
+
# @return [String]
|
|
666
|
+
attr_accessor :name
|
|
667
|
+
|
|
668
|
+
# Output only. The service account for the given resource container, such as
|
|
669
|
+
# project or folder. This will be used by Cloud Observability to perform actions
|
|
670
|
+
# in the container's project like access KMS keys or create Links. Always the
|
|
671
|
+
# same service account per resource container regardless of region.
|
|
672
|
+
# Corresponds to the JSON property `serviceAccountId`
|
|
673
|
+
# @return [String]
|
|
674
|
+
attr_accessor :service_account_id
|
|
675
|
+
|
|
676
|
+
def initialize(**args)
|
|
677
|
+
update!(**args)
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
# Update properties of this object
|
|
681
|
+
def update!(**args)
|
|
682
|
+
@default_storage_location = args[:default_storage_location] if args.key?(:default_storage_location)
|
|
683
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
684
|
+
@name = args[:name] if args.key?(:name)
|
|
685
|
+
@service_account_id = args[:service_account_id] if args.key?(:service_account_id)
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
307
689
|
# The `Status` type defines a logical error model that is suitable for different
|
|
308
690
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
309
691
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -342,6 +724,97 @@ module Google
|
|
|
342
724
|
@message = args[:message] if args.key?(:message)
|
|
343
725
|
end
|
|
344
726
|
end
|
|
727
|
+
|
|
728
|
+
# A trace scope is a collection of resources whose traces are queried together.
|
|
729
|
+
class TraceScope
|
|
730
|
+
include Google::Apis::Core::Hashable
|
|
731
|
+
|
|
732
|
+
# Output only. The creation timestamp of the trace scope.
|
|
733
|
+
# Corresponds to the JSON property `createTime`
|
|
734
|
+
# @return [String]
|
|
735
|
+
attr_accessor :create_time
|
|
736
|
+
|
|
737
|
+
# Optional. Describes this trace scope. The maximum length of the description is
|
|
738
|
+
# 8000 characters.
|
|
739
|
+
# Corresponds to the JSON property `description`
|
|
740
|
+
# @return [String]
|
|
741
|
+
attr_accessor :description
|
|
742
|
+
|
|
743
|
+
# Identifier. The resource name of the trace scope. For example: projects/my-
|
|
744
|
+
# project/locations/global/traceScopes/my-trace-scope
|
|
745
|
+
# Corresponds to the JSON property `name`
|
|
746
|
+
# @return [String]
|
|
747
|
+
attr_accessor :name
|
|
748
|
+
|
|
749
|
+
# Required. Names of the projects that are included in this trace scope. * `
|
|
750
|
+
# projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
|
|
751
|
+
# Corresponds to the JSON property `resourceNames`
|
|
752
|
+
# @return [Array<String>]
|
|
753
|
+
attr_accessor :resource_names
|
|
754
|
+
|
|
755
|
+
# Output only. The last update timestamp of the trace scope.
|
|
756
|
+
# Corresponds to the JSON property `updateTime`
|
|
757
|
+
# @return [String]
|
|
758
|
+
attr_accessor :update_time
|
|
759
|
+
|
|
760
|
+
def initialize(**args)
|
|
761
|
+
update!(**args)
|
|
762
|
+
end
|
|
763
|
+
|
|
764
|
+
# Update properties of this object
|
|
765
|
+
def update!(**args)
|
|
766
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
767
|
+
@description = args[:description] if args.key?(:description)
|
|
768
|
+
@name = args[:name] if args.key?(:name)
|
|
769
|
+
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
|
770
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
771
|
+
end
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# A view corresponds to a read-only representation of a subset of the data in a
|
|
775
|
+
# dataset.
|
|
776
|
+
class View
|
|
777
|
+
include Google::Apis::Core::Hashable
|
|
778
|
+
|
|
779
|
+
# Output only. Create timestamp.
|
|
780
|
+
# Corresponds to the JSON property `createTime`
|
|
781
|
+
# @return [String]
|
|
782
|
+
attr_accessor :create_time
|
|
783
|
+
|
|
784
|
+
# Optional. Description of the view.
|
|
785
|
+
# Corresponds to the JSON property `description`
|
|
786
|
+
# @return [String]
|
|
787
|
+
attr_accessor :description
|
|
788
|
+
|
|
789
|
+
# Optional. User friendly display name.
|
|
790
|
+
# Corresponds to the JSON property `displayName`
|
|
791
|
+
# @return [String]
|
|
792
|
+
attr_accessor :display_name
|
|
793
|
+
|
|
794
|
+
# Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[
|
|
795
|
+
# LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]
|
|
796
|
+
# Corresponds to the JSON property `name`
|
|
797
|
+
# @return [String]
|
|
798
|
+
attr_accessor :name
|
|
799
|
+
|
|
800
|
+
# Output only. Update timestamp.
|
|
801
|
+
# Corresponds to the JSON property `updateTime`
|
|
802
|
+
# @return [String]
|
|
803
|
+
attr_accessor :update_time
|
|
804
|
+
|
|
805
|
+
def initialize(**args)
|
|
806
|
+
update!(**args)
|
|
807
|
+
end
|
|
808
|
+
|
|
809
|
+
# Update properties of this object
|
|
810
|
+
def update!(**args)
|
|
811
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
812
|
+
@description = args[:description] if args.key?(:description)
|
|
813
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
814
|
+
@name = args[:name] if args.key?(:name)
|
|
815
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
816
|
+
end
|
|
817
|
+
end
|
|
345
818
|
end
|
|
346
819
|
end
|
|
347
820
|
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.
|
|
19
|
+
GEM_VERSION = "0.17.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260423"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|