Skip to content

Commit 9f12c22

Browse files
1 parent 7ceaa56 commit 9f12c22

3 files changed

Lines changed: 558 additions & 0 deletions
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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\OSConfig;
19+
20+
class GoogleCloudOsconfigCommonV1OperationMetadata extends \Google\Model
21+
{
22+
/**
23+
* Output only. API version used to start the operation.
24+
*
25+
* @var string
26+
*/
27+
public $apiVersion;
28+
/**
29+
* Output only. The time the operation was created.
30+
*
31+
* @var string
32+
*/
33+
public $createTime;
34+
/**
35+
* Output only. The time the operation finished running.
36+
*
37+
* @var string
38+
*/
39+
public $endTime;
40+
/**
41+
* Output only. Identifies whether the user has requested cancellation of the
42+
* operation. Operations that have successfully been cancelled have
43+
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
44+
* `Code.CANCELLED`.
45+
*
46+
* @var bool
47+
*/
48+
public $requestedCancellation;
49+
/**
50+
* Output only. Human-readable status of the operation, if any.
51+
*
52+
* @var string
53+
*/
54+
public $statusMessage;
55+
/**
56+
* Output only. Server-defined resource path for the target of the operation.
57+
*
58+
* @var string
59+
*/
60+
public $target;
61+
/**
62+
* Output only. Name of the verb executed by the operation.
63+
*
64+
* @var string
65+
*/
66+
public $verb;
67+
68+
/**
69+
* Output only. API version used to start the operation.
70+
*
71+
* @param string $apiVersion
72+
*/
73+
public function setApiVersion($apiVersion)
74+
{
75+
$this->apiVersion = $apiVersion;
76+
}
77+
/**
78+
* @return string
79+
*/
80+
public function getApiVersion()
81+
{
82+
return $this->apiVersion;
83+
}
84+
/**
85+
* Output only. The time the operation was created.
86+
*
87+
* @param string $createTime
88+
*/
89+
public function setCreateTime($createTime)
90+
{
91+
$this->createTime = $createTime;
92+
}
93+
/**
94+
* @return string
95+
*/
96+
public function getCreateTime()
97+
{
98+
return $this->createTime;
99+
}
100+
/**
101+
* Output only. The time the operation finished running.
102+
*
103+
* @param string $endTime
104+
*/
105+
public function setEndTime($endTime)
106+
{
107+
$this->endTime = $endTime;
108+
}
109+
/**
110+
* @return string
111+
*/
112+
public function getEndTime()
113+
{
114+
return $this->endTime;
115+
}
116+
/**
117+
* Output only. Identifies whether the user has requested cancellation of the
118+
* operation. Operations that have successfully been cancelled have
119+
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
120+
* `Code.CANCELLED`.
121+
*
122+
* @param bool $requestedCancellation
123+
*/
124+
public function setRequestedCancellation($requestedCancellation)
125+
{
126+
$this->requestedCancellation = $requestedCancellation;
127+
}
128+
/**
129+
* @return bool
130+
*/
131+
public function getRequestedCancellation()
132+
{
133+
return $this->requestedCancellation;
134+
}
135+
/**
136+
* Output only. Human-readable status of the operation, if any.
137+
*
138+
* @param string $statusMessage
139+
*/
140+
public function setStatusMessage($statusMessage)
141+
{
142+
$this->statusMessage = $statusMessage;
143+
}
144+
/**
145+
* @return string
146+
*/
147+
public function getStatusMessage()
148+
{
149+
return $this->statusMessage;
150+
}
151+
/**
152+
* Output only. Server-defined resource path for the target of the operation.
153+
*
154+
* @param string $target
155+
*/
156+
public function setTarget($target)
157+
{
158+
$this->target = $target;
159+
}
160+
/**
161+
* @return string
162+
*/
163+
public function getTarget()
164+
{
165+
return $this->target;
166+
}
167+
/**
168+
* Output only. Name of the verb executed by the operation.
169+
*
170+
* @param string $verb
171+
*/
172+
public function setVerb($verb)
173+
{
174+
$this->verb = $verb;
175+
}
176+
/**
177+
* @return string
178+
*/
179+
public function getVerb()
180+
{
181+
return $this->verb;
182+
}
183+
}
184+
185+
// Adding a class alias for backwards compatibility with the previous class name.
186+
class_alias(GoogleCloudOsconfigCommonV1OperationMetadata::class, 'Google_Service_OSConfig_GoogleCloudOsconfigCommonV1OperationMetadata');
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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\OSConfig;
19+
20+
class GoogleCloudOsconfigCommonV1alphaOperationMetadata extends \Google\Model
21+
{
22+
/**
23+
* Output only. API version used to start the operation.
24+
*
25+
* @var string
26+
*/
27+
public $apiVersion;
28+
/**
29+
* Output only. The time the operation was created.
30+
*
31+
* @var string
32+
*/
33+
public $createTime;
34+
/**
35+
* Output only. The time the operation finished running.
36+
*
37+
* @var string
38+
*/
39+
public $endTime;
40+
/**
41+
* Output only. Identifies whether the user has requested cancellation of the
42+
* operation. Operations that have successfully been cancelled have
43+
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
44+
* `Code.CANCELLED`.
45+
*
46+
* @var bool
47+
*/
48+
public $requestedCancellation;
49+
/**
50+
* Output only. Human-readable status of the operation, if any.
51+
*
52+
* @var string
53+
*/
54+
public $statusMessage;
55+
/**
56+
* Output only. Server-defined resource path for the target of the operation.
57+
*
58+
* @var string
59+
*/
60+
public $target;
61+
/**
62+
* Output only. Name of the verb executed by the operation.
63+
*
64+
* @var string
65+
*/
66+
public $verb;
67+
68+
/**
69+
* Output only. API version used to start the operation.
70+
*
71+
* @param string $apiVersion
72+
*/
73+
public function setApiVersion($apiVersion)
74+
{
75+
$this->apiVersion = $apiVersion;
76+
}
77+
/**
78+
* @return string
79+
*/
80+
public function getApiVersion()
81+
{
82+
return $this->apiVersion;
83+
}
84+
/**
85+
* Output only. The time the operation was created.
86+
*
87+
* @param string $createTime
88+
*/
89+
public function setCreateTime($createTime)
90+
{
91+
$this->createTime = $createTime;
92+
}
93+
/**
94+
* @return string
95+
*/
96+
public function getCreateTime()
97+
{
98+
return $this->createTime;
99+
}
100+
/**
101+
* Output only. The time the operation finished running.
102+
*
103+
* @param string $endTime
104+
*/
105+
public function setEndTime($endTime)
106+
{
107+
$this->endTime = $endTime;
108+
}
109+
/**
110+
* @return string
111+
*/
112+
public function getEndTime()
113+
{
114+
return $this->endTime;
115+
}
116+
/**
117+
* Output only. Identifies whether the user has requested cancellation of the
118+
* operation. Operations that have successfully been cancelled have
119+
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
120+
* `Code.CANCELLED`.
121+
*
122+
* @param bool $requestedCancellation
123+
*/
124+
public function setRequestedCancellation($requestedCancellation)
125+
{
126+
$this->requestedCancellation = $requestedCancellation;
127+
}
128+
/**
129+
* @return bool
130+
*/
131+
public function getRequestedCancellation()
132+
{
133+
return $this->requestedCancellation;
134+
}
135+
/**
136+
* Output only. Human-readable status of the operation, if any.
137+
*
138+
* @param string $statusMessage
139+
*/
140+
public function setStatusMessage($statusMessage)
141+
{
142+
$this->statusMessage = $statusMessage;
143+
}
144+
/**
145+
* @return string
146+
*/
147+
public function getStatusMessage()
148+
{
149+
return $this->statusMessage;
150+
}
151+
/**
152+
* Output only. Server-defined resource path for the target of the operation.
153+
*
154+
* @param string $target
155+
*/
156+
public function setTarget($target)
157+
{
158+
$this->target = $target;
159+
}
160+
/**
161+
* @return string
162+
*/
163+
public function getTarget()
164+
{
165+
return $this->target;
166+
}
167+
/**
168+
* Output only. Name of the verb executed by the operation.
169+
*
170+
* @param string $verb
171+
*/
172+
public function setVerb($verb)
173+
{
174+
$this->verb = $verb;
175+
}
176+
/**
177+
* @return string
178+
*/
179+
public function getVerb()
180+
{
181+
return $this->verb;
182+
}
183+
}
184+
185+
// Adding a class alias for backwards compatibility with the previous class name.
186+
class_alias(GoogleCloudOsconfigCommonV1alphaOperationMetadata::class, 'Google_Service_OSConfig_GoogleCloudOsconfigCommonV1alphaOperationMetadata');

0 commit comments

Comments
 (0)