Class: Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse

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

Response 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) ⇒ CreateShortDynamicLinkResponse

Returns a new instance of CreateShortDynamicLinkResponse



231
232
233
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 231

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

Instance Attribute Details

Preview link to show the link flow chart. (debug info.) Corresponds to the JSON property previewLink

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 219

def preview_link
  @preview_link
end

Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz Corresponds to the JSON property shortLink

Returns:

  • (String)


224
225
226
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 224

def short_link
  @short_link
end

#warningArray<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>

Information about potential warnings on link creation. Corresponds to the JSON property warning



229
230
231
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 229

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



236
237
238
239
240
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 236

def update!(**args)
  @preview_link = args[:preview_link] if args.key?(:preview_link)
  @short_link = args[:short_link] if args.key?(:short_link)
  @warning = args[:warning] if args.key?(:warning)
end