google-api-client 0.30.9 → 0.30.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/docs/
26
26
  module DocsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190724'
28
+ REVISION = '20190827'
29
29
 
30
30
  # View and manage your Google Docs documents
31
31
  AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
@@ -2353,6 +2353,35 @@ module Google
2353
2353
  end
2354
2354
  end
2355
2355
 
2356
+ # Merges cells in a Table.
2357
+ class MergeTableCellsRequest
2358
+ include Google::Apis::Core::Hashable
2359
+
2360
+ # A table range represents a reference to a subset of a table.
2361
+ # It's important to note that the cells specified by a table range do not
2362
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
2363
+ # where all the cells of the last row are merged together. The table looks
2364
+ # like this:
2365
+ #
2366
+ # [ ]
2367
+ # A table range with table cell location = (table_start_location, row = 0,
2368
+ # column = 0), row span = 3 and column span = 2 specifies the following cells:
2369
+ # x x
2370
+ # [ x x x ]
2371
+ # Corresponds to the JSON property `tableRange`
2372
+ # @return [Google::Apis::DocsV1::TableRange]
2373
+ attr_accessor :table_range
2374
+
2375
+ def initialize(**args)
2376
+ update!(**args)
2377
+ end
2378
+
2379
+ # Update properties of this object
2380
+ def update!(**args)
2381
+ @table_range = args[:table_range] if args.key?(:table_range)
2382
+ end
2383
+ end
2384
+
2356
2385
  # A collection of Ranges with the same named range
2357
2386
  # ID.
2358
2387
  # Named ranges allow developers to associate parts of a document with an
@@ -3638,6 +3667,45 @@ module Google
3638
3667
  end
3639
3668
  end
3640
3669
 
3670
+ # Replaces an existing image with a new image.
3671
+ # Replacing an image removes some image effects from the existing image in order
3672
+ # to
3673
+ # mirror the behavior of the Docs editor.
3674
+ class ReplaceImageRequest
3675
+ include Google::Apis::Core::Hashable
3676
+
3677
+ # The ID of the existing image that will be replaced.
3678
+ # Corresponds to the JSON property `imageObjectId`
3679
+ # @return [String]
3680
+ attr_accessor :image_object_id
3681
+
3682
+ # The replacement method.
3683
+ # Corresponds to the JSON property `imageReplaceMethod`
3684
+ # @return [String]
3685
+ attr_accessor :image_replace_method
3686
+
3687
+ # The URI of the new image.
3688
+ # The image is fetched once at insertion time and a copy is stored for
3689
+ # display inside the document. Images must be less than 50MB in size, cannot
3690
+ # exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format.
3691
+ # The provided URI can be at most 2 kB in length. The URI itself is saved
3692
+ # with the image, and exposed via the ImageProperties.source_uri field.
3693
+ # Corresponds to the JSON property `uri`
3694
+ # @return [String]
3695
+ attr_accessor :uri
3696
+
3697
+ def initialize(**args)
3698
+ update!(**args)
3699
+ end
3700
+
3701
+ # Update properties of this object
3702
+ def update!(**args)
3703
+ @image_object_id = args[:image_object_id] if args.key?(:image_object_id)
3704
+ @image_replace_method = args[:image_replace_method] if args.key?(:image_replace_method)
3705
+ @uri = args[:uri] if args.key?(:uri)
3706
+ end
3707
+ end
3708
+
3641
3709
  # A single update to apply to a document.
3642
3710
  class Request
3643
3711
  include Google::Apis::Core::Hashable
@@ -3725,11 +3793,29 @@ module Google
3725
3793
  # @return [Google::Apis::DocsV1::InsertTextRequest]
3726
3794
  attr_accessor :insert_text
3727
3795
 
3796
+ # Merges cells in a Table.
3797
+ # Corresponds to the JSON property `mergeTableCells`
3798
+ # @return [Google::Apis::DocsV1::MergeTableCellsRequest]
3799
+ attr_accessor :merge_table_cells
3800
+
3728
3801
  # Replaces all instances of text matching a criteria with replace text.
3729
3802
  # Corresponds to the JSON property `replaceAllText`
3730
3803
  # @return [Google::Apis::DocsV1::ReplaceAllTextRequest]
3731
3804
  attr_accessor :replace_all_text
3732
3805
 
