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
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class MaterializedViewDefinition
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class ModelDefinition
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -796,6 +802,8 @@ module Google
796
802
  property :null_marker, as: 'nullMarker'
797
803
  collection :projection_fields, as: 'projectionFields'
798
804
  property :quote, as: 'quote'
805
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
806
+
799
807
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
800
808
 
801
809
  property :schema_inline, as: 'schemaInline'
@@ -833,6 +841,8 @@ module Google
833
841
  property :query, as: 'query'
834
842
  collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
835
843
 
844
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
845
+
836
846
  collection :schema_update_options, as: 'schemaUpdateOptions'
837
847
  hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
838
848
 
@@ -947,6 +957,7 @@ module Google
947
957
 
948
958
  property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
949
959
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
960
+ property :total_bytes_processed_accuracy, as: 'totalBytesProcessedAccuracy'
950
961
  property :total_partitions_processed, :numeric_string => true, as: 'totalPartitionsProcessed'
951
962
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
952
963
  collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
@@ -991,6 +1002,14 @@ module Google
991
1002
  end
992
1003
  end
993
1004
 
1005
+ class MaterializedViewDefinition
1006
+ # @private
1007
+ class Representation < Google::Apis::Core::JsonRepresentation
1008
+ property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
1009
+ property :query, as: 'query'
1010
+ end
1011
+ end
1012
+
994
1013
  class ModelDefinition
995
1014
  # @private
996
1015
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1182,6 +1201,8 @@ module Google
1182
1201
  hash :labels, as: 'labels'
1183
1202
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1184
1203
  property :location, as: 'location'
1204
+ property :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedViewDefinition, decorator: Google::Apis::BigqueryV2::MaterializedViewDefinition::Representation
1205
+
1185
1206
  property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
1186
1207
 
1187
1208
  property :num_bytes, :numeric_string => true, as: 'numBytes'
@@ -304,9 +304,8 @@ module Google
304
304
  # @param [String] job_id
305
305
  # [Required] Job ID of the job to cancel
306
306
  # @param [String] location
307
- # [Experimental] The geographic location of the job. Required except for US and
308
- # EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#
309
- # specifying_your_location.
307
+ # The geographic location of the job. Required except for US and EU. See details
308
+ # at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
310
309
  # @param [String] fields
311
310
  # Selector specifying which fields to include in a partial response.
312
311
  # @param [String] quota_user
@@ -347,9 +346,8 @@ module Google
347
346
  # @param [String] job_id
348
347
  # [Required] Job ID of the requested job
349
348
  # @param [String] location
350
- # [Experimental] The geographic location of the job. Required except for US and
351
- # EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#
352
- # specifying_your_location.
349
+ # The geographic location of the job. Required except for US and EU. See details
350
+ # at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
353
351
  # @param [String] fields
354
352
  # Selector specifying which fields to include in a partial response.
355
353
  # @param [String] quota_user
@@ -388,9 +386,9 @@ module Google
388
386
  # @param [String] job_id
389
387
  # [Required] Job ID of the query job
390
388
  # @param [String] location
391
- # [Experimental] The geographic location where the job should run. Required
392
- # except for US and EU. See details at https://cloud.google.com/bigquery/docs/
393
- # dataset-locations#specifying_your_location.
389
+ # The geographic location where the job should run. Required except for US and
390
+ # EU. See details at https://cloud.google.com/bigquery/docs/locations#
391
+ # specifying_your_location.
394
392
  # @param [Fixnum] max_results
395
393
  # Maximum number of results to read
396
394
  # @param [String] page_token
@@ -25,9 +25,9 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20181002'
28
+ REVISION = '20181125'
29
29
 
30
- # Manage your calendars
30
+ # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
32
32
 
33
33
  # View and edit events on all your calendars
@@ -439,10 +439,14 @@ module Google
439
439
  include Google::Apis::Core::Hashable
440
440
 
441
441
  # The method used to deliver the notification. Possible values are:
