Class: Google::Apis::CesV1::ChannelProfileInstagramConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#descriptionString

Output only. The description of the Meta business page or profile. Corresponds to the JSON property description

Returns:

  • (String)


1507
1508
1509
# File 'lib/google/apis/ces_v1/classes.rb', line 1507

def description
  @description
end

#display_nameString

Output only. The fetched Meta business page name. Corresponds to the JSON property displayName

Returns:

  • (String)


1512
1513
1514
# File 'lib/google/apis/ces_v1/classes.rb', line 1512

def display_name
  @display_name
end

#instagram_account_idString

Required. The Instagram Account ID. Corresponds to the JSON property instagramAccountId

Returns:

  • (String)


1517
1518
1519
# File 'lib/google/apis/ces_v1/classes.rb', line 1517

def 
  @instagram_account_id
end

#thumbnail_urlString

Output only. The fetched Meta business profile thumbnail URL. Corresponds to the JSON property thumbnailUrl

Returns:

  • (String)


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