google-apis-firebasedynamiclinks_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module FirebasedynamiclinksV1
18
+ # Version of the google-apis-firebasedynamiclinks_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20200905"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,430 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module FirebasedynamiclinksV1
24
+
25
+ class AnalyticsInfo
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AndroidInfo
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CreateManagedShortLinkRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CreateManagedShortLinkResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CreateShortDynamicLinkRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CreateShortDynamicLinkResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DesktopInfo
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DeviceInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DynamicLinkEventStat
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DynamicLinkInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DynamicLinkStats
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DynamicLinkWarning
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GetIosPostInstallAttributionRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GetIosPostInstallAttributionResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GetIosReopenAttributionRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GetIosReopenAttributionResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GooglePlayAnalytics
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ITunesConnectAnalytics
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class IosInfo
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ManagedShortLink
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class NavigationInfo
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class SocialMetaTagInfo
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Suffix
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class AnalyticsInfo
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation
167
+
168
+ property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation
169
+
170
+ end
171
+ end
172
+
173
+ class AndroidInfo
174
+ # @private
175
+ class Representation < Google::Apis::Core::JsonRepresentation
176
+ property :android_fallback_link, as: 'androidFallbackLink'
177
+ property :android_link, as: 'androidLink'
178
+ property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
179
+ property :android_package_name, as: 'androidPackageName'
180
+ end
181
+ end
182
+
183
+ class CreateManagedShortLinkRequest
184
+ # @private
185
+ class Representation < Google::Apis::Core::JsonRepresentation
186
+ property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
187
+
188
+ property :long_dynamic_link, as: 'longDynamicLink'
189
+ property :name, as: 'name'
190
+ property :sdk_version, as: 'sdkVersion'
191
+ property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
192
+
193
+ end
194
+ end
195
+
196
+ class CreateManagedShortLinkResponse
197
+ # @private
198
+ class Representation < Google::Apis::Core::JsonRepresentation
199
+ property :managed_short_link, as: 'managedShortLink', class: Google::Apis::FirebasedynamiclinksV1::ManagedShortLink, decorator: Google::Apis::FirebasedynamiclinksV1::ManagedShortLink::Representation
200
+
201
+ property :preview_link, as: 'previewLink'
202
+ collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
203
+
204
+ end
205
+ end
206
+
207
+ class CreateShortDynamicLinkRequest
208
+ # @private
209
+ class Representation < Google::Apis::Core::JsonRepresentation
210
+ property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
211
+
212
+ property :long_dynamic_link, as: 'longDynamicLink'
213
+ property :sdk_version, as: 'sdkVersion'
214
+ property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
215
+
216
+ end
217
+ end
218
+
219
+ class CreateShortDynamicLinkResponse
220
+ # @private
221
+ class Representation < Google::Apis::Core::JsonRepresentation
222
+ property :preview_link, as: 'previewLink'
223
+ property :short_link, as: 'shortLink'
224
+ collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
225
+
226
+ end
227
+ end
228
+
229
+ class DesktopInfo
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :desktop_fallback_link, as: 'desktopFallbackLink'
233
+ end
234
+ end
235
+
236
+ class DeviceInfo
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :device_model_name, as: 'deviceModelName'
240
+ property :language_code, as: 'languageCode'
241
+ property :language_code_from_webview, as: 'languageCodeFromWebview'
242
+ property :language_code_raw, as: 'languageCodeRaw'
243
+ property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
244
+ property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
245
+ property :timezone, as: 'timezone'
246
+ end
247
+ end
248
+
249
+ class DynamicLinkEventStat
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ property :count, :numeric_string => true, as: 'count'
253
+ property :event, as: 'event'
254
+ property :platform, as: 'platform'
255
+ end
256
+ end
257
+
258
+ class DynamicLinkInfo
259
+ # @private
260
+ class Representation < Google::Apis::Core::JsonRepresentation
261
+ property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
262
+
263
+ property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation
264
+
265
+ property :desktop_info, as: 'desktopInfo', class: Google::Apis::FirebasedynamiclinksV1::DesktopInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DesktopInfo::Representation
266
+
267
+ property :domain_uri_prefix, as: 'domainUriPrefix'
268
+ property :dynamic_link_domain, as: 'dynamicLinkDomain'
269
+ property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
270
+
271
+ property :link, as: 'link'
272
+ property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation
273
+
274
+ property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
275
+
276
+ end
277
+ end
278
+
279
+ class DynamicLinkStats
280
+ # @private
281
+ class Representation < Google::Apis::Core::JsonRepresentation
282
+ collection :link_event_stats, as: 'linkEventStats', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat::Representation
283
+
284
+ end
285
+ end
286
+
287
+ class DynamicLinkWarning
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :warning_code, as: 'warningCode'
291
+ property :warning_document_link, as: 'warningDocumentLink'
292
+ property :warning_message, as: 'warningMessage'
293
+ end
294
+ end
295
+
296
+ class GetIosPostInstallAttributionRequest
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :app_installation_time, :numeric_string => true, as: 'appInstallationTime'
300
+ property :bundle_id, as: 'bundleId'
301
+ property :device, as: 'device', class: Google::Apis::FirebasedynamiclinksV1::DeviceInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DeviceInfo::Representation
302
+
303
+ property :ios_version, as: 'iosVersion'
304
+ property :retrieval_method, as: 'retrievalMethod'
305
+ property :sdk_version, as: 'sdkVersion'
306
+ property :unique_match_link_to_check, as: 'uniqueMatchLinkToCheck'
307
+ property :visual_style, as: 'visualStyle'
308
+ end
309
+ end
310
+
311
+ class GetIosPostInstallAttributionResponse
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ property :app_minimum_version, as: 'appMinimumVersion'
315
+ property :attribution_confidence, as: 'attributionConfidence'
316
+ property :deep_link, as: 'deepLink'
317
+ property :external_browser_destination_link, as: 'externalBrowserDestinationLink'
318
+ property :fallback_link, as: 'fallbackLink'
319
+ property :invitation_id, as: 'invitationId'
320
+ property :is_strong_match_executable, as: 'isStrongMatchExecutable'
321
+ property :match_message, as: 'matchMessage'
322
+ property :request_ip_version, as: 'requestIpVersion'
323
+ property :requested_link, as: 'requestedLink'
324
+ property :resolved_link, as: 'resolvedLink'
325
+ property :utm_campaign, as: 'utmCampaign'
326
+ property :utm_content, as: 'utmContent'
327
+ property :utm_medium, as: 'utmMedium'
328
+ property :utm_source, as: 'utmSource'
329
+ property :utm_term, as: 'utmTerm'
330
+ end
331
+ end
332
+
333
+ class GetIosReopenAttributionRequest
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :bundle_id, as: 'bundleId'
337
+ property :requested_link, as: 'requestedLink'
338
+ property :sdk_version, as: 'sdkVersion'
339
+ end
340
+ end
341
+
342
+ class GetIosReopenAttributionResponse
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :deep_link, as: 'deepLink'
346
+ property :invitation_id, as: 'invitationId'
347
+ property :ios_min_app_version, as: 'iosMinAppVersion'
348
+ property :resolved_link, as: 'resolvedLink'
349
+ property :utm_campaign, as: 'utmCampaign'
350
+ property :utm_content, as: 'utmContent'
351
+ property :utm_medium, as: 'utmMedium'
352
+ property :utm_source, as: 'utmSource'
353
+ property :utm_term, as: 'utmTerm'
354
+ end
355
+ end
356
+
357
+ class GooglePlayAnalytics
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :gclid, as: 'gclid'
361
+ property :utm_campaign, as: 'utmCampaign'
362
+ property :utm_content, as: 'utmContent'
363
+ property :utm_medium, as: 'utmMedium'
364
+ property :utm_source, as: 'utmSource'
365
+ property :utm_term, as: 'utmTerm'
366
+ end
367
+ end
368
+
369
+ class ITunesConnectAnalytics
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :at, as: 'at'
373
+ property :ct, as: 'ct'
374
+ property :mt, as: 'mt'
375
+ property :pt, as: 'pt'
376
+ end
377
+ end
378
+
379
+ class IosInfo
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :ios_app_store_id, as: 'iosAppStoreId'
383
+ property :ios_bundle_id, as: 'iosBundleId'
384
+ property :ios_custom_scheme, as: 'iosCustomScheme'
385
+ property :ios_fallback_link, as: 'iosFallbackLink'
386
+ property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
387
+ property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
388
+ property :ios_minimum_version, as: 'iosMinimumVersion'
389
+ end
390
+ end
391
+
392
+ class ManagedShortLink
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :creation_time, as: 'creationTime'
396
+ collection :flagged_attribute, as: 'flaggedAttribute'
397
+ property :info, as: 'info', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
398
+
399
+ property :link, as: 'link'
400
+ property :link_name, as: 'linkName'
401
+ property :visibility, as: 'visibility'
402
+ end
403
+ end
404
+
405
+ class NavigationInfo
406
+ # @private
407
+ class Representation < Google::Apis::Core::JsonRepresentation
408
+ property :enable_forced_redirect, as: 'enableForcedRedirect'
409
+ end
410
+ end
411
+
412
+ class SocialMetaTagInfo
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :social_description, as: 'socialDescription'
416
+ property :social_image_link, as: 'socialImageLink'
417
+ property :social_title, as: 'socialTitle'
418
+ end
419
+ end
420
+
421
+ class Suffix
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :custom_suffix, as: 'customSuffix'
425
+ property :option, as: 'option'
426
+ end
427
+ end
428
+ end
429
+ end
430
+ end