google-api-client 0.35.0 → 0.36.0

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 (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  4. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +5 -1
  5. data/generated/google/apis/cloudasset_v1.rb +1 -1
  6. data/generated/google/apis/cloudasset_v1/classes.rb +75 -41
  7. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  8. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -41
  9. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  10. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -41
  11. data/generated/google/apis/container_v1.rb +1 -1
  12. data/generated/google/apis/container_v1/classes.rb +203 -78
  13. data/generated/google/apis/container_v1/representations.rb +49 -0
  14. data/generated/google/apis/container_v1/service.rb +119 -119
  15. data/generated/google/apis/container_v1beta1.rb +1 -1
  16. data/generated/google/apis/container_v1beta1/classes.rb +32 -0
  17. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  18. data/generated/google/apis/dataproc_v1.rb +1 -1
  19. data/generated/google/apis/dataproc_v1/classes.rb +44 -7
  20. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  21. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  22. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -7
  23. data/generated/google/apis/dataproc_v1beta2/service.rb +12 -12
  24. data/generated/google/apis/dlp_v2.rb +1 -1
  25. data/generated/google/apis/dlp_v2/classes.rb +4 -4
  26. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  27. data/generated/google/apis/firebase_v1beta1/classes.rb +15 -0
  28. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  30. data/generated/google/apis/healthcare_v1beta1/service.rb +20 -23
  31. data/generated/google/apis/ml_v1.rb +1 -1
  32. data/generated/google/apis/ml_v1/classes.rb +75 -41
  33. data/generated/google/apis/monitoring_v1.rb +13 -1
  34. data/generated/google/apis/monitoring_v1/classes.rb +893 -0
  35. data/generated/google/apis/monitoring_v1/representations.rb +405 -0
  36. data/generated/google/apis/monitoring_v1/service.rb +182 -0
  37. data/generated/google/apis/monitoring_v3.rb +1 -1
  38. data/generated/google/apis/monitoring_v3/classes.rb +29 -41
  39. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  40. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -92
  41. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  42. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  43. data/generated/google/apis/remotebuildexecution_v1/classes.rb +56 -0
  44. data/generated/google/apis/remotebuildexecution_v1/representations.rb +31 -0
  45. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  46. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +56 -0
  47. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +31 -0
  48. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  49. data/generated/google/apis/remotebuildexecution_v2/classes.rb +56 -0
  50. data/generated/google/apis/remotebuildexecution_v2/representations.rb +31 -0
  51. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  52. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -41
  53. data/generated/google/apis/securitycenter_v1.rb +1 -1
  54. data/generated/google/apis/securitycenter_v1/classes.rb +75 -41
  55. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  56. data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -41
  57. data/generated/google/apis/servicebroker_v1.rb +1 -1
  58. data/generated/google/apis/servicebroker_v1/classes.rb +75 -41
  59. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  60. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -41
  61. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  62. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -41
  63. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  64. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +29 -41
  65. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  66. data/generated/google/apis/servicemanagement_v1/classes.rb +104 -82
  67. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  68. data/generated/google/apis/servicenetworking_v1/classes.rb +51 -41
  69. data/generated/google/apis/servicenetworking_v1/representations.rb +13 -0
  70. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  71. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  72. data/generated/google/apis/servicenetworking_v1beta/classes.rb +29 -41
  73. data/generated/google/apis/serviceusage_v1.rb +1 -1
  74. data/generated/google/apis/serviceusage_v1/classes.rb +29 -41
  75. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  76. data/generated/google/apis/serviceusage_v1beta1/classes.rb +29 -41
  77. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  78. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +3 -7
  81. data/generated/google/apis/cloudbuild_v1alpha1.rb +0 -34
  82. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1174
  83. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -435
  84. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -226
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20191024'
29
+ REVISION = '20191115'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -218,6 +218,32 @@ module Google
218
218
  end
219
219
  end
220
220
 
221
+ # AvailableVersion is an additional Kubernetes versions offered
222
+ # to users who subscribed to the release channel.
223
+ class AvailableVersion
224
+ include Google::Apis::Core::Hashable
225
+
226
+ # Reason for availability.
227
+ # Corresponds to the JSON property `reason`
228
+ # @return [String]
229
+ attr_accessor :reason
230
+
231
+ # Kubernetes version.
232
+ # Corresponds to the JSON property `version`
233
+ # @return [String]
234
+ attr_accessor :version
235
+
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ @reason = args[:reason] if args.key?(:reason)
243
+ @version = args[:version] if args.key?(:version)
244
+ end
245
+ end
246
+
221
247
  # Parameters for using BigQuery as the destination of resource usage export.
222
248
  class BigQueryDestination
223
249
  include Google::Apis::Core::Hashable
@@ -3019,6 +3045,11 @@ module Google
3019
3045
  class ReleaseChannelConfig
3020
3046
  include Google::Apis::Core::Hashable
3021
3047
 
3048
+ # List of available versions for the release channel.
3049
+ # Corresponds to the JSON property `availableVersions`
3050
+ # @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
3051
+ attr_accessor :available_versions
3052
+
3022
3053
  # The release channel this configuration applies to.
3023
3054
  # Corresponds to the JSON property `channel`
3024
3055
  # @return [String]
@@ -3035,6 +3066,7 @@ module Google
3035
3066
 
3036
3067
  # Update properties of this object
3037
3068
  def update!(**args)
3069
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
3038
3070
  @channel = args[:channel] if args.key?(:channel)
3039
3071
  @default_version = args[:default_version] if args.key?(:default_version)
3040
3072
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class AvailableVersion
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BigQueryDestination
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -640,6 +646,14 @@ module Google
640
646
  end
641
647
  end
642
648
 
649
+ class AvailableVersion
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :reason, as: 'reason'
653
+ property :version, as: 'version'
654
+ end
655
+ end
656
+
643
657
  class BigQueryDestination
644
658
  # @private
645
659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1308,6 +1322,8 @@ module Google
1308
1322
  class ReleaseChannelConfig
1309
1323
  # @private
1310
1324
  class Representation < Google::Apis::Core::JsonRepresentation
1325
+ collection :available_versions, as: 'availableVersions', class: Google::Apis::ContainerV1beta1::AvailableVersion, decorator: Google::Apis::ContainerV1beta1::AvailableVersion::Representation
1326
+
1311
1327
  property :channel, as: 'channel'
1312
1328
  property :default_version, as: 'defaultVersion'
1313
1329
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191031'
28
+ REVISION = '20191120'
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'
@@ -864,6 +864,11 @@ module Google
864
864
  # @return [String]
865
865
  attr_accessor :network_uri
866
866
 
867
+ # Reservation Affinity for consuming Zonal reservation.
868
+ # Corresponds to the JSON property `reservationAffinity`
869
+ # @return [Google::Apis::DataprocV1::ReservationAffinity]
870
+ attr_accessor :reservation_affinity
871
+
867
872
  # Optional. The service account of the instances. Defaults to the default
868
873
  # Compute Engine service account. Custom service accounts need permissions
869
874
  # equivalent to the following IAM roles:
@@ -926,6 +931,7 @@ module Google
926
931
  @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
927
932
  @metadata = args[:metadata] if args.key?(:metadata)
928
933
  @network_uri = args[:network_uri] if args.key?(:network_uri)
934
+ @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
929
935
  @service_account = args[:service_account] if args.key?(:service_account)
930
936
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
931
937
  @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
@@ -2250,8 +2256,8 @@ module Google
2250
2256
  # the request to setIamPolicy to ensure that their change will be applied to the
2251
2257
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
2252
2258
  # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2253
- # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2254
- # policy does not meet the version requirements.
2259
+ # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2260
+ # does not meet the requirements for modifying the stored policy.
2255
2261
  # Corresponds to the JSON property `etag`
2256
2262
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2257
2263
  # @return [String]
@@ -2260,11 +2266,11 @@ module Google
2260
2266
  # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2261
2267
  # specifying an invalid value will be rejected.Operations affecting conditional
2262
2268
  # bindings must specify version 3. This can be either setting a conditional
2263
- # policy, modifying a conditional binding, or removing a conditional binding
2264
- # from the stored conditional policy. Operations on non-conditional policies may
2265
- # specify any valid value or leave the field unset.If no etag is provided in the
2266
- # call to setIamPolicy, any version compliance checks on the incoming and/or
2267
- # stored policy is skipped.
2269
+ # policy, modifying a conditional binding, or removing a binding (conditional or
2270
+ # unconditional) from the stored conditional policy. Operations on non-
2271
+ # conditional policies may specify any valid value or leave the field unset.If
2272
+ # no etag is provided in the call to setIamPolicy, version compliance checks
2273
+ # against the stored policy is skipped.
2268
2274
  # Corresponds to the JSON property `version`
2269
2275
  # @return [Fixnum]
2270
2276
  attr_accessor :version
@@ -2405,6 +2411,37 @@ module Google
2405
2411
  end
2406
2412
  end
2407
2413
 
2414
+ # Reservation Affinity for consuming Zonal reservation.
2415
+ class ReservationAffinity
2416
+ include Google::Apis::Core::Hashable
2417
+
2418
+ # Optional. Type of reservation to consume
2419
+ # Corresponds to the JSON property `consumeReservationType`
2420
+ # @return [String]
2421
+ attr_accessor :consume_reservation_type
2422
+
2423
+ # Optional. Corresponds to the label key of reservation resource.
2424
+ # Corresponds to the JSON property `key`
2425
+ # @return [String]
2426
+ attr_accessor :key
2427
+
2428
+ # Optional. Corresponds to the label values of reservation resource.
2429
+ # Corresponds to the JSON property `values`
2430
+ # @return [Array<String>]
2431
+ attr_accessor :values
2432
+
2433
+ def initialize(**args)
2434
+ update!(**args)
2435
+ end
2436
+
2437
+ # Update properties of this object
2438
+ def update!(**args)
2439
+ @consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
2440
+ @key = args[:key] if args.key?(:key)
2441
+ @values = args[:values] if args.key?(:values)
2442
+ end
2443
+ end
2444
+
2408
2445
  # Security related configuration, including Kerberos.
2409
2446
  class SecurityConfig
2410
2447
  include Google::Apis::Core::Hashable
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class ReservationAffinity
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class SecurityConfig
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -670,6 +676,8 @@ module Google
670
676
  property :internal_ip_only, as: 'internalIpOnly'
671
677
  hash :metadata, as: 'metadata'
672
678
  property :network_uri, as: 'networkUri'
679
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1::ReservationAffinity, decorator: Google::Apis::DataprocV1::ReservationAffinity::Representation
680
+
673
681
  property :service_account, as: 'serviceAccount'
674
682
  collection :service_account_scopes, as: 'serviceAccountScopes'
675
683
  property :subnetwork_uri, as: 'subnetworkUri'
@@ -1034,6 +1042,15 @@ module Google
1034
1042
  end
1035
1043
  end
1036
1044
 
1045
+ class ReservationAffinity
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :consume_reservation_type, as: 'consumeReservationType'
1049
+ property :key, as: 'key'
1050
+ collection :values, as: 'values'
1051
+ end
1052
+ end
1053
+
1037
1054
  class SecurityConfig
1038
1055
  # @private
1039
1056
  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 = '20191031'
28
+ REVISION = '20191120'
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'
@@ -2314,8 +2314,8 @@ module Google
2314
2314
  # the request to setIamPolicy to ensure that their change will be applied to the
2315
2315
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
2316
2316
  # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2317
- # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2318
- # policy does not meet the version requirements.
2317
+ # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2318
+ # does not meet the requirements for modifying the stored policy.
2319
2319
  # Corresponds to the JSON property `etag`
2320
2320
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2321
2321
  # @return [String]
@@ -2324,11 +2324,11 @@ module Google
2324
2324
  # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2325
2325
  # specifying an invalid value will be rejected.Operations affecting conditional
2326
2326
  # bindings must specify version 3. This can be either setting a conditional
2327
- # policy, modifying a conditional binding, or removing a conditional binding
2328
- # from the stored conditional policy. Operations on non-conditional policies may
2329
- # specify any valid value or leave the field unset.If no etag is provided in the
2330
- # call to setIamPolicy, any version compliance checks on the incoming and/or
2331
- # stored policy is skipped.
2327
+ # policy, modifying a conditional binding, or removing a binding (conditional or
2328
+ # unconditional) from the stored conditional policy. Operations on non-
2329
+ # conditional policies may specify any valid value or leave the field unset.If
2330
+ # no etag is provided in the call to setIamPolicy, version compliance checks
2331
+ # against the stored policy is skipped.
2332
2332
  # Corresponds to the JSON property `version`
2333
2333
  # @return [Fixnum]
2334
2334
  attr_accessor :version
@@ -1119,7 +1119,7 @@ module Google
1119
1119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1120
1120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1121
1121
  def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1122
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
1122
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options)
1123
1123
  command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1124
