google-api-client 0.30.2 → 0.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -61,6 +61,12 @@ module Google
61
61
  class Creative
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
+ class AdTechnologyProviders
65
+ class Representation < Google::Apis::Core::JsonRepresentation; end
66
+
67
+ include Google::Apis::Core::JsonObjectSupport
68
+ end
69
+
64
70
  class Correction
65
71
  class Representation < Google::Apis::Core::JsonRepresentation; end
66
72
 
@@ -241,6 +247,8 @@ module Google
241
247
  class Representation < Google::Apis::Core::JsonRepresentation
242
248
  property :html_snippet, as: 'HTMLSnippet'
243
249
  property :account_id, as: 'accountId'
250
+ property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders, decorator: Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders::Representation
251
+
244
252
  collection :advertiser_id, as: 'advertiserId'
245
253
  property :advertiser_name, as: 'advertiserName'
246
254
  property :agency_id, :numeric_string => true, as: 'agencyId'
@@ -270,6 +278,14 @@ module Google
270
278
  property :width, as: 'width'
271
279
  end
272
280
 
281
+ class AdTechnologyProviders
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ collection :detected_provider_ids, as: 'detectedProviderIds'
285
+ property :has_unidentified_provider, as: 'hasUnidentifiedProvider'
286
+ end
287
+ end
288
+
273
289
  class Correction
274
290
  # @private
275
291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -320,7 +336,6 @@ module Google
320
336
 
321
337
  property :price, as: 'price'
322
338
  property :star_rating, as: 'starRating'
323
- property :store, as: 'store'
324
339
  end
325
340
 
326
341
  class AppIcon
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest
27
27
  module AdexchangebuyerV1_4
28
28
  VERSION = 'V1_4'
29
- REVISION = '20180823'
29
+ REVISION = '20190614'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -495,6 +495,11 @@ module Google
495
495
  # @return [String]
496
496
  attr_accessor :ad_choices_destination_url
497
497
 
498
+ #
499
+ # Corresponds to the JSON property `adTechnologyProviders`
500
+ # @return [Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders]
501
+ attr_accessor :ad_technology_providers
502
+
498
503
  # Detected advertiser id, if any. Read-only. This field should not be set in
499
504
  # requests.
500
505
  # Corresponds to the JSON property `advertiserId`
@@ -681,6 +686,7 @@ module Google
681
686
  @html_snippet = args[:html_snippet] if args.key?(:html_snippet)
682
687
  @account_id = args[:account_id] if args.key?(:account_id)
683
688
  @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
689
+ @ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
684
690
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
685
691
  @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
686
692
  @agency_id = args[:agency_id] if args.key?(:agency_id)
@@ -710,6 +716,32 @@ module Google
710
716
  @width = args[:width] if args.key?(:width)
711
717
  end
712
718
 
719
+ #
720
+ class AdTechnologyProviders
721
+ include Google::Apis::Core::Hashable
722
+
723
+ #
724
+ # Corresponds to the JSON property `detectedProviderIds`
725
+ # @return [Array<Fixnum>]
726
+ attr_accessor :detected_provider_ids
727
+
728
+ #
729
+ # Corresponds to the JSON property `hasUnidentifiedProvider`
730
+ # @return [Boolean]
731
+ attr_accessor :has_unidentified_provider
732
+ alias_method :has_unidentified_provider?, :has_unidentified_provider
733
+
734
+ def initialize(**args)
735
+ update!(**args)
736
+ end
737
+
738
+ # Update properties of this object
739
+ def update!(**args)
740
+ @detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids)
741
+ @has_unidentified_provider = args[:has_unidentified_provider] if args.key?(:has_unidentified_provider)
742
+ end
743
+ end
744
+
713
745
  #
714
746
  class Correction
715
747
  include Google::Apis::Core::Hashable
@@ -899,11 +931,6 @@ module Google
899
931
  # @return [Float]
900
932
  attr_accessor :star_rating
901
933
 
