Current section

Files

Jump to
google_api_dataflow lib google_api dataflow v1b3 model runtime_environment.ex
Raw

lib/google_api/dataflow/v1b3/model/runtime_environment.ex

# 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
- bypassTempDirValidation (Boolean): Whether to bypass the safety checks for the job's temporary directory. Use with caution. Defaults to: `null`.
- machineType (String): 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`.
- serviceAccountEmail (String): The email address of the service account to run the job as. Defaults to: `null`.
- tempLocation (String): The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`. Defaults to: `null`.
- zone (String): 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`.
"""
defstruct [
:"bypassTempDirValidation",
:"machineType",
:"maxWorkers",
:"serviceAccountEmail",
:"tempLocation",
:"zone"
]
end
defimpl Poison.Decoder, for: GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment do
def decode(value, _options) do
value
end
end
defimpl Poison.Encoder, for: GoogleApi.Dataflow.V1b3.Model.RuntimeEnvironment do
def encode(value, options) do
GoogleApi.Dataflow.V1b3.Deserializer.serialize_non_nil(value, options)
end
end