3806
+ # Replaces an existing image with a new image.
3807
+ # Replacing an image removes some image effects from the existing image in order
3808
+ # to
3809
+ # mirror the behavior of the Docs editor.
3810
+ # Corresponds to the JSON property `replaceImage`
3811
+ # @return [Google::Apis::DocsV1::ReplaceImageRequest]
3812
+ attr_accessor :replace_image
3813
+
3814
+ # Unmerges cells in a Table.
3815
+ # Corresponds to the JSON property `unmergeTableCells`
3816
+ # @return [Google::Apis::DocsV1::UnmergeTableCellsRequest]
3817
+ attr_accessor :unmerge_table_cells
3818
+
3733
3819
  # Updates the DocumentStyle.
3734
3820
  # Corresponds to the JSON property `updateDocumentStyle`
3735
3821
  # @return [Google::Apis::DocsV1::UpdateDocumentStyleRequest]
@@ -3783,7 +3869,10 @@ module Google
3783
3869
  @insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
3784
3870
  @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row)
3785
3871
  @insert_text = args[:insert_text] if args.key?(:insert_text)
3872
+ @merge_table_cells = args[:merge_table_cells] if args.key?(:merge_table_cells)
3786
3873
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
3874
+ @replace_image = args[:replace_image] if args.key?(:replace_image)
3875
+ @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
3787
3876
  @update_document_style = args[:update_document_style] if args.key?(:update_document_style)
3788
3877
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
3789
3878
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
@@ -4646,6 +4735,8 @@ module Google
4646
4735
  end
4647
4736
 
4648
4737
  # A border around a table cell.
4738
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4739
+ # its width 0.
4649
4740
  class TableCellBorder
4650
4741
  include Google::Apis::Core::Hashable
4651
4742
 
@@ -4721,21 +4812,29 @@ module Google
4721
4812
  attr_accessor :background_color
4722
4813
 
4723
4814
  # A border around a table cell.
4815
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4816
+ # its width 0.
4724
4817
  # Corresponds to the JSON property `borderBottom`
4725
4818
  # @return [Google::Apis::DocsV1::TableCellBorder]
4726
4819
  attr_accessor :border_bottom
4727
4820
 
4728
4821
  # A border around a table cell.
4822
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4823
+ # its width 0.
4729
4824
  # Corresponds to the JSON property `borderLeft`
4730
4825
  # @return [Google::Apis::DocsV1::TableCellBorder]
4731
4826
  attr_accessor :border_left
4732
4827
 
4733
4828
  # A border around a table cell.
4829
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4830
+ # its width 0.
4734
4831
  # Corresponds to the JSON property `borderRight`
4735
4832
  # @return [Google::Apis::DocsV1::TableCellBorder]
4736
4833
  attr_accessor :border_right
4737
4834
 
4738
4835
  # A border around a table cell.
4836
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4837
+ # its width 0.
4739
4838
  # Corresponds to the JSON property `borderTop`
4740
4839
  # @return [Google::Apis::DocsV1::TableCellBorder]
4741
4840
  attr_accessor :border_top
@@ -5377,6 +5476,35 @@ module Google
5377
5476
  end
5378
5477
  end
5379
5478
 
5479
+ # Unmerges cells in a Table.
5480
+ class UnmergeTableCellsRequest
5481
+ include Google::Apis::Core::Hashable
5482
+
5483
+ # A table range represents a reference to a subset of a table.
5484
+ # It's important to note that the cells specified by a table range do not
5485
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
5486
+ # where all the cells of the last row are merged together. The table looks
5487
+ # like this:
5488
+ #
5489
+ # [ ]
5490
+ # A table range with table cell location = (table_start_location, row = 0,
5491
+ # column = 0), row span = 3 and column span = 2 specifies the following cells:
5492
+ # x x
5493
+ # [ x x x ]
5494
+ # Corresponds to the JSON property `tableRange`
5495
+ # @return [Google::Apis::DocsV1::TableRange]
5496
+ attr_accessor :table_range
5497
+
5498
+ def initialize(**args)
5499
+ update!(**args)
5500
+ end
5501
+
5502
+ # Update properties of this object
5503
+ def update!(**args)
5504
+ @table_range = args[:table_range] if args.key?(:table_range)
5505
+ end
5506
+ end
5507
+
5380
5508
  # Updates the DocumentStyle.
5381
5509
  class UpdateDocumentStyleRequest
5382
5510
  include Google::Apis::Core::Hashable
@@ -376,6 +376,12 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class MergeTableCellsRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
379
385
  class NamedRange
380
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
387
 
@@ -520,6 +526,12 @@ module Google
520
526
  include Google::Apis::Core::JsonObjectSupport
521
527
  end
522
528
 
529
+ class ReplaceImageRequest
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
523
535
  class Request
524
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
537
 
@@ -766,6 +778,12 @@ module Google
766
778
  include Google::Apis::Core::JsonObjectSupport
