google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-dns
26
26
  module DnsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170427'
28
+ REVISION = '20170518'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-dns
26
26
  module DnsV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20170427'
28
+ REVISION = '20170518'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,6 +26,9 @@ module Google
26
26
  module DoubleclickbidmanagerV1
27
27
  VERSION = 'V1'
28
28
  REVISION = '20170224'
29
+
30
+ # View and manage your reports in DoubleClick Bid Manager
31
+ AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
29
32
  end
30
33
  end
31
34
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/doubleclick-search/
27
27
  module DoubleclicksearchV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170426'
29
+ REVISION = '20170516'
30
30
 
31
31
  # View and manage your advertising data in DoubleClick Search
32
32
  AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170420'
29
+ REVISION = '20170519'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1396,7 +1396,9 @@ module Google
1396
1396
  attr_accessor :has_augmented_permissions
1397
1397
  alias_method :has_augmented_permissions?, :has_augmented_permissions
1398
1398
 
1399
- # Whether this file has a thumbnail.
1399
+ # Whether this file has a thumbnail. This does not indicate whether the
1400
+ # requesting app has access to the thumbnail. To check access, look for the
1401
+ # presence of the thumbnailLink field.
1400
1402
  # Corresponds to the JSON property `hasThumbnail`
1401
1403
  # @return [Boolean]
1402
1404
  attr_accessor :has_thumbnail
@@ -2377,8 +2379,8 @@ module Google
2377
2379
  # @return [String]
2378
2380
  attr_accessor :auth_key
2379
2381
 
2380
- # Whether the account of the permission has been deleted. This field only
2381
- # pertains to user and group permissions.
2382
+ # Whether the account associated with this permission has been deleted. This
2383
+ # field only pertains to user and group permissions.
2382
2384
  # Corresponds to the JSON property `deleted`
2383
2385
  # @return [Boolean]
2384
2386
  attr_accessor :deleted
@@ -2937,9 +2939,9 @@ module Google
2937
2939
  include Google::Apis::Core::Hashable
2938
2940
 
2939
2941
  # An image file and cropping parameters from which a background image for this
2940
- # Team Drive is set. This is a write only field that can only be set on a drive.
2941
- # teamdrives.update request that does not set themeId. When specified, all
2942
- # fields of the backgroundImageFile must be set.
2942
+ # Team Drive is set. This is a write only field; it can only be set on drive.
2943
+ # teamdrives.update requests that don't set themeId. When specified, all fields
2944
+ # of the backgroundImageFile must be set.
2943
2945
  # Corresponds to the JSON property `backgroundImageFile`
2944
2946
  # @return [Google::Apis::DriveV2::TeamDrive::BackgroundImageFile]
2945
2947
  attr_accessor :background_image_file
@@ -2980,8 +2982,8 @@ module Google
2980
2982
  # set of possible teamDriveThemes can be retrieved from a drive.about.get
2981
2983
  # response. When not specified on a drive.teamdrives.insert request, a random
2982
2984
  # theme is chosen from which the background image and color are set. This is a
2983
- # write only field that can only be set on a request that does not set colorRgb
2984
- # or backgroundImageFile.
2985
+ # write-only field; it can only be set on requests that don't set colorRgb or
2986
+ # backgroundImageFile.
2985
2987
  # Corresponds to the JSON property `themeId`
2986
2988
  # @return [String]
2987
2989
  attr_accessor :theme_id
@@ -3003,9 +3005,9 @@ module Google
3003
3005
  end
3004
3006
 
3005
3007
  # An image file and cropping parameters from which a background image for this
3006
- # Team Drive is set. This is a write only field that can only be set on a drive.
3007
- # teamdrives.update request that does not set themeId. When specified, all
3008
- # fields of the backgroundImageFile must be set.
3008
+ # Team Drive is set. This is a write only field; it can only be set on drive.
3009
+ # teamdrives.update requests that don't set themeId. When specified, all fields
3010
+ # of the backgroundImageFile must be set.
3009
3011
  class BackgroundImageFile