902
- # The URL to the app store to purchase/download the promoted app.
903
- # Corresponds to the JSON property `store`
904
- # @return [String]
905
- attr_accessor :store
906
-
907
934
  # The URL of the XML VAST for a native ad. Note this is a separate field from
908
935
  # resource.video_url.
909
936
  # Corresponds to the JSON property `videoURL`
@@ -928,7 +955,6 @@ module Google
928
955
  @logo = args[:logo] if args.key?(:logo)
929
956
  @price = args[:price] if args.key?(:price)
930
957
  @star_rating = args[:star_rating] if args.key?(:star_rating)
931
- @store = args[:store] if args.key?(:store)
932
958
  @video_url = args[:video_url] if args.key?(:video_url)
933
959
  end
934
960
 
@@ -109,6 +109,12 @@ module Google
109
109
  class Creative
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
+ class AdTechnologyProviders
113
+ class Representation < Google::Apis::Core::JsonRepresentation; end
114
+
115
+ include Google::Apis::Core::JsonObjectSupport
116
+ end
117
+
112
118
  class Correction
113
119
  class Representation < Google::Apis::Core::JsonRepresentation; end
114
120
 
@@ -635,6 +641,8 @@ module Google
635
641
  property :html_snippet, as: 'HTMLSnippet'
636
642
  property :account_id, as: 'accountId'
637
643
  property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
644
+ property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::AdTechnologyProviders::Representation
645
+
638
646
  collection :advertiser_id, as: 'advertiserId'
639
647
  property :advertiser_name, as: 'advertiserName'
640
648
  property :agency_id, :numeric_string => true, as: 'agencyId'
@@ -669,6 +677,14 @@ module Google
669
677
  property :width, as: 'width'
670
678
  end
671
679
 
680
+ class AdTechnologyProviders
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ collection :detected_provider_ids, as: 'detectedProviderIds'
684
+ property :has_unidentified_provider, as: 'hasUnidentifiedProvider'
685
+ end
686
+ end
687
+
672
688
  class Correction
673
689
  # @private
674
690
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,7 +740,6 @@ module Google
724
740
 
725
741
  property :price, as: 'price'
726
742
  property :star_rating, as: 'starRating'
727
- property :store, as: 'store'
728
743
  property :video_url, as: 'videoURL'
729
744
  end
730
745
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/
26
26
  module AnalyticsV3
27
27
  VERSION = 'V3'
28
- REVISION = '20180730'
28
+ REVISION = '20190604'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -5603,7 +5603,7 @@ module Google
5603
5603
  # Set to true to reset the retention period of the user identifier with each new
5604
5604
  # event from that user (thus setting the expiration date to current time plus
5605
5605
  # retention period).
5606
- # Set to false to delete data associated with the user identifer automatically
5606
+ # Set to false to delete data associated with the user identifier automatically
5607
5607
  # after the rentention period.
5608
5608
  # This property cannot be set on insert.
5609
5609
  # Corresponds to the JSON property `dataRetentionResetOnNewActivity`
@@ -1276,7 +1276,7 @@ module Google
1276
1276
  execute_or_queue_command(command, &block)
1277
1277
  end
1278
1278
 
1279
- # Returns a filters to which the user has access.
1279
+ # Returns filters to which the user has access.
1280
1280
  # @param [String] account_id
1281
1281
  # Account ID to retrieve filters for.
1282
1282
  # @param [String] filter_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190514'
29
+ REVISION = '20190605'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -1749,38 +1749,10 @@ module Google
1749
1749
 
1750
1750
  # The Status type defines a logical error model that is suitable for different
