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,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 16f0375084e7c56020300fb67788b8ba844ef4488eebcacba98f46289d99c417
4
+ data.tar.gz: d3a478830129e73927de8673ac2ade0ced95e157d3cd44aa9b4dd62b6066000b
5
+ SHA512:
6
+ metadata.gz: 2ff5d259efe21cd94f70c0a5960eda69ff1f53e1d3d9c433962be59d00e73eebeb84c4a52a920cde22bce16dc1529e72bd30ef0f76fdc87050b7b7407444be00
7
+ data.tar.gz: d7c4ba76e2bf25b68efa18d4514b6f951a3c83244025dd3d2ec99a509bfe1006851f9d3063e48b127fb4bb58018e9747c52c78f0e5fb18c6e9899c812d4d0800
@@ -0,0 +1,13 @@
1
+ --hide-void-return
2
+ --no-private
3
+ --verbose
4
+ --title=google-apis-firebasedynamiclinks_v1
5
+ --markup-provider=redcarpet
6
+ --markup=markdown
7
+ --main OVERVIEW.md
8
+ lib/google/apis/firebasedynamiclinks_v1/*.rb
9
+ lib/google/apis/firebasedynamiclinks_v1.rb
10
+ -
11
+ OVERVIEW.md
12
+ CHANGELOG.md
13
+ LICENSE.md
@@ -0,0 +1,7 @@
1
+ # Release history for google-apis-firebasedynamiclinks_v1
2
+
3
+ ### v0.1.0 (2021-01-07)
4
+
5
+ * Regenerated using generator version 0.1.1
6
+ * Regenerated from discovery document revision 20200905
7
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,96 @@
1
+ # Simple REST client for version V1 of the Firebase Dynamic Links API
2
+
3
+ This is a simple client library for version V1 of the Firebase Dynamic Links API. It provides:
4
+
5
+ * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
+ * Ruby objects for data structures related to the service.
7
+ * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts.
8
+ * Control of retry, pagination, and timeouts.
9
+
10
+ Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information.
11
+
12
+ ## Getting started
13
+
14
+ ### Before you begin
15
+
16
+ There are a few setup steps you need to complete before you can use this library:
17
+
18
+ 1. If you don't already have a Google account, [sign up](https://www.google.com/accounts).
19
+ 2. If you have never created a Google APIs Console project, read about [Managing Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and create a project in the [Google API Console](https://console.cloud.google.com/).
20
+ 3. Most APIs need to be enabled for your project. [Enable it](https://console.cloud.google.com/apis/library/firebasedynamiclinks.googleapis.com) in the console.
21
+
22
+ ### Installation
23
+
24
+ Add this line to your application's Gemfile:
25
+
26
+ ```ruby
27
+ gem 'google-apis-firebasedynamiclinks_v1', '~> 0.1'
28
+ ```
29
+
30
+ And then execute:
31
+
32
+ ```
33
+ $ bundle
34
+ ```
35
+
36
+ Or install it yourself as:
37
+
38
+ ```
39
+ $ gem install google-apis-firebasedynamiclinks_v1
40
+ ```
41
+
42
+ ### Creating a client object
43
+
44
+ Once the gem is installed, you can load the client code and instantiate a client.
45
+
46
+ ```ruby
47
+ # Load the client
48
+ require "google/apis/firebasedynamiclinks_v1"
49
+
50
+ # Create a client object
51
+ client = Google::Apis::FirebasedynamiclinksV1::FirebaseDynamicLinksService.new
52
+
53
+ # Authenticate calls
54
+ client.authentication = # ... use the googleauth gem to create credentials
55
+ ```
56
+
57
+ See the class reference docs for information on the methods you can call from a client.
58
+
59
+ ## Documentation
60
+
61
+ More detailed descriptions of the Google simple REST clients are available in two documents.
62
+
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
+
66
+ (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Firebasedynamiclinks service in particular.)
67
+
68
+ For reference information on specific calls in the Firebase Dynamic Links API, see the {Google::Apis::FirebasedynamiclinksV1::FirebaseDynamicLinksService class reference docs}.
69
+
70
+ ## Which client should I use?
71
+
72
+ Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**.
73
+
74
+ This library, `google-apis-firebasedynamiclinks_v1`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
75
+
76
+ Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients.
77
+
78
+ Gem names for modern clients are often of the form `google-cloud-<service_name>`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud-<service_name>-<version>`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended.
79
+
80
+ **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
+
82
+ The [product documentation](https://firebase.google.com/docs/dynamic-links/) may provide guidance regarding the preferred client library to use.
83
+
84
+ ## Supported Ruby versions
85
+
86
+ This library is supported on Ruby 2.5+.
87
+
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
+
90
+ ## License
91
+
92
+ This library is licensed under Apache 2.0. Full license text is available in the {file:LICENSE.md LICENSE}.
93
+
94
+ ## Support
95
+
96
+ Please [report bugs at the project on Github](https://github.com/google/google-api-ruby-client/issues). Don't hesitate to [ask questions](http://stackoverflow.com/questions/tagged/google-api-ruby-client) about the client or APIs on [StackOverflow](http://stackoverflow.com).
@@ -0,0 +1,15 @@
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 "google/apis/firebasedynamiclinks_v1"
@@ -0,0 +1,36 @@
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 'google/apis/firebasedynamiclinks_v1/service.rb'
16
+ require 'google/apis/firebasedynamiclinks_v1/classes.rb'
17
+ require 'google/apis/firebasedynamiclinks_v1/representations.rb'
18
+ require 'google/apis/firebasedynamiclinks_v1/gem_version.rb'
19
+
20
+ module Google
21
+ module Apis
22
+ # Firebase Dynamic Links API
23
+ #
24
+ # Programmatically creates and manages Firebase Dynamic Links.
25
+ #
26
+ # @see https://firebase.google.com/docs/dynamic-links/
27
+ module FirebasedynamiclinksV1
28
+ # Version of the Firebase Dynamic Links API this client connects to.
29
+ # This is NOT the gem version.
30
+ VERSION = 'V1'
31
+
32
+ # View and administer all your Firebase data and settings
33
+ AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,1053 @@
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
+ # Tracking parameters supported by Dynamic Link.
26
+ class AnalyticsInfo
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Parameters for Google Play Campaign Measurements. [Learn more](https://
30
+ # developers.google.com/analytics/devguides/collection/android/v4/campaigns#
31
+ # campaign-params)
32
+ # Corresponds to the JSON property `googlePlayAnalytics`
33
+ # @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics]
34
+ attr_accessor :google_play_analytics
35
+
36
+ # Parameters for iTunes Connect App Analytics.
37
+ # Corresponds to the JSON property `itunesConnectAnalytics`
38
+ # @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics]
39
+ attr_accessor :itunes_connect_analytics
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics)
48
+ @itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics)
49
+ end
50
+ end
51
+
52
+ # Android related attributes to the Dynamic Link.
53
+ class AndroidInfo
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Link to open on Android if the app is not installed.
57
+ # Corresponds to the JSON property `androidFallbackLink`
58
+ # @return [String]
59
+ attr_accessor :android_fallback_link
60
+
61
+ # If specified, this overrides the ‘link’ parameter on Android.
62
+ # Corresponds to the JSON property `androidLink`
63
+ # @return [String]
64
+ attr_accessor :android_link
65
+
66
+ # Minimum version code for the Android app. If the installed app’s version code
67
+ # is lower, then the user is taken to the Play Store.
68
+ # Corresponds to the JSON property `androidMinPackageVersionCode`
69
+ # @return [String]
70
+ attr_accessor :android_min_package_version_code
71
+
72
+ # Android package name of the app.
73
+ # Corresponds to the JSON property `androidPackageName`
74
+ # @return [String]
75
+ attr_accessor :android_package_name
76
+
77
+ def initialize(**args)
78
+ update!(**args)
79
+ end
80
+
81
+ # Update properties of this object
82
+ def update!(**args)
83
+ @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link)
84
+ @android_link = args[:android_link] if args.key?(:android_link)
85
+ @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
86
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
87
+ end
88
+ end
89
+
90
+ # Request to create a managed Short Dynamic Link.
91
+ class CreateManagedShortLinkRequest
92
+ include Google::Apis::Core::Hashable
93
+
94
+ # Information about a Dynamic Link.
95
+ # Corresponds to the JSON property `dynamicLinkInfo`
96
+ # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
97
+ attr_accessor :dynamic_link_info
98
+
99
+ # Full long Dynamic Link URL with desired query parameters specified. For
100
+ # example, "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample"
101
+ # , [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
102
+ # shortener).
103
+ # Corresponds to the JSON property `longDynamicLink`
104
+ # @return [String]
105
+ attr_accessor :long_dynamic_link
106
+
107
+ # Link name to associate with the link. It's used for marketer to identify
108
+ # manually-created links in the Firebase console (https://console.firebase.
109
+ # google.com/). Links must be named to be tracked.
110
+ # Corresponds to the JSON property `name`
111
+ # @return [String]
112
+ attr_accessor :name
113
+
114
+ # Google SDK version. Version takes the form "$major.$minor.$patch"
115
+ # Corresponds to the JSON property `sdkVersion`
116
+ # @return [String]
117
+ attr_accessor :sdk_version
118
+
119
+ # Short Dynamic Link suffix.
120
+ # Corresponds to the JSON property `suffix`
121
+ # @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
122
+ attr_accessor :suffix
123
+
124
+ def initialize(**args)
125
+ update!(**args)
126
+ end
127
+
128
+ # Update properties of this object
129
+ def update!(**args)
130
+ @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info)
131
+ @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link)
132
+ @name = args[:name] if args.key?(:name)
133
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
134
+ @suffix = args[:suffix] if args.key?(:suffix)
135
+ end
136
+ end
137
+
138
+ # Response to create a short Dynamic Link.
139
+ class CreateManagedShortLinkResponse
140
+ include Google::Apis::Core::Hashable
141
+
142
+ # Managed Short Link.
143
+ # Corresponds to the JSON property `managedShortLink`
144
+ # @return [Google::Apis::FirebasedynamiclinksV1::ManagedShortLink]
145
+ attr_accessor :managed_short_link
146
+
147
+ # Preview link to show the link flow chart. (debug info.)
148
+ # Corresponds to the JSON property `previewLink`
149
+ # @return [String]
150
+ attr_accessor :preview_link
151
+
152
+ # Information about potential warnings on link creation.
153
+ # Corresponds to the JSON property `warning`
154
+ # @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
155
+ attr_accessor :warning
156
+
157
+ def initialize(**args)
158
+ update!(**args)
159
+ end
160
+
161
+ # Update properties of this object
162
+ def update!(**args)
163
+ @managed_short_link = args[:managed_short_link] if args.key?(:managed_short_link)
164
+ @preview_link = args[:preview_link] if args.key?(:preview_link)
165
+ @warning = args[:warning] if args.key?(:warning)
166
+ end
167
+ end
168
+
169
+ # Request to create a short Dynamic Link.
170
+ class CreateShortDynamicLinkRequest
171
+ include Google::Apis::Core::Hashable
172
+
173
+ # Information about a Dynamic Link.
174
+ # Corresponds to the JSON property `dynamicLinkInfo`
175
+ # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
176
+ attr_accessor :dynamic_link_info
177
+
178
+ # Full long Dynamic Link URL with desired query parameters specified. For
179
+ # example, "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample"
180
+ # , [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
181
+ # shortener).
182
+ # Corresponds to the JSON property `longDynamicLink`
183
+ # @return [String]
184
+ attr_accessor :long_dynamic_link
185
+
186
+ # Google SDK version. Version takes the form "$major.$minor.$patch"
187
+ # Corresponds to the JSON property `sdkVersion`
188
+ # @return [String]
189
+ attr_accessor :sdk_version
190
+
191
+ # Short Dynamic Link suffix.
192
+ # Corresponds to the JSON property `suffix`
193
+ # @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
194
+ attr_accessor :suffix
195
+
196
+ def initialize(**args)
197
+ update!(**args)
198
+ end
199
+
200
+ # Update properties of this object
201
+ def update!(**args)
202
+ @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info)
203
+ @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link)
204
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
205
+ @suffix = args[:suffix] if args.key?(:suffix)
206
+ end
207
+ end
208
+
209
+ # Response to create a short Dynamic Link.
210
+ class CreateShortDynamicLinkResponse
211
+ include Google::Apis::Core::Hashable
212
+
213
+ # Preview link to show the link flow chart. (debug info.)
214
+ # Corresponds to the JSON property `previewLink`
215
+ # @return [String]
216
+ attr_accessor :preview_link
217
+
218
+ # Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
219
+ # Corresponds to the JSON property `shortLink`
220
+ # @return [String]
221
+ attr_accessor :short_link
222
+
223
+ # Information about potential warnings on link creation.
224
+ # Corresponds to the JSON property `warning`
225
+ # @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
226
+ attr_accessor :warning
227
+
228
+ def initialize(**args)
229
+ update!(**args)
230
+ end
231
+
232
+ # Update properties of this object
233
+ def update!(**args)
234
+ @preview_link = args[:preview_link] if args.key?(:preview_link)
235
+ @short_link = args[:short_link] if args.key?(:short_link)
236
+ @warning = args[:warning] if args.key?(:warning)
237
+ end
238
+ end
239
+
240
+ # Desktop related attributes to the Dynamic Link.
241
+ class DesktopInfo
242
+ include Google::Apis::Core::Hashable
243
+
244
+ # Link to open on desktop.
245
+ # Corresponds to the JSON property `desktopFallbackLink`
246
+ # @return [String]
247
+ attr_accessor :desktop_fallback_link
248
+
249
+ def initialize(**args)
250
+ update!(**args)
251
+ end
252
+
253
+ # Update properties of this object
254
+ def update!(**args)
255
+ @desktop_fallback_link = args[:desktop_fallback_link] if args.key?(:desktop_fallback_link)
256
+ end
257
+ end
258
+
259
+ # Signals associated with the device making the request.
260
+ class DeviceInfo
261
+ include Google::Apis::Core::Hashable
262
+
263
+ # Device model name.
264
+ # Corresponds to the JSON property `deviceModelName`
265
+ # @return [String]
266
+ attr_accessor :device_model_name
267
+
268
+ # Device language code setting.
269
+ # Corresponds to the JSON property `languageCode`
270
+ # @return [String]
271
+ attr_accessor :language_code
272
+
273
+ # Device language code setting obtained by executing JavaScript code in WebView.
274
+ # Corresponds to the JSON property `languageCodeFromWebview`
275
+ # @return [String]
276
+ attr_accessor :language_code_from_webview
277
+
278
+ # Device language code raw setting. iOS does returns language code in different
279
+ # format than iOS WebView. For example WebView returns en_US, but iOS returns en-
280
+ # US. Field below will return raw value returned by iOS.
281
+ # Corresponds to the JSON property `languageCodeRaw`
282
+ # @return [String]
283
+ attr_accessor :language_code_raw
284
+
285
+ # Device display resolution height.
286
+ # Corresponds to the JSON property `screenResolutionHeight`
287
+ # @return [Fixnum]
288
+ attr_accessor :screen_resolution_height
289
+
290
+ # Device display resolution width.
291
+ # Corresponds to the JSON property `screenResolutionWidth`
292
+ # @return [Fixnum]
293
+ attr_accessor :screen_resolution_width
294
+
295
+ # Device timezone setting.
296
+ # Corresponds to the JSON property `timezone`
297
+ # @return [String]
298
+ attr_accessor :timezone
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @device_model_name = args[:device_model_name] if args.key?(:device_model_name)
307
+ @language_code = args[:language_code] if args.key?(:language_code)
308
+ @language_code_from_webview = args[:language_code_from_webview] if args.key?(:language_code_from_webview)
309
+ @language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw)
310
+ @screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
311
+ @screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
312
+ @timezone = args[:timezone] if args.key?(:timezone)
313
+ end
314
+ end
315
+
316
+ # Dynamic Link event stat.
317
+ class DynamicLinkEventStat
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # The number of times this event occurred.
321
+ # Corresponds to the JSON property `count`
322
+ # @return [Fixnum]
323
+ attr_accessor :count
324
+
325
+ # Link event.
326
+ # Corresponds to the JSON property `event`
327
+ # @return [String]
328
+ attr_accessor :event
329
+
330
+ # Requested platform.
331
+ # Corresponds to the JSON property `platform`
332
+ # @return [String]
333
+ attr_accessor :platform
334
+
335
+ def initialize(**args)
336
+ update!(**args)
337
+ end
338
+
339
+ # Update properties of this object
340
+ def update!(**args)
341
+ @count = args[:count] if args.key?(:count)
342
+ @event = args[:event] if args.key?(:event)
343
+ @platform = args[:platform] if args.key?(:platform)
344
+ end
345
+ end
346
+
347
+ # Information about a Dynamic Link.
348
+ class DynamicLinkInfo
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # Tracking parameters supported by Dynamic Link.
352
+ # Corresponds to the JSON property `analyticsInfo`
353
+ # @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo]
354
+ attr_accessor :analytics_info
355
+
356
+ # Android related attributes to the Dynamic Link.
357
+ # Corresponds to the JSON property `androidInfo`
358
+ # @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo]
359
+ attr_accessor :android_info
360
+
361
+ # Desktop related attributes to the Dynamic Link.
362
+ # Corresponds to the JSON property `desktopInfo`
363
+ # @return [Google::Apis::FirebasedynamiclinksV1::DesktopInfo]
364
+ attr_accessor :desktop_info
365
+
366
+ # E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps More
367
+ # examples can be found in description of getNormalizedUriPrefix in j/c/g/
368
+ # firebase/dynamiclinks/uri/DdlDomain.java Will fallback to dynamic_link_domain
369
+ # is this field is missing
370
+ # Corresponds to the JSON property `domainUriPrefix`
371
+ # @return [String]
372
+ attr_accessor :domain_uri_prefix
373
+
374
+ # Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl [Learn more](
375
+ # https://firebase.google.com/docs/dynamic-links/android/receive) on how to set
376
+ # up Dynamic Link domain associated with your Firebase project. Required if
377
+ # missing domain_uri_prefix.
378
+ # Corresponds to the JSON property `dynamicLinkDomain`
379
+ # @return [String]
380
+ attr_accessor :dynamic_link_domain
381
+
382
+ # iOS related attributes to the Dynamic Link..
383
+ # Corresponds to the JSON property `iosInfo`
384
+ # @return [Google::Apis::FirebasedynamiclinksV1::IosInfo]
385
+ attr_accessor :ios_info
386
+
387
+ # The link your app will open, You can specify any URL your app can handle. This
388
+ # link must be a well-formatted URL, be properly URL-encoded, and use the HTTP
389
+ # or HTTPS scheme. See 'link' parameters in the [documentation](https://firebase.
390
+ # google.com/docs/dynamic-links/create-manually). Required.
391
+ # Corresponds to the JSON property `link`
392
+ # @return [String]
393
+ attr_accessor :link
394
+
395
+ # Information of navigation behavior.
396
+ # Corresponds to the JSON property `navigationInfo`
397
+ # @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo]
398
+ attr_accessor :navigation_info
399
+
400
+ # Parameters for social meta tag params. Used to set meta tag data for link
401
+ # previews on social sites.
402
+ # Corresponds to the JSON property `socialMetaTagInfo`
403
+ # @return [Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo]
404
+ attr_accessor :social_meta_tag_info
405
+
406
+ def initialize(**args)
407
+ update!(**args)
408
+ end
409
+
410
+ # Update properties of this object
411
+ def update!(**args)
412
+ @analytics_info = args[:analytics_info] if args.key?(:analytics_info)
413
+ @android_info = args[:android_info] if args.key?(:android_info)
414
+ @desktop_info = args[:desktop_info] if args.key?(:desktop_info)
415
+ @domain_uri_prefix = args[:domain_uri_prefix] if args.key?(:domain_uri_prefix)
416
+ @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
417
+ @ios_info = args[:ios_info] if args.key?(:ios_info)
418
+ @link = args[:link] if args.key?(:link)
419
+ @navigation_info = args[:navigation_info] if args.key?(:navigation_info)
420
+ @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info)
421
+ end
422
+ end
423
+
424
+ # Analytics stats of a Dynamic Link for a given timeframe.
425
+ class DynamicLinkStats
426
+ include Google::Apis::Core::Hashable
427
+
428
+ # Dynamic Link event stats.
429
+ # Corresponds to the JSON property `linkEventStats`
430
+ # @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat>]
431
+ attr_accessor :link_event_stats
432
+
433
+ def initialize(**args)
434
+ update!(**args)
435
+ end
436
+
437
+ # Update properties of this object
438
+ def update!(**args)
439
+ @link_event_stats = args[:link_event_stats] if args.key?(:link_event_stats)
440
+ end
441
+ end
442
+
443
+ # Dynamic Links warning messages.
444
+ class DynamicLinkWarning
445
+ include Google::Apis::Core::Hashable
446
+
447
+ # The warning code.
448
+ # Corresponds to the JSON property `warningCode`
449
+ # @return [String]
450
+ attr_accessor :warning_code
451
+
452
+ # The document describing the warning, and helps resolve.
453
+ # Corresponds to the JSON property `warningDocumentLink`
454
+ # @return [String]
455
+ attr_accessor :warning_document_link
456
+
457
+ # The warning message to help developers improve their requests.
458
+ # Corresponds to the JSON property `warningMessage`
459
+ # @return [String]
460
+ attr_accessor :warning_message
461
+
462
+ def initialize(**args)
463
+ update!(**args)
464
+ end
465
+
466
+ # Update properties of this object
467
+ def update!(**args)
468
+ @warning_code = args[:warning_code] if args.key?(:warning_code)
469
+ @warning_document_link = args[:warning_document_link] if args.key?(:warning_document_link)
470
+ @warning_message = args[:warning_message] if args.key?(:warning_message)
471
+ end
472
+ end
473
+
474
+ # Request for iSDK to execute strong match flow for post-install attribution.
475
+ # This is meant for iOS requests only. Requests from other platforms will not be
476
+ # honored.
477
+ class GetIosPostInstallAttributionRequest
478
+ include Google::Apis::Core::Hashable
479
+
480
+ # App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This is
481
+ # a client signal for a more accurate weak match.
482
+ # Corresponds to the JSON property `appInstallationTime`
483
+ # @return [Fixnum]
484
+ attr_accessor :app_installation_time
485
+
486
+ # APP bundle ID.
487
+ # Corresponds to the JSON property `bundleId`
488
+ # @return [String]
489
+ attr_accessor :bundle_id
490
+
491
+ # Signals associated with the device making the request.
492
+ # Corresponds to the JSON property `device`
493
+ # @return [Google::Apis::FirebasedynamiclinksV1::DeviceInfo]
494
+ attr_accessor :device
495
+
496
+ # iOS version, ie: 9.3.5. Consider adding "build".
497
+ # Corresponds to the JSON property `iosVersion`
498
+ # @return [String]
499
+ attr_accessor :ios_version
500
+
501
+ # App post install attribution retrieval information. Disambiguates mechanism (
502
+ # iSDK or developer invoked) to retrieve payload from clicked link.
503
+ # Corresponds to the JSON property `retrievalMethod`
504
+ # @return [String]
505
+ attr_accessor :retrieval_method
506
+
507
+ # Google SDK version. Version takes the form "$major.$minor.$patch"
508
+ # Corresponds to the JSON property `sdkVersion`
509
+ # @return [String]
510
+ attr_accessor :sdk_version
511
+
512
+ # Possible unique matched link that server need to check before performing
513
+ # fingerprint match. If passed link is short server need to expand the link. If
514
+ # link is long server need to vslidate the link.
515
+ # Corresponds to the JSON property `uniqueMatchLinkToCheck`
516
+ # @return [String]
517
+ attr_accessor :unique_match_link_to_check
518
+
519
+ # Strong match page information. Disambiguates between default UI and custom
520
+ # page to present when strong match succeeds/fails to find cookie.
521
+ # Corresponds to the JSON property `visualStyle`
522
+ # @return [String]
523
+ attr_accessor :visual_style
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @app_installation_time = args[:app_installation_time] if args.key?(:app_installation_time)
532
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
533
+ @device = args[:device] if args.key?(:device)
534
+ @ios_version = args[:ios_version] if args.key?(:ios_version)
535
+ @retrieval_method = args[:retrieval_method] if args.key?(:retrieval_method)
536
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
537
+ @unique_match_link_to_check = args[:unique_match_link_to_check] if args.key?(:unique_match_link_to_check)
538
+ @visual_style = args[:visual_style] if args.key?(:visual_style)
539
+ end
540
+ end
541
+
542
+ # Response for iSDK to execute strong match flow for post-install attribution.
543
+ class GetIosPostInstallAttributionResponse
544
+ include Google::Apis::Core::Hashable
545
+
546
+ # The minimum version for app, specified by dev through ?imv= parameter. Return
547
+ # to iSDK to allow app to evaluate if current version meets this.
548
+ # Corresponds to the JSON property `appMinimumVersion`
549
+ # @return [String]
550
+ attr_accessor :app_minimum_version
551
+
552
+ # The confidence of the returned attribution.
553
+ # Corresponds to the JSON property `attributionConfidence`
554
+ # @return [String]
555
+ attr_accessor :attribution_confidence
556
+
557
+ # The deep-link attributed post-install via one of several techniques (
558
+ # fingerprint, copy unique).
559
+ # Corresponds to the JSON property `deepLink`
560
+ # @return [String]
561
+ attr_accessor :deep_link
562
+
563
+ # User-agent specific custom-scheme URIs for iSDK to open. This will be set
564
+ # according to the user-agent tha the click was originally made in. There is no
565
+ # Safari-equivalent custom-scheme open URLs. ie: googlechrome://www.example.com
566
+ # ie: firefox://open-url?url=http://www.example.com ie: opera-http://example.com
567
+ # Corresponds to the JSON property `externalBrowserDestinationLink`
568
+ # @return [String]
569
+ attr_accessor :external_browser_destination_link
570
+
571
+ # The link to navigate to update the app if min version is not met. This is
572
+ # either (in order): 1) fallback link (from ?ifl= parameter, if specified by
573
+ # developer) or 2) AppStore URL (from ?isi= parameter, if specified), or 3) the
574
+ # payload link (from required link= parameter).
575
+ # Corresponds to the JSON property `fallbackLink`
576
+ # @return [String]
577
+ attr_accessor :fallback_link
578
+
579
+ # Invitation ID attributed post-install via one of several techniques (
580
+ # fingerprint, copy unique).
581
+ # Corresponds to the JSON property `invitationId`
582
+ # @return [String]
583
+ attr_accessor :invitation_id
584
+
585
+ # Instruction for iSDK to attemmpt to perform strong match. For instance, if
586
+ # browser does not support/allow cookie or outside of support browsers, this
587
+ # will be false.
588
+ # Corresponds to the JSON property `isStrongMatchExecutable`
589
+ # @return [Boolean]
590
+ attr_accessor :is_strong_match_executable
591
+ alias_method :is_strong_match_executable?, :is_strong_match_executable
592
+
593
+ # Describes why match failed, ie: "discarded due to low confidence". This
594
+ # message will be publicly visible.
595
+ # Corresponds to the JSON property `matchMessage`
596
+ # @return [String]
597
+ attr_accessor :match_message
598
+
599
+ # Which IP version the request was made from.
600
+ # Corresponds to the JSON property `requestIpVersion`
601
+ # @return [String]
602
+ attr_accessor :request_ip_version
603
+
604
+ # Entire FDL (short or long) attributed post-install via one of several
605
+ # techniques (fingerprint, copy unique).
606
+ # Corresponds to the JSON property `requestedLink`
607
+ # @return [String]
608
+ attr_accessor :requested_link
609
+
610
+ # The entire FDL, expanded from a short link. It is the same as the
611
+ # requested_link, if it is long. Parameters from this should not be used
612
+ # directly (ie: server can default utm_[campaign|medium|source] to a value when
613
+ # requested_link lack them, server determine the best fallback_link when
614
+ # requested_link specifies >1 fallback links).
615
+ # Corresponds to the JSON property `resolvedLink`
616
+ # @return [String]
617
+ attr_accessor :resolved_link
618
+
619
+ # Scion campaign value to be propagated by iSDK to Scion at post-install.
620
+ # Corresponds to the JSON property `utmCampaign`
621
+ # @return [String]
622
+ attr_accessor :utm_campaign
623
+
624
+ # Scion content value to be propagated by iSDK to Scion at app-reopen.
625
+ # Corresponds to the JSON property `utmContent`
626
+ # @return [String]
627
+ attr_accessor :utm_content
628
+
629
+ # Scion medium value to be propagated by iSDK to Scion at post-install.
630
+ # Corresponds to the JSON property `utmMedium`
631
+ # @return [String]
632
+ attr_accessor :utm_medium
633
+
634
+ # Scion source value to be propagated by iSDK to Scion at post-install.
635
+ # Corresponds to the JSON property `utmSource`
636
+ # @return [String]
637
+ attr_accessor :utm_source
638
+
639
+ # Scion term value to be propagated by iSDK to Scion at app-reopen.
640
+ # Corresponds to the JSON property `utmTerm`
641
+ # @return [String]
642
+ attr_accessor :utm_term
643
+
644
+ def initialize(**args)
645
+ update!(**args)
646
+ end
647
+
648
+ # Update properties of this object
649
+ def update!(**args)
650
+ @app_minimum_version = args[:app_minimum_version] if args.key?(:app_minimum_version)
651
+ @attribution_confidence = args[:attribution_confidence] if args.key?(:attribution_confidence)
652
+ @deep_link = args[:deep_link] if args.key?(:deep_link)
653
+ @external_browser_destination_link = args[:external_browser_destination_link] if args.key?(:external_browser_destination_link)
654
+ @fallback_link = args[:fallback_link] if args.key?(:fallback_link)
655
+ @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
656
+ @is_strong_match_executable = args[:is_strong_match_executable] if args.key?(:is_strong_match_executable)
657
+ @match_message = args[:match_message] if args.key?(:match_message)
658
+ @request_ip_version = args[:request_ip_version] if args.key?(:request_ip_version)
659
+ @requested_link = args[:requested_link] if args.key?(:requested_link)
660
+ @resolved_link = args[:resolved_link] if args.key?(:resolved_link)
661
+ @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
662
+ @utm_content = args[:utm_content] if args.key?(:utm_content)
663
+ @utm_medium = args[:utm_medium] if args.key?(:utm_medium)
664
+ @utm_source = args[:utm_source] if args.key?(:utm_source)
665
+ @utm_term = args[:utm_term] if args.key?(:utm_term)
666
+ end
667
+ end
668
+
669
+ # Request for iSDK to get reopen attribution for app universal link open
670
+ # deeplinking. This endpoint is meant for only iOS requests.
671
+ class GetIosReopenAttributionRequest
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # APP bundle ID.
675
+ # Corresponds to the JSON property `bundleId`
676
+ # @return [String]
677
+ attr_accessor :bundle_id
678
+
679
+ # FDL link to be verified from an app universal link open. The FDL link can be
680
+ # one of: 1) short FDL. e.g. .page.link/, or 2) long FDL. e.g. .page.link/?`
681
+ # query params`, or 3) Invite FDL. e.g. .page.link/i/
682
+ # Corresponds to the JSON property `requestedLink`
683
+ # @return [String]
684
+ attr_accessor :requested_link
685
+
686
+ # Google SDK version. Version takes the form "$major.$minor.$patch"
687
+ # Corresponds to the JSON property `sdkVersion`
688
+ # @return [String]
689
+ attr_accessor :sdk_version
690
+
691
+ def initialize(**args)
692
+ update!(**args)
693
+ end
694
+
695
+ # Update properties of this object
696
+ def update!(**args)
697
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
698
+ @requested_link = args[:requested_link] if args.key?(:requested_link)
699
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
700
+ end
701
+ end
702
+
703
+ # Response for iSDK to get reopen attribution for app universal link open
704
+ # deeplinking. This endpoint is meant for only iOS requests.
705
+ class GetIosReopenAttributionResponse
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # The deep-link attributed the app universal link open. For both regular FDL
709
+ # links and invite FDL links.
710
+ # Corresponds to the JSON property `deepLink`
711
+ # @return [String]
712
+ attr_accessor :deep_link
713
+
714
+ # Optional invitation ID, for only invite typed requested FDL links.
715
+ # Corresponds to the JSON property `invitationId`
716
+ # @return [String]
717
+ attr_accessor :invitation_id
718
+
719
+ # FDL input value of the "&imv=" parameter, minimum app version to be returned
720
+ # to Google Firebase SDK running on iOS-9.
721
+ # Corresponds to the JSON property `iosMinAppVersion`
722
+ # @return [String]
723
+ attr_accessor :ios_min_app_version
724
+
725
+ # The entire FDL, expanded from a short link. It is the same as the
726
+ # requested_link, if it is long.
727
+ # Corresponds to the JSON property `resolvedLink`
728
+ # @return [String]
729
+ attr_accessor :resolved_link
730
+
731
+ # Scion campaign value to be propagated by iSDK to Scion at app-reopen.
732
+ # Corresponds to the JSON property `utmCampaign`
733
+ # @return [String]
734
+ attr_accessor :utm_campaign
735
+
736
+ # Scion content value to be propagated by iSDK to Scion at app-reopen.
737
+ # Corresponds to the JSON property `utmContent`
738
+ # @return [String]
739
+ attr_accessor :utm_content
740
+
741
+ # Scion medium value to be propagated by iSDK to Scion at app-reopen.
742
+ # Corresponds to the JSON property `utmMedium`
743
+ # @return [String]
744
+ attr_accessor :utm_medium
745
+
746
+ # Scion source value to be propagated by iSDK to Scion at app-reopen.
747
+ # Corresponds to the JSON property `utmSource`
748
+ # @return [String]
749
+ attr_accessor :utm_source
750
+
751
+ # Scion term value to be propagated by iSDK to Scion at app-reopen.
752
+ # Corresponds to the JSON property `utmTerm`
753
+ # @return [String]
754
+ attr_accessor :utm_term
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @deep_link = args[:deep_link] if args.key?(:deep_link)
763
+ @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
764
+ @ios_min_app_version = args[:ios_min_app_version] if args.key?(:ios_min_app_version)
765
+ @resolved_link = args[:resolved_link] if args.key?(:resolved_link)
766
+ @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
767
+ @utm_content = args[:utm_content] if args.key?(:utm_content)
768
+ @utm_medium = args[:utm_medium] if args.key?(:utm_medium)
769
+ @utm_source = args[:utm_source] if args.key?(:utm_source)
770
+ @utm_term = args[:utm_term] if args.key?(:utm_term)
771
+ end
772
+ end
773
+
774
+ # Parameters for Google Play Campaign Measurements. [Learn more](https://
775
+ # developers.google.com/analytics/devguides/collection/android/v4/campaigns#
776
+ # campaign-params)
777
+ class GooglePlayAnalytics
778
+ include Google::Apis::Core::Hashable
779
+
780
+ # [AdWords autotagging parameter](https://support.google.com/analytics/answer/
781
+ # 1033981?hl=en); used to measure Google AdWords ads. This value is generated
782
+ # dynamically and should never be modified.
783
+ # Corresponds to the JSON property `gclid`
784
+ # @return [String]
785
+ attr_accessor :gclid
786
+
787
+ # Campaign name; used for keyword analysis to identify a specific product
788
+ # promotion or strategic campaign.
789
+ # Corresponds to the JSON property `utmCampaign`
790
+ # @return [String]
791
+ attr_accessor :utm_campaign
792
+
793
+ # Campaign content; used for A/B testing and content-targeted ads to
794
+ # differentiate ads or links that point to the same URL.
795
+ # Corresponds to the JSON property `utmContent`
796
+ # @return [String]
797
+ attr_accessor :utm_content
798
+
799
+ # Campaign medium; used to identify a medium such as email or cost-per-click.
800
+ # Corresponds to the JSON property `utmMedium`
801
+ # @return [String]
802
+ attr_accessor :utm_medium
803
+
804
+ # Campaign source; used to identify a search engine, newsletter, or other source.
805
+ # Corresponds to the JSON property `utmSource`
806
+ # @return [String]
807
+ attr_accessor :utm_source
808
+
809
+ # Campaign term; used with paid search to supply the keywords for ads.
810
+ # Corresponds to the JSON property `utmTerm`
811
+ # @return [String]
812
+ attr_accessor :utm_term
813
+
814
+ def initialize(**args)
815
+ update!(**args)
816
+ end
817
+
818
+ # Update properties of this object
819
+ def update!(**args)
820
+ @gclid = args[:gclid] if args.key?(:gclid)
821
+ @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
822
+ @utm_content = args[:utm_content] if args.key?(:utm_content)
823
+ @utm_medium = args[:utm_medium] if args.key?(:utm_medium)
824
+ @utm_source = args[:utm_source] if args.key?(:utm_source)
825
+ @utm_term = args[:utm_term] if args.key?(:utm_term)
826
+ end
827
+ end
828
+
829
+ # Parameters for iTunes Connect App Analytics.
830
+ class ITunesConnectAnalytics
831
+ include Google::Apis::Core::Hashable
832
+
833
+ # Affiliate token used to create affiliate-coded links.
834
+ # Corresponds to the JSON property `at`
835
+ # @return [String]
836
+ attr_accessor :at
837
+
838
+ # Campaign text that developers can optionally add to any link in order to track
839
+ # sales from a specific marketing campaign.
840
+ # Corresponds to the JSON property `ct`
841
+ # @return [String]
842
+ attr_accessor :ct
843
+
844
+ # iTune media types, including music, podcasts, audiobooks and so on.
845
+ # Corresponds to the JSON property `mt`
846
+ # @return [String]
847
+ attr_accessor :mt
848
+
849
+ # Provider token that enables analytics for Dynamic Links from within iTunes
850
+ # Connect.
851
+ # Corresponds to the JSON property `pt`
852
+ # @return [String]
853
+ attr_accessor :pt
854
+
855
+ def initialize(**args)
856
+ update!(**args)
857
+ end
858
+
859
+ # Update properties of this object
860
+ def update!(**args)
861
+ @at = args[:at] if args.key?(:at)
862
+ @ct = args[:ct] if args.key?(:ct)
863
+ @mt = args[:mt] if args.key?(:mt)
864
+ @pt = args[:pt] if args.key?(:pt)
865
+ end
866
+ end
867
+
868
+ # iOS related attributes to the Dynamic Link..
869
+ class IosInfo
870
+ include Google::Apis::Core::Hashable
871
+
872
+ # iOS App Store ID.
873
+ # Corresponds to the JSON property `iosAppStoreId`
874
+ # @return [String]
875
+ attr_accessor :ios_app_store_id
876
+
877
+ # iOS bundle ID of the app.
878
+ # Corresponds to the JSON property `iosBundleId`
879
+ # @return [String]
880
+ attr_accessor :ios_bundle_id
881
+
882
+ # Custom (destination) scheme to use for iOS. By default, we’ll use the bundle
883
+ # ID as the custom scheme. Developer can override this behavior using this param.
884
+ # Corresponds to the JSON property `iosCustomScheme`
885
+ # @return [String]
886
+ attr_accessor :ios_custom_scheme
887
+
888
+ # Link to open on iOS if the app is not installed.
889
+ # Corresponds to the JSON property `iosFallbackLink`
890
+ # @return [String]
891
+ attr_accessor :ios_fallback_link
892
+
893
+ # iPad bundle ID of the app.
894
+ # Corresponds to the JSON property `iosIpadBundleId`
895
+ # @return [String]
896
+ attr_accessor :ios_ipad_bundle_id
897
+
898
+ # If specified, this overrides the ios_fallback_link value on iPads.
899
+ # Corresponds to the JSON property `iosIpadFallbackLink`
900
+ # @return [String]
901
+ attr_accessor :ios_ipad_fallback_link
902
+
903
+ # iOS minimum version.
904
+ # Corresponds to the JSON property `iosMinimumVersion`
905
+ # @return [String]
906
+ attr_accessor :ios_minimum_version
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
915
+ @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
916
+ @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
917
+ @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
918
+ @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
919
+ @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
920
+ @ios_minimum_version = args[:ios_minimum_version] if args.key?(:ios_minimum_version)
921
+ end
922
+ end
923
+
924
+ # Managed Short Link.
925
+ class ManagedShortLink
926
+ include Google::Apis::Core::Hashable
927
+
928
+ # Creation timestamp of the short link.
929
+ # Corresponds to the JSON property `creationTime`
930
+ # @return [String]
931
+ attr_accessor :creation_time
932
+
933
+ # Attributes that have been flagged about this short url.
934
+ # Corresponds to the JSON property `flaggedAttribute`
935
+ # @return [Array<String>]
936
+ attr_accessor :flagged_attribute
937
+
938
+ # Information about a Dynamic Link.
939
+ # Corresponds to the JSON property `info`
940
+ # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
941
+ attr_accessor :info
942
+
943
+ # Short durable link url, for example, "https://sample.app.goo.gl/xyz123".
944
+ # Required.
945
+ # Corresponds to the JSON property `link`
946
+ # @return [String]
947
+ attr_accessor :link
948
+
949
+ # Link name defined by the creator. Required.
950
+ # Corresponds to the JSON property `linkName`
951
+ # @return [String]
952
+ attr_accessor :link_name
953
+
954
+ # Visibility status of link.
955
+ # Corresponds to the JSON property `visibility`
956
+ # @return [String]
957
+ attr_accessor :visibility
958
+
959
+ def initialize(**args)
960
+ update!(**args)
961
+ end
962
+
963
+ # Update properties of this object
964
+ def update!(**args)
965
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
966
+ @flagged_attribute = args[:flagged_attribute] if args.key?(:flagged_attribute)
967
+ @info = args[:info] if args.key?(:info)
968
+ @link = args[:link] if args.key?(:link)
969
+ @link_name = args[:link_name] if args.key?(:link_name)
970
+ @visibility = args[:visibility] if args.key?(:visibility)
971
+ end
972
+ end
973
+
974
+ # Information of navigation behavior.
975
+ class NavigationInfo
976
+ include Google::Apis::Core::Hashable
977
+
978
+ # If this option is on, FDL click will be forced to redirect rather than show an
979
+ # interstitial page.
980
+ # Corresponds to the JSON property `enableForcedRedirect`
981
+ # @return [Boolean]
982
+ attr_accessor :enable_forced_redirect
983
+ alias_method :enable_forced_redirect?, :enable_forced_redirect
984
+
985
+ def initialize(**args)
986
+ update!(**args)
987
+ end
988
+
989
+ # Update properties of this object
990
+ def update!(**args)
991
+ @enable_forced_redirect = args[:enable_forced_redirect] if args.key?(:enable_forced_redirect)
992
+ end
993
+ end
994
+
995
+ # Parameters for social meta tag params. Used to set meta tag data for link
996
+ # previews on social sites.
997
+ class SocialMetaTagInfo
998
+ include Google::Apis::Core::Hashable
999
+
1000
+ # A short description of the link. Optional.
1001
+ # Corresponds to the JSON property `socialDescription`
1002
+ # @return [String]
1003
+ attr_accessor :social_description
1004
+
1005
+ # An image url string. Optional.
1006
+ # Corresponds to the JSON property `socialImageLink`
1007
+ # @return [String]
1008
+ attr_accessor :social_image_link
1009
+
1010
+ # Title to be displayed. Optional.
1011
+ # Corresponds to the JSON property `socialTitle`
1012
+ # @return [String]
1013
+ attr_accessor :social_title
1014
+
1015
+ def initialize(**args)
1016
+ update!(**args)
1017
+ end
1018
+
1019
+ # Update properties of this object
1020
+ def update!(**args)
1021
+ @social_description = args[:social_description] if args.key?(:social_description)
1022
+ @social_image_link = args[:social_image_link] if args.key?(:social_image_link)
1023
+ @social_title = args[:social_title] if args.key?(:social_title)
1024
+ end
1025
+ end
1026
+
1027
+ # Short Dynamic Link suffix.
1028
+ class Suffix
1029
+ include Google::Apis::Core::Hashable
1030
+
1031
+ # Only applies to Option.CUSTOM.
1032
+ # Corresponds to the JSON property `customSuffix`
1033
+ # @return [String]
1034
+ attr_accessor :custom_suffix
1035
+
1036
+ # Suffix option.
1037
+ # Corresponds to the JSON property `option`
1038
+ # @return [String]
1039
+ attr_accessor :option
1040
+
1041
+ def initialize(**args)
1042
+ update!(**args)
1043
+ end
1044
+
1045
+ # Update properties of this object
1046
+ def update!(**args)
1047
+ @custom_suffix = args[:custom_suffix] if args.key?(:custom_suffix)
1048
+ @option = args[:option] if args.key?(:option)
1049
+ end
1050
+ end
1051
+ end
1052
+ end
1053
+ end