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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://developers.google.com/streetview/publish/
28
28
  module StreetviewpublishV1
29
29
  VERSION = 'V1'
30
- REVISION = '20170930'
30
+ REVISION = '20171101'
31
31
 
32
32
  # Publish and manage your 360 photos on Google Street View
33
33
  AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
@@ -172,36 +172,6 @@ module Google
172
172
  # specified otherwise, this must conform to the
173
173
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
174
174
  # standard</a>. Values must be within normalized ranges.
175
- # Example of normalization code in Python:
176
- # def NormalizeLongitude(longitude):
177
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
178
- # q, r = divmod(longitude, 360.0)
179
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
180
- # return r - 360.0
181
- # return r
182
- # def NormalizeLatLng(latitude, longitude):
183
- # """Wraps decimal degrees latitude and longitude to
184
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
185
- # r = latitude % 360.0
186
- # if r <= 90.0:
187
- # return r, NormalizeLongitude(longitude)
188
- # elif r >= 270.0:
189
- # return r - 360, NormalizeLongitude(longitude)
190
- # else:
191
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
192
- # assert 180.0 == NormalizeLongitude(180.0)
193
- # assert -180.0 == NormalizeLongitude(-180.0)
194
- # assert -179.0 == NormalizeLongitude(181.0)
195
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
196
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
197
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
198
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
199
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
200
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
201
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
202
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
203
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
204
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
205
175
  class LatLng
206
176
  include Google::Apis::Core::Hashable
207
177
 
@@ -571,7 +541,7 @@ module Google
571
541
  class Pose
572
542
  include Google::Apis::Core::Hashable
573
543
 
574
- # Altitude of the pose in meters above ground level (as defined by WGS84).
544
+ # Altitude of the pose in meters above WGS84 ellipsoid.
575
545
  # NaN indicates an unmeasured quantity.
576
546
  # Corresponds to the JSON property `altitude`
577
547
  # @return [Float]
@@ -589,36 +559,6 @@ module Google
589
559
  # specified otherwise, this must conform to the
590
560
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
591
561
  # standard</a>. Values must be within normalized ranges.
592
- # Example of normalization code in Python:
593
- # def NormalizeLongitude(longitude):
594
- # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
595
- # q, r = divmod(longitude, 360.0)
596
- # if r > 180.0 or (r == 180.0 and q <= -1.0):
597
- # return r - 360.0
598
- # return r
599
- # def NormalizeLatLng(latitude, longitude):
600
- # """Wraps decimal degrees latitude and longitude to
601
- # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
602
- # r = latitude % 360.0
603
- # if r <= 90.0:
604
- # return r, NormalizeLongitude(longitude)
605
- # elif r >= 270.0:
606
- # return r - 360, NormalizeLongitude(longitude)
607
- # else:
608
- # return 180 - r, NormalizeLongitude(longitude + 180.0)
609
- # assert 180.0 == NormalizeLongitude(180.0)
610
- # assert -180.0 == NormalizeLongitude(-180.0)
611
- # assert -179.0 == NormalizeLongitude(181.0)
612
- # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
613
- # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
614
- # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
615
- # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
616
- # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
617
- # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
618
- # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
619
- # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
620
- # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
621
- # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
622
562
  # Corresponds to the JSON property `latLngPair`
623
563
  # @return [Google::Apis::StreetviewpublishV1::LatLng]
624
564
  attr_accessor :lat_lng_pair
@@ -61,7 +61,8 @@ module Google
61
61
  # `pose.altitude`, and `pose.level` fields in Pose are ignored for
62
62
  # CreatePhoto.
63
63
  # This method returns the following error codes:
64
- # * google.rpc.Code.INVALID_ARGUMENT if the request is malformed.
64
+ # * google.rpc.Code.INVALID_ARGUMENT if the request is malformed or if
65
+ # the uploaded photo is not a 360 photo.
65
66
  # * google.rpc.Code.NOT_FOUND if the upload reference does not exist.
66
67
  # * google.rpc.Code.RESOURCE_EXHAUSTED if the account has reached the
67
68
  # storage limit.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170905'
29
+ REVISION = '20171012'
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'
@@ -1342,9 +1342,13 @@ module Google
1342
1342
  # @return [Google::Apis::TestingV1::Account]
1343
1343
  attr_accessor :account
1344
1344
 
1345
- # The directories on the device to upload to GCS at the end of the test;
1346
- # they must be absolute, whitelisted paths.
1347
- # Refer to RegularFile for whitelisted paths.
1345
+ # List of directories on the device to upload to GCS at the end of the test;
1346
+ # they must be absolute paths under /sdcard or /data/local/tmp.
1347
+ # Path names are restricted to characters a-z A-Z 0-9 _ - . + and /
1348
+ # Note: The paths /sdcard and /data will be made available and treated as
1349
+ # implicit path substitutions. E.g. if /sdcard on a particular device does
1350
+ # not map to external storage, the system will replace it with the external
1351
+ # storage path prefix for that device.
1348
1352
  # Optional