1751
1751
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1752
- # (https://github.com/grpc). The error model is designed to be:
1753
- # Simple to use and understand for most users
1754
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
1755
- # three pieces of data: error code, error message, and error details. The error
1756
- # code should be an enum value of google.rpc.Code, but it may accept additional
1757
- # error codes if needed. The error message should be a developer-facing English
1758
- # message that helps developers understand and resolve the error. If a localized
1759
- # user-facing error message is needed, put the localized message in the error
1760
- # details or localize it in the client. The optional error details may contain
1761
- # arbitrary information about the error. There is a predefined set of error
1762
- # detail types in the package google.rpc that can be used for common error
1763
- # conditions.Language mappingThe Status message is the logical representation of
1764
- # the error model, but it is not necessarily the actual wire format. When the
1765
- # Status message is exposed in different client libraries and different wire
1766
- # protocols, it can be mapped differently. For example, it will likely be mapped
1767
- # to some exceptions in Java, but more likely mapped to some error codes in C.
1768
- # Other usesThe error model and the Status message can be used in a variety of
1769
- # environments, either with or without APIs, to provide a consistent developer
1770
- # experience across different environments.Example uses of this error model
1771
- # include:
1772
- # Partial errors. If a service needs to return partial errors to the client, it
1773
- # may embed the Status in the normal response to indicate the partial errors.
1774
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
1775
- # Status message for error reporting.
1776
- # Batch operations. If a client uses batch request and batch response, the
1777
- # Status message should be used directly inside batch response, one for each
1778
- # error sub-response.
1779
- # Asynchronous operations. If an API call embeds asynchronous operation results
1780
- # in its response, the status of those operations should be represented directly
1781
- # using the Status message.
1782
- # Logging. If some API errors are stored in logs, the message Status could be
1783
- # used directly after any stripping needed for security/privacy reasons.
1752
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1753
+ # error code, error message, and error details.You can find out more about this
1754
+ # error model and how to work with it in the API Design Guide (https://cloud.
1755
+ # google.com/apis/design/errors).
1784
1756
  # Corresponds to the JSON property `error`
1785
1757
  # @return [Google::Apis::AndroidmanagementV1::Status]
1786
1758
  attr_accessor :error
@@ -2861,38 +2833,10 @@ module Google
2861
2833
 
2862
2834
  # The Status type defines a logical error model that is suitable for different
2863
2835
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2864
- # (https://github.com/grpc). The error model is designed to be:
2865
- # Simple to use and understand for most users
2866
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2867
- # three pieces of data: error code, error message, and error details. The error
2868
- # code should be an enum value of google.rpc.Code, but it may accept additional
2869
- # error codes if needed. The error message should be a developer-facing English
2870
- # message that helps developers understand and resolve the error. If a localized
2871
- # user-facing error message is needed, put the localized message in the error
2872
- # details or localize it in the client. The optional error details may contain
2873
- # arbitrary information about the error. There is a predefined set of error
2874
- # detail types in the package google.rpc that can be used for common error
2875
- # conditions.Language mappingThe Status message is the logical representation of
2876
- # the error model, but it is not necessarily the actual wire format. When the
2877
- # Status message is exposed in different client libraries and different wire
2878
- # protocols, it can be mapped differently. For example, it will likely be mapped
2879
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2880
- # Other usesThe error model and the Status message can be used in a variety of
2881
- # environments, either with or without APIs, to provide a consistent developer
2882
- # experience across different environments.Example uses of this error model
2883
- # include:
2884
- # Partial errors. If a service needs to return partial errors to the client, it
2885
- # may embed the Status in the normal response to indicate the partial errors.
2886
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2887
- # Status message for error reporting.
2888
- # Batch operations. If a client uses batch request and batch response, the
2889
- # Status message should be used directly inside batch response, one for each
2890
- # error sub-response.
2891
- # Asynchronous operations. If an API call embeds asynchronous operation results
2892
- # in its response, the status of those operations should be represented directly
2893
- # using the Status message.
2894
- # Logging. If some API errors are stored in logs, the message Status could be
2895
- # used directly after any stripping needed for security/privacy reasons.
2836
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2837
+ # error code, error message, and error details.You can find out more about this
2838
+ # error model and how to work with it in the API Design Guide (https://cloud.
2839
+ # google.com/apis/design/errors).
2896
2840
  class Status
