displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * The ETag of the field. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * The unique identifier of the field (Read-only) * * @param string $fieldId */ public function setFieldId($fieldId) { $this->fieldId = $fieldId; } /** * @return string */ public function getFieldId() { return $this->fieldId; } /** * The name of the field. * * @param string $fieldName */ public function setFieldName($fieldName) { $this->fieldName = $fieldName; } /** * @return string */ public function getFieldName() { return $this->fieldName; } /** * The type of the field. * * @param string $fieldType */ public function setFieldType($fieldType) { $this->fieldType = $fieldType; } /** * @return string */ public function getFieldType() { return $this->fieldType; } /** * Boolean specifying whether the field is indexed or not. Default: `true`. * * @param bool $indexed */ public function setIndexed($indexed) { $this->indexed = $indexed; } /** * @return bool */ public function getIndexed() { return $this->indexed; } /** * The kind of resource this is. For schema fields this is always * `admin#directory#schema#fieldspec`. * * @param string $kind */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * A boolean specifying whether this is a multi-valued field or not. Default: * `false`. * * @param bool $multiValued */ public function setMultiValued($multiValued) { $this->multiValued = $multiValued; } /** * @return bool */ public function getMultiValued() { return $this->multiValued; } /** * Indexing spec for a numeric field. By default, only exact match queries * will be supported for numeric fields. Setting the `numericIndexingSpec` * allows range queries to be supported. * * @param SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec */ public function setNumericIndexingSpec(SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec) { $this->numericIndexingSpec = $numericIndexingSpec; } /** * @return SchemaFieldSpecNumericIndexingSpec */ public function getNumericIndexingSpec() { return $this->numericIndexingSpec; } /** * Specifies who can view values of this field. See [Retrieve users as a non-a * dministrator](https://developers.google.com/workspace/admin/directory/v1/gu * ides/manage-users#retrieve_users_non_admin) for more information. Note: It * may take up to 24 hours for changes to this field to be reflected. * * @param string $readAccessType */ public function setReadAccessType($readAccessType) { $this->readAccessType = $readAccessType; } /** * @return string */ public function getReadAccessType() { return $this->readAccessType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SchemaFieldSpec::class, 'Google_Service_Directory_SchemaFieldSpec');