google-api-client 0.23.0 → 0.23.1

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 +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180522'
28
+ REVISION = '20180622'
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'
@@ -191,6 +191,11 @@ module Google
191
191
  # @return [String]
192
192
  attr_accessor :config_bucket
193
193
 
194
+ # Encryption settings for the cluster.
195
+ # Corresponds to the JSON property `encryptionConfig`
196
+ # @return [Google::Apis::DataprocV1beta2::EncryptionConfig]
197
+ attr_accessor :encryption_config
198
+
194
199
  # Common config settings for resources of Compute Engine cluster instances,
195
200
  # applicable to all instances in the cluster.
196
201
  # Corresponds to the JSON property `gceClusterConfig`
@@ -247,6 +252,7 @@ module Google
247
252
  # Update properties of this object
248
253
  def update!(**args)
249
254
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
255
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
250
256
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
251
257
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
252
258
  @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config)
@@ -568,6 +574,26 @@ module Google
568
574
  end
569
575
  end
570
576
 
577
+ # Encryption settings for the cluster.
578
+ class EncryptionConfig
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # Optional. The Cloud KMS key name to use for PD disk encryption for all
582
+ # instances in the cluster.
583
+ # Corresponds to the JSON property `gcePdKmsKeyName`
584
+ # @return [String]
585
+ attr_accessor :gce_pd_kms_key_name
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name)
594
+ end
595
+ end
596
+
571
597
  # Common config settings for resources of Compute Engine cluster instances,
572
598
  # applicable to all instances in the cluster.
573
599
  class GceClusterConfig
@@ -840,8 +866,8 @@ module Google
840
866
  # @return [Google::Apis::DataprocV1beta2::DiskConfig]
841
867
  attr_accessor :disk_config
842
868
 
843
- # Output only. The Compute Engine image resource used for cluster instances.
844
- # Inferred from SoftwareConfig.image_version.
869
+ # Optional. The Compute Engine image resource used for cluster instances. It can
870
+ # be specified or may be inferred from SoftwareConfig.image_version.
845
871
  # Corresponds to the JSON property `imageUri`
846
872
  # @return [String]
847
873
  attr_accessor :image_uri
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class EncryptionConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class GceClusterConfig
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -420,6 +426,8 @@ module Google
420
426
  # @private
421
427
  class Representation < Google::Apis::Core::JsonRepresentation
422
428
  property :config_bucket, as: 'configBucket'
429
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1beta2::EncryptionConfig, decorator: Google::Apis::DataprocV1beta2::EncryptionConfig::Representation
430
+
423
431
  property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1beta2::GceClusterConfig, decorator: Google::Apis::DataprocV1beta2::GceClusterConfig::Representation
424
432
 
425
433
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1beta2::NodeInitializationAction, decorator: Google::Apis::DataprocV1beta2::NodeInitializationAction::Representation
@@ -526,6 +534,13 @@ module Google
526
534
  end
527
535
  end
528
536
 
537
+ class EncryptionConfig
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName'
541
+ end
542
+ end
543
+
529
544
  class GceClusterConfig
530
545
  # @private
531
546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180417'
29
+ REVISION = '20180605'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20180417'
29
+ REVISION = '20180605'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta3
28
28
  VERSION = 'V1beta3'
29
- REVISION = '20180417'
29
+ REVISION = '20180605'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/deployment-manager/
27
27
  module DeploymentmanagerAlpha
28
28
  VERSION = 'Alpha'
29
- REVISION = '20180503'
29
+ REVISION = '20180609'
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'
@@ -1224,7 +1224,7 @@ module Google
1224
1224
  # @param [String] type_provider
1225
1225
  # The name of the type provider for this request.
1226
1226
  # @param [String] type
1227
- # The name of the type provider for this request.
1227
+ # The name of the type provider type for this request.
1228
1228
  # @param [String] fields
1229
1229
  # Selector specifying which fields to include in a partial response.
1230
1230
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/deployment-manager/
27
27
  module DeploymentmanagerV2beta
28
28
  VERSION = 'V2beta'
29
- REVISION = '20180503'
29
+ REVISION = '20180609'
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'
@@ -1224,7 +1224,7 @@ module Google
1224
1224
  # @param [String] type_provider
1225
1225
  # The name of the type provider for this request.
1226
1226
  # @param [String] type
1227
- # The name of the type provider for this request.
1227
+ # The name of the type provider type for this request.
1228
1228
  # @param [String] fields
1229
1229
  # Selector specifying which fields to include in a partial response.
1230
1230
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180508'
29
+ REVISION = '20180702'
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'
@@ -689,8 +689,9 @@ module Google
689
689
 
690
690
  # The exported agent.
691
691
  # Example for how to export an agent to a zip file via a command line:
