Class: Google::Cloud::AdvisoryNotifications::V1::ListNotificationsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/advisorynotifications/v1/service.rb

Overview

Request for fetching all notifications for a given parent.

Instance Attribute Summary collapse

Instance Attribute Details

#language_code::String

Returns 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.



162
163
164
165
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 162

class ListNotificationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_size::Integer

Returns 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.



162
163
164
165
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 162

class ListNotificationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

Returns 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.



162
163
164
165
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 162

class ListNotificationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}".

Returns:

  • (::String)

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



162
163
164
165
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 162

class ListNotificationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#view::Google::Cloud::AdvisoryNotifications::V1::NotificationView

Returns Specifies which parts of the notification resource should be returned in the response.

Returns:



162
163
164
165
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 162

class ListNotificationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end