google-apis-observability_v1 0.11.0 → 0.12.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: 1e15d109052af2518b6bea47cd6a878fe0d07ba03941eb33a3cd508cffd41590
4
- data.tar.gz: 5cee9c19d7a3d6b61974b7e62e2f9748ea96965e8e7055ea1ecd4a38e9a86f16
3
+ metadata.gz: e1b1739757e2ef264d37e568a51e802cca2d597966a5be873850de8c4e04e438
4
+ data.tar.gz: 97d063c3bd9de041d4063fc020e6002869e111e4f9eaaeb7e27a8288a5063306
5
5
  SHA512:
6
- metadata.gz: 1a1647ff43cd90b3af1ab0ec3afc9ecb5a0035eac5a288afd82c70fc2bedd862f4c4dc708b0b2df4956725a7066458857420cda1cb681558b2e0dc94e398eb27
7
- data.tar.gz: 66b644fa79c82517ea9ab7ea4f5134f791130a3e0d88376ee98db29b5c9d5f334f11303e2e8e6b29d498a97985c7252a89b89c2e9479bae9682acde296a66c04
6
+ metadata.gz: 2246ecf11b94525cc847e80ff8f4cc4807da0182420a3c1863c61c2ecbf1a8422c680a064caac3a3452039a31fcee61e1429f31de579634d97d7ae057f34da97
7
+ data.tar.gz: 58dbb85b17db64db2af2bfe1933ef96c470ea3678fa5c9612b86b53a50609d97f8be0ca91f738773e9681399e0db3cdc80af554fccd7f12f2cb602c171cd4ae7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-observability_v1
2
2
 
3
+ ### v0.12.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251211
6
+
3
7
  ### v0.11.0 (2025-12-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20251204
@@ -347,50 +347,6 @@ module Google
347
347
  end
348
348
  end
349
349
 
350
- # Describes the settings associated with a project, organization, or folder.
351
- class Settings
352
- include Google::Apis::Core::Hashable
353
-
354
- # Optional. The location which should be used when any regional resources are
355
- # provisioned by GCP.
356
- # Corresponds to the JSON property `defaultStorageLocation`
357
- # @return [String]
358
- attr_accessor :default_storage_location
359
-
360
- # Optional. The resource name for the configured Cloud KMS key. KMS key name
361
- # format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
362
- # cryptoKeys/[KEY]" For example: `"projects/my-project/locations/us-central1/
363
- # keyRings/my-ring/cryptoKeys/my-key"`
364
- # Corresponds to the JSON property `kmsKeyName`
365
- # @return [String]
366
- attr_accessor :kms_key_name
367
-
368
- # Identifier. The resource name of the settings.
369
- # Corresponds to the JSON property `name`
370
- # @return [String]
371
- attr_accessor :name
372
-
373
- # Output only. The service account for the given resource container, such as
374
- # project or folder. This will be used by Cloud Observability to perform actions
375
- # in the container's project like access KMS keys or create Links. Always the
376
- # same service account per resource container regardless of region.
377
- # Corresponds to the JSON property `serviceAccountId`
378
- # @return [String]
379
- attr_accessor :service_account_id
380
-
381
- def initialize(**args)
382
- update!(**args)
383
- end
384
-
385
- # Update properties of this object
386
- def update!(**args)
387
- @default_storage_location = args[:default_storage_location] if args.key?(:default_storage_location)
388
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
389
- @name = args[:name] if args.key?(:name)
390
- @service_account_id = args[:service_account_id] if args.key?(:service_account_id)
391
- end
392
- end
393
-
394
350
  # The `Status` type defines a logical error model that is suitable for different
395
351
  # programming environments, including REST APIs and RPC APIs. It is used by [
396
352
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.11.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251204"
25
+ REVISION = "20251211"
26
26
  end
27
27
  end
28
28
  end
@@ -76,12 +76,6 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class Settings
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
79
  class Status
86
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
81
 
@@ -180,16 +174,6 @@ module Google
180
174
  end
181
175
  end
182
176
 
183
- class Settings
184
- # @private
185
- class Representation < Google::Apis::Core::JsonRepresentation
186
- property :default_storage_location, as: 'defaultStorageLocation'
187
- property :kms_key_name, as: 'kmsKeyName'
188
- property :name, as: 'name'
189
- property :service_account_id, as: 'serviceAccountId'
190
- end
191
- end
192
-
193
177
  class Status
194
178
  # @private
195
179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22,7 +22,8 @@ module Google
22
22
  module ObservabilityV1
23
23
  # Observability API
24
24
  #
25
- #
25
+ # Provides functionality for configuring the observability scope, which controls
26
+ # the log, metric, and trace data that you can view.
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/observability_v1'
@@ -51,144 +52,6 @@ module Google
51
52
  @batch_path = 'batch'
