Represents a ClusterConfig.
Package
@google-cloud/dataproc!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.dataproc.v1.IClusterConfig);
Constructs a new ClusterConfig.
Name | Description |
properties |
IClusterConfig
Properties to set |
Properties
autoscalingConfig
public autoscalingConfig?: (google.cloud.dataproc.v1.IAutoscalingConfig|null);
ClusterConfig autoscalingConfig.
Type | Description |
(google.cloud.dataproc.v1.IAutoscalingConfig|null) |
configBucket
public configBucket: string;
ClusterConfig configBucket.
Type | Description |
string |
encryptionConfig
public encryptionConfig?: (google.cloud.dataproc.v1.IEncryptionConfig|null);
ClusterConfig encryptionConfig.
Type | Description |
(google.cloud.dataproc.v1.IEncryptionConfig|null) |
endpointConfig
public endpointConfig?: (google.cloud.dataproc.v1.IEndpointConfig|null);
ClusterConfig endpointConfig.
Type | Description |
(google.cloud.dataproc.v1.IEndpointConfig|null) |
gceClusterConfig
public gceClusterConfig?: (google.cloud.dataproc.v1.IGceClusterConfig|null);
ClusterConfig gceClusterConfig.
Type | Description |
(google.cloud.dataproc.v1.IGceClusterConfig|null) |
gkeClusterConfig
public gkeClusterConfig?: (google.cloud.dataproc.v1.IGkeClusterConfig|null);
ClusterConfig gkeClusterConfig.
Type | Description |
(google.cloud.dataproc.v1.IGkeClusterConfig|null) |
initializationActions
public initializationActions: google.cloud.dataproc.v1.INodeInitializationAction[];
ClusterConfig initializationActions.
Type | Description |
google.cloud.dataproc.v1.INodeInitializationAction[] |
lifecycleConfig
public lifecycleConfig?: (google.cloud.dataproc.v1.ILifecycleConfig|null);
ClusterConfig lifecycleConfig.
Type | Description |
(google.cloud.dataproc.v1.ILifecycleConfig|null) |
masterConfig
public masterConfig?: (google.cloud.dataproc.v1.IInstanceGroupConfig|null);
ClusterConfig masterConfig.
Type | Description |
(google.cloud.dataproc.v1.IInstanceGroupConfig|null) |
metastoreConfig
public metastoreConfig?: (google.cloud.dataproc.v1.IMetastoreConfig|null);
ClusterConfig metastoreConfig.
Type | Description |
(google.cloud.dataproc.v1.IMetastoreConfig|null) |
secondaryWorkerConfig
public secondaryWorkerConfig?: (google.cloud.dataproc.v1.IInstanceGroupConfig|null);
ClusterConfig secondaryWorkerConfig.
Type | Description |
(google.cloud.dataproc.v1.IInstanceGroupConfig|null) |
securityConfig
public securityConfig?: (google.cloud.dataproc.v1.ISecurityConfig|null);
ClusterConfig securityConfig.
Type | Description |
(google.cloud.dataproc.v1.ISecurityConfig|null) |
softwareConfig
public softwareConfig?: (google.cloud.dataproc.v1.ISoftwareConfig|null);
ClusterConfig softwareConfig.
Type | Description |
(google.cloud.dataproc.v1.ISoftwareConfig|null) |
tempBucket
public tempBucket: string;
ClusterConfig tempBucket.
Type | Description |
string |
workerConfig
public workerConfig?: (google.cloud.dataproc.v1.IInstanceGroupConfig|null);
ClusterConfig workerConfig.
Type | Description |
(google.cloud.dataproc.v1.IInstanceGroupConfig|null) |
Methods
create(properties)
public static create(properties?: google.cloud.dataproc.v1.IClusterConfig): google.cloud.dataproc.v1.ClusterConfig;
Creates a new ClusterConfig instance using the specified properties.
Name | Description |
properties |
IClusterConfig
Properties to set |
Type | Description |
google.cloud.dataproc.v1.ClusterConfig | ClusterConfig instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dataproc.v1.ClusterConfig;
Decodes a ClusterConfig message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.dataproc.v1.ClusterConfig | ClusterConfig |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dataproc.v1.ClusterConfig;
Decodes a ClusterConfig message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.dataproc.v1.ClusterConfig | ClusterConfig |
encode(message, writer)
public static encode(message: google.cloud.dataproc.v1.IClusterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified ClusterConfig message. Does not implicitly messages.
Name | Description |
message |
IClusterConfig
ClusterConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.dataproc.v1.IClusterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified ClusterConfig message, length delimited. Does not implicitly messages.
Name | Description |
message |
IClusterConfig
ClusterConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.dataproc.v1.ClusterConfig;
Creates a ClusterConfig message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.dataproc.v1.ClusterConfig | ClusterConfig |
toJSON()
public toJSON(): { [k: string]: any };
Converts this ClusterConfig to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.dataproc.v1.ClusterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a ClusterConfig message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.dataproc.v1.ClusterConfig
ClusterConfig |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a ClusterConfig message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|