ClusterConfig

google.cloud.dataproc.v1. ClusterConfig

Represents a ClusterConfig.

Constructor

new ClusterConfig(propertiesopt)

Constructs a new ClusterConfig.

Parameters:
Name Type Attributes Description
properties google.cloud.dataproc.v1.IClusterConfig <optional>

Properties to set

Implements:
  • IClusterConfig

Members

autoscalingConfig :google.cloud.dataproc.v1.IAutoscalingConfig|null|undefined

ClusterConfig autoscalingConfig.

configBucket :string

ClusterConfig configBucket.

encryptionConfig :google.cloud.dataproc.v1.IEncryptionConfig|null|undefined

ClusterConfig encryptionConfig.

endpointConfig :google.cloud.dataproc.v1.IEndpointConfig|null|undefined

ClusterConfig endpointConfig.

gceClusterConfig :google.cloud.dataproc.v1.IGceClusterConfig|null|undefined

ClusterConfig gceClusterConfig.

initializationActions :Array.<google.cloud.dataproc.v1.INodeInitializationAction>

ClusterConfig initializationActions.

lifecycleConfig :google.cloud.dataproc.v1.ILifecycleConfig|null|undefined

ClusterConfig lifecycleConfig.

masterConfig :google.cloud.dataproc.v1.IInstanceGroupConfig|null|undefined

ClusterConfig masterConfig.

secondaryWorkerConfig :google.cloud.dataproc.v1.IInstanceGroupConfig|null|undefined

ClusterConfig secondaryWorkerConfig.

securityConfig :google.cloud.dataproc.v1.ISecurityConfig|null|undefined

ClusterConfig securityConfig.

softwareConfig :google.cloud.dataproc.v1.ISoftwareConfig|null|undefined

ClusterConfig softwareConfig.

tempBucket :string

ClusterConfig tempBucket.

workerConfig :google.cloud.dataproc.v1.IInstanceGroupConfig|null|undefined

ClusterConfig workerConfig.

Methods

(static) create(propertiesopt) → {google.cloud.dataproc.v1.ClusterConfig}

Creates a new ClusterConfig instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.dataproc.v1.IClusterConfig <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.cloud.dataproc.v1.ClusterConfig}

Decodes a ClusterConfig message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.dataproc.v1.ClusterConfig}

Decodes a ClusterConfig message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified ClusterConfig message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1.IClusterConfig

ClusterConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified ClusterConfig message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1.IClusterConfig

ClusterConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.cloud.dataproc.v1.ClusterConfig}

Creates a ClusterConfig message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a ClusterConfig message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1.ClusterConfig

ClusterConfig

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a ClusterConfig message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this ClusterConfig to JSON.