692
- # curl \
693
- # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:export'\
692
+ # <pre>curl \
693
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
694
+ # export'\
694
695
  # -X POST \
695
696
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
696
697
  # -H 'Accept: application/json' \
@@ -698,7 +699,7 @@ module Google
698
699
  # --compressed \
699
700
  # --data-binary '``' \
700
701
  # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
701
- # | base64 --decode > <agent zip file>
702
+ # | base64 --decode > &lt;agent zip file&gt;</pre>
702
703
  # Corresponds to the JSON property `agentContent`
703
704
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
704
705
  # @return [String]
@@ -727,16 +728,17 @@ module Google
727
728
 
728
729
  # The agent to import.
729
730
  # Example for how to import an agent via the command line:
730
- # curl \
731
- # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:import\
731
+ # <pre>curl \
732
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
733
+ # import\
732
734
  # -X POST \
733
735
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
734
736
  # -H 'Accept: application/json' \
735
737
  # -H 'Content-Type: application/json' \
736
738
  # --compressed \
737
739
  # --data-binary "`
738
- # 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
739
- # `"
740
+ # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
741
+ # `"</pre>
740
742
  # Corresponds to the JSON property `agentContent`
741
743
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
742
744
  # @return [String]
@@ -1874,6 +1876,12 @@ module Google
1874
1876
  # @return [String]
1875
1877
  attr_accessor :source
1876
1878
 
1879
+ # Optional. The version of the protocol used for this request.
1880
+ # This field is AoG-specific.
1881
+ # Corresponds to the JSON property `version`
1882
+ # @return [String]
1883
+ attr_accessor :version
1884
+
1877
1885
  def initialize(**args)
1878
1886
  update!(**args)
1879
1887
  end
@@ -1882,6 +1890,7 @@ module Google
1882
1890
  def update!(**args)
1883
1891
  @payload = args[:payload] if args.key?(:payload)
1884
1892
  @source = args[:source] if args.key?(:source)
1893
+ @version = args[:version] if args.key?(:version)
1885
1894
  end
1886
1895
  end
1887
1896
 
@@ -2030,6 +2039,8 @@ module Google
2030
2039
 
2031
2040
  # The intent detection confidence. Values range from 0.0
2032
2041
  # (completely uncertain) to 1.0 (completely certain).
2042
+ # If there are `multiple knowledge_answers` messages, this value is set to
2043
+ # the greatest `knowledgeAnswers.match_confidence` value in the list.
2033
2044
  # Corresponds to the JSON property `intentDetectionConfidence`
2034
2045
  # @return [Float]
2035
2046
  attr_accessor :intent_detection_confidence
@@ -2118,16 +2129,17 @@ module Google
2118
2129
 
2119
2130
  # The agent to restore.
2120
2131
  # Example for how to restore an agent via the command line:
2121
- # curl \
2122
- # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\
2132
+ # <pre>curl \
2133
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
2134
+ # restore\
2123
2135
  # -X POST \
2124
2136
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2125
2137
  # -H 'Accept: application/json' \
2126
2138
  # -H 'Content-Type: application/json' \
2127
2139
  # --compressed \
2128
2140
  # --data-binary "`
2129
- # 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
2130
- # `" \
2141
+ # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
2142
+ # `"</pre>
2131
2143
  # Corresponds to the JSON property `agentContent`
2132
2144
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2133
2145
  # @return [String]
@@ -2428,12 +2440,10 @@ module Google
2428
2440
 
2429
2441
  # Required. The unique identifier of the context. Format:
2430
2442
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
2431
- # or
2432
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2433
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
2434
- # users are under construction and will be available soon. The Context ID is
2435
- # always converted to lowercase. If <Environment ID> is not specified, we
2436
- # assume default 'draft' environment. If <User ID> is not specified, we
2443
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2444
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
2445
+ # always converted to lowercase. If `Environment ID` is not specified, we
2446
+ # assume default 'draft' environment. If `User ID` is not specified, we
2437
2447
  # assume default '-' user.
2438
2448
  # Corresponds to the JSON property `name`
2439
2449
  # @return [String]
@@ -2582,9 +2592,9 @@ module Google
2582
2592
 
2583
2593
  # The exported agent.
2584
2594
  # Example for how to export an agent to a zip file via a command line:
2585
- # curl \
2586
- # 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
2587
- # export'\
2595
+ # <pre>curl \
2596
+ # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2597
+ # agent:export'\
2588
2598
  # -X POST \
2589
2599
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2590
2600
  # -H 'Accept: application/json' \
@@ -2592,7 +2602,7 @@ module Google
2592
2602
  # --compressed \
2593
2603
  # --data-binary '``' \
2594
2604
  # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
2595
- # | base64 --decode > <agent zip file>
2605
+ # | base64 --decode > &lt;agent zip file&gt;</pre>
2596
2606
  # Corresponds to the JSON property `agentContent`
