You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
  enabled: false,
}

Google Cloud Messaging credentials

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

Platform credential API key from Google.

Returns:

  • (String)


3444
3445
3446
3447
3448
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 3444

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

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


3444
3445
3446
3447
3448
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 3444

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