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
@@ -106,6 +106,42 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class GoogleIamV1Binding
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleIamV1GetIamPolicyRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleIamV1Policy
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleIamV1SetIamPolicyRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleIamV1TestIamPermissionsRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleIamV1TestIamPermissionsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
109
145
  class HorizontalPodAutoscaling
110
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
147
 
@@ -196,6 +232,12 @@ module Google
196
232
  include Google::Apis::Core::JsonObjectSupport
197
233
  end
198
234
 
235
+ class Metric
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
199
241
  class NetworkConfig
200
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
243
 
@@ -250,6 +292,12 @@ module Google
250
292
  include Google::Apis::Core::JsonObjectSupport
251
293
  end
252
294
 
295
+ class OperationProgress
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
253
301
  class PodSecurityPolicyConfig
254
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
303
 
@@ -452,6 +500,7 @@ module Google
452
500
  property :current_node_version, as: 'currentNodeVersion'
453
501
  property :description, as: 'description'
454
502
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
503
+ property :enable_tpu, as: 'enableTpu'
455
504
  property :endpoint, as: 'endpoint'
456
505
  property :expire_time, as: 'expireTime'
457
506
  property :initial_cluster_version, as: 'initialClusterVersion'
@@ -493,6 +542,7 @@ module Google
493
542
  property :status, as: 'status'
494
543
  property :status_message, as: 'statusMessage'
495
544
  property :subnetwork, as: 'subnetwork'
545
+ property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
496
546
  property :zone, as: 'zone'
497
547
  end
498
548
  end
@@ -566,6 +616,52 @@ module Google
566
616
  end
567
617
  end
568
618
 
619
+ class GoogleIamV1Binding
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ collection :members, as: 'members'
623
+ property :role, as: 'role'
624
+ end
625
+ end
626
+
627
+ class GoogleIamV1GetIamPolicyRequest
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ end
631
+ end
632
+
633
+ class GoogleIamV1Policy
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ collection :bindings, as: 'bindings', class: Google::Apis::ContainerV1beta1::GoogleIamV1Binding, decorator: Google::Apis::ContainerV1beta1::GoogleIamV1Binding::Representation
637
+
638
+ property :etag, :base64 => true, as: 'etag'
639
+ property :version, as: 'version'
640
+ end
641
+ end
642
+
643
+ class GoogleIamV1SetIamPolicyRequest
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :policy, as: 'policy', class: Google::Apis::ContainerV1beta1::GoogleIamV1Policy, decorator: Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
647
+
648
+ end
649
+ end
650
+
651
+ class GoogleIamV1TestIamPermissionsRequest
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ collection :permissions, as: 'permissions'
655
+ end
656
+ end
657
+
658
+ class GoogleIamV1TestIamPermissionsResponse
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ collection :permissions, as: 'permissions'
662
+ end
663
+ end
664
+
569
665
  class HorizontalPodAutoscaling
570
666
  # @private
571
667
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +690,7 @@ module Google
594
690
  property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
595
691
  property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
596
692
  property :subnetwork_name, as: 'subnetworkName'
693
+ property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
597
694
  property :use_ip_aliases, as: 'useIpAliases'
598
695
  end
599
696
  end
@@ -703,6 +800,16 @@ module Google
703
800
  end
704
801
  end
705
802
 
803
+ class Metric
804
+ # @private
805
+ class Representation < Google::Apis::Core::JsonRepresentation
806
+ property :double_value, as: 'doubleValue'
807
+ property :int_value, :numeric_string => true, as: 'intValue'
808
+ property :name, as: 'name'
809
+ property :string_value, as: 'stringValue'
810
+ end
811
+ end
812
+
706
813
  class NetworkConfig
707
814
  # @private
708
815
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -805,6 +912,8 @@ module Google
805
912
  property :location, as: 'location'
806
913
  property :name, as: 'name'
807
914
  property :operation_type, as: 'operationType'
915
+ property :progress, as: 'progress', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation
916
+
808
917
  property :self_link, as: 'selfLink'
809
918
  property :start_time, as: 'startTime'
810
919
  property :status, as: 'status'
