Class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/firebasedynamiclinks_v1/classes.rb,
generated/google/apis/firebasedynamiclinks_v1/representations.rb,
generated/google/apis/firebasedynamiclinks_v1/representations.rb

Overview

Parameters for social meta tag params. Used to set meta tag data for link previews on social sites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SocialMetaTagInfo

Returns a new instance of SocialMetaTagInfo



747
748
749
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 747

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#social_descriptionString

A short description of the link. Optional. Corresponds to the JSON property socialDescription

Returns:

  • (String)


735
736
737
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 735

def social_description
  @social_description
end

An image url string. Optional. Corresponds to the JSON property socialImageLink

Returns:

  • (String)


740
741
742
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 740

def social_image_link
  @social_image_link
end

#social_titleString

Title to be displayed. Optional. Corresponds to the JSON property socialTitle

Returns:

  • (String)


745
746
747
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 745

def social_title
  @social_title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



752
753
754
755
756
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 752

def update!(**args)
  @social_description = args[:social_description] if args.key?(:social_description)
  @social_image_link = args[:social_image_link] if args.key?(:social_image_link)
  @social_title = args[:social_title] if args.key?(:social_title)
end