1124
  command.request_object = cluster_object
1125
1125
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1170,7 +1170,7 @@ module Google
1170
1170
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1171
1171
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1172
1172
  def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1173
- command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1173
+ command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1174
1174
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
1175
1175
  command.response_class = Google::Apis::DataprocV1beta2::Operation
1176
1176
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1212,7 +1212,7 @@ module Google
1212
1212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1213
1213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1214
1214
  def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1215
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
1215
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}:diagnose', options)
1216
1216
  command.request_representation = Google::Apis::DataprocV1beta2::DiagnoseClusterRequest::Representation
1217
1217
  command.request_object = diagnose_cluster_request_object
1218
1218
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1251,7 +1251,7 @@ module Google
1251
1251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1252
1252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1253
1253
  def get_project_region_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
1254
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1254
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1255
1255
  command.response_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1256
1256
  command.response_class = Google::Apis::DataprocV1beta2::Cluster
1257
1257
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1340,7 +1340,7 @@ module Google
1340
1340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1341
1341
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1342
1342
  def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1343
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
1343
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options)
1344
1344
  command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
1345
1345
  command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
1346
1346
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1450,7 +1450,7 @@ module Google
1450
1450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1451
1451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1452
1452
  def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1453
- command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1453
+ command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1454
1454
  command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1455