@@ -814,6 +923,18 @@ module Google
814
923
  end
815
924
  end
816
925
 
926
+ class OperationProgress
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ collection :metrics, as: 'metrics', class: Google::Apis::ContainerV1beta1::Metric, decorator: Google::Apis::ContainerV1beta1::Metric::Representation
930
+
931
+ property :name, as: 'name'
932
+ collection :stages, as: 'stages', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation
933
+
934
+ property :status, as: 'status'
935
+ end
936
+ end
937
+
817
938
  class PodSecurityPolicyConfig
818
939
  # @private
819
940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,6 +48,118 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Gets the access control policy for a resource. Returns NOT_FOUND error if
52
+ # the resource does not exist. Returns an empty policy if the resource exists
53
+ # but does not have a policy set.
54
+ # Authorization requires the Google IAM permission
55
+ # `container.clusters.getIamPolicy` on the specified resource.
56
+ # @param [String] resource
57
+ # REQUIRED: The resource for which the policy is being requested.
58
+ # See the operation documentation for the appropriate value for this field.
59
+ # @param [Google::Apis::ContainerV1beta1::GoogleIamV1GetIamPolicyRequest] google_iam_v1_get_iam_policy_request_object
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1Policy] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::ContainerV1beta1::GoogleIamV1Policy]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def get_project_iam_policy(resource, google_iam_v1_get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
79
+ command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1GetIamPolicyRequest::Representation
80
+ command.request_object = google_iam_v1_get_iam_policy_request_object
81
+ command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
82
+ command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1Policy
83
+ command.params['resource'] = resource unless resource.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
89
+ # Sets the access control policy for a resource. Replaces any existing
90
+ # policy.
91
+ # Authorization requires the Google IAM permission
92
+ # 'container.clusters.setIamPolicy' on the specified resource.
93
+ # @param [String] resource
94
+ # REQUIRED: The resource for which the policy is being specified.
95
+ # See the operation documentation for the appropriate value for this field.
96
+ # @param [Google::Apis::ContainerV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
97
+ # @param [String] fields
98
+ # Selector specifying which fields to include in a partial response.
99
+ # @param [String] quota_user
100
+ # Available to use for quota purposes for server-side applications. Can be any
101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
102
+ # @param [Google::Apis::RequestOptions] options
103
+ # Request-specific options
104
+ #
105
+ # @yield [result, err] Result & error if block supplied
106
+ # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1Policy] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::ContainerV1beta1::GoogleIamV1Policy]
110
+ #
111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
114
+ def set_project_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
115
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
116
+ command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
117
+ command.request_object = google_iam_v1_set_iam_policy_request_object
118
+ command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
119
+ command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1Policy
120
+ command.params['resource'] = resource unless resource.nil?
121
+ command.query['fields'] = fields unless fields.nil?
122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
123
+ execute_or_queue_command(command, &block)
124
+ end
125
+
126
+ # Returns permissions that a caller has on the specified resource.
127
+ # If the resource does not exist, this will return an empty set of
128
+ # permissions, not a NOT_FOUND error.
129
+ # There is no permission required to make this API call.
130
+ # @param [String] resource
131
+ # REQUIRED: The resource for which the policy detail is being requested.
132
+ # See the operation documentation for the appropriate value for this field.
133
+ # @param [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
136
+ # @param [String] quota_user
137
+ # Available to use for quota purposes for server-side applications. Can be any
138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
139
+ # @param [Google::Apis::RequestOptions] options
140
+ # Request-specific options
141
+ #
142
+ # @yield [result, err] Result & error if block supplied
143
+ # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
144
+ # @yieldparam err [StandardError] error object if request failed
145
+ #
146
+ # @return [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse]
147
+ #
148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
151
+ def test_project_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
152
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
153
+ command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
154
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
155
+ command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
156
+ command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse
157
+ command.params['resource'] = resource unless resource.nil?
158
+ command.query['fields'] = fields unless fields.nil?
159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
160
+ execute_or_queue_command(command, &block)
161
+ end
162
+
51
163
  # Lists subnetworks that are usable for creating clusters in a project.
52
164
  # @param [String] parent
53
165
  # The parent project where subnetworks are usable.
@@ -139,7 +251,7 @@ module Google
139
251
  #
140
252
  # @param [String] parent
141
253
  # Contains the name of the resource requested.
142
- # Specific in the format 'projects/*/locations'.
254
+ # Specified in the format 'projects/*'.
143
255
  # @param [String] fields
144
256
  # Selector specifying which fields to include in a partial response.
145
257
  # @param [String] quota_user
@@ -802,7 +914,7 @@ module Google
802
914
  # @param [String] parent
803
915
  # The parent (project, location, cluster id) where the node pool will be
804
916
  # created. Specified in the format
805
- # 'projects/*/locations/*/clusters/*/nodePools/*'.
917
+ # 'projects/*/locations/*/clusters/*'.
806
918
  # @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object
807
919
  # @param [String] fields
808
920
  # Selector specifying which fields to include in a partial response.
@@ -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 = '20180529'
29
+ REVISION = '20180608'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -1204,6 +1204,40 @@ module Google
1204
1204
  end
1205
1205
  end
1206
1206
 
1207
+ #
1208
+ class CutoffTime
1209
+ include Google::Apis::Core::Hashable
1210
+
1211
+ # Hour of the cutoff time until which an order has to be placed to be processed
1212
+ # in the same day. Required.
1213
+ # Corresponds to the JSON property `hour`
1214
+ # @return [Fixnum]
1215
+ attr_accessor :hour
1216
+
1217
+ # Minute of the cutoff time until which an order has to be placed to be
1218
+ # processed in the same day. Required.
1219
+ # Corresponds to the JSON property `minute`
1220
+ # @return [Fixnum]
1221
+ attr_accessor :minute
1222
+
1223
+ # Timezone identifier for the cutoff time. A list of identifiers can be found in
1224
+ # the AdWords API documentation. E.g. "Europe/Zurich". Required.
1225
+ # Corresponds to the JSON property `timezone`
1226
+ # @return [String]
1227
+ attr_accessor :timezone
1228
+
1229
+ def initialize(**args)
1230
+ update!(**args)
1231
+ end
1232
+
1233
+ # Update properties of this object
1234
+ def update!(**args)
1235
+ @hour = args[:hour] if args.key?(:hour)
1236
+ @minute = args[:minute] if args.key?(:minute)
1237
+ @timezone = args[:timezone] if args.key?(:timezone)
1238
+ end
1239
+ end
1240
+
1207
1241
  # Datafeed configuration data.
1208
1242
  class Datafeed
1209
1243
  include Google::Apis::Core::Hashable
@@ -1931,12 +1965,25 @@ module Google
1931
1965
  class DeliveryTime
1932
1966
  include Google::Apis::Core::Hashable
1933
1967
 
1968
+ # Business days cutoff time definition. If not configured the cutoff time will
1969
+ # be defaulted to 8AM PST.
1970
+ # Corresponds to the JSON property `cutoffTime`
1971
+ # @return [Google::Apis::ContentV2::CutoffTime]
1972
+ attr_accessor :cutoff_time
1973
+
1934
1974
  # Holiday cutoff definitions. If configured, they specify order cutoff times for
1935
1975
  # holiday-specific shipping.
1936
1976
  # Corresponds to the JSON property `holidayCutoffs`
1937
1977
  # @return [Array<Google::Apis::ContentV2::HolidayCutoff>]
1938
1978
  attr_accessor :holiday_cutoffs
1939
1979
 
1980
+ # Maximum number of business days spent before an order is shipped. 0 means same
1981
+ # day shipped, 1 means next day shipped. Must be greater than or equal to
1982
+ # minHandlingTimeInDays.
1983
+ # Corresponds to the JSON property `maxHandlingTimeInDays`
1984
+ # @return [Fixnum]
1985
+ attr_accessor :max_handling_time_in_days
1986
+
1940
1987
  # Maximum number of business days that is spent in transit. 0 means same day
1941
1988
  # delivery, 1 means next day delivery. Must be greater than or equal to
1942
1989
  # minTransitTimeInDays. Required.
@@ -1944,6 +1991,12 @@ module Google
1944
1991
  # @return [Fixnum]
1945
1992
  attr_accessor :max_transit_time_in_days
1946
1993
 
1994
+ # Minimum number of business days spent before an order is shipped. 0 means same
1995
+ # day shipped, 1 means next day shipped.
1996
+ # Corresponds to the JSON property `minHandlingTimeInDays`
1997
+ # @return [Fixnum]
1998
+ attr_accessor :min_handling_time_in_days
1999
+
1947
2000
  # Minimum number of business days that is spent in transit. 0 means same day
1948
2001
  # delivery, 1 means next day delivery. Required.
1949
2002
  # Corresponds to the JSON property `minTransitTimeInDays`
@@ -1956,8 +2009,11 @@ module Google
1956
2009
 
1957
2010
  # Update properties of this object
1958
2011
  def update!(**args)
2012
+ @cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time)
1959
2013
  @holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs)
