Class: Aws::Pinpoint::Types::GCMChannelRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

Returns:

  • (String)


5621
5622
5623
5624
5625
5626
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5621

class GCMChannelRequest < Struct.new(
  :api_key,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specifies whether to enable the GCM channel for the application.

Returns:

  • (Boolean)


5621
5622
5623
5624
5625
5626
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5621

class GCMChannelRequest < Struct.new(
  :api_key,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end