📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Docs
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddDocumentTabRequest.php
▶ Open 📄 View Source
🐘 AddDocumentTabResponse.php
▶ Open 📄 View Source
🐘 AutoText.php
▶ Open 📄 View Source
🐘 Background.php
▶ Open 📄 View Source
🐘 BackgroundSuggestionState.php
▶ Open 📄 View Source
🐘 BatchUpdateDocumentRequest.php
▶ Open 📄 View Source
🐘 BatchUpdateDocumentResponse.php
▶ Open 📄 View Source
🐘 Body.php
▶ Open 📄 View Source
🐘 BookmarkLink.php
▶ Open 📄 View Source
🐘 Bullet.php
▶ Open 📄 View Source
🐘 BulletSuggestionState.php
▶ Open 📄 View Source
🐘 Color.php
▶ Open 📄 View Source
🐘 ColumnBreak.php
▶ Open 📄 View Source
🐘 CreateFooterRequest.php
▶ Open 📄 View Source
🐘 CreateFooterResponse.php
▶ Open 📄 View Source
🐘 CreateFootnoteRequest.php
▶ Open 📄 View Source
🐘 CreateFootnoteResponse.php
▶ Open 📄 View Source
🐘 CreateHeaderRequest.php
▶ Open 📄 View Source
🐘 CreateHeaderResponse.php
▶ Open 📄 View Source
🐘 CreateNamedRangeRequest.php
▶ Open 📄 View Source
🐘 CreateNamedRangeResponse.php
▶ Open 📄 View Source
🐘 CreateParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 CropProperties.php
▶ Open 📄 View Source
🐘 CropPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 DateElement.php
▶ Open 📄 View Source
🐘 DateElementProperties.php
▶ Open 📄 View Source
🐘 DateElementPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 DeleteContentRangeRequest.php
▶ Open 📄 View Source
🐘 DeleteFooterRequest.php
▶ Open 📄 View Source
🐘 DeleteHeaderRequest.php
▶ Open 📄 View Source
🐘 DeleteNamedRangeRequest.php
▶ Open 📄 View Source
🐘 DeleteParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 DeletePositionedObjectRequest.php
▶ Open 📄 View Source
🐘 DeleteTabRequest.php
▶ Open 📄 View Source
🐘 DeleteTableColumnRequest.php
▶ Open 📄 View Source
🐘 DeleteTableRowRequest.php
▶ Open 📄 View Source
🐘 Dimension.php
▶ Open 📄 View Source
🐘 DocsList.php
▶ Open 📄 View Source
🐘 Document.php
▶ Open 📄 View Source
🐘 DocumentFormat.php
▶ Open 📄 View Source
🐘 DocumentStyle.php
▶ Open 📄 View Source
🐘 DocumentStyleSuggestionState.php
▶ Open 📄 View Source
🐘 DocumentTab.php
▶ Open 📄 View Source
🐘 EmbeddedDrawingProperties.php
▶ Open 📄 View Source
🐘 EmbeddedDrawingPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 EmbeddedObject.php
▶ Open 📄 View Source
🐘 EmbeddedObjectBorder.php
▶ Open 📄 View Source
🐘 EmbeddedObjectBorderSuggestionState.php
▶ Open 📄 View Source
🐘 EmbeddedObjectSuggestionState.php
▶ Open 📄 View Source
🐘 EndOfSegmentLocation.php
▶ Open 📄 View Source
🐘 Equation.php
▶ Open 📄 View Source
🐘 Footer.php
▶ Open 📄 View Source
🐘 Footnote.php
▶ Open 📄 View Source
🐘 FootnoteReference.php
▶ Open 📄 View Source
🐘 Header.php
▶ Open 📄 View Source
🐘 HeadingLink.php
▶ Open 📄 View Source
🐘 HorizontalRule.php
▶ Open 📄 View Source
🐘 ImageProperties.php
▶ Open 📄 View Source
🐘 ImagePropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 InlineObject.php
▶ Open 📄 View Source
🐘 InlineObjectElement.php
▶ Open 📄 View Source
🐘 InlineObjectProperties.php
▶ Open 📄 View Source
🐘 InlineObjectPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 InsertDateRequest.php
▶ Open 📄 View Source
🐘 InsertInlineImageRequest.php
▶ Open 📄 View Source
🐘 InsertInlineImageResponse.php
▶ Open 📄 View Source
🐘 InsertInlineSheetsChartResponse.php
▶ Open 📄 View Source
🐘 InsertPageBreakRequest.php
▶ Open 📄 View Source
🐘 InsertPersonRequest.php
▶ Open 📄 View Source
🐘 InsertRichLinkRequest.php
▶ Open 📄 View Source
🐘 InsertSectionBreakRequest.php
▶ Open 📄 View Source
🐘 InsertTableColumnRequest.php
▶ Open 📄 View Source
🐘 InsertTableRequest.php
▶ Open 📄 View Source
🐘 InsertTableRowRequest.php
▶ Open 📄 View Source
🐘 InsertTextRequest.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 LinkedContentReference.php
▶ Open 📄 View Source
🐘 LinkedContentReferenceSuggestionState.php
▶ Open 📄 View Source
🐘 ListProperties.php
▶ Open 📄 View Source
🐘 ListPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 NamedRange.php
▶ Open 📄 View Source
🐘 NamedRanges.php
▶ Open 📄 View Source
🐘 NamedStyle.php
▶ Open 📄 View Source
🐘 NamedStyleSuggestionState.php
▶ Open 📄 View Source
🐘 NamedStyles.php
▶ Open 📄 View Source
🐘 NamedStylesSuggestionState.php
▶ Open 📄 View Source
🐘 NestingLevel.php
▶ Open 📄 View Source
🐘 NestingLevelSuggestionState.php
▶ Open 📄 View Source
🐘 ObjectReferences.php
▶ Open 📄 View Source
🐘 OptionalColor.php
▶ Open 📄 View Source
🐘 PageBreak.php
▶ Open 📄 View Source
🐘 Paragraph.php
▶ Open 📄 View Source
🐘 ParagraphBorder.php
▶ Open 📄 View Source
🐘 ParagraphElement.php
▶ Open 📄 View Source
🐘 ParagraphStyle.php
▶ Open 📄 View Source
🐘 ParagraphStyleSuggestionState.php
▶ Open 📄 View Source
🐘 Person.php
▶ Open 📄 View Source
🐘 PersonProperties.php
▶ Open 📄 View Source
🐘 PinTableHeaderRowsRequest.php
▶ Open 📄 View Source
🐘 PositionedObject.php
▶ Open 📄 View Source
🐘 PositionedObjectPositioning.php
▶ Open 📄 View Source
🐘 PositionedObjectPositioningSuggestionState.php
▶ Open 📄 View Source
🐘 PositionedObjectProperties.php
▶ Open 📄 View Source
🐘 PositionedObjectPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 Range.php
▶ Open 📄 View Source
🐘 ReplaceAllTextRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllTextResponse.php
▶ Open 📄 View Source
🐘 ReplaceImageRequest.php
▶ Open 📄 View Source
🐘 ReplaceNamedRangeContentRequest.php
▶ Open 📄 View Source
🐘 Request.php
▶ Open 📄 View Source
🐘 Response.php
▶ Open 📄 View Source
🐘 RgbColor.php
▶ Open 📄 View Source
🐘 RichLink.php
▶ Open 📄 View Source
🐘 RichLinkProperties.php
▶ Open 📄 View Source
🐘 SectionBreak.php
▶ Open 📄 View Source
🐘 SectionColumnProperties.php
▶ Open 📄 View Source
🐘 SectionStyle.php
▶ Open 📄 View Source
🐘 Shading.php
▶ Open 📄 View Source
🐘 ShadingSuggestionState.php
▶ Open 📄 View Source
🐘 SheetsChartReference.php
▶ Open 📄 View Source
🐘 SheetsChartReferenceSuggestionState.php
▶ Open 📄 View Source
🐘 Size.php
▶ Open 📄 View Source
🐘 SizeSuggestionState.php
▶ Open 📄 View Source
🐘 StructuralElement.php
▶ Open 📄 View Source
🐘 SubstringMatchCriteria.php
▶ Open 📄 View Source
🐘 SuggestedBullet.php
▶ Open 📄 View Source
🐘 SuggestedDateElementProperties.php
▶ Open 📄 View Source
🐘 SuggestedDocumentStyle.php
▶ Open 📄 View Source
🐘 SuggestedInlineObjectProperties.php
▶ Open 📄 View Source
🐘 SuggestedListProperties.php
▶ Open 📄 View Source
🐘 SuggestedNamedStyles.php
▶ Open 📄 View Source
🐘 SuggestedParagraphStyle.php
▶ Open 📄 View Source
🐘 SuggestedPositionedObjectProperties.php
▶ Open 📄 View Source
🐘 SuggestedTableCellStyle.php
▶ Open 📄 View Source
🐘 SuggestedTableRowStyle.php
▶ Open 📄 View Source
🐘 SuggestedTextStyle.php
▶ Open 📄 View Source
🐘 Tab.php
▶ Open 📄 View Source
🐘 TabProperties.php
▶ Open 📄 View Source
🐘 TabStop.php
▶ Open 📄 View Source
🐘 Table.php
▶ Open 📄 View Source
🐘 TableCell.php
▶ Open 📄 View Source
🐘 TableCellBorder.php
▶ Open 📄 View Source
🐘 TableCellLocation.php
▶ Open 📄 View Source
🐘 TableCellStyle.php
▶ Open 📄 View Source
🐘 TableCellStyleSuggestionState.php
▶ Open 📄 View Source
🐘 TableColumnProperties.php
▶ Open 📄 View Source
🐘 TableOfContents.php
▶ Open 📄 View Source
🐘 TableRange.php
▶ Open 📄 View Source
🐘 TableRow.php
▶ Open 📄 View Source
🐘 TableRowStyle.php
▶ Open 📄 View Source
🐘 TableRowStyleSuggestionState.php
▶ Open 📄 View Source
🐘 TableStyle.php
▶ Open 📄 View Source
🐘 TabsCriteria.php
▶ Open 📄 View Source
🐘 TextRun.php
▶ Open 📄 View Source
🐘 TextStyle.php
▶ Open 📄 View Source
🐘 TextStyleSuggestionState.php
▶ Open 📄 View Source
🐘 UnmergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 UpdateDocumentStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateDocumentTabPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateNamedStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateParagraphStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateSectionStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTableCellStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTableColumnPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTableRowStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTextStyleRequest.php
▶ Open 📄 View Source
🐘 WeightedFontFamily.php
▶ Open 📄 View Source
🐘 WriteControl.php
▶ Open 📄 View Source

