Advisory Notifications V1 API - Class Google::Cloud::AdvisoryNotifications::V1::GetNotificationRequest (v0.1.0)

Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::GetNotificationRequest.

Request for fetching a notification.

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.

#name

def name() -> ::String
Returns
  • (::String) — Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
Returns
  • (::String) — Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.