Class protos.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment

Represents a FlexTemplateRuntimeEnvironment.

Package

@google-cloud/dataflow!

Constructors

(constructor)(properties)

constructor(properties?: google.dataflow.v1beta3.IFlexTemplateRuntimeEnvironment);

Constructs a new FlexTemplateRuntimeEnvironment.

Parameter
TypeNameDescription
IFlexTemplateRuntimeEnvironmentproperties

Properties to set

Properties

additionalExperiments

public additionalExperiments: string[];

FlexTemplateRuntimeEnvironment additionalExperiments.

Property Value
TypeDescription
string[]

additionalUserLabels

public additionalUserLabels: { [k: string]: string };

FlexTemplateRuntimeEnvironment additionalUserLabels.

Property Value
TypeDescription
{ [k: string]: string }

enableStreamingEngine

public enableStreamingEngine: boolean;

FlexTemplateRuntimeEnvironment enableStreamingEngine.

Property Value
TypeDescription
boolean

flexrsGoal

public flexrsGoal: (google.dataflow.v1beta3.FlexResourceSchedulingGoal|keyof typeof google.dataflow.v1beta3.FlexResourceSchedulingGoal);

FlexTemplateRuntimeEnvironment flexrsGoal.

Property Value
TypeDescription
(google.dataflow.v1beta3.FlexResourceSchedulingGoal|keyof typeof google.dataflow.v1beta3.FlexResourceSchedulingGoal)

ipConfiguration

public ipConfiguration: (google.dataflow.v1beta3.WorkerIPAddressConfiguration|keyof typeof google.dataflow.v1beta3.WorkerIPAddressConfiguration);

FlexTemplateRuntimeEnvironment ipConfiguration.

Property Value
TypeDescription
(google.dataflow.v1beta3.WorkerIPAddressConfiguration|keyof typeof google.dataflow.v1beta3.WorkerIPAddressConfiguration)

kmsKeyName

public kmsKeyName: string;

FlexTemplateRuntimeEnvironment kmsKeyName.

Property Value
TypeDescription
string

machineType

public machineType: string;

FlexTemplateRuntimeEnvironment machineType.

Property Value
TypeDescription
string

maxWorkers

public maxWorkers: number;

FlexTemplateRuntimeEnvironment maxWorkers.

Property Value
TypeDescription
number

network

public network: string;

FlexTemplateRuntimeEnvironment network.

Property Value
TypeDescription
string

numWorkers

public numWorkers: number;

FlexTemplateRuntimeEnvironment numWorkers.

Property Value
TypeDescription
number

sdkContainerImage

public sdkContainerImage: string;

FlexTemplateRuntimeEnvironment sdkContainerImage.

Property Value
TypeDescription
string

serviceAccountEmail

public serviceAccountEmail: string;

FlexTemplateRuntimeEnvironment serviceAccountEmail.

Property Value
TypeDescription
string

stagingLocation

public stagingLocation: string;

FlexTemplateRuntimeEnvironment stagingLocation.

Property Value
TypeDescription
string

subnetwork

public subnetwork: string;

FlexTemplateRuntimeEnvironment subnetwork.

Property Value
TypeDescription
string

tempLocation

public tempLocation: string;

FlexTemplateRuntimeEnvironment tempLocation.

Property Value
TypeDescription
string

workerRegion

public workerRegion: string;

FlexTemplateRuntimeEnvironment workerRegion.

Property Value
TypeDescription
string

workerZone

public workerZone: string;

FlexTemplateRuntimeEnvironment workerZone.

Property Value
TypeDescription
string

zone

public zone: string;

FlexTemplateRuntimeEnvironment zone.

Property Value
TypeDescription
string

Methods

create(properties)

public static create(properties?: google.dataflow.v1beta3.IFlexTemplateRuntimeEnvironment): google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment;

Creates a new FlexTemplateRuntimeEnvironment instance using the specified properties.

Parameter
TypeNameDescription
IFlexTemplateRuntimeEnvironmentproperties

Properties to set

Returns
TypeDescription
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment

FlexTemplateRuntimeEnvironment instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment;

Decodes a FlexTemplateRuntimeEnvironment 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.dataflow.v1beta3.FlexTemplateRuntimeEnvironment

FlexTemplateRuntimeEnvironment

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment;

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

Parameter
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

Returns
TypeDescription
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment

FlexTemplateRuntimeEnvironment

encode(message, writer)

public static encode(message: google.dataflow.v1beta3.IFlexTemplateRuntimeEnvironment, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified FlexTemplateRuntimeEnvironment message. Does not implicitly messages.

Parameters
TypeNameDescription
IFlexTemplateRuntimeEnvironmentmessage

FlexTemplateRuntimeEnvironment 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.dataflow.v1beta3.IFlexTemplateRuntimeEnvironment, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
TypeNameDescription
IFlexTemplateRuntimeEnvironmentmessage

FlexTemplateRuntimeEnvironment 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.dataflow.v1beta3.FlexTemplateRuntimeEnvironment;

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

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

Plain object

Returns
TypeDescription
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment

FlexTemplateRuntimeEnvironment

toJSON()

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

Converts this FlexTemplateRuntimeEnvironment to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
TypeNameDescription
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironmentmessage

FlexTemplateRuntimeEnvironment

$protobuf.IConversionOptionsoptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a FlexTemplateRuntimeEnvironment 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