📄 Source: DateElementProperties.php

<?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\Docs;

class DateElementProperties extends \Google\Model
{
  /**
   * The date format is unspecified.
   */
  public const DATE_FORMAT_DATE_FORMAT_UNSPECIFIED = 'DATE_FORMAT_UNSPECIFIED';
  /**
   * Output only. The date format is imported from an external source.
   */
  public const DATE_FORMAT_DATE_FORMAT_CUSTOM = 'DATE_FORMAT_CUSTOM';
  /**
   * The date format is an abbreviated month followed by the day. For example,
   * "Jan 1".
   */
  public const DATE_FORMAT_DATE_FORMAT_MONTH_DAY_ABBREVIATED = 'DATE_FORMAT_MONTH_DAY_ABBREVIATED';
  /**
   * The date format is a month followed by the day. For example, "January 01".
   */
  public const DATE_FORMAT_DATE_FORMAT_MONTH_DAY_FULL = 'DATE_FORMAT_MONTH_DAY_FULL';
  /**
   * The date format is an abbreviated month followed by the day and the year.
   * For example, "Jan 1, 1970".
   */
  public const DATE_FORMAT_DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED = 'DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED';
  /**
   * The date format is in ISO 8601 format. For example, "1970-01-01".
   */
  public const DATE_FORMAT_DATE_FORMAT_ISO8601 = 'DATE_FORMAT_ISO8601';
  /**
   * The time format is unspecified.
   */
  public const TIME_FORMAT_TIME_FORMAT_UNSPECIFIED = 'TIME_FORMAT_UNSPECIFIED';
  /**
   * Indicates that the date does not have a time.
   */
  public const TIME_FORMAT_TIME_FORMAT_DISABLED = 'TIME_FORMAT_DISABLED';
  /**
   * The time format shows the hour and minute. For example, "Jan 1, 1970 12:00
   * PM".
   */
  public const TIME_FORMAT_TIME_FORMAT_HOUR_MINUTE = 'TIME_FORMAT_HOUR_MINUTE';
  /**
   * The time format shows the hour, minute, and timezone. For example, "Jan 1,
   * 1970 12:00 PM UTC".
   */
  public const TIME_FORMAT_TIME_FORMAT_HOUR_MINUTE_TIMEZONE = 'TIME_FORMAT_HOUR_MINUTE_TIMEZONE';
  /**
   * Determines how the date part of the DateElement will be displayed in the
   * document. If unset, the default value is
   * DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
   * formatted as `MMM d, y` in `en`, or locale specific equivalent.
   *
   * @var string
   */
  public $dateFormat;
  /**
   * Output only. Indicates how the DateElement is displayed in the document.
   *
   * @var string
   */
  public $displayText;
  /**
   * The language code of the DateElement. For example, `en`. If unset, the
   * default locale is `en`. Limited to the following locales: `af`, `am`, `ar`,
   * `as`, `az`, `be`, `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`,
   * `en-GB`, `es`, `es-419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`,
   * `gl`, `gu`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`,
   * `kk`, `km`, `kn`, `ko`, `lo`, `lt`, `lv`, `mk`, `ml`, `mn`, `mr`, `ms`,
   * `ne`, `nl`, `no`, `or`, `pa`, `pl`, `pt-BR`, `pt-PT`, `ro`, `ru`, `si`,
   * `sk`, `sl`, `sq`, `sr`, `sv`, `sw`, `ta`, `te`, `th`, `tr`, `uk`, `ur`,
   * `uz`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`, `my`.
   *
   * @var string
   */
  public $locale;
  /**
   * Determines how the time part of the DateElement will be displayed in the
   * document. If unset, the default value is TIME_FORMAT_DISABLED, indicating
   * no time should be shown.
   *
   * @var string
   */
  public $timeFormat;
  /**
   * The time zone of the DateElement, as defined by the Unicode Common Locale
   * Data Repository (CLDR) project. For example, `America/New_York`. If unset,
   * the default time zone is `etc/UTC`.
   *
   * @var string
   */
  public $timeZoneId;
  /**
   * The point in time to represent, in seconds and nanoseconds since Unix
   * epoch: January 1, 1970 at midnight UTC. Timestamp is expected to be in UTC.
   * If time_zone_id is set, the timestamp is adjusted according to the time
   * zone. For example, a timestamp of `18000` with a date format of
   * `DATE_FORMAT_ISO8601` and time format of `TIME_FORMAT_HOUR_MINUTE` would be
   * displayed as `1970-01-01 5:00 AM`. A timestamp of `18000` with date format
   * of `DATE_FORMAT_ISO8601`, time format of `TIME_FORMAT_HOUR_MINUTE`, and
   * time zone set to `America/New_York` will instead be `1970-01-01 12:00 AM`.
   *
   * @var string
   */
  public $timestamp;