3010
3012
  include Google::Apis::Core::Hashable
3011
3013
 
@@ -3014,26 +3016,27 @@ module Google
3014
3016
  # @return [String]
3015
3017
  attr_accessor :id
3016
3018
 
3017
- # The width of the cropped image in the closed range of 0 to 1, which is the
3018
- # width of the cropped image divided by the width of the entire image. The
3019
- # height is computed by applying a width to height aspect ratio of 80 to 9. The
3020
- # resulting image must be at least 1280 pixels wide and 144 pixels high.
3019
+ # The width of the cropped image in the closed range of 0 to 1. This value
3020
+ # represents the width of the cropped image divided by the width of the entire
3021
+ # image. The height is computed by applying a width to height aspect ratio of 80
3022
+ # to 9. The resulting image must be at least 1280 pixels wide and 144 pixels
3023
+ # high.
3021
3024
  # Corresponds to the JSON property `width`
3022
3025
  # @return [Float]
3023
3026
  attr_accessor :width
3024
3027
 
3025
3028
  # The X coordinate of the upper left corner of the cropping area in the
3026
- # background image. This is a value in the closed range of 0 to 1 which is the
3027
- # horizontal distance from the left side of the entire image to the left side of
3028
- # the cropping area divided by the width of the entire image.
3029
+ # background image. This is a value in the closed range of 0 to 1. This value
3030
+ # represents the horizontal distance from the left side of the entire image to
3031
+ # the left side of the cropping area divided by the width of the entire image.
3029
3032
  # Corresponds to the JSON property `xCoordinate`
3030
3033
  # @return [Float]
3031
3034
  attr_accessor :x_coordinate
3032
3035
 
3033
3036
  # The Y coordinate of the upper left corner of the cropping area in the
3034
- # background image. This is a value in the closed range of 0 to 1 which is the
3035
- # vertical distance from the top side of the entire image to the top side of the
3036
- # cropping area divided by the height of the entire image.
3037
+ # background image. This is a value in the closed range of 0 to 1. This value
3038
+ # represents the vertical distance from the top side of the entire image to the
3039
+ # top side of the cropping area divided by the height of the entire image.
3037
3040
  # Corresponds to the JSON property `yCoordinate`
3038
3041
  # @return [Float]
3039
3042
  attr_accessor :y_coordinate
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20170420'
29
+ REVISION = '20170519'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -578,7 +578,9 @@ module Google
578
578
  attr_accessor :has_augmented_permissions
579
579
  alias_method :has_augmented_permissions?, :has_augmented_permissions
580
580
 
581
- # Whether this file has a thumbnail.
581
+ # Whether this file has a thumbnail. This does not indicate whether the
582
+ # requesting app has access to the thumbnail. To check access, look for the
583
+ # presence of the thumbnailLink field.
582
584
  # Corresponds to the JSON property `hasThumbnail`
583
585
  # @return [Boolean]
584
586
  attr_accessor :has_thumbnail
@@ -1383,8 +1385,8 @@ module Google
1383
1385
  attr_accessor :allow_file_discovery
1384
1386
  alias_method :allow_file_discovery?, :allow_file_discovery
1385
1387
 
1386
- # Whether the account of the permission has been deleted. This field only
1387
- # pertains to user and group permissions.
1388
+ # Whether the account associated with this permission has been deleted. This
1389
+ # field only pertains to user and group permissions.
1388
1390
  # Corresponds to the JSON property `deleted`
1389
1391
  # @return [Boolean]
1390
1392
  attr_accessor :deleted
@@ -1508,7 +1510,6 @@ module Google
1508
1510
  # The Team Drive permission type for this user. While new values may be added in
1509
1511
  # future, the following are currently possible:
1510
1512
  # - file
1511
- # -
1512
1513
  # - member
