Represents a FlexTemplateRuntimeEnvironment.
Package
@google-cloud/dataflow!Constructors
(constructor)(properties)
constructor(properties?: google.dataflow.v1beta3.IFlexTemplateRuntimeEnvironment);
Constructs a new FlexTemplateRuntimeEnvironment.
Type | Name | Description |
---|---|---|
IFlexTemplateRuntimeEnvironment | properties |
Properties to set |
Properties
additionalExperiments
public additionalExperiments: string[];
FlexTemplateRuntimeEnvironment additionalExperiments.
Type | Description |
---|---|
string[] |
additionalUserLabels
public additionalUserLabels: { [k: string]: string };
FlexTemplateRuntimeEnvironment additionalUserLabels.
Type | Description |
---|---|
{ [k: string]: string } |
enableStreamingEngine
public enableStreamingEngine: boolean;
FlexTemplateRuntimeEnvironment enableStreamingEngine.
Type | Description |
---|---|
boolean |
flexrsGoal
public flexrsGoal: (google.dataflow.v1beta3.FlexResourceSchedulingGoal|keyof typeof google.dataflow.v1beta3.FlexResourceSchedulingGoal);
FlexTemplateRuntimeEnvironment flexrsGoal.
Type | Description |
---|---|
(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.
Type | Description |
---|---|
(google.dataflow.v1beta3.WorkerIPAddressConfiguration|keyof typeof google.dataflow.v1beta3.WorkerIPAddressConfiguration) |
kmsKeyName
public kmsKeyName: string;
FlexTemplateRuntimeEnvironment kmsKeyName.
Type | Description |
---|---|
string |
machineType
public machineType: string;
FlexTemplateRuntimeEnvironment machineType.
Type | Description |
---|---|
string |
maxWorkers
public maxWorkers: number;
FlexTemplateRuntimeEnvironment maxWorkers.
Type | Description |
---|---|
number |
network
public network: string;
FlexTemplateRuntimeEnvironment network.
Type | Description |
---|---|
string |
numWorkers
public numWorkers: number;
FlexTemplateRuntimeEnvironment numWorkers.
Type | Description |
---|---|
number |
sdkContainerImage
public sdkContainerImage: string;
FlexTemplateRuntimeEnvironment sdkContainerImage.
Type | Description |
---|---|
string |
serviceAccountEmail
public serviceAccountEmail: string;
FlexTemplateRuntimeEnvironment serviceAccountEmail.
Type | Description |
---|---|
string |
stagingLocation
public stagingLocation: string;
FlexTemplateRuntimeEnvironment stagingLocation.
Type | Description |
---|---|
string |
subnetwork
public subnetwork: string;
FlexTemplateRuntimeEnvironment subnetwork.
Type | Description |
---|---|
string |
tempLocation
public tempLocation: string;
FlexTemplateRuntimeEnvironment tempLocation.
Type | Description |
---|---|
string |
workerRegion
public workerRegion: string;
FlexTemplateRuntimeEnvironment workerRegion.
Type | Description |
---|---|
string |
workerZone
public workerZone: string;
FlexTemplateRuntimeEnvironment workerZone.
Type | Description |
---|---|
string |
zone
public zone: string;
FlexTemplateRuntimeEnvironment zone.
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IFlexTemplateRuntimeEnvironment | properties |
Properties to set |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
($protobuf.Reader|Uint8Array) | reader |
Reader or buffer to decode from |
number | length |
Message length if known beforehand |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
($protobuf.Reader|Uint8Array) | reader |
Reader or buffer to decode from |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IFlexTemplateRuntimeEnvironment | message |
FlexTemplateRuntimeEnvironment message or plain object to encode |
$protobuf.Writer | writer |
Writer to encode to |
Type | Description |
---|---|
$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.
Type | Name | Description |
---|---|---|
IFlexTemplateRuntimeEnvironment | message |
FlexTemplateRuntimeEnvironment message or plain object to encode |
$protobuf.Writer | writer |
Writer to encode to |
Type | Description |
---|---|
$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.
Type | Name | Description |
---|---|---|
{ [k: string]: any } | object |
Plain object |
Type | Description |
---|---|
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment | FlexTemplateRuntimeEnvironment |
toJSON()
public toJSON(): { [k: string]: any };
Converts this FlexTemplateRuntimeEnvironment to JSON.
Type | Description |
---|---|
{ [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.
Type | Name | Description |
---|---|---|
google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment | message |
FlexTemplateRuntimeEnvironment |
$protobuf.IConversionOptions | options |
Conversion options |
Type | Description |
---|---|
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a FlexTemplateRuntimeEnvironment message.
Type | Name | Description |
---|---|---|
{ [k: string]: any } | message |
Plain object to verify |
Type | Description |
---|---|
(string|null) |
|