google-api-client 0.30.9 → 0.30.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -1743,7 +1743,8 @@ module Google
1743
1743
  # Name of the user in the instance.
1744
1744
  # @param [Google::Apis::SqladminV1beta4::User] user_object
1745
1745
  # @param [String] host
1746
- # Host of the user in the instance.
1746
+ # Host of the user in the instance. For a MySQL instance, it's required; For a
1747
+ # PostgreSQL instance, it's optional.
1747
1748
  # @param [String] fields
1748
1749
  # Selector specifying which fields to include in a partial response.
1749
1750
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190624'
28
+ REVISION = '20190812'
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'
@@ -371,7 +371,7 @@ module Google
371
371
  # uniformBucketLevelAccess.enabled may be changed from true to false until the
372
372
  # locked time, after which the field is immutable.
373
373
  # Corresponds to the JSON property `lockedTime`
374
- # @return [DateTime]
374
+ # @return [String]
375
375
  attr_accessor :locked_time
376
376
 
377
377
  def initialize(**args)
@@ -1794,6 +1794,11 @@ module Google
1794
1794
  # @return [String]
1795
1795
  attr_accessor :resource_id
1796
1796
 
1797
+ # The IAM policy format version.
1798
+ # Corresponds to the JSON property `version`
1799
+ # @return [Fixnum]
1800
+ attr_accessor :version
1801
+
1797
1802
  def initialize(**args)
1798
1803
  update!(**args)
1799
1804
  end
@@ -1804,6 +1809,7 @@ module Google
1804
1809
  @etag = args[:etag] if args.key?(:etag)
1805
1810
  @kind = args[:kind] if args.key?(:kind)
1806
1811
  @resource_id = args[:resource_id] if args.key?(:resource_id)
1812
+ @version = args[:version] if args.key?(:version)
1807
1813
  end
1808
1814
 
1809
1815
  #
@@ -365,8 +365,7 @@ module Google
365
365
  # @private
366
366
  class Representation < Google::Apis::Core::JsonRepresentation
367
367
  property :enabled, as: 'enabled'
368
- property :locked_time, as: 'lockedTime', type: DateTime
369
-
368
+ property :locked_time, as: 'lockedTime'
370
369
  end
371
370
  end
372
371
  end
@@ -730,6 +729,7 @@ module Google
730
729
  property :etag, :base64 => true, as: 'etag'
731
730
  property :kind, as: 'kind'
732
731
  property :resource_id, as: 'resourceId'
732
+ property :version, as: 'version'
733
733
  end
734
734
 
735
735
  class Binding
@@ -414,6 +414,10 @@ module Google
414
414
  # Returns an IAM policy for the specified bucket.
415
415
  # @param [String] bucket
416
416
  # Name of a bucket.
417
+ # @param [Fixnum] options_requested_policy_version
418
+ # The IAM policy format version to be returned. If the
419
+ # optionsRequestedPolicyVersion is for an older version that doesn't support
420
+ # part of the requested IAM policy, the request fails.
417
421
  # @param [String] provisional_user_project
418
422
  # The project to be billed for this request if the target bucket is requester-
419
423
  # pays bucket.
