google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190511'
28
+ REVISION = '20190606'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -238,6 +238,11 @@ module Google
238
238
  # @return [Google::Apis::DataprocV1::InstanceGroupConfig]
239
239
  attr_accessor :secondary_worker_config
240
240
 
241
+ # Security related configuration, including Kerberos.
242
+ # Corresponds to the JSON property `securityConfig`
243
+ # @return [Google::Apis::DataprocV1::SecurityConfig]
244
+ attr_accessor :security_config
245
+
241
246
  # Specifies the selection and config of software inside the cluster.
242
247
  # Corresponds to the JSON property `softwareConfig`
243
248
  # @return [Google::Apis::DataprocV1::SoftwareConfig]
@@ -261,6 +266,7 @@ module Google
261
266
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
262
267
  @master_config = args[:master_config] if args.key?(:master_config)
263
268
  @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
269
+ @security_config = args[:security_config] if args.key?(:security_config)
264
270
  @software_config = args[:software_config] if args.key?(:software_config)
265
271
  @worker_config = args[:worker_config] if args.key?(:worker_config)
266
272
  end
@@ -1255,6 +1261,120 @@ module Google
1255
1261
  end
1256
1262
  end
1257
1263
 
1264
+ # Specifies Kerberos related configuration.
1265
+ class KerberosConfig
1266
+ include Google::Apis::Core::Hashable
1267
+
1268
+ # Optional. The admin server (IP or hostname) for the remote trusted realm in a
1269
+ # cross realm trust relationship.
1270
+ # Corresponds to the JSON property `crossRealmTrustAdminServer`
1271
+ # @return [String]
1272
+ attr_accessor :cross_realm_trust_admin_server
1273
+
1274
+ # Optional. The KDC (IP or hostname) for the remote trusted realm in a cross
1275
+ # realm trust relationship.
1276
+ # Corresponds to the JSON property `crossRealmTrustKdc`
1277
+ # @return [String]
1278
+ attr_accessor :cross_realm_trust_kdc
1279
+
1280
+ # Optional. The remote realm the Dataproc on-cluster KDC will trust, should the
1281
+ # user enable cross realm trust.
1282
+ # Corresponds to the JSON property `crossRealmTrustRealm`
1283
+ # @return [String]
1284
+ attr_accessor :cross_realm_trust_realm
1285
+
1286
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the shared
1287
+ # password between the on-cluster Kerberos realm and the remote trusted realm,
1288
+ # in a cross realm trust relationship.
1289
+ # Corresponds to the JSON property `crossRealmTrustSharedPasswordUri`
1290
+ # @return [String]
1291
+ attr_accessor :cross_realm_trust_shared_password_uri
1292
+
1293
+ # Optional. Flag to indicate whether to Kerberize the cluster.
1294
+ # Corresponds to the JSON property `enableKerberos`
1295
+ # @return [Boolean]
1296
+ attr_accessor :enable_kerberos
1297
+ alias_method :enable_kerberos?, :enable_kerberos
1298
+
1299
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the master
1300
+ # key of the KDC database.
1301
+ # Corresponds to the JSON property `kdcDbKeyUri`
1302
+ # @return [String]
1303
+ attr_accessor :kdc_db_key_uri
1304
+
1305
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1306
+ # password to the user provided key. For the self-signed certificate, this
1307
+ # password is generated by Dataproc.
1308
+ # Corresponds to the JSON property `keyPasswordUri`
1309
+ # @return [String]
1310
+ attr_accessor :key_password_uri
1311
+
1312
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1313
+ # password to the user provided keystore. For the self-signed certificate, this
1314
+ # password is generated by Dataproc.
1315
+ # Corresponds to the JSON property `keystorePasswordUri`
1316
+ # @return [String]
1317
+ attr_accessor :keystore_password_uri
1318
+
1319
+ # Optional. The Cloud Storage URI of the keystore file used for SSL encryption.
1320
+ # If not provided, Dataproc will provide a self-signed certificate.
1321
+ # Corresponds to the JSON property `keystoreUri`
1322
+ # @return [String]
1323
+ attr_accessor :keystore_uri
1324
+
1325
+ # Required. The uri of the KMS key used to encrypt various sensitive files.
1326
+ # Corresponds to the JSON property `kmsKeyUri`
1327
+ # @return [String]
1328
+ attr_accessor :kms_key_uri
1329
+
1330
+ # Required. The Cloud Storage URI of a KMS encrypted file containing the root
1331
+ # principal password.
1332
+ # Corresponds to the JSON property `rootPrincipalPasswordUri`
1333
+ # @return [String]
1334
+ attr_accessor :root_principal_password_uri
1335
+
1336
+ # Optional. The lifetime of the ticket granting ticket, in hours. If not
1337
+ # specified, or user specifies 0, then default value 10 will be used.
1338
+ # Corresponds to the JSON property `tgtLifetimeHours`
1339
+ # @return [Fixnum]
1340
+ attr_accessor :tgt_lifetime_hours
1341
+
1342
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1343
+ # password to the user provided truststore. For the self-signed certificate,
1344
+ # this password is generated by Dataproc.
1345
+ # Corresponds to the JSON property `truststorePasswordUri`
1346
+ # @return [String]
1347
+ attr_accessor :truststore_password_uri
1348
+
1349
+ # Optional. The Cloud Storage URI of the truststore file used for SSL encryption.
1350
+ # If not provided, Dataproc will provide a self-signed certificate.
1351
+ # Corresponds to the JSON property `truststoreUri`
1352
+ # @return [String]
1353
+ attr_accessor :truststore_uri
1354
+
1355
+ def initialize(**args)
1356
+ update!(**args)
1357
+ end
1358
+
1359
+ # Update properties of this object
1360
+ def update!(**args)
1361
+ @cross_realm_trust_admin_server = args[:cross_realm_trust_admin_server] if args.key?(:cross_realm_trust_admin_server)
1362
+ @cross_realm_trust_kdc = args[:cross_realm_trust_kdc] if args.key?(:cross_realm_trust_kdc)
1363
+ @cross_realm_trust_realm = args[:cross_realm_trust_realm] if args.key?(:cross_realm_trust_realm)
1364
+ @cross_realm_trust_shared_password_uri = args[:cross_realm_trust_shared_password_uri] if args.key?(:cross_realm_trust_shared_password_uri)
1365
+ @enable_kerberos = args[:enable_kerberos] if args.key?(:enable_kerberos)
1366
+ @kdc_db_key_uri = args[:kdc_db_key_uri] if args.key?(:kdc_db_key_uri)
1367
+ @key_password_uri = args[:key_password_uri] if args.key?(:key_password_uri)
1368
+ @keystore_password_uri = args[:keystore_password_uri] if args.key?(:keystore_password_uri)
1369
+ @keystore_uri = args[:keystore_uri] if args.key?(:keystore_uri)
1370
+ @kms_key_uri = args[:kms_key_uri] if args.key?(:kms_key_uri)
1371
+ @root_principal_password_uri = args[:root_principal_password_uri] if args.key?(:root_principal_password_uri)
1372
+ @tgt_lifetime_hours = args[:tgt_lifetime_hours] if args.key?(:tgt_lifetime_hours)
1373
+ @truststore_password_uri = args[:truststore_password_uri] if args.key?(:truststore_password_uri)
1374
+ @truststore_uri = args[:truststore_uri] if args.key?(:truststore_uri)
1375
+ end
1376
+ end
1377
+
1258
1378
  # The list of all clusters in a project.
