Class: Google::Apis::CesV1::ChannelProfileWhatsAppConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ChannelProfileWhatsAppConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Configuration specific to WhatsApp deployments.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#phone_number ⇒ String
Optional.
-
#phone_number_id ⇒ String
Required.
-
#thumbnail_url ⇒ String
Output only.
-
#waba_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelProfileWhatsAppConfig
constructor
A new instance of ChannelProfileWhatsAppConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelProfileWhatsAppConfig
Returns a new instance of ChannelProfileWhatsAppConfig.
1676 1677 1678 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. The description of the Meta business page or profile.
Corresponds to the JSON property description
1649 1650 1651 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1649 def description @description end |
#display_name ⇒ String
Output only. The fetched Meta business page name.
Corresponds to the JSON property displayName
1654 1655 1656 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1654 def display_name @display_name end |
#phone_number ⇒ String
Optional. The phone number in E.164 format.
Corresponds to the JSON property phoneNumber
1659 1660 1661 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1659 def phone_number @phone_number end |
#phone_number_id ⇒ String
Required. The Meta phone number ID.
Corresponds to the JSON property phoneNumberId
1664 1665 1666 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1664 def phone_number_id @phone_number_id end |
#thumbnail_url ⇒ String
Output only. The fetched Meta business profile thumbnail URL.
Corresponds to the JSON property thumbnailUrl
1669 1670 1671 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1669 def thumbnail_url @thumbnail_url end |
#waba_id ⇒ String
Required. The WhatsApp Business Account ID.
Corresponds to the JSON property wabaId
1674 1675 1676 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1674 def waba_id @waba_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1681 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @phone_number = args[:phone_number] if args.key?(:phone_number) @phone_number_id = args[:phone_number_id] if args.key?(:phone_number_id) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @waba_id = args[:waba_id] if args.key?(:waba_id) end |