Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle extends \Google\Collection
{
protected $collection_key = 'deprecatedInFavorOf';
/**
* @var string[]
*/
public $deprecatedInFavorOf;
/**
* @var string
*/
public $description;
protected $endSupportType = GoogleTypeDate::class;
protected $endSupportDataType = '';
/**
* @var string
*/
public $policyApiLifecycleStage;
/**
* @param string[]
*/
public function setDeprecatedInFavorOf($deprecatedInFavorOf)
{
$this->deprecatedInFavorOf = $deprecatedInFavorOf;
}
/**
* @return string[]
*/
public function getDeprecatedInFavorOf()
{
return $this->deprecatedInFavorOf;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param GoogleTypeDate
*/
public function setEndSupport(GoogleTypeDate $endSupport)
{
$this->endSupport = $endSupport;
}
/**
* @return GoogleTypeDate
*/
public function getEndSupport()
{
return $this->endSupport;
}
/**
* @param string
*/
public function setPolicyApiLifecycleStage($policyApiLifecycleStage)
{
$this->policyApiLifecycleStage = $policyApiLifecycleStage;
}
/**
* @return string
*/
public function getPolicyApiLifecycleStage()
{
return $this->policyApiLifecycleStage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class, 'Google_Service_ChromePolicy_ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1AdditionalTargetKeyName extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $keyDescription;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setKeyDescription($keyDescription)
{
$this->keyDescription = $keyDescription;
}
/**
* @return string
*/
public function getKeyDescription()
{
return $this->keyDescription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1AdditionalTargetKeyName::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1AdditionalTargetKeyName');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyV1DeleteGroupPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyV1DeleteGroupPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyV1DeleteGroupPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyV1InheritOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyV1InheritOrgUnitPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyV1InheritOrgUnitPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyV1ModifyGroupPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyV1ModifyGroupPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyV1ModifyGroupPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1BatchModifyGroupPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1BatchModifyGroupPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyV1ModifyOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyV1ModifyOrgUnitPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyV1ModifyOrgUnitPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1DefineCertificateRequest extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $ceritificateName;
/**
* @var string
*/
public $certificate;
protected $settingsType = GoogleChromePolicyV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setCeritificateName($ceritificateName)
{
$this->ceritificateName = $ceritificateName;
}
/**
* @return string
*/
public function getCeritificateName()
{
return $this->ceritificateName;
}
/**
* @param string
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* @param GoogleChromePolicyV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1DefineCertificateRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1DefineCertificateRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1DefineCertificateResponse extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param GoogleChromePolicyV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1DefineCertificateResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1DefineCertificateResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1DefineNetworkRequest extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $name;
protected $settingsType = GoogleChromePolicyV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1DefineNetworkRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1DefineNetworkRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1DefineNetworkResponse extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param GoogleChromePolicyV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1DefineNetworkResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1DefineNetworkResponse');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1DeleteGroupPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1DeleteGroupPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1DeleteGroupPolicyRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1InheritOrgUnitPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1InheritOrgUnitPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1InheritOrgUnitPolicyRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ListGroupPriorityOrderingRequest extends \Google\Model
{
/**
* @var string
*/
public $policyNamespace;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ListGroupPriorityOrderingRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ListGroupPriorityOrderingRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ListGroupPriorityOrderingResponse extends \Google\Collection
{
protected $collection_key = 'groupIds';
/**
* @var string[]
*/
public $groupIds;
/**
* @var string
*/
public $policyNamespace;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string[]
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ListGroupPriorityOrderingResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ListGroupPriorityOrderingResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ListPolicySchemasResponse extends \Google\Collection
{
protected $collection_key = 'policySchemas';
/**
* @var string
*/
public $nextPageToken;
protected $policySchemasType = GoogleChromePolicyV1PolicySchema::class;
protected $policySchemasDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChromePolicyV1PolicySchema[]
*/
public function setPolicySchemas($policySchemas)
{
$this->policySchemas = $policySchemas;
}
/**
* @return GoogleChromePolicyV1PolicySchema[]
*/
public function getPolicySchemas()
{
return $this->policySchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ListPolicySchemasResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ListPolicySchemasResponse');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ModifyGroupPolicyRequest extends \Google\Model
{
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
protected $policyValueType = GoogleChromePolicyV1PolicyValue::class;
protected $policyValueDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* @param GoogleChromePolicyV1PolicyValue
*/
public function setPolicyValue(GoogleChromePolicyV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ModifyGroupPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ModifyGroupPolicyRequest');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest extends \Google\Model
{
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
protected $policyValueType = GoogleChromePolicyV1PolicyValue::class;
protected $policyValueDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* @param GoogleChromePolicyV1PolicyValue
*/
public function setPolicyValue(GoogleChromePolicyV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ModifyOrgUnitPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ModifyOrgUnitPolicyRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1NetworkSetting extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1NetworkSetting::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1NetworkSetting');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicyModificationFieldError extends \Google\Model
{
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $field;
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicyModificationFieldError::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicyModificationFieldError');

View File

@@ -0,0 +1,249 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchema extends \Google\Collection
{
protected $collection_key = 'validTargetResources';
/**
* @var string[]
*/
public $accessRestrictions;
protected $additionalTargetKeyNamesType = GoogleChromePolicyV1AdditionalTargetKeyName::class;
protected $additionalTargetKeyNamesDataType = 'array';
/**
* @var string
*/
public $categoryTitle;
protected $definitionType = Proto2FileDescriptorProto::class;
protected $definitionDataType = '';
protected $fieldDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldDescription::class;
protected $fieldDescriptionsDataType = 'array';
/**
* @var string
*/
public $name;
protected $noticesType = GoogleChromePolicyV1PolicySchemaNoticeDescription::class;
protected $noticesDataType = 'array';
protected $policyApiLifecycleType = ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class;
protected $policyApiLifecycleDataType = '';
protected $policyApiLifeycleType = ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class;
protected $policyApiLifeycleDataType = '';
/**
* @var string
*/
public $policyDescription;
/**
* @var string
*/
public $schemaName;
/**
* @var string
*/
public $supportUri;
/**
* @var string[]
*/
public $validTargetResources;
/**
* @param string[]
*/
public function setAccessRestrictions($accessRestrictions)
{
$this->accessRestrictions = $accessRestrictions;
}
/**
* @return string[]
*/
public function getAccessRestrictions()
{
return $this->accessRestrictions;
}
/**
* @param GoogleChromePolicyV1AdditionalTargetKeyName[]
*/
public function setAdditionalTargetKeyNames($additionalTargetKeyNames)
{
$this->additionalTargetKeyNames = $additionalTargetKeyNames;
}
/**
* @return GoogleChromePolicyV1AdditionalTargetKeyName[]
*/
public function getAdditionalTargetKeyNames()
{
return $this->additionalTargetKeyNames;
}
/**
* @param string
*/
public function setCategoryTitle($categoryTitle)
{
$this->categoryTitle = $categoryTitle;
}
/**
* @return string
*/
public function getCategoryTitle()
{
return $this->categoryTitle;
}
/**
* @param Proto2FileDescriptorProto
*/
public function setDefinition(Proto2FileDescriptorProto $definition)
{
$this->definition = $definition;
}
/**
* @return Proto2FileDescriptorProto
*/
public function getDefinition()
{
return $this->definition;
}
/**
* @param GoogleChromePolicyV1PolicySchemaFieldDescription[]
*/
public function setFieldDescriptions($fieldDescriptions)
{
$this->fieldDescriptions = $fieldDescriptions;
}
/**
* @return GoogleChromePolicyV1PolicySchemaFieldDescription[]
*/
public function getFieldDescriptions()
{
return $this->fieldDescriptions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyV1PolicySchemaNoticeDescription[]
*/
public function setNotices($notices)
{
$this->notices = $notices;
}
/**
* @return GoogleChromePolicyV1PolicySchemaNoticeDescription[]
*/
public function getNotices()
{
return $this->notices;
}
/**
* @param ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
*/
public function setPolicyApiLifecycle(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle $policyApiLifecycle)
{
$this->policyApiLifecycle = $policyApiLifecycle;
}
/**
* @return ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
*/
public function getPolicyApiLifecycle()
{
return $this->policyApiLifecycle;
}
/**
* @param ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
*/
public function setPolicyApiLifeycle(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle $policyApiLifeycle)
{
$this->policyApiLifeycle = $policyApiLifeycle;
}
/**
* @return ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
*/
public function getPolicyApiLifeycle()
{
return $this->policyApiLifeycle;
}
/**
* @param string
*/
public function setPolicyDescription($policyDescription)
{
$this->policyDescription = $policyDescription;
}
/**
* @return string
*/
public function getPolicyDescription()
{
return $this->policyDescription;
}
/**
* @param string
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
/**
* @param string
*/
public function setSupportUri($supportUri)
{
$this->supportUri = $supportUri;
}
/**
* @return string
*/
public function getSupportUri()
{
return $this->supportUri;
}
/**
* @param string[]
*/
public function setValidTargetResources($validTargetResources)
{
$this->validTargetResources = $validTargetResources;
}
/**
* @return string[]
*/
public function getValidTargetResources()
{
return $this->validTargetResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchema::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchema');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchemaFieldDependencies extends \Google\Model
{
/**
* @var string
*/
public $sourceField;
/**
* @var string
*/
public $sourceFieldValue;
/**
* @param string
*/
public function setSourceField($sourceField)
{
$this->sourceField = $sourceField;
}
/**
* @return string
*/
public function getSourceField()
{
return $this->sourceField;
}
/**
* @param string
*/
public function setSourceFieldValue($sourceFieldValue)
{
$this->sourceFieldValue = $sourceFieldValue;
}
/**
* @return string
*/
public function getSourceFieldValue()
{
return $this->sourceFieldValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchemaFieldDependencies::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaFieldDependencies');

View File

@@ -0,0 +1,181 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchemaFieldDescription extends \Google\Collection
{
protected $collection_key = 'requiredItems';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $field;
protected $fieldDependenciesType = GoogleChromePolicyV1PolicySchemaFieldDependencies::class;
protected $fieldDependenciesDataType = 'array';
/**
* @var string
*/
public $fieldDescription;
/**
* @var string
*/
public $inputConstraint;
protected $knownValueDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::class;
protected $knownValueDescriptionsDataType = 'array';
/**
* @var string
*/
public $name;
protected $nestedFieldDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldDescription::class;
protected $nestedFieldDescriptionsDataType = 'array';
protected $requiredItemsType = GoogleChromePolicyV1PolicySchemaRequiredItems::class;
protected $requiredItemsDataType = 'array';
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param GoogleChromePolicyV1PolicySchemaFieldDependencies[]
*/
public function setFieldDependencies($fieldDependencies)
{
$this->fieldDependencies = $fieldDependencies;
}
/**
* @return GoogleChromePolicyV1PolicySchemaFieldDependencies[]
*/
public function getFieldDependencies()
{
return $this->fieldDependencies;
}
/**
* @param string
*/
public function setFieldDescription($fieldDescription)
{
$this->fieldDescription = $fieldDescription;
}
/**
* @return string
*/
public function getFieldDescription()
{
return $this->fieldDescription;
}
/**
* @param string
*/
public function setInputConstraint($inputConstraint)
{
$this->inputConstraint = $inputConstraint;
}
/**
* @return string
*/
public function getInputConstraint()
{
return $this->inputConstraint;
}
/**
* @param GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription[]
*/
public function setKnownValueDescriptions($knownValueDescriptions)
{
$this->knownValueDescriptions = $knownValueDescriptions;
}
/**
* @return GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription[]
*/
public function getKnownValueDescriptions()
{
return $this->knownValueDescriptions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyV1PolicySchemaFieldDescription[]
*/
public function setNestedFieldDescriptions($nestedFieldDescriptions)
{
$this->nestedFieldDescriptions = $nestedFieldDescriptions;
}
/**
* @return GoogleChromePolicyV1PolicySchemaFieldDescription[]
*/
public function getNestedFieldDescriptions()
{
return $this->nestedFieldDescriptions;
}
/**
* @param GoogleChromePolicyV1PolicySchemaRequiredItems[]
*/
public function setRequiredItems($requiredItems)
{
$this->requiredItems = $requiredItems;
}
/**
* @return GoogleChromePolicyV1PolicySchemaRequiredItems[]
*/
public function getRequiredItems()
{
return $this->requiredItems;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchemaFieldDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaFieldDescription');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchemaNoticeDescription extends \Google\Model
{
/**
* @var bool
*/
public $acknowledgementRequired;
/**
* @var string
*/
public $field;
/**
* @var string
*/
public $noticeMessage;
/**
* @var string
*/
public $noticeValue;
/**
* @param bool
*/
public function setAcknowledgementRequired($acknowledgementRequired)
{
$this->acknowledgementRequired = $acknowledgementRequired;
}
/**
* @return bool
*/
public function getAcknowledgementRequired()
{
return $this->acknowledgementRequired;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param string
*/
public function setNoticeMessage($noticeMessage)
{
$this->noticeMessage = $noticeMessage;
}
/**
* @return string
*/
public function getNoticeMessage()
{
return $this->noticeMessage;
}
/**
* @param string
*/
public function setNoticeValue($noticeValue)
{
$this->noticeValue = $noticeValue;
}
/**
* @return string
*/
public function getNoticeValue()
{
return $this->noticeValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchemaNoticeDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaNoticeDescription');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicySchemaRequiredItems extends \Google\Collection
{
protected $collection_key = 'requiredFields';
/**
* @var string[]
*/
public $fieldConditions;
/**
* @var string[]
*/
public $requiredFields;
/**
* @param string[]
*/
public function setFieldConditions($fieldConditions)
{
$this->fieldConditions = $fieldConditions;
}
/**
* @return string[]
*/
public function getFieldConditions()
{
return $this->fieldConditions;
}
/**
* @param string[]
*/
public function setRequiredFields($requiredFields)
{
$this->requiredFields = $requiredFields;
}
/**
* @return string[]
*/
public function getRequiredFields()
{
return $this->requiredFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicySchemaRequiredItems::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaRequiredItems');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicyTargetKey extends \Google\Model
{
/**
* @var string[]
*/
public $additionalTargetKeys;
/**
* @var string
*/
public $targetResource;
/**
* @param string[]
*/
public function setAdditionalTargetKeys($additionalTargetKeys)
{
$this->additionalTargetKeys = $additionalTargetKeys;
}
/**
* @return string[]
*/
public function getAdditionalTargetKeys()
{
return $this->additionalTargetKeys;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicyTargetKey::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicyTargetKey');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1PolicyValue extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1PolicyValue::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicyValue');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1RemoveCertificateRequest extends \Google\Model
{
/**
* @var string
*/
public $networkId;
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1RemoveCertificateRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1RemoveCertificateRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1RemoveCertificateResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1RemoveCertificateResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1RemoveCertificateResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1RemoveNetworkRequest extends \Google\Model
{
/**
* @var string
*/
public $networkId;
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1RemoveNetworkRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1RemoveNetworkRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1RemoveNetworkResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1RemoveNetworkResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1RemoveNetworkResponse');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ResolveRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $policySchemaFilter;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setPolicySchemaFilter($policySchemaFilter)
{
$this->policySchemaFilter = $policySchemaFilter;
}
/**
* @return string
*/
public function getPolicySchemaFilter()
{
return $this->policySchemaFilter;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ResolveRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ResolveRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ResolveResponse extends \Google\Collection
{
protected $collection_key = 'resolvedPolicies';
/**
* @var string
*/
public $nextPageToken;
protected $resolvedPoliciesType = GoogleChromePolicyV1ResolvedPolicy::class;
protected $resolvedPoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChromePolicyV1ResolvedPolicy[]
*/
public function setResolvedPolicies($resolvedPolicies)
{
$this->resolvedPolicies = $resolvedPolicies;
}
/**
* @return GoogleChromePolicyV1ResolvedPolicy[]
*/
public function getResolvedPolicies()
{
return $this->resolvedPolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ResolveResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ResolveResponse');

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1ResolvedPolicy extends \Google\Model
{
protected $addedSourceKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $addedSourceKeyDataType = '';
protected $sourceKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $sourceKeyDataType = '';
protected $targetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $targetKeyDataType = '';
protected $valueType = GoogleChromePolicyV1PolicyValue::class;
protected $valueDataType = '';
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setAddedSourceKey(GoogleChromePolicyV1PolicyTargetKey $addedSourceKey)
{
$this->addedSourceKey = $addedSourceKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getAddedSourceKey()
{
return $this->addedSourceKey;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setSourceKey(GoogleChromePolicyV1PolicyTargetKey $sourceKey)
{
$this->sourceKey = $sourceKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getSourceKey()
{
return $this->sourceKey;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setTargetKey(GoogleChromePolicyV1PolicyTargetKey $targetKey)
{
$this->targetKey = $targetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getTargetKey()
{
return $this->targetKey;
}
/**
* @param GoogleChromePolicyV1PolicyValue
*/
public function setValue(GoogleChromePolicyV1PolicyValue $value)
{
$this->value = $value;
}
/**
* @return GoogleChromePolicyV1PolicyValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1ResolvedPolicy::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1ResolvedPolicy');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest extends \Google\Collection
{
protected $collection_key = 'groupIds';
/**
* @var string[]
*/
public $groupIds;
/**
* @var string
*/
public $policyNamespace;
protected $policyTargetKeyType = GoogleChromePolicyV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string[]
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param GoogleChromePolicyV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1UploadPolicyFileRequest extends \Google\Model
{
/**
* @var string
*/
public $policyField;
/**
* @param string
*/
public function setPolicyField($policyField)
{
$this->policyField = $policyField;
}
/**
* @return string
*/
public function getPolicyField()
{
return $this->policyField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1UploadPolicyFileRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1UploadPolicyFileRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyV1UploadPolicyFileResponse extends \Google\Model
{
/**
* @var string
*/
public $downloadUri;
/**
* @param string
*/
public function setDownloadUri($downloadUri)
{
$this->downloadUri = $downloadUri;
}
/**
* @return string
*/
public function getDownloadUri()
{
return $this->downloadUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyV1UploadPolicyFileResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1UploadPolicyFileResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1AdditionalTargetKeyName extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $keyDescription;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setKeyDescription($keyDescription)
{
$this->keyDescription = $keyDescription;
}
/**
* @return string
*/
public function getKeyDescription()
{
return $this->keyDescription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1AdditionalTargetKeyName::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1AdditionalTargetKeyName');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1CertificateReference extends \Google\Model
{
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $orgUnitId;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1CertificateReference::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1CertificateReference');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1DefineCertificateRequest extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $ceritificateName;
/**
* @var string
*/
public $certificate;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setCeritificateName($ceritificateName)
{
$this->ceritificateName = $ceritificateName;
}
/**
* @return string
*/
public function getCeritificateName()
{
return $this->ceritificateName;
}
/**
* @param string
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* @param GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1DefineCertificateRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1DefineCertificateRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1DefineCertificateResponse extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1DefineCertificateResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1DefineCertificateResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1DefineNetworkRequest extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $name;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1DefineNetworkRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1DefineNetworkRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1DefineNetworkResponse extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1DefineNetworkResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1DefineNetworkResponse');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1FieldConstraints extends \Google\Model
{
protected $numericRangeConstraintType = GoogleChromePolicyVersionsV1NumericRangeConstraint::class;
protected $numericRangeConstraintDataType = '';
protected $uploadedFileConstraintsType = GoogleChromePolicyVersionsV1UploadedFileConstraints::class;
protected $uploadedFileConstraintsDataType = '';
/**
* @param GoogleChromePolicyVersionsV1NumericRangeConstraint
*/
public function setNumericRangeConstraint(GoogleChromePolicyVersionsV1NumericRangeConstraint $numericRangeConstraint)
{
$this->numericRangeConstraint = $numericRangeConstraint;
}
/**
* @return GoogleChromePolicyVersionsV1NumericRangeConstraint
*/
public function getNumericRangeConstraint()
{
return $this->numericRangeConstraint;
}
/**
* @param GoogleChromePolicyVersionsV1UploadedFileConstraints
*/
public function setUploadedFileConstraints(GoogleChromePolicyVersionsV1UploadedFileConstraints $uploadedFileConstraints)
{
$this->uploadedFileConstraints = $uploadedFileConstraints;
}
/**
* @return GoogleChromePolicyVersionsV1UploadedFileConstraints
*/
public function getUploadedFileConstraints()
{
return $this->uploadedFileConstraints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1FieldConstraints::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1FieldConstraints');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest extends \Google\Model
{
/**
* @var string
*/
public $policyNamespace;
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse extends \Google\Collection
{
protected $collection_key = 'groupIds';
/**
* @var string[]
*/
public $groupIds;
/**
* @var string
*/
public $policyNamespace;
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string[]
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ListPolicySchemasResponse extends \Google\Collection
{
protected $collection_key = 'policySchemas';
/**
* @var string
*/
public $nextPageToken;
protected $policySchemasType = GoogleChromePolicyVersionsV1PolicySchema::class;
protected $policySchemasDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchema[]
*/
public function setPolicySchemas($policySchemas)
{
$this->policySchemas = $policySchemas;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchema[]
*/
public function getPolicySchemas()
{
return $this->policySchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ListPolicySchemasResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ListPolicySchemasResponse');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest extends \Google\Model
{
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
protected $policyValueType = GoogleChromePolicyVersionsV1PolicyValue::class;
protected $policyValueDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyValue
*/
public function setPolicyValue(GoogleChromePolicyVersionsV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest extends \Google\Model
{
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
protected $policyValueType = GoogleChromePolicyVersionsV1PolicyValue::class;
protected $policyValueDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyValue
*/
public function setPolicyValue(GoogleChromePolicyVersionsV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1NetworkSetting extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1NetworkSetting::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1NetworkSetting');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1NumericRangeConstraint extends \Google\Model
{
/**
* @var string
*/
public $maximum;
/**
* @var string
*/
public $minimum;
/**
* @param string
*/
public function setMaximum($maximum)
{
$this->maximum = $maximum;
}
/**
* @return string
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* @param string
*/
public function setMinimum($minimum)
{
$this->minimum = $minimum;
}
/**
* @return string
*/
public function getMinimum()
{
return $this->minimum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1NumericRangeConstraint::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1NumericRangeConstraint');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyApiLifecycle extends \Google\Collection
{
protected $collection_key = 'scheduledToDeprecatePolicies';
/**
* @var string[]
*/
public $deprecatedInFavorOf;
/**
* @var string
*/
public $description;
protected $endSupportType = GoogleTypeDate::class;
protected $endSupportDataType = '';
/**
* @var string
*/
public $policyApiLifecycleStage;
/**
* @var string[]
*/
public $scheduledToDeprecatePolicies;
/**
* @param string[]
*/
public function setDeprecatedInFavorOf($deprecatedInFavorOf)
{
$this->deprecatedInFavorOf = $deprecatedInFavorOf;
}
/**
* @return string[]
*/
public function getDeprecatedInFavorOf()
{
return $this->deprecatedInFavorOf;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param GoogleTypeDate
*/
public function setEndSupport(GoogleTypeDate $endSupport)
{
$this->endSupport = $endSupport;
}
/**
* @return GoogleTypeDate
*/
public function getEndSupport()
{
return $this->endSupport;
}
/**
* @param string
*/
public function setPolicyApiLifecycleStage($policyApiLifecycleStage)
{
$this->policyApiLifecycleStage = $policyApiLifecycleStage;
}
/**
* @return string
*/
public function getPolicyApiLifecycleStage()
{
return $this->policyApiLifecycleStage;
}
/**
* @param string[]
*/
public function setScheduledToDeprecatePolicies($scheduledToDeprecatePolicies)
{
$this->scheduledToDeprecatePolicies = $scheduledToDeprecatePolicies;
}
/**
* @return string[]
*/
public function getScheduledToDeprecatePolicies()
{
return $this->scheduledToDeprecatePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyApiLifecycle::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyApiLifecycle');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyModificationError extends \Google\Collection
{
protected $collection_key = 'fieldErrors';
/**
* @var string[]
*/
public $errors;
protected $fieldErrorsType = GoogleChromePolicyVersionsV1PolicyModificationFieldError::class;
protected $fieldErrorsDataType = 'array';
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return string[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyModificationFieldError[]
*/
public function setFieldErrors($fieldErrors)
{
$this->fieldErrors = $fieldErrors;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyModificationFieldError[]
*/
public function getFieldErrors()
{
return $this->fieldErrors;
}
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyModificationError::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyModificationError');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyModificationErrorDetails extends \Google\Collection
{
protected $collection_key = 'modificationErrors';
protected $modificationErrorsType = GoogleChromePolicyVersionsV1PolicyModificationError::class;
protected $modificationErrorsDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1PolicyModificationError[]
*/
public function setModificationErrors($modificationErrors)
{
$this->modificationErrors = $modificationErrors;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyModificationError[]
*/
public function getModificationErrors()
{
return $this->modificationErrors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyModificationErrorDetails::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyModificationErrorDetails');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyModificationFieldError extends \Google\Model
{
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $field;
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyModificationFieldError::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyModificationFieldError');

View File

@@ -0,0 +1,251 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchema extends \Google\Collection
{
protected $collection_key = 'validTargetResources';
/**
* @var string[]
*/
public $accessRestrictions;
protected $additionalTargetKeyNamesType = GoogleChromePolicyVersionsV1AdditionalTargetKeyName::class;
protected $additionalTargetKeyNamesDataType = 'array';
/**
* @var string
*/
public $categoryTitle;
protected $definitionType = Proto2FileDescriptorProto::class;
protected $definitionDataType = '';
protected $fieldDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class;
protected $fieldDescriptionsDataType = 'array';
/**
* @var string
*/
public $name;
protected $noticesType = GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription::class;
protected $noticesDataType = 'array';
protected $policyApiLifecycleType = GoogleChromePolicyVersionsV1PolicyApiLifecycle::class;
protected $policyApiLifecycleDataType = '';
/**
* @var string
*/
public $policyDescription;
/**
* @var string
*/
public $schemaName;
/**
* @var string
*/
public $supportUri;
/**
* @var string[]
*/
public $supportedPlatforms;
/**
* @var string[]
*/
public $validTargetResources;
/**
* @param string[]
*/
public function setAccessRestrictions($accessRestrictions)
{
$this->accessRestrictions = $accessRestrictions;
}
/**
* @return string[]
*/
public function getAccessRestrictions()
{
return $this->accessRestrictions;
}
/**
* @param GoogleChromePolicyVersionsV1AdditionalTargetKeyName[]
*/
public function setAdditionalTargetKeyNames($additionalTargetKeyNames)
{
$this->additionalTargetKeyNames = $additionalTargetKeyNames;
}
/**
* @return GoogleChromePolicyVersionsV1AdditionalTargetKeyName[]
*/
public function getAdditionalTargetKeyNames()
{
return $this->additionalTargetKeyNames;
}
/**
* @param string
*/
public function setCategoryTitle($categoryTitle)
{
$this->categoryTitle = $categoryTitle;
}
/**
* @return string
*/
public function getCategoryTitle()
{
return $this->categoryTitle;
}
/**
* @param Proto2FileDescriptorProto
*/
public function setDefinition(Proto2FileDescriptorProto $definition)
{
$this->definition = $definition;
}
/**
* @return Proto2FileDescriptorProto
*/
public function getDefinition()
{
return $this->definition;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function setFieldDescriptions($fieldDescriptions)
{
$this->fieldDescriptions = $fieldDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function getFieldDescriptions()
{
return $this->fieldDescriptions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription[]
*/
public function setNotices($notices)
{
$this->notices = $notices;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription[]
*/
public function getNotices()
{
return $this->notices;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyApiLifecycle
*/
public function setPolicyApiLifecycle(GoogleChromePolicyVersionsV1PolicyApiLifecycle $policyApiLifecycle)
{
$this->policyApiLifecycle = $policyApiLifecycle;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyApiLifecycle
*/
public function getPolicyApiLifecycle()
{
return $this->policyApiLifecycle;
}
/**
* @param string
*/
public function setPolicyDescription($policyDescription)
{
$this->policyDescription = $policyDescription;
}
/**
* @return string
*/
public function getPolicyDescription()
{
return $this->policyDescription;
}
/**
* @param string
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
/**
* @param string
*/
public function setSupportUri($supportUri)
{
$this->supportUri = $supportUri;
}
/**
* @return string
*/
public function getSupportUri()
{
return $this->supportUri;
}
/**
* @param string[]
*/
public function setSupportedPlatforms($supportedPlatforms)
{
$this->supportedPlatforms = $supportedPlatforms;
}
/**
* @return string[]
*/
public function getSupportedPlatforms()
{
return $this->supportedPlatforms;
}
/**
* @param string[]
*/
public function setValidTargetResources($validTargetResources)
{
$this->validTargetResources = $validTargetResources;
}
/**
* @return string[]
*/
public function getValidTargetResources()
{
return $this->validTargetResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchema::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchema');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies extends \Google\Model
{
/**
* @var string
*/
public $sourceField;
/**
* @var string
*/
public $sourceFieldValue;
/**
* @param string
*/
public function setSourceField($sourceField)
{
$this->sourceField = $sourceField;
}
/**
* @return string
*/
public function getSourceField()
{
return $this->sourceField;
}
/**
* @param string
*/
public function setSourceFieldValue($sourceFieldValue)
{
$this->sourceFieldValue = $sourceFieldValue;
}
/**
* @return string
*/
public function getSourceFieldValue()
{
return $this->sourceFieldValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies');

View File

@@ -0,0 +1,215 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription extends \Google\Collection
{
protected $collection_key = 'requiredItems';
/**
* @var array
*/
public $defaultValue;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $field;
protected $fieldConstraintsType = GoogleChromePolicyVersionsV1FieldConstraints::class;
protected $fieldConstraintsDataType = '';
protected $fieldDependenciesType = GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class;
protected $fieldDependenciesDataType = 'array';
/**
* @var string
*/
public $fieldDescription;
/**
* @var string
*/
public $inputConstraint;
protected $knownValueDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription::class;
protected $knownValueDescriptionsDataType = 'array';
/**
* @var string
*/
public $name;
protected $nestedFieldDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class;
protected $nestedFieldDescriptionsDataType = 'array';
protected $requiredItemsType = GoogleChromePolicyVersionsV1PolicySchemaRequiredItems::class;
protected $requiredItemsDataType = 'array';
/**
* @param array
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param GoogleChromePolicyVersionsV1FieldConstraints
*/
public function setFieldConstraints(GoogleChromePolicyVersionsV1FieldConstraints $fieldConstraints)
{
$this->fieldConstraints = $fieldConstraints;
}
/**
* @return GoogleChromePolicyVersionsV1FieldConstraints
*/
public function getFieldConstraints()
{
return $this->fieldConstraints;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function setFieldDependencies($fieldDependencies)
{
$this->fieldDependencies = $fieldDependencies;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function getFieldDependencies()
{
return $this->fieldDependencies;
}
/**
* @param string
*/
public function setFieldDescription($fieldDescription)
{
$this->fieldDescription = $fieldDescription;
}
/**
* @return string
*/
public function getFieldDescription()
{
return $this->fieldDescription;
}
/**
* @param string
*/
public function setInputConstraint($inputConstraint)
{
$this->inputConstraint = $inputConstraint;
}
/**
* @return string
*/
public function getInputConstraint()
{
return $this->inputConstraint;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[]
*/
public function setKnownValueDescriptions($knownValueDescriptions)
{
$this->knownValueDescriptions = $knownValueDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[]
*/
public function getKnownValueDescriptions()
{
return $this->knownValueDescriptions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function setNestedFieldDescriptions($nestedFieldDescriptions)
{
$this->nestedFieldDescriptions = $nestedFieldDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function getNestedFieldDescriptions()
{
return $this->nestedFieldDescriptions;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaRequiredItems[]
*/
public function setRequiredItems($requiredItems)
{
$this->requiredItems = $requiredItems;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaRequiredItems[]
*/
public function getRequiredItems()
{
return $this->requiredItems;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaFieldDescription');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription extends \Google\Collection
{
protected $collection_key = 'fieldDependencies';
/**
* @var string
*/
public $description;
protected $fieldDependenciesType = GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class;
protected $fieldDependenciesDataType = 'array';
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function setFieldDependencies($fieldDependencies)
{
$this->fieldDependencies = $fieldDependencies;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function getFieldDependencies()
{
return $this->fieldDependencies;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription extends \Google\Model
{
/**
* @var bool
*/
public $acknowledgementRequired;
/**
* @var string
*/
public $field;
/**
* @var string
*/
public $noticeMessage;
/**
* @var string
*/
public $noticeValue;
/**
* @param bool
*/
public function setAcknowledgementRequired($acknowledgementRequired)
{
$this->acknowledgementRequired = $acknowledgementRequired;
}
/**
* @return bool
*/
public function getAcknowledgementRequired()
{
return $this->acknowledgementRequired;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param string
*/
public function setNoticeMessage($noticeMessage)
{
$this->noticeMessage = $noticeMessage;
}
/**
* @return string
*/
public function getNoticeMessage()
{
return $this->noticeMessage;
}
/**
* @param string
*/
public function setNoticeValue($noticeValue)
{
$this->noticeValue = $noticeValue;
}
/**
* @return string
*/
public function getNoticeValue()
{
return $this->noticeValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems extends \Google\Collection
{
protected $collection_key = 'requiredFields';
/**
* @var string[]
*/
public $fieldConditions;
/**
* @var string[]
*/
public $requiredFields;
/**
* @param string[]
*/
public function setFieldConditions($fieldConditions)
{
$this->fieldConditions = $fieldConditions;
}
/**
* @return string[]
*/
public function getFieldConditions()
{
return $this->fieldConditions;
}
/**
* @param string[]
*/
public function setRequiredFields($requiredFields)
{
$this->requiredFields = $requiredFields;
}
/**
* @return string[]
*/
public function getRequiredFields()
{
return $this->requiredFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicySchemaRequiredItems::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaRequiredItems');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyTargetKey extends \Google\Model
{
/**
* @var string[]
*/
public $additionalTargetKeys;
/**
* @var string
*/
public $targetResource;
/**
* @param string[]
*/
public function setAdditionalTargetKeys($additionalTargetKeys)
{
$this->additionalTargetKeys = $additionalTargetKeys;
}
/**
* @return string[]
*/
public function getAdditionalTargetKeys()
{
return $this->additionalTargetKeys;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyTargetKey::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyTargetKey');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1PolicyValue extends \Google\Model
{
/**
* @var string
*/
public $policySchema;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1PolicyValue::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicyValue');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails extends \Google\Collection
{
protected $collection_key = 'certificateReferences';
protected $certificateReferencesType = GoogleChromePolicyVersionsV1CertificateReference::class;
protected $certificateReferencesDataType = 'array';
/**
* @param GoogleChromePolicyVersionsV1CertificateReference[]
*/
public function setCertificateReferences($certificateReferences)
{
$this->certificateReferences = $certificateReferences;
}
/**
* @return GoogleChromePolicyVersionsV1CertificateReference[]
*/
public function getCertificateReferences()
{
return $this->certificateReferences;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1RemoveCertificateRequest extends \Google\Model
{
/**
* @var string
*/
public $networkId;
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1RemoveCertificateRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1RemoveCertificateRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1RemoveCertificateResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1RemoveCertificateResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1RemoveCertificateResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1RemoveNetworkRequest extends \Google\Model
{
/**
* @var string
*/
public $networkId;
/**
* @var string
*/
public $targetResource;
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1RemoveNetworkRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1RemoveNetworkRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1RemoveNetworkResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1RemoveNetworkResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1RemoveNetworkResponse');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ResolveRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $policySchemaFilter;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setPolicySchemaFilter($policySchemaFilter)
{
$this->policySchemaFilter = $policySchemaFilter;
}
/**
* @return string
*/
public function getPolicySchemaFilter()
{
return $this->policySchemaFilter;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ResolveRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ResolveRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ResolveResponse extends \Google\Collection
{
protected $collection_key = 'resolvedPolicies';
/**
* @var string
*/
public $nextPageToken;
protected $resolvedPoliciesType = GoogleChromePolicyVersionsV1ResolvedPolicy::class;
protected $resolvedPoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleChromePolicyVersionsV1ResolvedPolicy[]
*/
public function setResolvedPolicies($resolvedPolicies)
{
$this->resolvedPolicies = $resolvedPolicies;
}
/**
* @return GoogleChromePolicyVersionsV1ResolvedPolicy[]
*/
public function getResolvedPolicies()
{
return $this->resolvedPolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ResolveResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ResolveResponse');

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1ResolvedPolicy extends \Google\Model
{
protected $addedSourceKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $addedSourceKeyDataType = '';
protected $sourceKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $sourceKeyDataType = '';
protected $targetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $targetKeyDataType = '';
protected $valueType = GoogleChromePolicyVersionsV1PolicyValue::class;
protected $valueDataType = '';
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setAddedSourceKey(GoogleChromePolicyVersionsV1PolicyTargetKey $addedSourceKey)
{
$this->addedSourceKey = $addedSourceKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getAddedSourceKey()
{
return $this->addedSourceKey;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setSourceKey(GoogleChromePolicyVersionsV1PolicyTargetKey $sourceKey)
{
$this->sourceKey = $sourceKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getSourceKey()
{
return $this->sourceKey;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $targetKey)
{
$this->targetKey = $targetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getTargetKey()
{
return $this->targetKey;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyValue
*/
public function setValue(GoogleChromePolicyVersionsV1PolicyValue $value)
{
$this->value = $value;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1ResolvedPolicy::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1ResolvedPolicy');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest extends \Google\Collection
{
protected $collection_key = 'groupIds';
/**
* @var string[]
*/
public $groupIds;
/**
* @var string
*/
public $policyNamespace;
/**
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* @param string[]
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* @param string
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* @param string
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* @param GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest extends \Google\Model
{
/**
* @var string
*/
public $policyField;
/**
* @param string
*/
public function setPolicyField($policyField)
{
$this->policyField = $policyField;
}
/**
* @return string
*/
public function getPolicyField()
{
return $this->policyField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1UploadPolicyFileRequest::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1UploadPolicyFileRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse extends \Google\Model
{
/**
* @var string
*/
public $downloadUri;
/**
* @param string
*/
public function setDownloadUri($downloadUri)
{
$this->downloadUri = $downloadUri;
}
/**
* @return string
*/
public function getDownloadUri()
{
return $this->downloadUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1UploadPolicyFileResponse::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1UploadPolicyFileResponse');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleChromePolicyVersionsV1UploadedFileConstraints extends \Google\Collection
{
protected $collection_key = 'supportedContentTypes';
/**
* @var string
*/
public $sizeLimitBytes;
/**
* @var string[]
*/
public $supportedContentTypes;
/**
* @param string
*/
public function setSizeLimitBytes($sizeLimitBytes)
{
$this->sizeLimitBytes = $sizeLimitBytes;
}
/**
* @return string
*/
public function getSizeLimitBytes()
{
return $this->sizeLimitBytes;
}
/**
* @param string[]
*/
public function setSupportedContentTypes($supportedContentTypes)
{
$this->supportedContentTypes = $supportedContentTypes;
}
/**
* @return string[]
*/
public function getSupportedContentTypes()
{
return $this->supportedContentTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleChromePolicyVersionsV1UploadedFileConstraints::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1UploadedFileConstraints');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_ChromePolicy_GoogleProtobufEmpty');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class GoogleTypeDate extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDate::class, 'Google_Service_ChromePolicy_GoogleTypeDate');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2DescriptorProto extends \Google\Collection
{
protected $collection_key = 'oneofDecl';
protected $enumTypeType = Proto2EnumDescriptorProto::class;
protected $enumTypeDataType = 'array';
protected $fieldType = Proto2FieldDescriptorProto::class;
protected $fieldDataType = 'array';
/**
* @var string
*/
public $name;
protected $nestedTypeType = Proto2DescriptorProto::class;
protected $nestedTypeDataType = 'array';
protected $oneofDeclType = Proto2OneofDescriptorProto::class;
protected $oneofDeclDataType = 'array';
/**
* @param Proto2EnumDescriptorProto[]
*/
public function setEnumType($enumType)
{
$this->enumType = $enumType;
}
/**
* @return Proto2EnumDescriptorProto[]
*/
public function getEnumType()
{
return $this->enumType;
}
/**
* @param Proto2FieldDescriptorProto[]
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return Proto2FieldDescriptorProto[]
*/
public function getField()
{
return $this->field;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Proto2DescriptorProto[]
*/
public function setNestedType($nestedType)
{
$this->nestedType = $nestedType;
}
/**
* @return Proto2DescriptorProto[]
*/
public function getNestedType()
{
return $this->nestedType;
}
/**
* @param Proto2OneofDescriptorProto[]
*/
public function setOneofDecl($oneofDecl)
{
$this->oneofDecl = $oneofDecl;
}
/**
* @return Proto2OneofDescriptorProto[]
*/
public function getOneofDecl()
{
return $this->oneofDecl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2DescriptorProto::class, 'Google_Service_ChromePolicy_Proto2DescriptorProto');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2EnumDescriptorProto extends \Google\Collection
{
protected $collection_key = 'value';
/**
* @var string
*/
public $name;
protected $valueType = Proto2EnumValueDescriptorProto::class;
protected $valueDataType = 'array';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Proto2EnumValueDescriptorProto[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return Proto2EnumValueDescriptorProto[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2EnumDescriptorProto::class, 'Google_Service_ChromePolicy_Proto2EnumDescriptorProto');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2EnumValueDescriptorProto extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2EnumValueDescriptorProto::class, 'Google_Service_ChromePolicy_Proto2EnumValueDescriptorProto');

View File

@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2FieldDescriptorProto extends \Google\Model
{
/**
* @var string
*/
public $defaultValue;
/**
* @var string
*/
public $jsonName;
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
/**
* @var int
*/
public $oneofIndex;
/**
* @var bool
*/
public $proto3Optional;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $typeName;
/**
* @param string
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return string
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setJsonName($jsonName)
{
$this->jsonName = $jsonName;
}
/**
* @return string
*/
public function getJsonName()
{
return $this->jsonName;
}
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
/**
* @param int
*/
public function setOneofIndex($oneofIndex)
{
$this->oneofIndex = $oneofIndex;
}
/**
* @return int
*/
public function getOneofIndex()
{
return $this->oneofIndex;
}
/**
* @param bool
*/
public function setProto3Optional($proto3Optional)
{
$this->proto3Optional = $proto3Optional;
}
/**
* @return bool
*/
public function getProto3Optional()
{
return $this->proto3Optional;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setTypeName($typeName)
{
$this->typeName = $typeName;
}
/**
* @return string
*/
public function getTypeName()
{
return $this->typeName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2FieldDescriptorProto::class, 'Google_Service_ChromePolicy_Proto2FieldDescriptorProto');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2FileDescriptorProto extends \Google\Collection
{
protected $collection_key = 'messageType';
/**
* @var string
*/
public $editionDeprecated;
protected $enumTypeType = Proto2EnumDescriptorProto::class;
protected $enumTypeDataType = 'array';
protected $messageTypeType = Proto2DescriptorProto::class;
protected $messageTypeDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $package;
/**
* @var string
*/
public $syntax;
/**
* @param string
*/
public function setEditionDeprecated($editionDeprecated)
{
$this->editionDeprecated = $editionDeprecated;
}
/**
* @return string
*/
public function getEditionDeprecated()
{
return $this->editionDeprecated;
}
/**
* @param Proto2EnumDescriptorProto[]
*/
public function setEnumType($enumType)
{
$this->enumType = $enumType;
}
/**
* @return Proto2EnumDescriptorProto[]
*/
public function getEnumType()
{
return $this->enumType;
}
/**
* @param Proto2DescriptorProto[]
*/
public function setMessageType($messageType)
{
$this->messageType = $messageType;
}
/**
* @return Proto2DescriptorProto[]
*/
public function getMessageType()
{
return $this->messageType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPackage($package)
{
$this->package = $package;
}
/**
* @return string
*/
public function getPackage()
{
return $this->package;
}
/**
* @param string
*/
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
/**
* @return string
*/
public function getSyntax()
{
return $this->syntax;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2FileDescriptorProto::class, 'Google_Service_ChromePolicy_Proto2FileDescriptorProto');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy;
class Proto2OneofDescriptorProto extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proto2OneofDescriptorProto::class, 'Google_Service_ChromePolicy_Proto2OneofDescriptorProto');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
/**
* The "customers" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $customers = $chromepolicyService->customers;
* </code>
*/
class Customers extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customers::class, 'Google_Service_ChromePolicy_Resource_Customers');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1ResolveRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1ResolveResponse;
/**
* The "policies" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $policies = $chromepolicyService->customers_policies;
* </code>
*/
class CustomersPolicies extends \Google\Service\Resource
{
/**
* Gets the resolved policy values for a list of policies that match a search
* query. (policies.resolve)
*
* @param string $customer ID of the G Suite account or literal "my_customer"
* for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1ResolveRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1ResolveResponse
* @throws \Google\Service\Exception
*/
public function resolve($customer, GoogleChromePolicyVersionsV1ResolveRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resolve', [$params], GoogleChromePolicyVersionsV1ResolveResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPolicies::class, 'Google_Service_ChromePolicy_Resource_CustomersPolicies');

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest;
use Google\Service\ChromePolicy\GoogleProtobufEmpty;
/**
* The "groups" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $groups = $chromepolicyService->customers_policies_groups;
* </code>
*/
class CustomersPoliciesGroups extends \Google\Service\Resource
{
/**
* Delete multiple policy values that are applied to a specific group. All
* targets must have the same target format. That is to say that they must point
* to the same target resource and must have the same keys specified in
* `additionalTargetKeyNames`, though the values for those keys may be
* different. On failure the request will return the error details as part of
* the google.rpc.Status. (groups.batchDelete)
*
* @param string $customer ID of the Google Workspace account or literal
* "my_customer" for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchDelete($customer, GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDelete', [$params], GoogleProtobufEmpty::class);
}
/**
* Modify multiple policy values that are applied to a specific group. All
* targets must have the same target format. That is to say that they must point
* to the same target resource and must have the same keys specified in
* `additionalTargetKeyNames`, though the values for those keys may be
* different. On failure the request will return the error details as part of
* the google.rpc.Status. (groups.batchModify)
*
* @param string $customer ID of the Google Workspace account or literal
* "my_customer" for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchModify($customer, GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchModify', [$params], GoogleProtobufEmpty::class);
}
/**
* Retrieve a group priority ordering for an app. The target app must be
* supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the
* request will return the error details as part of the google.rpc.Status.
* (groups.listGroupPriorityOrdering)
*
* @param string $customer Required. ID of the Google Workspace account or
* literal "my_customer" for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse
* @throws \Google\Service\Exception
*/
public function listGroupPriorityOrdering($customer, GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('listGroupPriorityOrdering', [$params], GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse::class);
}
/**
* Update a group priority ordering for an app. The target app must be supplied
* in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request
* will return the error details as part of the google.rpc.Status.
* (groups.updateGroupPriorityOrdering)
*
* @param string $customer Required. ID of the Google Workspace account or
* literal "my_customer" for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function updateGroupPriorityOrdering($customer, GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateGroupPriorityOrdering', [$params], GoogleProtobufEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPoliciesGroups::class, 'Google_Service_ChromePolicy_Resource_CustomersPoliciesGroups');

View File

@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineCertificateRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineCertificateResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineNetworkRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineNetworkResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveCertificateRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveCertificateResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveNetworkRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveNetworkResponse;
/**
* The "networks" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $networks = $chromepolicyService->customers_policies_networks;
* </code>
*/
class CustomersPoliciesNetworks extends \Google\Service\Resource
{
/**
* Creates a certificate at a specified OU for a customer.
* (networks.defineCertificate)
*
* @param string $customer Required. The customer for which the certificate will
* apply.
* @param GoogleChromePolicyVersionsV1DefineCertificateRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1DefineCertificateResponse
* @throws \Google\Service\Exception
*/
public function defineCertificate($customer, GoogleChromePolicyVersionsV1DefineCertificateRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('defineCertificate', [$params], GoogleChromePolicyVersionsV1DefineCertificateResponse::class);
}
/**
* Define a new network. (networks.defineNetwork)
*
* @param string $customer Required. The customer who will own this new network.
* @param GoogleChromePolicyVersionsV1DefineNetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1DefineNetworkResponse
* @throws \Google\Service\Exception
*/
public function defineNetwork($customer, GoogleChromePolicyVersionsV1DefineNetworkRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('defineNetwork', [$params], GoogleChromePolicyVersionsV1DefineNetworkResponse::class);
}
/**
* Remove an existing certificate by guid. (networks.removeCertificate)
*
* @param string $customer Required. The customer whose certificate will be
* removed.
* @param GoogleChromePolicyVersionsV1RemoveCertificateRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1RemoveCertificateResponse
* @throws \Google\Service\Exception
*/
public function removeCertificate($customer, GoogleChromePolicyVersionsV1RemoveCertificateRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeCertificate', [$params], GoogleChromePolicyVersionsV1RemoveCertificateResponse::class);
}
/**
* Remove an existing network by guid. (networks.removeNetwork)
*
* @param string $customer Required. The customer whose network will be removed.
* @param GoogleChromePolicyVersionsV1RemoveNetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1RemoveNetworkResponse
* @throws \Google\Service\Exception
*/
public function removeNetwork($customer, GoogleChromePolicyVersionsV1RemoveNetworkRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeNetwork', [$params], GoogleChromePolicyVersionsV1RemoveNetworkResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPoliciesNetworks::class, 'Google_Service_ChromePolicy_Resource_CustomersPoliciesNetworks');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest;
use Google\Service\ChromePolicy\GoogleProtobufEmpty;
/**
* The "orgunits" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $orgunits = $chromepolicyService->customers_policies_orgunits;
* </code>
*/
class CustomersPoliciesOrgunits extends \Google\Service\Resource
{
/**
* Modify multiple policy values that are applied to a specific org unit so that
* they now inherit the value from a parent (if applicable). All targets must
* have the same target format. That is to say that they must point to the same
* target resource and must have the same keys specified in
* `additionalTargetKeyNames`, though the values for those keys may be
* different. On failure the request will return the error details as part of
* the google.rpc.Status. (orgunits.batchInherit)
*
* @param string $customer ID of the G Suite account or literal "my_customer"
* for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchInherit($customer, GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchInherit', [$params], GoogleProtobufEmpty::class);
}
/**
* Modify multiple policy values that are applied to a specific org unit. All
* targets must have the same target format. That is to say that they must point
* to the same target resource and must have the same keys specified in
* `additionalTargetKeyNames`, though the values for those keys may be
* different. On failure the request will return the error details as part of
* the google.rpc.Status. (orgunits.batchModify)
*
* @param string $customer ID of the G Suite account or literal "my_customer"
* for the customer associated to the request.
* @param GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchModify($customer, GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchModify', [$params], GoogleProtobufEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPoliciesOrgunits::class, 'Google_Service_ChromePolicy_Resource_CustomersPoliciesOrgunits');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1ListPolicySchemasResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1PolicySchema;
/**
* The "policySchemas" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $policySchemas = $chromepolicyService->customers_policySchemas;
* </code>
*/
class CustomersPolicySchemas extends \Google\Service\Resource
{
/**
* Get a specific policy schema for a customer by its resource name.
* (policySchemas.get)
*
* @param string $name Required. The policy schema resource name to query.
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1PolicySchema
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleChromePolicyVersionsV1PolicySchema::class);
}
/**
* Gets a list of policy schemas that match a specified filter value for a given
* customer. (policySchemas.listCustomersPolicySchemas)
*
* @param string $parent Required. The customer for which the listing request
* will apply.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The schema filter used to find a particular schema
* based on fields like its resource name, description and
* `additionalTargetKeyNames`.
* @opt_param int pageSize The maximum number of policy schemas to return,
* defaults to 100 and has a maximum of 1000.
* @opt_param string pageToken The page token used to retrieve a specific page
* of the listing request.
* @return GoogleChromePolicyVersionsV1ListPolicySchemasResponse
* @throws \Google\Service\Exception
*/
public function listCustomersPolicySchemas($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleChromePolicyVersionsV1ListPolicySchemasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPolicySchemas::class, 'Google_Service_ChromePolicy_Resource_CustomersPolicySchemas');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1UploadPolicyFileRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1UploadPolicyFileResponse;
/**
* The "media" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $media = $chromepolicyService->media;
* </code>
*/
class Media extends \Google\Service\Resource
{
/**
* Creates an enterprise file from the content provided by user. Returns a
* public download url for end user. (media.upload)
*
* @param string $customer Required. The customer for which the file upload will
* apply.
* @param GoogleChromePolicyVersionsV1UploadPolicyFileRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1UploadPolicyFileResponse
* @throws \Google\Service\Exception
*/
public function upload($customer, GoogleChromePolicyVersionsV1UploadPolicyFileRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('upload', [$params], GoogleChromePolicyVersionsV1UploadPolicyFileResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Media::class, 'Google_Service_ChromePolicy_Resource_Media');