Autogenerated update (2018-09-01)

Update:
- adexchangebuyer2_v2beta1
- firebasedynamiclinks_v1
- testing_v1
This commit is contained in:
Google APIs 2018-09-01 00:36:36 +00:00
parent ae3634f2ee
commit d3debab5f6
7 changed files with 160 additions and 3 deletions

View File

@ -61509,6 +61509,16 @@
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmCampaign": utm_campaign
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmMedium": utm_medium
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmSource": utm_source
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest": get_ios_reopen_attribution_request
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/bundleId": bundle_id
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/requestedLink": requested_link
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse": get_ios_reopen_attribution_response
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/deepLink": deep_link
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/invitationId": invitation_id
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/resolvedLink": resolved_link
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmCampaign": utm_campaign
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmMedium": utm_medium
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmSource": utm_source
"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics
"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid
"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20180820'
REVISION = '20180830'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1
VERSION = 'V1'
REVISION = '20180614'
REVISION = '20180830'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -652,6 +652,91 @@ module Google
end
end
# Request for iSDK to get reopen attribution for app universal link open
# deeplinking. This endpoint is meant for only iOS requests.
class GetIosReopenAttributionRequest
include Google::Apis::Core::Hashable
# APP bundle ID.
# Corresponds to the JSON property `bundleId`
# @return [String]
attr_accessor :bundle_id
# FDL link to be verified from an app universal link open.
# The FDL link can be one of:
# 1) short FDL.
# e.g. <app_code>.page.link/<ddl_id>, or
# 2) long FDL.
# e.g. <app_code>.page.link/?`query params`, or
# 3) Invite FDL.
# e.g. <app_code>.page.link/i/<invite_id_or_alias>
# Corresponds to the JSON property `requestedLink`
# @return [String]
attr_accessor :requested_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
@requested_link = args[:requested_link] if args.key?(:requested_link)
end
end
# Response for iSDK to get reopen attribution for app universal link open
# deeplinking. This endpoint is meant for only iOS requests.
class GetIosReopenAttributionResponse
include Google::Apis::Core::Hashable
# The deep-link attributed the app universal link open. For both regular
# FDL links and invite FDL links.
# Corresponds to the JSON property `deepLink`
# @return [String]
attr_accessor :deep_link
# Optional invitation ID, for only invite typed requested FDL links.
# Corresponds to the JSON property `invitationId`
# @return [String]
attr_accessor :invitation_id
# The entire FDL, expanded from a short link. It is the same as the
# requested_link, if it is long.
# Corresponds to the JSON property `resolvedLink`
# @return [String]
attr_accessor :resolved_link
# Scion campaign value to be propagated by iSDK to Scion at app-reopen.
# Corresponds to the JSON property `utmCampaign`
# @return [String]
attr_accessor :utm_campaign
# Scion medium value to be propagated by iSDK to Scion at app-reopen.
# Corresponds to the JSON property `utmMedium`
# @return [String]
attr_accessor :utm_medium
# Scion source value to be propagated by iSDK to Scion at app-reopen.
# Corresponds to the JSON property `utmSource`
# @return [String]
attr_accessor :utm_source
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deep_link = args[:deep_link] if args.key?(:deep_link)
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
@utm_source = args[:utm_source] if args.key?(:utm_source)
end
end
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)

View File

@ -106,6 +106,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GetIosReopenAttributionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetIosReopenAttributionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePlayAnalytics
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -314,6 +326,26 @@ module Google
end
end
class GetIosReopenAttributionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bundle_id, as: 'bundleId'
property :requested_link, as: 'requestedLink'
end
end
class GetIosReopenAttributionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deep_link, as: 'deepLink'
property :invitation_id, as: 'invitationId'
property :resolved_link, as: 'resolvedLink'
property :utm_campaign, as: 'utmCampaign'
property :utm_medium, as: 'utmMedium'
property :utm_source, as: 'utmSource'
end
end
class GooglePlayAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -187,6 +187,36 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Get iOS reopen attribution for app universal link open deeplinking.
# @param [Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionRequest] get_ios_reopen_attribution_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reopen_attribution(get_ios_reopen_attribution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/reopenAttribution', options)
command.request_representation = Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionRequest::Representation
command.request_object = get_ios_reopen_attribution_request_object
command.response_representation = Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionResponse::Representation
command.response_class = Google::Apis::FirebasedynamiclinksV1::GetIosReopenAttributionResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20180822'
REVISION = '20180830'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'