Skip to content

Commit a9e6d79

Browse files
1 parent edd4ce8 commit a9e6d79

5 files changed

+160
-21
lines changed

src/OSConfig/MessageSet.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 MessageSet extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(MessageSet::class, 'Google_Service_OSConfig_MessageSet');

src/OSConfig/Resource/FoldersLocationsOsconfigGlobalPolicyOrchestrators.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ public function listFoldersLocationsOsconfigGlobalPolicyOrchestrators($parent, $
157157
* primitive fields are replaced, * repeated fields are replaced, * map fields
158158
* are merged key by key, * message fields are cleared if not set in the
159159
* request, otherwise they are merged recursively (in particular - message
160-
* fields set to an empty message has no side effects) If field mask is not
161-
* specified, it is automatically inferred from the request using following
162-
* rules: * primitive fields are listed, if set to a non-default value (as there
163-
* is no way to distinguish between default and unset value), * map and repeated
164-
* fields are listed, * `google.protobuf.Any` fields are listed, * other message
165-
* fields are traversed recursively. Note: implicit mask does not allow clearing
166-
* fields.
160+
* fields set to an empty message has no side effects) If field mask (or its
161+
* paths) is not specified, it is automatically inferred from the request using
162+
* following rules: * primitive fields are listed, if set to a non-default value
163+
* (as there is no way to distinguish between default and unset value), * map
164+
* and repeated fields are listed, * `google.protobuf.Any` fields are listed, *
165+
* other message fields are traversed recursively. Note: implicit mask does not
166+
* allow clearing fields.
167167
* @return Operation
168168
* @throws \Google\Service\Exception
169169
*/

src/OSConfig/Resource/OrganizationsLocationsOsconfigGlobalPolicyOrchestrators.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ public function listOrganizationsLocationsOsconfigGlobalPolicyOrchestrators($par
159159
* primitive fields are replaced, * repeated fields are replaced, * map fields
160160
* are merged key by key, * message fields are cleared if not set in the
161161
* request, otherwise they are merged recursively (in particular - message
162-
* fields set to an empty message has no side effects) If field mask is not
163-
* specified, it is automatically inferred from the request using following
164-
* rules: * primitive fields are listed, if set to a non-default value (as there
165-
* is no way to distinguish between default and unset value), * map and repeated
166-
* fields are listed, * `google.protobuf.Any` fields are listed, * other message
167-
* fields are traversed recursively. Note: implicit mask does not allow clearing
168-
* fields.
162+
* fields set to an empty message has no side effects) If field mask (or its
163+
* paths) is not specified, it is automatically inferred from the request using
164+
* following rules: * primitive fields are listed, if set to a non-default value
165+
* (as there is no way to distinguish between default and unset value), * map
166+
* and repeated fields are listed, * `google.protobuf.Any` fields are listed, *
167+
* other message fields are traversed recursively. Note: implicit mask does not
168+
* allow clearing fields.
169169
* @return Operation
170170
* @throws \Google\Service\Exception
171171
*/

src/OSConfig/Resource/ProjectsLocationsOsconfigGlobalPolicyOrchestrators.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ public function listProjectsLocationsOsconfigGlobalPolicyOrchestrators($parent,
157157
* primitive fields are replaced, * repeated fields are replaced, * map fields
158158
* are merged key by key, * message fields are cleared if not set in the
159159
* request, otherwise they are merged recursively (in particular - message
160-
* fields set to an empty message has no side effects) If field mask is not
161-
* specified, it is automatically inferred from the request using following
162-
* rules: * primitive fields are listed, if set to a non-default value (as there
163-
* is no way to distinguish between default and unset value), * map and repeated
164-
* fields are listed, * `google.protobuf.Any` fields are listed, * other message
165-
* fields are traversed recursively. Note: implicit mask does not allow clearing
166-
* fields.
160+
* fields set to an empty message has no side effects) If field mask (or its
161+
* paths) is not specified, it is automatically inferred from the request using
162+
* following rules: * primitive fields are listed, if set to a non-default value
163+
* (as there is no way to distinguish between default and unset value), * map
164+
* and repeated fields are listed, * `google.protobuf.Any` fields are listed, *
165+
* other message fields are traversed recursively. Note: implicit mask does not
166+
* allow clearing fields.
167167
* @return Operation
168168
* @throws \Google\Service\Exception
169169
*/

src/OSConfig/StatusProto.php

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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 StatusProto extends \Google\Model
21+
{
22+
/**
23+
* @var int
24+
*/
25+
public $canonicalCode;
26+
/**
27+
* @var int
28+
*/
29+
public $code;
30+
/**
31+
* @var string
32+
*/
33+
public $message;
34+
protected $messageSetType = MessageSet::class;
35+
protected $messageSetDataType = '';
36+
/**
37+
* @var string
38+
*/
39+
public $space;
40+
41+
/**
42+
* @param int
43+
*/
44+
public function setCanonicalCode($canonicalCode)
45+
{
46+
$this->canonicalCode = $canonicalCode;
47+
}
48+
/**
49+
* @return int
50+
*/
51+
public function getCanonicalCode()
52+
{
53+
return $this->canonicalCode;
54+
}
55+
/**
56+
* @param int
57+
*/
58+
public function setCode($code)
59+
{
60+
$this->code = $code;
61+
}
62+
/**
63+
* @return int
64+
*/
65+
public function getCode()
66+
{
67+
return $this->code;
68+
}
69+
/**
70+
* @param string
71+
*/
72+
public function setMessage($message)
73+
{
74+
$this->message = $message;
75+
}
76+
/**
77+
* @return string
78+
*/
79+
public function getMessage()
80+
{
81+
return $this->message;
82+
}
83+
/**
84+
* @param MessageSet
85+
*/
86+
public function setMessageSet(MessageSet $messageSet)
87+
{
88+
$this->messageSet = $messageSet;
89+
}
90+
/**
91+
* @return MessageSet
92+
*/
93+
public function getMessageSet()
94+
{
95+
return $this->messageSet;
96+
}
97+
/**
98+
* @param string
99+
*/
100+
public function setSpace($space)
101+
{
102+
$this->space = $space;
103+
}
104+
/**
105+
* @return string
106+
*/
107+
public function getSpace()
108+
{
109+
return $this->space;
110+
}
111+
}
112+
113+
// Adding a class alias for backwards compatibility with the previous class name.
114+
class_alias(StatusProto::class, 'Google_Service_OSConfig_StatusProto');

0 commit comments

Comments
 (0)