442
- # - "email" - Reminders are sent via email.
443
- # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored
444
- # on inserts and updates. SMS reminders are only available for G Suite customers.
445
- #
442
+ # - "email" - Notifications are sent via email.
443
+ # - "sms" - Deprecated. Once this feature is shutdown, the API will no longer
444
+ # return notifications using this method. Any newly added SMS notifications will
445
+ # be ignored. See Google Calendar SMS notifications to be removed for more
446
+ # information.
447
+ # Notifications are sent via SMS. This value is read-only and is ignored on
448
+ # inserts and updates. SMS notifications are only available for G Suite
449
+ # customers.
446
450
  # Required when adding a notification.
447
451
  # Corresponds to the JSON property `method`
448
452
  # @return [String]
@@ -1777,8 +1781,12 @@ module Google
1777
1781
 
1778
1782
  # The method used by this reminder. Possible values are:
1779
1783
  # - "email" - Reminders are sent via email.
1780
- # - "sms" - Reminders are sent via SMS. These are only available for G Suite
1781
- # customers. Requests to set SMS reminders for other account types are ignored.
1784
+ # - "sms" - Deprecated. Once this feature is shutdown, the API will no longer
1785
+ # return reminders using this method. Any newly added SMS reminders will be
1786
+ # ignored. See Google Calendar SMS notifications to be removed for more
1787
+ # information.
1788
+ # Reminders are sent via SMS. These are only available for G Suite customers.
1789
+ # Requests to set SMS reminders for other account types are ignored.
1782
1790
  # - "popup" - Reminders are sent via a UI popup.
1783
1791
  # Required when adding a reminder.
1784
1792
  # Corresponds to the JSON property `method`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180919'
28
+ REVISION = '20181113'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -1309,7 +1309,7 @@ module Google
1309
1309
 
1310
1310
  # Reclaims a student submission on behalf of the student that owns it.
1311
1311
  # Reclaiming a student submission transfers ownership of attached Drive
1312
- # files to the student and update the submission state.
1312
+ # files to the student and updates the submission state.
1313
1313
  # Only the student that owns the requested student submission may call this
1314
1314
  # method, and only for a student submission that has been turned in.
1315
1315
  # This request must be made by the Developer Console project of the
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20181008'
28
+ REVISION = '20181204'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,7 +27,7 @@ module Google
27
27
  class Asset
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # Type of the asset. Example: "google.compute.disk".
30
+ # Type of the asset. Example: "google.compute.Disk".
31
31
  # Corresponds to the JSON property `assetType`
32
32
  # @return [String]
33
33
  attr_accessor :asset_type
@@ -288,7 +288,11 @@ module Google
288
288
  include Google::Apis::Core::Hashable
289
289
 
290
290
  # A list of asset types of which to take a snapshot for. For example:
291
- # "google.compute.disk". If specified, only matching assets will be returned.
291
+ # "google.compute.Disk". If specified, only matching assets will be returned.
292
+ # See [Introduction to Cloud Asset
293
+ # Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
294
+ # inventory/overview)
295
+ # for all supported asset types.
292
296
  # Corresponds to the JSON property `assetTypes`
293
297
  # @return [Array<String>]
294
298
  attr_accessor :asset_types
@@ -377,10 +381,10 @@ module Google
377
381
  class GcsDestination
378
382
  include Google::Apis::Core::Hashable
379
383
 
380
- # The path of the Cloud Storage objects. It's the same path that is used by
381
- # gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing
382
- # Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-
383
- # metadata)
384
+ # The uri of the Cloud Storage object. It's the same uri that is used by
385
+ # gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
386
+ # Editing Object
387
+ # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
384
388
  # for more information.
385
389
  # Corresponds to the JSON property `uri`
386
390
  # @return [String]
@@ -751,7 +755,7 @@ module Google
751
755
  attr_accessor :deleted
752
756
  alias_method :deleted?, :deleted
753
757
 
754
- # A time window of [start_time, end_time).
758
+ # A time window of (start_time, end_time].
755
759
  # Corresponds to the JSON property `window`
756
760
  # @return [Google::Apis::CloudassetV1beta1::TimeWindow]
757
761
  attr_accessor :window
@@ -768,17 +772,17 @@ module Google
768
772
  end
769
773
  end
770
774
 
771
- # A time window of [start_time, end_time).
775
+ # A time window of (start_time, end_time].
772
776
  class TimeWindow
773
777
  include Google::Apis::Core::Hashable
774
778
 
775
- # End time of the time window (exclusive).
779
+ # End time of the time window (inclusive).
776
780
  # Current timestamp if not specified.
777
781
  # Corresponds to the JSON property `endTime`
778
782
  # @return [String]
779
783
  attr_accessor :end_time
780
784
 
781
- # Start time of the time window (inclusive).
785
+ # Start time of the time window (exclusive).
782
786
  # Corresponds to the JSON property `startTime`
783
787
  # @return [String]
784
788
  attr_accessor :start_time
@@ -68,10 +68,10 @@ module Google
68
68
  # @param [String] content_type
69
69
  # Required. The content type.
70
70
  # @param [String] read_time_window_end_time
71
- # End time of the time window (exclusive).
71
+ # End time of the time window (inclusive).
72
72
  # Current timestamp if not specified.
73
73
  # @param [String] read_time_window_start_time
74
- # Start time of the time window (inclusive).
74
+ # Start time of the time window (exclusive).
75
75
  # @param [String] fields
76
76
  # Selector specifying which fields to include in a partial response.
77
77
  # @param [String] quota_user
@@ -195,10 +195,10 @@ module Google
195
195
  # @param [String] content_type
196
196
  # Required. The content type.
197
197
  # @param [String] read_time_window_end_time
198
- # End time of the time window (exclusive).
198
+ # End time of the time window (inclusive).
199
199
  # Current timestamp if not specified.
200
200
  # @param [String] read_time_window_start_time
201
- # Start time of the time window (inclusive).
201
+ # Start time of the time window (exclusive).
202
202
  # @param [String] fields
203
203
  # Selector specifying which fields to include in a partial response.
204
204
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/debugger
27
27
  module ClouddebuggerV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180801'
29
+ REVISION = '20181114'
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'
@@ -361,10 +361,10 @@ module Google
361
361
  # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
362
362
  attr_accessor :status
363
363
 
364
- # Uniquifier to further distiguish the application.
364
+ # Uniquifier to further distinguish the application.
365
365
  # It is possible that different applications might have identical values in
366
366
  # the debuggee message, thus, incorrectly identified as a single application
367
- # by the Controller service. This field adds salt to further distiguish the
367
+ # by the Controller service. This field adds salt to further distinguish the
368
368
  # application. Agents should consider seeding this field with value that
369
369
  # identifies the code, binary, configuration and environment.
370
370
  # Corresponds to the JSON property `uniquifier`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181018'
28
+ REVISION = '20181121'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -265,7 +265,6 @@ module Google
265
265
  # @return [String]
266
266
  attr_accessor :entry_point
267
267
 
268
- # **Beta Feature**
269
268
  # Environment variables that shall be available during function execution.
270
269
  # Corresponds to the JSON property `environmentVariables`
271
270
  # @return [Hash<String,String>]
@@ -891,7 +890,7 @@ module Google
891
890
  attr_accessor :update_time
892
891
 
893
892
  # Version id of the function created or updated by an API call.
894
- # This field is only pupulated for Create and Update operations.
893
+ # This field is only populated for Create and Update operations.
895
894
  # Corresponds to the JSON property `versionId`
896
895
  # @return [Fixnum]
897
896
  attr_accessor :version_id
@@ -936,7 +935,7 @@ module Google
936
935
  attr_accessor :update_time
937
936
 
938
937
  # Version id of the function created or updated by an API call.
939
- # This field is only pupulated for Create and Update operations.
938
+ # This field is only populated for Create and Update operations.
940
939
  # Corresponds to the JSON property `versionId`