1349
1353
  # Corresponds to the JSON property `directoriesToPull`
1350
1354
  # @return [Array<String>]
@@ -1356,6 +1360,7 @@ module Google
1356
1360
  # @return [Array<Google::Apis::TestingV1::EnvironmentVariable>]
1357
1361
  attr_accessor :environment_variables
1358
1362
 
1363
+ # List of files to push to the device before starting the test.
1359
1364
  # Optional
1360
1365
  # Corresponds to the JSON property `filesToPush`
1361
1366
  # @return [Array<Google::Apis::TestingV1::DeviceFile>]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/test-lab/
26
26
  module ToolresultsV1beta3
27
27
  VERSION = 'V1beta3'
28
- REVISION = '20171006'
28
+ REVISION = '20171026'
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'
@@ -84,10 +84,7 @@ module Google
84
84
  attr_accessor :test_targets
85
85
 
86
86
  # The flag indicates whether Android Test Orchestrator will be used to run test
87
- # or not. Test orchestrator is used if either: - orchestrator_option field is
88
- # USE_ORCHESTRATOR, and test runner is compatible with orchestrator. Or -
89
- # orchestrator_option field is unspecified or ORCHESTRATOR_OPTION_UNSPECIFIED,
90
- # and test runner is compatible with orchestrator.
87
+ # or not.
91
88
  # Corresponds to the JSON property `useOrchestrator`
92
89
  # @return [Boolean]
93
90
  attr_accessor :use_orchestrator
@@ -254,18 +251,22 @@ module Google
254
251
  class Any
255
252
  include Google::Apis::Core::Hashable
256
253
 
257
- # A URL/resource name whose content describes the type of the serialized
258
- # protocol buffer message.
259
- # For URLs which use the scheme `http`, `https`, or no scheme, the following
260
- # restrictions and interpretations apply:
261
- # * If no scheme is provided, `https` is assumed. * The last segment of the URL'
262
- # s path must represent the fully qualified name of the type (as in `path/google.
263
- # protobuf.Duration`). The name should be in a canonical form (e.g., leading "."
264
- # is not accepted). * An HTTP GET on the URL must yield a [google.protobuf.Type][
265
- # ] value in binary format, or produce an error. * Applications are allowed to
266
- # cache lookup results based on the URL, or have them precompiled into a binary
267
- # to avoid any lookup. Therefore, binary compatibility needs to be preserved on
268
- # changes to types. (Use versioned type names to manage breaking changes.)
254
+ # A URL/resource name that uniquely identifies the type of the serialized
255
+ # protocol buffer message. The last segment of the URL's path must represent the
256
+ # fully qualified name of the type (as in `path/google.protobuf.Duration`). The
257
+ # name should be in a canonical form (e.g., leading "." is not accepted).
258
+ # In practice, teams usually precompile into the binary all types that they
259
+ # expect it to use in the context of Any. However, for URLs which use the scheme
260
+ # `http`, `https`, or no scheme, one can optionally set up a type server that
261
+ # maps type URLs to message definitions as follows:
262
+ # * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must
263
+ # yield a [google.protobuf.Type][] value in binary format, or produce an error. *
264
+ # Applications are allowed to cache lookup results based on the URL, or have
265
+ # them precompiled into a binary to avoid any lookup. Therefore, binary
266
+ # compatibility needs to be preserved on changes to types. (Use versioned type
267
+ # names to manage breaking changes.)
268
+ # Note: this functionality is not currently available in the official protobuf
269
+ # release, and it is not used for type URLs beginning with type.googleapis.com.
269
270
  # Schemes other than `http`, `https` (or the empty scheme) might be used with
270
271
  # implementation specific semantics.
271
272
  # Corresponds to the JSON property `typeUrl`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/video-intelligence/docs/
26
26
  module VideointelligenceV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20170919'
28
+ REVISION = '20171031'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171002'
28
+ REVISION = '20171023'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -2651,6 +2651,11 @@ module Google
2651
2651
  # @return [String]
2652
2652
  attr_accessor :status
2653
2653
 
2654
+ # The package status reports.
2655
+ # Corresponds to the JSON property `statusReports`
2656
+ # @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]
2657
+ attr_accessor :status_reports
2658
+
2654
2659
  # The package creation time. The value is specified in RFC 3339 (YYYY-MM-DDThh:
2655
2660
  # mm:ss.000Z) format.
2656
2661
  # Corresponds to the JSON property `timeCreated`