2897
2841
  include Google::Apis::Core::Hashable
2898
2842
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV1_1
27
27
  VERSION = 'V1_1'
28
- REVISION = '20190120'
28
+ REVISION = '20190618'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -53,6 +53,7 @@ module Google
53
53
  # The purchase state of the order. Possible values are:
54
54
  # - Purchased
55
55
  # - Canceled
56
+ # - Pending
56
57
  # Corresponds to the JSON property `purchaseState`
57
58
  # @return [Fixnum]
58
59
  attr_accessor :purchase_state
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190414'
28
+ REVISION = '20190618'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1095,6 +1095,7 @@ module Google
1095
1095
  # The purchase state of the order. Possible values are:
1096
1096
  # - Purchased
1097
1097
  # - Canceled
1098
+ # - Pending
1098
1099
  # Corresponds to the JSON property `purchaseState`
1099
1100
  # @return [Fixnum]
1100
1101
  attr_accessor :purchase_state
@@ -1536,8 +1537,8 @@ module Google
1536
1537
  # @return [String]
1537
1538
  attr_accessor :price_currency_code
1538
1539
 
1539
- # The profile id of the user when the subscription was purchased. Only present
1540
- # for purchases made with 'Subscribe with Google'.
1540
+ # The Google profile id of the user when the subscription was purchased. Only
1541
+ # present for purchases made with 'Subscribe with Google'.
1541
1542
  # Corresponds to the JSON property `profileId`
1542
1543
  # @return [String]
1543
1544
  attr_accessor :profile_id
@@ -1640,12 +1641,13 @@ module Google
1640
1641
  class Testers
1641
1642
  include Google::Apis::Core::Hashable
1642
1643
 
1643
- #
1644
+ # A list of all Google Groups, as email addresses, that define testers for this
1645
+ # track.
1644
1646
  # Corresponds to the JSON property `googleGroups`
1645
1647
  # @return [Array<String>]
1646
1648
  attr_accessor :google_groups
1647
1649
 
1648
- #
1650
+ # A list of all Google+ Communities, as URLs, that define testers for this track.
1649
1651
  # Corresponds to the JSON property `googlePlusCommunities`
1650
1652
  # @return [Array<String>]
1651
1653
  attr_accessor :google_plus_communities
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20190604'
28
+ REVISION = '20190618'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1137,6 +1137,7 @@ module Google
1137
1137
  # The purchase state of the order. Possible values are:
1138
1138
  # - Purchased
1139
1139
  # - Canceled
1140
+ # - Pending
1140
1141
  # Corresponds to the JSON property `purchaseState`
1141
1142
  # @return [Fixnum]
1142
1143
  attr_accessor :purchase_state
@@ -1612,8 +1613,8 @@ module Google
1612
1613
  # @return [String]
1613
1614
  attr_accessor :price_currency_code
1614
1615
 
1615
- # The profile id of the user when the subscription was purchased. Only present
1616
- # for purchases made with 'Subscribe with Google'.
1616
+ # The Google profile id of the user when the subscription was purchased. Only
1617
+ # present for purchases made with 'Subscribe with Google'.
1617
1618
  # Corresponds to the JSON property `profileId`
1618
1619
  # @return [String]
1619
1620
  attr_accessor :profile_id
@@ -1737,12 +1738,13 @@ module Google
1737
1738
  class Testers
1738
1739
  include Google::Apis::Core::Hashable
1739
1740
 
1740
- #
1741
+ # A list of all Google Groups, as email addresses, that define testers for this
1742
+ # track.
1741
1743
  # Corresponds to the JSON property `googleGroups`
1742
1744
  # @return [Array<String>]
1743
1745
  attr_accessor :google_groups
1744
1746
 
1745
- #
1747
+ # A list of all Google+ Communities, as URLs, that define testers for this track.
1746
1748
  # Corresponds to the JSON property `googlePlusCommunities`
1747
1749
  # @return [Array<String>]