941
940
  # @return [Fixnum]
942
941
  attr_accessor :version_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20181010'
28
+ REVISION = '20181121'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -95,7 +95,6 @@ module Google
95
95
  # @return [String]
96
96
  attr_accessor :entry_point
97
97
 
98
- # **Beta Feature**
99
98
  # Environment variables that shall be available during function execution.
100
99
  # Corresponds to the JSON property `environmentVariables`
101
100
  # @return [Hash<String,String>]
@@ -683,7 +682,7 @@ module Google
683
682
  attr_accessor :update_time
684
683
 
685
684
  # Version id of the function created or updated by an API call.
686
- # This field is only pupulated for Create and Update operations.
685
+ # This field is only populated for Create and Update operations.
687
686
  # Corresponds to the JSON property `versionId`
688
687
  # @return [Fixnum]
689
688
  attr_accessor :version_id
@@ -728,7 +727,7 @@ module Google
728
727
  attr_accessor :update_time
729
728
 
730
729
  # Version id of the function created or updated by an API call.
731
- # This field is only pupulated for Create and Update operations.
730
+ # This field is only populated for Create and Update operations.
732
731
  # Corresponds to the JSON property `versionId`
733
732
  # @return [Fixnum]
734
733
  attr_accessor :version_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180926'
29
+ REVISION = '20181120'
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'
@@ -22,6 +22,47 @@ module Google
22
22
  module Apis
23
23
  module CloudiotV1
24
24
 
25
+ # Request for `BindDeviceToGateway`.
26
+ class BindDeviceToGatewayRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The device to associate with the specified gateway. The value of
30
+ # `device_id` can be either the device numeric ID or the user-defined device
31
+ # identifier.
32
+ # Corresponds to the JSON property `deviceId`
33
+ # @return [String]
34
+ attr_accessor :device_id
35
+
36
+ # The value of `gateway_id` can be either the device numeric ID or the
37
+ # user-defined device identifier.
38
+ # Corresponds to the JSON property `gatewayId`
39
+ # @return [String]
40
+ attr_accessor :gateway_id
41
+
42
+ def initialize(**args)
43
+ update!(**args)
44
+ end
45
+
46
+ # Update properties of this object
47
+ def update!(**args)
48
+ @device_id = args[:device_id] if args.key?(:device_id)
49
+ @gateway_id = args[:gateway_id] if args.key?(:gateway_id)
50
+ end
51
+ end
52
+
53
+ # Response for `BindDeviceToGateway`.
54
+ class BindDeviceToGatewayResponse
55
+ include Google::Apis::Core::Hashable
56
+
57
+ def initialize(**args)
58
+ update!(**args)
59
+ end
60
+
61
+ # Update properties of this object
62
+ def update!(**args)
63
+ end
64
+ end
65
+
25
66
  # Associates `members` with a `role`.
26
67
  class Binding
27
68
  include Google::Apis::Core::Hashable
@@ -97,6 +138,11 @@ module Google
97
138
  # @return [Array<Google::Apis::CloudiotV1::DeviceCredential>]
98
139
  attr_accessor :credentials
99
140
 
141
+ # Gateway-related configuration and state.
142
+ # Corresponds to the JSON property `gatewayConfig`
143
+ # @return [Google::Apis::CloudiotV1::GatewayConfig]
144
+ attr_accessor :gateway_config
145
+
100
146
  # The user-defined device identifier. The device ID must be unique
101
147
  # within a device registry.
102
148
  # Corresponds to the JSON property `id`
@@ -238,6 +284,7 @@ module Google
238
284
  @blocked = args[:blocked] if args.key?(:blocked)
239
285
  @config = args[:config] if args.key?(:config)
240
286
  @credentials = args[:credentials] if args.key?(:credentials)
287
+ @gateway_config = args[:gateway_config] if args.key?(:gateway_config)
241
288
  @id = args[:id] if args.key?(:id)
242
289
  @last_config_ack_time = args[:last_config_ack_time] if args.key?(:last_config_ack_time)