52
53
  end
53
54
 
54
- # Get Settings
55
- # @param [String] name
56
- # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
57
- # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
58
- # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
59
- # @param [String] fields
60
- # Selector specifying which fields to include in a partial response.
61
- # @param [String] quota_user
62
- # Available to use for quota purposes for server-side applications. Can be any
63
- # arbitrary string assigned to a user, but should not exceed 40 characters.
64
- # @param [Google::Apis::RequestOptions] options
65
- # Request-specific options
66
- #
67
- # @yield [result, err] Result & error if block supplied
68
- # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
69
- # @yieldparam err [StandardError] error object if request failed
70
- #
71
- # @return [Google::Apis::ObservabilityV1::Settings]
72
- #
73
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
- # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def get_folder_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
77
- command = make_simple_command(:get, 'v1/{+name}', options)
78
- command.response_representation = Google::Apis::ObservabilityV1::Settings::Representation
79
- command.response_class = Google::Apis::ObservabilityV1::Settings
80
- command.params['name'] = name unless name.nil?
81
- command.query['fields'] = fields unless fields.nil?
82
- command.query['quotaUser'] = quota_user unless quota_user.nil?
83
- execute_or_queue_command(command, &block)
84
- end
85
-
86
- # Update Settings
87
- # @param [String] name
88
- # Identifier. The resource name of the settings.
89
- # @param [Google::Apis::ObservabilityV1::Settings] settings_object
90
- # @param [String] update_mask
91
- # Optional. The field mask specifying which fields of the settings are to be
92
- # updated.
93
- # @param [String] fields
94
- # Selector specifying which fields to include in a partial response.
95
- # @param [String] quota_user
96
- # Available to use for quota purposes for server-side applications. Can be any
97
- # arbitrary string assigned to a user, but should not exceed 40 characters.
98
- # @param [Google::Apis::RequestOptions] options
99
- # Request-specific options
100
- #
101
- # @yield [result, err] Result & error if block supplied
102
- # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
103
- # @yieldparam err [StandardError] error object if request failed
104
- #
105
- # @return [Google::Apis::ObservabilityV1::Operation]
106
- #
107
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
- # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def update_folder_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
111
- command = make_simple_command(:patch, 'v1/{+name}', options)
112
- command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
113
- command.request_object = settings_object
114
- command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
115
- command.response_class = Google::Apis::ObservabilityV1::Operation
116
- command.params['name'] = name unless name.nil?
117
- command.query['updateMask'] = update_mask unless update_mask.nil?
118
- command.query['fields'] = fields unless fields.nil?
119
- command.query['quotaUser'] = quota_user unless quota_user.nil?
120
- execute_or_queue_command(command, &block)
121
- end
122
-
123
- # Get Settings
124
- # @param [String] name
125
- # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
126
- # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
127
- # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
128
- # @param [String] fields
129
- # Selector specifying which fields to include in a partial response.
130
- # @param [String] quota_user
131
- # Available to use for quota purposes for server-side applications. Can be any
132
- # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [Google::Apis::RequestOptions] options
134
- # Request-specific options
135
- #
136
- # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
138
- # @yieldparam err [StandardError] error object if request failed
139
- #
140
- # @return [Google::Apis::ObservabilityV1::Settings]
141
- #
142
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
- # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def get_organization_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:get, 'v1/{+name}', options)
147
- command.response_representation = Google::Apis::ObservabilityV1::Settings::Representation
148
- command.response_class = Google::Apis::ObservabilityV1::Settings
149
- command.params['name'] = name unless name.nil?
150
- command.query['fields'] = fields unless fields.nil?
151
- command.query['quotaUser'] = quota_user unless quota_user.nil?
152
- execute_or_queue_command(command, &block)
153
- end
154
-
155
- # Update Settings
156
- # @param [String] name
157
- # Identifier. The resource name of the settings.
158
- # @param [Google::Apis::ObservabilityV1::Settings] settings_object
159
- # @param [String] update_mask
160
- # Optional. The field mask specifying which fields of the settings are to be
161
- # updated.
162
- # @param [String] fields
163
- # Selector specifying which fields to include in a partial response.
164
- # @param [String] quota_user
165
- # Available to use for quota purposes for server-side applications. Can be any
166
- # arbitrary string assigned to a user, but should not exceed 40 characters.
167
- # @param [Google::Apis::RequestOptions] options
168
- # Request-specific options
169
- #
170
- # @yield [result, err] Result & error if block supplied
171
- # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
172
- # @yieldparam err [StandardError] error object if request failed
173
- #
174
- # @return [Google::Apis::ObservabilityV1::Operation]
175
- #
176
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
177
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
178
- # @raise [Google::Apis::AuthorizationError] Authorization is required
179
- def update_organization_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
180
- command = make_simple_command(:patch, 'v1/{+name}', options)
181
- command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
182
- command.request_object = settings_object
183
- command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
184
- command.response_class = Google::Apis::ObservabilityV1::Operation
185
- command.params['name'] = name unless name.nil?
186
- command.query['updateMask'] = update_mask unless update_mask.nil?
187
- command.query['fields'] = fields unless fields.nil?
188
- command.query['quotaUser'] = quota_user unless quota_user.nil?
189
- execute_or_queue_command(command, &block)
190
- end
191
-
192
55
  # Gets information about a location.
