Initial commit: Complete WooCommerce Smart Google Pricing plugin with vendor dependencies

This commit is contained in:
2025-12-23 07:48:45 +01:00
commit 9b66109ca1
32472 changed files with 4065017 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,70 @@
<?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
{
/**
* Key name.
*
* @var string
*/
public $key;
/**
* Key description.
*
* @var string
*/
public $keyDescription;
/**
* Key name.
*
* @param string $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Key description.
*
* @param string $keyDescription
*/
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,51 @@
<?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';
/**
* List of policies that will be deleted as defined by the `requests`. All
* requests in the list must follow these restrictions: 1. All schemas in the
* list must have the same root namespace. 2. All
* `policyTargetKey.targetResource` values must point to a group resource. 3.
* All `policyTargetKey` values must have the same `app_id` key name in the
* `additionalTargetKeys`. 4. No two modification requests can reference the
* same `policySchema` + ` policyTargetKey` pair.
*
* @param GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest[] $requests
*/
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,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;
class GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* List of policies that have to inherit their values as defined by the
* `requests`. All requests in the list must follow these restrictions: 1. All
* schemas in the list must have the same root namespace. 2. All
* `policyTargetKey.targetResource` values must point to an org unit resource.
* 3. All `policyTargetKey` values must have the same key names in the `
* additionalTargetKeys`. This also means if one of the targets has an empty
* `additionalTargetKeys` map, all of the targets must have an empty
* `additionalTargetKeys` map. 4. No two modification requests can reference
* the same `policySchema` + ` policyTargetKey` pair.
*
* @param GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest[] $requests
*/
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,51 @@
<?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';
/**
* List of policies to modify as defined by the `requests`. All requests in
* the list must follow these restrictions: 1. All schemas in the list must
* have the same root namespace. 2. All `policyTargetKey.targetResource`
* values must point to a group resource. 3. All `policyTargetKey` values must
* have the same `app_id` key name in the `additionalTargetKeys`. 4. No two
* modification requests can reference the same `policySchema` + `
* policyTargetKey` pair.
*
* @param GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest[] $requests
*/
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,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;
class GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest::class;
protected $requestsDataType = 'array';
/**
* List of policies to modify as defined by the `requests`. All requests in
* the list must follow these restrictions: 1. All schemas in the list must
* have the same root namespace. 2. All `policyTargetKey.targetResource`
* values must point to an org unit resource. 3. All `policyTargetKey` values
* must have the same key names in the ` additionalTargetKeys`. This also
* means if one of the targets has an empty `additionalTargetKeys` map, all of
* the targets must have an empty `additionalTargetKeys` map. 4. No two
* modification requests can reference the same `policySchema` + `
* policyTargetKey` pair.
*
* @param GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest[] $requests
*/
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,72 @@
<?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
{
/**
* Output only. The name of the referencing network.
*
* @var string
*/
public $network;
/**
* Output only. The obfuscated id of the org unit the referencing network is
* in.
*
* @var string
*/
public $orgUnitId;
/**
* Output only. The name of the referencing network.
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Output only. The obfuscated id of the org unit the referencing network is
* in.
*
* @param string $orgUnitId
*/
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,118 @@
<?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';
/**
* Optional. The optional name of the certificate. If not specified, the
* certificate issuer will be used as the name.
*
* @var string
*/
public $ceritificateName;
/**
* Required. The raw contents of the .PEM, .CRT, or .CER file.
*
* @var string
*/
public $certificate;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* Required. The target resource on which this certificate is applied. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @var string
*/
public $targetResource;
/**
* Optional. The optional name of the certificate. If not specified, the
* certificate issuer will be used as the name.
*
* @param string $ceritificateName
*/
public function setCeritificateName($ceritificateName)
{
$this->ceritificateName = $ceritificateName;
}
/**
* @return string
*/
public function getCeritificateName()
{
return $this->ceritificateName;
}
/**
* Required. The raw contents of the .PEM, .CRT, or .CER file.
*
* @param string $certificate
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* Optional. Certificate settings within the chrome.networks.certificates
* namespace.
*
* @param GoogleChromePolicyVersionsV1NetworkSetting[] $settings
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* Required. The target resource on which this certificate is applied. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @param string $targetResource
*/
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,89 @@
<?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';
/**
* The guid of the certificate created by the action.
*
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* the resource at which the certificate is defined.
*
* @var string
*/
public $targetResource;
/**
* The guid of the certificate created by the action.
*
* @param string $networkId
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* the affiliated settings of the certificate (NOT IMPLEMENTED)
*
* @param GoogleChromePolicyVersionsV1NetworkSetting[] $settings
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* the resource at which the certificate is defined.
*
* @param string $targetResource
*/
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,93 @@
<?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';
/**
* Required. Name of the new created network.
*
* @var string
*/
public $name;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* Required. The target resource on which this new network will be defined.
* The following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @var string
*/
public $targetResource;
/**
* Required. Name of the new created network.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Detailed network settings.
*
* @param GoogleChromePolicyVersionsV1NetworkSetting[] $settings
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* Required. The target resource on which this new network will be defined.
* The following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @param string $targetResource
*/
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,93 @@
<?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';
/**
* Network ID of the new created network.
*
* @var string
*/
public $networkId;
protected $settingsType = GoogleChromePolicyVersionsV1NetworkSetting::class;
protected $settingsDataType = 'array';
/**
* The target resource on which this new network will be defined. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @var string
*/
public $targetResource;
/**
* Network ID of the new created network.
*
* @param string $networkId
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* Detailed network settings of the new created network
*
* @param GoogleChromePolicyVersionsV1NetworkSetting[] $settings
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleChromePolicyVersionsV1NetworkSetting[]
*/
public function getSettings()
{
return $this->settings;
}
/**
* The target resource on which this new network will be defined. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @param string $targetResource
*/
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,67 @@
<?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
{
/**
* The fully qualified name of the policy schema that is being inherited.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* The fully qualified name of the policy schema that is being inherited.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Required. The key of the target for which we want to modify a policy. The
* target resource must point to a Group.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,64 @@
<?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 = '';
/**
* The allowed range for numeric fields.
*
* @param GoogleChromePolicyVersionsV1NumericRangeConstraint $numericRangeConstraint
*/
public function setNumericRangeConstraint(GoogleChromePolicyVersionsV1NumericRangeConstraint $numericRangeConstraint)
{
$this->numericRangeConstraint = $numericRangeConstraint;
}
/**
* @return GoogleChromePolicyVersionsV1NumericRangeConstraint
*/
public function getNumericRangeConstraint()
{
return $this->numericRangeConstraint;
}
/**
* Constraints on the uploaded file of a file policy. If present, this policy
* requires a URL that can be fetched by uploading a file with the constraints
* specified in this proto.
*
* @param GoogleChromePolicyVersionsV1UploadedFileConstraints $uploadedFileConstraints
*/
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,67 @@
<?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
{
/**
* The fully qualified name of the policy schema that is being inherited.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* The fully qualified name of the policy schema that is being inherited.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Required. The key of the target for which we want to modify a policy. The
* target resource must point to an Org Unit.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,89 @@
<?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
{
/**
* The namespace of the policy type for the request.
*
* @var string
*/
public $policyNamespace;
/**
* The schema name of the policy for the request.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* The namespace of the policy type for the request.
*
* @param string $policyNamespace
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* The schema name of the policy for the request.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Required. The key of the target for which we want to retrieve the group
* priority ordering. The target resource must point to an app.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,112 @@
<?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';
/**
* Output only. The group IDs, in priority ordering.
*
* @var string[]
*/
public $groupIds;
/**
* Output only. The namespace of the policy type of the group IDs.
*
* @var string
*/
public $policyNamespace;
/**
* Output only. The schema name of the policy for the group IDs.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* Output only. The group IDs, in priority ordering.
*
* @param string[] $groupIds
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* Output only. The namespace of the policy type of the group IDs.
*
* @param string $policyNamespace
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* Output only. The schema name of the policy for the group IDs.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Output only. The target resource for which the group priority ordering has
* been retrieved.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,67 @@
<?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';
/**
* The page token used to get the next page of policy schemas.
*
* @var string
*/
public $nextPageToken;
protected $policySchemasType = GoogleChromePolicyVersionsV1PolicySchema::class;
protected $policySchemasDataType = 'array';
/**
* The page token used to get the next page of policy schemas.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of policy schemas that match the query.
*
* @param GoogleChromePolicyVersionsV1PolicySchema[] $policySchemas
*/
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,89 @@
<?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 = '';
/**
* Required. Policy fields to update. Only fields in this mask will be
* updated; other fields in `policy_value` will be ignored (even if they have
* values). If a field is in this list it must have a value in 'policy_value'.
*
* @var string
*/
public $updateMask;
/**
* Required. The key of the target for which we want to modify a policy. The
* target resource must point to a Group.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* The new value for the policy.
*
* @param GoogleChromePolicyVersionsV1PolicyValue $policyValue
*/
public function setPolicyValue(GoogleChromePolicyVersionsV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* Required. Policy fields to update. Only fields in this mask will be
* updated; other fields in `policy_value` will be ignored (even if they have
* values). If a field is in this list it must have a value in 'policy_value'.
*
* @param string $updateMask
*/
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,89 @@
<?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 = '';
/**
* Required. Policy fields to update. Only fields in this mask will be
* updated; other fields in `policy_value` will be ignored (even if they have
* values). If a field is in this list it must have a value in 'policy_value'.
*
* @var string
*/
public $updateMask;
/**
* Required. The key of the target for which we want to modify a policy. The
* target resource must point to an Org Unit.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
public function setPolicyTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey)
{
$this->policyTargetKey = $policyTargetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getPolicyTargetKey()
{
return $this->policyTargetKey;
}
/**
* The new value for the policy.
*
* @param GoogleChromePolicyVersionsV1PolicyValue $policyValue
*/
public function setPolicyValue(GoogleChromePolicyVersionsV1PolicyValue $policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyValue
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* Required. Policy fields to update. Only fields in this mask will be
* updated; other fields in `policy_value` will be ignored (even if they have
* values). If a field is in this list it must have a value in 'policy_value'.
*
* @param string $updateMask
*/
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,70 @@
<?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
{
/**
* The fully qualified name of the network setting.
*
* @var string
*/
public $policySchema;
/**
* The value of the network setting.
*
* @var array[]
*/
public $value;
/**
* The fully qualified name of the network setting.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* The value of the network setting.
*
* @param array[] $value
*/
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,70 @@
<?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
{
/**
* Maximum value.
*
* @var string
*/
public $maximum;
/**
* Minimum value.
*
* @var string
*/
public $minimum;
/**
* Maximum value.
*
* @param string $maximum
*/
public function setMaximum($maximum)
{
$this->maximum = $maximum;
}
/**
* @return string
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* Minimum value.
*
* @param string $minimum
*/
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,177 @@
<?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
{
/**
* Policy Api Lifecycle is Unspecified.
*/
public const POLICY_API_LIFECYCLE_STAGE_API_UNSPECIFIED = 'API_UNSPECIFIED';
/**
* Policy is not working yet, but giving developers heads up on format. This
* stage can transfer to API_DEVELOPEMNT or API_CURRENT.
*/
public const POLICY_API_LIFECYCLE_STAGE_API_PREVIEW = 'API_PREVIEW';
/**
* Policy can change format in backward incompatible way (breaking change).
* This stage can transfer to API_CURRENT or API_DEPRECATED. This could be
* used for policies launched only to TTs or launched to selected customers
* for emergency usage.
*/
public const POLICY_API_LIFECYCLE_STAGE_API_DEVELOPMENT = 'API_DEVELOPMENT';
/**
* Policy in official format. Policy can change format in backward compatible
* way (non-breaking change). Example: this policy can introduce a new field,
* which is considered non-breaking change, when field masks are properly
* utilized. This stage can transfer to API_DEPRECATED.
*/
public const POLICY_API_LIFECYCLE_STAGE_API_CURRENT = 'API_CURRENT';
/**
* Please stop using this policy. This policy is deprecated and may/will be
* removed in the future. Most likely a new policy was introduced to replace
* this one.
*/
public const POLICY_API_LIFECYCLE_STAGE_API_DEPRECATED = 'API_DEPRECATED';
protected $collection_key = 'scheduledToDeprecatePolicies';
/**
* In the event that this policy was deprecated in favor of another policy,
* the fully qualified namespace(s) of the new policies as they will show in
* PolicyAPI. Could only be set if policy_api_lifecycle_stage is
* API_DEPRECATED.
*
* @var string[]
*/
public $deprecatedInFavorOf;
/**
* Description about current life cycle.
*
* @var string
*/
public $description;
protected $endSupportType = GoogleTypeDate::class;
protected $endSupportDataType = '';
/**
* Indicates current life cycle stage of the policy API.
*
* @var string
*/
public $policyApiLifecycleStage;
/**
* Corresponding to deprecated_in_favor_of, the fully qualified namespace(s)
* of the old policies that will be deprecated because of introduction of this
* policy.
*
* @var string[]
*/
public $scheduledToDeprecatePolicies;
/**
* In the event that this policy was deprecated in favor of another policy,
* the fully qualified namespace(s) of the new policies as they will show in
* PolicyAPI. Could only be set if policy_api_lifecycle_stage is
* API_DEPRECATED.
*
* @param string[] $deprecatedInFavorOf
*/
public function setDeprecatedInFavorOf($deprecatedInFavorOf)
{
$this->deprecatedInFavorOf = $deprecatedInFavorOf;
}
/**
* @return string[]
*/
public function getDeprecatedInFavorOf()
{
return $this->deprecatedInFavorOf;
}
/**
* Description about current life cycle.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* End supporting date for current policy. Attempting to modify a policy after
* its end support date will result in a Bad Request (400 error). Could only
* be set if policy_api_lifecycle_stage is API_DEPRECATED.
*
* @param GoogleTypeDate $endSupport
*/
public function setEndSupport(GoogleTypeDate $endSupport)
{
$this->endSupport = $endSupport;
}
/**
* @return GoogleTypeDate
*/
public function getEndSupport()
{
return $this->endSupport;
}
/**
* Indicates current life cycle stage of the policy API.
*
* Accepted values: API_UNSPECIFIED, API_PREVIEW, API_DEVELOPMENT,
* API_CURRENT, API_DEPRECATED
*
* @param self::POLICY_API_LIFECYCLE_STAGE_* $policyApiLifecycleStage
*/
public function setPolicyApiLifecycleStage($policyApiLifecycleStage)
{
$this->policyApiLifecycleStage = $policyApiLifecycleStage;
}
/**
* @return self::POLICY_API_LIFECYCLE_STAGE_*
*/
public function getPolicyApiLifecycleStage()
{
return $this->policyApiLifecycleStage;
}
/**
* Corresponding to deprecated_in_favor_of, the fully qualified namespace(s)
* of the old policies that will be deprecated because of introduction of this
* policy.
*
* @param string[] $scheduledToDeprecatePolicies
*/
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,107 @@
<?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';
/**
* Output only. The non-field errors related to the modification.
*
* @var string[]
*/
public $errors;
protected $fieldErrorsType = GoogleChromePolicyVersionsV1PolicyModificationFieldError::class;
protected $fieldErrorsDataType = 'array';
/**
* Output only. The specific policy schema modification that had an error.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* Output only. The non-field errors related to the modification.
*
* @param string[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return string[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* Output only. The error messages related to the modification.
*
* @param GoogleChromePolicyVersionsV1PolicyModificationFieldError[] $fieldErrors
*/
public function setFieldErrors($fieldErrors)
{
$this->fieldErrors = $fieldErrors;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyModificationFieldError[]
*/
public function getFieldErrors()
{
return $this->fieldErrors;
}
/**
* Output only. The specific policy schema modification that had an error.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Output only. The specific policy target modification that had error.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,46 @@
<?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';
/**
* Output only. List of specific policy modifications errors that may have
* occurred during a modifying request.
*
* @param GoogleChromePolicyVersionsV1PolicyModificationError[] $modificationErrors
*/
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,70 @@
<?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
{
/**
* Output only. The error message related to the field.
*
* @var string
*/
public $error;
/**
* Output only. The name of the field with the error.
*
* @var string
*/
public $field;
/**
* Output only. The error message related to the field.
*
* @param string $error
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* Output only. The name of the field with the error.
*
* @param string $field
*/
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,307 @@
<?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';
/**
* Output only. Specific access restrictions related to this policy.
*
* @var string[]
*/
public $accessRestrictions;
protected $additionalTargetKeyNamesType = GoogleChromePolicyVersionsV1AdditionalTargetKeyName::class;
protected $additionalTargetKeyNamesDataType = 'array';
/**
* Title of the category in which a setting belongs.
*
* @var string
*/
public $categoryTitle;
protected $definitionType = Proto2FileDescriptorProto::class;
protected $definitionDataType = '';
protected $fieldDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class;
protected $fieldDescriptionsDataType = 'array';
/**
* Format: name=customers/{customer}/policySchemas/{schema_namespace}
*
* @var string
*/
public $name;
protected $noticesType = GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription::class;
protected $noticesDataType = 'array';
protected $policyApiLifecycleType = GoogleChromePolicyVersionsV1PolicyApiLifecycle::class;
protected $policyApiLifecycleDataType = '';
/**
* Output only. Description about the policy schema for user consumption.
*
* @var string
*/
public $policyDescription;
/**
* Output only. The fully qualified name of the policy schema. This value is
* used to fill the field `policy_schema` in PolicyValue when calling
* BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
* BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
*
* @var string
*/
public $schemaName;
/**
* Output only. URI to related support article for this schema.
*
* @var string
*/
public $supportUri;
/**
* Output only. List indicates that the policy will only apply to
* devices/users on these platforms.
*
* @var string[]
*/
public $supportedPlatforms;
/**
* Output only. Information about applicable target resources for the policy.
*
* @var string[]
*/
public $validTargetResources;
/**
* Output only. Specific access restrictions related to this policy.
*
* @param string[] $accessRestrictions
*/
public function setAccessRestrictions($accessRestrictions)
{
$this->accessRestrictions = $accessRestrictions;
}
/**
* @return string[]
*/
public function getAccessRestrictions()
{
return $this->accessRestrictions;
}
/**
* Output only. Additional key names that will be used to identify the target
* of the policy value. When specifying a `policyTargetKey`, each of the
* additional keys specified here will have to be included in the
* `additionalTargetKeys` map.
*
* @param GoogleChromePolicyVersionsV1AdditionalTargetKeyName[] $additionalTargetKeyNames
*/
public function setAdditionalTargetKeyNames($additionalTargetKeyNames)
{
$this->additionalTargetKeyNames = $additionalTargetKeyNames;
}
/**
* @return GoogleChromePolicyVersionsV1AdditionalTargetKeyName[]
*/
public function getAdditionalTargetKeyNames()
{
return $this->additionalTargetKeyNames;
}
/**
* Title of the category in which a setting belongs.
*
* @param string $categoryTitle
*/
public function setCategoryTitle($categoryTitle)
{
$this->categoryTitle = $categoryTitle;
}
/**
* @return string
*/
public function getCategoryTitle()
{
return $this->categoryTitle;
}
/**
* Schema definition using proto descriptor.
*
* @param Proto2FileDescriptorProto $definition
*/
public function setDefinition(Proto2FileDescriptorProto $definition)
{
$this->definition = $definition;
}
/**
* @return Proto2FileDescriptorProto
*/
public function getDefinition()
{
return $this->definition;
}
/**
* Output only. Detailed description of each field that is part of the schema.
* Fields are suggested to be displayed by the ordering in this list, not by
* field number.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[] $fieldDescriptions
*/
public function setFieldDescriptions($fieldDescriptions)
{
$this->fieldDescriptions = $fieldDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function getFieldDescriptions()
{
return $this->fieldDescriptions;
}
/**
* Format: name=customers/{customer}/policySchemas/{schema_namespace}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Special notice messages related to setting certain values in
* certain fields in the schema.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription[] $notices
*/
public function setNotices($notices)
{
$this->notices = $notices;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription[]
*/
public function getNotices()
{
return $this->notices;
}
/**
* Output only. Current lifecycle information.
*
* @param GoogleChromePolicyVersionsV1PolicyApiLifecycle $policyApiLifecycle
*/
public function setPolicyApiLifecycle(GoogleChromePolicyVersionsV1PolicyApiLifecycle $policyApiLifecycle)
{
$this->policyApiLifecycle = $policyApiLifecycle;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyApiLifecycle
*/
public function getPolicyApiLifecycle()
{
return $this->policyApiLifecycle;
}
/**
* Output only. Description about the policy schema for user consumption.
*
* @param string $policyDescription
*/
public function setPolicyDescription($policyDescription)
{
$this->policyDescription = $policyDescription;
}
/**
* @return string
*/
public function getPolicyDescription()
{
return $this->policyDescription;
}
/**
* Output only. The fully qualified name of the policy schema. This value is
* used to fill the field `policy_schema` in PolicyValue when calling
* BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
* BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
*
* @param string $schemaName
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
/**
* Output only. URI to related support article for this schema.
*
* @param string $supportUri
*/
public function setSupportUri($supportUri)
{
$this->supportUri = $supportUri;
}
/**
* @return string
*/
public function getSupportUri()
{
return $this->supportUri;
}
/**
* Output only. List indicates that the policy will only apply to
* devices/users on these platforms.
*
* @param string[] $supportedPlatforms
*/
public function setSupportedPlatforms($supportedPlatforms)
{
$this->supportedPlatforms = $supportedPlatforms;
}
/**
* @return string[]
*/
public function getSupportedPlatforms()
{
return $this->supportedPlatforms;
}
/**
* Output only. Information about applicable target resources for the policy.
*
* @param string[] $validTargetResources
*/
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,72 @@
<?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
{
/**
* The source field which this field depends on.
*
* @var string
*/
public $sourceField;
/**
* The value which the source field must have for this field to be allowed to
* be set.
*
* @var string
*/
public $sourceFieldValue;
/**
* The source field which this field depends on.
*
* @param string $sourceField
*/
public function setSourceField($sourceField)
{
$this->sourceField = $sourceField;
}
/**
* @return string
*/
public function getSourceField()
{
return $this->sourceField;
}
/**
* The value which the source field must have for this field to be allowed to
* be set.
*
* @param string $sourceFieldValue
*/
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,262 @@
<?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';
/**
* Output only. Client default if the policy is unset.
*
* @var array
*/
public $defaultValue;
/**
* Deprecated. Use name and field_description instead. The description for the
* field.
*
* @deprecated
* @var string
*/
public $description;
/**
* Output only. The name of the field for associated with this description.
*
* @var string
*/
public $field;
protected $fieldConstraintsType = GoogleChromePolicyVersionsV1FieldConstraints::class;
protected $fieldConstraintsDataType = '';
protected $fieldDependenciesType = GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class;
protected $fieldDependenciesDataType = 'array';
/**
* Output only. The description of the field.
*
* @var string
*/
public $fieldDescription;
/**
* Output only. Any input constraints associated on the values for the field.
*
* @var string
*/
public $inputConstraint;
protected $knownValueDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription::class;
protected $knownValueDescriptionsDataType = 'array';
/**
* Output only. The name of the field.
*
* @var string
*/
public $name;
protected $nestedFieldDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class;
protected $nestedFieldDescriptionsDataType = 'array';
protected $requiredItemsType = GoogleChromePolicyVersionsV1PolicySchemaRequiredItems::class;
protected $requiredItemsDataType = 'array';
/**
* Output only. Client default if the policy is unset.
*
* @param array $defaultValue
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* Deprecated. Use name and field_description instead. The description for the
* field.
*
* @deprecated
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @deprecated
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. The name of the field for associated with this description.
*
* @param string $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* Output only. Information on any input constraints associated on the values
* for the field.
*
* @param GoogleChromePolicyVersionsV1FieldConstraints $fieldConstraints
*/
public function setFieldConstraints(GoogleChromePolicyVersionsV1FieldConstraints $fieldConstraints)
{
$this->fieldConstraints = $fieldConstraints;
}
/**
* @return GoogleChromePolicyVersionsV1FieldConstraints
*/
public function getFieldConstraints()
{
return $this->fieldConstraints;
}
/**
* Output only. Provides a list of fields and values. At least one of the
* fields must have the corresponding value in order for this field to be
* allowed to be set.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[] $fieldDependencies
*/
public function setFieldDependencies($fieldDependencies)
{
$this->fieldDependencies = $fieldDependencies;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function getFieldDependencies()
{
return $this->fieldDependencies;
}
/**
* Output only. The description of the field.
*
* @param string $fieldDescription
*/
public function setFieldDescription($fieldDescription)
{
$this->fieldDescription = $fieldDescription;
}
/**
* @return string
*/
public function getFieldDescription()
{
return $this->fieldDescription;
}
/**
* Output only. Any input constraints associated on the values for the field.
*
* @param string $inputConstraint
*/
public function setInputConstraint($inputConstraint)
{
$this->inputConstraint = $inputConstraint;
}
/**
* @return string
*/
public function getInputConstraint()
{
return $this->inputConstraint;
}
/**
* Output only. If the field has a set of known values, this field will
* provide a description for these values.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[] $knownValueDescriptions
*/
public function setKnownValueDescriptions($knownValueDescriptions)
{
$this->knownValueDescriptions = $knownValueDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[]
*/
public function getKnownValueDescriptions()
{
return $this->knownValueDescriptions;
}
/**
* Output only. The name of the field.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Provides the description of the fields nested in this field,
* if the field is a message type that defines multiple fields. Fields are
* suggested to be displayed by the ordering in this list, not by field
* number.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[] $nestedFieldDescriptions
*/
public function setNestedFieldDescriptions($nestedFieldDescriptions)
{
$this->nestedFieldDescriptions = $nestedFieldDescriptions;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
*/
public function getNestedFieldDescriptions()
{
return $this->nestedFieldDescriptions;
}
/**
* Output only. Provides a list of fields that are required to be set if this
* field has a certain value.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaRequiredItems[] $requiredItems
*/
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,91 @@
<?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';
/**
* Output only. Additional description for this value.
*
* @var string
*/
public $description;
protected $fieldDependenciesType = GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class;
protected $fieldDependenciesDataType = 'array';
/**
* Output only. The string represenstation of the value that can be set for
* the field.
*
* @var string
*/
public $value;
/**
* Output only. Additional description for this value.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. Field conditions required for this value to be valid.
*
* @param GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[] $fieldDependencies
*/
public function setFieldDependencies($fieldDependencies)
{
$this->fieldDependencies = $fieldDependencies;
}
/**
* @return GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
*/
public function getFieldDependencies()
{
return $this->fieldDependencies;
}
/**
* Output only. The string represenstation of the value that can be set for
* the field.
*
* @param string $value
*/
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,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;
class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription extends \Google\Model
{
/**
* Output only. Whether the user needs to acknowledge the notice message
* before the value can be set.
*
* @var bool
*/
public $acknowledgementRequired;
/**
* Output only. The field name associated with the notice.
*
* @var string
*/
public $field;
/**
* Output only. The notice message associate with the value of the field.
*
* @var string
*/
public $noticeMessage;
/**
* Output only. The value of the field that has a notice. When setting the
* field to this value, the user may be required to acknowledge the notice
* message in order for the value to be set.
*
* @var string
*/
public $noticeValue;
/**
* Output only. Whether the user needs to acknowledge the notice message
* before the value can be set.
*
* @param bool $acknowledgementRequired
*/
public function setAcknowledgementRequired($acknowledgementRequired)
{
$this->acknowledgementRequired = $acknowledgementRequired;
}
/**
* @return bool
*/
public function getAcknowledgementRequired()
{
return $this->acknowledgementRequired;
}
/**
* Output only. The field name associated with the notice.
*
* @param string $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* Output only. The notice message associate with the value of the field.
*
* @param string $noticeMessage
*/
public function setNoticeMessage($noticeMessage)
{
$this->noticeMessage = $noticeMessage;
}
/**
* @return string
*/
public function getNoticeMessage()
{
return $this->noticeMessage;
}
/**
* Output only. The value of the field that has a notice. When setting the
* field to this value, the user may be required to acknowledge the notice
* message in order for the value to be set.
*
* @param string $noticeValue
*/
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,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;
class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems extends \Google\Collection
{
protected $collection_key = 'requiredFields';
/**
* The value(s) of the field that provoke required field enforcement. An empty
* field_conditions implies that any value assigned to this field will provoke
* required field enforcement.
*
* @var string[]
*/
public $fieldConditions;
/**
* The fields that are required as a consequence of the field conditions.
*
* @var string[]
*/
public $requiredFields;
/**
* The value(s) of the field that provoke required field enforcement. An empty
* field_conditions implies that any value assigned to this field will provoke
* required field enforcement.
*
* @param string[] $fieldConditions
*/
public function setFieldConditions($fieldConditions)
{
$this->fieldConditions = $fieldConditions;
}
/**
* @return string[]
*/
public function getFieldConditions()
{
return $this->fieldConditions;
}
/**
* The fields that are required as a consequence of the field conditions.
*
* @param string[] $requiredFields
*/
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,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 GoogleChromePolicyVersionsV1PolicyTargetKey extends \Google\Model
{
/**
* Map containing the additional target key name and value pairs used to
* further identify the target of the policy.
*
* @var string[]
*/
public $additionalTargetKeys;
/**
* The target resource on which this policy is applied. The following
* resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") *
* Group ("groups/{group_id}")
*
* @var string
*/
public $targetResource;
/**
* Map containing the additional target key name and value pairs used to
* further identify the target of the policy.
*
* @param string[] $additionalTargetKeys
*/
public function setAdditionalTargetKeys($additionalTargetKeys)
{
$this->additionalTargetKeys = $additionalTargetKeys;
}
/**
* @return string[]
*/
public function getAdditionalTargetKeys()
{
return $this->additionalTargetKeys;
}
/**
* The target resource on which this policy is applied. The following
* resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") *
* Group ("groups/{group_id}")
*
* @param string $targetResource
*/
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,72 @@
<?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
{
/**
* The fully qualified name of the policy schema associated with this policy.
*
* @var string
*/
public $policySchema;
/**
* The value of the policy that is compatible with the schema that it is
* associated with.
*
* @var array[]
*/
public $value;
/**
* The fully qualified name of the policy schema associated with this policy.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* The value of the policy that is compatible with the schema that it is
* associated with.
*
* @param array[] $value
*/
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,47 @@
<?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';
/**
* Output only. If the certificate was not removed, a list of references to
* the certificate that prevented it from being removed. Only unreferenced
* certificates can be removed.
*
* @param GoogleChromePolicyVersionsV1CertificateReference[] $certificateReferences
*/
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,74 @@
<?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
{
/**
* Required. The GUID of the certificate to remove.
*
* @var string
*/
public $networkId;
/**
* Required. The target resource on which this certificate will be removed.
* The following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @var string
*/
public $targetResource;
/**
* Required. The GUID of the certificate to remove.
*
* @param string $networkId
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* Required. The target resource on which this certificate will be removed.
* The following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @param string $targetResource
*/
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,74 @@
<?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
{
/**
* Required. The GUID of the network to remove.
*
* @var string
*/
public $networkId;
/**
* Required. The target resource on which this network will be removed. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @var string
*/
public $targetResource;
/**
* Required. The GUID of the network to remove.
*
* @param string $networkId
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* Required. The target resource on which this network will be removed. The
* following resources are supported: * Organizational Unit
* ("orgunits/{orgunit_id}")
*
* @param string $targetResource
*/
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,127 @@
<?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
{
/**
* The maximum number of policies to return, defaults to 100 and has a maximum
* of 1000.
*
* @var int
*/
public $pageSize;
/**
* The page token used to retrieve a specific page of the request.
*
* @var string
*/
public $pageToken;
/**
* Required. The schema filter to apply to the resolve request. Specify a
* schema name to view a particular schema, for example:
* chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf
* portion of the schema name. Wildcards cannot be used in namespace directly.
* Please read https://developers.google.com/chrome/policy/guides/policy-
* schemas for details on schema namespaces. For example: Valid:
* "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*",
* "*.users", "chrome.*", "chrome.*.apps.*"
*
* @var string
*/
public $policySchemaFilter;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* The maximum number of policies to return, defaults to 100 and has a maximum
* of 1000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* The page token used to retrieve a specific page of the request.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Required. The schema filter to apply to the resolve request. Specify a
* schema name to view a particular schema, for example:
* chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf
* portion of the schema name. Wildcards cannot be used in namespace directly.
* Please read https://developers.google.com/chrome/policy/guides/policy-
* schemas for details on schema namespaces. For example: Valid:
* "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*",
* "*.users", "chrome.*", "chrome.*.apps.*"
*
* @param string $policySchemaFilter
*/
public function setPolicySchemaFilter($policySchemaFilter)
{
$this->policySchemaFilter = $policySchemaFilter;
}
/**
* @return string
*/
public function getPolicySchemaFilter()
{
return $this->policySchemaFilter;
}
/**
* Required. The key of the target resource on which the policies should be
* resolved.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,69 @@
<?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';
/**
* The page token used to get the next set of resolved policies found by the
* request.
*
* @var string
*/
public $nextPageToken;
protected $resolvedPoliciesType = GoogleChromePolicyVersionsV1ResolvedPolicy::class;
protected $resolvedPoliciesDataType = 'array';
/**
* The page token used to get the next set of resolved policies found by the
* request.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of resolved policies found by the resolve request.
*
* @param GoogleChromePolicyVersionsV1ResolvedPolicy[] $resolvedPolicies
*/
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,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 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 = '';
/**
* Output only. The added source key establishes at which level an entity was
* explicitly added for management. This is useful for certain type of
* policies that are only applied if they are explicitly added for management.
* For example: apps and networks. An entity can only be deleted from
* management in an Organizational Unit that it was explicitly added to. If
* this is not present it means that the policy is managed without the need to
* explicitly add an entity, for example: standard user or device policies.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $addedSourceKey
*/
public function setAddedSourceKey(GoogleChromePolicyVersionsV1PolicyTargetKey $addedSourceKey)
{
$this->addedSourceKey = $addedSourceKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getAddedSourceKey()
{
return $this->addedSourceKey;
}
/**
* Output only. The source resource from which this policy value is obtained.
* May be the same as `targetKey` if the policy is directly modified on the
* target, otherwise it would be another resource from which the policy gets
* its value (if applicable). If not present, the source is the default value
* for the customer.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $sourceKey
*/
public function setSourceKey(GoogleChromePolicyVersionsV1PolicyTargetKey $sourceKey)
{
$this->sourceKey = $sourceKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getSourceKey()
{
return $this->sourceKey;
}
/**
* Output only. The target resource for which the resolved policy value
* applies.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $targetKey
*/
public function setTargetKey(GoogleChromePolicyVersionsV1PolicyTargetKey $targetKey)
{
$this->targetKey = $targetKey;
}
/**
* @return GoogleChromePolicyVersionsV1PolicyTargetKey
*/
public function getTargetKey()
{
return $this->targetKey;
}
/**
* Output only. The resolved value of the policy.
*
* @param GoogleChromePolicyVersionsV1PolicyValue $value
*/
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,112 @@
<?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';
/**
* Required. The group IDs, in desired priority ordering.
*
* @var string[]
*/
public $groupIds;
/**
* The namespace of the policy type for the request.
*
* @var string
*/
public $policyNamespace;
/**
* The schema name of the policy for the request.
*
* @var string
*/
public $policySchema;
protected $policyTargetKeyType = GoogleChromePolicyVersionsV1PolicyTargetKey::class;
protected $policyTargetKeyDataType = '';
/**
* Required. The group IDs, in desired priority ordering.
*
* @param string[] $groupIds
*/
public function setGroupIds($groupIds)
{
$this->groupIds = $groupIds;
}
/**
* @return string[]
*/
public function getGroupIds()
{
return $this->groupIds;
}
/**
* The namespace of the policy type for the request.
*
* @param string $policyNamespace
*/
public function setPolicyNamespace($policyNamespace)
{
$this->policyNamespace = $policyNamespace;
}
/**
* @return string
*/
public function getPolicyNamespace()
{
return $this->policyNamespace;
}
/**
* The schema name of the policy for the request.
*
* @param string $policySchema
*/
public function setPolicySchema($policySchema)
{
$this->policySchema = $policySchema;
}
/**
* @return string
*/
public function getPolicySchema()
{
return $this->policySchema;
}
/**
* Required. The key of the target for which we want to update the group
* priority ordering. The target resource must point to an app.
*
* @param GoogleChromePolicyVersionsV1PolicyTargetKey $policyTargetKey
*/
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,52 @@
<?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
{
/**
* Required. The fully qualified policy schema and field name this file is
* uploaded for. This information will be used to validate the content type of
* the file.
*
* @var string
*/
public $policyField;
/**
* Required. The fully qualified policy schema and field name this file is
* uploaded for. This information will be used to validate the content type of
* the file.
*
* @param string $policyField
*/
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,48 @@
<?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
{
/**
* The uri for end user to download the file.
*
* @var string
*/
public $downloadUri;
/**
* The uri for end user to download the file.
*
* @param string $downloadUri
*/
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,71 @@
<?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';
/**
* The size limit of uploaded files for a setting, in bytes.
*
* @var string
*/
public $sizeLimitBytes;
/**
* File types that can be uploaded for a setting.
*
* @var string[]
*/
public $supportedContentTypes;
/**
* The size limit of uploaded files for a setting, in bytes.
*
* @param string $sizeLimitBytes
*/
public function setSizeLimitBytes($sizeLimitBytes)
{
$this->sizeLimitBytes = $sizeLimitBytes;
}
/**
* @return string
*/
public function getSizeLimitBytes()
{
return $this->sizeLimitBytes;
}
/**
* File types that can be uploaded for a setting.
*
* @param string[] $supportedContentTypes
*/
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,100 @@
<?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
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
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,136 @@
<?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
{
public const VISIBILITY_VISIBILITY_UNSET = 'VISIBILITY_UNSET';
public const VISIBILITY_VISIBILITY_LOCAL = 'VISIBILITY_LOCAL';
public const VISIBILITY_VISIBILITY_EXPORT = 'VISIBILITY_EXPORT';
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';
/**
* Support for `export` and `local` keywords on enums.
*
* @var string
*/
public $visibility;
/**
* @param Proto2EnumDescriptorProto[] $enumType
*/
public function setEnumType($enumType)
{
$this->enumType = $enumType;
}
/**
* @return Proto2EnumDescriptorProto[]
*/
public function getEnumType()
{
return $this->enumType;
}
/**
* @param Proto2FieldDescriptorProto[] $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return Proto2FieldDescriptorProto[]
*/
public function getField()
{
return $this->field;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Proto2DescriptorProto[] $nestedType
*/
public function setNestedType($nestedType)
{
$this->nestedType = $nestedType;
}
/**
* @return Proto2DescriptorProto[]
*/
public function getNestedType()
{
return $this->nestedType;
}
/**
* @param Proto2OneofDescriptorProto[] $oneofDecl
*/
public function setOneofDecl($oneofDecl)
{
$this->oneofDecl = $oneofDecl;
}
/**
* @return Proto2OneofDescriptorProto[]
*/
public function getOneofDecl()
{
return $this->oneofDecl;
}
/**
* Support for `export` and `local` keywords on enums.
*
* Accepted values: VISIBILITY_UNSET, VISIBILITY_LOCAL, VISIBILITY_EXPORT
*
* @param self::VISIBILITY_* $visibility
*/
public function setVisibility($visibility)
{
$this->visibility = $visibility;
}
/**
* @return self::VISIBILITY_*
*/
public function getVisibility()
{
return $this->visibility;
}
}
// 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,88 @@
<?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
{
public const VISIBILITY_VISIBILITY_UNSET = 'VISIBILITY_UNSET';
public const VISIBILITY_VISIBILITY_LOCAL = 'VISIBILITY_LOCAL';
public const VISIBILITY_VISIBILITY_EXPORT = 'VISIBILITY_EXPORT';
protected $collection_key = 'value';
/**
* @var string
*/
public $name;
protected $valueType = Proto2EnumValueDescriptorProto::class;
protected $valueDataType = 'array';
/**
* Support for `export` and `local` keywords on enums.
*
* @var string
*/
public $visibility;
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Proto2EnumValueDescriptorProto[] $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return Proto2EnumValueDescriptorProto[]
*/
public function getValue()
{
return $this->value;
}
/**
* Support for `export` and `local` keywords on enums.
*
* Accepted values: VISIBILITY_UNSET, VISIBILITY_LOCAL, VISIBILITY_EXPORT
*
* @param self::VISIBILITY_* $visibility
*/
public function setVisibility($visibility)
{
$this->visibility = $visibility;
}
/**
* @return self::VISIBILITY_*
*/
public function getVisibility()
{
return $this->visibility;
}
}
// 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 $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int $number
*/
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,327 @@
<?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
{
/**
* 0 is reserved for errors
*/
public const LABEL_LABEL_OPTIONAL = 'LABEL_OPTIONAL';
public const LABEL_LABEL_REPEATED = 'LABEL_REPEATED';
/**
* The required label is only allowed in proto2. In proto3 and Editions it's
* explicitly prohibited. In Editions, the `field_presence` feature can be
* used to get this behavior.
*/
public const LABEL_LABEL_REQUIRED = 'LABEL_REQUIRED';
/**
* 0 is reserved for errors. Order is weird for historical reasons.
*/
public const TYPE_TYPE_DOUBLE = 'TYPE_DOUBLE';
public const TYPE_TYPE_FLOAT = 'TYPE_FLOAT';
/**
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
* negative values are likely.
*/
public const TYPE_TYPE_INT64 = 'TYPE_INT64';
public const TYPE_TYPE_UINT64 = 'TYPE_UINT64';
/**
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
* negative values are likely.
*/
public const TYPE_TYPE_INT32 = 'TYPE_INT32';
public const TYPE_TYPE_FIXED64 = 'TYPE_FIXED64';
public const TYPE_TYPE_FIXED32 = 'TYPE_FIXED32';
public const TYPE_TYPE_BOOL = 'TYPE_BOOL';
public const TYPE_TYPE_STRING = 'TYPE_STRING';
/**
* Tag-delimited aggregate. Group type is deprecated and not supported after
* proto2. However, Proto3 implementations should still be able to parse the
* group wire format and treat group fields as unknown fields. In Editions,
* the group wire format can be enabled via the `message_encoding` feature.
*/
public const TYPE_TYPE_GROUP = 'TYPE_GROUP';
/**
* Length-delimited aggregate.
*/
public const TYPE_TYPE_MESSAGE = 'TYPE_MESSAGE';
/**
* New in version 2.
*/
public const TYPE_TYPE_BYTES = 'TYPE_BYTES';
public const TYPE_TYPE_UINT32 = 'TYPE_UINT32';
public const TYPE_TYPE_ENUM = 'TYPE_ENUM';
public const TYPE_TYPE_SFIXED32 = 'TYPE_SFIXED32';
public const TYPE_TYPE_SFIXED64 = 'TYPE_SFIXED64';
/**
* Uses ZigZag encoding.
*/
public const TYPE_TYPE_SINT32 = 'TYPE_SINT32';
/**
* Uses ZigZag encoding.
*/
public const TYPE_TYPE_SINT64 = 'TYPE_SINT64';
/**
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false". For strings, contains the default text
* contents (not escaped in any way). For bytes, contains the C escaped value.
* All bytes >= 128 are escaped.
*
* @var string
*/
public $defaultValue;
/**
* JSON name of this field. The value is set by protocol compiler. If the user
* has set a "json_name" option on this field, that option's value will be
* used. Otherwise, it's deduced from the field's name by converting it to
* camelCase.
*
* @var string
*/
public $jsonName;
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
/**
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
* @var int
*/
public $oneofIndex;
/**
* If true, this is a proto3 "optional". When a proto3 field is optional, it
* tracks presence regardless of field type. When proto3_optional is true,
* this field must belong to a oneof to signal to old proto3 clients that
* presence is tracked for this field. This oneof is known as a "synthetic"
* oneof, and this field must be its sole member (each proto3 optional field
* gets its own synthetic oneof). Synthetic oneofs exist in the descriptor
* only, and do not generate any API. Synthetic oneofs must be ordered after
* all "real" oneofs. For message fields, proto3_optional doesn't create any
* semantic change, since non-repeated message fields always track presence.
* However it still indicates the semantic detail of whether the user wrote
* "optional" or not. This can be useful for round-tripping the .proto file.
* For consistency we give message fields a synthetic oneof also, even though
* it is not required to track presence. This is especially important because
* the parser can't tell if a field is a message or an enum, so it must always
* create a synthetic oneof. Proto2 optional fields do not set this flag,
* because they already indicate optional with `LABEL_OPTIONAL`.
*
* @var bool
*/
public $proto3Optional;
/**
* If type_name is set, this need not be set. If both this and type_name are
* set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
* @var string
*/
public $type;
/**
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules
* are used to find the type (i.e. first the nested types within this message
* are searched, then within the parent, on up to the root namespace).
*
* @var string
*/
public $typeName;
/**
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false". For strings, contains the default text
* contents (not escaped in any way). For bytes, contains the C escaped value.
* All bytes >= 128 are escaped.
*
* @param string $defaultValue
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return string
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* JSON name of this field. The value is set by protocol compiler. If the user
* has set a "json_name" option on this field, that option's value will be
* used. Otherwise, it's deduced from the field's name by converting it to
* camelCase.
*
* @param string $jsonName
*/
public function setJsonName($jsonName)
{
$this->jsonName = $jsonName;
}
/**
* @return string
*/
public function getJsonName()
{
return $this->jsonName;
}
/**
* @param self::LABEL_* $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return self::LABEL_*
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int $number
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
/**
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
* @param int $oneofIndex
*/
public function setOneofIndex($oneofIndex)
{
$this->oneofIndex = $oneofIndex;
}
/**
* @return int
*/
public function getOneofIndex()
{
return $this->oneofIndex;
}
/**
* If true, this is a proto3 "optional". When a proto3 field is optional, it
* tracks presence regardless of field type. When proto3_optional is true,
* this field must belong to a oneof to signal to old proto3 clients that
* presence is tracked for this field. This oneof is known as a "synthetic"
* oneof, and this field must be its sole member (each proto3 optional field
* gets its own synthetic oneof). Synthetic oneofs exist in the descriptor
* only, and do not generate any API. Synthetic oneofs must be ordered after
* all "real" oneofs. For message fields, proto3_optional doesn't create any
* semantic change, since non-repeated message fields always track presence.
* However it still indicates the semantic detail of whether the user wrote
* "optional" or not. This can be useful for round-tripping the .proto file.
* For consistency we give message fields a synthetic oneof also, even though
* it is not required to track presence. This is especially important because
* the parser can't tell if a field is a message or an enum, so it must always
* create a synthetic oneof. Proto2 optional fields do not set this flag,
* because they already indicate optional with `LABEL_OPTIONAL`.
*
* @param bool $proto3Optional
*/
public function setProto3Optional($proto3Optional)
{
$this->proto3Optional = $proto3Optional;
}
/**
* @return bool
*/
public function getProto3Optional()
{
return $this->proto3Optional;
}
/**
* If type_name is set, this need not be set. If both this and type_name are
* set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
* Accepted values: TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT64, TYPE_UINT64,
* TYPE_INT32, TYPE_FIXED64, TYPE_FIXED32, TYPE_BOOL, TYPE_STRING, TYPE_GROUP,
* TYPE_MESSAGE, TYPE_BYTES, TYPE_UINT32, TYPE_ENUM, TYPE_SFIXED32,
* TYPE_SFIXED64, TYPE_SINT32, TYPE_SINT64
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules
* are used to find the type (i.e. first the nested types within this message
* are searched, then within the parent, on up to the root namespace).
*
* @param string $typeName
*/
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,186 @@
<?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 = 'optionDependency';
/**
* copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in
* favor of enums. copybara:strip_end
*
* @deprecated
* @var string
*/
public $editionDeprecated;
protected $enumTypeType = Proto2EnumDescriptorProto::class;
protected $enumTypeDataType = 'array';
protected $messageTypeType = Proto2DescriptorProto::class;
protected $messageTypeDataType = 'array';
/**
* file name, relative to root of source tree
*
* @var string
*/
public $name;
/**
* Names of files imported by this file purely for the purpose of providing
* option extensions. These are excluded from the dependency list above.
*
* @var string[]
*/
public $optionDependency;
/**
* e.g. "foo", "foo.bar", etc.
*
* @var string
*/
public $package;
/**
* The syntax of the proto file. The supported values are "proto2", "proto3",
* and "editions". If `edition` is present, this value must be "editions".
* WARNING: This field should only be used by protobuf plugins or special
* cases like the proto compiler. Other uses are discouraged and developers
* should rely on the protoreflect APIs for their client language.
*
* @var string
*/
public $syntax;
/**
* copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in
* favor of enums. copybara:strip_end
*
* @deprecated
* @param string $editionDeprecated
*/
public function setEditionDeprecated($editionDeprecated)
{
$this->editionDeprecated = $editionDeprecated;
}
/**
* @deprecated
* @return string
*/
public function getEditionDeprecated()
{
return $this->editionDeprecated;
}
/**
* @param Proto2EnumDescriptorProto[] $enumType
*/
public function setEnumType($enumType)
{
$this->enumType = $enumType;
}
/**
* @return Proto2EnumDescriptorProto[]
*/
public function getEnumType()
{
return $this->enumType;
}
/**
* All top-level definitions in this file.
*
* @param Proto2DescriptorProto[] $messageType
*/
public function setMessageType($messageType)
{
$this->messageType = $messageType;
}
/**
* @return Proto2DescriptorProto[]
*/
public function getMessageType()
{
return $this->messageType;
}
/**
* file name, relative to root of source tree
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Names of files imported by this file purely for the purpose of providing
* option extensions. These are excluded from the dependency list above.
*
* @param string[] $optionDependency
*/
public function setOptionDependency($optionDependency)
{
$this->optionDependency = $optionDependency;
}
/**
* @return string[]
*/
public function getOptionDependency()
{
return $this->optionDependency;
}
/**
* e.g. "foo", "foo.bar", etc.
*
* @param string $package
*/
public function setPackage($package)
{
$this->package = $package;
}
/**
* @return string
*/
public function getPackage()
{
return $this->package;
}
/**
* The syntax of the proto file. The supported values are "proto2", "proto3",
* and "editions". If `edition` is present, this value must be "editions".
* WARNING: This field should only be used by protobuf plugins or special
* cases like the proto compiler. Other uses are discouraged and developers
* should rely on the protoreflect APIs for their client language.
*
* @param string $syntax
*/
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 $name
*/
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');