767
779
  end
768
780
 
781
+ class UnmergeTableCellsRequest
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
769
787
  class UpdateDocumentStyleRequest
770
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
789
 
@@ -1456,6 +1474,14 @@ module Google
1456
1474
  end
1457
1475
  end
1458
1476
 
1477
+ class MergeTableCellsRequest
1478
+ # @private
1479
+ class Representation < Google::Apis::Core::JsonRepresentation
1480
+ property :table_range, as: 'tableRange', class: Google::Apis::DocsV1::TableRange, decorator: Google::Apis::DocsV1::TableRange::Representation
1481
+
1482
+ end
1483
+ end
1484
+
1459
1485
  class NamedRange
1460
1486
  # @private
1461
1487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1772,6 +1798,15 @@ module Google
1772
1798
  end
1773
1799
  end
1774
1800
 
1801
+ class ReplaceImageRequest
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ property :image_object_id, as: 'imageObjectId'
1805
+ property :image_replace_method, as: 'imageReplaceMethod'
1806
+ property :uri, as: 'uri'
1807
+ end
1808
+ end
1809
+
1775
1810
  class Request
1776
1811
  # @private
1777
1812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1803,8 +1838,14 @@ module Google
1803
1838
 
1804
1839
  property :insert_text, as: 'insertText', class: Google::Apis::DocsV1::InsertTextRequest, decorator: Google::Apis::DocsV1::InsertTextRequest::Representation
1805
1840
 
1841
+ property :merge_table_cells, as: 'mergeTableCells', class: Google::Apis::DocsV1::MergeTableCellsRequest, decorator: Google::Apis::DocsV1::MergeTableCellsRequest::Representation
1842
+
1806
1843
  property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextRequest, decorator: Google::Apis::DocsV1::ReplaceAllTextRequest::Representation
1807
1844
 
1845
+ property :replace_image, as: 'replaceImage', class: Google::Apis::DocsV1::ReplaceImageRequest, decorator: Google::Apis::DocsV1::ReplaceImageRequest::Representation
1846
+
1847
+ property :unmerge_table_cells, as: 'unmergeTableCells', class: Google::Apis::DocsV1::UnmergeTableCellsRequest, decorator: Google::Apis::DocsV1::UnmergeTableCellsRequest::Representation
1848
+
1808
1849
  property :update_document_style, as: 'updateDocumentStyle', class: Google::Apis::DocsV1::UpdateDocumentStyleRequest, decorator: Google::Apis::DocsV1::UpdateDocumentStyleRequest::Representation
1809
1850
 
1810
1851
  property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
@@ -2271,6 +2312,14 @@ module Google
2271
2312
  end
2272
2313
  end
2273
2314
 
2315
+ class UnmergeTableCellsRequest
2316
+ # @private
2317
+ class Representation < Google::Apis::Core::JsonRepresentation
2318
+ property :table_range, as: 'tableRange', class: Google::Apis::DocsV1::TableRange, decorator: Google::Apis::DocsV1::TableRange::Representation
2319
+
2320
+ end
2321
+ end
2322
+
2274
2323
  class UpdateDocumentStyleRequest
2275
2324
  # @private
2276
2325
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12,23 +12,20 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/appstate_v1/service.rb'
16
- require 'google/apis/appstate_v1/classes.rb'
17
- require 'google/apis/appstate_v1/representations.rb'
15
+ require 'google/apis/domainsrdap_v1/service.rb'
16
+ require 'google/apis/domainsrdap_v1/classes.rb'
17
+ require 'google/apis/domainsrdap_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google App State API
21
+ # Domains RDAP API
22
22
  #
23
- # The Google App State API.
23
+ # Read-only public API that lets users search for information about domain names.
24
24
  #
25
- # @see https://developers.google.com/games/services/web/api/states
26
- module AppstateV1
25
+ # @see https://developers.google.com/domains/rdap/
26
+ module DomainsrdapV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180816'
29
-
30
- # View and manage your data for this application
31
- AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
28
+ REVISION = '20190826'
32
29
  end
33
30
  end
34
31
  end
