|
144 | 144 | ],
|
145 | 145 | "parameters": {
|
146 | 146 | "name": {
|
147 |
| - "description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
| 147 | + "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
148 | 148 | "location": "path",
|
149 | 149 | "pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
|
150 | 150 | "required": true,
|
|
181 | 181 | "type": "string"
|
182 | 182 | },
|
183 | 183 | "name": {
|
184 |
| - "description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.", |
| 184 | + "description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.", |
185 | 185 | "location": "path",
|
186 | 186 | "pattern": "^organizations/[^/]+/locations/[^/]+/notifications/[^/]+$",
|
187 | 187 | "required": true,
|
|
222 | 222 | "type": "string"
|
223 | 223 | },
|
224 | 224 | "parent": {
|
225 |
| - "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\"", |
| 225 | + "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"", |
226 | 226 | "location": "path",
|
227 | 227 | "pattern": "^organizations/[^/]+/locations/[^/]+$",
|
228 | 228 | "required": true,
|
|
257 | 257 | }
|
258 | 258 | }
|
259 | 259 | }
|
| 260 | + }, |
| 261 | + "projects": { |
| 262 | + "resources": { |
| 263 | + "locations": { |
| 264 | + "resources": { |
| 265 | + "notifications": { |
| 266 | + "methods": { |
| 267 | + "get": { |
| 268 | + "description": "Gets a notification.", |
| 269 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}", |
| 270 | + "httpMethod": "GET", |
| 271 | + "id": "advisorynotifications.projects.locations.notifications.get", |
| 272 | + "parameterOrder": [ |
| 273 | + "name" |
| 274 | + ], |
| 275 | + "parameters": { |
| 276 | + "languageCode": { |
| 277 | + "description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", |
| 278 | + "location": "query", |
| 279 | + "type": "string" |
| 280 | + }, |
| 281 | + "name": { |
| 282 | + "description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.", |
| 283 | + "location": "path", |
| 284 | + "pattern": "^projects/[^/]+/locations/[^/]+/notifications/[^/]+$", |
| 285 | + "required": true, |
| 286 | + "type": "string" |
| 287 | + } |
| 288 | + }, |
| 289 | + "path": "v1/{+name}", |
| 290 | + "response": { |
| 291 | + "$ref": "GoogleCloudAdvisorynotificationsV1Notification" |
| 292 | + }, |
| 293 | + "scopes": [ |
| 294 | + "https://www.googleapis.com/auth/cloud-platform" |
| 295 | + ] |
| 296 | + }, |
| 297 | + "list": { |
| 298 | + "description": "Lists notifications under a given parent.", |
| 299 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications", |
| 300 | + "httpMethod": "GET", |
| 301 | + "id": "advisorynotifications.projects.locations.notifications.list", |
| 302 | + "parameterOrder": [ |
| 303 | + "parent" |
| 304 | + ], |
| 305 | + "parameters": { |
| 306 | + "languageCode": { |
| 307 | + "description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", |
| 308 | + "location": "query", |
| 309 | + "type": "string" |
| 310 | + }, |
| 311 | + "pageSize": { |
| 312 | + "description": "The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.", |
| 313 | + "format": "int32", |
| 314 | + "location": "query", |
| 315 | + "type": "integer" |
| 316 | + }, |
| 317 | + "pageToken": { |
| 318 | + "description": "A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.", |
| 319 | + "location": "query", |
| 320 | + "type": "string" |
| 321 | + }, |
| 322 | + "parent": { |
| 323 | + "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"", |
| 324 | + "location": "path", |
| 325 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 326 | + "required": true, |
| 327 | + "type": "string" |
| 328 | + }, |
| 329 | + "view": { |
| 330 | + "description": "Specifies which parts of the notification resource should be returned in the response.", |
| 331 | + "enum": [ |
| 332 | + "NOTIFICATION_VIEW_UNSPECIFIED", |
| 333 | + "BASIC", |
| 334 | + "FULL" |
| 335 | + ], |
| 336 | + "enumDescriptions": [ |
| 337 | + "Not specified, equivalent to BASIC.", |
| 338 | + "Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.", |
| 339 | + "Include everything." |
| 340 | + ], |
| 341 | + "location": "query", |
| 342 | + "type": "string" |
| 343 | + } |
| 344 | + }, |
| 345 | + "path": "v1/{+parent}/notifications", |
| 346 | + "response": { |
| 347 | + "$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse" |
| 348 | + }, |
| 349 | + "scopes": [ |
| 350 | + "https://www.googleapis.com/auth/cloud-platform" |
| 351 | + ] |
| 352 | + } |
| 353 | + } |
| 354 | + } |
| 355 | + } |
| 356 | + } |
| 357 | + } |
260 | 358 | }
|
261 | 359 | },
|
262 |
| - "revision": "20230912", |
| 360 | + "revision": "20231203", |
263 | 361 | "rootUrl": "https://advisorynotifications.googleapis.com/",
|
264 | 362 | "schemas": {
|
265 | 363 | "GoogleCloudAdvisorynotificationsV1Attachment": {
|
|
392 | 490 | "type": "array"
|
393 | 491 | },
|
394 | 492 | "name": {
|
395 |
| - "description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.", |
| 493 | + "description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.", |
396 | 494 | "type": "string"
|
397 | 495 | },
|
398 | 496 | "notificationType": {
|
|
440 | 538 | "type": "string"
|
441 | 539 | },
|
442 | 540 | "name": {
|
443 |
| - "description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
444 |
| - "readOnly": true, |
| 541 | + "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
445 | 542 | "type": "string"
|
446 | 543 | },
|
447 | 544 | "notificationSettings": {
|
|
0 commit comments