1259
1379
  class ListClustersResponse
1260
1380
  include Google::Apis::Core::Hashable
@@ -1489,38 +1609,10 @@ module Google
1489
1609
 
1490
1610
  # The Status type defines a logical error model that is suitable for different
1491
1611
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1492
- # (https://github.com/grpc). The error model is designed to be:
1493
- # Simple to use and understand for most users
1494
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
1495
- # three pieces of data: error code, error message, and error details. The error
1496
- # code should be an enum value of google.rpc.Code, but it may accept additional
1497
- # error codes if needed. The error message should be a developer-facing English
1498
- # message that helps developers understand and resolve the error. If a localized
1499
- # user-facing error message is needed, put the localized message in the error
1500
- # details or localize it in the client. The optional error details may contain
1501
- # arbitrary information about the error. There is a predefined set of error
1502
- # detail types in the package google.rpc that can be used for common error
1503
- # conditions.Language mappingThe Status message is the logical representation of
1504
- # the error model, but it is not necessarily the actual wire format. When the
1505
- # Status message is exposed in different client libraries and different wire
1506
- # protocols, it can be mapped differently. For example, it will likely be mapped
1507
- # to some exceptions in Java, but more likely mapped to some error codes in C.
1508
- # Other usesThe error model and the Status message can be used in a variety of
1509
- # environments, either with or without APIs, to provide a consistent developer
1510
- # experience across different environments.Example uses of this error model
1511
- # include:
1512
- # Partial errors. If a service needs to return partial errors to the client, it
1513
- # may embed the Status in the normal response to indicate the partial errors.
1514
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
1515
- # Status message for error reporting.
1516
- # Batch operations. If a client uses batch request and batch response, the
1517
- # Status message should be used directly inside batch response, one for each
1518
- # error sub-response.
1519
- # Asynchronous operations. If an API call embeds asynchronous operation results
1520
- # in its response, the status of those operations should be represented directly
1521
- # using the Status message.
1522
- # Logging. If some API errors are stored in logs, the message Status could be
1523
- # used directly after any stripping needed for security/privacy reasons.
1612
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1613
+ # error code, error message, and error details.You can find out more about this
1614
+ # error model and how to work with it in the API Design Guide (https://cloud.
1615
+ # google.com/apis/design/errors).
1524
1616
  # Corresponds to the JSON property `error`
