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 |
|
---|
18 | namespace Google\Service\SecurityCommandCenter;
|
---|
19 |
|
---|
20 | class GoogleCloudSecuritycenterV2Process extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'libraries';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $args;
|
---|
27 | /**
|
---|
28 | * @var bool
|
---|
29 | */
|
---|
30 | public $argumentsTruncated;
|
---|
31 | protected $binaryType = GoogleCloudSecuritycenterV2File::class;
|
---|
32 | protected $binaryDataType = '';
|
---|
33 | protected $envVariablesType = GoogleCloudSecuritycenterV2EnvironmentVariable::class;
|
---|
34 | protected $envVariablesDataType = 'array';
|
---|
35 | /**
|
---|
36 | * @var bool
|
---|
37 | */
|
---|
38 | public $envVariablesTruncated;
|
---|
39 | protected $librariesType = GoogleCloudSecuritycenterV2File::class;
|
---|
40 | protected $librariesDataType = 'array';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $name;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $parentPid;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $pid;
|
---|
53 | protected $scriptType = GoogleCloudSecuritycenterV2File::class;
|
---|
54 | protected $scriptDataType = '';
|
---|
55 |
|
---|
56 | /**
|
---|
57 | * @param string[]
|
---|
58 | */
|
---|
59 | public function setArgs($args)
|
---|
60 | {
|
---|
61 | $this->args = $args;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @return string[]
|
---|
65 | */
|
---|
66 | public function getArgs()
|
---|
67 | {
|
---|
68 | return $this->args;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @param bool
|
---|
72 | */
|
---|
73 | public function setArgumentsTruncated($argumentsTruncated)
|
---|
74 | {
|
---|
75 | $this->argumentsTruncated = $argumentsTruncated;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return bool
|
---|
79 | */
|
---|
80 | public function getArgumentsTruncated()
|
---|
81 | {
|
---|
82 | return $this->argumentsTruncated;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param GoogleCloudSecuritycenterV2File
|
---|
86 | */
|
---|
87 | public function setBinary(GoogleCloudSecuritycenterV2File $binary)
|
---|
88 | {
|
---|
89 | $this->binary = $binary;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return GoogleCloudSecuritycenterV2File
|
---|
93 | */
|
---|
94 | public function getBinary()
|
---|
95 | {
|
---|
96 | return $this->binary;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param GoogleCloudSecuritycenterV2EnvironmentVariable[]
|
---|
100 | */
|
---|
101 | public function setEnvVariables($envVariables)
|
---|
102 | {
|
---|
103 | $this->envVariables = $envVariables;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return GoogleCloudSecuritycenterV2EnvironmentVariable[]
|
---|
107 | */
|
---|
108 | public function getEnvVariables()
|
---|
109 | {
|
---|
110 | return $this->envVariables;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param bool
|
---|
114 | */
|
---|
115 | public function setEnvVariablesTruncated($envVariablesTruncated)
|
---|
116 | {
|
---|
117 | $this->envVariablesTruncated = $envVariablesTruncated;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return bool
|
---|
121 | */
|
---|
122 | public function getEnvVariablesTruncated()
|
---|
123 | {
|
---|
124 | return $this->envVariablesTruncated;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param GoogleCloudSecuritycenterV2File[]
|
---|
128 | */
|
---|
129 | public function setLibraries($libraries)
|
---|
130 | {
|
---|
131 | $this->libraries = $libraries;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return GoogleCloudSecuritycenterV2File[]
|
---|
135 | */
|
---|
136 | public function getLibraries()
|
---|
137 | {
|
---|
138 | return $this->libraries;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setName($name)
|
---|
144 | {
|
---|
145 | $this->name = $name;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getName()
|
---|
151 | {
|
---|
152 | return $this->name;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setParentPid($parentPid)
|
---|
158 | {
|
---|
159 | $this->parentPid = $parentPid;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getParentPid()
|
---|
165 | {
|
---|
166 | return $this->parentPid;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setPid($pid)
|
---|
172 | {
|
---|
173 | $this->pid = $pid;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getPid()
|
---|
179 | {
|
---|
180 | return $this->pid;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param GoogleCloudSecuritycenterV2File
|
---|
184 | */
|
---|
185 | public function setScript(GoogleCloudSecuritycenterV2File $script)
|
---|
186 | {
|
---|
187 | $this->script = $script;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return GoogleCloudSecuritycenterV2File
|
---|
191 | */
|
---|
192 | public function getScript()
|
---|
193 | {
|
---|
194 | return $this->script;
|
---|
195 | }
|
---|
196 | }
|
---|
197 |
|
---|
198 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
199 | class_alias(GoogleCloudSecuritycenterV2Process::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Process');
|
---|