@@ -438,11 +442,12 @@ module Google
438
442
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
439
443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
440
444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
441
- def get_bucket_iam_policy(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
445
+ def get_bucket_iam_policy(bucket, options_requested_policy_version: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
442
446
  command = make_simple_command(:get, 'b/{bucket}/iam', options)
443
447
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
444
448
  command.response_class = Google::Apis::StorageV1::Policy
445
449
  command.params['bucket'] = bucket unless bucket.nil?
450
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
446
451
  command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
447
452
  command.query['userProject'] = user_project unless user_project.nil?
448
453
  command.query['fields'] = fields unless fields.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190810'
29
+ REVISION = '20190826'
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'
@@ -321,15 +321,7 @@ module Google
321
321
  execute_or_queue_command(command, &block)
322
322
  end
323
323
 
324
- # Lists operations that match the specified filter in the request. If the
325
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
326
- # NOTE: the `name` binding allows API services to override the binding
327
- # to use different resource name schemes, such as `users/*/operations`. To
328
- # override the binding, API services can add a binding such as
329
- # `"/v1/`name=users/*`/operations"` to their service configuration.
330
- # For backwards compatibility, the default name includes the operations
331
- # collection id, however overriding users must ensure the name binding
332
- # is the parent resource, without the operations collection id.
324
+ # Lists transfer operations.
333
325
  # @param [String] name
334
326
  # Required. The value `transferOperations`.
335
327
  # @param [String] filter
@@ -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 = '20190514'
29
+ REVISION = '20190905'
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'
@@ -1197,6 +1197,7 @@ module Google
1197
1197
  end
1198
1198
 
1199
1199
  # A description of an iOS device tests may be run on.
1200
+ # Next tag: 10
1200
1201
  class IosModel
1201
1202
  include Google::Apis::Core::Hashable
1202
1203
 
@@ -1226,6 +1227,21 @@ module Google
1226
1227
  # @return [String]
1227
1228
  attr_accessor :name
1228
1229
 
1230
+ # Screen density in DPI.
1231
+ # Corresponds to the JSON property `screenDensity`
1232
+ # @return [Fixnum]
1233
+ attr_accessor :screen_density
1234
+
1235
+ # Screen size in the horizontal (X) dimension measured in pixels.
1236
+ # Corresponds to the JSON property `screenX`
1237
+ # @return [Fixnum]
1238
+ attr_accessor :screen_x
1239
+
1240
+ # Screen size in the vertical (Y) dimension measured in pixels.
1241
+ # Corresponds to the JSON property `screenY`
1242
+ # @return [Fixnum]
1243
+ attr_accessor :screen_y
1244
+
1229
1245
  # The set of iOS major software versions this device supports.
1230
1246
  # Corresponds to the JSON property `supportedVersionIds`
1231
1247
  # @return [Array<String>]
@@ -1247,6 +1263,9 @@ module Google
1247
1263
  @form_factor = args[:form_factor] if args.key?(:form_factor)
1248
1264
  @id = args[:id] if args.key?(:id)
1249
1265
  @name = args[:name] if args.key?(:name)
1266
+ @screen_density = args[:screen_density] if args.key?(:screen_density)
1267
+ @screen_x = args[:screen_x] if args.key?(:screen_x)
1268
+ @screen_y = args[:screen_y] if args.key?(:screen_y)
1250
1269
  @supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
1251
1270
  @tags = args[:tags] if args.key?(:tags)
1252
1271
  end
@@ -720,6 +720,9 @@ module Google
720
720
  property :form_factor, as: 'formFactor'
721
721
  property :id, as: 'id'
722
722
  property :name, as: 'name'
723
+ property :screen_density, as: 'screenDensity'
724
+ property :screen_x, as: 'screenX'
725
+ property :screen_y, as: 'screenY'
723
726
  collection :supported_version_ids, as: 'supportedVersionIds'
724
727
  collection :tags, as: 'tags'
725
728
  end
@@ -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 = '20190822'
28
+ REVISION = '20190826'
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'
@@ -1893,6 +1893,7 @@ module Google
1893
1893
  # 100 to COMPLETE
1894
1894
  # A Step can be updated until its state is set to COMPLETE at which points it
1895
1895
  # becomes immutable.
1896
+ # Next tag: 23
1896
1897
  class Step
1897
1898
  include Google::Apis::Core::Hashable
1898
1899
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/translate/docs/quickstarts
26
26
  module TranslateV3beta1
27
27
  VERSION = 'V3beta1'
28
- REVISION = '20190822'
28
+ REVISION = '20190831'
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'
@@ -40,6 +40,16 @@ module Google
40
40
  # @return [Array<Google::Apis::TranslateV3beta1::InputConfig>]
41
41
  attr_accessor :input_configs
42
42
 
43
+ # Optional. The labels with user-defined metadata for the request.
44
+ # Label keys and values can be no longer than 63 characters
45
+ # (Unicode codepoints), can only contain lowercase letters, numeric
46
+ # characters, underscores and dashes. International characters are allowed.
47
+ # Label values are optional. Label keys must start with a letter.
48
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
49
+ # Corresponds to the JSON property `labels`
50
+ # @return [Hash<String,String>]
51
+ attr_accessor :labels
52
+
43
53
  # Optional. The models to use for translation. Map's key is target language
44
54
  # code. Map's value is model name. Value can be a built-in general model,
45
55
  # or an AutoML Translation model.
@@ -78,6 +88,7 @@ module Google
78
88
  def update!(**args)
79
89
  @glossaries = args[:glossaries] if args.key?(:glossaries)
80
90
  @input_configs = args[:input_configs] if args.key?(:input_configs)
91
+ @labels = args[:labels] if args.key?(:labels)
81
92
  @models = args[:models] if args.key?(:models)
82
93
  @output_config = args[:output_config] if args.key?(:output_config)
83
94
  @source_language_code = args[:source_language_code] if args.key?(:source_language_code)
@@ -107,6 +118,16 @@ module Google
107
118
  # @return [String]
108
119
  attr_accessor :content
109
120
 
121
+ # Optional. The labels with user-defined metadata for the request.
122
+ # Label keys and values can be no longer than 63 characters
123
+ # (Unicode codepoints), can only contain lowercase letters, numeric
124
+ # characters, underscores and dashes. International characters are allowed.
125
+ # Label values are optional. Label keys must start with a letter.
126
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
127
+ # Corresponds to the JSON property `labels`
128
+ # @return [Hash<String,String>]
129
+ attr_accessor :labels
130
+
110
131
  # Optional. The format of the source text, for example, "text/html",
111
132
  # "text/plain". If left blank, the MIME type defaults to "text/html".
112
133
  # Corresponds to the JSON property `mimeType`
@@ -132,6 +153,7 @@ module Google
132
153
  # Update properties of this object
133
154
  def update!(**args)
134
155
  @content = args[:content] if args.key?(:content)
156
+ @labels = args[:labels] if args.key?(:labels)
135
157
  @mime_type = args[:mime_type] if args.key?(:mime_type)
136
158
  @model = args[:model] if args.key?(:model)
137
159
  end
@@ -749,6 +771,16 @@ module Google
749
771
  # @return [Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig]
750
772
  attr_accessor :glossary_config
751
773
 
774
+ # Optional. The labels with user-defined metadata for the request.
775
+ # Label keys and values can be no longer than 63 characters
776
+ # (Unicode codepoints), can only contain lowercase letters, numeric
777
+ # characters, underscores and dashes. International characters are allowed.
778
+ # Label values are optional. Label keys must start with a letter.
779
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
780
+ # Corresponds to the JSON property `labels`
781
+ # @return [Hash<String,String>]
782
+ attr_accessor :labels
783
+
752
784
  # Optional. The format of the source text, for example, "text/html",
753
785
  # "text/plain". If left blank, the MIME type defaults to "text/html".
754
786
  # Corresponds to the JSON property `mimeType`
@@ -793,6 +825,7 @@ module Google
793
825
  def update!(**args)
794
826
  @contents = args[:contents] if args.key?(:contents)
795
827
  @glossary_config = args[:glossary_config] if args.key?(:glossary_config)
828
+ @labels = args[:labels] if args.key?(:labels)
796
829
  @mime_type = args[:mime_type] if args.key?(:mime_type)
797
830
  @model = args[:model] if args.key?(:model)
798
831
  @source_language_code = args[:source_language_code] if args.key?(:source_language_code)
@@ -191,6 +191,7 @@ module Google
191
191
 
192
192
  collection :input_configs, as: 'inputConfigs', class: Google::Apis::TranslateV3beta1::InputConfig, decorator: Google::Apis::TranslateV3beta1::InputConfig::Representation
193
193
 
194
+ hash :labels, as: 'labels'
194
195
  hash :models, as: 'models'
195
196
  property :output_config, as: 'outputConfig', class: Google::Apis::TranslateV3beta1::OutputConfig, decorator: Google::Apis::TranslateV3beta1::OutputConfig::Representation
196
197
 
@@ -209,6 +210,7 @@ module Google
209
210
  # @private
210
211
  class Representation < Google::Apis::Core::JsonRepresentation
211
212
  property :content, as: 'content'
213
+ hash :labels, as: 'labels'
212
214
  property :mime_type, as: 'mimeType'
213
215
  property :model, as: 'model'
214
216
  end
@@ -397,6 +399,7 @@ module Google
397
399
  collection :contents, as: 'contents'
398
400
  property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
399
401
 
402
+ hash :labels, as: 'labels'
400
403
  property :mime_type, as: 'mimeType'
401
404
  property :model, as: 'model'
402
405
  property :source_language_code, as: 'sourceLanguageCode'
@@ -0,0 +1,35 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/verifiedaccess_v1/service.rb'
16
+ require 'google/apis/verifiedaccess_v1/classes.rb'
17
+ require 'google/apis/verifiedaccess_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Verified Access API
22
+ #
23
+ # API for Verified Access chrome extension to provide credential verification
24
+ # for chrome devices connecting to an enterprise network
25
+ #
26
+ # @see https://www.google.com/work/chrome/
27
+ module VerifiedaccessV1
28
+ VERSION = 'V1'
29
+ REVISION = '20190718'
30
+
31
+ # Verify your enterprise credentials
32
+ AUTH_VERIFIEDACCESS = 'https://www.googleapis.com/auth/verifiedaccess'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,174 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module VerifiedaccessV1
24
+
25
+ # Result message for VerifiedAccess.CreateChallenge.
26
+ class Challenge
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The wrapper message of any data and its signature.
30
+ # Corresponds to the JSON property `alternativeChallenge`
31
+ # @return [Google::Apis::VerifiedaccessV1::SignedData]
32
+ attr_accessor :alternative_challenge
33
+
34
+ # The wrapper message of any data and its signature.
35
+ # Corresponds to the JSON property `challenge`
36
+ # @return [Google::Apis::VerifiedaccessV1::SignedData]
37
+ attr_accessor :challenge
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @alternative_challenge = args[:alternative_challenge] if args.key?(:alternative_challenge)
46
+ @challenge = args[:challenge] if args.key?(:challenge)
47
+ end
48
+ end
49
+
50
+ # A generic empty message that you can re-use to avoid defining duplicated
51
+ # empty messages in your APIs. A typical example is to use it as the request
52
+ # or the response type of an API method. For instance:
53
+ # service Foo `
54
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
55
+ # `
56
+ # The JSON representation for `Empty` is empty JSON object ````.
57
+ class Empty
58
+ include Google::Apis::Core::Hashable
59
+
60
+ def initialize(**args)
61
+ update!(**args)
62
+ end
63
+
64
+ # Update properties of this object
65
+ def update!(**args)
66
+ end
67
+ end
68
+
69
+ # The wrapper message of any data and its signature.
70
+ class SignedData
71
+ include Google::Apis::Core::Hashable
72
+
73
+ # The data to be signed.
74
+ # Corresponds to the JSON property `data`
75
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
76
+ # @return [String]
77
+ attr_accessor :data
78
+
79
+ # The signature of the data field.
80
+ # Corresponds to the JSON property `signature`
81
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
82
+ # @return [String]
83
+ attr_accessor :signature
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @data = args[:data] if args.key?(:data)
92
+ @signature = args[:signature] if args.key?(:signature)
93
+ end
94
+ end
95
+
96
+ # signed ChallengeResponse
97
+ class VerifyChallengeResponseRequest
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # The wrapper message of any data and its signature.
101
+ # Corresponds to the JSON property `challengeResponse`
102
+ # @return [Google::Apis::VerifiedaccessV1::SignedData]
103
+ attr_accessor :challenge_response
104
+
105
+ # Service can optionally provide identity information about the device
106
+ # or user associated with the key.
107
+ # For an EMK, this value is the enrolled domain.
108
+ # For an EUK, this value is the user's email address.
109
+ # If present, this value will be checked against contents
110
+ # of the response, and verification will fail if there is no match.
111
+ # Corresponds to the JSON property `expectedIdentity`
112
+ # @return [String]
113
+ attr_accessor :expected_identity
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @challenge_response = args[:challenge_response] if args.key?(:challenge_response)
122
+ @expected_identity = args[:expected_identity] if args.key?(:expected_identity)
123
+ end
124
+ end
125
+
126
+ # Result message for VerifiedAccess.VerifyChallengeResponse.
127
+ class VerifyChallengeResponseResult
128
+ include Google::Apis::Core::Hashable
129
+
130
+ # Device enrollment id is returned in this field (for the machine response
131
+ # only).
132
+ # Corresponds to the JSON property `deviceEnrollmentId`
133
+ # @return [String]
134
+ attr_accessor :device_enrollment_id
135
+
136
+ # Device permanent id is returned in this field (for the machine response
137
+ # only).
138
+ # Corresponds to the JSON property `devicePermanentId`
139
+ # @return [String]
140
+ attr_accessor :device_permanent_id
141
+
142
+ # Certificate Signing Request (in the SPKAC format, base64 encoded) is
143
+ # returned in this field. This field will be set only if device has included
144
+ # CSR in its challenge response.
145
+ # (the option to include CSR is now available for both user and machine
146
+ # responses)
147
+ # Corresponds to the JSON property `signedPublicKeyAndChallenge`
148
+ # @return [String]
149
+ attr_accessor :signed_public_key_and_challenge
150
+
151
+ # For EMCert check, device permanent id is returned here.
152
+ # For EUCert check, signed_public_key_and_challenge [base64 encoded]
153
+ # is returned if present, otherwise empty string is returned.
154
+ # This field is deprecated, please use device_permanent_id or
155
+ # signed_public_key_and_challenge fields.
156
+ # Corresponds to the JSON property `verificationOutput`
157
+ # @return [String]
158
+ attr_accessor :verification_output
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ @device_enrollment_id = args[:device_enrollment_id] if args.key?(:device_enrollment_id)
167
+ @device_permanent_id = args[:device_permanent_id] if args.key?(:device_permanent_id)
168
+ @signed_public_key_and_challenge = args[:signed_public_key_and_challenge] if args.key?(:signed_public_key_and_challenge)
169
+ @verification_output = args[:verification_output] if args.key?(:verification_output)
170
+ end
171
+ end
172
+ end
173
+ end
174
+ end