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

Class: Aws::Pinpoint::Types::BaiduChannelRequest

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 BaiduChannelRequest data as a hash:

{
  api_key: "__string", # required
  enabled: false,
  secret_key: "__string", # required
}

Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The API key that you received from the Baidu Cloud Push service to communicate with the service.

Returns:

  • (String)


1485
1486
1487
1488
1489
1490
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1485

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

#enabledBoolean

Specifies whether to enable the Baidu channel for the application.

Returns:

  • (Boolean)


1485
1486
1487
1488
1489
1490
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1485

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

#secret_keyString

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

Returns:

  • (String)


1485
1486
1487
1488
1489
1490
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1485

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