Represents a GceClusterConfig.
Package
@google-cloud/dataproc!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.dataproc.v1.IGceClusterConfig);
Constructs a new GceClusterConfig.
Name | Description |
properties |
IGceClusterConfig
Properties to set |
Properties
internalIpOnly
public internalIpOnly: boolean;
GceClusterConfig internalIpOnly.
Type | Description |
boolean |
metadata
public metadata: { [k: string]: string };
GceClusterConfig metadata.
Type | Description |
{ [k: string]: string } |
networkUri
public networkUri: string;
GceClusterConfig networkUri.
Type | Description |
string |
nodeGroupAffinity
public nodeGroupAffinity?: (google.cloud.dataproc.v1.INodeGroupAffinity|null);
GceClusterConfig nodeGroupAffinity.
Type | Description |
(google.cloud.dataproc.v1.INodeGroupAffinity|null) |
privateIpv6GoogleAccess
public privateIpv6GoogleAccess: (google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess|keyof typeof google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess);
GceClusterConfig privateIpv6GoogleAccess.
Type | Description |
(google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess|keyof typeof google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess) |
reservationAffinity
public reservationAffinity?: (google.cloud.dataproc.v1.IReservationAffinity|null);
GceClusterConfig reservationAffinity.
Type | Description |
(google.cloud.dataproc.v1.IReservationAffinity|null) |
serviceAccount
public serviceAccount: string;
GceClusterConfig serviceAccount.
Type | Description |
string |
serviceAccountScopes
public serviceAccountScopes: string[];
GceClusterConfig serviceAccountScopes.
Type | Description |
string[] |
shieldedInstanceConfig
public shieldedInstanceConfig?: (google.cloud.dataproc.v1.IShieldedInstanceConfig|null);
GceClusterConfig shieldedInstanceConfig.
Type | Description |
(google.cloud.dataproc.v1.IShieldedInstanceConfig|null) |
subnetworkUri
public subnetworkUri: string;
GceClusterConfig subnetworkUri.
Type | Description |
string |
tags
public tags: string[];
GceClusterConfig tags.
Type | Description |
string[] |
zoneUri
public zoneUri: string;
GceClusterConfig zoneUri.
Type | Description |
string |
Methods
create(properties)
public static create(properties?: google.cloud.dataproc.v1.IGceClusterConfig): google.cloud.dataproc.v1.GceClusterConfig;
Creates a new GceClusterConfig instance using the specified properties.
Name | Description |
properties |
IGceClusterConfig
Properties to set |
Type | Description |
google.cloud.dataproc.v1.GceClusterConfig | GceClusterConfig instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dataproc.v1.GceClusterConfig;
Decodes a GceClusterConfig 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.GceClusterConfig | GceClusterConfig |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dataproc.v1.GceClusterConfig;
Decodes a GceClusterConfig 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.GceClusterConfig | GceClusterConfig |
encode(message, writer)
public static encode(message: google.cloud.dataproc.v1.IGceClusterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified GceClusterConfig message. Does not implicitly messages.
Name | Description |
message |
IGceClusterConfig
GceClusterConfig 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.IGceClusterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified GceClusterConfig message, length delimited. Does not implicitly messages.
Name | Description |
message |
IGceClusterConfig
GceClusterConfig 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.GceClusterConfig;
Creates a GceClusterConfig 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.GceClusterConfig | GceClusterConfig |
toJSON()
public toJSON(): { [k: string]: any };
Converts this GceClusterConfig to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.dataproc.v1.GceClusterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a GceClusterConfig message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.dataproc.v1.GceClusterConfig
GceClusterConfig |
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 GceClusterConfig message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|