193
56
  # @param [String] name
194
57
  # Resource name for the location.
@@ -219,38 +82,6 @@ module Google
219
82
  execute_or_queue_command(command, &block)
220
83
  end
221
84
 
222
- # Get Settings
223
- # @param [String] name
224
- # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
225
- # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
226
- # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
227
- # @param [String] fields
228
- # Selector specifying which fields to include in a partial response.
229
- # @param [String] quota_user
230
- # Available to use for quota purposes for server-side applications. Can be any
231
- # arbitrary string assigned to a user, but should not exceed 40 characters.
232
- # @param [Google::Apis::RequestOptions] options
233
- # Request-specific options
234
- #
235
- # @yield [result, err] Result & error if block supplied
236
- # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
237
- # @yieldparam err [StandardError] error object if request failed
238
- #
239
- # @return [Google::Apis::ObservabilityV1::Settings]
240
- #
241
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
242
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
243
- # @raise [Google::Apis::AuthorizationError] Authorization is required
244
- def get_project_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
245
- command = make_simple_command(:get, 'v1/{+name}', options)
246
- command.response_representation = Google::Apis::ObservabilityV1::Settings::Representation
247
- command.response_class = Google::Apis::ObservabilityV1::Settings
248
- command.params['name'] = name unless name.nil?
249
- command.query['fields'] = fields unless fields.nil?
250
- command.query['quotaUser'] = quota_user unless quota_user.nil?
251
- execute_or_queue_command(command, &block)
252
- end
253
-
254
85
  # Lists information about the supported locations for this service.
255
86
  # @param [String] name
256
87
  # The resource that owns the locations collection, if applicable.
@@ -298,43 +129,6 @@ module Google
298
129
  execute_or_queue_command(command, &block)
299
130
  end
300
131
 
301
- # Update Settings
302
- # @param [String] name
303
- # Identifier. The resource name of the settings.
304
- # @param [Google::Apis::ObservabilityV1::Settings] settings_object
305
- # @param [String] update_mask
306
- # Optional. The field mask specifying which fields of the settings are to be
307
- # updated.
308
- # @param [String] fields
309
- # Selector specifying which fields to include in a partial response.
310
- # @param [String] quota_user
311
- # Available to use for quota purposes for server-side applications. Can be any
312
- # arbitrary string assigned to a user, but should not exceed 40 characters.
313
- # @param [Google::Apis::RequestOptions] options
314
- # Request-specific options
315
- #
316
- # @yield [result, err] Result & error if block supplied
317
- # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
318
- # @yieldparam err [StandardError] error object if request failed
319
- #
320
- # @return [Google::Apis::ObservabilityV1::Operation]
321
- #
322
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
323
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
324
- # @raise [Google::Apis::AuthorizationError] Authorization is required
325
- def update_project_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
326
- command = make_simple_command(:patch, 'v1/{+name}', options)
327
- command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
328
- command.request_object = settings_object
329
- command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
330
- command.response_class = Google::Apis::ObservabilityV1::Operation
331
- command.params['name'] = name unless name.nil?
332
- command.query['updateMask'] = update_mask unless update_mask.nil?
333
- command.query['fields'] = fields unless fields.nil?
334
- command.query['quotaUser'] = quota_user unless quota_user.nil?
335
- execute_or_queue_command(command, &block)
336
- end
337
-
338
132
  # Starts asynchronous cancellation on a long-running operation. The server makes
339
133
  # a best effort to cancel the operation, but success is not guaranteed. If the
340
134
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -21,7 +21,8 @@ module Google
21
21
  module Apis
22
22
  # Observability API
23
23
  #
24
- #
24
+ # Provides functionality for configuring the observability scope, which controls
25
+ # the log, metric, and trace data that you can view.
25
26
  #
26
27
  # @see https://cloud.google.com/stackdriver/docs/
27
28
  module ObservabilityV1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-observability_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.11.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-observability_v1/v0.12.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: