google-api-client 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +75 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
  9. data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +71 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
  13. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  14. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  15. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
  16. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
  18. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
  19. data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +1 -46
  22. data/generated/google/apis/appengine_v1/representations.rb +0 -17
  23. data/generated/google/apis/appengine_v1/service.rb +5 -1
  24. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  25. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
  26. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
  27. data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
  28. data/generated/google/apis/appengine_v1beta.rb +1 -1
  29. data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
  30. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  31. data/generated/google/apis/appengine_v1beta/service.rb +5 -1
  32. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
  34. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
  37. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +41 -24
  40. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  41. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
  43. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
  44. data/generated/google/apis/calendar_v3.rb +1 -1
  45. data/generated/google/apis/calendar_v3/service.rb +15 -3
  46. data/generated/google/apis/classroom_v1.rb +4 -1
  47. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
  51. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
  53. data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
  54. data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
  55. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  56. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
  57. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
  59. data/generated/google/apis/cloudiot_v1.rb +1 -1
  60. data/generated/google/apis/cloudiot_v1/service.rb +7 -3
  61. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
  64. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  65. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
  66. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  67. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
  68. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +143 -83
  71. data/generated/google/apis/compute_alpha/representations.rb +50 -30
  72. data/generated/google/apis/compute_alpha/service.rb +171 -5
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +47 -43
  75. data/generated/google/apis/compute_beta/representations.rb +1 -2
  76. data/generated/google/apis/compute_beta/service.rb +60 -5
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +1326 -168
  79. data/generated/google/apis/compute_v1/representations.rb +402 -0
  80. data/generated/google/apis/compute_v1/service.rb +751 -5
  81. data/generated/google/apis/container_v1beta1.rb +1 -1
  82. data/generated/google/apis/content_v2.rb +1 -1
  83. data/generated/google/apis/content_v2/classes.rb +23 -16
  84. data/generated/google/apis/content_v2/service.rb +142 -162
  85. data/generated/google/apis/content_v2sandbox.rb +1 -1
  86. data/generated/google/apis/content_v2sandbox/service.rb +43 -43
  87. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  88. data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
  89. data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
  90. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  91. data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
  92. data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
  93. data/generated/google/apis/datastore_v1.rb +1 -1
  94. data/generated/google/apis/datastore_v1/classes.rb +39 -60
  95. data/generated/google/apis/datastore_v1/representations.rb +27 -0
  96. data/generated/google/apis/datastore_v1/service.rb +34 -0
  97. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  98. data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
  99. data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
  100. data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
  103. data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
  104. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  105. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  106. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  107. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  108. data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
  109. data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
  110. data/generated/google/apis/dns_v1beta2.rb +43 -0
  111. data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
  112. data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
  113. data/generated/google/apis/dns_v1beta2/service.rb +769 -0
  114. data/generated/google/apis/drive_v2.rb +1 -1
  115. data/generated/google/apis/drive_v2/classes.rb +6 -0
  116. data/generated/google/apis/drive_v2/representations.rb +2 -0
  117. data/generated/google/apis/drive_v2/service.rb +51 -8
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +6 -0
  120. data/generated/google/apis/drive_v3/representations.rb +2 -0
  121. data/generated/google/apis/drive_v3/service.rb +45 -7
  122. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  123. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
  124. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
  125. data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
  126. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
  127. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  131. data/generated/google/apis/firebaserules_v1/service.rb +37 -0
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
  134. data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
  135. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  136. data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
  137. data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
  138. data/generated/google/apis/iam_v1.rb +1 -1
  139. data/generated/google/apis/iam_v1/classes.rb +5 -7
  140. data/generated/google/apis/language_v1.rb +1 -1
  141. data/generated/google/apis/language_v1/classes.rb +78 -0
  142. data/generated/google/apis/language_v1/representations.rb +45 -0
  143. data/generated/google/apis/language_v1/service.rb +30 -0
  144. data/generated/google/apis/language_v1beta2.rb +1 -1
  145. data/generated/google/apis/language_v1beta2/classes.rb +3 -1
  146. data/generated/google/apis/logging_v2.rb +1 -1
  147. data/generated/google/apis/logging_v2/classes.rb +9 -0
  148. data/generated/google/apis/logging_v2/representations.rb +1 -0
  149. data/generated/google/apis/logging_v2/service.rb +517 -0
  150. data/generated/google/apis/logging_v2beta1.rb +1 -1
  151. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  152. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  153. data/generated/google/apis/manufacturers_v1.rb +1 -1
  154. data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
  155. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  156. data/generated/google/apis/ml_v1.rb +1 -1
  157. data/generated/google/apis/ml_v1/classes.rb +22 -6
  158. data/generated/google/apis/ml_v1/service.rb +8 -2
  159. data/generated/google/apis/monitoring_v3.rb +1 -1
  160. data/generated/google/apis/monitoring_v3/classes.rb +358 -0
  161. data/generated/google/apis/monitoring_v3/representations.rb +145 -0
  162. data/generated/google/apis/monitoring_v3/service.rb +229 -0
  163. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  164. data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
  165. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  166. data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
  167. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  168. data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
  169. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  170. data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
  171. data/generated/google/apis/partners_v2.rb +1 -1
  172. data/generated/google/apis/partners_v2/classes.rb +7 -60
  173. data/generated/google/apis/partners_v2/representations.rb +1 -0
  174. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  175. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  176. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
  177. data/generated/google/apis/script_v1.rb +2 -2
  178. data/generated/google/apis/script_v1/classes.rb +57 -51
  179. data/generated/google/apis/script_v1/representations.rb +0 -1
  180. data/generated/google/apis/script_v1/service.rb +2 -2
  181. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  182. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
  183. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  184. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
  185. data/generated/google/apis/serviceuser_v1.rb +1 -1
  186. data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
  187. data/generated/google/apis/sheets_v4.rb +1 -1
  188. data/generated/google/apis/sheets_v4/classes.rb +1 -2
  189. data/generated/google/apis/slides_v1.rb +1 -1
  190. data/generated/google/apis/slides_v1/classes.rb +505 -11
  191. data/generated/google/apis/slides_v1/representations.rb +220 -0
  192. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  193. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  194. data/generated/google/apis/speech_v1.rb +1 -1
  195. data/generated/google/apis/speech_v1/classes.rb +10 -1
  196. data/generated/google/apis/speech_v1/representations.rb +1 -0
  197. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  198. data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
  199. data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
  200. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  201. data/generated/google/apis/storage_v1.rb +1 -1
  202. data/generated/google/apis/storage_v1/service.rb +51 -72
  203. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  204. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
  205. data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
  206. data/generated/google/apis/testing_v1.rb +1 -1
  207. data/generated/google/apis/testing_v1/classes.rb +8 -3
  208. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  209. data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
  210. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  211. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  212. data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
  213. data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
  214. data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
  215. data/google-api-client.gemspec +1 -1
  216. data/lib/google/apis/generator/model.rb +9 -3
  217. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  218. data/lib/google/apis/version.rb +1 -1
  219. metadata +14 -12
  220. data/generated/google/apis/playmoviespartner_v1.rb +0 -34
  221. data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
  222. data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
  223. data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
  224. data/generated/google/apis/qpx_express_v1.rb +0 -31
  225. data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
  226. data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
  227. data/generated/google/apis/qpx_express_v1/service.rb +0 -101
@@ -49,7 +49,7 @@ module Google
49
49
 
50
50
  # Creates new workflow template.
51
51
  # @param [String] parent
52
- # Required The "resource name" of the region, as described in https://cloud.
52
+ # Required. The "resource name" of the region, as described in https://cloud.
53
53
  # google.com/apis/design/resource_names of the form projects/`project_id`/
54
54
  # regions/`region`
55
55
  # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
@@ -84,11 +84,11 @@ module Google
84
84
 
85
85
  # Deletes a workflow template. It does not cancel in-progress workflows.
86
86
  # @param [String] name
87
- # Required The "resource name" of the workflow template, as described in https://
88
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
87
+ # Required. The "resource name" of the workflow template, as described in https:/
88
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
89
89
  # regions/`region`/workflowTemplates/`template_id`
90
90
  # @param [Fixnum] version
91
- # Optional The version of workflow template to delete. If specified, will only
91
+ # Optional. The version of workflow template to delete. If specified, will only
92
92
  # delete the template if the current server version matches specified version.
93
93
  # @param [String] fields
94
94
  # Selector specifying which fields to include in a partial response.
@@ -121,11 +121,11 @@ module Google
121
121
  # Retrieves the latest workflow template.Can retrieve previously instantiated
122
122
  # template by specifying optional version parameter.
123
123
  # @param [String] name
124
- # Required The "resource name" of the workflow template, as described in https://
125
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
124
+ # Required. The "resource name" of the workflow template, as described in https:/
125
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
126
126
  # regions/`region`/workflowTemplates/`template_id`
127
127
  # @param [Fixnum] version
128
- # Optional The version of workflow template to retrieve. Only previously
128
+ # Optional. The version of workflow template to retrieve. Only previously
129
129
  # instatiated versions can be retrieved.If unspecified, retrieves the current
130
130
  # version.
131
131
  # @param [String] fields
@@ -165,8 +165,8 @@ module Google
165
165
  # WorkflowMetadata.The google.cloud.dataproc.v1beta2.Operation.result will
166
166
  # always be google.protobuf.Empty.
167
167
  # @param [String] name
168
- # Required The "resource name" of the workflow template, as described in https://
169
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
168
+ # Required. The "resource name" of the workflow template, as described in https:/
169
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
170
170
  # regions/`region`/workflowTemplates/`template_id`
171
171
  # @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
172
172
  # @param [String] fields
@@ -200,14 +200,14 @@ module Google
200
200
 
201
201
  # Lists workflows that match the specified filter in the request.
202
202
  # @param [String] parent
203
- # Required The "resource name" of the region, as described in https://cloud.
203
+ # Required. The "resource name" of the region, as described in https://cloud.
204
204
  # google.com/apis/design/resource_names of the form projects/`project_id`/
205
205
  # regions/`region`
206
206
  # @param [Fixnum] page_size
207
- # Optional The maximum number of results to return in each response.
207
+ # Optional. The maximum number of results to return in each response.
208
208
  # @param [String] page_token
209
- # Optional The page token, returned by a previous call, to request the next page
210
- # of results.
209
+ # Optional. The page token, returned by a previous call, to request the next
210
+ # page of results.
211
211
  # @param [String] fields
212
212
  # Selector specifying which fields to include in a partial response.
213
213
  # @param [String] quota_user
@@ -240,8 +240,8 @@ module Google
240
240
  # Updates (replaces) workflow template. The updated template must contain
241
241
  # version that matches the current server version.
242
242
  # @param [String] name
243
- # Output-only The "resource name" of the template, as described in https://cloud.
244
- # google.com/apis/design/resource_names of the form projects/`project_id`/
243
+ # Output only. The "resource name" of the template, as described in https://
244
+ # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
245
245
  # regions/`region`/workflowTemplates/`template_id`
246
246
  # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
247
247
  # @param [String] fields
@@ -1064,7 +1064,7 @@ module Google
1064
1064
 
1065
1065
  # Creates new workflow template.
1066
1066
  # @param [String] parent
1067
- # Required The "resource name" of the region, as described in https://cloud.
1067
+ # Required. The "resource name" of the region, as described in https://cloud.
1068
1068
  # google.com/apis/design/resource_names of the form projects/`project_id`/
1069
1069
  # regions/`region`
1070
1070
  # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
@@ -1099,11 +1099,11 @@ module Google
1099
1099
 
1100
1100
  # Deletes a workflow template. It does not cancel in-progress workflows.
1101
1101
  # @param [String] name
1102
- # Required The "resource name" of the workflow template, as described in https://
1103
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1102
+ # Required. The "resource name" of the workflow template, as described in https:/
1103
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1104
1104
  # regions/`region`/workflowTemplates/`template_id`
1105
1105
  # @param [Fixnum] version
1106
- # Optional The version of workflow template to delete. If specified, will only
1106
+ # Optional. The version of workflow template to delete. If specified, will only
1107
1107
  # delete the template if the current server version matches specified version.
1108
1108
  # @param [String] fields
1109
1109
  # Selector specifying which fields to include in a partial response.
@@ -1136,11 +1136,11 @@ module Google
1136
1136
  # Retrieves the latest workflow template.Can retrieve previously instantiated
1137
1137
  # template by specifying optional version parameter.
1138
1138
  # @param [String] name
1139
- # Required The "resource name" of the workflow template, as described in https://
1140
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1139
+ # Required. The "resource name" of the workflow template, as described in https:/
1140
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1141
1141
  # regions/`region`/workflowTemplates/`template_id`
1142
1142
  # @param [Fixnum] version
1143
- # Optional The version of workflow template to retrieve. Only previously
1143
+ # Optional. The version of workflow template to retrieve. Only previously
1144
1144
  # instatiated versions can be retrieved.If unspecified, retrieves the current
1145
1145
  # version.
1146
1146
  # @param [String] fields
@@ -1180,8 +1180,8 @@ module Google
1180
1180
  # WorkflowMetadata.The google.cloud.dataproc.v1beta2.Operation.result will
1181
1181
  # always be google.protobuf.Empty.
1182
1182
  # @param [String] name
1183
- # Required The "resource name" of the workflow template, as described in https://
1184
- # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1183
+ # Required. The "resource name" of the workflow template, as described in https:/
1184
+ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1185
1185
  # regions/`region`/workflowTemplates/`template_id`
1186
1186
  # @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
1187
1187
  # @param [String] fields
@@ -1215,14 +1215,14 @@ module Google
1215
1215
 
1216
1216
  # Lists workflows that match the specified filter in the request.
1217
1217
  # @param [String] parent
1218
- # Required The "resource name" of the region, as described in https://cloud.
1218
+ # Required. The "resource name" of the region, as described in https://cloud.
1219
1219
  # google.com/apis/design/resource_names of the form projects/`project_id`/
1220
1220
  # regions/`region`
1221
1221
  # @param [Fixnum] page_size
1222
- # Optional The maximum number of results to return in each response.
1222
+ # Optional. The maximum number of results to return in each response.
1223
1223
  # @param [String] page_token
1224
- # Optional The page token, returned by a previous call, to request the next page
1225
- # of results.
1224
+ # Optional. The page token, returned by a previous call, to request the next
1225
+ # page of results.
1226
1226
  # @param [String] fields
1227
1227
  # Selector specifying which fields to include in a partial response.
1228
1228
  # @param [String] quota_user
@@ -1255,8 +1255,8 @@ module Google
1255
1255
  # Updates (replaces) workflow template. The updated template must contain
1256
1256
  # version that matches the current server version.
1257
1257
  # @param [String] name
1258
- # Output-only The "resource name" of the template, as described in https://cloud.
1259
- # google.com/apis/design/resource_names of the form projects/`project_id`/
1258
+ # Output only. The "resource name" of the template, as described in https://
1259
+ # cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
1260
1260
  # regions/`region`/workflowTemplates/`template_id`
1261
1261
  # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
1262
1262
  # @param [String] fields
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170904'
29
+ REVISION = '20171024'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -877,36 +877,6 @@ module Google
877
877
  # specified otherwise, this must conform to the
878
878
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
879
879
  # standard</a>. Values must be within normalized ranges.
880
- # Example of normalization code in Python:
881
- # def NormalizeLongitude(longitude):
882
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
883
- # q, r = divmod(longitude, 360.0)
884
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
885
- # return r - 360.0
886
- # return r
887
- # def NormalizeLatLng(latitude, longitude):
888
- # """Wraps decimal degrees latitude and longitude to
889
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
890
- # r = latitude % 360.0
891
- # if r <= 90.0:
892
- # return r, NormalizeLongitude(longitude)
893
- # elif r >= 270.0:
894
- # return r - 360, NormalizeLongitude(longitude)
895
- # else:
896
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
897
- # assert 180.0 == NormalizeLongitude(180.0)
898
- # assert -180.0 == NormalizeLongitude(-180.0)
899
- # assert -179.0 == NormalizeLongitude(181.0)
900
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
901
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
902
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
903
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
904
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
905
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
906
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
907
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
908
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
909
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
910
880
  class LatLng
911
881
  include Google::Apis::Core::Hashable
912
882
 
@@ -1475,6 +1445,45 @@ module Google
1475
1445
  end
1476
1446
  end
1477
1447
 
1448
+ # The request for Datastore.ReserveIds.
1449
+ class ReserveIdsRequest
1450
+ include Google::Apis::Core::Hashable
1451
+
1452
+ # If not empty, the ID of the database against which to make the request.
1453
+ # Corresponds to the JSON property `databaseId`
1454
+ # @return [String]
1455
+ attr_accessor :database_id
1456
+
1457
+ # A list of keys with complete key paths whose numeric IDs should not be
1458
+ # auto-allocated.
1459
+ # Corresponds to the JSON property `keys`
1460
+ # @return [Array<Google::Apis::DatastoreV1::Key>]
1461
+ attr_accessor :keys
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @database_id = args[:database_id] if args.key?(:database_id)
1470
+ @keys = args[:keys] if args.key?(:keys)
1471
+ end
1472
+ end
1473
+
1474
+ # The response for Datastore.ReserveIds.
1475
+ class ReserveIdsResponse
1476
+ include Google::Apis::Core::Hashable
1477
+
1478
+ def initialize(**args)
1479
+ update!(**args)
1480
+ end
1481
+
1482
+ # Update properties of this object
1483
+ def update!(**args)
1484
+ end
1485
+ end
1486
+
1478
1487
  # The request for Datastore.Rollback.
