Bump version, regen APIs

This commit is contained in:
Steve Bazyl committed 2017-05-26 10:44:32 -06:00
1 parent b8f6f7c2fe
commit 9237ba59cb
241 files changed
+53894 -50212

No files matched your search

@@ -22,6 +22,78 @@ module Google
module Apis
module FirebasedynamiclinksV1
# Information of navigation behavior.
class NavigationInfo
include Google::Apis::Core::Hashable
# If this option is on, FDL click will be forced to redirect rather than
# show an interstitial page.
# Corresponds to the JSON property `enableForcedRedirect`
# @return [Boolean]
attr_accessor :enable_forced_redirect
alias_method :enable_forced_redirect?, :enable_forced_redirect
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_forced_redirect = args[:enable_forced_redirect] if args.key?(:enable_forced_redirect)
end
end
# iOS related attributes to the Dynamic Link..
class IosInfo
include Google::Apis::Core::Hashable
# 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`
# @return [String]
attr_accessor :ios_custom_scheme
# iOS bundle ID of the app.
# Corresponds to the JSON property `iosBundleId`
# @return [String]
attr_accessor :ios_bundle_id
# Link to open on iOS if the app is not installed.
# Corresponds to the JSON property `iosFallbackLink`
# @return [String]
attr_accessor :ios_fallback_link
# iOS App Store ID.
# Corresponds to the JSON property `iosAppStoreId`
# @return [String]
attr_accessor :ios_app_store_id
# If specified, this overrides the ios_fallback_link value on iPads.
# Corresponds to the JSON property `iosIpadFallbackLink`
# @return [String]
attr_accessor :ios_ipad_fallback_link
# iPad bundle ID of the app.
# Corresponds to the JSON property `iosIpadBundleId`
# @return [String]
attr_accessor :ios_ipad_bundle_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
@ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
@ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
@ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
@ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
@ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
end
end
# Tracking parameters supported by Dynamic Link.
class AnalyticsInfo
include Google::Apis::Core::Hashable
@@ -53,11 +125,6 @@ module Google
class CreateShortDynamicLinkRequest
include Google::Apis::Core::Hashable
# Short Dynamic Link suffix.
# Corresponds to the JSON property `suffix`
# @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
attr_accessor :suffix
# Information about a Dynamic Link.
# Corresponds to the JSON property `dynamicLinkInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
@@ -72,15 +139,20 @@ module Google
# @return [String]
attr_accessor :long_dynamic_link
# Short Dynamic Link suffix.
# Corresponds to the JSON property `suffix`
# @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
attr_accessor :suffix
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@suffix = args[:suffix] if args.key?(:suffix)
@dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info)
@long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link)
@suffix = args[:suffix] if args.key?(:suffix)
end
end
@@ -88,11 +160,6 @@ module Google
class CreateShortDynamicLinkResponse
include Google::Apis::Core::Hashable
# Information about potential warnings on link creation.
# Corresponds to the JSON property `warning`
# @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
attr_accessor :warning
# Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
# Corresponds to the JSON property `shortLink`
# @return [String]
@@ -103,15 +170,20 @@ module Google
# @return [String]
attr_accessor :preview_link
# Information about potential warnings on link creation.
# Corresponds to the JSON property `warning`
# @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warning = args[:warning] if args.key?(:warning)
@short_link = args[:short_link] if args.key?(:short_link)
@preview_link = args[:preview_link] if args.key?(:preview_link)
@warning = args[:warning] if args.key?(:warning)
end
end
@@ -156,12 +228,6 @@ module Google
# @return [String]
attr_accessor :utm_source
# Campaign name; used for keyword analysis to identify a specific product
# promotion or strategic campaign.
# Corresponds to the JSON property `utmCampaign`
# @return [String]
attr_accessor :utm_campaign
# [AdWords autotagging parameter](https://support.google.com/analytics/answer/
# 1033981?hl=en);
# used to measure Google AdWords ads. This value is generated dynamically
@@ -170,6 +236,12 @@ module Google
# @return [String]
attr_accessor :gclid
# Campaign name; used for keyword analysis to identify a specific product
# promotion or strategic campaign.
# Corresponds to the JSON property `utmCampaign`
# @return [String]
attr_accessor :utm_campaign
# Campaign content; used for A/B testing and content-targeted ads to
# differentiate ads or links that point to the same URL.
# Corresponds to the JSON property `utmContent`
@@ -185,8 +257,8 @@ module Google
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
@utm_term = args[:utm_term] if args.key?(:utm_term)
@utm_source = args[:utm_source] if args.key?(:utm_source)
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@gclid = args[:gclid] if args.key?(:gclid)
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@utm_content = args[:utm_content] if args.key?(:utm_content)
end
end
@@ -195,25 +267,6 @@ module Google
class DynamicLinkInfo
include Google::Apis::Core::Hashable
# Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
# [Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-
# firebase-and-the-dynamic-links-sdk)
# on how to set up Dynamic Link domain associated with your Firebase project.
# Required.
# Corresponds to the JSON property `dynamicLinkDomain`
# @return [String]
attr_accessor :dynamic_link_domain
# 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](https://firebase.google.com/docs/dynamic-links/android#create-
# a-dynamic-link-programmatically).
# Required.
# Corresponds to the JSON property `link`
# @return [String]
attr_accessor :link
# iOS related attributes to the Dynamic Link..
# Corresponds to the JSON property `iosInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::IosInfo]
@@ -240,19 +293,37 @@ module Google
# @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo]
attr_accessor :analytics_info
# Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
# [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive)
# on how to set up Dynamic Link domain associated with your Firebase project.
# Required.
# Corresponds to the JSON property `dynamicLinkDomain`
# @return [String]
attr_accessor :dynamic_link_domain
# 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](https://firebase.google.com/docs/dynamic-links/create-manually)
# .
# Required.
# Corresponds to the JSON property `link`
# @return [String]
attr_accessor :link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
@link = args[:link] if args.key?(:link)
@ios_info = args[:ios_info] if args.key?(:ios_info)
@social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info)
@android_info = args[:android_info] if args.key?(:android_info)
@navigation_info = args[:navigation_info] if args.key?(:navigation_info)
@analytics_info = args[:analytics_info] if args.key?(:analytics_info)
@dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
@link = args[:link] if args.key?(:link)
end
end
@@ -260,6 +331,11 @@ module Google
class ITunesConnectAnalytics
include Google::Apis::Core::Hashable
# Affiliate token used to create affiliate-coded links.
# Corresponds to the JSON property `at`
# @return [String]
attr_accessor :at
# Campaign text that developers can optionally add to any link in order to
# track sales from a specific marketing campaign.
# Corresponds to the JSON property `ct`
@@ -277,21 +353,16 @@ module Google
# @return [String]
attr_accessor :pt
# Affiliate token used to create affiliate-coded links.
# Corresponds to the JSON property `at`
# @return [String]
attr_accessor :at
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@at = args[:at] if args.key?(:at)
@ct = args[:ct] if args.key?(:ct)
@mt = args[:mt] if args.key?(:mt)
@pt = args[:pt] if args.key?(:pt)
@at = args[:at] if args.key?(:at)
end
end
@@ -300,11 +371,6 @@ module Google
class SocialMetaTagInfo
include Google::Apis::Core::Hashable
# A short description of the link. Optional.
# Corresponds to the JSON property `socialDescription`
# @return [String]
attr_accessor :social_description
# Title to be displayed. Optional.
# Corresponds to the JSON property `socialTitle`
# @return [String]
@@ -315,15 +381,45 @@ module Google
# @return [String]
attr_accessor :social_image_link
# A short description of the link. Optional.
# Corresponds to the JSON property `socialDescription`
# @return [String]
attr_accessor :social_description
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@social_description = args[:social_description] if args.key?(:social_description)
@social_title = args[:social_title] if args.key?(:social_title)
@social_image_link = args[:social_image_link] if args.key?(:social_image_link)
@social_description = args[:social_description] if args.key?(:social_description)
end
end
# Dynamic Links warning messages.
class DynamicLinkWarning
include Google::Apis::Core::Hashable
# The warning message to help developers improve their requests.
# Corresponds to the JSON property `warningMessage`
# @return [String]
attr_accessor :warning_message
# The warning code.
# Corresponds to the JSON property `warningCode`
# @return [String]
attr_accessor :warning_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warning_message = args[:warning_message] if args.key?(:warning_message)
@warning_code = args[:warning_code] if args.key?(:warning_code)
end
end
@@ -364,103 +460,6 @@ module Google
@android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
end
end
# Dynamic Links warning messages.
class DynamicLinkWarning
include Google::Apis::Core::Hashable
# The warning code.
# Corresponds to the JSON property `warningCode`
# @return [String]
attr_accessor :warning_code
# The warning message to help developers improve their requests.
# Corresponds to the JSON property `warningMessage`
# @return [String]
attr_accessor :warning_message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warning_code = args[:warning_code] if args.key?(:warning_code)
@warning_message = args[:warning_message] if args.key?(:warning_message)
end
end
# Information of navigation behavior.
class NavigationInfo
include Google::Apis::Core::Hashable
# If this option is on, FDL click will be forced to redirect rather than
# show an interstitial page.
# Corresponds to the JSON property `enableForcedRedirect`
# @return [Boolean]
attr_accessor :enable_forced_redirect
alias_method :enable_forced_redirect?, :enable_forced_redirect
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_forced_redirect = args[:enable_forced_redirect] if args.key?(:enable_forced_redirect)
end
end
# iOS related attributes to the Dynamic Link..
class IosInfo
include Google::Apis::Core::Hashable
# If specified, this overrides the ios_fallback_link value on iPads.
# Corresponds to the JSON property `iosIpadFallbackLink`
# @return [String]
attr_accessor :ios_ipad_fallback_link
# iPad bundle ID of the app.
# Corresponds to the JSON property `iosIpadBundleId`
# @return [String]
attr_accessor :ios_ipad_bundle_id
# 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`
# @return [String]
attr_accessor :ios_custom_scheme
# iOS bundle ID of the app.
# Corresponds to the JSON property `iosBundleId`
# @return [String]
attr_accessor :ios_bundle_id
# Link to open on iOS if the app is not installed.
# Corresponds to the JSON property `iosFallbackLink`
# @return [String]
attr_accessor :ios_fallback_link
# iOS App Store ID.
# Corresponds to the JSON property `iosAppStoreId`
# @return [String]
attr_accessor :ios_app_store_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
@ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
@ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
@ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
@ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
@ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
end
end
end
end
end
@@ -22,6 +22,18 @@ module Google
module Apis
module FirebasedynamiclinksV1
class NavigationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IosInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnalyticsInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -70,28 +82,35 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AndroidInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DynamicLinkWarning
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NavigationInfo
class AndroidInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IosInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
class NavigationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_forced_redirect, as: 'enableForcedRedirect'
end
end
include Google::Apis::Core::JsonObjectSupport
class IosInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ios_custom_scheme, as: 'iosCustomScheme'
property :ios_bundle_id, as: 'iosBundleId'
property :ios_fallback_link, as: 'iosFallbackLink'
property :ios_app_store_id, as: 'iosAppStoreId'
property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
end
end
class AnalyticsInfo
@@ -107,21 +126,21 @@ module Google
class CreateShortDynamicLinkRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
property :long_dynamic_link, as: 'longDynamicLink'
property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
end
end
class CreateShortDynamicLinkResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
property :short_link, as: 'shortLink'
property :preview_link, as: 'previewLink'
collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
end
end
@@ -138,8 +157,8 @@ module Google
property :utm_medium, as: 'utmMedium'
property :utm_term, as: 'utmTerm'
property :utm_source, as: 'utmSource'
property :utm_campaign, as: 'utmCampaign'
property :gclid, as: 'gclid'
property :utm_campaign, as: 'utmCampaign'
property :utm_content, as: 'utmContent'
end
end
@@ -147,8 +166,6 @@ module Google
class DynamicLinkInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dynamic_link_domain, as: 'dynamicLinkDomain'
property :link, as: 'link'
property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
@@ -159,25 +176,35 @@ module Google
property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
property :dynamic_link_domain, as: 'dynamicLinkDomain'
property :link, as: 'link'
end
end
class ITunesConnectAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :at, as: 'at'
property :ct, as: 'ct'
property :mt, as: 'mt'
property :pt, as: 'pt'
property :at, as: 'at'
end
end
class SocialMetaTagInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :social_description, as: 'socialDescription'
property :social_title, as: 'socialTitle'
property :social_image_link, as: 'socialImageLink'
property :social_description, as: 'socialDescription'
end
end
class DynamicLinkWarning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :warning_message, as: 'warningMessage'
property :warning_code, as: 'warningCode'
end
end
@@ -190,33 +217,6 @@ module Google
property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
end
end
class DynamicLinkWarning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :warning_code, as: 'warningCode'
property :warning_message, as: 'warningMessage'
end
end
class NavigationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_forced_redirect, as: 'enableForcedRedirect'
end
end
class IosInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
property :ios_custom_scheme, as: 'iosCustomScheme'
property :ios_bundle_id, as: 'iosBundleId'
property :ios_fallback_link, as: 'iosFallbackLink'
property :ios_app_store_id, as: 'iosAppStoreId'
end
end
end
end
end