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

Inherits:
Struct
  • Object
show all
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",
  enabled: false,
}

Google Cloud Messaging credentials

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

Platform credential API key from Google.

Returns:

  • (String)


4736
4737
4738
4739
4740
# File 'lib/aws-sdk-pinpoint/types.rb', line 4736

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

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


4736
4737
4738
4739
4740
# File 'lib/aws-sdk-pinpoint/types.rb', line 4736

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