Skip to content

Commit

Permalink
Add new enum values to dataproc cluster. (GoogleCloudPlatform#3483)
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-henderson authored May 9, 2020
1 parent f3c64d8 commit 4bd2a6f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion products/dataproc/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,10 +486,13 @@ objects:
description: |
The set of optional components to activate on the cluster.
Possible values include: COMPONENT_UNSPECIFIED, ANACONDA, HIVE_WEBHCAT, JUPYTER, ZEPPELIN
Possible values include: COMPONENT_UNSPECIFIED, ANACONDA, HIVE_WEBHCAT, JUPYTER, ZEPPELIN, HBASE, SOLR, and RANGER
values:
- :COMPONENT_UNSPECIFIED
- :ANACONDA
- :HBASE
- :RANGER
- :SOLR
- :HIVE_WEBHCAT
- :JUPYTER
- :ZEPPELIN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ by Dataproc`,
AtLeastOneOf: clusterSoftwareConfigKeys,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DRUID", "HIVE_WEBHCAT",
"JUPYTER", "KERBEROS", "PRESTO", "ZEPPELIN", "ZOOKEEPER"}, false),
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DRUID", "HBASE", "HIVE_WEBHCAT",
"JUPYTER", "KERBEROS", "PRESTO", "RANGER", "SOLR", "ZEPPELIN", "ZOOKEEPER"}, false),
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,13 @@ cluster_config {
Accepted values are:
* ANACONDA
* DRUID
* HBASE
* HIVE_WEBHCAT
* JUPYTER
* KERBEROS
* PRESTO
* RANGER
* SOLR
* ZEPPELIN
* ZOOKEEPER

Expand Down

0 comments on commit 4bd2a6f

Please sign in to comment.