google-apis-dataproc_v1 0.26.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/dataproc_v1/classes.rb +85 -10
- data/lib/google/apis/dataproc_v1/gem_version.rb +3 -3
- data/lib/google/apis/dataproc_v1/representations.rb +19 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e38221ccb0169e45da4eb79495f49586b99fceae8680277c6923be92c1d5ee7
|
4
|
+
data.tar.gz: e786cd4cfa9659874061ee029314dabbfc23f4535e975432511bba04bc6f4581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dd9d836030df77083928f51c7091c9df733b48f7f98a6087a7936ae30a59872e664659ce9f047048b5194d88ad5658c373069b69c39d4703f067a07a949bb09
|
7
|
+
data.tar.gz: a4a25a285cafd27bdaa0637f64390f8fc465d78c1e904d445c88f492424fb9a17772ab880080b63bb110729f7c1b7e5a394d744e4d5765fdd046930b0485344b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.29.0 (2022-07-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220628
|
6
|
+
* Regenerated using generator version 0.8.0
|
7
|
+
|
8
|
+
### v0.28.0 (2022-06-17)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.6.0
|
11
|
+
|
12
|
+
### v0.27.0 (2022-06-07)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220526
|
15
|
+
* Regenerated using generator version 0.5.0
|
16
|
+
|
3
17
|
### v0.26.0 (2022-05-25)
|
4
18
|
|
5
19
|
* 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
|
548
|
-
#
|
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
|
@@ -816,6 +818,11 @@ module Google
|
|
816
818
|
class ClusterOperationMetadata
|
817
819
|
include Google::Apis::Core::Hashable
|
818
820
|
|
821
|
+
# Output only. Child operation ids
|
822
|
+
# Corresponds to the JSON property `childOperationIds`
|
823
|
+
# @return [Array<String>]
|
824
|
+
attr_accessor :child_operation_ids
|
825
|
+
|
819
826
|
# Output only. Name of the cluster for the operation.
|
820
827
|
# Corresponds to the JSON property `clusterName`
|
821
828
|
# @return [String]
|
@@ -862,6 +869,7 @@ module Google
|
|
862
869
|
|
863
870
|
# Update properties of this object
|
864
871
|
def update!(**args)
|
872
|
+
@child_operation_ids = args[:child_operation_ids] if args.key?(:child_operation_ids)
|
865
873
|
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
866
874
|
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
867
875
|
@description = args[:description] if args.key?(:description)
|
@@ -1002,7 +1010,7 @@ module Google
|
|
1002
1010
|
class DataprocMetricConfig
|
1003
1011
|
include Google::Apis::Core::Hashable
|
1004
1012
|
|
1005
|
-
# Required. Metrics to enable.
|
1013
|
+
# Required. Metrics sources to enable.
|
1006
1014
|
# Corresponds to the JSON property `metrics`
|
1007
1015
|
# @return [Array<Google::Apis::DataprocV1::Metric>]
|
1008
1016
|
attr_accessor :metrics
|
@@ -1075,11 +1083,12 @@ module Google
|
|
1075
1083
|
# @return [String]
|
1076
1084
|
attr_accessor :local_ssd_interface
|
1077
1085
|
|
1078
|
-
# Optional. Number of attached SSDs, from 0 to
|
1086
|
+
# Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not
|
1079
1087
|
# attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.
|
1080
1088
|
# apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are
|
1081
1089
|
# attached, this runtime bulk data is spread across them, and the boot disk
|
1082
|
-
# contains only basic config and installed binaries.
|
1090
|
+
# contains only basic config and installed binaries.Note: Local SSD options may
|
1091
|
+
# vary by machine type and number of vCPUs selected.
|
1083
1092
|
# Corresponds to the JSON property `numLocalSsds`
|
1084
1093
|
# @return [Fixnum]
|
1085
1094
|
attr_accessor :num_local_ssds
|
@@ -1512,6 +1521,15 @@ module Google
|
|
1512
1521
|
# @return [Array<Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig>]
|
1513
1522
|
attr_accessor :accelerators
|
1514
1523
|
|
1524
|
+
# Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/
|
1525
|
+
# kubernetes-engine/docs/how-to/using-cmek) used to encrypt the boot disk
|
1526
|
+
# attached to each node in the node pool. Specify the key using the following
|
1527
|
+
# format: projects/KEY_PROJECT_ID/locations/LOCATION /keyRings/RING_NAME/
|
1528
|
+
# cryptoKeys/KEY_NAME.
|
1529
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
1530
|
+
# @return [String]
|
1531
|
+
attr_accessor :boot_disk_kms_key
|
1532
|
+
|
1515
1533
|
# Optional. The number of local SSD disks to attach to the node, which is
|
1516
1534
|
# limited by the maximum number of disks allowable per zone (see Adding Local
|
1517
1535
|
# SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).
|
@@ -1558,6 +1576,7 @@ module Google
|
|
1558
1576
|
# Update properties of this object
|
1559
1577
|
def update!(**args)
|
1560
1578
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
1579
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
1561
1580
|
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
|
1562
1581
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1563
1582
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
@@ -2938,18 +2957,31 @@ module Google
|
|
2938
2957
|
end
|
2939
2958
|
end
|
2940
2959
|
|
2941
|
-
#
|
2942
|
-
# default metrics.
|
2960
|
+
# A Dataproc OSS metric.
|
2943
2961
|
class Metric
|
2944
2962
|
include Google::Apis::Core::Hashable
|
2945
2963
|
|
2946
|
-
# Optional.
|
2947
|
-
# for the
|
2964
|
+
# Optional. Specify one or more available OSS metrics (https://cloud.google.com/
|
2965
|
+
# dataproc/docs/guides/monitoring#available_oss_metrics) to collect for the
|
2966
|
+
# metric course (for the SPARK metric source, any Spark metric (https://spark.
|
2967
|
+
# apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide
|
2968
|
+
# metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use
|
2969
|
+
# camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:
|
2970
|
+
# AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:
|
2971
|
+
# Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.
|
2972
|
+
# used Notes: Only the specified overridden metrics will be collected for the
|
2973
|
+
# metric source. For example, if one or more spark:executive metrics are listed
|
2974
|
+
# as metric overrides, other SPARK metrics will not be collected. The collection
|
2975
|
+
# of the default metrics for other OSS metric sources is unaffected. For example,
|
2976
|
+
# if both SPARK andd YARN metric sources are enabled, and overrides are
|
2977
|
+
# provided for Spark metrics only, all default YARN metrics will be collected.
|
2948
2978
|
# Corresponds to the JSON property `metricOverrides`
|
2949
2979
|
# @return [Array<String>]
|
2950
2980
|
attr_accessor :metric_overrides
|
2951
2981
|
|
2952
|
-
# Required.
|
2982
|
+
# Required. Default metrics are collected unless metricOverrides are specified
|
2983
|
+
# for the metric source (see Available OSS metrics (https://cloud.google.com/
|
2984
|
+
# dataproc/docs/guides/monitoring#available_oss_metrics) for more information).
|
2953
2985
|
# Corresponds to the JSON property `metricSource`
|
2954
2986
|
# @return [String]
|
2955
2987
|
attr_accessor :metric_source
|
@@ -3047,6 +3079,41 @@ module Google
|
|
3047
3079
|
end
|
3048
3080
|
end
|
3049
3081
|
|
3082
|
+
# indicating a list of workers of same type
|
3083
|
+
class NodePool
|
3084
|
+
include Google::Apis::Core::Hashable
|
3085
|
+
|
3086
|
+
# Required. A unique id of the node pool. Primary and Secondary workers can be
|
3087
|
+
# specified using special reserved ids PRIMARY_WORKER_POOL and
|
3088
|
+
# SECONDARY_WORKER_POOL respectively. Aux node pools can be referenced using
|
3089
|
+
# corresponding pool id.
|
3090
|
+
# Corresponds to the JSON property `id`
|
3091
|
+
# @return [String]
|
3092
|
+
attr_accessor :id
|
3093
|
+
|
3094
|
+
# Name of instances to be repaired. These instances must belong to specified
|
3095
|
+
# node pool.
|
3096
|
+
# Corresponds to the JSON property `instanceNames`
|
3097
|
+
# @return [Array<String>]
|
3098
|
+
attr_accessor :instance_names
|
3099
|
+
|
3100
|
+
# Required. Repair action to take on specified resources of the node pool.
|
3101
|
+
# Corresponds to the JSON property `repairAction`
|
3102
|
+
# @return [String]
|
3103
|
+
attr_accessor :repair_action
|
3104
|
+
|
3105
|
+
def initialize(**args)
|
3106
|
+
update!(**args)
|
3107
|
+
end
|
3108
|
+
|
3109
|
+
# Update properties of this object
|
3110
|
+
def update!(**args)
|
3111
|
+
@id = args[:id] if args.key?(:id)
|
3112
|
+
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
3113
|
+
@repair_action = args[:repair_action] if args.key?(:repair_action)
|
3114
|
+
end
|
3115
|
+
end
|
3116
|
+
|
3050
3117
|
# This resource represents a long-running operation that is the result of a
|
3051
3118
|
# network API call.
|
3052
3119
|
class Operation
|
@@ -3665,6 +3732,13 @@ module Google
|
|
3665
3732
|
# @return [String]
|
3666
3733
|
attr_accessor :cluster_uuid
|
3667
3734
|
|
3735
|
+
# Optional. Node pools and corresponding repair action to be taken. All node
|
3736
|
+
# pools should be unique in this request. i.e. Multiple entries for the same
|
3737
|
+
# node pool id are not allowed.
|
3738
|
+
# Corresponds to the JSON property `nodePools`
|
3739
|
+
# @return [Array<Google::Apis::DataprocV1::NodePool>]
|
3740
|
+
attr_accessor :node_pools
|
3741
|
+
|
3668
3742
|
# Optional. A unique ID used to identify the request. If the server receives two
|
3669
3743
|
# RepairClusterRequests with the same ID, the second request is ignored, and the
|
3670
3744
|
# first google.longrunning.Operation created and stored in the backend is
|
@@ -3683,6 +3757,7 @@ module Google
|
|
3683
3757
|
# Update properties of this object
|
3684
3758
|
def update!(**args)
|
3685
3759
|
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
3760
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
3686
3761
|
@request_id = args[:request_id] if args.key?(:request_id)
|
3687
3762
|
end
|
3688
3763
|
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.
|
19
|
+
GEM_VERSION = "0.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220628"
|
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
|
|
@@ -905,6 +911,7 @@ module Google
|
|
905
911
|
class ClusterOperationMetadata
|
906
912
|
# @private
|
907
913
|
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
collection :child_operation_ids, as: 'childOperationIds'
|
908
915
|
property :cluster_name, as: 'clusterName'
|
909
916
|
property :cluster_uuid, as: 'clusterUuid'
|
910
917
|
property :description, as: 'description'
|
@@ -1090,6 +1097,7 @@ module Google
|
|
1090
1097
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1091
1098
|
collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig, decorator: Google::Apis::DataprocV1::GkeNodePoolAcceleratorConfig::Representation
|
1092
1099
|
|
1100
|
+
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
|
1093
1101
|
property :local_ssd_count, as: 'localSsdCount'
|
1094
1102
|
property :machine_type, as: 'machineType'
|
1095
1103
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
@@ -1480,6 +1488,15 @@ module Google
|
|
1480
1488
|
end
|
1481
1489
|
end
|
1482
1490
|
|
1491
|
+
class NodePool
|
1492
|
+
# @private
|
1493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1494
|
+
property :id, as: 'id'
|
1495
|
+
collection :instance_names, as: 'instanceNames'
|
1496
|
+
property :repair_action, as: 'repairAction'
|
1497
|
+
end
|
1498
|
+
end
|
1499
|
+
|
1483
1500
|
class Operation
|
1484
1501
|
# @private
|
1485
1502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1623,6 +1640,8 @@ module Google
|
|
1623
1640
|
# @private
|
1624
1641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1625
1642
|
property :cluster_uuid, as: 'clusterUuid'
|
1643
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::DataprocV1::NodePool, decorator: Google::Apis::DataprocV1::NodePool::Representation
|
1644
|
+
|
1626
1645
|
property :request_id, as: 'requestId'
|
1627
1646
|
end
|
1628
1647
|
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.
|
4
|
+
version: 0.29.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-
|
11
|
+
date: 2022-07-04 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.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.29.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: []
|