1479
1488
  class RollbackRequest
1480
1489
  include Google::Apis::Core::Hashable
@@ -1737,36 +1746,6 @@ module Google
1737
1746
  # specified otherwise, this must conform to the
1738
1747
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
1739
1748
  # standard</a>. Values must be within normalized ranges.
1740
- # Example of normalization code in Python:
1741
- # def NormalizeLongitude(longitude):
1742
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
1743
- # q, r = divmod(longitude, 360.0)
1744
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
1745
- # return r - 360.0
1746
- # return r
1747
- # def NormalizeLatLng(latitude, longitude):
1748
- # """Wraps decimal degrees latitude and longitude to
1749
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
1750
- # r = latitude % 360.0
1751
- # if r <= 90.0:
1752
- # return r, NormalizeLongitude(longitude)
1753
- # elif r >= 270.0:
1754
- # return r - 360, NormalizeLongitude(longitude)
1755
- # else:
1756
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
1757
- # assert 180.0 == NormalizeLongitude(180.0)
1758
- # assert -180.0 == NormalizeLongitude(-180.0)
1759
- # assert -179.0 == NormalizeLongitude(181.0)
1760
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
1761
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
1762
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
1763
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
1764
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
1765
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
1766
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
1767
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
1768
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
1769
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
1770
1749
  # Corresponds to the JSON property `geoPointValue`
1771
1750
  # @return [Google::Apis::DatastoreV1::LatLng]
1772
1751
  attr_accessor :geo_point_value
@@ -262,6 +262,18 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class ReserveIdsRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ReserveIdsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class RollbackRequest
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -692,6 +704,21 @@ module Google
692
704
  end
693
705
  end
694
706
 
707
+ class ReserveIdsRequest
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :database_id, as: 'databaseId'
711
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
712
+
713
+ end
714
+ end
715
+
716
+ class ReserveIdsResponse
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ end
720
+ end
721
+
695
722
  class RollbackRequest
696
723
  # @private
697
724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -182,6 +182,40 @@ module Google
182
182
  execute_or_queue_command(command, &block)
183
183
  end
184
184
 
