google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190531'
29
+ REVISION = '20190607'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -5147,9 +5147,13 @@ module Google
5147
5147
  # - "lasership"
5148
5148
  # - "mpx"
5149
5149
  # - "uds"
5150
+ # - "efw"
5150
5151
  # Acceptable values for FR are:
5151
5152
  # - "colissimo"
5152
5153
  # - "chronopost"
5154
+ # - "gls"
5155
+ # - "dpd"
5156
+ # - "bpost"
5153
5157
  # Corresponds to the JSON property `carrier`
5154
5158
  # @return [String]
5155
5159
  attr_accessor :carrier
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20190531'
29
+ REVISION = '20190607'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -3724,6 +3724,11 @@ module Google
3724
3724
  class OrderLineItem
3725
3725
  include Google::Apis::Core::Hashable
3726
3726
 
3727
+ # Price and tax adjustments applied on the line item.
3728
+ # Corresponds to the JSON property `adjustments`
3729
+ # @return [Array<Google::Apis::ContentV2_1::OrderLineItemAdjustment>]
3730
+ attr_accessor :adjustments
3731
+
3727
3732
  # Annotations that are attached to the line item.
3728
3733
  # Corresponds to the JSON property `annotations`
3729
3734
  # @return [Array<Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation>]
@@ -3809,6 +3814,7 @@ module Google
3809
3814
 
3810
3815
  # Update properties of this object
3811
3816
  def update!(**args)
3817
+ @adjustments = args[:adjustments] if args.key?(:adjustments)
3812
3818
  @annotations = args[:annotations] if args.key?(:annotations)
3813
3819
  @cancellations = args[:cancellations] if args.key?(:cancellations)
3814
3820
  @id = args[:id] if args.key?(:id)
@@ -3827,6 +3833,37 @@ module Google
3827
3833
  end
3828
3834
  end
3829
3835
 
3836
+ #
3837
+ class OrderLineItemAdjustment
3838
+ include Google::Apis::Core::Hashable
3839
+
3840
+ # Adjustment for total price of the line item.
3841
+ # Corresponds to the JSON property `priceAdjustment`
3842
+ # @return [Google::Apis::ContentV2_1::Price]
3843
+ attr_accessor :price_adjustment
3844
+
3845
+ # Adjustment for total tax of the line item.
3846
+ # Corresponds to the JSON property `taxAdjustment`
3847
+ # @return [Google::Apis::ContentV2_1::Price]
3848
+ attr_accessor :tax_adjustment
3849
+
3850
+ # Type of this adjustment.
3851
+ # Corresponds to the JSON property `type`
3852
+ # @return [String]
3853
+ attr_accessor :type
3854
+
3855
+ def initialize(**args)
3856
+ update!(**args)
3857
+ end
3858
+
3859
+ # Update properties of this object
3860
+ def update!(**args)
3861
+ @price_adjustment = args[:price_adjustment] if args.key?(:price_adjustment)
3862
+ @tax_adjustment = args[:tax_adjustment] if args.key?(:tax_adjustment)
3863
+ @type = args[:type] if args.key?(:type)
3864
+ end
3865
+ end
3866
+
3830
3867
  #
3831
3868
  class OrderLineItemProduct
3832
3869
  include Google::Apis::Core::Hashable
@@ -4434,9 +4471,13 @@ module Google
4434
4471
  # - "lasership"
4435
4472
  # - "mpx"
4436
4473
  # - "uds"
4474
+ # - "efw"
4437
4475
  # Acceptable values for FR are:
4438
4476
  # - "colissimo"
4439
4477
  # - "chronopost"
4478
+ # - "gls"
4479
+ # - "dpd"
4480
+ # - "bpost"
4440
4481
  # Corresponds to the JSON property `carrier`
4441
4482
  # @return [String]
4442
4483
  attr_accessor :carrier
@@ -616,6 +616,12 @@ module Google
616
616
  include Google::Apis::Core::JsonObjectSupport
617
617
  end
618
618
 
619
+ class OrderLineItemAdjustment
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
619
625
  class OrderLineItemProduct
620
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
627
 
@@ -2447,6 +2453,8 @@ module Google
2447
2453
  class OrderLineItem
2448
2454
  # @private
2449
2455
  class Representation < Google::Apis::Core::JsonRepresentation
2456
+ collection :adjustments, as: 'adjustments', class: Google::Apis::ContentV2_1::OrderLineItemAdjustment, decorator: Google::Apis::ContentV2_1::OrderLineItemAdjustment::Representation
2457
+
2450
2458
  collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation::Representation
2451
2459
 
2452
2460
  collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2_1::OrderCancellation, decorator: Google::Apis::ContentV2_1::OrderCancellation::Representation
@@ -2473,6 +2481,17 @@ module Google
2473
2481
  end
2474
2482
  end
