Autogenerated update (2017-08-25)

Add:
- adexperiencereport_v1
- androiddeviceprovisioning_v1
- androidmanagement_v1
- bigquerydatatransfer_v1
- cloudtrace_v2
- clouduseraccounts_vm_alpha
- consumersurveys_v2
- dlp_v2beta1
- oslogin_v1alpha
- playcustomapp_v1
- playmoviespartner_v1
- safebrowsing_v4
- spectrum_v1explorer
- speech_v1
- streetviewpublish_v1
- vault_v1
- videointelligence_v1beta1

Update:
- acceleratedmobilepageurl_v1
- adexchangebuyer2_v2beta1
- adexchangebuyer_v1_4
- adsense_v1_4
- adsensehost_v4_1
- analytics_v3
- analyticsreporting_v4
- androidenterprise_v1
- androidpublisher_v2
- appengine_v1
- appsactivity_v1
- appstate_v1
- bigquery_v2
- calendar_v3
- classroom_v1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- clouderrorreporting_v1beta1
- cloudfunctions_v1
- cloudkms_v1
- cloudmonitoring_v2beta2
- cloudresourcemanager_v1
- compute_beta
- compute_v1
- container_v1
- content_v2
- dataflow_v1b3
- dataproc_v1
- datastore_v1
- deploymentmanager_v2
- dfareporting_v2_8
- dns_v1
- doubleclicksearch_v2
- drive_v3
- firebasedynamiclinks_v1
- firebaserules_v1
- fitness_v1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- genomics_v1
- gmail_v1
- iam_v1
- identitytoolkit_v3
- language_v1
- logging_v2
- manufacturers_v1
- ml_v1
- monitoring_v3
- oauth2_v2
- partners_v2
- people_v1
- plus_domains_v1
- plus_v1
- proximitybeacon_v1beta1
- pubsub_v1
- runtimeconfig_v1
- script_v1
- searchconsole_v1
- servicecontrol_v1
- servicemanagement_v1
- serviceuser_v1
- sheets_v4
- slides_v1
- sourcerepo_v1
- spanner_v1
- sqladmin_v1beta4
- storage_v1
- storagetransfer_v1
- toolresults_v1beta3
- vision_v1
- webmasters_v3
- youtube_analytics_v1
- youtube_partner_v1
- youtubereporting_v1
This commit is contained in:
Google APIs committed 2017-08-25 19:54:22 +00:00
1 parent ce32deabcf
commit 2dd396ce6e
315 files changed
+158012 -116092

No files matched your search

@@ -22,20 +22,120 @@ module Google
module Apis
module FirebasedynamiclinksV1
# Tracking parameters supported by Dynamic Link.
class AnalyticsInfo
include Google::Apis::Core::Hashable
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)
# Corresponds to the JSON property `googlePlayAnalytics`
# @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics]
attr_accessor :google_play_analytics
# Parameters for iTunes Connect App Analytics.
# Corresponds to the JSON property `itunesConnectAnalytics`
# @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics]
attr_accessor :itunes_connect_analytics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics)
@itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics)
end
end
# Android related attributes to the Dynamic Link.
class AndroidInfo
include Google::Apis::Core::Hashable
# Link to open on Android if the app is not installed.
# Corresponds to the JSON property `androidFallbackLink`
# @return [String]
attr_accessor :android_fallback_link
# If specified, this overrides the ‘link’ parameter on Android.
# Corresponds to the JSON property `androidLink`
# @return [String]
attr_accessor :android_link
# 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`
# @return [String]
attr_accessor :android_min_package_version_code
# Android package name of the app.
# Corresponds to the JSON property `androidPackageName`
# @return [String]
attr_accessor :android_package_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link)
@android_link = args[:android_link] if args.key?(:android_link)
@android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
@android_package_name = args[:android_package_name] if args.key?(:android_package_name)
end
end
# Request to create a short Dynamic Link.
class CreateShortDynamicLinkRequest
include Google::Apis::Core::Hashable
# Information about a Dynamic Link.
# Corresponds to the JSON property `dynamicLinkInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
attr_accessor :dynamic_link_info
# Full long Dynamic Link URL with desired query parameters specified.
# For example,
# "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
# [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-
# dynamic-link-programmatically).
# Corresponds to the JSON property `longDynamicLink`
# @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)
@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
# Response to create a short Dynamic Link.
class CreateShortDynamicLinkResponse
include Google::Apis::Core::Hashable
# Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
# Corresponds to the JSON property `shortLink`
# @return [String]
attr_accessor :short_link
# Preivew link to show the link flow chart.
# Corresponds to the JSON property `previewLink`
# @return [String]
attr_accessor :preview_link
# Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
# Corresponds to the JSON property `shortLink`
# @return [String]
attr_accessor :short_link
# Information about potential warnings on link creation.
# Corresponds to the JSON property `warning`
# @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
@@ -47,20 +147,30 @@ module Google
# Update properties of this object
def update!(**args)
@short_link = args[:short_link] if args.key?(:short_link)
@preview_link = args[:preview_link] if args.key?(:preview_link)
@short_link = args[:short_link] if args.key?(:short_link)
@warning = args[:warning] if args.key?(:warning)
end
end
# Short Dynamic Link suffix.
class Suffix
# Dynamic Link event stat.
class DynamicLinkEventStat
include Google::Apis::Core::Hashable
# Suffix option.
# Corresponds to the JSON property `option`
# The number of times this event occurred.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# Link event.
# Corresponds to the JSON property `event`
# @return [String]
attr_accessor :option
attr_accessor :event
# Requested platform.
# Corresponds to the JSON property `platform`
# @return [String]
attr_accessor :platform
def initialize(**args)
update!(**args)
@@ -68,64 +178,9 @@ module Google
# Update properties of this object
def update!(**args)
@option = args[:option] if args.key?(:option)
end
end
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)
class GooglePlayAnalytics
include Google::Apis::Core::Hashable
# Campaign source; used to identify a search engine, newsletter, or other
# source.
# Corresponds to the JSON property `utmSource`
# @return [String]
attr_accessor :utm_source
# [AdWords autotagging parameter](https://support.google.com/analytics/answer/
# 1033981?hl=en);
# used to measure Google AdWords ads. This value is generated dynamically
# and should never be modified.
# Corresponds to the JSON property `gclid`
# @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`
# @return [String]
attr_accessor :utm_content
# Campaign medium; used to identify a medium such as email or cost-per-click.
# Corresponds to the JSON property `utmMedium`
# @return [String]
attr_accessor :utm_medium
# Campaign term; used with paid search to supply the keywords for ads.
# Corresponds to the JSON property `utmTerm`
# @return [String]
attr_accessor :utm_term
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@utm_source = args[:utm_source] if args.key?(:utm_source)
@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)
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
@utm_term = args[:utm_term] if args.key?(:utm_term)
@count = args[:count] if args.key?(:count)
@event = args[:event] if args.key?(:event)
@platform = args[:platform] if args.key?(:platform)
end
end
@@ -133,6 +188,29 @@ module Google
class DynamicLinkInfo
include Google::Apis::Core::Hashable
# Tracking parameters supported by Dynamic Link.
# Corresponds to the JSON property `analyticsInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo]
attr_accessor :analytics_info
# Android related attributes to the Dynamic Link.
# Corresponds to the JSON property `androidInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo]
attr_accessor :android_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
# iOS related attributes to the Dynamic Link..
# Corresponds to the JSON property `iosInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::IosInfo]
attr_accessor :ios_info
# 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
@@ -143,10 +221,10 @@ module Google
# @return [String]
attr_accessor :link
# iOS related attributes to the Dynamic Link..
# Corresponds to the JSON property `iosInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::IosInfo]
attr_accessor :ios_info
# Information of navigation behavior.
# Corresponds to the JSON property `navigationInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo]
attr_accessor :navigation_info
# Parameters for social meta tag params.
# Used to set meta tag data for link previews on social sites.
@@ -154,113 +232,19 @@ module Google
# @return [Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo]
attr_accessor :social_meta_tag_info
# Android related attributes to the Dynamic Link.
# Corresponds to the JSON property `androidInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo]
attr_accessor :android_info
# Information of navigation behavior.
# Corresponds to the JSON property `navigationInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo]
attr_accessor :navigation_info
# Tracking parameters supported by Dynamic Link.
# Corresponds to the JSON property `analyticsInfo`
# @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
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@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)
@android_info = args[:android_info] if args.key?(:android_info)
@dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
end
end
# Parameters for iTunes Connect App Analytics.
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
# iTune media types, including music, podcasts, audiobooks and so on.
# Corresponds to the JSON property `mt`
# @return [String]
attr_accessor :mt
# 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`
# @return [String]
attr_accessor :ct
# Provider token that enables analytics for Dynamic Links from within iTunes
# Connect.
# Corresponds to the JSON property `pt`
# @return [String]
attr_accessor :pt
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@at = args[:at] if args.key?(:at)
@mt = args[:mt] if args.key?(:mt)
@ct = args[:ct] if args.key?(:ct)
@pt = args[:pt] if args.key?(:pt)
end
end
# Parameters for social meta tag params.
# Used to set meta tag data for link previews on social sites.
class SocialMetaTagInfo
include Google::Apis::Core::Hashable
# An image url string. Optional.
# Corresponds to the JSON property `socialImageLink`
# @return [String]
attr_accessor :social_image_link
# Title to be displayed. Optional.
# Corresponds to the JSON property `socialTitle`
# @return [String]
attr_accessor :social_title
# 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_image_link = args[:social_image_link] if args.key?(:social_image_link)
@social_title = args[:social_title] if args.key?(:social_title)
@social_description = args[:social_description] if args.key?(:social_description)
@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
end
@@ -287,51 +271,74 @@ module Google
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
# The document describing the warning, and helps resolve.
# Corresponds to the JSON property `warningDocumentLink`
# @return [String]
attr_accessor :warning_document_link
# 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_message = args[:warning_message] if args.key?(:warning_message)
@warning_code = args[:warning_code] if args.key?(:warning_code)
@warning_document_link = args[:warning_document_link] if args.key?(:warning_document_link)
@warning_message = args[:warning_message] if args.key?(:warning_message)
end
end
# Android related attributes to the Dynamic Link.
class AndroidInfo
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)
class GooglePlayAnalytics
include Google::Apis::Core::Hashable
# Link to open on Android if the app is not installed.
# Corresponds to the JSON property `androidFallbackLink`
# [AdWords autotagging parameter](https://support.google.com/analytics/answer/
# 1033981?hl=en);
# used to measure Google AdWords ads. This value is generated dynamically
# and should never be modified.
# Corresponds to the JSON property `gclid`
# @return [String]
attr_accessor :android_fallback_link
attr_accessor :gclid
# Android package name of the app.
# Corresponds to the JSON property `androidPackageName`
# 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 :android_package_name
attr_accessor :utm_campaign
# 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`
# 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`
# @return [String]
attr_accessor :android_min_package_version_code
attr_accessor :utm_content
# If specified, this overrides the ‘link’ parameter on Android.
# Corresponds to the JSON property `androidLink`
# Campaign medium; used to identify a medium such as email or cost-per-click.
# Corresponds to the JSON property `utmMedium`
# @return [String]
attr_accessor :android_link
attr_accessor :utm_medium
# Campaign source; used to identify a search engine, newsletter, or other
# source.
# Corresponds to the JSON property `utmSource`
# @return [String]
attr_accessor :utm_source
# Campaign term; used with paid search to supply the keywords for ads.
# Corresponds to the JSON property `utmTerm`
# @return [String]
attr_accessor :utm_term
def initialize(**args)
update!(**args)
@@ -339,10 +346,102 @@ module Google
# Update properties of this object
def update!(**args)
@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)
@android_link = args[:android_link] if args.key?(:android_link)
@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)
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
@utm_source = args[:utm_source] if args.key?(:utm_source)
@utm_term = args[:utm_term] if args.key?(:utm_term)
end
end
# Parameters for iTunes Connect App Analytics.
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`
# @return [String]
attr_accessor :ct
# iTune media types, including music, podcasts, audiobooks and so on.
# Corresponds to the JSON property `mt`
# @return [String]
attr_accessor :mt
# Provider token that enables analytics for Dynamic Links from within iTunes
# Connect.
# Corresponds to the JSON property `pt`
# @return [String]
attr_accessor :pt
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)
end
end
# iOS related attributes to the Dynamic Link..
class IosInfo
include Google::Apis::Core::Hashable
# iOS App Store ID.
# Corresponds to the JSON property `iosAppStoreId`
# @return [String]
attr_accessor :ios_app_store_id
# iOS bundle ID of the app.
# Corresponds to the JSON property `iosBundleId`
# @return [String]
attr_accessor :ios_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
# Link to open on iOS if the app is not installed.
# Corresponds to the JSON property `iosFallbackLink`
# @return [String]
attr_accessor :ios_fallback_link
# iPad bundle ID of the app.
# Corresponds to the JSON property `iosIpadBundleId`
# @return [String]
attr_accessor :ios_ipad_bundle_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
def initialize(**args)
update!(**args)
end
# Update properties of this object
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
end
@@ -367,41 +466,25 @@ module Google
end
end
# iOS related attributes to the Dynamic Link..
class IosInfo
# Parameters for social meta tag params.
# Used to set meta tag data for link previews on social sites.
class SocialMetaTagInfo
include Google::Apis::Core::Hashable
# Link to open on iOS if the app is not installed.
# Corresponds to the JSON property `iosFallbackLink`
# A short description of the link. Optional.
# Corresponds to the JSON property `socialDescription`
# @return [String]
attr_accessor :ios_fallback_link
attr_accessor :social_description
# iOS App Store ID.
# Corresponds to the JSON property `iosAppStoreId`
# An image url string. Optional.
# Corresponds to the JSON property `socialImageLink`
# @return [String]
attr_accessor :ios_app_store_id
attr_accessor :social_image_link
# If specified, this overrides the ios_fallback_link value on iPads.
# Corresponds to the JSON property `iosIpadFallbackLink`
# Title to be displayed. Optional.
# Corresponds to the JSON property `socialTitle`
# @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
attr_accessor :social_title
def initialize(**args)
update!(**args)
@@ -409,30 +492,20 @@ module Google
# Update properties of this object
def update!(**args)
@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)
@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)
@social_description = args[:social_description] if args.key?(:social_description)
@social_image_link = args[:social_image_link] if args.key?(:social_image_link)
@social_title = args[:social_title] if args.key?(:social_title)
end
end
# Tracking parameters supported by Dynamic Link.
class AnalyticsInfo
# Short Dynamic Link suffix.
class Suffix
include Google::Apis::Core::Hashable
# Parameters for iTunes Connect App Analytics.
# Corresponds to the JSON property `itunesConnectAnalytics`
# @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics]
attr_accessor :itunes_connect_analytics
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)
# Corresponds to the JSON property `googlePlayAnalytics`
# @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics]
attr_accessor :google_play_analytics
# Suffix option.
# Corresponds to the JSON property `option`
# @return [String]
attr_accessor :option
def initialize(**args)
update!(**args)
@@ -440,74 +513,7 @@ module Google
# Update properties of this object
def update!(**args)
@itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics)
@google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics)
end
end
# Request to create a short Dynamic Link.
class CreateShortDynamicLinkRequest
include Google::Apis::Core::Hashable
# Full long Dynamic Link URL with desired query parameters specified.
# For example,
# "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
# [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-
# dynamic-link-programmatically).
# Corresponds to the JSON property `longDynamicLink`
# @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
# Information about a Dynamic Link.
# Corresponds to the JSON property `dynamicLinkInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
attr_accessor :dynamic_link_info
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link)
@suffix = args[:suffix] if args.key?(:suffix)
@dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info)
end
end
# Dynamic Link event stat.
class DynamicLinkEventStat
include Google::Apis::Core::Hashable
# Requested platform.
# Corresponds to the JSON property `platform`
# @return [String]
attr_accessor :platform
# The number of times this event occurred.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# Link event.
# Corresponds to the JSON property `event`
# @return [String]
attr_accessor :event
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@platform = args[:platform] if args.key?(:platform)
@count = args[:count] if args.key?(:count)
@event = args[:event] if args.key?(:event)
@option = args[:option] if args.key?(:option)
end
end
end
@@ -22,19 +22,31 @@ module Google
module Apis
module FirebasedynamiclinksV1
class AnalyticsInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AndroidInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateShortDynamicLinkRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateShortDynamicLinkResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Suffix
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePlayAnalytics
class DynamicLinkEventStat
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -46,18 +58,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ITunesConnectAnalytics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SocialMetaTagInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DynamicLinkStats
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -70,13 +70,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AndroidInfo
class GooglePlayAnalytics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NavigationInfo
class ITunesConnectAnalytics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -88,87 +88,89 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AnalyticsInfo
class NavigationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SocialMetaTagInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Suffix
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnalyticsInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation
property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation
end
end
class AndroidInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_fallback_link, as: 'androidFallbackLink'
property :android_link, as: 'androidLink'
property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
property :android_package_name, as: 'androidPackageName'
end
end
class CreateShortDynamicLinkRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
include Google::Apis::Core::JsonObjectSupport
end
property :long_dynamic_link, as: 'longDynamicLink'
property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
class DynamicLinkEventStat
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
end
class CreateShortDynamicLinkResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :short_link, as: 'shortLink'
property :preview_link, as: 'previewLink'
property :short_link, as: 'shortLink'
collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
end
end
class Suffix
class DynamicLinkEventStat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :option, as: 'option'
end
end
class GooglePlayAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :utm_source, as: 'utmSource'
property :gclid, as: 'gclid'
property :utm_campaign, as: 'utmCampaign'
property :utm_content, as: 'utmContent'
property :utm_medium, as: 'utmMedium'
property :utm_term, as: 'utmTerm'
property :count, :numeric_string => true, as: 'count'
property :event, as: 'event'
property :platform, as: 'platform'
end
end
class DynamicLinkInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
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
property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation
property :dynamic_link_domain, as: 'dynamicLinkDomain'
property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
property :link, as: 'link'
property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation
property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
property :dynamic_link_domain, as: 'dynamicLinkDomain'
end
end
class ITunesConnectAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :at, as: 'at'
property :mt, as: 'mt'
property :ct, as: 'ct'
property :pt, as: 'pt'
end
end
class SocialMetaTagInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :social_image_link, as: 'socialImageLink'
property :social_title, as: 'socialTitle'
property :social_description, as: 'socialDescription'
end
end
@@ -183,18 +185,43 @@ module Google
class DynamicLinkWarning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :warning_message, as: 'warningMessage'
property :warning_code, as: 'warningCode'
property :warning_document_link, as: 'warningDocumentLink'
property :warning_message, as: 'warningMessage'
end
end
class AndroidInfo
class GooglePlayAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_fallback_link, as: 'androidFallbackLink'
property :android_package_name, as: 'androidPackageName'
property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
property :android_link, as: 'androidLink'
property :gclid, as: 'gclid'
property :utm_campaign, as: 'utmCampaign'
property :utm_content, as: 'utmContent'
property :utm_medium, as: 'utmMedium'
property :utm_source, as: 'utmSource'
property :utm_term, as: 'utmTerm'
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'
end
end
class IosInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ios_app_store_id, as: 'iosAppStoreId'
property :ios_bundle_id, as: 'iosBundleId'
property :ios_custom_scheme, as: 'iosCustomScheme'
property :ios_fallback_link, as: 'iosFallbackLink'
property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
end
end
@@ -205,45 +232,19 @@ module Google
end
end
class IosInfo
class SocialMetaTagInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
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'
property :ios_custom_scheme, as: 'iosCustomScheme'
property :ios_bundle_id, as: 'iosBundleId'
property :social_description, as: 'socialDescription'
property :social_image_link, as: 'socialImageLink'
property :social_title, as: 'socialTitle'
end
end
class AnalyticsInfo
class Suffix
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation
property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation
end
end
class CreateShortDynamicLinkRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :long_dynamic_link, as: 'longDynamicLink'
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
end
end
class DynamicLinkEventStat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :platform, as: 'platform'
property :count, :numeric_string => true, as: 'count'
property :event, as: 'event'
property :option, as: 'option'
end
end
end
@@ -43,7 +43,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://firebasedynamiclinks.googleapis.com/', '')
super('https://firebasedynamiclinks-ipv6.googleapis.com/', '')
@batch_path = 'batch'
end