@@ -2680,6 +2685,7 @@ module Google
2680
2685
  @locale = args[:locale] if args.key?(:locale)
2681
2686
  @name = args[:name] if args.key?(:name)
2682
2687
  @status = args[:status] if args.key?(:status)
2688
+ @status_reports = args[:status_reports] if args.key?(:status_reports)
2683
2689
  @time_created = args[:time_created] if args.key?(:time_created)
2684
2690
  @type = args[:type] if args.key?(:type)
2685
2691
  @uploader_name = args[:uploader_name] if args.key?(:uploader_name)
@@ -3529,6 +3535,83 @@ module Google
3529
3535
  end
3530
3536
  end
3531
3537
 
3538
+ #
3539
+ class SpreadsheetTemplate
3540
+ include Google::Apis::Core::Hashable
3541
+
3542
+ # The type of the API resource. For spreadsheet template resources, the value is
3543
+ # youtubePartner#spreadsheetTemplate.
3544
+ # Corresponds to the JSON property `kind`
3545
+ # @return [String]
3546
+ attr_accessor :kind
3547
+
3548
+ # The template status.
3549
+ # Corresponds to the JSON property `status`
3550
+ # @return [String]
3551
+ attr_accessor :status
3552
+
3553
+ # The template content.
3554
+ # Corresponds to the JSON property `templateContent`
3555
+ # @return [String]
3556
+ attr_accessor :template_content
3557
+
3558
+ # The template name.
3559
+ # Corresponds to the JSON property `templateName`
3560
+ # @return [String]
3561
+ attr_accessor :template_name
3562
+
3563
+ # The template type.
3564
+ # Corresponds to the JSON property `templateType`
3565
+ # @return [String]
3566
+ attr_accessor :template_type
3567
+
3568
+ def initialize(**args)
3569
+ update!(**args)
3570
+ end
3571
+
3572
+ # Update properties of this object
3573
+ def update!(**args)
3574
+ @kind = args[:kind] if args.key?(:kind)
3575
+ @status = args[:status] if args.key?(:status)
3576
+ @template_content = args[:template_content] if args.key?(:template_content)
3577
+ @template_name = args[:template_name] if args.key?(:template_name)
3578
+ @template_type = args[:template_type] if args.key?(:template_type)
3579
+ end
3580
+ end
3581
+
3582
+ #
3583
+ class SpreadsheetTemplateListResponse
3584
+ include Google::Apis::Core::Hashable
3585
+
3586
+ # A list of spreadsheet templates (youtubePartner#spreadsheetTemplate) resources
3587
+ # that match the request criteria.
3588
+ # Corresponds to the JSON property `items`
3589
+ # @return [Array<Google::Apis::YoutubePartnerV1::SpreadsheetTemplate>]
3590
+ attr_accessor :items
3591
+
3592
+ # The type of the API response. For this operation, the value is youtubePartner#
3593
+ # spreadsheetTemplateList.
3594
+ # Corresponds to the JSON property `kind`
3595
+ # @return [String]
3596
+ attr_accessor :kind
3597
+
3598
+ # The status of the API response.
3599
+ # Corresponds to the JSON property `status`
3600
+ # @return [String]
3601
+ attr_accessor :status
3602
+
3603
+ def initialize(**args)
3604
+ update!(**args)
3605
+ end
3606
+
3607
+ # Update properties of this object
3608
+ def update!(**args)
3609
+ @items = args[:items] if args.key?(:items)
3610
+ @kind = args[:kind] if args.key?(:kind)
3611
+ @status = args[:status] if args.key?(:status)
3612
+ end
3613
+ end
3614
+
3532
3615
  #
3533
3616
  class StateCompleted
3534
3617
  include Google::Apis::Core::Hashable
@@ -3554,6 +3637,31 @@ module Google
3554
3637
  end
3555
3638
  end
3556
3639
 
3640
+ #
3641
+ class StatusReport
3642
+ include Google::Apis::Core::Hashable
3643
+
3644
+ # The content of the report message. Used only in Hybrid.
3645
+ # Corresponds to the JSON property `statusContent`
3646
+ # @return [String]
3647
+ attr_accessor :status_content
3648
+
3649
+ # Status file name. Used only in Hybrid.
3650
+ # Corresponds to the JSON property `statusFileName`
3651
+ # @return [String]
3652
+ attr_accessor :status_file_name
3653
+
3654
+ def initialize(**args)
3655
+ update!(**args)
3656
+ end
3657
+
3658
+ # Update properties of this object
3659
+ def update!(**args)
3660
+ @status_content = args[:status_content] if args.key?(:status_content)
3661
+ @status_file_name = args[:status_file_name] if args.key?(:status_file_name)
3662
+ end
3663
+ end
3664
+
3557
3665
  #
3558
3666
  class TerritoryCondition