2597
2607
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2598
2608
  # @return [String]
@@ -3588,6 +3598,12 @@ module Google
3588
3598
  # @return [String]
3589
3599
  attr_accessor :source
3590
3600
 
3601
+ # Optional. The version of the protocol used for this request.
3602
+ # This field is AoG-specific.
3603
+ # Corresponds to the JSON property `version`
3604
+ # @return [String]
3605
+ attr_accessor :version
3606
+
3591
3607
  def initialize(**args)
3592
3608
  update!(**args)
3593
3609
  end
@@ -3596,6 +3612,7 @@ module Google
3596
3612
  def update!(**args)
3597
3613
  @payload = args[:payload] if args.key?(:payload)
3598
3614
  @source = args[:source] if args.key?(:source)
3615
+ @version = args[:version] if args.key?(:version)
3599
3616
  end
3600
3617
  end
3601
3618
 
@@ -3643,6 +3660,8 @@ module Google
3643
3660
 
3644
3661
  # The intent detection confidence. Values range from 0.0
3645
3662
  # (completely uncertain) to 1.0 (completely certain).
3663
+ # If there are `multiple knowledge_answers` messages, this value is set to
3664
+ # the greatest `knowledgeAnswers.match_confidence` value in the list.
3646
3665
  # Corresponds to the JSON property `intentDetectionConfidence`
3647
3666
  # @return [Float]
3648
3667
  attr_accessor :intent_detection_confidence
@@ -1135,6 +1135,7 @@ module Google
1135
1135
  class Representation < Google::Apis::Core::JsonRepresentation
1136
1136
  hash :payload, as: 'payload'
1137
1137
  property :source, as: 'source'
1138
+ property :version, as: 'version'
1138
1139
  end
1139
1140
  end
1140
1141
 
@@ -1591,6 +1592,7 @@ module Google
1591
1592
  class Representation < Google::Apis::Core::JsonRepresentation
1592
1593
  hash :payload, as: 'payload'
1593
1594
  property :source, as: 'source'
1595
+ property :version, as: 'version'
1594
1596
  end
1595
1597
  end
1596
1598
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180508'
29
+ REVISION = '20180702'
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'
@@ -221,8 +221,9 @@ module Google
221
221
 
222
222
  # The exported agent.
223
223
  # Example for how to export an agent to a zip file via a command line:
224
- # curl \
225
- # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:export'\
224
+ # <pre>curl \
225
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
226
+ # export'\
226
227
  # -X POST \
227
228
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
228
229
  # -H 'Accept: application/json' \
@@ -230,7 +231,7 @@ module Google
230
231
  # --compressed \
231
232
  # --data-binary '``' \
232
233
  # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
233
- # | base64 --decode > <agent zip file>
234
+ # | base64 --decode > &lt;agent zip file&gt;</pre>
234
235
  # Corresponds to the JSON property `agentContent`
235
236
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
236
237
  # @return [String]
@@ -1190,6 +1191,12 @@ module Google
1190
1191
  # @return [String]
1191
1192
  attr_accessor :source
1192
1193
 
1194
+ # Optional. The version of the protocol used for this request.
1195
+ # This field is AoG-specific.
1196
+ # Corresponds to the JSON property `version`
1197
+ # @return [String]
1198
+ attr_accessor :version
1199
+
1193
1200
  def initialize(**args)
1194
1201
  update!(**args)
1195
1202
  end
@@ -1198,6 +1205,7 @@ module Google
1198
1205
  def update!(**args)
1199
1206
  @payload = args[:payload] if args.key?(:payload)
1200
1207
  @source = args[:source] if args.key?(:source)
1208
+ @version = args[:version] if args.key?(:version)
1201
1209
  end
1202
1210
  end
1203
1211
 
@@ -1245,6 +1253,8 @@ module Google
1245
1253
 
1246
1254
  # The intent detection confidence. Values range from 0.0
1247
1255
  # (completely uncertain) to 1.0 (completely certain).
1256
+ # If there are `multiple knowledge_answers` messages, this value is set to
1257
+ # the greatest `knowledgeAnswers.match_confidence` value in the list.
1248
1258
  # Corresponds to the JSON property `intentDetectionConfidence`
1249
1259
  # @return [Float]
1250
1260
  attr_accessor :intent_detection_confidence
@@ -1815,12 +1825,10 @@ module Google
1815
1825
 
1816
1826
  # Required. The unique identifier of the context. Format:
1817
1827
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
1818
- # or
1819
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1820
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
1821
- # users are under construction and will be available soon. The Context ID is
1822
- # always converted to lowercase. If <Environment ID> is not specified, we
1823
- # assume default 'draft' environment. If <User ID> is not specified, we
1828
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1829
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
1830
+ # always converted to lowercase. If `Environment ID` is not specified, we
1831
+ # assume default 'draft' environment. If `User ID` is not specified, we
1824
1832
  # assume default '-' user.
