Class: Google::Apis::FirebasedynamiclinksV1::IosInfo

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

iOS 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) ⇒ IosInfo

Returns a new instance of IosInfo



890
891
892
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 890

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

Instance Attribute Details

#ios_app_store_idString

iOS App Store ID. Corresponds to the JSON property iosAppStoreId

Returns:

  • (String)


861
862
863
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 861

def ios_app_store_id
  @ios_app_store_id
end

#ios_bundle_idString

iOS bundle ID of the app. Corresponds to the JSON property iosBundleId

Returns:

  • (String)


866
867
868
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 866

def ios_bundle_id
  @ios_bundle_id
end

#ios_custom_schemeString

Custom (destination) scheme to use for iOS. By default, we’ll use the bundle ID as the custom scheme. Developer can override this behavior using this param. Corresponds to the JSON property iosCustomScheme

Returns:

  • (String)


873
874
875
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 873

def ios_custom_scheme
  @ios_custom_scheme
end

Link to open on iOS if the app is not installed. Corresponds to the JSON property iosFallbackLink

Returns:

  • (String)


878
879
880
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 878

def ios_fallback_link
  @ios_fallback_link
end

#ios_ipad_bundle_idString

iPad bundle ID of the app. Corresponds to the JSON property iosIpadBundleId

Returns:

  • (String)


883
884
885
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 883

def ios_ipad_bundle_id
  @ios_ipad_bundle_id
end

If specified, this overrides the ios_fallback_link value on iPads. Corresponds to the JSON property iosIpadFallbackLink

Returns:

  • (String)


888
889
890
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 888

def ios_ipad_fallback_link
  @ios_ipad_fallback_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



895
896
897
898
899
900
901
902
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 895

def update!(**args)
  @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
  @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
  @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
  @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
  @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
  @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
end