1525
1617
  # @return [Google::Apis::DataprocV1::Status]
1526
1618
  attr_accessor :error
@@ -1943,6 +2035,25 @@ module Google
1943
2035
  end
1944
2036
  end
1945
2037
 
2038
+ # Security related configuration, including Kerberos.
2039
+ class SecurityConfig
2040
+ include Google::Apis::Core::Hashable
2041
+
2042
+ # Specifies Kerberos related configuration.
2043
+ # Corresponds to the JSON property `kerberosConfig`
2044
+ # @return [Google::Apis::DataprocV1::KerberosConfig]
2045
+ attr_accessor :kerberos_config
2046
+
2047
+ def initialize(**args)
2048
+ update!(**args)
2049
+ end
2050
+
2051
+ # Update properties of this object
2052
+ def update!(**args)
2053
+ @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
2054
+ end
2055
+ end
2056
+
1946
2057
  # Request message for SetIamPolicy method.
1947
2058
  class SetIamPolicyRequest
1948
2059
  include Google::Apis::Core::Hashable
@@ -2168,38 +2279,10 @@ module Google
2168
2279
 
2169
2280
  # The Status type defines a logical error model that is suitable for different
2170
2281
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2171
- # (https://github.com/grpc). The error model is designed to be:
2172
- # Simple to use and understand for most users
2173
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2174
- # three pieces of data: error code, error message, and error details. The error
2175
- # code should be an enum value of google.rpc.Code, but it may accept additional
2176
- # error codes if needed. The error message should be a developer-facing English
2177
- # message that helps developers understand and resolve the error. If a localized
2178
- # user-facing error message is needed, put the localized message in the error
2179
- # details or localize it in the client. The optional error details may contain
2180
- # arbitrary information about the error. There is a predefined set of error
2181
- # detail types in the package google.rpc that can be used for common error
2182
- # conditions.Language mappingThe Status message is the logical representation of
2183
- # the error model, but it is not necessarily the actual wire format. When the
2184
- # Status message is exposed in different client libraries and different wire
2185
- # protocols, it can be mapped differently. For example, it will likely be mapped
2186
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2187
- # Other usesThe error model and the Status message can be used in a variety of
2188
- # environments, either with or without APIs, to provide a consistent developer
2189
- # experience across different environments.Example uses of this error model
2190
- # include:
2191
- # Partial errors. If a service needs to return partial errors to the client, it
2192
- # may embed the Status in the normal response to indicate the partial errors.
2193
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2194
- # Status message for error reporting.
2195
- # Batch operations. If a client uses batch request and batch response, the
2196
- # Status message should be used directly inside batch response, one for each
2197
- # error sub-response.
2198
- # Asynchronous operations. If an API call embeds asynchronous operation results
2199
- # in its response, the status of those operations should be represented directly
2200
- # using the Status message.
2201
- # Logging. If some API errors are stored in logs, the message Status could be
2202
- # used directly after any stripping needed for security/privacy reasons.
2282
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2283
+ # error code, error message, and error details.You can find out more about this
2284
+ # error model and how to work with it in the API Design Guide (https://cloud.
2285
+ # google.com/apis/design/errors).
2203
2286
  class Status