2014
+ @max_handling_time_in_days = args[:max_handling_time_in_days] if args.key?(:max_handling_time_in_days)
1960
2015
  @max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
2016
+ @min_handling_time_in_days = args[:min_handling_time_in_days] if args.key?(:min_handling_time_in_days)
1961
2017
  @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
1962
2018
  end
1963
2019
  end
@@ -2737,6 +2793,11 @@ module Google
2737
2793
  # @return [Google::Apis::ContentV2::LiaOnDisplayToOrderSettings]
2738
2794
  attr_accessor :on_display_to_order
2739
2795
 
2796
+ # The POS data provider linked with this country.
2797
+ # Corresponds to the JSON property `posDataProvider`
2798
+ # @return [Google::Apis::ContentV2::LiaPosDataProvider]
2799
+ attr_accessor :pos_data_provider
2800
+
2740
2801
  # The status of the "Store pickup" feature.
2741
2802
  # Corresponds to the JSON property `storePickupActive`
2742
2803
  # @return [Boolean]
@@ -2754,6 +2815,7 @@ module Google
2754
2815
  @hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active)
2755
2816
  @inventory = args[:inventory] if args.key?(:inventory)
2756
2817
  @on_display_to_order = args[:on_display_to_order] if args.key?(:on_display_to_order)