@@ -0,0 +1,269 @@
1
+ # Copyright 2015 Google Inc.
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 DomainsrdapV1
24
+
25
+ # Message that represents an arbitrary HTTP body. It should only be used for
26
+ # payload formats that can't be represented as JSON, such as raw binary or
27
+ # an HTML page.
28
+ # This message can be used both in streaming and non-streaming API methods in
29
+ # the request as well as the response.
30
+ # It can be used as a top-level request field, which is convenient if one
31
+ # wants to extract parameters from either the URL or HTTP template into the
32
+ # request fields and also want access to the raw HTTP body.
33
+ # Example:
34
+ # message GetResourceRequest `
35
+ # // A unique request id.
36
+ # string request_id = 1;
37
+ # // The raw HTTP body is bound to this field.
38
+ # google.api.HttpBody http_body = 2;
39
+ # `
40
+ # service ResourceService `
41
+ # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
42
+ # rpc UpdateResource(google.api.HttpBody) returns
43
+ # (google.protobuf.Empty);
44
+ # `
45
+ # Example with streaming methods:
46
+ # service CaldavService `
47
+ # rpc GetCalendar(stream google.api.HttpBody)
48
+ # returns (stream google.api.HttpBody);
49
+ # rpc UpdateCalendar(stream google.api.HttpBody)
50
+ # returns (stream google.api.HttpBody);
51
+ # `
52
+ # Use of this type only changes how the request and response bodies are
53
+ # handled, all other features will continue to work unchanged.
54
+ class HttpBody
55
+ include Google::Apis::Core::Hashable
56
+
57
+ # The HTTP Content-Type header value specifying the content type of the body.
58
+ # Corresponds to the JSON property `contentType`
59
+ # @return [String]
60
+ attr_accessor :content_type
61
+
62
+ # The HTTP request/response body as raw binary.
63
+ # Corresponds to the JSON property `data`
64
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
65
+ # @return [String]
66
+ attr_accessor :data
67
+
68
+ # Application specific response metadata. Must be set in the first response
69
+ # for streaming APIs.
70
+ # Corresponds to the JSON property `extensions`
71
+ # @return [Array<Hash<String,Object>>]
72
+ attr_accessor :extensions
73
+
74
+ def initialize(**args)
75
+ update!(**args)
76
+ end
77
+
78
+ # Update properties of this object
79
+ def update!(**args)
80
+ @content_type = args[:content_type] if args.key?(:content_type)
81
+ @data = args[:data] if args.key?(:data)
82
+ @extensions = args[:extensions] if args.key?(:extensions)
83
+ end
84
+ end
85
+
86
+ # Links object defined in [section 4.2 of RFC
87
+ # 7483](https://tools.ietf.org/html/rfc7483#section-4.2).
88
+ class Link
89
+ include Google::Apis::Core::Hashable
90
+
91
+ # Target URL of a link. Example: "http://example.com/previous".
92
+ # Corresponds to the JSON property `href`
93
+ # @return [String]
94
+ attr_accessor :href
95
+
96
+ # Language code of a link. Example: "en".
97
+ # Corresponds to the JSON property `hreflang`
98
+ # @return [String]
99
+ attr_accessor :hreflang
100
+
101
+ # Media type of the link destination. Example: "screen".
102
+ # Corresponds to the JSON property `media`
103
+ # @return [String]
104
+ attr_accessor :media
105
+
106
+ # Relation type of a link. Example: "previous".
107
+ # Corresponds to the JSON property `rel`
108
+ # @return [String]
109
+ attr_accessor :rel
110
+
111
+ # Title of this link. Example: "title".
112
+ # Corresponds to the JSON property `title`
113
+ # @return [String]
114
+ attr_accessor :title
115
+
116
+ # Content type of the link. Example: "application/json".
117
+ # Corresponds to the JSON property `type`
118
+ # @return [String]
119
+ attr_accessor :type
120
+
121
+ # URL giving context for the link. Example: "http://example.com/current".
122
+ # Corresponds to the JSON property `value`
123
+ # @return [String]
124
+ attr_accessor :value
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @href = args[:href] if args.key?(:href)
133
+ @hreflang = args[:hreflang] if args.key?(:hreflang)
134
+ @media = args[:media] if args.key?(:media)
135
+ @rel = args[:rel] if args.key?(:rel)
136
+ @title = args[:title] if args.key?(:title)
137
+ @type = args[:type] if args.key?(:type)
138
+ @value = args[:value] if args.key?(:value)
139
+ end
140
+ end
141
+
142
+ # Notices object defined in [section 4.3 of RFC
143
+ # 7483](https://tools.ietf.org/html/rfc7483#section-4.3).
144
+ class Notice
145
+ include Google::Apis::Core::Hashable
146
+
147
+ # Description of the notice.
148
+ # Corresponds to the JSON property `description`
149
+ # @return [Array<String>]
150
+ attr_accessor :description
151
+
152
+ # Link to a document containing more information.
153
+ # Corresponds to the JSON property `links`
154
+ # @return [Array<Google::Apis::DomainsrdapV1::Link>]
155
+ attr_accessor :links
156
+
157
+ # Title of a notice. Example: "Terms of Service".
158
+ # Corresponds to the JSON property `title`
159
+ # @return [String]
160
+ attr_accessor :title
161
+
162
+ # Type values defined in [section 10.2.1 of RFC
163
+ # 7483](https://tools.ietf.org/html/rfc7483#section-10.2.1) specific to a
164
+ # whole response: "result set truncated due to authorization", "result set
165
+ # truncated due to excessive load", "result set truncated due to
166
+ # unexplainable reasons".
167
+ # Corresponds to the JSON property `type`
168
+ # @return [String]
169
+ attr_accessor :type
170
+
171
+ def initialize(**args)
172
+ update!(**args)
173
+ end
174
+
175
+ # Update properties of this object
176
+ def update!(**args)
177
+ @description = args[:description] if args.key?(:description)
178
+ @links = args[:links] if args.key?(:links)
179
+ @title = args[:title] if args.key?(:title)
180
+ @type = args[:type] if args.key?(:type)
181
+ end
182
+ end
183
+
184
+ # Response to a general RDAP query.
185
+ class RdapResponse
186
+ include Google::Apis::Core::Hashable
187
+
188
+ # Error description.
189
+ # Corresponds to the JSON property `description`
190
+ # @return [Array<String>]
191
+ attr_accessor :description
192
+
193
+ # Error HTTP code. Example: "501".
194
+ # Corresponds to the JSON property `errorCode`
195
+ # @return [Fixnum]
196
+ attr_accessor :error_code
197
+
198
+ # Message that represents an arbitrary HTTP body. It should only be used for
199
+ # payload formats that can't be represented as JSON, such as raw binary or
200
+ # an HTML page.
201
+ # This message can be used both in streaming and non-streaming API methods in
202
+ # the request as well as the response.
203
+ # It can be used as a top-level request field, which is convenient if one
204
+ # wants to extract parameters from either the URL or HTTP template into the
205
+ # request fields and also want access to the raw HTTP body.
206
+ # Example:
207
+ # message GetResourceRequest `
208
+ # // A unique request id.
209
+ # string request_id = 1;
210
+ # // The raw HTTP body is bound to this field.
211
+ # google.api.HttpBody http_body = 2;
212
+ # `
213
+ # service ResourceService `
214
+ # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
215
+ # rpc UpdateResource(google.api.HttpBody) returns
216
+ # (google.protobuf.Empty);
217
+ # `
218
+ # Example with streaming methods:
219
+ # service CaldavService `
220
+ # rpc GetCalendar(stream google.api.HttpBody)
221
+ # returns (stream google.api.HttpBody);
222
+ # rpc UpdateCalendar(stream google.api.HttpBody)
223
+ # returns (stream google.api.HttpBody);
224
+ # `
225
+ # Use of this type only changes how the request and response bodies are
226
+ # handled, all other features will continue to work unchanged.
227
+ # Corresponds to the JSON property `jsonResponse`
228
+ # @return [Google::Apis::DomainsrdapV1::HttpBody]
229
+ attr_accessor :json_response
230
+
231
+ # Error language code. Error response info fields are defined in [section 6
232
+ # of RFC 7483](https://tools.ietf.org/html/rfc7483#section-6).
233
+ # Corresponds to the JSON property `lang`
234
+ # @return [String]
235
+ attr_accessor :lang
236
+
237
+ # Notices applying to this response.
238
+ # Corresponds to the JSON property `notices`
239
+ # @return [Array<Google::Apis::DomainsrdapV1::Notice>]
240
+ attr_accessor :notices
241
+
242
+ # RDAP conformance level.
243
+ # Corresponds to the JSON property `rdapConformance`
244
+ # @return [Array<String>]
245
+ attr_accessor :rdap_conformance
246
+
247
+ # Error title.
248
+ # Corresponds to the JSON property `title`
249
+ # @return [String]
250
+ attr_accessor :title
251
+
252
+ def initialize(**args)
253
+ update!(**args)
254
+ end
255
+
256
+ # Update properties of this object
257
+ def update!(**args)
258
+ @description = args[:description] if args.key?(:description)
259
+ @error_code = args[:error_code] if args.key?(:error_code)
260
+ @json_response = args[:json_response] if args.key?(:json_response)
261
+ @lang = args[:lang] if args.key?(:lang)
262
+ @notices = args[:notices] if args.key?(:notices)
263
+ @rdap_conformance = args[:rdap_conformance] if args.key?(:rdap_conformance)
264
+ @title = args[:title] if args.key?(:title)
265
+ end
266
+ end
267
+ end
268
+ end
269
+ end