1513
1514
  # Corresponds to the JSON property `teamDrivePermissionType`
1514
1515
  # @return [String]
@@ -1839,9 +1840,9 @@ module Google
1839
1840
  include Google::Apis::Core::Hashable
1840
1841
 
1841
1842
  # An image file and cropping parameters from which a background image for this
1842
- # Team Drive is set. This is a write only field that can only be set on a drive.
1843
- # teamdrives.update request that does not set themeId. When specified, all
1844
- # fields of the backgroundImageFile must be set.
1843
+ # Team Drive is set. This is a write only field; it can only be set on drive.
1844
+ # teamdrives.update requests that don't set themeId. When specified, all fields
1845
+ # of the backgroundImageFile must be set.
1845
1846
  # Corresponds to the JSON property `backgroundImageFile`
1846
1847
  # @return [Google::Apis::DriveV3::TeamDrive::BackgroundImageFile]
1847
1848
  attr_accessor :background_image_file
@@ -1883,8 +1884,8 @@ module Google
1883
1884
  # set of possible teamDriveThemes can be retrieved from a drive.about.get
1884
1885
  # response. When not specified on a drive.teamdrives.create request, a random
1885
1886
  # theme is chosen from which the background image and color are set. This is a
1886
- # write only field that can only be set on a request that does not set colorRgb
1887
- # or backgroundImageFile.
1887
+ # write-only field; it can only be set on requests that don't set colorRgb or
1888
+ # backgroundImageFile.
1888
1889
  # Corresponds to the JSON property `themeId`
1889
1890
  # @return [String]
1890
1891
  attr_accessor :theme_id
@@ -1906,9 +1907,9 @@ module Google
1906
1907
  end
1907
1908
 
1908
1909
  # An image file and cropping parameters from which a background image for this
1909
- # Team Drive is set. This is a write only field that can only be set on a drive.
1910
- # teamdrives.update request that does not set themeId. When specified, all
1911
- # fields of the backgroundImageFile must be set.
1910
+ # Team Drive is set. This is a write only field; it can only be set on drive.
1911
+ # teamdrives.update requests that don't set themeId. When specified, all fields
1912
+ # of the backgroundImageFile must be set.
1912
1913
  class BackgroundImageFile
1913
1914
  include Google::Apis::Core::Hashable
1914
1915
 
@@ -1917,26 +1918,27 @@ module Google
1917
1918
  # @return [String]
1918
1919
  attr_accessor :id
1919
1920
 
1920
- # The width of the cropped image in the closed range of 0 to 1, which is the
1921
- # width of the cropped image divided by the width of the entire image. The
1922
- # height is computed by applying a width to height aspect ratio of 80 to 9. The
1923
- # resulting image must be at least 1280 pixels wide and 144 pixels high.
1921
+ # The width of the cropped image in the closed range of 0 to 1. This value
1922
+ # represents the width of the cropped image divided by the width of the entire
1923
+ # image. The height is computed by applying a width to height aspect ratio of 80
1924
+ # to 9. The resulting image must be at least 1280 pixels wide and 144 pixels
1925
+ # high.
1924
1926
  # Corresponds to the JSON property `width`
1925
1927
  # @return [Float]
1926
1928
  attr_accessor :width
1927
1929
 
1928
1930
  # The X coordinate of the upper left corner of the cropping area in the
1929
- # background image. This is a value in the closed range of 0 to 1 which is the
1930
- # horizontal distance from the left side of the entire image to the left side of
1931
- # the cropping area divided by the width of the entire image.
1931
+ # background image. This is a value in the closed range of 0 to 1. This value
1932
+ # represents the horizontal distance from the left side of the entire image to
1933
+ # the left side of the cropping area divided by the width of the entire image.
1932
1934
  # Corresponds to the JSON property `xCoordinate`
1933
1935
  # @return [Float]
1934
1936
  attr_accessor :x_coordinate
