Class: Google::Apis::CesV1::ChannelProfileInstagramConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ChannelProfileInstagramConfig
- 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 Instagram deployments.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#instagram_account_id ⇒ String
Required.
-
#thumbnail_url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelProfileInstagramConfig
constructor
A new instance of ChannelProfileInstagramConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelProfileInstagramConfig
Returns a new instance of ChannelProfileInstagramConfig.
1524 1525 1526 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1524 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
1507 1508 1509 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1507 def description @description end |
#display_name ⇒ String
Output only. The fetched Meta business page name.
Corresponds to the JSON property displayName
1512 1513 1514 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1512 def display_name @display_name end |
#instagram_account_id ⇒ String
Required. The Instagram Account ID.
Corresponds to the JSON property instagramAccountId
1517 1518 1519 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1517 def instagram_account_id @instagram_account_id end |
#thumbnail_url ⇒ String
Output only. The fetched Meta business profile thumbnail URL.
Corresponds to the JSON property thumbnailUrl
1522 1523 1524 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1522 def thumbnail_url @thumbnail_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1529 1530 1531 1532 1533 1534 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1529 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @instagram_account_id = args[:instagram_account_id] if args.key?(:instagram_account_id) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) end |