1748
1750
  attr_accessor :google_plus_communities
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190530'
28
+ REVISION = '20190616'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -91,6 +91,54 @@ module Google
91
91
  end
92
92
  end
93
93
 
94
+ # Input/output argument of a function or a stored procedure.
95
+ class Argument
96
+ include Google::Apis::Core::Hashable
97
+
98
+ # Optional. Defaults to FIXED_TYPE.
99
+ # Corresponds to the JSON property `argumentKind`
100
+ # @return [String]
101
+ attr_accessor :argument_kind
102
+
103
+ # The type of a variable, e.g., a function argument.
104
+ # Examples:
105
+ # INT64: `type_kind="INT64"`
106
+ # ARRAY<STRING>: `type_kind="ARRAY", array_element_type="STRING"`
107
+ # STRUCT<x STRING, y ARRAY<DATE>>:
108
+ # `type_kind="STRUCT",
109
+ # struct_type=`fields=[
110
+ # `name="x", type=`type_kind="STRING"``,
111
+ # `name="y", type=`type_kind="ARRAY", array_element_type="DATE"``
112
+ # ]``
113
+ # Corresponds to the JSON property `dataType`
114
+ # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
115
+ attr_accessor :data_type
116
+
117
+ # Optional. Specifies whether the argument is input or output.
118
+ # Can be set for procedures only.
119
+ # Corresponds to the JSON property `mode`
120
+ # @return [String]
121
+ attr_accessor :mode
122
+
123
+ # Optional. The name of this argument. Can be absent for function return
124
+ # argument.
125
+ # Corresponds to the JSON property `name`
126
+ # @return [String]
127
+ attr_accessor :name
128
+
129
+ def initialize(**args)
130
+ update!(**args)
131
+ end
132
+
133
+ # Update properties of this object
134
+ def update!(**args)
135
+ @argument_kind = args[:argument_kind] if args.key?(:argument_kind)
136
+ @data_type = args[:data_type] if args.key?(:data_type)
137
+ @mode = args[:mode] if args.key?(:mode)
138
+ @name = args[:name] if args.key?(:name)
139
+ end
140
+ end
141
+
94
142
  #
95
143
  class BigQueryModelTraining
96
144
  include Google::Apis::Core::Hashable
@@ -338,6 +386,16 @@ module Google
338
386
  class BinaryConfusionMatrix
339
387
  include Google::Apis::Core::Hashable
340
388
 
389
+ # The fraction of predictions given the correct label.
390
+ # Corresponds to the JSON property `accuracy`
391
+ # @return [Float]
392
+ attr_accessor :accuracy
393
+
394
+ # The equally weighted average of recall and precision.
395
+ # Corresponds to the JSON property `f1Score`
396
+ # @return [Float]
397
+ attr_accessor :f1_score
398
+
341
399
  # Number of false samples predicted as false.
342
400
  # Corresponds to the JSON property `falseNegatives`
343
401
  # @return [Fixnum]
@@ -353,12 +411,14 @@ module Google
353
411
  # @return [Float]
354
412
  attr_accessor :positive_class_threshold
355
413
 
356
- # Aggregate precision.
414
+ # The fraction of actual positive predictions that had positive actual
415
+ # labels.
357
416
  # Corresponds to the JSON property `precision`
358
417
  # @return [Float]
359
418
  attr_accessor :precision
360
419
 
361
- # Aggregate recall.
420
+ # The fraction of actual positive labels that were given a positive
421
+ # prediction.
362
422
  # Corresponds to the JSON property `recall`
363
423
  # @return [Float]
364
424
  attr_accessor :recall
@@ -379,6 +439,8 @@ module Google
379
439
 
380
440
  # Update properties of this object
381
441
  def update!(**args)
442
+ @accuracy = args[:accuracy] if args.key?(:accuracy)
443
+ @f1_score = args[:f1_score] if args.key?(:f1_score)
382
444
  @false_negatives = args[:false_negatives] if args.key?(:false_negatives)
