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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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.

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)


8097
8098
8099
8100
8101
8102
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 8097

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)


8097
8098
8099
8100
8101
8102
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 8097

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