1455
  command.request_object = cluster_object
1456
1456
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1567,7 +1567,7 @@ module Google
1567
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1568
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1569
1569
  def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1570
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
1570
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}:cancel', options)
1571
1571
  command.request_representation = Google::Apis::DataprocV1beta2::CancelJobRequest::Representation
1572
1572
  command.request_object = cancel_job_request_object
1573
1573
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -1606,7 +1606,7 @@ module Google
1606
1606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1607
1607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1608
1608
  def delete_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
1609
- command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1609
+ command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1610
1610
  command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
1611
1611
  command.response_class = Google::Apis::DataprocV1beta2::Empty
1612
1612
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1642,7 +1642,7 @@ module Google
1642
1642
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1643
1643
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1644
1644
  def get_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
1645
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1645
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1646
1646
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
1647
1647
  command.response_class = Google::Apis::DataprocV1beta2::Job
1648
1648
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1733,7 +1733,7 @@ module Google
1733
1733
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1734
1734
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1735
1735
  def list_project_region_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1736
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs', options)
1736
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs', options)
1737
1737
  command.response_representation = Google::Apis::DataprocV1beta2::ListJobsResponse::Representation
1738
1738
  command.response_class = Google::Apis::DataprocV1beta2::ListJobsResponse
1739
1739
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1780,7 +1780,7 @@ module Google
1780
1780
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1781
1781
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1782
1782
  def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1783