1825
1833
  # Corresponds to the JSON property `name`
1826
1834
  # @return [String]
@@ -2119,9 +2127,9 @@ module Google
2119
2127
 
2120
2128
  # The exported agent.
2121
2129
  # Example for how to export an agent to a zip file via a command line:
2122
- # curl \
2123
- # 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
2124
- # export'\
2130
+ # <pre>curl \
2131
+ # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2132
+ # agent:export'\
2125
2133
  # -X POST \
2126
2134
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2127
2135
  # -H 'Accept: application/json' \
@@ -2129,7 +2137,7 @@ module Google
2129
2137
  # --compressed \
2130
2138
  # --data-binary '``' \
2131
2139
  # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
2132
- # | base64 --decode > <agent zip file>
2140
+ # | base64 --decode > &lt;agent zip file&gt;</pre>
2133
2141
  # Corresponds to the JSON property `agentContent`
2134
2142
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2135
2143
  # @return [String]
@@ -2158,17 +2166,17 @@ module Google
2158
2166
 
2159
2167
  # The agent to import.
2160
2168
  # Example for how to import an agent via the command line:
2161
- # curl \
2162
- # 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
2163
- # import\
2169
+ # <pre>curl \
2170
+ # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2171
+ # agent:import\
2164
2172
  # -X POST \
2165
2173
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2166
2174
  # -H 'Accept: application/json' \
2167
2175
  # -H 'Content-Type: application/json' \
2168
2176
  # --compressed \
2169
2177
  # --data-binary "`
2170
- # 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
2171
- # `"
2178
+ # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
2179
+ # `"</pre>
2172
2180
  # Corresponds to the JSON property `agentContent`
2173
2181
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2174
2182
  # @return [String]
@@ -3342,6 +3350,12 @@ module Google
3342
3350
  # @return [String]
3343
3351
  attr_accessor :source
3344
3352
 
3353
+ # Optional. The version of the protocol used for this request.
3354
+ # This field is AoG-specific.
3355
+ # Corresponds to the JSON property `version`
3356
+ # @return [String]
3357
+ attr_accessor :version
3358
+
3345
3359
  def initialize(**args)
3346
3360
  update!(**args)
3347
3361
  end
@@ -3350,6 +3364,7 @@ module Google
3350
3364
  def update!(**args)
3351
3365
  @payload = args[:payload] if args.key?(:payload)
3352
3366
  @source = args[:source] if args.key?(:source)
3367
+ @version = args[:version] if args.key?(:version)
3353
3368
  end
3354
3369
  end
3355
3370
 
@@ -3498,6 +3513,8 @@ module Google
3498
3513
 
3499
3514
  # The intent detection confidence. Values range from 0.0
3500
3515
  # (completely uncertain) to 1.0 (completely certain).
3516
+ # If there are `multiple knowledge_answers` messages, this value is set to
3517
+ # the greatest `knowledgeAnswers.match_confidence` value in the list.
3501
3518
  # Corresponds to the JSON property `intentDetectionConfidence`
3502
3519
  # @return [Float]
3503
3520
  attr_accessor :intent_detection_confidence
@@ -3586,17 +3603,17 @@ module Google
3586
3603
 
3587
3604
  # The agent to restore.
3588
3605
  # Example for how to restore an agent via the command line:
3589
- # curl \
3590
- # 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
3591
- # restore\
3606
+ # <pre>curl \
3607
+ # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
3608
+ # agent:restore\
3592
3609
  # -X POST \
3593
3610
  # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
3594
3611
  # -H 'Accept: application/json' \
3595
3612
  # -H 'Content-Type: application/json' \
3596
3613
  # --compressed \
3597
3614
  # --data-binary "`
3598
- # 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
3599
- # `" \
3615
+ # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
3616
+ # `"</pre>
3600
3617
  # Corresponds to the JSON property `agentContent`
3601
3618
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3602
3619
  # @return [String]
@@ -3670,11 +3687,9 @@ module Google
3670
3687
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
3671
3688
  # Display Name>`, or
3672
3689
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3673
- # ID>/sessions
3674
- # /<Session ID>/entityTypes/<Entity Type Display Name>`.
3675
- # Note: Environments and users are under construction and will be available
3676
- # soon. If <Environment ID> is not specified, we assume default 'draft'
3677
- # environment. If <User ID> is not specified, we assume default '-' user.
3690
+ # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
3691
+ # If `Environment ID` is not specified, we assume default 'draft'
3692
+ # environment. If `User ID` is not specified, we assume default '-' user.
3678
3693
  # Corresponds to the JSON property `name`
3679
3694
  # @return [String]
3680
3695
  attr_accessor :name