Class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo
 
- 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
- 
  
    
      #social_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A short description of the link. 
- 
  
    
      #social_image_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An image url string. 
- 
  
    
      #social_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Title to be displayed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SocialMetaTagInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SocialMetaTagInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SocialMetaTagInfo
Returns a new instance of SocialMetaTagInfo
| 888 889 890 | # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 888 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#social_description ⇒ String
A short description of the link. Optional.
Corresponds to the JSON property socialDescription
| 876 877 878 | # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 876 def @social_description end | 
#social_image_link ⇒ String
An image url string. Optional.
Corresponds to the JSON property socialImageLink
| 881 882 883 | # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 881 def @social_image_link end | 
#social_title ⇒ String
Title to be displayed. Optional.
Corresponds to the JSON property socialTitle
| 886 887 888 | # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 886 def @social_title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 893 894 895 896 897 | # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 893 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 |