|
| 1 | +<?php |
| 2 | +/* |
| 3 | + * Copyright 2014 Google Inc. |
| 4 | + * |
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | + * use this file except in compliance with the License. You may obtain a copy of |
| 7 | + * the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | + * License for the specific language governing permissions and limitations under |
| 15 | + * the License. |
| 16 | + */ |
| 17 | + |
| 18 | +namespace Google\Service\ChromeManagement; |
| 19 | + |
| 20 | +class GoogleChromeManagementVersionsV1ConnectorConfig extends \Google\Model |
| 21 | +{ |
| 22 | + /** |
| 23 | + * Default value. This value is unused. |
| 24 | + */ |
| 25 | + public const TYPE_CONNECTOR_TYPE_UNSPECIFIED = 'CONNECTOR_TYPE_UNSPECIFIED'; |
| 26 | + /** |
| 27 | + * Reporting connector. |
| 28 | + */ |
| 29 | + public const TYPE_REPORTING = 'REPORTING'; |
| 30 | + /** |
| 31 | + * Device trust connector. |
| 32 | + */ |
| 33 | + public const TYPE_DEVICE_TRUST = 'DEVICE_TRUST'; |
| 34 | + /** |
| 35 | + * XDR connector. |
| 36 | + */ |
| 37 | + public const TYPE_XDR = 'XDR'; |
| 38 | + /** |
| 39 | + * Authentication connector. |
| 40 | + */ |
| 41 | + public const TYPE_IDENTITY_BASED_ENROLLMENT = 'IDENTITY_BASED_ENROLLMENT'; |
| 42 | + /** |
| 43 | + * Certificate authority connector. Not yet supported in the API. |
| 44 | + */ |
| 45 | + public const TYPE_CERTIFICATE_AUTHORITY = 'CERTIFICATE_AUTHORITY'; |
| 46 | + /** |
| 47 | + * Root certificate connector. |
| 48 | + */ |
| 49 | + public const TYPE_ROOT_STORE = 'ROOT_STORE'; |
| 50 | + protected $detailsType = GoogleChromeManagementVersionsV1ConnectorConfigDetails::class; |
| 51 | + protected $detailsDataType = ''; |
| 52 | + /** |
| 53 | + * Required. The display name of the config. |
| 54 | + * |
| 55 | + * @var string |
| 56 | + */ |
| 57 | + public $displayName; |
| 58 | + /** |
| 59 | + * Optional. This checksum is computed by the server based on the value of |
| 60 | + * other fields, and may be sent on update and delete requests to ensure the |
| 61 | + * client has an up-to-date value before proceeding. |
| 62 | + * |
| 63 | + * @var string |
| 64 | + */ |
| 65 | + public $etag; |
| 66 | + /** |
| 67 | + * Identifier. Format: |
| 68 | + * customers/{customer}/connectorConfigs/{connector_config} |
| 69 | + * |
| 70 | + * @var string |
| 71 | + */ |
| 72 | + public $name; |
| 73 | + protected $statusType = GoogleChromeManagementVersionsV1ConnectorConfigStatus::class; |
| 74 | + protected $statusDataType = ''; |
| 75 | + /** |
| 76 | + * Required. The type of the connector. |
| 77 | + * |
| 78 | + * @var string |
| 79 | + */ |
| 80 | + public $type; |
| 81 | + |
| 82 | + /** |
| 83 | + * Required. The details of the connector config. |
| 84 | + * |
| 85 | + * @param GoogleChromeManagementVersionsV1ConnectorConfigDetails $details |
| 86 | + */ |
| 87 | + public function setDetails(GoogleChromeManagementVersionsV1ConnectorConfigDetails $details) |
| 88 | + { |
| 89 | + $this->details = $details; |
| 90 | + } |
| 91 | + /** |
| 92 | + * @return GoogleChromeManagementVersionsV1ConnectorConfigDetails |
| 93 | + */ |
| 94 | + public function getDetails() |
| 95 | + { |
| 96 | + return $this->details; |
| 97 | + } |
| 98 | + /** |
| 99 | + * Required. The display name of the config. |
| 100 | + * |
| 101 | + * @param string $displayName |
| 102 | + */ |
| 103 | + public function setDisplayName($displayName) |
| 104 | + { |
| 105 | + $this->displayName = $displayName; |
| 106 | + } |
| 107 | + /** |
| 108 | + * @return string |
| 109 | + */ |
| 110 | + public function getDisplayName() |
| 111 | + { |
| 112 | + return $this->displayName; |
| 113 | + } |
| 114 | + /** |
| 115 | + * Optional. This checksum is computed by the server based on the value of |
| 116 | + * other fields, and may be sent on update and delete requests to ensure the |
| 117 | + * client has an up-to-date value before proceeding. |
| 118 | + * |
| 119 | + * @param string $etag |
| 120 | + */ |
| 121 | + public function setEtag($etag) |
| 122 | + { |
| 123 | + $this->etag = $etag; |
| 124 | + } |
| 125 | + /** |
| 126 | + * @return string |
| 127 | + */ |
| 128 | + public function getEtag() |
| 129 | + { |
| 130 | + return $this->etag; |
| 131 | + } |
| 132 | + /** |
| 133 | + * Identifier. Format: |
| 134 | + * customers/{customer}/connectorConfigs/{connector_config} |
| 135 | + * |
| 136 | + * @param string $name |
| 137 | + */ |
| 138 | + public function setName($name) |
| 139 | + { |
| 140 | + $this->name = $name; |
| 141 | + } |
| 142 | + /** |
| 143 | + * @return string |
| 144 | + */ |
| 145 | + public function getName() |
| 146 | + { |
| 147 | + return $this->name; |
| 148 | + } |
| 149 | + /** |
| 150 | + * Output only. The status of the connector config. |
| 151 | + * |
| 152 | + * @param GoogleChromeManagementVersionsV1ConnectorConfigStatus $status |
| 153 | + */ |
| 154 | + public function setStatus(GoogleChromeManagementVersionsV1ConnectorConfigStatus $status) |
| 155 | + { |
| 156 | + $this->status = $status; |
| 157 | + } |
| 158 | + /** |
| 159 | + * @return GoogleChromeManagementVersionsV1ConnectorConfigStatus |
| 160 | + */ |
| 161 | + public function getStatus() |
| 162 | + { |
| 163 | + return $this->status; |
| 164 | + } |
| 165 | + /** |
| 166 | + * Required. The type of the connector. |
| 167 | + * |
| 168 | + * Accepted values: CONNECTOR_TYPE_UNSPECIFIED, REPORTING, DEVICE_TRUST, XDR, |
| 169 | + * IDENTITY_BASED_ENROLLMENT, CERTIFICATE_AUTHORITY, ROOT_STORE |
| 170 | + * |
| 171 | + * @param self::TYPE_* $type |
| 172 | + */ |
| 173 | + public function setType($type) |
| 174 | + { |
| 175 | + $this->type = $type; |
| 176 | + } |
| 177 | + /** |
| 178 | + * @return self::TYPE_* |
| 179 | + */ |
| 180 | + public function getType() |
| 181 | + { |
| 182 | + return $this->type; |
| 183 | + } |
| 184 | +} |
| 185 | + |
| 186 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 187 | +class_alias(GoogleChromeManagementVersionsV1ConnectorConfig::class, 'Google_Service_ChromeManagement_GoogleChromeManagementVersionsV1ConnectorConfig'); |
0 commit comments