Class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedynamiclinksV1::AndroidInfo
- 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
-
#android_fallback_link ⇒ String
Link to open on Android if the app is not installed.
-
#android_link ⇒ String
If specified, this overrides the ‘link’ parameter on Android.
-
#android_min_package_version_code ⇒ String
Minimum version code for the Android app.
-
#android_package_name ⇒ String
Android package name of the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidInfo
constructor
A new instance of AndroidInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidInfo
Returns a new instance of AndroidInfo
305 306 307 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_fallback_link ⇒ String
Link to open on Android if the app is not installed.
Corresponds to the JSON property androidFallbackLink
303 304 305 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 303 def android_fallback_link @android_fallback_link end |
#android_link ⇒ String
If specified, this overrides the ‘link’ parameter on Android.
Corresponds to the JSON property androidLink
298 299 300 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 298 def android_link @android_link end |
#android_min_package_version_code ⇒ String
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
293 294 295 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 293 def android_min_package_version_code @android_min_package_version_code end |
#android_package_name ⇒ String
Android package name of the app.
Corresponds to the JSON property androidPackageName
287 288 289 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 287 def android_package_name @android_package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
310 311 312 313 314 315 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 310 def update!(**args) @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) @android_link = args[:android_link] if args.key?(:android_link) @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link) end |