google-apis-advisorynotifications_v1 0.9.0 → 0.10.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: d89d56d4a1003dde171bae036ab7922544b9e5e4e6d801516c4d2a5f57e32d2e
4
- data.tar.gz: 843a99db7a655ed4916d8d91d9ed42c96ad73e538bee6a9fd201210405e2e475
3
+ metadata.gz: 3c6a95d2df55fbbdbf549bd5a89bc0f85ddec476f06efecab4ef2fe8a18bc0cb
4
+ data.tar.gz: d052de795f0b9cb7f41c0bc00542451db1fdb91b05e06ba856c3a0173d272098
5
5
  SHA512:
6
- metadata.gz: 1146e1fbeb6580870ccaf9edec9faf3b47c0758e9c82b19103342076071d2adb83c957395b43984496337de5a3e8dfc8bc887b755cd9f98c63e63dfa6e7109ce
7
- data.tar.gz: 423faf4df89706f26eeb2ccabf29e335f74b27dad74a571298b5470a814f78e0290bb3fe13851aa901b353e7cd4da8efbdc892b667bd97791edbe8e966374b3b
6
+ metadata.gz: 30f9e4264fb05d452927d1fe750c4850742e07bb6607cd7e9ddf57c633a4bf496eae10847c280f7691407a3f26c6e09482b9358add93b6b07c0bf15ff037e8fe
7
+ data.tar.gz: 44084c59f9bb5c5ddd2094229a022bf9cae3e8929463d0cb2f83fb72cdde3c43e844e8c1acfb33b8a0aebac5b62bd4737d08044f83bc49013fa3b082a6e378bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-advisorynotifications_v1
2
2
 
3
+ ### v0.10.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240331
6
+
3
7
  ### v0.9.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -262,7 +262,8 @@ module Google
262
262
  attr_accessor :etag
263
263
 
264
264
  # Identifier. The resource name of the settings to retrieve. Format:
265
- # organizations/`organization`/locations/`location`/settings.
265
+ # organizations/`organization`/locations/`location`/settings or projects/`
266
+ # projects`/locations/`location`/settings.
266
267
  # Corresponds to the JSON property `name`
267
268
  # @return [String]
268
269
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdvisorynotificationsV1
18
18
  # Version of the google-apis-advisorynotifications_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231203"
25
+ REVISION = "20240331"
26
26
  end
27
27
  end
28
28
  end
@@ -54,7 +54,8 @@ module Google
54
54
  # Get notification settings.
55
55
  # @param [String] name
56
56
  # Required. The resource name of the settings to retrieve. Format: organizations/
57
- # `organization`/locations/`location`/settings.
57
+ # `organization`/locations/`location`/settings or projects/`projects`/locations/`
58
+ # location`/settings.
58
59
  # @param [String] fields
59
60
  # Selector specifying which fields to include in a partial response.
60
61
  # @param [String] quota_user
@@ -85,7 +86,8 @@ module Google
85
86
  # Update notification settings.
86
87
  # @param [String] name
87
88
  # Identifier. The resource name of the settings to retrieve. Format:
88
- # organizations/`organization`/locations/`location`/settings.
89
+ # organizations/`organization`/locations/`location`/settings or projects/`
90
+ # projects`/locations/`location`/settings.
89
91
  # @param [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings] google_cloud_advisorynotifications_v1_settings_object
90
92
  # @param [String] fields
91
93
  # Selector specifying which fields to include in a partial response.
@@ -159,7 +161,7 @@ module Google
159
161
  # @param [String] parent
160
162
  # Required. The parent, which owns this collection of notifications. Must be of
161
163
  # the form "organizations/`organization`/locations/`location`" or "projects/`
162
- # project`/locations/`location`"
164
+ # project`/locations/`location`".
163
165
  # @param [String] language_code
164
166
  # ISO code for requested localization language. If unset, will be interpereted
165
167
  # as "en". If the requested language is valid, but not supported for this
@@ -208,6 +210,73 @@ module Google
208
210
  execute_or_queue_command(command, &block)
209
211
  end
210
212
 
213
+ # Get notification settings.
214
+ # @param [String] name
215
+ # Required. The resource name of the settings to retrieve. Format: organizations/
216
+ # `organization`/locations/`location`/settings or projects/`projects`/locations/`
217
+ # location`/settings.
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [Google::Apis::RequestOptions] options
224
+ # Request-specific options
225
+ #
226
+ # @yield [result, err] Result & error if block supplied
227
+ # @yieldparam result [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings] parsed result object
228
+ # @yieldparam err [StandardError] error object if request failed
229
+ #
230
+ # @return [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings]
231
+ #
232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
235
+ def get_project_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
236
+ command = make_simple_command(:get, 'v1/{+name}', options)
237
+ command.response_representation = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings::Representation
238
+ command.response_class = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings
239
+ command.params['name'] = name unless name.nil?
240
+ command.query['fields'] = fields unless fields.nil?
241
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
242
+ execute_or_queue_command(command, &block)
243
+ end
244
+
245
+ # Update notification settings.
246
+ # @param [String] name
247
+ # Identifier. The resource name of the settings to retrieve. Format:
248
+ # organizations/`organization`/locations/`location`/settings or projects/`
249
+ # projects`/locations/`location`/settings.
250
+ # @param [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings] google_cloud_advisorynotifications_v1_settings_object
251
+ # @param [String] fields
252
+ # Selector specifying which fields to include in a partial response.
253
+ # @param [String] quota_user
254
+ # Available to use for quota purposes for server-side applications. Can be any
255
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
256
+ # @param [Google::Apis::RequestOptions] options
257
+ # Request-specific options
258
+ #
259
+ # @yield [result, err] Result & error if block supplied
260
+ # @yieldparam result [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings] parsed result object
261
+ # @yieldparam err [StandardError] error object if request failed
262
+ #
263
+ # @return [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings]
264
+ #
265
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
266
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
267
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
268
+ def update_project_location_settings(name, google_cloud_advisorynotifications_v1_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
269
+ command = make_simple_command(:patch, 'v1/{+name}', options)
270
+ command.request_representation = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings::Representation
271
+ command.request_object = google_cloud_advisorynotifications_v1_settings_object
272
+ command.response_representation = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings::Representation
273
+ command.response_class = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings
274
+ command.params['name'] = name unless name.nil?
275
+ command.query['fields'] = fields unless fields.nil?
276
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
277
+ execute_or_queue_command(command, &block)
278
+ end
279
+
211
280
  # Gets a notification.
212
281
  # @param [String] name
213
282
  # Required. A name of the notification to retrieve. Format: organizations/`
@@ -251,7 +320,7 @@ module Google
251
320
  # @param [String] parent
252
321
  # Required. The parent, which owns this collection of notifications. Must be of
253
322
  # the form "organizations/`organization`/locations/`location`" or "projects/`
254
- # project`/locations/`location`"
323
+ # project`/locations/`location`".
255
324
  # @param [String] language_code
256
325
  # ISO code for requested localization language. If unset, will be interpereted
257
326
  # as "en". If the requested language is valid, but not supported for this
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-advisorynotifications_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-advisorynotifications_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-advisorynotifications_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-advisorynotifications_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-advisorynotifications_v1
63
63
  post_install_message:
64
64
  rdoc_options: []