# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment do @moduledoc """ The environment values to set at runtime. ## Attributes - additionalExperiments ([String.t]): Additional experiment flags for the job. Defaults to: `null`. - bypassTempDirValidation (boolean()): Whether to bypass the safety checks for the job's temporary directory. Use with caution. Defaults to: `null`. - machineType (String.t): The machine type to use for the job. Defaults to the value from the template if not specified. Defaults to: `null`. - maxWorkers (integer()): The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. Defaults to: `null`. - network (String.t): Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\". Defaults to: `null`. - serviceAccountEmail (String.t): The email address of the service account to run the job as. Defaults to: `null`. - subnetwork (String.t): Subnetwork to which VMs will be assigned, if desired. Expected to be of the form \"regions/REGION/subnetworks/SUBNETWORK\". Defaults to: `null`. - tempLocation (String.t): The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`. Defaults to: `null`. - zone (String.t): The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. Defaults to: `null`. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :additionalExperiments => list(any()), :bypassTempDirValidation => any(), :machineType => any(), :maxWorkers => any(), :network => any(), :serviceAccountEmail => any(), :subnetwork => any(), :tempLocation => any(), :zone => any() } field(:additionalExperiments, type: :list) field(:bypassTempDirValidation) field(:machineType) field(:maxWorkers) field(:network) field(:serviceAccountEmail) field(:subnetwork) field(:tempLocation) field(:zone) end defimpl Poison.Decoder, for: GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment do def decode(value, options) do GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end