- command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1783
+ command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1784
1784
  command.request_representation = Google::Apis::DataprocV1beta2::Job::Representation
1785
1785
  command.request_object = job_object
1786
1786
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -1854,7 +1854,7 @@ module Google
1854
1854
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1855
1855
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1856
1856
  def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1857
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs:submit', options)
1857
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs:submit', options)
1858
1858
  command.request_representation = Google::Apis::DataprocV1beta2::SubmitJobRequest::Representation
1859
1859
  command.request_object = submit_job_request_object
1860
1860
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20191118'
30
+ REVISION = '20191202'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1212,7 +1212,7 @@ module Google
1212
1212
  class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
1213
1213
  include Google::Apis::Core::Hashable
1214
1214
 
1215
- # Configuration for stored infoT types. All fields and subfield are provided
1215
+ # Configuration for stored infoTypes. All fields and subfield are provided
1216
1216
  # by the user. For more information, see
1217
1217
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
1218
1218
  # Corresponds to the JSON property `config`
@@ -5287,7 +5287,7 @@ module Google
5287
5287
  end
5288
5288
  end
5289
5289
 
5290
- # Configuration for stored infoT types. All fields and subfield are provided
5290
+ # Configuration for stored infoTypes. All fields and subfield are provided
5291
5291
  # by the user. For more information, see