1935
1937
 
1936
1938
  # The Y coordinate of the upper left corner of the cropping area in the
1937
- # background image. This is a value in the closed range of 0 to 1 which is the
1938
- # vertical distance from the top side of the entire image to the top side of the
1939
- # cropping area divided by the height of the entire image.
1939
+ # background image. This is a value in the closed range of 0 to 1. This value
1940
+ # represents the vertical distance from the top side of the entire image to the
1941
+ # top side of the cropping area divided by the height of the entire image.
1940
1942
  # Corresponds to the JSON property `yCoordinate`
1941
1943
  # @return [Float]
1942
1944
  attr_accessor :y_coordinate
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/dynamic-links/
26
26
  module FirebasedynamiclinksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170503'
28
+ REVISION = '20170517'
29
29
 
30
30
  # View and administer all your Firebase data and settings
31
31
  AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
@@ -22,6 +22,78 @@ module Google
22
22
  module Apis
23
23
  module FirebasedynamiclinksV1
24
24
 
25
+ # Information of navigation behavior.
26
+ class NavigationInfo
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # If this option is on, FDL click will be forced to redirect rather than
30
+ # show an interstitial page.
31
+ # Corresponds to the JSON property `enableForcedRedirect`
32
+ # @return [Boolean]
33
+ attr_accessor :enable_forced_redirect
34
+ alias_method :enable_forced_redirect?, :enable_forced_redirect
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @enable_forced_redirect = args[:enable_forced_redirect] if args.key?(:enable_forced_redirect)
43
+ end
44
+ end
45
+
46
+ # iOS related attributes to the Dynamic Link..
47
+ class IosInfo
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # Custom (destination) scheme to use for iOS. By default, we’ll use the
51
+ # bundle ID as the custom scheme. Developer can override this behavior using
52
+ # this param.
53
+ # Corresponds to the JSON property `iosCustomScheme`
54
+ # @return [String]
55
+ attr_accessor :ios_custom_scheme
56
+
57
+ # iOS bundle ID of the app.
58
+ # Corresponds to the JSON property `iosBundleId`
59
+ # @return [String]
60
+ attr_accessor :ios_bundle_id
61
+
62
+ # Link to open on iOS if the app is not installed.
63
+ # Corresponds to the JSON property `iosFallbackLink`
64
+ # @return [String]
65
+ attr_accessor :ios_fallback_link
66
+
67
+ # iOS App Store ID.
68
+ # Corresponds to the JSON property `iosAppStoreId`
69
+ # @return [String]
70
+ attr_accessor :ios_app_store_id
71
+
72
+ # If specified, this overrides the ios_fallback_link value on iPads.
73
+ # Corresponds to the JSON property `iosIpadFallbackLink`
74
+ # @return [String]
75
+ attr_accessor :ios_ipad_fallback_link
76
+
77
+ # iPad bundle ID of the app.
78
+ # Corresponds to the JSON property `iosIpadBundleId`
79
+ # @return [String]
80
+ attr_accessor :ios_ipad_bundle_id
81
+
82
+ def initialize(**args)
83
+ update!(**args)
84
+ end
85
+
86
+ # Update properties of this object
87
+ def update!(**args)
88
+ @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
89
+ @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
90
+ @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
91
+ @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
92
+ @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
93
+ @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
94
+ end
95
+ end
96
+
25
97
  # Tracking parameters supported by Dynamic Link.
26
98
  class AnalyticsInfo
27
99
  include Google::Apis::Core::Hashable
@@ -53,11 +125,6 @@ module Google
53
125
  class CreateShortDynamicLinkRequest
54
126
  include Google::Apis::Core::Hashable
55
127
 
56
- # Short Dynamic Link suffix.
57
- # Corresponds to the JSON property `suffix`
58
- # @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
59
- attr_accessor :suffix
60
-
61
128
  # Information about a Dynamic Link.
