Class: Aws::Pinpoint::Types::GCMChannelResponse

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

Overview

Google Cloud Messaging channel definition

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The ID of the application to which the channel applies.

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#creation_dateString

When was this segment created

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#credentialString

The GCM API key from Google.

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#has_credentialBoolean

Indicates whether the channel is configured with FCM or GCM credentials. Amazon Pinpoint uses your credentials to authenticate push notifications with FCM or GCM. Provide your credentials by setting the ApiKey attribute.

Returns:

  • (Boolean)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#idString

Channel ID. Not used. Present only for backwards compatibility.

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#is_archivedBoolean

Is this channel archived

Returns:

  • (Boolean)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#last_modified_byString

Who last updated this entry

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#last_modified_dateString

Last date this was updated

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#platformString

The platform type. Will be GCM

Returns:

  • (String)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#versionInteger

Version of channel

Returns:

  • (Integer)


3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/aws-sdk-pinpoint/types.rb', line 3833

class GCMChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :credential,
  :enabled,
  :has_credential,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end