google-api-client 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. checksums.yaml +4 -4
  2. data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
  4. data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
  5. data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
  6. data/.kokoro/build.bat +8 -0
  7. data/.kokoro/build.sh +36 -0
  8. data/.kokoro/common.cfg +22 -0
  9. data/.kokoro/continuous/common.cfg +20 -0
  10. data/.kokoro/continuous/linux.cfg +15 -0
  11. data/.kokoro/continuous/osx.cfg +3 -0
  12. data/.kokoro/continuous/windows.cfg +3 -0
  13. data/.kokoro/osx.sh +35 -0
  14. data/.kokoro/presubmit/common.cfg +19 -0
  15. data/.kokoro/presubmit/linux.cfg +14 -0
  16. data/.kokoro/presubmit/osx.cfg +3 -0
  17. data/.kokoro/presubmit/windows.cfg +3 -0
  18. data/.kokoro/trampoline.sh +24 -0
  19. data/.kokoro/windows.sh +32 -0
  20. data/CHANGELOG.md +83 -0
  21. data/Gemfile +2 -2
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  24. data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
  25. data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
  26. data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
  27. data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
  28. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  29. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
  30. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
  31. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
  36. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  37. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  40. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  41. data/generated/google/apis/appengine_v1.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/bigquery_v2.rb +1 -1
  44. data/generated/google/apis/bigquery_v2/classes.rb +87 -29
  45. data/generated/google/apis/bigquery_v2/representations.rb +21 -0
  46. data/generated/google/apis/bigquery_v2/service.rb +7 -9
  47. data/generated/google/apis/calendar_v3.rb +2 -2
  48. data/generated/google/apis/calendar_v3/classes.rb +14 -6
  49. data/generated/google/apis/classroom_v1.rb +1 -1
  50. data/generated/google/apis/classroom_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
  53. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
  58. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
  60. data/generated/google/apis/cloudiot_v1.rb +1 -1
  61. data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
  62. data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
  63. data/generated/google/apis/cloudiot_v1/service.rb +172 -2
  64. data/generated/google/apis/cloudkms_v1.rb +1 -1
  65. data/generated/google/apis/cloudkms_v1/service.rb +107 -0
  66. data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
  67. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
  68. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
  69. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
  70. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  71. data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
  72. data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
  73. data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +9 -0
  76. data/generated/google/apis/composer_v1/representations.rb +1 -0
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +938 -117
  79. data/generated/google/apis/compute_alpha/representations.rb +310 -2
  80. data/generated/google/apis/compute_alpha/service.rb +1203 -245
  81. data/generated/google/apis/compute_beta.rb +1 -1
  82. data/generated/google/apis/compute_beta/classes.rb +1175 -219
  83. data/generated/google/apis/compute_beta/representations.rb +375 -2
  84. data/generated/google/apis/compute_beta/service.rb +907 -139
  85. data/generated/google/apis/compute_v1.rb +1 -1
  86. data/generated/google/apis/compute_v1/classes.rb +1485 -143
  87. data/generated/google/apis/compute_v1/representations.rb +503 -0
  88. data/generated/google/apis/compute_v1/service.rb +1375 -85
  89. data/generated/google/apis/container_v1.rb +3 -3
  90. data/generated/google/apis/container_v1/classes.rb +99 -6
  91. data/generated/google/apis/container_v1/representations.rb +39 -0
  92. data/generated/google/apis/container_v1/service.rb +2 -2
  93. data/generated/google/apis/container_v1beta1.rb +3 -3
  94. data/generated/google/apis/container_v1beta1/classes.rb +162 -9
  95. data/generated/google/apis/container_v1beta1/representations.rb +80 -0
  96. data/generated/google/apis/container_v1beta1/service.rb +3 -3
  97. data/generated/google/apis/content_v2.rb +1 -1
  98. data/generated/google/apis/content_v2/classes.rb +40 -32
  99. data/generated/google/apis/content_v2/representations.rb +0 -1
  100. data/generated/google/apis/content_v2/service.rb +3 -3
  101. data/generated/google/apis/content_v2_1.rb +35 -0
  102. data/generated/google/apis/content_v2_1/classes.rb +9104 -0
  103. data/generated/google/apis/content_v2_1/representations.rb +3967 -0
  104. data/generated/google/apis/content_v2_1/service.rb +3463 -0
  105. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  106. data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
  107. data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
  108. data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
  109. data/generated/google/apis/dataproc_v1.rb +1 -1
  110. data/generated/google/apis/dataproc_v1/classes.rb +15 -1
  111. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  112. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  113. data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
  114. data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
  117. data/generated/google/apis/dialogflow_v2/service.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
  122. data/generated/google/apis/dlp_v2.rb +1 -1
  123. data/generated/google/apis/dlp_v2/classes.rb +4 -4
  124. data/generated/google/apis/dns_v1beta2.rb +1 -1
  125. data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
  126. data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
  127. data/generated/google/apis/dns_v1beta2/service.rb +246 -0
  128. data/generated/google/apis/drive_v2.rb +3 -3
  129. data/generated/google/apis/drive_v3.rb +3 -3
  130. data/generated/google/apis/driveactivity_v2.rb +37 -0
  131. data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
  132. data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
  133. data/generated/google/apis/driveactivity_v2/service.rb +89 -0
  134. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  135. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
  136. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  137. data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
  138. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
  139. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
  140. data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
  141. data/generated/google/apis/firestore_v1.rb +1 -1
  142. data/generated/google/apis/firestore_v1/classes.rb +2225 -520
  143. data/generated/google/apis/firestore_v1/representations.rb +800 -33
  144. data/generated/google/apis/firestore_v1/service.rb +526 -0
  145. data/generated/google/apis/fitness_v1.rb +1 -1
  146. data/generated/google/apis/fitness_v1/classes.rb +1 -2
  147. data/generated/google/apis/fitness_v1/service.rb +7 -3
  148. data/generated/google/apis/games_management_v1management.rb +1 -4
  149. data/generated/google/apis/games_v1.rb +1 -4
  150. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  151. data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
  152. data/generated/google/apis/gmail_v1.rb +2 -2
  153. data/generated/google/apis/iap_v1.rb +34 -0
  154. data/generated/google/apis/iap_v1/classes.rb +308 -0
  155. data/generated/google/apis/iap_v1/representations.rb +126 -0
  156. data/generated/google/apis/iap_v1/service.rb +725 -0
  157. data/generated/google/apis/iap_v1beta1.rb +1 -1
  158. data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
  159. data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
  160. data/generated/google/apis/jobs_v2.rb +1 -1
  161. data/generated/google/apis/jobs_v2/classes.rb +8 -9
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +6 -6
  164. data/generated/google/apis/jobs_v3/service.rb +8 -8
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
  167. data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +20 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  171. data/generated/google/apis/monitoring_v3/service.rb +0 -365
  172. data/generated/google/apis/pagespeedonline_v5.rb +32 -0
  173. data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
  174. data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
  175. data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
  176. data/generated/google/apis/people_v1.rb +3 -3
  177. data/generated/google/apis/pubsub_v1.rb +1 -1
  178. data/generated/google/apis/pubsub_v1/classes.rb +63 -12
  179. data/generated/google/apis/pubsub_v1/representations.rb +15 -0
  180. data/generated/google/apis/pubsub_v1/service.rb +26 -18
  181. data/generated/google/apis/redis_v1.rb +2 -3
  182. data/generated/google/apis/redis_v1/service.rb +1 -2
  183. data/generated/google/apis/redis_v1beta1.rb +2 -3
  184. data/generated/google/apis/redis_v1beta1/service.rb +1 -2
  185. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  186. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  187. data/generated/google/apis/script_v1.rb +24 -6
  188. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  189. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
  190. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  191. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
  192. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  194. data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
  195. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
  198. data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
  199. data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
  200. data/generated/google/apis/serviceusage_v1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  203. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  204. data/generated/google/apis/sheets_v4.rb +4 -4
  205. data/generated/google/apis/slides_v1.rb +4 -4
  206. data/generated/google/apis/slides_v1/classes.rb +187 -2
  207. data/generated/google/apis/slides_v1/representations.rb +67 -0
  208. data/generated/google/apis/slides_v1/service.rb +4 -3
  209. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  210. data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
  211. data/generated/google/apis/speech_v1.rb +1 -1
  212. data/generated/google/apis/speech_v1/classes.rb +58 -10
  213. data/generated/google/apis/speech_v1/representations.rb +29 -1
  214. data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
  215. data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
  216. data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
  217. data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
  218. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  219. data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
  220. data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
  221. data/generated/google/apis/storage_v1.rb +1 -1
  222. data/generated/google/apis/storage_v1/classes.rb +54 -0
  223. data/generated/google/apis/storage_v1/representations.rb +31 -0
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
  226. data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
  227. data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
  228. data/generated/google/apis/tasks_v1.rb +1 -1
  229. data/generated/google/apis/testing_v1.rb +1 -1
  230. data/generated/google/apis/testing_v1/classes.rb +49 -19
  231. data/generated/google/apis/testing_v1/representations.rb +20 -2
  232. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  233. data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
  234. data/generated/google/apis/vault_v1.rb +1 -1
  235. data/generated/google/apis/vault_v1/classes.rb +78 -7
  236. data/generated/google/apis/vault_v1/representations.rb +34 -1
  237. data/generated/google/apis/vault_v1/service.rb +141 -0
  238. data/generated/google/apis/vision_v1.rb +1 -1
  239. data/generated/google/apis/vision_v1/classes.rb +33 -0
  240. data/generated/google/apis/vision_v1/representations.rb +16 -0
  241. data/generated/google/apis/vision_v1/service.rb +2 -2
  242. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  243. data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
  244. data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
  245. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  246. data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
  247. data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
  248. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  249. data/google-api-client.gemspec +1 -1
  250. data/lib/google/api_client/auth/installed_app.rb +17 -2
  251. data/lib/google/api_client/client_secrets.rb +1 -1
  252. data/lib/google/apis/core/download.rb +2 -2
  253. data/lib/google/apis/errors.rb +9 -0
  254. data/lib/google/apis/generator/annotator.rb +2 -2
  255. data/lib/google/apis/version.rb +1 -1
  256. metadata +46 -17
  257. data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
  258. data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
  259. data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
  260. data/generated/google/apis/dfareporting_v3_0.rb +0 -40
  261. data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
  262. data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
  263. data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
  264. data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
  265. data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class SearchRangeRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class Service
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -484,6 +490,7 @@ module Google
484
490
  property :network, as: 'network'
485
491
  property :peering, as: 'peering'
486
492
  collection :reserved_peering_ranges, as: 'reservedPeeringRanges'
493
+ property :service, as: 'service'
487
494
  end
488
495
  end
489
496
 
@@ -842,6 +849,14 @@ module Google
842
849
  end
843
850
  end
844
851
 
852
+ class SearchRangeRequest
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :ip_prefix_length, as: 'ipPrefixLength'
856
+ property :network, as: 'network'
857
+ end
858
+ end
859
+
845
860
  class Service
846
861
  # @private
847
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -80,25 +80,25 @@ module Google
80
80
  execute_or_queue_command(command, &block)
81
81
  end
82
82
 
83
- # Service producers use this method to provision a new subnet in
84
- # peered service shared VPC network.
85
- # It will validate previously provided allocated ranges, find
86
- # non-conflicting sub-range of requested size (expressed in
87
- # number of leading bits of ipv4 network mask, as in CIDR range
88
- # notation). It will then create a subnetwork in the request
89
- # region. The subsequent call will try to reuse the
90
- # subnetwork previously created if subnetwork name, region and
91
- # prefix length of the IP range match.
92
- # Operation<response: Subnetwork>
83
+ # For service producers, provisions a new subnet in a
84
+ # peered service's shared VPC network in the requested region and with the
85
+ # requested size that's expressed as a CIDR range (number of leading bits of
86
+ # ipV4 network mask). The method checks against the assigned allocated ranges
87
+ # to find a non-conflicting IP address range. The method will reuse a subnet
88
+ # if subsequent calls contain the same subnet name, region, prefix length.
89
+ # This method will make producer's tenant project to be a shared VPC service
90
+ # project as needed.
91
+ # The response from the `get` operation will be of type `Subnetwork` if the
92
+ # operation successfully completes.
93
93
  # @param [String] parent