2475
2483
 
2484
+ class OrderLineItemAdjustment
2485
+ # @private
2486
+ class Representation < Google::Apis::Core::JsonRepresentation
2487
+ property :price_adjustment, as: 'priceAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
2488
+
2489
+ property :tax_adjustment, as: 'taxAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
2490
+
2491
+ property :type, as: 'type'
2492
+ end
2493
+ end
2494
+
2476
2495
  class OrderLineItemProduct
2477
2496
  # @private
2478
2497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20190519'
28
+ REVISION = '20190607'
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'
@@ -1478,43 +1478,10 @@ module Google
1478
1478
 
1479
1479
  # The `Status` type defines a logical error model that is suitable for
1480
1480
  # different programming environments, including REST APIs and RPC APIs. It is
1481
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1482
- # - Simple to use and understand for most users
1483
- # - Flexible enough to meet unexpected needs
1484
- # # Overview
1485
- # The `Status` message contains three pieces of data: error code, error
1486
- # message, and error details. The error code should be an enum value of
1487
- # google.rpc.Code, but it may accept additional error codes if needed. The
1488
- # error message should be a developer-facing English message that helps
1489
- # developers *understand* and *resolve* the error. If a localized user-facing
1490
- # error message is needed, put the localized message in the error details or
1491
- # localize it in the client. The optional error details may contain arbitrary
1492
- # information about the error. There is a predefined set of error detail types
1493
- # in the package `google.rpc` that can be used for common error conditions.
1494
- # # Language mapping
1495
- # The `Status` message is the logical representation of the error model, but it
1496
- # is not necessarily the actual wire format. When the `Status` message is
1497
- # exposed in different client libraries and different wire protocols, it can be
1498
- # mapped differently. For example, it will likely be mapped to some exceptions
1499
- # in Java, but more likely mapped to some error codes in C.
1500
- # # Other uses
1501
- # The error model and the `Status` message can be used in a variety of
1502
- # environments, either with or without APIs, to provide a
1503
- # consistent developer experience across different environments.
1504
- # Example uses of this error model include:
1505
- # - Partial errors. If a service needs to return partial errors to the client,
1506
- # it may embed the `Status` in the normal response to indicate the partial
1507
- # errors.
1508
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1509
- # have a `Status` message for error reporting.
1510
- # - Batch operations. If a client uses batch request and batch response, the
1511
- # `Status` message should be used directly inside batch response, one for
1512
- # each error sub-response.
1513
- # - Asynchronous operations. If an API call embeds asynchronous operation
1514
- # results in its response, the status of those operations should be
1515
- # represented directly using the `Status` message.
1516
- # - Logging. If some API errors are stored in logs, the message `Status` could
1517
- # be used directly after any stripping needed for security/privacy reasons.
1481
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1482
+ # three pieces of data: error code, error message, and error details.
1483
+ # You can find out more about this error model and how to work with it in the
1484
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1518
1485
  # Corresponds to the JSON property `status`
1519
1486
  # @return [Google::Apis::DataflowV1b3::Status]
1520
1487
  attr_accessor :status
@@ -1565,6 +1532,38 @@ module Google
1565
1532
  end
1566
1533
  end
1567
1534
 
1535
+ # Proto describing a hot key detected on a given WorkItem.
1536
+ class HotKeyDetection
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # The age of the hot key measured from when it was first detected.
1540
+ # Corresponds to the JSON property `hotKeyAge`
1541
+ # @return [String]
1542
+ attr_accessor :hot_key_age
1543
+
1544
+ # System-defined name of the step containing this hot key.
1545
+ # Unique across the workflow.
1546
+ # Corresponds to the JSON property `systemName`
1547
+ # @return [String]
1548
+ attr_accessor :system_name
1549
+
1550
+ # User-provided name of the step that contains this hot key.
1551
+ # Corresponds to the JSON property `userStepName`
1552
+ # @return [String]
1553
+ attr_accessor :user_step_name
1554
+
1555
+ def initialize(**args)
1556
+ update!(**args)
1557
+ end
1558
+
1559
+ # Update properties of this object
1560
+ def update!(**args)
1561
+ @hot_key_age = args[:hot_key_age] if args.key?(:hot_key_age)
1562
+ @system_name = args[:system_name] if args.key?(:system_name)
1563
+ @user_step_name = args[:user_step_name] if args.key?(:user_step_name)
1564
+ end
1565
+ end
1566
+
1568
1567
  # An input of an instruction, as a reference to an output of a
1569
1568
  # producer instruction.
1570
1569
  class InstructionInput
@@ -4287,43 +4286,10 @@ module Google
4287
4286
 
4288
4287
  # The `Status` type defines a logical error model that is suitable for
4289
4288
  # different programming environments, including REST APIs and RPC APIs. It is
