Class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo

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

Android related attributes to the 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) ⇒ AndroidInfo

Returns a new instance of AndroidInfo



451
452
453
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 451

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

Instance Attribute Details

Link to open on Android if the app is not installed. Corresponds to the JSON property androidFallbackLink

Returns:

  • (String)


438
439
440
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 438

def android_fallback_link
  @android_fallback_link
end

If specified, this overrides the ‘link’ parameter on Android. Corresponds to the JSON property androidLink

Returns:

  • (String)


433
434
435
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 433

def android_link
  @android_link
end

#android_min_package_version_codeString

Minimum version code for the Android app. If the installed app’s version code is lower, then the user is taken to the Play Store. Corresponds to the JSON property androidMinPackageVersionCode

Returns:

  • (String)


449
450
451
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 449

def android_min_package_version_code
  @android_min_package_version_code
end

#android_package_nameString

Android package name of the app. Corresponds to the JSON property androidPackageName

Returns:

  • (String)


443
444
445
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 443

def android_package_name
  @android_package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



456
457
458
459
460
461
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 456

def update!(**args)
  @android_link = args[:android_link] if args.key?(:android_link)
  @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link)
  @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
  @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
end