5292
5292
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5293
5293
  class GooglePrivacyDlpV2StoredInfoTypeConfig
@@ -5349,7 +5349,7 @@ module Google
5349
5349
  class GooglePrivacyDlpV2StoredInfoTypeVersion
5350
5350
  include Google::Apis::Core::Hashable
5351
5351
 
5352
- # Configuration for stored infoT types. All fields and subfield are provided
5352
+ # Configuration for stored infoTypes. All fields and subfield are provided
5353
5353
  # by the user. For more information, see
5354
5354
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5355
5355
  # Corresponds to the JSON property `config`
@@ -5892,7 +5892,7 @@ module Google
5892
5892
  class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
5893
5893
  include Google::Apis::Core::Hashable
5894
5894
 
5895
- # Configuration for stored infoT types. All fields and subfield are provided
5895
+ # Configuration for stored infoTypes. All fields and subfield are provided
5896
5896
  # by the user. For more information, see
5897
5897
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5898
5898
  # Corresponds to the JSON property `config`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com
27
27
  module FirebaseV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20191125'
29
+ REVISION = '20191203'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -795,6 +795,11 @@ module Google
795
795
  class Location
796
796
  include Google::Apis::Core::Hashable
797
797
 
798
+ # Products and services that are available in the GCP resource location.
799
+ # Corresponds to the JSON property `features`
800
+ # @return [Array<String>]
801
+ attr_accessor :features
802
+
798
803
  # The ID of the GCP resource location. It will be one of the available [GCP
799
804
  # resource
800
805
  # locations](https://firebase.google.com/docs/projects/locations#types).
@@ -802,13 +807,23 @@ module Google
802
807
  # @return [String]
803
808
  attr_accessor :location_id
804
809
 
810
+ # Indicates whether the GCP resource location is a [regional or
811
+ # multi-regional
812
+ # location](https://firebase.google.com/docs/projects/locations#types)
813
+ # for data replication.
814
+ # Corresponds to the JSON property `type`
815
+ # @return [String]
816
+ attr_accessor :type
817
+
805
818
  def initialize(**args)
806
819
  update!(**args)
807
820
  end
808
821
 
809
822
  # Update properties of this object
810
823
  def update!(**args)
824
+ @features = args[:features] if args.key?(:features)
811
825
  @location_id = args[:location_id] if args.key?(:location_id)
826
+ @type = args[:type] if args.key?(:type)
812
827
  end
813
828
  end
814
829