Advisory Notifications API (advisorynotifications:v1)

2023-12-07

2 new methods

Additions

    Methods
  • advisorynotifications.projects.locations.notifications.list

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        parent

          Type: string

          Required: Yes

          Location: path

          Description: Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}"

          Pattern: ^projects/[^/]+/locations/[^/]+$

        pageSize

          Format: int32

          Type: integer

          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.

          Location: query

        view

          Location: query

          Enum:

        • NOTIFICATION_VIEW_UNSPECIFIED
        • BASIC
        • FULL
        • Description: Specifies which parts of the notification resource should be returned in the response.

          Enum Descriptions:

        • Not specified, equivalent to BASIC.
        • 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.
        • Include everything.
        • Type: string

        pageToken

          Location: query

          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.

          Type: string

        languageCode

          Type: string

          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.

          Location: query

      Path: v1/{+parent}/notifications

      Parameter Order: parent

      HTTP Method: GET

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/notifications

      Description: Lists notifications under a given parent.

  • advisorynotifications.projects.locations.notifications.get

      Parameters:

        name

          Description: Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.

          Location: path

          Required: Yes

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/notifications/[^/]+$

        languageCode

          Type: string

          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.

          Location: query

      Path: v1/{+name}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Gets a notification.

      Parameter Order: name

      HTTP Method: GET

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}