3559
3667
  include Google::Apis::Core::Hashable
@@ -466,12 +466,30 @@ module Google
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
+ class SpreadsheetTemplate
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class SpreadsheetTemplateListResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class StateCompleted
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
472
484
  include Google::Apis::Core::JsonObjectSupport
473
485
  end
474
486
 
487
+ class StatusReport
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
475
493
  class TerritoryCondition
476
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
495
 
@@ -1259,6 +1277,8 @@ module Google
1259
1277
  property :locale, as: 'locale'
1260
1278
  property :name, as: 'name'
1261
1279
  property :status, as: 'status'
1280
+ collection :status_reports, as: 'statusReports', class: Google::Apis::YoutubePartnerV1::StatusReport, decorator: Google::Apis::YoutubePartnerV1::StatusReport::Representation
1281
+
1262
1282
  property :time_created, as: 'timeCreated', type: DateTime
1263
1283
 
1264
1284
  property :type, as: 'type'
@@ -1492,6 +1512,27 @@ module Google
1492
1512
  end
1493
1513
  end
1494
1514
 
1515
+ class SpreadsheetTemplate
1516
+ # @private
1517
+ class Representation < Google::Apis::Core::JsonRepresentation
1518
+ property :kind, as: 'kind'
1519
+ property :status, as: 'status'
1520
+ property :template_content, as: 'templateContent'
1521
+ property :template_name, as: 'templateName'
1522
+ property :template_type, as: 'templateType'
1523
+ end
1524
+ end
1525
+
1526
+ class SpreadsheetTemplateListResponse
1527
+ # @private
1528
+ class Representation < Google::Apis::Core::JsonRepresentation
1529
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::SpreadsheetTemplate, decorator: Google::Apis::YoutubePartnerV1::SpreadsheetTemplate::Representation
1530
+
1531
+ property :kind, as: 'kind'
1532
+ property :status, as: 'status'
1533
+ end
1534
+ end
1535
+
1495
1536
  class StateCompleted
1496
1537
  # @private
1497
1538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1500,6 +1541,14 @@ module Google
1500
1541
  end
1501
1542
  end
1502
1543
 
1544
+ class StatusReport
1545
+ # @private
1546
+ class Representation < Google::Apis::Core::JsonRepresentation
1547
+ property :status_content, as: 'statusContent'
1548
+ property :status_file_name, as: 'statusFileName'
1549
+ end
1550
+ end
1551
+
1503
1552
  class TerritoryCondition
1504
1553
  # @private
1505
1554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2957,6 +2957,48 @@ module Google
2957
2957
  execute_or_queue_command(command, &block)
2958
2958
  end
2959
2959
 
2960
+ # Retrieves a list of spreadsheet templates for a content owner.
2961
+ # @param [String] locale
2962
+ # The locale parameter identifies the desired language for templates in the API
2963
+ # response. The value is a string that contains a BCP-47 language code. The
2964
+ # default value is en.
2965
+ # @param [String] on_behalf_of_content_owner
2966
+ # The onBehalfOfContentOwner parameter identifies the content owner that the
2967
+ # user is acting on behalf of. This parameter supports users whose accounts are
2968
+ # associated with multiple content owners.
2969
+ # @param [String] fields
2970
+ # Selector specifying which fields to include in a partial response.
2971
+ # @param [String] quota_user
2972
+ # Available to use for quota purposes for server-side applications. Can be any
2973
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2974
+ # Overrides userIp if both are provided.
2975
+ # @param [String] user_ip
2976
+ # IP address of the site where the request originates. Use this if you want to
2977
+ # enforce per-user limits.
2978
+ # @param [Google::Apis::RequestOptions] options
2979
+ # Request-specific options
2980
+ #
2981
+ # @yield [result, err] Result & error if block supplied
2982
+ # @yieldparam result [Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse] parsed result object
2983
+ # @yieldparam err [StandardError] error object if request failed
2984
+ #
2985
+ # @return [Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse]
2986
+ #
2987
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2988
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2989
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2990
+ def list_spreadsheet_templates(locale: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2991
+ command = make_simple_command(:get, 'spreadsheetTemplate', options)
2992
+ command.response_representation = Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse::Representation
2993
+ command.response_class = Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse
2994
+ command.query['locale'] = locale unless locale.nil?
2995
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
2996
+ command.query['fields'] = fields unless fields.nil?
2997
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2998
+ command.query['userIp'] = user_ip unless user_ip.nil?
2999
+ execute_or_queue_command(command, &block)
3000
+ end
3001
+
2960
3002
  # Retrieves a list of uploaders for a content owner.
2961
3003
  # @param [String] on_behalf_of_content_owner
2962
3004
  # The onBehalfOfContentOwner parameter identifies the content owner that the