2204
2287
  include Google::Apis::Core::Hashable
2205
2288
 
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class KerberosConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class ListClustersResponse
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class SecurityConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class SetIamPolicyRequest
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -438,6 +450,8 @@ module Google
438
450
 
439
451
  property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
440
452
 
453
+ property :security_config, as: 'securityConfig', class: Google::Apis::DataprocV1::SecurityConfig, decorator: Google::Apis::DataprocV1::SecurityConfig::Representation
454
+
441
455
  property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
442
456
 
443
457
  property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
@@ -692,6 +706,26 @@ module Google
692
706
  end
693
707
  end
694
708
 
709
+ class KerberosConfig
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :cross_realm_trust_admin_server, as: 'crossRealmTrustAdminServer'
713
+ property :cross_realm_trust_kdc, as: 'crossRealmTrustKdc'
714
+ property :cross_realm_trust_realm, as: 'crossRealmTrustRealm'
715
+ property :cross_realm_trust_shared_password_uri, as: 'crossRealmTrustSharedPasswordUri'
716
+ property :enable_kerberos, as: 'enableKerberos'
717
+ property :kdc_db_key_uri, as: 'kdcDbKeyUri'
718
+ property :key_password_uri, as: 'keyPasswordUri'
719
+ property :keystore_password_uri, as: 'keystorePasswordUri'
720
+ property :keystore_uri, as: 'keystoreUri'
721
+ property :kms_key_uri, as: 'kmsKeyUri'
722
+ property :root_principal_password_uri, as: 'rootPrincipalPasswordUri'
723
+ property :tgt_lifetime_hours, as: 'tgtLifetimeHours'
724
+ property :truststore_password_uri, as: 'truststorePasswordUri'
725
+ property :truststore_uri, as: 'truststoreUri'
726
+ end
727
+ end
728
+
695
729
  class ListClustersResponse
696
730
  # @private
697
731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -860,6 +894,14 @@ module Google
860
894
  end
861
895
  end
862
896
 
897
+ class SecurityConfig
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
901
+
902
+ end
903
+ end
904
+
863
905
  class SetIamPolicyRequest
864
906
  # @private
865
907
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190511'
28
+ REVISION = '20190606'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1969,38 +1969,10 @@ module Google
1969
1969
 
1970
1970
  # The Status type defines a logical error model that is suitable for different
1971
1971
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1972
- # (https://github.com/grpc). The error model is designed to be:
1973
- # Simple to use and understand for most users
1974
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
1975
- # three pieces of data: error code, error message, and error details. The error
1976
- # code should be an enum value of google.rpc.Code, but it may accept additional
1977
- # error codes if needed. The error message should be a developer-facing English
1978
- # message that helps developers understand and resolve the error. If a localized
1979
- # user-facing error message is needed, put the localized message in the error
1980
- # details or localize it in the client. The optional error details may contain
1981
- # arbitrary information about the error. There is a predefined set of error
1982
- # detail types in the package google.rpc that can be used for common error
1983
- # conditions.Language mappingThe Status message is the logical representation of
1984
- # the error model, but it is not necessarily the actual wire format. When the
1985
- # Status message is exposed in different client libraries and different wire
1986
- # protocols, it can be mapped differently. For example, it will likely be mapped
1987
- # to some exceptions in Java, but more likely mapped to some error codes in C.
1988
- # Other usesThe error model and the Status message can be used in a variety of
1989
- # environments, either with or without APIs, to provide a consistent developer
1990
- # experience across different environments.Example uses of this error model
1991
- # include:
1992
- # Partial errors. If a service needs to return partial errors to the client, it
1993
- # may embed the Status in the normal response to indicate the partial errors.
1994
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
1995
- # Status message for error reporting.
1996
- # Batch operations. If a client uses batch request and batch response, the
1997
- # Status message should be used directly inside batch response, one for each
1998
- # error sub-response.
1999
- # Asynchronous operations. If an API call embeds asynchronous operation results
2000
- # in its response, the status of those operations should be represented directly
2001
- # using the Status message.
2002
- # Logging. If some API errors are stored in logs, the message Status could be
2003
- # used directly after any stripping needed for security/privacy reasons.
1972
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1973
+ # error code, error message, and error details.You can find out more about this
1974
+ # error model and how to work with it in the API Design Guide (https://cloud.
1975
+ # google.com/apis/design/errors).
2004
1976
  # Corresponds to the JSON property `error`
