Class protos.google.cloud.dataproc.v1.KerberosConfig (3.1.0)

Represents a KerberosConfig.

Package

@google-cloud/dataproc

Constructors

(constructor)(properties)

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

Constructs a new KerberosConfig.

Parameter
NameDescription
properties IKerberosConfig

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.v1.IKerberosConfig): google.cloud.dataproc.v1.KerberosConfig;

Creates a new KerberosConfig instance using the specified properties.

Parameter
NameDescription
properties IKerberosConfig

Properties to set

Returns
TypeDescription
google.cloud.dataproc.v1.KerberosConfig

KerberosConfig instance

decode(reader, length)

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

Decodes a KerberosConfig message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.cloud.dataproc.v1.KerberosConfig

KerberosConfig

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.dataproc.v1.KerberosConfig

KerberosConfig

encode(message, writer)

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

Encodes the specified KerberosConfig message. Does not implicitly messages.

Parameters
NameDescription
message IKerberosConfig

KerberosConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

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

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

Parameters
NameDescription
message IKerberosConfig

KerberosConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

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

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

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

Plain object

Returns
TypeDescription
google.cloud.dataproc.v1.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.v1.KerberosConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
NameDescription
message google.cloud.dataproc.v1.KerberosConfig

KerberosConfig

options $protobuf.IConversionOptions

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
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not