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

Represents a KerberosConfig.

Package

@google-cloud/dataproc

Constructors

(constructor)(properties)

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

Constructs a new KerberosConfig.

Parameter
Name Description
properties IKerberosConfig

Properties to set

Properties

crossRealmTrustAdminServer

public crossRealmTrustAdminServer: string;

KerberosConfig crossRealmTrustAdminServer.

crossRealmTrustKdc

public crossRealmTrustKdc: string;

KerberosConfig crossRealmTrustKdc.

crossRealmTrustRealm

public crossRealmTrustRealm: string;

KerberosConfig crossRealmTrustRealm.

crossRealmTrustSharedPasswordUri

public crossRealmTrustSharedPasswordUri: string;

KerberosConfig crossRealmTrustSharedPasswordUri.

enableKerberos

public enableKerberos: boolean;

KerberosConfig enableKerberos.

kdcDbKeyUri

public kdcDbKeyUri: string;

KerberosConfig kdcDbKeyUri.

keyPasswordUri

public keyPasswordUri: string;

KerberosConfig keyPasswordUri.

keystorePasswordUri

public keystorePasswordUri: string;

KerberosConfig keystorePasswordUri.

keystoreUri

public keystoreUri: string;

KerberosConfig keystoreUri.

kmsKeyUri

public kmsKeyUri: string;

KerberosConfig kmsKeyUri.

realm

public realm: string;

KerberosConfig realm.

rootPrincipalPasswordUri

public rootPrincipalPasswordUri: string;

KerberosConfig rootPrincipalPasswordUri.

tgtLifetimeHours

public tgtLifetimeHours: number;

KerberosConfig tgtLifetimeHours.

truststorePasswordUri

public truststorePasswordUri: string;

KerberosConfig truststorePasswordUri.

truststoreUri

public truststoreUri: string;

KerberosConfig truststoreUri.

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
Name Description
properties IKerberosConfig

Properties to set

Returns
Type Description
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
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
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
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
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
Name Description
message IKerberosConfig

KerberosConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$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
Name Description
message IKerberosConfig

KerberosConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$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
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
KerberosConfig

KerberosConfig

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for KerberosConfig

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

toJSON()

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

Converts this KerberosConfig to JSON.

Returns
Type Description
{ [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
Name Description
message KerberosConfig

KerberosConfig

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a KerberosConfig message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not