2818
+ @pos_data_provider = args[:pos_data_provider] if args.key?(:pos_data_provider)
2757
2819
  @store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active)
2758
2820
  end
2759
2821
  end
@@ -2820,6 +2882,31 @@ module Google
2820
2882
  end
2821
2883
  end
2822
2884
 
2885
+ #
2886
+ class LiaPosDataProvider
2887
+ include Google::Apis::Core::Hashable
2888
+
2889
+ # The ID of the POS data provider.
2890
+ # Corresponds to the JSON property `posDataProviderId`
2891
+ # @return [Fixnum]
2892
+ attr_accessor :pos_data_provider_id
2893
+
2894
+ # The account ID by which this merchant is known to the POS data provider.
2895
+ # Corresponds to the JSON property `posExternalAccountId`
2896
+ # @return [String]
2897
+ attr_accessor :pos_external_account_id
2898
+
2899
+ def initialize(**args)
2900
+ update!(**args)
2901
+ end
2902
+
2903
+ # Update properties of this object
2904
+ def update!(**args)
2905
+ @pos_data_provider_id = args[:pos_data_provider_id] if args.key?(:pos_data_provider_id)
2906
+ @pos_external_account_id = args[:pos_external_account_id] if args.key?(:pos_external_account_id)
2907
+ end
2908
+ end
2909
+
2823
2910
  #
2824
2911
  class LiaSettings
2825
2912
  include Google::Apis::Core::Hashable
@@ -3061,6 +3148,32 @@ module Google
3061
3148
  end
3062
3149
  end
3063
3150
 