  /**
   * Determines how the date part of the DateElement will be displayed in the
   * document. If unset, the default value is
   * DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
   * formatted as `MMM d, y` in `en`, or locale specific equivalent.
   *
   * Accepted values: DATE_FORMAT_UNSPECIFIED, DATE_FORMAT_CUSTOM,
   * DATE_FORMAT_MONTH_DAY_ABBREVIATED, DATE_FORMAT_MONTH_DAY_FULL,
   * DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, DATE_FORMAT_ISO8601
   *
   * @param self::DATE_FORMAT_* $dateFormat
   */
  public function setDateFormat($dateFormat)
  {
    $this->dateFormat = $dateFormat;
  }
  /**
   * @return self::DATE_FORMAT_*
   */
  public function getDateFormat()
  {
    return $this->dateFormat;
  }
  /**
   * Output only. Indicates how the DateElement is displayed in the document.
   *
   * @param string $displayText
   */
  public function setDisplayText($displayText)
  {
    $this->displayText = $displayText;
  }
  /**
   * @return string
   */
  public function getDisplayText()
  {
    return $this->displayText;
  }
  /**
   * The language code of the DateElement. For example, `en`. If unset, the
   * default locale is `en`. Limited to the following locales: `af`, `am`, `ar`,
   * `as`, `az`, `be`, `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`,
   * `en-GB`, `es`, `es-419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`,
   * `gl`, `gu`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`,
   * `kk`, `km`, `kn`, `ko`, `lo`, `lt`, `lv`, `mk`, `ml`, `mn`, `mr`, `ms`,
   * `ne`, `nl`, `no`, `or`, `pa`, `pl`, `pt-BR`, `pt-PT`, `ro`, `ru`, `si`,
   * `sk`, `sl`, `sq`, `sr`, `sv`, `sw`, `ta`, `te`, `th`, `tr`, `uk`, `ur`,
   * `uz`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`, `my`.
   *
   * @param string $locale
   */
  public function setLocale($locale)
  {
    $this->locale = $locale;
  }
  /**
   * @return string
   */
  public function getLocale()
  {
    return $this->locale;
  }
  /**
   * Determines how the time part of the DateElement will be displayed in the
   * document. If unset, the default value is TIME_FORMAT_DISABLED, indicating
   * no time should be shown.
   *
   * Accepted values: TIME_FORMAT_UNSPECIFIED, TIME_FORMAT_DISABLED,
   * TIME_FORMAT_HOUR_MINUTE, TIME_FORMAT_HOUR_MINUTE_TIMEZONE
   *
   * @param self::TIME_FORMAT_* $timeFormat
   */
  public function setTimeFormat($timeFormat)
  {
    $this->timeFormat = $timeFormat;
  }
  /**
   * @return self::TIME_FORMAT_*
   */
  public function getTimeFormat()
  {
    return $this->timeFormat;
  }
  /**
   * The time zone of the DateElement, as defined by the Unicode Common Locale
   * Data Repository (CLDR) project. For example, `America/New_York`. If unset,
   * the default time zone is `etc/UTC`.
   *
   * @param string $timeZoneId
   */
  public function setTimeZoneId($timeZoneId)
  {
    $this->timeZoneId = $timeZoneId;
  }
  /**
   * @return string
   */
  public function getTimeZoneId()
  {
    return $this->timeZoneId;
  }
  /**
   * The point in time to represent, in seconds and nanoseconds since Unix
   * epoch: January 1, 1970 at midnight UTC. Timestamp is expected to be in UTC.
   * If time_zone_id is set, the timestamp is adjusted according to the time
   * zone. For example, a timestamp of `18000` with a date format of
   * `DATE_FORMAT_ISO8601` and time format of `TIME_FORMAT_HOUR_MINUTE` would be
   * displayed as `1970-01-01 5:00 AM`. A timestamp of `18000` with date format
   * of `DATE_FORMAT_ISO8601`, time format of `TIME_FORMAT_HOUR_MINUTE`, and
   * time zone set to `America/New_York` will instead be `1970-01-01 12:00 AM`.
   *
   * @param string $timestamp
   */
  public function setTimestamp($timestamp)
  {
    $this->timestamp = $timestamp;
  }
  /**
   * @return string
   */
  public function getTimestamp()
  {
    return $this->timestamp;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateElementProperties::class, 'Google_Service_Docs_DateElementProperties');
← Back