Class: Aws::Pinpoint::Types::GCMChannelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::GCMChannelRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
Note:
When making an API call, you may pass GCMChannelRequest data as a hash:
{
api_key: "__string", # required
enabled: false,
}
Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
Instance Attribute Summary collapse
-
#api_key ⇒ String
The Web API Key, also referred to as an API_KEY or *server key*, that you received from Google to communicate with Google services.
-
#enabled ⇒ Boolean
Specifies whether to enable the GCM channel for the application.
Instance Attribute Details
#api_key ⇒ String
The Web API Key, also referred to as an API_KEY or *server key*, that you received from Google to communicate with Google services.
7527 7528 7529 7530 7531 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7527 class GCMChannelRequest < Struct.new( :api_key, :enabled) include Aws::Structure end |
#enabled ⇒ Boolean
Specifies whether to enable the GCM channel for the application.
7527 7528 7529 7530 7531 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7527 class GCMChannelRequest < Struct.new( :api_key, :enabled) include Aws::Structure end |