From d3debab5f60aaeeabb77c0730c4af83cdbc72bc1 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 1 Sep 2018 00:36:36 +0000 Subject: [PATCH] Autogenerated update (2018-09-01) Update: - adexchangebuyer2_v2beta1 - firebasedynamiclinks_v1 - testing_v1 --- api_names_out.yaml | 10 +++ .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../google/apis/firebasedynamiclinks_v1.rb | 2 +- .../apis/firebasedynamiclinks_v1/classes.rb | 85 +++++++++++++++++++ .../representations.rb | 32 +++++++ .../apis/firebasedynamiclinks_v1/service.rb | 30 +++++++ generated/google/apis/testing_v1.rb | 2 +- 7 files changed, 160 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 95a3cd8ed..b55a45a78 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 68f901731..5ac0374ff 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -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' diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index e6c372af2..b853713bc 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -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' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index f232b5633..ab13b544d 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -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. .page.link/, or + # 2) long FDL. + # e.g. .page.link/?`query params`, or + # 3) Invite FDL. + # e.g. .page.link/i/ + # 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) diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index 1f71f0436..8a2ebcb61 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -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 diff --git a/generated/google/apis/firebasedynamiclinks_v1/service.rb b/generated/google/apis/firebasedynamiclinks_v1/service.rb index 28e9113c3..d1b992db3 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/service.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/service.rb @@ -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 diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 89f558655..771ac9bbf 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -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'