4290
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4291
- # - Simple to use and understand for most users
4292
- # - Flexible enough to meet unexpected needs
4293
- # # Overview
4294
- # The `Status` message contains three pieces of data: error code, error
4295
- # message, and error details. The error code should be an enum value of
4296
- # google.rpc.Code, but it may accept additional error codes if needed. The
4297
- # error message should be a developer-facing English message that helps
4298
- # developers *understand* and *resolve* the error. If a localized user-facing
4299
- # error message is needed, put the localized message in the error details or
4300
- # localize it in the client. The optional error details may contain arbitrary
4301
- # information about the error. There is a predefined set of error detail types
4302
- # in the package `google.rpc` that can be used for common error conditions.
4303
- # # Language mapping
4304
- # The `Status` message is the logical representation of the error model, but it
4305
- # is not necessarily the actual wire format. When the `Status` message is
4306
- # exposed in different client libraries and different wire protocols, it can be
4307
- # mapped differently. For example, it will likely be mapped to some exceptions
4308
- # in Java, but more likely mapped to some error codes in C.
4309
- # # Other uses
4310
- # The error model and the `Status` message can be used in a variety of
4311
- # environments, either with or without APIs, to provide a
4312
- # consistent developer experience across different environments.
4313
- # Example uses of this error model include:
4314
- # - Partial errors. If a service needs to return partial errors to the client,
4315
- # it may embed the `Status` in the normal response to indicate the partial
4316
- # errors.
4317
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4318
- # have a `Status` message for error reporting.
4319
- # - Batch operations. If a client uses batch request and batch response, the
4320
- # `Status` message should be used directly inside batch response, one for
4321
- # each error sub-response.
4322
- # - Asynchronous operations. If an API call embeds asynchronous operation
4323
- # results in its response, the status of those operations should be
4324
- # represented directly using the `Status` message.
4325
- # - Logging. If some API errors are stored in logs, the message `Status` could
4326
- # be used directly after any stripping needed for security/privacy reasons.
4289
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4290
+ # three pieces of data: error code, error message, and error details.
4291
+ # You can find out more about this error model and how to work with it in the
4292
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4327
4293
  class Status
4328
4294
  include Google::Apis::Core::Hashable
4329
4295
 
@@ -5182,6 +5148,11 @@ module Google
5182
5148
  # @return [Hash<String,Object>]
5183
5149
  attr_accessor :harness_data
5184
5150
 
5151
+ # Proto describing a hot key detected on a given WorkItem.
5152
+ # Corresponds to the JSON property `hotKeyDetection`
5153
+ # @return [Google::Apis::DataflowV1b3::HotKeyDetection]
5154
+ attr_accessor :hot_key_detection
5155
+
5185
5156
  # Time at which the current lease will expire.
5186
5157
  # Corresponds to the JSON property `leaseExpireTime`
5187
5158
  # @return [String]
@@ -5233,6 +5204,7 @@ module Google
5233
5204
  # Update properties of this object
5234
5205
  def update!(**args)
5235
5206
  @harness_data = args[:harness_data] if args.key?(:harness_data)
5207
+ @hot_key_detection = args[:hot_key_detection] if args.key?(:hot_key_detection)
5236
5208
  @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time)
5237
5209
  @metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id)
5238
5210
  @next_report_index = args[:next_report_index] if args.key?(:next_report_index)
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class HotKeyDetection
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class InstructionInput
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -1281,6 +1287,15 @@ module Google
1281
1287
  end
1282
1288
  end
1283
1289
 
1290
+ class HotKeyDetection
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :hot_key_age, as: 'hotKeyAge'
1294
+ property :system_name, as: 'systemName'
1295
+ property :user_step_name, as: 'userStepName'
1296
+ end
1297
+ end
1298
+
1284
1299
  class InstructionInput
1285
1300
  # @private
1286
1301
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2256,6 +2271,8 @@ module Google
2256
2271
  # @private
2257
2272
  class Representation < Google::Apis::Core::JsonRepresentation
2258
2273
  hash :harness_data, as: 'harnessData'
2274
+ property :hot_key_detection, as: 'hotKeyDetection', class: Google::Apis::DataflowV1b3::HotKeyDetection, decorator: Google::Apis::DataflowV1b3::HotKeyDetection::Representation
2275
+
2259
2276
  property :lease_expire_time, as: 'leaseExpireTime'
2260
2277
  collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation
2261
2278
 
@@ -34,7 +34,7 @@ module Google
34
34
  # @see https://cloud.google.com/data-fusion/docs
35
35
  module DatafusionV1beta1
36
36
  VERSION = 'V1beta1'
37
- REVISION = '20190508'
37
+ REVISION = '20190610'
38
38
 
39
39
  # View and manage your data across Google Cloud Platform services
40
40
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -786,43 +786,10 @@ module Google
786
786
 