94
- # Required. This is a 'tenant' project in the service producer organization.
95
- # services/`service`/`collection-id`/`resource-id`
96
- # `collection id` is the cloud resource collection type representing the
97
- # tenant project. Only 'projects' are currently supported.
98
- # `resource id` is the tenant project numeric id: '123456'.
99
- # `service` the name of the peering service, for example
100
- # 'service-peering.example.com'. This service must be activated.
101
- # in the consumer project.
94
+ # Required. A tenant project in the service producer organization, in the
95
+ # following format: services/`service`/`collection-id`/`resource-id`.
96
+ # `collection-id` is the cloud resource collection type that represents the
97
+ # tenant project. Only `projects` are supported.
98
+ # `resource-id` is the tenant project numeric id, such as
99
+ # `123456`. `service` the name of the peering service, such as
100
+ # `service-peering.example.com`. This service must already be
101
+ # enabled in the service consumer's project.
102
102
  # @param [Google::Apis::ServicenetworkingV1beta::AddSubnetworkRequest] add_subnetwork_request_object
103
103
  # @param [String] fields
104
104
  # Selector specifying which fields to include in a partial response.
@@ -129,20 +129,107 @@ module Google
129
129
  execute_or_queue_command(command, &block)
130
130
  end
131
131
 
132
- # To connect service to a VPC network peering connection
133
- # must be established prior to service provisioning.
134
- # This method must be invoked by the consumer VPC network administrator
135
- # It will establish a permanent peering connection with a shared
136
- # network created in the service producer organization and register a
137
- # allocated IP range(s) to be used for service subnetwork provisioning.
138
- # This connection will be used for all supported services in the service
139
- # producer organization, so it only needs to be invoked once.
140
- # Operation<response: Connection>.
132
+ # Updates the allocated ranges that are assigned to a connection.
133
+ # The response from the `get` operation will be of type `Connection` if the
134
+ # operation successfully completes.
135
+ # @param [String] name
136
+ # The service producer peering service that is managing peering connectivity
137
+ # for a service producer organization.
138
+ # For Google services that support this functionality, this is
139
+ # `services/servicenetworking.googleapis.com`.
140
+ # @param [Google::Apis::ServicenetworkingV1beta::Connection] connection_object
141
+ # @param [Boolean] force
142
+ # If a previously defined allocated range is removed, force flag must be
143
+ # set to true.
144
+ # @param [String] update_mask
145
+ # The update mask. If this is omitted, it defaults to "*". You can only
146
+ # update the listed peering ranges.
147
+ # @param [String] fields
148
+ # Selector specifying which fields to include in a partial response.
149
+ # @param [String] quota_user
150
+ # Available to use for quota purposes for server-side applications. Can be any
151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
152
+ # @param [Google::Apis::RequestOptions] options
153
+ # Request-specific options
154
+ #
155
+ # @yield [result, err] Result & error if block supplied
156
+ # @yieldparam result [Google::Apis::ServicenetworkingV1beta::Operation] parsed result object
157
+ # @yieldparam err [StandardError] error object if request failed
158
+ #
159
+ # @return [Google::Apis::ServicenetworkingV1beta::Operation]
160
+ #
161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
164
+ def patch_service(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
165
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
166
+ command.request_representation = Google::Apis::ServicenetworkingV1beta::Connection::Representation
167
+ command.request_object = connection_object
168
+ command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
169
+ command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
170
+ command.params['name'] = name unless name.nil?
171
+ command.query['force'] = force unless force.nil?
172
+ command.query['updateMask'] = update_mask unless update_mask.nil?
173
+ command.query['fields'] = fields unless fields.nil?
174
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
175
+ execute_or_queue_command(command, &block)
176
+ end
177
+
178
+ # Service producers can use this method to find a currently unused range
179
+ # within consumer allocated ranges. This returned range is not reserved,
180
+ # and not guaranteed to remain unused.
181
+ # It will validate previously provided allocated ranges, find
182
+ # non-conflicting sub-range of requested size (expressed in
183
+ # number of leading bits of ipv4 network mask, as in CIDR range
184
+ # notation).
185
+ # Operation<response: Range>
186
+ # @param [String] parent
187
+ # Required. This is in a form services/`service`.
188
+ # `service` the name of the private access management service, for example
189
+ # 'service-peering.example.com'.
190
+ # @param [Google::Apis::ServicenetworkingV1beta::SearchRangeRequest] search_range_request_object
191
+ # @param [String] fields
192
+ # Selector specifying which fields to include in a partial response.
193
+ # @param [String] quota_user
194
+ # Available to use for quota purposes for server-side applications. Can be any
195
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
196
+ # @param [Google::Apis::RequestOptions] options
197
+ # Request-specific options
198
+ #
199
+ # @yield [result, err] Result & error if block supplied
200
+ # @yieldparam result [Google::Apis::ServicenetworkingV1beta::Operation] parsed result object
201
+ # @yieldparam err [StandardError] error object if request failed
202
+ #
203
+ # @return [Google::Apis::ServicenetworkingV1beta::Operation]
204
+ #
205
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
206
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
208
+ def search_service_range(parent, search_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
209
+ command = make_simple_command(:post, 'v1beta/{+parent}:searchRange', options)
210
+ command.request_representation = Google::Apis::ServicenetworkingV1beta::SearchRangeRequest::Representation
211
+ command.request_object = search_range_request_object
212
+ command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
213
+ command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
214
+ command.params['parent'] = parent unless parent.nil?
215
+ command.query['fields'] = fields unless fields.nil?
216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
217
+ execute_or_queue_command(command, &block)
218
+ end
219
+
220
+ # Creates a private connection that establishes a VPC Network Peering
221
+ # connection to a VPC network in the service producer's organization.
222
+ # The administrator of the service consumer's VPC network invokes this
223
+ # method. The administrator must assign one or more allocated IP ranges for
224
+ # provisioning subnetworks in the service producer's VPC network. This
225
+ # connection is used for all supported services in the service producer's
226
+ # organization, so it only needs to be invoked once. The response from the
227
+ # `get` operation will be of type `Connection` if the operation successfully
228
+ # completes.
141
229
  # @param [String] parent
142
- # Provider peering service that is managing peering connectivity for a
143
- # service provider organization.
144
- # For Google services that support this functionality it is
145
- # 'services/servicenetworking.googleapis.com'.
230
+ # The service that is managing peering connectivity for a service producer's
231
+ # organization. For Google services that support this functionality, this
232
+ # value is `services/servicenetworking.googleapis.com`.
146
233
  # @param [Google::Apis::ServicenetworkingV1beta::Connection] connection_object
147
234
  # @param [String] fields
148
235
  # Selector specifying which fields to include in a partial response.
@@ -173,20 +260,22 @@ module Google
173
260
  execute_or_queue_command(command, &block)
174
261
  end
175
262
 
176
- # Service consumers use this method to list configured peering connection for
177
- # the given service and consumer network.
263
+ # List the private connections that are configured in a service consumer's
264
+ # VPC network.
178
265
  # @param [String] parent
179
- # Provider peering service that is managing peering connectivity for a
180
- # service provider organization.
181
- # For Google services that support this functionality it is
182
- # 'services/servicenetworking.googleapis.com'.
266
+ # The service that is managing peering connectivity for a service producer's
267
+ # organization. For Google services that support this functionality, this
268
+ # value is `services/servicenetworking.googleapis.com`.
269
+ # If you specify `-` as the parameter value, all configured public peering
270
+ # services are listed.
183
271
  # @param [String] network
184
- # Network name in the consumer project. This network must have been
185
- # already peered with a shared VPC network using CreateConnection
186
- # method.
187
- # Must be in a form 'projects/`project`/global/networks/`network`'.
188
- # `project` is a project number, as in '12345'
189
- # `network` is network name.
272
+ # The name of service consumer's VPC network that's connected with service
273
+ # producer network through a private connection. The network name must be in
274
+ # the following format:
275
+ # `projects/`project`/global/networks/`network``. `project` is a
276
+ # project number, such as in `12345` that includes the VPC service
277
+ # consumer's VPC network. `network` is the name of the service consumer's VPC
278
+ # network.
190
279
  # @param [String] fields
191
280
  # Selector specifying which fields to include in a partial response.
192
281
  # @param [String] quota_user
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20181030'
30
+ REVISION = '20181205'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -125,7 +125,7 @@ module Google
125
125
  # @return [String]
126
126
  attr_accessor :audiences
127
127
 
128
- # Redirect URL if JWT token is required but no present or is expired.
128
+ # Redirect URL if JWT token is required but not present or is expired.
129
129
  # Implement authorizationUrl of securityDefinitions in OpenAPI spec.
130
130
  # Corresponds to the JSON property `authorizationUrl`
131
131
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20181030'
30
+ REVISION = '20181205'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -125,7 +125,7 @@ module Google
125
125
  # @return [String]
126
126
  attr_accessor :audiences
127
127
 
128
- # Redirect URL if JWT token is required but no present or is expired.
128
+ # Redirect URL if JWT token is required but not present or is expired.
129
129
  # Implement authorizationUrl of securityDefinitions in OpenAPI spec.
130
130
  # Corresponds to the JSON property `authorizationUrl`
131
131
  # @return [String]
@@ -25,18 +25,18 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20180727'
28
+ REVISION = '20181116'
29
29
 
30
- # View and manage the files in your Google Drive
30
+ # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
32
32
 
33
33
  # View and manage Google Drive files and folders that you have opened or created with this app
34
34
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
35
35
 
36
- # View the files in your Google Drive
36
+ # See and download all your Google Drive files
37
37
  AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
38
38
 
39
- # View and manage your spreadsheets in Google Drive
39
+ # See, edit, create, and delete your spreadsheets in Google Drive
40
40
  AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
41
41
 
42
42
  # View your Google Spreadsheets
@@ -25,15 +25,15 @@ module Google
25
25
  # @see https://developers.google.com/slides/
26
26
  module SlidesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181030'
28
+ REVISION = '20181127'
29
29
 
30
- # View and manage the files in your Google Drive
30
+ # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
32
32
 
33
33
  # View and manage Google Drive files and folders that you have opened or created with this app
34
34
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
35
35
 
36
- # View the files in your Google Drive
36
+ # See and download all your Google Drive files
37
37
  AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
38
38
 
39
39
  # View and manage your Google Slides presentations
@@ -42,7 +42,7 @@ module Google
42
42
  # View your Google Slides presentations
43
43
  AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly'
44
44
 
45
- # View and manage your spreadsheets in Google Drive
45
+ # See, edit, create, and delete your spreadsheets in Google Drive
46
46
  AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
47
47
 
48
48
  # View your Google Spreadsheets
@@ -361,6 +361,19 @@ module Google
361
361
  class CreateLineRequest
362
362
  include Google::Apis::Core::Hashable
363
363
 
364
+ # The category of the line to be created.
365
+ # The exact line type created is
366
+ # determined based on the category and how it's routed to connect to other
367
+ # page elements.
368
+ # If you specify both a `category` and a `line_category`, the `category`
369
+ # takes precedence.
370
+ # If you do not specify a value for `category`, but specify a value for
371
+ # `line_category`, then the specified `line_category` value is used.
372
+ # If you do not specify either, then STRAIGHT is used.
373
+ # Corresponds to the JSON property `category`
374
+ # @return [String]
375
+ attr_accessor :category
376
+
364
377
  # Common properties for a page element.
365
378
  # Note: When you initially create a
366
379
  # PageElement, the API may modify
@@ -370,7 +383,13 @@ module Google
370
383
  # @return [Google::Apis::SlidesV1::PageElementProperties]
371
384
  attr_accessor :element_properties
372
385
 
373
- # The category of line to be created.
386
+ # The category of the line to be created.
387
+ # <b>Deprecated</b>: use `category` instead.
388
+ # The exact line type created is
389
+ # determined based on the category and how it's routed to connect to other
390
+ # page elements.
391
+ # If you specify both a `category` and a `line_category`, the `category`
392
+ # takes precedence.
374
393
  # Corresponds to the JSON property `lineCategory`
375
394
  # @return [String]
376
395
  attr_accessor :line_category
@@ -393,6 +412,7 @@ module Google
393
412
 
394
413
  # Update properties of this object
395
414
  def update!(**args)
415
+ @category = args[:category] if args.key?(:category)
396
416
  @element_properties = args[:element_properties] if args.key?(:element_properties)
397
417
  @line_category = args[:line_category] if args.key?(:line_category)
398
418
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@@ -1546,6 +1566,14 @@ module Google
1546
1566
  class Line
1547
1567
  include Google::Apis::Core::Hashable
1548
1568
 
1569
+ # The category of the line.
1570
+ # It matches the `category` specified in CreateLineRequest, and can be updated
1571
+ # with
1572
+ # UpdateLineCategoryRequest.
1573
+ # Corresponds to the JSON property `lineCategory`
1574
+ # @return [String]
1575
+ attr_accessor :line_category
1576
+
1549
1577
  # The properties of the Line.
1550
1578
  # When unset, these fields default to values that match the appearance of
1551
1579
  # new lines created in the Slides editor.
@@ -1564,11 +1592,49 @@ module Google
1564
1592
 
1565
1593
  # Update properties of this object
1566
1594
  def update!(**args)
1595
+ @line_category = args[:line_category] if args.key?(:line_category)
1567
1596
  @line_properties = args[:line_properties] if args.key?(:line_properties)
1568
1597
  @line_type = args[:line_type] if args.key?(:line_type)
1569
1598
  end
1570
1599
  end
1571
1600
 
1601
+ # The properties for one end of a Line
1602
+ # connection.
1603
+ class LineConnection
1604
+ include Google::Apis::Core::Hashable
1605
+
1606
+ # The object ID of the connected page element.
1607
+ # Some page elements, such as groups, tables, and lines
1608
+ # do not have connection sites and therefore cannot be connected to a
1609
+ # connector line.
1610
+ # Corresponds to the JSON property `connectedObjectId`
1611
+ # @return [String]
1612
+ attr_accessor :connected_object_id
1613
+
1614
+ # The index of the connection site on the connected page element.
1615
+ # In most cases, it corresponds to the predefined connection site index from
1616
+ # the ECMA-376 standard. More information on those connection sites can be
1617
+ # found in the description of the "cnx" attribute in section 20.1.9.9 and
1618
+ # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open
1619
+ # XML File Formats-Fundamentals and Markup Language Reference", part 1 of
1620
+ # [ECMA-376 5th edition]
1621
+ # (http://www.ecma-international.org/publications/standards/Ecma-376.htm).
1622
+ # The position of each connection site can also be viewed from Slides editor.
1623
+ # Corresponds to the JSON property `connectionSiteIndex`
1624
+ # @return [Fixnum]
1625
+ attr_accessor :connection_site_index
1626
+
1627
+ def initialize(**args)
1628
+ update!(**args)
1629
+ end
1630
+
1631
+ # Update properties of this object
1632
+ def update!(**args)
1633
+ @connected_object_id = args[:connected_object_id] if args.key?(:connected_object_id)
1634
+ @connection_site_index = args[:connection_site_index] if args.key?(:connection_site_index)
1635
+ end
1636
+ end
1637
+
1572
1638
  # The fill of the line.
1573
1639
  class LineFill
1574
1640
  include Google::Apis::Core::Hashable
@@ -1607,6 +1673,12 @@ module Google
1607
1673
  # @return [String]
1608
1674
  attr_accessor :end_arrow
1609
1675
 
1676
+ # The properties for one end of a Line
1677
+ # connection.
1678
+ # Corresponds to the JSON property `endConnection`
1679
+ # @return [Google::Apis::SlidesV1::LineConnection]
1680
+ attr_accessor :end_connection
1681
+
1610
1682
  # The fill of the line.
1611
1683
  # Corresponds to the JSON property `lineFill`
1612
1684
  # @return [Google::Apis::SlidesV1::LineFill]
@@ -1622,6 +1694,12 @@ module Google
1622
1694
  # @return [String]
1623
1695
  attr_accessor :start_arrow
1624
1696
 
1697
+ # The properties for one end of a Line
1698
+ # connection.
1699
+ # Corresponds to the JSON property `startConnection`
1700
+ # @return [Google::Apis::SlidesV1::LineConnection]
1701
+ attr_accessor :start_connection
1702
+
1625
1703
  # A magnitude in a single direction in the specified units.
1626
1704
  # Corresponds to the JSON property `weight`
1627
1705
  # @return [Google::Apis::SlidesV1::Dimension]
@@ -1635,9 +1713,11 @@ module Google
1635
1713
  def update!(**args)
1636
1714
  @dash_style = args[:dash_style] if args.key?(:dash_style)
1637
1715
  @end_arrow = args[:end_arrow] if args.key?(:end_arrow)
1716
+ @end_connection = args[:end_connection] if args.key?(:end_connection)
1638
1717
  @line_fill = args[:line_fill] if args.key?(:line_fill)
1639
1718
  @link = args[:link] if args.key?(:link)
1640
1719
  @start_arrow = args[:start_arrow] if args.key?(:start_arrow)
1720
+ @start_connection = args[:start_connection] if args.key?(:start_connection)
1641
1721
  @weight = args[:weight] if args.key?(:weight)
1642
1722
  end
1643
1723
  end
@@ -2614,7 +2694,7 @@ module Google
2614
2694
  attr_accessor :page_object_ids
2615
2695
 
2616
2696
  # The replace method.
2617
- # Deprecated: use `image_replace_method` instead.
2697
+ # <b>Deprecated</b>: use `image_replace_method` instead.
2618
2698
  # If you specify both a `replace_method` and an `image_replace_method`, the
2619
2699
  # `image_replace_method` takes precedence.
2620
2700
  # Corresponds to the JSON property `replaceMethod`
@@ -2972,6 +3052,12 @@ module Google
2972
3052
  # @return [Google::Apis::SlidesV1::ReplaceImageRequest]
2973
3053
  attr_accessor :replace_image
2974
3054
 
3055
+ # Reroutes a line such that it's connected at the
3056
+ # two closest connection sites on the connected page elements.
3057
+ # Corresponds to the JSON property `rerouteLine`
3058
+ # @return [Google::Apis::SlidesV1::RerouteLineRequest]
3059
+ attr_accessor :reroute_line
3060
+
2975
3061
  # Ungroups objects, such as groups.
2976
3062
  # Corresponds to the JSON property `ungroupObjects`
2977
3063
  # @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
@@ -2987,6 +3073,11 @@ module Google
2987
3073
  # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
2988
3074
  attr_accessor :update_image_properties
2989
3075
 
3076
+ # Updates the category of a line.
3077
+ # Corresponds to the JSON property `updateLineCategory`
3078
+ # @return [Google::Apis::SlidesV1::UpdateLineCategoryRequest]
3079
+ attr_accessor :update_line_category
3080
+
2990
3081
  # Updates the properties of a Line.
2991
3082
  # Corresponds to the JSON property `updateLineProperties`
2992
3083
  # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
@@ -3006,6 +3097,13 @@ module Google
3006
3097
  # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest]
3007
3098
  attr_accessor :update_page_element_transform
3008
3099
 
3100
+ # Updates the Z-order of page elements. Z-order is an ordering of the elements
3101
+ # on the page from back to front. The page element in the front may cover the
3102
+ # elements that are behind it.
3103
+ # Corresponds to the JSON property `updatePageElementsZOrder`
3104
+ # @return [Google::Apis::SlidesV1::UpdatePageElementsZOrderRequest]
3105
+ attr_accessor :update_page_elements_z_order
3106
+
3009
3107
  # Updates the properties of a Page.
3010
3108
  # Corresponds to the JSON property `updatePageProperties`
3011
3109
  # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest]
@@ -3088,12 +3186,15 @@ module Google
3088
3186
  @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
3089
3187
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
3090
3188
  @replace_image = args[:replace_image] if args.key?(:replace_image)
3189
+ @reroute_line = args[:reroute_line] if args.key?(:reroute_line)
3091
3190
  @ungroup_objects = args[:ungroup_objects] if args.key?(:ungroup_objects)
3092
3191
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
3093
3192
  @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
3193
+ @update_line_category = args[:update_line_category] if args.key?(:update_line_category)
3094
3194
  @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
3095
3195
  @update_page_element_alt_text = args[:update_page_element_alt_text] if args.key?(:update_page_element_alt_text)
3096
3196
  @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
3197
+ @update_page_elements_z_order = args[:update_page_elements_z_order] if args.key?(:update_page_elements_z_order)
3097
3198
  @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
3098
3199
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
3099
3200
  @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
@@ -3107,6 +3208,29 @@ module Google
3107
3208
  end
3108
3209
  end
3109
3210
 
3211
+ # Reroutes a line such that it's connected at the
3212
+ # two closest connection sites on the connected page elements.
3213
+ class RerouteLineRequest
3214
+ include Google::Apis::Core::Hashable
3215
+
3216
+ # The object ID of the line to reroute.
3217
+ # Only a line with a category
3218
+ # indicating it is a "connector" can be rerouted. The start and end
3219
+ # connections of the line must be on different page elements.
3220
+ # Corresponds to the JSON property `objectId`
3221
+ # @return [String]
3222
+ attr_accessor :object_id_prop
3223
+
3224
+ def initialize(**args)
3225
+ update!(**args)
3226
+ end
3227
+
3228
+ # Update properties of this object
3229
+ def update!(**args)
3230
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3231
+ end
3232
+ end
3233
+
3110
3234
  # A single response from an update.
3111
3235
  class Response
3112
3236
  include Google::Apis::Core::Hashable
@@ -4440,6 +4564,37 @@ module Google
4440
4564
  end
4441
4565
  end
4442
4566
 
4567
+ # Updates the category of a line.
4568
+ class UpdateLineCategoryRequest
4569
+ include Google::Apis::Core::Hashable
4570
+
4571
+ # The line category to update to.
4572
+ # The exact line type is determined based
4573
+ # on the category to update to and how it's routed to connect to other page
4574
+ # elements.
4575
+ # Corresponds to the JSON property `lineCategory`
4576
+ # @return [String]
4577
+ attr_accessor :line_category
4578
+
4579
+ # The object ID of the line the update is applied to.
4580
+ # Only a line with a category
4581
+ # indicating it is a "connector" can be updated.
4582
+ # The line may be rerouted after updating its category.
4583
+ # Corresponds to the JSON property `objectId`
4584
+ # @return [String]
4585
+ attr_accessor :object_id_prop
4586
+
4587
+ def initialize(**args)
4588
+ update!(**args)
4589
+ end
4590
+
4591
+ # Update properties of this object
4592
+ def update!(**args)
4593
+ @line_category = args[:line_category] if args.key?(:line_category)
4594
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4595
+ end
4596
+ end
4597
+
4443
4598
  # Updates the properties of a Line.
4444
4599
  class UpdateLinePropertiesRequest
4445
4600
  include Google::Apis::Core::Hashable
@@ -4560,6 +4715,36 @@ module Google
4560
4715
  end
4561
4716
  end
4562
4717
 
4718
+ # Updates the Z-order of page elements. Z-order is an ordering of the elements
4719
+ # on the page from back to front. The page element in the front may cover the
4720
+ # elements that are behind it.
4721
+ class UpdatePageElementsZOrderRequest
4722
+ include Google::Apis::Core::Hashable
4723
+
4724
+ # The Z-order operation to apply on the page elements.
4725
+ # When applying the operation on multiple page elements, the relative
4726
+ # Z-orders within these page elements before the operation is maintained.
4727
+ # Corresponds to the JSON property `operation`
4728
+ # @return [String]
4729
+ attr_accessor :operation
4730
+
4731
+ # The object IDs of the page elements to update.
4732
+ # All the page elements must be on the same page and must not be grouped.
4733
+ # Corresponds to the JSON property `pageElementObjectIds`
4734
+ # @return [Array<String>]
4735
+ attr_accessor :page_element_object_ids
4736
+
4737
+ def initialize(**args)
4738
+ update!(**args)
4739
+ end
4740
+
4741
+ # Update properties of this object
4742
+ def update!(**args)
4743
+ @operation = args[:operation] if args.key?(:operation)
4744
+ @page_element_object_ids = args[:page_element_object_ids] if args.key?(:page_element_object_ids)
4745
+ end
4746
+ end
4747
+
4563
4748
  # Updates the properties of a Page.
4564
4749
  class UpdatePagePropertiesRequest
4565
4750
  include Google::Apis::Core::Hashable