lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb in google-cloud-dataproc-0.5.1 vs lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb in google-cloud-dataproc-0.6.0

- old
+ new

@@ -104,12 +104,33 @@ # ... worker specific actions ... # fi # @!attribute [rw] encryption_config # @return [Google::Cloud::Dataproc::V1::EncryptionConfig] # Optional. Encryption settings for the cluster. + # @!attribute [rw] autoscaling_config + # @return [Google::Cloud::Dataproc::V1::AutoscalingConfig] + # Optional. Autoscaling config for the policy associated with the cluster. + # Cluster does not autoscale if this field is unset. + # @!attribute [rw] security_config + # @return [Google::Cloud::Dataproc::V1::SecurityConfig] + # Optional. Security settings for the cluster. class ClusterConfig; end + # Autoscaling Policy config associated with the cluster. + # @!attribute [rw] policy_uri + # @return [String] + # Optional. The autoscaling policy used by the cluster. + # + # Only resource names including projectid and location (region) are valid. + # Examples: + # + # * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` + # * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` + # + # Note that the policy must be in the same project and Cloud Dataproc region. + class AutoscalingConfig; end + # Encryption settings for the cluster. # @!attribute [rw] gce_pd_kms_key_name # @return [String] # Optional. The Cloud KMS key name to use for PD disk encryption for all # instances in the cluster. @@ -245,13 +266,15 @@ # This is only used for preemptible instance groups. # @!attribute [rw] accelerators # @return [Array<Google::Cloud::Dataproc::V1::AcceleratorConfig>] # Optional. The Compute Engine accelerator configuration for these # instances. - # - # **Beta Feature**: This feature is still under development. It may be - # changed before final release. + # @!attribute [rw] min_cpu_platform + # @return [String] + # Optional. Specifies the minimum cpu platform for the Instance Group. + # See [Cloud Dataproc&rarr;Minimum CPU Platform] + # (/dataproc/docs/concepts/compute/dataproc-min-cpu). class InstanceGroupConfig; end # Specifies the resources used to actively manage an instance group. # @!attribute [rw] instance_template_name # @return [String] @@ -323,11 +346,11 @@ # @!attribute [rw] state # @return [Google::Cloud::Dataproc::V1::ClusterStatus::State] # Output only. The cluster's state. # @!attribute [rw] detail # @return [String] - # Output only. Optional details of cluster's state. + # Optional. Output only. Details of cluster's state. # @!attribute [rw] state_start_time # @return [Google::Protobuf::Timestamp] # Output only. Time when this state was entered. # @!attribute [rw] substate # @return [Google::Cloud::Dataproc::V1::ClusterStatus::Substate] @@ -373,10 +396,85 @@ # Applies to RUNNING state. STALE_STATUS = 2 end end + # Security related configuration, including Kerberos. + # @!attribute [rw] kerberos_config + # @return [Google::Cloud::Dataproc::V1::KerberosConfig] + # Kerberos related configuration. + class SecurityConfig; end + + # Specifies Kerberos related configuration. + # @!attribute [rw] enable_kerberos + # @return [true, false] + # Optional. Flag to indicate whether to Kerberize the cluster. + # @!attribute [rw] root_principal_password_uri + # @return [String] + # Required. The Cloud Storage URI of a KMS encrypted file containing the root + # principal password. + # @!attribute [rw] kms_key_uri + # @return [String] + # Required. The uri of the KMS key used to encrypt various sensitive + # files. + # @!attribute [rw] keystore_uri + # @return [String] + # Optional. The Cloud Storage URI of the keystore file used for SSL + # encryption. If not provided, Dataproc will provide a self-signed + # certificate. + # @!attribute [rw] truststore_uri + # @return [String] + # Optional. The Cloud Storage URI of the truststore file used for SSL + # encryption. If not provided, Dataproc will provide a self-signed + # certificate. + # @!attribute [rw] keystore_password_uri + # @return [String] + # Optional. The Cloud Storage URI of a KMS encrypted file containing the + # password to the user provided keystore. For the self-signed certificate, + # this password is generated by Dataproc. + # @!attribute [rw] key_password_uri + # @return [String] + # Optional. The Cloud Storage URI of a KMS encrypted file containing the + # password to the user provided key. For the self-signed certificate, this + # password is generated by Dataproc. + # @!attribute [rw] truststore_password_uri + # @return [String] + # Optional. The Cloud Storage URI of a KMS encrypted file containing the + # password to the user provided truststore. For the self-signed certificate, + # this password is generated by Dataproc. + # @!attribute [rw] cross_realm_trust_realm + # @return [String] + # Optional. The remote realm the Dataproc on-cluster KDC will trust, should + # the user enable cross realm trust. + # @!attribute [rw] cross_realm_trust_kdc + # @return [String] + # Optional. The KDC (IP or hostname) for the remote trusted realm in a cross + # realm trust relationship. + # @!attribute [rw] cross_realm_trust_admin_server + # @return [String] + # Optional. The admin server (IP or hostname) for the remote trusted realm in + # a cross realm trust relationship. + # @!attribute [rw] cross_realm_trust_shared_password_uri + # @return [String] + # Optional. The Cloud Storage URI of a KMS encrypted file containing the + # shared password between the on-cluster Kerberos realm and the remote + # trusted realm, in a cross realm trust relationship. + # @!attribute [rw] kdc_db_key_uri + # @return [String] + # Optional. The Cloud Storage URI of a KMS encrypted file containing the + # master key of the KDC database. + # @!attribute [rw] tgt_lifetime_hours + # @return [Integer] + # Optional. The lifetime of the ticket granting ticket, in hours. + # If not specified, or user specifies 0, then default value 10 + # will be used. + # @!attribute [rw] realm + # @return [String] + # Optional. The name of the on-cluster Kerberos realm. + # If not specified, the uppercased domain of hostnames will be the realm. + class KerberosConfig; end + # Specifies the selection and config of software inside the cluster. # @!attribute [rw] image_version # @return [String] # Optional. The version of software inside the cluster. It must be one of the # supported [Cloud Dataproc @@ -405,11 +503,11 @@ # # For more information, see # [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties). # @!attribute [rw] optional_components # @return [Array<Google::Cloud::Dataproc::V1::Component>] - # The set of optional components to activate on the cluster. + # Optional. The set of components to activate on the cluster. class SoftwareConfig; end # Contains cluster daemon metrics, such as HDFS and YARN stats. # # **Beta Feature**: This report is available for testing purposes only. It may @@ -516,9 +614,13 @@ # <td>Resize primary worker group</td> # </tr> # <tr> # <td><strong><em>config.secondary_worker_config.num_instances</em></strong></td> # <td>Resize secondary worker group</td> + # </tr> + # <tr> + # <td>config.autoscaling_config.policy_uri</td><td>Use, stop using, or + # change autoscaling policies</td> # </tr> # </tbody> # </table> # @!attribute [rw] request_id # @return [String] \ No newline at end of file