Class protos.google.cloud.dataproc.v1beta2.KerberosConfig

Represents a KerberosConfig.

Package

@google-cloud/dataproc!

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.dataproc.v1beta2.IKerberosConfig);

Constructs a new KerberosConfig.

Parameter
TypeNameDescription
IKerberosConfigproperties

Properties to set

Properties

crossRealmTrustAdminServer

public crossRealmTrustAdminServer: string;

KerberosConfig crossRealmTrustAdminServer.

Property Value
TypeDescription
string

crossRealmTrustKdc

public crossRealmTrustKdc: string;

KerberosConfig crossRealmTrustKdc.

Property Value
TypeDescription
string

crossRealmTrustRealm

public crossRealmTrustRealm: string;

KerberosConfig crossRealmTrustRealm.

Property Value
TypeDescription
string

crossRealmTrustSharedPasswordUri

public crossRealmTrustSharedPasswordUri: string;

KerberosConfig crossRealmTrustSharedPasswordUri.

Property Value
TypeDescription
string

enableKerberos

public enableKerberos: boolean;

KerberosConfig enableKerberos.

Property Value
TypeDescription
boolean

kdcDbKeyUri

public kdcDbKeyUri: string;

KerberosConfig kdcDbKeyUri.

Property Value
TypeDescription
string

keyPasswordUri

public keyPasswordUri: string;

KerberosConfig keyPasswordUri.

Property Value
TypeDescription
string

keystorePasswordUri

public keystorePasswordUri: string;

KerberosConfig keystorePasswordUri.

Property Value
TypeDescription
string

keystoreUri

public keystoreUri: string;

KerberosConfig keystoreUri.

Property Value
TypeDescription
string

kmsKeyUri

public kmsKeyUri: string;

KerberosConfig kmsKeyUri.

Property Value
TypeDescription
string

realm

public realm: string;

KerberosConfig realm.

Property Value
TypeDescription
string

rootPrincipalPasswordUri

public rootPrincipalPasswordUri: string;

KerberosConfig rootPrincipalPasswordUri.

Property Value
TypeDescription
string

tgtLifetimeHours

public tgtLifetimeHours: number;

KerberosConfig tgtLifetimeHours.

Property Value
TypeDescription
number

truststorePasswordUri

public truststorePasswordUri: string;

KerberosConfig truststorePasswordUri.

Property Value
TypeDescription
string

truststoreUri

public truststoreUri: string;

KerberosConfig truststoreUri.

Property Value
TypeDescription
string

Methods

create(properties)

public static create(properties?: google.cloud.dataproc.v1beta2.IKerberosConfig): google.cloud.dataproc.v1beta2.KerberosConfig;

Creates a new KerberosConfig instance using the specified properties.

Parameter
TypeNameDescription
IKerberosConfigproperties

Properties to set

Returns
TypeDescription
google.cloud.dataproc.v1beta2.KerberosConfig

KerberosConfig instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dataproc.v1beta2.KerberosConfig;

Decodes a KerberosConfig message from the specified reader or buffer.

Parameters
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

numberlength

Message length if known beforehand

Returns
TypeDescription
google.cloud.dataproc.v1beta2.KerberosConfig

KerberosConfig

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dataproc.v1beta2.KerberosConfig;

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

Parameter
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.dataproc.v1beta2.KerberosConfig

KerberosConfig

encode(message, writer)

public static encode(message: google.cloud.dataproc.v1beta2.IKerberosConfig, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified KerberosConfig message. Does not implicitly messages.

Parameters
TypeNameDescription
IKerberosConfigmessage

KerberosConfig message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.dataproc.v1beta2.IKerberosConfig, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
TypeNameDescription
IKerberosConfigmessage

KerberosConfig message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.dataproc.v1beta2.KerberosConfig;

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

Parameter
TypeNameDescription
{ [k: string]: any }object

Plain object

Returns
TypeDescription
google.cloud.dataproc.v1beta2.KerberosConfig

KerberosConfig

toJSON()

public toJSON(): { [k: string]: any };

Converts this KerberosConfig to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.dataproc.v1beta2.KerberosConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
TypeNameDescription
google.cloud.dataproc.v1beta2.KerberosConfigmessage

KerberosConfig

$protobuf.IConversionOptionsoptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a KerberosConfig message.

Parameter
TypeNameDescription
{ [k: string]: any }message

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not