google-apis-advisorynotifications_v1 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f677cb73501371ba782e4de4f5019195235f88e06680f28962b9c307de674a
|
4
|
+
data.tar.gz: 71d2f6cdc4ff8003dbf356753150e783e82b946ed1c64dfcc64088affa0ca43d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056d0b2c629485320867132ee3d911e5ced8c10096c8960d990183145bcd1ddbbf5b9295e28790d5eb846a964d419b8e34a3eedec84e68c87ea03840f6bce0c6
|
7
|
+
data.tar.gz: a7f0391c56380b52a542fb85dcae576f74ac49a198e0302c34aed1fb619be553531e4d36248a6758489a2ec26157af76e22926362187c9253376b16e31215d8a
|
data/CHANGELOG.md
CHANGED
@@ -199,6 +199,7 @@ module Google
|
|
199
199
|
attr_accessor :messages
|
200
200
|
|
201
201
|
# The resource name of the notification. Format: organizations/`organization`/
|
202
|
+
# locations/`location`/notifications/`notification` or projects/`project`/
|
202
203
|
# locations/`location`/notifications/`notification`.
|
203
204
|
# Corresponds to the JSON property `name`
|
204
205
|
# @return [String]
|
@@ -260,7 +261,7 @@ module Google
|
|
260
261
|
# @return [String]
|
261
262
|
attr_accessor :etag
|
262
263
|
|
263
|
-
#
|
264
|
+
# Identifier. The resource name of the settings to retrieve. Format:
|
264
265
|
# organizations/`organization`/locations/`location`/settings.
|
265
266
|
# Corresponds to the JSON property `name`
|
266
267
|
# @return [String]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
|
83
83
|
# Update notification settings.
|
84
84
|
# @param [String] name
|
85
|
-
#
|
85
|
+
# Identifier. The resource name of the settings to retrieve. Format:
|
86
86
|
# organizations/`organization`/locations/`location`/settings.
|
87
87
|
# @param [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Settings] google_cloud_advisorynotifications_v1_settings_object
|
88
88
|
# @param [String] fields
|
@@ -117,7 +117,8 @@ module Google
|
|
117
117
|
# Gets a notification.
|
118
118
|
# @param [String] name
|
119
119
|
# Required. A name of the notification to retrieve. Format: organizations/`
|
120
|
-
# organization`/locations/`location`/notifications/`notification
|
120
|
+
# organization`/locations/`location`/notifications/`notification` or projects/`
|
121
|
+
# projects`/locations/`location`/notifications/`notification`.
|
121
122
|
# @param [String] language_code
|
122
123
|
# ISO code for requested localization language. If unset, will be interpereted
|
123
124
|
# as "en". If the requested language is valid, but not supported for this
|
@@ -155,7 +156,8 @@ module Google
|
|
155
156
|
# Lists notifications under a given parent.
|
156
157
|
# @param [String] parent
|
157
158
|
# Required. The parent, which owns this collection of notifications. Must be of
|
158
|
-
# the form "organizations/`organization`/locations/`location`"
|
159
|
+
# the form "organizations/`organization`/locations/`location`" or "projects/`
|
160
|
+
# project`/locations/`location`"
|
159
161
|
# @param [String] language_code
|
160
162
|
# ISO code for requested localization language. If unset, will be interpereted
|
161
163
|
# as "en". If the requested language is valid, but not supported for this
|
@@ -203,6 +205,98 @@ module Google
|
|
203
205
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
206
|
execute_or_queue_command(command, &block)
|
205
207
|
end
|
208
|
+
|
209
|
+
# Gets a notification.
|
210
|
+
# @param [String] name
|
211
|
+
# Required. A name of the notification to retrieve. Format: organizations/`
|
212
|
+
# organization`/locations/`location`/notifications/`notification` or projects/`
|
213
|
+
# projects`/locations/`location`/notifications/`notification`.
|
214
|
+
# @param [String] language_code
|
215
|
+
# ISO code for requested localization language. If unset, will be interpereted
|
216
|
+
# as "en". If the requested language is valid, but not supported for this
|
217
|
+
# notification, English will be returned with an "Not applicable"
|
218
|
+
# LocalizationState. If the ISO code is invalid (i.e. not a real language), this
|
219
|
+
# RPC will throw an error.
|
220
|
+
# @param [String] fields
|
221
|
+
# Selector specifying which fields to include in a partial response.
|
222
|
+
# @param [String] quota_user
|
223
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
224
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
225
|
+
# @param [Google::Apis::RequestOptions] options
|
226
|
+
# Request-specific options
|
227
|
+
#
|
228
|
+
# @yield [result, err] Result & error if block supplied
|
229
|
+
# @yieldparam result [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Notification] parsed result object
|
230
|
+
# @yieldparam err [StandardError] error object if request failed
|
231
|
+
#
|
232
|
+
# @return [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Notification]
|
233
|
+
#
|
234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
237
|
+
def get_project_location_notification(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
238
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
239
|
+
command.response_representation = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Notification::Representation
|
240
|
+
command.response_class = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Notification
|
241
|
+
command.params['name'] = name unless name.nil?
|
242
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
243
|
+
command.query['fields'] = fields unless fields.nil?
|
244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
245
|
+
execute_or_queue_command(command, &block)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Lists notifications under a given parent.
|
249
|
+
# @param [String] parent
|
250
|
+
# Required. The parent, which owns this collection of notifications. Must be of
|
251
|
+
# the form "organizations/`organization`/locations/`location`" or "projects/`
|
252
|
+
# project`/locations/`location`"
|
253
|
+
# @param [String] language_code
|
254
|
+
# ISO code for requested localization language. If unset, will be interpereted
|
255
|
+
# as "en". If the requested language is valid, but not supported for this
|
256
|
+
# notification, English will be returned with an "Not applicable"
|
257
|
+
# LocalizationState. If the ISO code is invalid (i.e. not a real language), this
|
258
|
+
# RPC will throw an error.
|
259
|
+
# @param [Fixnum] page_size
|
260
|
+
# The maximum number of notifications to return. The service may return fewer
|
261
|
+
# than this value. If unspecified or equal to 0, at most 50 notifications will
|
262
|
+
# be returned. The maximum value is 50; values above 50 will be coerced to 50.
|
263
|
+
# @param [String] page_token
|
264
|
+
# A page token returned from a previous request. When paginating, all other
|
265
|
+
# parameters provided in the request must match the call that returned the page
|
266
|
+
# token.
|
267
|
+
# @param [String] view
|
268
|
+
# Specifies which parts of the notification resource should be returned in the
|
269
|
+
# response.
|
270
|
+
# @param [String] fields
|
271
|
+
# Selector specifying which fields to include in a partial response.
|
272
|
+
# @param [String] quota_user
|
273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
275
|
+
# @param [Google::Apis::RequestOptions] options
|
276
|
+
# Request-specific options
|
277
|
+
#
|
278
|
+
# @yield [result, err] Result & error if block supplied
|
279
|
+
# @yieldparam result [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1ListNotificationsResponse] parsed result object
|
280
|
+
# @yieldparam err [StandardError] error object if request failed
|
281
|
+
#
|
282
|
+
# @return [Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1ListNotificationsResponse]
|
283
|
+
#
|
284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
+
def list_project_location_notifications(parent, language_code: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
+
command = make_simple_command(:get, 'v1/{+parent}/notifications', options)
|
289
|
+
command.response_representation = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1ListNotificationsResponse::Representation
|
290
|
+
command.response_class = Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1ListNotificationsResponse
|
291
|
+
command.params['parent'] = parent unless parent.nil?
|
292
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
293
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
294
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
295
|
+
command.query['view'] = view unless view.nil?
|
296
|
+
command.query['fields'] = fields unless fields.nil?
|
297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
298
|
+
execute_or_queue_command(command, &block)
|
299
|
+
end
|
206
300
|
|
207
301
|
protected
|
208
302
|
|
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.
|
4
|
+
version: 0.7.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: 2023-
|
11
|
+
date: 2023-12-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-advisorynotifications_v1/v0.7.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: []
|