62
129
  # Corresponds to the JSON property `dynamicLinkInfo`
63
130
  # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo]
@@ -72,15 +139,20 @@ module Google
72
139
  # @return [String]
73
140
  attr_accessor :long_dynamic_link
74
141
 
142
+ # Short Dynamic Link suffix.
143
+ # Corresponds to the JSON property `suffix`
144
+ # @return [Google::Apis::FirebasedynamiclinksV1::Suffix]
145
+ attr_accessor :suffix
146
+
75
147
  def initialize(**args)
76
148
  update!(**args)
77
149
  end
78
150
 
79
151
  # Update properties of this object
80
152
  def update!(**args)
81
- @suffix = args[:suffix] if args.key?(:suffix)
82
153
  @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info)
83
154
  @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link)
155
+ @suffix = args[:suffix] if args.key?(:suffix)
84
156
  end
85
157
  end
86
158
 
@@ -88,11 +160,6 @@ module Google
88
160
  class CreateShortDynamicLinkResponse
89
161
  include Google::Apis::Core::Hashable
90
162
 
91
- # Information about potential warnings on link creation.
92
- # Corresponds to the JSON property `warning`
93
- # @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
94
- attr_accessor :warning
95
-
96
163
  # Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
97
164
  # Corresponds to the JSON property `shortLink`
98
165
  # @return [String]
@@ -103,15 +170,20 @@ module Google
103
170
  # @return [String]
104
171
  attr_accessor :preview_link
105
172
 
173
+ # Information about potential warnings on link creation.
174
+ # Corresponds to the JSON property `warning`
175
+ # @return [Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>]
176
+ attr_accessor :warning
177
+
106
178
  def initialize(**args)
107
179
  update!(**args)
108
180
  end
109
181
 
110
182
  # Update properties of this object
111
183
  def update!(**args)
112
- @warning = args[:warning] if args.key?(:warning)
113
184
  @short_link = args[:short_link] if args.key?(:short_link)
114
185
  @preview_link = args[:preview_link] if args.key?(:preview_link)
186
+ @warning = args[:warning] if args.key?(:warning)
115
187
  end
116
188
  end
117
189
 
@@ -156,12 +228,6 @@ module Google
156
228
  # @return [String]
157
229
  attr_accessor :utm_source
158
230
 
159
- # Campaign name; used for keyword analysis to identify a specific product
160
- # promotion or strategic campaign.
161
- # Corresponds to the JSON property `utmCampaign`
162
- # @return [String]
163
- attr_accessor :utm_campaign
164
-
165
231
  # [AdWords autotagging parameter](https://support.google.com/analytics/answer/
166
232
  # 1033981?hl=en);
167
233
  # used to measure Google AdWords ads. This value is generated dynamically
@@ -170,6 +236,12 @@ module Google
170
236
  # @return [String]
171
237
  attr_accessor :gclid
172
238
 
239
+ # Campaign name; used for keyword analysis to identify a specific product
240
+ # promotion or strategic campaign.
241
+ # Corresponds to the JSON property `utmCampaign`
242
+ # @return [String]
243
+ attr_accessor :utm_campaign
244
+
173
245
  # Campaign content; used for A/B testing and content-targeted ads to
174
246
  # differentiate ads or links that point to the same URL.
175
247
  # Corresponds to the JSON property `utmContent`
@@ -185,8 +257,8 @@ module Google
185
257
  @utm_medium = args[:utm_medium] if args.key?(:utm_medium)
186
258
  @utm_term = args[:utm_term] if args.key?(:utm_term)
187
259
  @utm_source = args[:utm_source] if args.key?(:utm_source)
188
- @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
189
260
  @gclid = args[:gclid] if args.key?(:gclid)
261
+ @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
190
262
  @utm_content = args[:utm_content] if args.key?(:utm_content)
191
263
  end
192
264
  end
@@ -195,25 +267,6 @@ module Google
195
267
  class DynamicLinkInfo
