Class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo

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

Information about a 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) ⇒ DynamicLinkInfo

Returns a new instance of DynamicLinkInfo.



415
416
417
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 415

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

Instance Attribute Details

#analytics_infoGoogle::Apis::FirebasedynamiclinksV1::AnalyticsInfo

Tracking parameters supported by Dynamic Link. Corresponds to the JSON property analyticsInfo



360
361
362
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 360

def analytics_info
  @analytics_info
end

#android_infoGoogle::Apis::FirebasedynamiclinksV1::AndroidInfo

Android related attributes to the Dynamic Link. Corresponds to the JSON property androidInfo



365
366
367
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 365

def android_info
  @android_info
end

#desktop_infoGoogle::Apis::FirebasedynamiclinksV1::DesktopInfo

Desktop related attributes to the Dynamic Link. Corresponds to the JSON property desktopInfo



370
371
372
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 370

def desktop_info
  @desktop_info
end

#domain_uri_prefixString

E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps More examples can be found in description of getNormalizedUriPrefix in j/c/g/firebase/dynamiclinks/uri/DdlDomain.java Will fallback to dynamic_link_domain is this field is missing Corresponds to the JSON property domainUriPrefix

Returns:

  • (String)


378
379
380
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 378

def domain_uri_prefix
  @domain_uri_prefix
end

Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl Learn more on how to set up Dynamic Link domain associated with your Firebase project. Required if missing domain_uri_prefix. Corresponds to the JSON property dynamicLinkDomain

Returns:

  • (String)


387
388
389
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 387

def dynamic_link_domain
  @dynamic_link_domain
end

#ios_infoGoogle::Apis::FirebasedynamiclinksV1::IosInfo

iOS related attributes to the Dynamic Link.. Corresponds to the JSON property iosInfo



392
393
394
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 392

def ios_info
  @ios_info
end

The link your app will open, You can specify any URL your app can handle. This link must be a well-formatted URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. See 'link' parameters in the documentation . Required. Corresponds to the JSON property link

Returns:

  • (String)


402
403
404
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 402

def link
  @link
end

Information of navigation behavior. Corresponds to the JSON property navigationInfo



407
408
409
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 407

def navigation_info
  @navigation_info
end

#social_meta_tag_infoGoogle::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo

Parameters for social meta tag params. Used to set meta tag data for link previews on social sites. Corresponds to the JSON property socialMetaTagInfo



413
414
415
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 413

def social_meta_tag_info
  @social_meta_tag_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



420
421
422
423
424
425
426
427
428
429
430
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 420

def update!(**args)
  @analytics_info = args[:analytics_info] if args.key?(:analytics_info)
  @android_info = args[:android_info] if args.key?(:android_info)
  @desktop_info = args[:desktop_info] if args.key?(:desktop_info)
  @domain_uri_prefix = args[:domain_uri_prefix] if args.key?(:domain_uri_prefix)
  @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
  @ios_info = args[:ios_info] if args.key?(:ios_info)
  @link = args[:link] if args.key?(:link)
  @navigation_info = args[:navigation_info] if args.key?(:navigation_info)
  @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info)
end