Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::ListNotificationsRequest.
Request for fetching all notifications for a given parent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#language_code
def language_code() -> ::String
Returns
- (::String) — 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.
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — 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.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#page_token
def page_token() -> ::String
Returns
- (::String) — 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.
#page_token=
def page_token=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}".
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}".
Returns
- (::String) — Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}".
#view
def view() -> ::Google::Cloud::AdvisoryNotifications::V1::NotificationView
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::NotificationView) — Specifies which parts of the notification resource should be returned in the response.
#view=
def view=(value) -> ::Google::Cloud::AdvisoryNotifications::V1::NotificationView
Parameter
- value (::Google::Cloud::AdvisoryNotifications::V1::NotificationView) — Specifies which parts of the notification resource should be returned in the response.
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::NotificationView) — Specifies which parts of the notification resource should be returned in the response.