787
787
  # The `Status` type defines a logical error model that is suitable for
788
788
  # different programming environments, including REST APIs and RPC APIs. It is
789
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
790
- # - Simple to use and understand for most users
791
- # - Flexible enough to meet unexpected needs
792
- # # Overview
793
- # The `Status` message contains three pieces of data: error code, error
794
- # message, and error details. The error code should be an enum value of
795
- # google.rpc.Code, but it may accept additional error codes if needed. The
796
- # error message should be a developer-facing English message that helps
797
- # developers *understand* and *resolve* the error. If a localized user-facing
798
- # error message is needed, put the localized message in the error details or
799
- # localize it in the client. The optional error details may contain arbitrary
800
- # information about the error. There is a predefined set of error detail types
801
- # in the package `google.rpc` that can be used for common error conditions.
802
- # # Language mapping
803
- # The `Status` message is the logical representation of the error model, but it
804
- # is not necessarily the actual wire format. When the `Status` message is
805
- # exposed in different client libraries and different wire protocols, it can be
806
- # mapped differently. For example, it will likely be mapped to some exceptions
807
- # in Java, but more likely mapped to some error codes in C.
808
- # # Other uses
809
- # The error model and the `Status` message can be used in a variety of
810
- # environments, either with or without APIs, to provide a
811
- # consistent developer experience across different environments.
812
- # Example uses of this error model include:
813
- # - Partial errors. If a service needs to return partial errors to the client,
814
- # it may embed the `Status` in the normal response to indicate the partial
815
- # errors.
816
- # - Workflow errors. A typical workflow has multiple steps. Each step may
817
- # have a `Status` message for error reporting.
818
- # - Batch operations. If a client uses batch request and batch response, the
819
- # `Status` message should be used directly inside batch response, one for
820
- # each error sub-response.
821
- # - Asynchronous operations. If an API call embeds asynchronous operation
822
- # results in its response, the status of those operations should be
823
- # represented directly using the `Status` message.
824
- # - Logging. If some API errors are stored in logs, the message `Status` could
825
- # be used directly after any stripping needed for security/privacy reasons.
789
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
790
+ # three pieces of data: error code, error message, and error details.
791
+ # You can find out more about this error model and how to work with it in the
792
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
826
793
  # Corresponds to the JSON property `error`
827
794
  # @return [Google::Apis::DatafusionV1beta1::Status]
828
795
  attr_accessor :error
@@ -1174,43 +1141,10 @@ module Google
1174
1141
 
1175
1142
  # The `Status` type defines a logical error model that is suitable for
1176
1143
  # different programming environments, including REST APIs and RPC APIs. It is
1177
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1178
- # - Simple to use and understand for most users
1179
- # - Flexible enough to meet unexpected needs
1180
- # # Overview
1181
- # The `Status` message contains three pieces of data: error code, error
1182
- # message, and error details. The error code should be an enum value of
1183
- # google.rpc.Code, but it may accept additional error codes if needed. The
1184
- # error message should be a developer-facing English message that helps
1185
- # developers *understand* and *resolve* the error. If a localized user-facing
1186
- # error message is needed, put the localized message in the error details or
1187
- # localize it in the client. The optional error details may contain arbitrary
1188
- # information about the error. There is a predefined set of error detail types
1189
- # in the package `google.rpc` that can be used for common error conditions.
1190
- # # Language mapping
1191
- # The `Status` message is the logical representation of the error model, but it
1192
- # is not necessarily the actual wire format. When the `Status` message is
1193
- # exposed in different client libraries and different wire protocols, it can be
1194
- # mapped differently. For example, it will likely be mapped to some exceptions
1195
- # in Java, but more likely mapped to some error codes in C.
1196
- # # Other uses
1197
- # The error model and the `Status` message can be used in a variety of
1198
- # environments, either with or without APIs, to provide a
1199
- # consistent developer experience across different environments.
1200
- # Example uses of this error model include:
1201
- # - Partial errors. If a service needs to return partial errors to the client,
1202
- # it may embed the `Status` in the normal response to indicate the partial
1203
- # errors.
1204
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1205
- # have a `Status` message for error reporting.
1206
- # - Batch operations. If a client uses batch request and batch response, the
1207
- # `Status` message should be used directly inside batch response, one for
1208
- # each error sub-response.
1209
- # - Asynchronous operations. If an API call embeds asynchronous operation
1210
- # results in its response, the status of those operations should be
1211
- # represented directly using the `Status` message.
1212
- # - Logging. If some API errors are stored in logs, the message `Status` could
1213
- # be used directly after any stripping needed for security/privacy reasons.
1144
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1145
+ # three pieces of data: error code, error message, and error details.
1146
+ # You can find out more about this error model and how to work with it in the
1147
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1214
1148
  class Status
1215
1149
  include Google::Apis::Core::Hashable
1216
1150