196
268
  include Google::Apis::Core::Hashable
197
269
 
198
- # Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
199
- # [Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-
200
- # firebase-and-the-dynamic-links-sdk)
201
- # on how to set up Dynamic Link domain associated with your Firebase project.
202
- # Required.
203
- # Corresponds to the JSON property `dynamicLinkDomain`
204
- # @return [String]
205
- attr_accessor :dynamic_link_domain
206
-
207
- # The link your app will open, You can specify any URL your app can handle.
208
- # This link must be a well-formatted URL, be properly URL-encoded, and use
209
- # the HTTP or HTTPS scheme. See 'link' parameters in the
210
- # [documentation](https://firebase.google.com/docs/dynamic-links/android#create-
211
- # a-dynamic-link-programmatically).
212
- # Required.
213
- # Corresponds to the JSON property `link`
214
- # @return [String]
215
- attr_accessor :link
216
-
217
270
  # iOS related attributes to the Dynamic Link..
218
271
  # Corresponds to the JSON property `iosInfo`
219
272
  # @return [Google::Apis::FirebasedynamiclinksV1::IosInfo]
@@ -240,19 +293,37 @@ module Google
240
293
  # @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo]
241
294
  attr_accessor :analytics_info
242
295
 
296
+ # Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
297
+ # [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive)
298
+ # on how to set up Dynamic Link domain associated with your Firebase project.
299
+ # Required.
300
+ # Corresponds to the JSON property `dynamicLinkDomain`
301
+ # @return [String]
302
+ attr_accessor :dynamic_link_domain
303
+
304
+ # The link your app will open, You can specify any URL your app can handle.
305
+ # This link must be a well-formatted URL, be properly URL-encoded, and use
306
+ # the HTTP or HTTPS scheme. See 'link' parameters in the
307
+ # [documentation](https://firebase.google.com/docs/dynamic-links/create-manually)
308
+ # .
309
+ # Required.
310
+ # Corresponds to the JSON property `link`
311
+ # @return [String]
312
+ attr_accessor :link
313
+
243
314
  def initialize(**args)
244
315
  update!(**args)
245
316
  end
246
317
 
247
318
  # Update properties of this object
248
319
  def update!(**args)
249
- @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
250
- @link = args[:link] if args.key?(:link)
251
320
  @ios_info = args[:ios_info] if args.key?(:ios_info)
252
321
  @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info)
253
322
  @android_info = args[:android_info] if args.key?(:android_info)
254
323
  @navigation_info = args[:navigation_info] if args.key?(:navigation_info)
255
324
  @analytics_info = args[:analytics_info] if args.key?(:analytics_info)
325
+ @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
326
+ @link = args[:link] if args.key?(:link)
256
327
  end
257
328
  end
258
329
 
@@ -260,6 +331,11 @@ module Google
260
331
  class ITunesConnectAnalytics
261
332
  include Google::Apis::Core::Hashable
262
333
 
334
+ # Affiliate token used to create affiliate-coded links.
335
+ # Corresponds to the JSON property `at`
336
+ # @return [String]
337
+ attr_accessor :at
338
+
263
339
  # Campaign text that developers can optionally add to any link in order to
264
340
  # track sales from a specific marketing campaign.
265
341
  # Corresponds to the JSON property `ct`
@@ -277,21 +353,16 @@ module Google
277
353
  # @return [String]
278
354
  attr_accessor :pt
279
355
 
280
- # Affiliate token used to create affiliate-coded links.
281
- # Corresponds to the JSON property `at`
282
- # @return [String]
283
- attr_accessor :at
284
-
285
356
  def initialize(**args)
286
357
  update!(**args)
287
358
  end
288
359
 
289
360
  # Update properties of this object
290
361
  def update!(**args)
362
+ @at = args[:at] if args.key?(:at)
291
363
  @ct = args[:ct] if args.key?(:ct)