185
+ # Prevents the supplied keys' IDs from being auto-allocated by Cloud
186
+ # Datastore.
187
+ # @param [String] project_id
188
+ # The ID of the project against which to make the request.
189
+ # @param [Google::Apis::DatastoreV1::ReserveIdsRequest] reserve_ids_request_object
190
+ # @param [String] fields
191
+ # Selector specifying which fields to include in a partial response.
192
+ # @param [String] quota_user
193
+ # Available to use for quota purposes for server-side applications. Can be any
194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
195
+ # @param [Google::Apis::RequestOptions] options
196
+ # Request-specific options
197
+ #
198
+ # @yield [result, err] Result & error if block supplied
199
+ # @yieldparam result [Google::Apis::DatastoreV1::ReserveIdsResponse] parsed result object
200
+ # @yieldparam err [StandardError] error object if request failed
201
+ #
202
+ # @return [Google::Apis::DatastoreV1::ReserveIdsResponse]
203
+ #
204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
207
+ def reserve_project_ids(project_id, reserve_ids_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
208
+ command = make_simple_command(:post, 'v1/projects/{projectId}:reserveIds', options)
209
+ command.request_representation = Google::Apis::DatastoreV1::ReserveIdsRequest::Representation
210
+ command.request_object = reserve_ids_request_object
211
+ command.response_representation = Google::Apis::DatastoreV1::ReserveIdsResponse::Representation
212
+ command.response_class = Google::Apis::DatastoreV1::ReserveIdsResponse
213
+ command.params['projectId'] = project_id unless project_id.nil?
214
+ command.query['fields'] = fields unless fields.nil?
215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
216
+ execute_or_queue_command(command, &block)
217
+ end
218
+
185
219
  # Rolls back a transaction.
186
220
  # @param [String] project_id
187
221
  # The ID of the project against which to make the request.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta3
28
28
  VERSION = 'V1beta3'
29
- REVISION = '20170904'
29
+ REVISION = '20171024'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -736,36 +736,6 @@ module Google
736
736
  # specified otherwise, this must conform to the
737
737
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
738
738
  # standard</a>. Values must be within normalized ranges.
739
- # Example of normalization code in Python:
740
- # def NormalizeLongitude(longitude):
741
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
742
- # q, r = divmod(longitude, 360.0)
743
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
744
- # return r - 360.0
745
- # return r
746
- # def NormalizeLatLng(latitude, longitude):
747
- # """Wraps decimal degrees latitude and longitude to
748
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
749
- # r = latitude % 360.0
750
- # if r <= 90.0:
751
- # return r, NormalizeLongitude(longitude)
752
- # elif r >= 270.0:
753
- # return r - 360, NormalizeLongitude(longitude)
754
- # else:
755
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
756
- # assert 180.0 == NormalizeLongitude(180.0)
757
- # assert -180.0 == NormalizeLongitude(-180.0)
758
- # assert -179.0 == NormalizeLongitude(181.0)
759
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
760
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
761
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
762
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
763
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
764
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
765
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
766
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
767
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
768
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
769
739
  class LatLng
770
740
  include Google::Apis::Core::Hashable
771
741
 
@@ -1334,6 +1304,45 @@ module Google
1334
1304
  end
1335
1305
  end
1336
1306
 
1307
+ # The request for Datastore.ReserveIds.
1308
+ class ReserveIdsRequest
1309
+ include Google::Apis::Core::Hashable
1310
+
1311
+ # If not empty, the ID of the database against which to make the request.
1312
+ # Corresponds to the JSON property `databaseId`
1313
+ # @return [String]
1314
+ attr_accessor :database_id
1315
+
1316
+ # A list of keys with complete key paths whose numeric IDs should not be
1317
+ # auto-allocated.
1318
+ # Corresponds to the JSON property `keys`
1319
+ # @return [Array<Google::Apis::DatastoreV1beta3::Key>]
1320
+ attr_accessor :keys
1321
+
1322
+ def initialize(**args)
1323
+ update!(**args)
1324
+ end
1325
+
1326
+ # Update properties of this object
1327
+ def update!(**args)
1328
+ @database_id = args[:database_id] if args.key?(:database_id)
1329
+ @keys = args[:keys] if args.key?(:keys)
1330
+ end
1331
+ end
1332
+
1333
+ # The response for Datastore.ReserveIds.
1334
+ class ReserveIdsResponse
1335
+ include Google::Apis::Core::Hashable
1336
+
1337
+ def initialize(**args)
1338
+ update!(**args)
1339
+ end
1340
+
1341
+ # Update properties of this object
1342
+ def update!(**args)
1343
+ end
1344
+ end
1345
+
1337
1346
  # The request for Datastore.Rollback.
1338
1347
  class RollbackRequest
1339
1348
  include Google::Apis::Core::Hashable
@@ -1524,36 +1533,6 @@ module Google
1524
1533
  # specified otherwise, this must conform to the
1525
1534
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
1526
1535
  # standard</a>. Values must be within normalized ranges.
1527
- # Example of normalization code in Python:
1528
- # def NormalizeLongitude(longitude):
1529
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
1530
- # q, r = divmod(longitude, 360.0)
1531
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
1532
- # return r - 360.0
1533
- # return r
1534
- # def NormalizeLatLng(latitude, longitude):
1535
- # """Wraps decimal degrees latitude and longitude to
1536
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
1537
- # r = latitude % 360.0
1538
- # if r <= 90.0:
1539
- # return r, NormalizeLongitude(longitude)
1540
- # elif r >= 270.0:
1541
- # return r - 360, NormalizeLongitude(longitude)
1542
- # else:
1543
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
1544
- # assert 180.0 == NormalizeLongitude(180.0)
1545
- # assert -180.0 == NormalizeLongitude(-180.0)
1546
- # assert -179.0 == NormalizeLongitude(181.0)
1547
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
1548
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
1549
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
1550
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
1551
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
1552
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
1553
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
1554
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
1555
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
1556
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
1557
1536
  # Corresponds to the JSON property `geoPointValue`
1558
1537
  # @return [Google::Apis::DatastoreV1beta3::LatLng]
1559
1538
  attr_accessor :geo_point_value