3151
+ #
3152
+ class LiasettingsListPosDataProvidersResponse
3153
+ include Google::Apis::Core::Hashable
3154
+
3155
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3156
+ # liasettingsListPosDataProvidersResponse".
3157
+ # Corresponds to the JSON property `kind`
3158
+ # @return [String]
3159
+ attr_accessor :kind
3160
+
3161
+ # The list of POS data providers for each eligible country
3162
+ # Corresponds to the JSON property `posDataProviders`
3163
+ # @return [Array<Google::Apis::ContentV2::PosDataProviders>]
3164
+ attr_accessor :pos_data_providers
3165
+
3166
+ def initialize(**args)
3167
+ update!(**args)
3168
+ end
3169
+
3170
+ # Update properties of this object
3171
+ def update!(**args)
3172
+ @kind = args[:kind] if args.key?(:kind)
3173
+ @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers)
3174
+ end
3175
+ end
3176
+
3064
3177
  #
3065
3178
  class LiasettingsListResponse
3066
3179
  include Google::Apis::Core::Hashable
@@ -3153,6 +3266,26 @@ module Google
3153
3266
  end
3154
3267
  end
3155
3268
 
3269
+ #
3270
+ class LiasettingsSetPosDataProviderResponse
3271
+ include Google::Apis::Core::Hashable
3272
+
3273
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3274
+ # liasettingsSetPosDataProviderResponse".
3275
+ # Corresponds to the JSON property `kind`
3276
+ # @return [String]
3277
+ attr_accessor :kind
3278
+
3279
+ def initialize(**args)
3280
+ update!(**args)
3281
+ end
3282
+
3283
+ # Update properties of this object
3284
+ def update!(**args)
3285
+ @kind = args[:kind] if args.key?(:kind)
3286
+ end
3287
+ end
3288
+
3156
3289
  #
3157
3290
  class LocationIdSet
3158
3291
  include Google::Apis::Core::Hashable
@@ -8728,6 +8861,12 @@ module Google
8728
8861
  # @return [Google::Apis::ContentV2::Table]
8729
8862
  attr_accessor :main_table
8730
8863
 
8864
+ # Name of the rate group. Optional. If set has to be unique within shipping
8865
+ # service.
8866
+ # Corresponds to the JSON property `name`
8867
+ # @return [String]
8868
+ attr_accessor :name
8869
+
8731
8870
  # The single value of a rate group or the value of a rate group table's cell.
8732
8871
  # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
8733
8872
  # subtableName must be set.
@@ -8750,6 +8889,7 @@ module Google
8750
8889
  @applicable_shipping_labels = args[:applicable_shipping_labels] if args.key?(:applicable_shipping_labels)
8751
8890
  @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates)
8752
8891
  @main_table = args[:main_table] if args.key?(:main_table)
8892
+ @name = args[:name] if args.key?(:name)
8753
8893
  @single_value = args[:single_value] if args.key?(:single_value)
8754
8894
  @subtables = args[:subtables] if args.key?(:subtables)
8755
8895
  end
@@ -9204,6 +9344,12 @@ module Google
9204
9344
  # @return [Google::Apis::ContentV2::TestOrderCustomer]
9205
9345
  attr_accessor :customer
9206
9346
 
9347
+ # Whether the orderinvoices service should support this order.
9348
+ # Corresponds to the JSON property `enableOrderinvoices`
9349
+ # @return [Boolean]
9350
+ attr_accessor :enable_orderinvoices
9351
+ alias_method :enable_orderinvoices?, :enable_orderinvoices
9352
+
9207
9353
  # Identifies what kind of resource this is. Value: the fixed string "content#
9208
9354
  # testOrder".
9209
9355
  # Corresponds to the JSON property `kind`
@@ -9259,6 +9405,7 @@ module Google
9259
9405
  # Update properties of this object
9260
9406
  def update!(**args)
9261
9407
  @customer = args[:customer] if args.key?(:customer)
9408
+ @enable_orderinvoices = args[:enable_orderinvoices] if args.key?(:enable_orderinvoices)
9262
9409
  @kind = args[:kind] if args.key?(:kind)
9263
9410
  @line_items = args[:line_items] if args.key?(:line_items)
9264
9411
  @notification_mode = args[:notification_mode] if args.key?(:notification_mode)