Class: Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkRequest

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

Request to create a short Dynamic Link.

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) ⇒ CreateShortDynamicLinkRequest

Returns a new instance of CreateShortDynamicLinkRequest



147
148
149
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 147

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

Instance Attribute Details

Information about a Dynamic Link. Corresponds to the JSON property dynamicLinkInfo



131
132
133
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 131

def dynamic_link_info
  @dynamic_link_info
end

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

Returns:

  • (String)


140
141
142
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 140

def long_dynamic_link
  @long_dynamic_link
end

#suffixGoogle::Apis::FirebasedynamiclinksV1::Suffix

Short Dynamic Link suffix. Corresponds to the JSON property suffix



145
146
147
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 145

def suffix
  @suffix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



152
153
154
155
156
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 152

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)
  @suffix = args[:suffix] if args.key?(:suffix)
end