Skip to content

Commit 1267596

Browse files
1 parent edb258c commit 1267596

18 files changed

Lines changed: 1883 additions & 1 deletion

src/ChromeManagement.php

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class ChromeManagement extends \Google\Service
5858
public $customers_apps_web;
5959
public $customers_certificateProvisioningProcesses;
6060
public $customers_certificateProvisioningProcesses_operations;
61+
public $customers_connectorConfigs;
6162
public $customers_profiles;
6263
public $customers_profiles_commands;
6364
public $customers_reports;
@@ -314,6 +315,72 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
314315
]
315316
]
316317
);
318+
$this->customers_connectorConfigs = new ChromeManagement\Resource\CustomersConnectorConfigs(
319+
$this,
320+
$this->serviceName,
321+
'connectorConfigs',
322+
[
323+
'methods' => [
324+
'create' => [
325+
'path' => 'v1/{+parent}/connectorConfigs',
326+
'httpMethod' => 'POST',
327+
'parameters' => [
328+
'parent' => [
329+
'location' => 'path',
330+
'type' => 'string',
331+
'required' => true,
332+
],
333+
'connectorConfigId' => [
334+
'location' => 'query',
335+
'type' => 'string',
336+
],
337+
],
338+
],'delete' => [
339+
'path' => 'v1/{+name}',
340+
'httpMethod' => 'DELETE',
341+
'parameters' => [
342+
'name' => [
343+
'location' => 'path',
344+
'type' => 'string',
345+
'required' => true,
346+
],
347+
'etag' => [
348+
'location' => 'query',
349+
'type' => 'string',
350+
],
351+
],
352+
],'get' => [
353+
'path' => 'v1/{+name}',
354+
'httpMethod' => 'GET',
355+
'parameters' => [
356+
'name' => [
357+
'location' => 'path',
358+
'type' => 'string',
359+
'required' => true,
360+
],
361+
],
362+
],'list' => [
363+
'path' => 'v1/{+parent}/connectorConfigs',
364+
'httpMethod' => 'GET',
365+
'parameters' => [
366+
'parent' => [
367+
'location' => 'path',
368+
'type' => 'string',
369+
'required' => true,
370+
],
371+
'pageSize' => [
372+
'location' => 'query',
373+
'type' => 'integer',
374+
],
375+
'pageToken' => [
376+
'location' => 'query',
377+
'type' => 'string',
378+
],
379+
],
380+
],
381+
]
382+
]
383+
);
317384
$this->customers_profiles = new ChromeManagement\Resource\CustomersProfiles(
318385
$this,
319386
$this->serviceName,

src/ChromeManagement/GoogleChromeManagementV1AppDetails.php

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
namespace Google\Service\ChromeManagement;
1919

20-
class GoogleChromeManagementV1AppDetails extends \Google\Model
20+
class GoogleChromeManagementV1AppDetails extends \Google\Collection
2121
{
2222
/**
2323
* App type unspecified.
@@ -35,6 +35,7 @@ class GoogleChromeManagementV1AppDetails extends \Google\Model
3535
* Web app.
3636
*/
3737
public const TYPE_WEB = 'WEB';
38+
protected $collection_key = 'categoryIds';
3839
protected $androidAppInfoType = GoogleChromeManagementV1AndroidAppInfo::class;
3940
protected $androidAppInfoDataType = '';
4041
/**
@@ -45,6 +46,13 @@ class GoogleChromeManagementV1AppDetails extends \Google\Model
4546
* @var string
4647
*/
4748
public $appId;
49+
/**
50+
* Output only. The category IDs of the app, which are the same as stored in
51+
* the Web Store item. It's expected that there is only one category ID.
52+
*
53+
* @var string[]
54+
*/
55+
public $categoryIds;
4856
protected $chromeAppInfoType = GoogleChromeManagementV1ChromeAppInfo::class;
4957
protected $chromeAppInfoDataType = '';
5058
/**
@@ -181,6 +189,23 @@ public function getAppId()
181189
{
182190
return $this->appId;
183191
}
192+
/**
193+
* Output only. The category IDs of the app, which are the same as stored in
194+
* the Web Store item. It's expected that there is only one category ID.
195+
*
196+
* @param string[] $categoryIds
197+
*/
198+
public function setCategoryIds($categoryIds)
199+
{
200+
$this->categoryIds = $categoryIds;
201+
}
202+
/**
203+
* @return string[]
204+
*/
205+
public function getCategoryIds()
206+
{
207+
return $this->categoryIds;
208+
}
184209
/**
185210
* Output only. Chrome Web Store app information.
186211
*
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
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\ChromeManagement;
19+
20+
class GoogleChromeManagementVersionsV1ConnectorConfig extends \Google\Model
21+
{
22+
/**
23+
* Default value. This value is unused.
24+
*/
25+
public const TYPE_CONNECTOR_TYPE_UNSPECIFIED = 'CONNECTOR_TYPE_UNSPECIFIED';
26+
/**
27+
* Reporting connector.
28+
*/
29+
public const TYPE_REPORTING = 'REPORTING';
30+
/**
31+
* Device trust connector.
32+
*/
33+
public const TYPE_DEVICE_TRUST = 'DEVICE_TRUST';
34+
/**
35+
* XDR connector.
36+
*/
37+
public const TYPE_XDR = 'XDR';
38+
/**
39+
* Authentication connector.
40+
*/
41+
public const TYPE_IDENTITY_BASED_ENROLLMENT = 'IDENTITY_BASED_ENROLLMENT';
42+
/**
43+
* Certificate authority connector. Not yet supported in the API.
44+
*/
45+
public const TYPE_CERTIFICATE_AUTHORITY = 'CERTIFICATE_AUTHORITY';
46+
/**
47+
* Root certificate connector.
48+
*/
49+
public const TYPE_ROOT_STORE = 'ROOT_STORE';
50+
protected $detailsType = GoogleChromeManagementVersionsV1ConnectorConfigDetails::class;
51+
protected $detailsDataType = '';
52+
/**
53+
* Required. The display name of the config.
54+
*
55+
* @var string
56+
*/
57+
public $displayName;
58+
/**
59+
* Optional. This checksum is computed by the server based on the value of
60+
* other fields, and may be sent on update and delete requests to ensure the
61+
* client has an up-to-date value before proceeding.
62+
*
63+
* @var string
64+
*/
65+
public $etag;
66+
/**
67+
* Identifier. Format:
68+
* customers/{customer}/connectorConfigs/{connector_config}
69+
*
70+
* @var string
71+
*/
72+
public $name;
73+
protected $statusType = GoogleChromeManagementVersionsV1ConnectorConfigStatus::class;
74+
protected $statusDataType = '';
75+
/**
76+
* Required. The type of the connector.
77+
*
78+
* @var string
79+
*/
80+
public $type;
81+
82+
/**
83+
* Required. The details of the connector config.
84+
*
85+
* @param GoogleChromeManagementVersionsV1ConnectorConfigDetails $details
86+
*/
87+
public function setDetails(GoogleChromeManagementVersionsV1ConnectorConfigDetails $details)
88+
{
89+
$this->details = $details;
90+
}
91+
/**
92+
* @return GoogleChromeManagementVersionsV1ConnectorConfigDetails
93+
*/
94+
public function getDetails()
95+
{
96+
return $this->details;
97+
}
98+
/**
99+
* Required. The display name of the config.
100+
*
101+
* @param string $displayName
102+
*/
103+
public function setDisplayName($displayName)
104+
{
105+
$this->displayName = $displayName;
106+
}
107+
/**
108+
* @return string
109+
*/
110+
public function getDisplayName()
111+
{
112+
return $this->displayName;
113+
}
114+
/**
115+
* Optional. This checksum is computed by the server based on the value of
116+
* other fields, and may be sent on update and delete requests to ensure the
117+
* client has an up-to-date value before proceeding.
118+
*
119+
* @param string $etag
120+
*/
121+
public function setEtag($etag)
122+
{
123+
$this->etag = $etag;
124+
}
125+
/**
126+
* @return string
127+
*/
128+
public function getEtag()
129+
{
130+
return $this->etag;
131+
}
132+
/**
133+
* Identifier. Format:
134+
* customers/{customer}/connectorConfigs/{connector_config}
135+
*
136+
* @param string $name
137+
*/
138+
public function setName($name)
139+
{
140+
$this->name = $name;
141+
}
142+
/**
143+
* @return string
144+
*/
145+
public function getName()
146+
{
147+
return $this->name;
148+
}
149+
/**
150+
* Output only. The status of the connector config.
151+
*
152+
* @param GoogleChromeManagementVersionsV1ConnectorConfigStatus $status
153+
*/
154+
public function setStatus(GoogleChromeManagementVersionsV1ConnectorConfigStatus $status)
155+
{
156+
$this->status = $status;
157+
}
158+
/**
159+
* @return GoogleChromeManagementVersionsV1ConnectorConfigStatus
160+
*/
161+
public function getStatus()
162+
{
163+
return $this->status;
164+
}
165+
/**
166+
* Required. The type of the connector.
167+
*
168+
* Accepted values: CONNECTOR_TYPE_UNSPECIFIED, REPORTING, DEVICE_TRUST, XDR,
169+
* IDENTITY_BASED_ENROLLMENT, CERTIFICATE_AUTHORITY, ROOT_STORE
170+
*
171+
* @param self::TYPE_* $type
172+
*/
173+
public function setType($type)
174+
{
175+
$this->type = $type;
176+
}
177+
/**
178+
* @return self::TYPE_*
179+
*/
180+
public function getType()
181+
{
182+
return $this->type;
183+
}
184+
}
185+
186+
// Adding a class alias for backwards compatibility with the previous class name.
187+
class_alias(GoogleChromeManagementVersionsV1ConnectorConfig::class, 'Google_Service_ChromeManagement_GoogleChromeManagementVersionsV1ConnectorConfig');

0 commit comments

Comments
 (0)