292
364
  @mt = args[:mt] if args.key?(:mt)
293
365
  @pt = args[:pt] if args.key?(:pt)
294
- @at = args[:at] if args.key?(:at)
295
366
  end
296
367
  end
297
368
 
@@ -300,11 +371,6 @@ module Google
300
371
  class SocialMetaTagInfo
301
372
  include Google::Apis::Core::Hashable
302
373
 
303
- # A short description of the link. Optional.
304
- # Corresponds to the JSON property `socialDescription`
305
- # @return [String]
306
- attr_accessor :social_description
307
-
308
374
  # Title to be displayed. Optional.
309
375
  # Corresponds to the JSON property `socialTitle`
310
376
  # @return [String]
@@ -315,42 +381,10 @@ module Google
315
381
  # @return [String]
316
382
  attr_accessor :social_image_link
317
383
 
318
- def initialize(**args)
319
- update!(**args)
320
- end
321
-
322
- # Update properties of this object
323
- def update!(**args)
324
- @social_description = args[:social_description] if args.key?(:social_description)
325
- @social_title = args[:social_title] if args.key?(:social_title)
326
- @social_image_link = args[:social_image_link] if args.key?(:social_image_link)
327
- end
328
- end
329
-
330
- # Android related attributes to the Dynamic Link.
331
- class AndroidInfo
332
- include Google::Apis::Core::Hashable
333
-
334
- # If specified, this overrides the ‘link’ parameter on Android.
335
- # Corresponds to the JSON property `androidLink`
336
- # @return [String]
337
- attr_accessor :android_link
338
-
339
- # Link to open on Android if the app is not installed.
340
- # Corresponds to the JSON property `androidFallbackLink`
341
- # @return [String]
342
- attr_accessor :android_fallback_link
343
-
344
- # Android package name of the app.
345
- # Corresponds to the JSON property `androidPackageName`
346
- # @return [String]
347
- attr_accessor :android_package_name
348
-
349
- # Minimum version code for the Android app. If the installed app’s version
350
- # code is lower, then the user is taken to the Play Store.
351
- # Corresponds to the JSON property `androidMinPackageVersionCode`
384
+ # A short description of the link. Optional.
385
+ # Corresponds to the JSON property `socialDescription`
352
386
  # @return [String]
353
- attr_accessor :android_min_package_version_code
387
+ attr_accessor :social_description
354
388
 
355
389
  def initialize(**args)
356
390
  update!(**args)
@@ -358,10 +392,9 @@ module Google
358
392
 
359
393
  # Update properties of this object
360
394
  def update!(**args)
361
- @android_link = args[:android_link] if args.key?(:android_link)
362
- @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link)
363
- @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
364
- @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
395
+ @social_title = args[:social_title] if args.key?(:social_title)
396
+ @social_image_link = args[:social_image_link] if args.key?(:social_image_link)
397
+ @social_description = args[:social_description] if args.key?(:social_description)
365
398
  end
366
399
  end
367
400
 
@@ -369,37 +402,15 @@ module Google
369
402
  class DynamicLinkWarning
370
403
  include Google::Apis::Core::Hashable
371
404
 
372
- # The warning code.
373
- # Corresponds to the JSON property `warningCode`
374
- # @return [String]
375
- attr_accessor :warning_code
376
-
377
405
  # The warning message to help developers improve their requests.
378
406
  # Corresponds to the JSON property `warningMessage`
379
407
  # @return [String]
380
408
  attr_accessor :warning_message
381
409
 
