google-apis-dataproc_v1 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 906d5ff387e86fa97ecc65bf3f07a26d76da1972a7da9d862b8485a50114df89
4
- data.tar.gz: 5e64da429d93030e9aed8d88d2d126e3497d34845af04c849ae59f45ffdbc2b8
3
+ metadata.gz: f7fdd2ae509f49631d6430b4068b4544e8450a7f6efa76234e2441b63a65d0e3
4
+ data.tar.gz: c2a998601aae00414fd4e33aba10357b7d45968ed554f3c7757a69134a2d72e0
5
5
  SHA512:
6
- metadata.gz: a39b0534ee90a458d16b9d9525ec0132086bc47d90d00f1ffb5383cd81da1f8755ab2c878ceaefb13c2892fa1d84eedf0a4b72a768e9b2d8df9ae269433bb7a4
7
- data.tar.gz: 14fb770f5ee248d19bf0cfd0819c8880c7cdea833e3f75c35fe3189fba78abd97bbb8f4bdc7bebbb838b693dfbcc235fd5cf2d8a696bcad30e3c253a4aa026ec
6
+ metadata.gz: 2caadbfff1e71c51ad171cc094f36f4102e7b498bef12070b088f414ca125e91b3ef48161fc1cd1f64d0efe0d3d226f97e53dfc8b363b09dbee791cfaa0f5676
7
+ data.tar.gz: 4976b37216329c5b207e3d2a703020847d1314c54bdad760389d5dc87d14cfe9e092492f74029d26f1c19e44bc9654715d6169ef810db3f1023350a9d97f4edc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.27.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220526
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.26.0 (2022-05-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20220511
@@ -544,8 +544,10 @@ module Google
544
544
  class Cluster
545
545
  include Google::Apis::Core::Hashable
546
546
 
547
- # Required. The cluster name. Cluster names within a project must be unique.
548
- # Names of deleted clusters can be reused.
547
+ # Required. The cluster name, which must be unique within a project. The name
548
+ # must start with a lowercase letter, and can contain up to 51 lowercase letters,
549
+ # numbers, and hyphens. It cannot end with a hyphen. The name of a deleted
550
+ # cluster can be reused.
549
551
  # Corresponds to the JSON property `clusterName`
550
552
  # @return [String]
551
553
  attr_accessor :cluster_name
@@ -1512,6 +1514,15 @@ module Google
1512
1514
  # @return [Array<Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig>]
1513
1515
  attr_accessor :accelerators
1514
1516
 
1517
+ # Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/
1518
+ # compute/docs/disks/customer-managed-encryption) used to encrypt the boot disk
1519
+ # attached to each node in the node pool. Specify the key using the following
1520
+ # format: projects/KEY_PROJECT_ID /locations/LOCATION/keyRings/RING_NAME/
1521
+ # cryptoKeys/KEY_NAME.
1522
+ # Corresponds to the JSON property `bootDiskKmsKey`
1523
+ # @return [String]
1524
+ attr_accessor :boot_disk_kms_key
1525
+
1515
1526
  # Optional. The number of local SSD disks to attach to the node, which is
1516
1527
  # limited by the maximum number of disks allowable per zone (see Adding Local
1517
1528
  # SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).
@@ -1558,6 +1569,7 @@ module Google
1558
1569
  # Update properties of this object
1559
1570
  def update!(**args)
1560
1571
  @accelerators = args[:accelerators] if args.key?(:accelerators)
1572
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
1561
1573
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
1562
1574
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1563
1575
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -3047,6 +3059,41 @@ module Google
3047
3059
  end
3048
3060
  end
3049
3061
 
3062
+ # indicating a list of workers of same type
3063
+ class NodePool
3064
+ include Google::Apis::Core::Hashable
3065
+
3066
+ # Required. A unique id of the node pool. Primary and Secondary workers can be
3067
+ # specified using special reserved ids PRIMARY_WORKER_POOL and
3068
+ # SECONDARY_WORKER_POOL respectively. Aux node pools can be referenced using
3069
+ # corresponding pool id.
3070
+ # Corresponds to the JSON property `id`
3071
+ # @return [String]
3072
+ attr_accessor :id
3073
+
3074
+ # Name of instances to be repaired. These instances must belong to specified
3075
+ # node pool.
3076
+ # Corresponds to the JSON property `instanceNames`
3077
+ # @return [Array<String>]
3078
+ attr_accessor :instance_names
3079
+
3080
+ # Required. Repair action to take on specified resources of the node pool.
3081
+ # Corresponds to the JSON property `repairAction`
3082
+ # @return [String]
3083
+ attr_accessor :repair_action
3084
+
3085
+ def initialize(**args)
3086
+ update!(**args)
3087
+ end
3088
+
3089
+ # Update properties of this object
3090
+ def update!(**args)
3091
+ @id = args[:id] if args.key?(:id)
3092
+ @instance_names = args[:instance_names] if args.key?(:instance_names)
3093
+ @repair_action = args[:repair_action] if args.key?(:repair_action)
3094
+ end
3095
+ end
3096
+
3050
3097
  # This resource represents a long-running operation that is the result of a
3051
3098
  # network API call.
3052
3099
  class Operation
@@ -3665,6 +3712,13 @@ module Google
3665
3712
  # @return [String]
3666
3713
  attr_accessor :cluster_uuid
3667
3714
 
3715
+ # Optional. Node pools and corresponding repair action to be taken. All node
3716
+ # pools should be unique in this request. i.e. Multiple entries for the same
3717
+ # node pool id are not allowed.
3718
+ # Corresponds to the JSON property `nodePools`
3719
+ # @return [Array<Google::Apis::DataprocV1::NodePool>]
3720
+ attr_accessor :node_pools
3721
+
3668
3722
  # Optional. A unique ID used to identify the request. If the server receives two
3669
3723
  # RepairClusterRequests with the same ID, the second request is ignored, and the
3670
3724
  # first google.longrunning.Operation created and stored in the backend is
@@ -3683,6 +3737,7 @@ module Google
3683
3737
  # Update properties of this object
3684
3738
  def update!(**args)
3685
3739
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
3740
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
3686
3741
  @request_id = args[:request_id] if args.key?(:request_id)
3687
3742
  end
3688
3743
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220511"
25
+ REVISION = "20220526"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class NodePool
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class Operation
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -1090,6 +1096,7 @@ module Google
1090
1096
  class Representation < Google::Apis::Core::JsonRepresentation
1091
1097
  collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig, decorator: Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig::Representation
1092
1098
 
1099
+ property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1093
1100
  property :local_ssd_count, as: 'localSsdCount'
1094
1101
  property :machine_type, as: 'machineType'
1095
1102
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1480,6 +1487,15 @@ module Google
1480
1487
  end
1481
1488
  end
1482
1489
 
1490
+ class NodePool
1491
+ # @private
1492
+ class Representation < Google::Apis::Core::JsonRepresentation
1493
+ property :id, as: 'id'
1494
+ collection :instance_names, as: 'instanceNames'
1495
+ property :repair_action, as: 'repairAction'
1496
+ end
1497
+ end
1498
+
1483
1499
  class Operation
1484
1500
  # @private
1485
1501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1623,6 +1639,8 @@ module Google
1623
1639
  # @private
1624
1640
  class Representation < Google::Apis::Core::JsonRepresentation
1625
1641
  property :cluster_uuid, as: 'clusterUuid'
1642
+ collection :node_pools, as: 'nodePools', class: Google::Apis::DataprocV1::NodePool, decorator: Google::Apis::DataprocV1::NodePool::Representation
1643
+
1626
1644
  property :request_id, as: 'requestId'
1627
1645
  end
1628
1646
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-30 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []