1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dataflow;
19
20class LaunchFlexTemplateParameter extends \Google\Model
21{
22  protected $containerSpecType = ContainerSpec::class;
23  protected $containerSpecDataType = '';
24  /**
25   * @var string
26   */
27  public $containerSpecGcsPath;
28  protected $environmentType = FlexTemplateRuntimeEnvironment::class;
29  protected $environmentDataType = '';
30  /**
31   * @var string
32   */
33  public $jobName;
34  /**
35   * @var string[]
36   */
37  public $launchOptions;
38  /**
39   * @var string[]
40   */
41  public $parameters;
42  /**
43   * @var string[]
44   */
45  public $transformNameMappings;
46  /**
47   * @var bool
48   */
49  public $update;
50
51  /**
52   * @param ContainerSpec
53   */
54  public function setContainerSpec(ContainerSpec $containerSpec)
55  {
56    $this->containerSpec = $containerSpec;
57  }
58  /**
59   * @return ContainerSpec
60   */
61  public function getContainerSpec()
62  {
63    return $this->containerSpec;
64  }
65  /**
66   * @param string
67   */
68  public function setContainerSpecGcsPath($containerSpecGcsPath)
69  {
70    $this->containerSpecGcsPath = $containerSpecGcsPath;
71  }
72  /**
73   * @return string
74   */
75  public function getContainerSpecGcsPath()
76  {
77    return $this->containerSpecGcsPath;
78  }
79  /**
80   * @param FlexTemplateRuntimeEnvironment
81   */
82  public function setEnvironment(FlexTemplateRuntimeEnvironment $environment)
83  {
84    $this->environment = $environment;
85  }
86  /**
87   * @return FlexTemplateRuntimeEnvironment
88   */
89  public function getEnvironment()
90  {
91    return $this->environment;
92  }
93  /**
94   * @param string
95   */
96  public function setJobName($jobName)
97  {
98    $this->jobName = $jobName;
99  }
100  /**
101   * @return string
102   */
103  public function getJobName()
104  {
105    return $this->jobName;
106  }
107  /**
108   * @param string[]
109   */
110  public function setLaunchOptions($launchOptions)
111  {
112    $this->launchOptions = $launchOptions;
113  }
114  /**
115   * @return string[]
116   */
117  public function getLaunchOptions()
118  {
119    return $this->launchOptions;
120  }
121  /**
122   * @param string[]
123   */
124  public function setParameters($parameters)
125  {
126    $this->parameters = $parameters;
127  }
128  /**
129   * @return string[]
130   */
131  public function getParameters()
132  {
133    return $this->parameters;
134  }
135  /**
136   * @param string[]
137   */
138  public function setTransformNameMappings($transformNameMappings)
139  {
140    $this->transformNameMappings = $transformNameMappings;
141  }
142  /**
143   * @return string[]
144   */
145  public function getTransformNameMappings()
146  {
147    return $this->transformNameMappings;
148  }
149  /**
150   * @param bool
151   */
152  public function setUpdate($update)
153  {
154    $this->update = $update;
155  }
156  /**
157   * @return bool
158   */
159  public function getUpdate()
160  {
161    return $this->update;
162  }
163}
164
165// Adding a class alias for backwards compatibility with the previous class name.
166class_alias(LaunchFlexTemplateParameter::class, 'Google_Service_Dataflow_LaunchFlexTemplateParameter');
167