2005
1977
  # @return [Google::Apis::DataprocV1beta2::Status]
2006
1978
  attr_accessor :error
@@ -2818,38 +2790,10 @@ module Google
2818
2790
 
2819
2791
  # The Status type defines a logical error model that is suitable for different
2820
2792
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2821
- # (https://github.com/grpc). The error model is designed to be:
2822
- # Simple to use and understand for most users
2823
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2824
- # three pieces of data: error code, error message, and error details. The error
2825
- # code should be an enum value of google.rpc.Code, but it may accept additional
2826
- # error codes if needed. The error message should be a developer-facing English
2827
- # message that helps developers understand and resolve the error. If a localized
2828
- # user-facing error message is needed, put the localized message in the error
2829
- # details or localize it in the client. The optional error details may contain
2830
- # arbitrary information about the error. There is a predefined set of error
2831
- # detail types in the package google.rpc that can be used for common error
2832
- # conditions.Language mappingThe Status message is the logical representation of
2833
- # the error model, but it is not necessarily the actual wire format. When the
2834
- # Status message is exposed in different client libraries and different wire
2835
- # protocols, it can be mapped differently. For example, it will likely be mapped
2836
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2837
- # Other usesThe error model and the Status message can be used in a variety of
2838
- # environments, either with or without APIs, to provide a consistent developer
2839
- # experience across different environments.Example uses of this error model
2840
- # include:
2841
- # Partial errors. If a service needs to return partial errors to the client, it
2842
- # may embed the Status in the normal response to indicate the partial errors.
2843
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2844
- # Status message for error reporting.
2845
- # Batch operations. If a client uses batch request and batch response, the
2846
- # Status message should be used directly inside batch response, one for each
2847
- # error sub-response.
2848
- # Asynchronous operations. If an API call embeds asynchronous operation results
2849
- # in its response, the status of those operations should be represented directly
2850
- # using the Status message.
2851
- # Logging. If some API errors are stored in logs, the message Status could be
2852
- # used directly after any stripping needed for security/privacy reasons.
2793
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2794
+ # error code, error message, and error details.You can find out more about this
2795
+ # error model and how to work with it in the API Design Guide (https://cloud.
2796
+ # google.com/apis/design/errors).
2853
2797
  class Status
2854
2798
  include Google::Apis::Core::Hashable
2855
2799
 
@@ -185,7 +185,8 @@ module Google
185
185
  # google.com/apis/design/resource_names of the form projects/`project_id`/
186
186
  # regions/`region`
187
187
  # @param [Fixnum] page_size
188
- # Optional. The maximum number of results to return in each response.
188
+ # Optional. The maximum number of results to return in each response. Must be
189
+ # less than or equal to 1000. Defaults to 100.
189
190
  # @param [String] page_token
190
191
  # Optional. The page token, returned by a previous call, to request the next
191
192
  # page of results.
@@ -848,7 +849,8 @@ module Google
848
849
  # google.com/apis/design/resource_names of the form projects/`project_id`/
849
850
  # regions/`region`
850
851
  # @param [Fixnum] page_size
851
- # Optional. The maximum number of results to return in each response.
852
+ # Optional. The maximum number of results to return in each response. Must be
853
+ # less than or equal to 1000. Defaults to 100.
852
854
  # @param [String] page_token
853
855
  # Optional. The page token, returned by a previous call, to request the next
854
856
  # page of results.