383
445
  @false_positives = args[:false_positives] if args.key?(:false_positives)
384
446
  @positive_class_threshold = args[:positive_class_threshold] if args.key?(:positive_class_threshold)
@@ -1466,15 +1528,22 @@ module Google
1466
1528
  # @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
1467
1529
  attr_accessor :google_sheets_options
1468
1530
 
1469
- # [Optional, Experimental] If hive partitioning is enabled, which mode to use.
1531
+ # [Optional, Trusted Tester] If hive partitioning is enabled, which mode to use.
1470
1532
  # Two modes are supported: - AUTO: automatically infer partition key name(s) and
1471
1533
  # type(s). - STRINGS: automatic infer partition key name(s). All types are
1472
1534
  # strings. Not all storage formats support hive partitioning -- requesting hive
1473
- # partitioning on an unsupported format will lead to an error.
1535
+ # partitioning on an unsupported format will lead to an error. Note: this
1536
+ # setting is in the process of being deprecated in favor of
1537
+ # hivePartitioningOptions.
1474
1538
  # Corresponds to the JSON property `hivePartitioningMode`
1475
1539
  # @return [String]
1476
1540
  attr_accessor :hive_partitioning_mode
1477
1541
 
1542
+ # [Optional, Trusted Tester] Options to configure hive partitioning support.
1543
+ # Corresponds to the JSON property `hivePartitioningOptions`
1544
+ # @return [Google::Apis::BigqueryV2::HivePartitioningOptions]
1545
+ attr_accessor :hive_partitioning_options
1546
+
1478
1547
  # [Optional] Indicates if BigQuery should allow extra values that are not
1479
1548
  # represented in the table schema. If true, the extra values are ignored. If
1480
1549
  # false, records with extra columns are treated as bad records, and if there are
@@ -1538,6 +1607,7 @@ module Google
1538
1607
  @csv_options = args[:csv_options] if args.key?(:csv_options)
1539
1608
  @google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
1540
1609
  @hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
1610
+ @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
1541
1611
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
1542
1612
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
1543
1613
  @schema = args[:schema] if args.key?(:schema)
@@ -1709,6 +1779,44 @@ module Google
1709
1779
  end
1710
1780
  end
1711
1781
 
1782
+ #
1783
+ class HivePartitioningOptions
1784
+ include Google::Apis::Core::Hashable
1785
+
1786
+ # [Optional, Trusted Tester] When set, what mode of hive partitioning to use
1787
+ # when reading data. Two modes are supported. (1) AUTO: automatically infer
1788
+ # partition key name(s) and type(s). (2) STRINGS: automatically infer partition
1789
+ # key name(s). All types are interpreted as strings. Not all storage formats
1790
+ # support hive partitioning. Requesting hive partitioning on an unsupported
1791
+ # format will lead to an error. Currently supported types include: AVRO, CSV,
1792
+ # JSON, ORC and Parquet.
1793
+ # Corresponds to the JSON property `mode`
1794
+ # @return [String]
1795
+ attr_accessor :mode
1796
+
1797
+ # [Optional, Trusted Tester] When hive partition detection is requested, a
1798
+ # common prefix for all source uris should be supplied. The prefix must end
1799
+ # immediately before the partition key encoding begins. For example, consider
1800
+ # files following this data layout. gs://bucket/path_to_table/dt=2019-01-01/
1801
+ # country=BR/id=7/file.avro gs://bucket/path_to_table/dt=2018-12-31/country=CA/
1802
+ # id=3/file.avro When hive partitioning is requested with either AUTO or STRINGS
1803
+ # detection, the common prefix can be either of gs://bucket/path_to_table or gs:/
1804
+ # /bucket/path_to_table/ (trailing slash does not matter).
1805
+ # Corresponds to the JSON property `sourceUriPrefix`
1806
+ # @return [String]
1807
+ attr_accessor :source_uri_prefix
1808
+
1809
+ def initialize(**args)
1810
+ update!(**args)
1811
+ end
1812
+
1813
+ # Update properties of this object
1814
+ def update!(**args)
1815
+ @mode = args[:mode] if args.key?(:mode)
1816
+ @source_uri_prefix = args[:source_uri_prefix] if args.key?(:source_uri_prefix)
1817
+ end
1818
+ end
1819
+
1712
1820
  # Information about a single iteration of the training run.