243
290
  @last_config_send_time = args[:last_config_send_time] if args.key?(:last_config_send_time)
@@ -534,6 +581,45 @@ module Google
534
581
  end
535
582
  end
536
583
 
584
+ # Gateway-related configuration and state.
585
+ class GatewayConfig
586
+ include Google::Apis::Core::Hashable
587
+
588
+ # Indicates how to authorize and/or authenticate devices to access the
589
+ # gateway.
590
+ # Corresponds to the JSON property `gatewayAuthMethod`
591
+ # @return [String]
592
+ attr_accessor :gateway_auth_method
593
+
594
+ # Indicates whether the device is a gateway.
595
+ # Corresponds to the JSON property `gatewayType`
596
+ # @return [String]
597
+ attr_accessor :gateway_type
598
+
599
+ # [Output only] The ID of the gateway the device accessed most recently.
600
+ # Corresponds to the JSON property `lastAccessedGatewayId`
601
+ # @return [String]
602
+ attr_accessor :last_accessed_gateway_id
603
+
604
+ # [Output only] The most recent time at which the device accessed the gateway
605
+ # specified in `last_accessed_gateway`.
606
+ # Corresponds to the JSON property `lastAccessedGatewayTime`
607
+ # @return [String]
608
+ attr_accessor :last_accessed_gateway_time
609
+
610
+ def initialize(**args)
611
+ update!(**args)
612
+ end
613
+
614
+ # Update properties of this object
615
+ def update!(**args)
616
+ @gateway_auth_method = args[:gateway_auth_method] if args.key?(:gateway_auth_method)
617
+ @gateway_type = args[:gateway_type] if args.key?(:gateway_type)
618
+ @last_accessed_gateway_id = args[:last_accessed_gateway_id] if args.key?(:last_accessed_gateway_id)
619
+ @last_accessed_gateway_time = args[:last_accessed_gateway_time] if args.key?(:last_accessed_gateway_time)
620
+ end
621
+ end
622
+
537
623
  # Request message for `GetIamPolicy` method.
538
624
  class GetIamPolicyRequest
539
625
  include Google::Apis::Core::Hashable
@@ -1094,6 +1180,47 @@ module Google
1094
1180
  end
1095
1181
  end
1096
1182
 
1183
+ # Request for `UnbindDeviceFromGateway`.
1184
+ class UnbindDeviceFromGatewayRequest
1185
+ include Google::Apis::Core::Hashable
1186
+
1187
+ # The device to disassociate from the specified gateway. The value of
1188
+ # `device_id` can be either the device numeric ID or the user-defined device
1189
+ # identifier.
1190
+ # Corresponds to the JSON property `deviceId`
1191
+ # @return [String]
1192
+ attr_accessor :device_id
1193
+
1194
+ # The value of `gateway_id` can be either the device numeric ID or the
1195
+ # user-defined device identifier.
1196
+ # Corresponds to the JSON property `gatewayId`
1197
+ # @return [String]
1198
+ attr_accessor :gateway_id
1199
+
1200
+ def initialize(**args)
1201
+ update!(**args)
1202
+ end
1203
+
1204
+ # Update properties of this object
1205
+ def update!(**args)
1206
+ @device_id = args[:device_id] if args.key?(:device_id)
1207
+ @gateway_id = args[:gateway_id] if args.key?(:gateway_id)
1208
+ end
1209
+ end
1210
+
1211
+ # Response for `UnbindDeviceFromGateway`.
1212
+ class UnbindDeviceFromGatewayResponse
1213
+ include Google::Apis::Core::Hashable
1214
+
1215
+ def initialize(**args)
1216
+ update!(**args)
1217
+ end
1218
+
1219
+ # Update properties of this object
1220
+ def update!(**args)
1221
+ end
1222
+ end
1223
+
1097
1224
  # Details of an X.509 certificate. For informational purposes only.
1098
1225
  class X509CertificateDetails
1099
1226
  include Google::Apis::Core::Hashable