Class: Google::Apis::FirebasedynamiclinksV1::CreateManagedShortLinkRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::FirebasedynamiclinksV1::CreateManagedShortLinkRequest
 
 
- 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
Request to create a managed Short Dynamic Link.
Instance Attribute Summary collapse
- 
  
    
      #dynamic_link_info  ⇒ Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Information about a Dynamic Link.
 - 
  
    
      #long_dynamic_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Full long Dynamic Link URL with desired query parameters specified.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Link name to associate with the link.
 - 
  
    
      #suffix  ⇒ Google::Apis::FirebasedynamiclinksV1::Suffix 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Short Dynamic Link suffix.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreateManagedShortLinkRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreateManagedShortLinkRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateManagedShortLinkRequest
Returns a new instance of CreateManagedShortLinkRequest
      121 122 123  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 121 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#dynamic_link_info ⇒ Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo
Information about a Dynamic Link.
Corresponds to the JSON property dynamicLinkInfo
      97 98 99  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 97 def dynamic_link_info @dynamic_link_info end  | 
  
#long_dynamic_link ⇒ String
Full long Dynamic Link URL with desired query parameters specified.
For example,
"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
Learn more.
Corresponds to the JSON property longDynamicLink
      106 107 108  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 106 def long_dynamic_link @long_dynamic_link end  | 
  
#name ⇒ String
Link name to associate with the link. It's used for marketer to identify
manually-created links in the Firebase console
(https://console.firebase.google.com/).
Links must be named to be tracked.
Corresponds to the JSON property name
      114 115 116  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 114 def name @name end  | 
  
#suffix ⇒ Google::Apis::FirebasedynamiclinksV1::Suffix
Short Dynamic Link suffix.
Corresponds to the JSON property suffix
      119 120 121  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 119 def suffix @suffix end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      126 127 128 129 130 131  | 
    
      # File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 126 def update!(**args) @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info) @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link) @name = args[:name] if args.key?(:name) @suffix = args[:suffix] if args.key?(:suffix) end  |