1713
1821
  class IterationResult
1714
1822
  include Google::Apis::Core::Hashable
@@ -2065,7 +2173,7 @@ module Google
2065
2173
  # @return [String]
2066
2174
  attr_accessor :field_delimiter
2067
2175
 
2068
- # [Optional, Experimental] If hive partitioning is enabled, which mode to use.
2176
+ # [Optional, Trusted Tester] If hive partitioning is enabled, which mode to use.
2069
2177
  # Two modes are supported: - AUTO: automatically infer partition key name(s) and
2070
2178
  # type(s). - STRINGS: automatic infer partition key name(s). All types are
2071
2179
  # strings. Not all storage formats support hive partitioning -- requesting hive
@@ -2074,6 +2182,11 @@ module Google
2074
2182
  # @return [String]
2075
2183
  attr_accessor :hive_partitioning_mode
2076
2184
 
2185
+ # [Optional, Trusted Tester] Options to configure hive partitioning support.
2186
+ # Corresponds to the JSON property `hivePartitioningOptions`
2187
+ # @return [Google::Apis::BigqueryV2::HivePartitioningOptions]
2188
+ attr_accessor :hive_partitioning_options
2189
+
2077
2190
  # [Optional] Indicates if BigQuery should allow extra values that are not
2078
2191
  # represented in the table schema. If true, the extra values are ignored. If
2079
2192
  # false, records with extra columns are treated as bad records, and if there are
@@ -2230,6 +2343,7 @@ module Google
2230
2343
  @encoding = args[:encoding] if args.key?(:encoding)
2231
2344
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
2232
2345
  @hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
2346
+ @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
2233
2347
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
2234
2348
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
2235
2349
  @null_marker = args[:null_marker] if args.key?(:null_marker)
@@ -3113,6 +3227,33 @@ module Google
3113
3227
  end
3114
3228
  end
3115
3229
 
3230
+ #
3231
+ class ListRoutinesResponse
3232
+ include Google::Apis::Core::Hashable
3233
+
3234
+ # A token to request the next page of results.
3235
+ # Corresponds to the JSON property `nextPageToken`
3236
+ # @return [String]
3237
+ attr_accessor :next_page_token
3238
+
3239
+ # Routines in the requested dataset. Only the following fields are populated:
3240
+ # etag, project_id, dataset_id, routine_id, routine_type, creation_time,
3241
+ # last_modified_time, language.
3242
+ # Corresponds to the JSON property `routines`
3243
+ # @return [Array<Google::Apis::BigqueryV2::Routine>]
3244
+ attr_accessor :routines
3245
+
3246
+ def initialize(**args)
3247
+ update!(**args)
3248
+ end
3249
+
3250
+ # Update properties of this object
3251
+ def update!(**args)
3252
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3253
+ @routines = args[:routines] if args.key?(:routines)
3254
+ end
3255
+ end
3256
+
3116
3257
  # BigQuery-specific metadata about a location. This will be set on
3117
3258
  # google.cloud.location.Location.metadata in Cloud Location API
3118
3259
  # responses.
@@ -3977,6 +4118,103 @@ module Google
3977
4118
  end
3978
4119
  end
3979
4120
 