382
- def initialize(**args)
383
- update!(**args)
384
- end
385
-
386
- # Update properties of this object
387
- def update!(**args)
388
- @warning_code = args[:warning_code] if args.key?(:warning_code)
389
- @warning_message = args[:warning_message] if args.key?(:warning_message)
390
- end
391
- end
392
-
393
- # Information of navigation behavior.
394
- class NavigationInfo
395
- include Google::Apis::Core::Hashable
396
-
397
- # If this option is on, FDL click will be forced to redirect rather than
398
- # show an interstitial page.
399
- # Corresponds to the JSON property `enableForcedRedirect`
400
- # @return [Boolean]
401
- attr_accessor :enable_forced_redirect
402
- alias_method :enable_forced_redirect?, :enable_forced_redirect
410
+ # The warning code.
411
+ # Corresponds to the JSON property `warningCode`
412
+ # @return [String]
413
+ attr_accessor :warning_code
403
414
 
404
415
  def initialize(**args)
405
416
  update!(**args)
@@ -407,45 +418,35 @@ module Google
407
418
 
408
419
  # Update properties of this object
409
420
  def update!(**args)
410
- @enable_forced_redirect = args[:enable_forced_redirect] if args.key?(:enable_forced_redirect)
421
+ @warning_message = args[:warning_message] if args.key?(:warning_message)
422
+ @warning_code = args[:warning_code] if args.key?(:warning_code)
411
423
  end
412
424
  end
413
425
 
414
- # iOS related attributes to the Dynamic Link..
415
- class IosInfo
426
+ # Android related attributes to the Dynamic Link.
427
+ class AndroidInfo
416
428
  include Google::Apis::Core::Hashable
417
429
 
418
- # If specified, this overrides the ios_fallback_link value on iPads.
419
- # Corresponds to the JSON property `iosIpadFallbackLink`
420
- # @return [String]
421
- attr_accessor :ios_ipad_fallback_link
422
-
423
- # iPad bundle ID of the app.
424
- # Corresponds to the JSON property `iosIpadBundleId`
425
- # @return [String]
426
- attr_accessor :ios_ipad_bundle_id
427
-
428
- # Custom (destination) scheme to use for iOS. By default, we’ll use the
429
- # bundle ID as the custom scheme. Developer can override this behavior using
430
- # this param.
431
- # Corresponds to the JSON property `iosCustomScheme`
430
+ # If specified, this overrides the ‘link’ parameter on Android.
431
+ # Corresponds to the JSON property `androidLink`
432
432
  # @return [String]
433
- attr_accessor :ios_custom_scheme
433
+ attr_accessor :android_link
434
434
 
435
- # iOS bundle ID of the app.
436
- # Corresponds to the JSON property `iosBundleId`
435
+ # Link to open on Android if the app is not installed.
436
+ # Corresponds to the JSON property `androidFallbackLink`
437
437
  # @return [String]
438
- attr_accessor :ios_bundle_id
438
+ attr_accessor :android_fallback_link
439
439
 
440
- # Link to open on iOS if the app is not installed.
441
- # Corresponds to the JSON property `iosFallbackLink`
440
+ # Android package name of the app.
441
+ # Corresponds to the JSON property `androidPackageName`
442
442
  # @return [String]
443
- attr_accessor :ios_fallback_link
443
+ attr_accessor :android_package_name
444
444
 
445
- # iOS App Store ID.
446
- # Corresponds to the JSON property `iosAppStoreId`
445
+ # Minimum version code for the Android app. If the installed app’s version
446
+ # code is lower, then the user is taken to the Play Store.
447
+ # Corresponds to the JSON property `androidMinPackageVersionCode`
447
448
  # @return [String]
448
- attr_accessor :ios_app_store_id
449
+ attr_accessor :android_min_package_version_code
449
450
 
450
451
  def initialize(**args)
451
452
  update!(**args)
@@ -453,12 +454,10 @@ module Google
453
454
 
454
455
  # Update properties of this object
455
456
  def update!(**args)
456
- @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link)
457
- @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id)
458
- @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme)
459
- @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
460
- @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link)
461
- @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id)
457
+ @android_link = args[:android_link] if args.key?(:android_link)
458
+ @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link)
459
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
460
+ @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code)
462
461
  end
463
462
  end
464
463
  end