4121
+ # A user-defined function or a stored procedure.
4122
+ class Routine
4123
+ include Google::Apis::Core::Hashable
4124
+
4125
+ # Optional.
4126
+ # Corresponds to the JSON property `arguments`
4127
+ # @return [Array<Google::Apis::BigqueryV2::Argument>]
4128
+ attr_accessor :arguments
4129
+
4130
+ # Output only. The time when this routine was created, in milliseconds since
4131
+ # the epoch.
4132
+ # Corresponds to the JSON property `creationTime`
4133
+ # @return [Fixnum]
4134
+ attr_accessor :creation_time
4135
+
4136
+ # Required. The body of the routine.
4137
+ # For functions, this is the expression in the AS clause.
4138
+ # If language=SQL, it is the substring inside (but excluding) the
4139
+ # parentheses. For example, for the function created with the following
4140
+ # statement
4141
+ # create function JoinLines(x string, y string) as (concat(x, "\n", y))
4142
+ # definition_body = r'concat(x, "\n", y)' (\n is not replaced with
4143
+ # linebreak).
4144
+ # If language=JAVASCRIPT, it is the evaluated string in the AS clause.
4145
+ # For example, for the function created with the following statement
4146
+ # CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'
4147
+ # definition_body = 'return "\n";\n' (both \n are replaced with
4148
+ # linebreaks).
4149
+ # Corresponds to the JSON property `definitionBody`
4150
+ # @return [String]
4151
+ attr_accessor :definition_body
4152
+
4153
+ # Output only. A hash of this resource.
4154
+ # Corresponds to the JSON property `etag`
4155
+ # @return [String]
4156
+ attr_accessor :etag
4157
+
4158
+ # Optional. If language = "JAVASCRIPT", this field stores the path of the
4159
+ # imported JAVASCRIPT libraries.
4160
+ # Corresponds to the JSON property `importedLibraries`
4161
+ # @return [Array<String>]
4162
+ attr_accessor :imported_libraries
4163
+
4164
+ # Optional. Defaults to "SQL".
4165
+ # Corresponds to the JSON property `language`
4166
+ # @return [String]
4167
+ attr_accessor :language
4168
+
4169
+ # Output only. The time when this routine was last modified, in milliseconds
4170
+ # since the epoch.
4171
+ # Corresponds to the JSON property `lastModifiedTime`
4172
+ # @return [Fixnum]
4173
+ attr_accessor :last_modified_time
4174
+
4175
+ # The type of a variable, e.g., a function argument.
4176
+ # Examples:
4177
+ # INT64: `type_kind="INT64"`
4178
+ # ARRAY<STRING>: `type_kind="ARRAY", array_element_type="STRING"`
4179
+ # STRUCT<x STRING, y ARRAY<DATE>>:
4180
+ # `type_kind="STRUCT",
4181
+ # struct_type=`fields=[
4182
+ # `name="x", type=`type_kind="STRING"``,
4183
+ # `name="y", type=`type_kind="ARRAY", array_element_type="DATE"``
4184
+ # ]``
4185
+ # Corresponds to the JSON property `returnType`
4186
+ # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
4187
+ attr_accessor :return_type
4188
+
4189
+ # Required. Reference describing the ID of this routine.
4190
+ # Corresponds to the JSON property `routineReference`
4191
+ # @return [Google::Apis::BigqueryV2::RoutineReference]
4192
+ attr_accessor :routine_reference
4193
+
4194
+ # Required.
4195
+ # Corresponds to the JSON property `routineType`
4196
+ # @return [String]
4197
+ attr_accessor :routine_type
4198
+
4199
+ def initialize(**args)
4200
+ update!(**args)
4201
+ end
4202
+
4203
+ # Update properties of this object
4204
+ def update!(**args)
4205
+ @arguments = args[:arguments] if args.key?(:arguments)
4206
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
4207
+ @definition_body = args[:definition_body] if args.key?(:definition_body)
4208
+ @etag = args[:etag] if args.key?(:etag)
4209
+ @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
4210
+ @language = args[:language] if args.key?(:language)
4211
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
4212
+ @return_type = args[:return_type] if args.key?(:return_type)
4213
+ @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
4214
+ @routine_type = args[:routine_type] if args.key?(:routine_type)
4215
+ end
4216
+ end
4217
+
3980
4218
  #
3981
4219
  class RoutineReference
3982
4220
  include Google::Apis::Core::Hashable