📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AccessSettings.php
▶ Open 📄 View Source
🐘 AccessoryWidget.php
▶ Open 📄 View Source
🐘 ActionParameter.php
▶ Open 📄 View Source
🐘 ActionResponse.php
▶ Open 📄 View Source
🐘 ActionStatus.php
▶ Open 📄 View Source
🐘 Annotation.php
▶ Open 📄 View Source
🐘 AppCommandMetadata.php
▶ Open 📄 View Source
🐘 AttachedGif.php
▶ Open 📄 View Source
🐘 Attachment.php
▶ Open 📄 View Source
🐘 AttachmentDataRef.php
▶ Open 📄 View Source
🐘 Button.php
▶ Open 📄 View Source
🐘 CalendarEventLinkData.php
▶ Open 📄 View Source
🐘 Card.php
▶ Open 📄 View Source
🐘 CardAction.php
▶ Open 📄 View Source
🐘 CardHeader.php
▶ Open 📄 View Source
🐘 CardWithId.php
▶ Open 📄 View Source
🐘 ChatAppLogEntry.php
▶ Open 📄 View Source
🐘 ChatClientDataSourceMarkup.php
▶ Open 📄 View Source
🐘 ChatEmpty.php
▶ Open 📄 View Source
🐘 ChatSpaceLinkData.php
▶ Open 📄 View Source
🐘 Color.php
▶ Open 📄 View Source
🐘 CommonEventObject.php
▶ Open 📄 View Source
🐘 CompleteImportSpaceRequest.php
▶ Open 📄 View Source
🐘 CompleteImportSpaceResponse.php
▶ Open 📄 View Source
🐘 CustomEmoji.php
▶ Open 📄 View Source
🐘 CustomEmojiMetadata.php
▶ Open 📄 View Source
🐘 CustomEmojiPayload.php
▶ Open 📄 View Source
🐘 DateInput.php
▶ Open 📄 View Source
🐘 DateTimeInput.php
▶ Open 📄 View Source
🐘 DeletionMetadata.php
▶ Open 📄 View Source
🐘 DeprecatedEvent.php
▶ Open 📄 View Source
🐘 Dialog.php
▶ Open 📄 View Source
🐘 DialogAction.php
▶ Open 📄 View Source
🐘 DriveDataRef.php
▶ Open 📄 View Source
🐘 DriveLinkData.php
▶ Open 📄 View Source
🐘 DynamiteIntegrationLogEntry.php
▶ Open 📄 View Source
🐘 Emoji.php
▶ Open 📄 View Source
🐘 EmojiReactionSummary.php
▶ Open 📄 View Source
🐘 FindGroupChatsResponse.php
▶ Open 📄 View Source
🐘 FormAction.php
▶ Open 📄 View Source
🐘 ForwardedMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Action.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ActionParameter.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1AppUri.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1BorderStyle.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Button.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ButtonList.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Card.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CardAction.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CardFixedFooter.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CardHeader.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Carousel.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CarouselCard.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Chip.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ChipList.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CollapseControl.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Column.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Columns.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1CommonWidgetAction.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Condition.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1DataSourceConfig.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1DateTimePicker.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1DecoratedText.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Divider.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1EventAction.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ExpressionData.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ExpressionDataCondition.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ExtraData.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1FooterWidget.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Grid.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1GridItem.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Icon.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Image.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ImageComponent.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1ImageCropStyle.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Intent.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1MaterialIcon.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1NestedWidget.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1OnClick.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1OpenLink.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1OverflowMenu.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1OverflowMenuItem.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1PlatformDataSource.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Section.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1SelectionInput.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1SelectionItem.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1SuggestionItem.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Suggestions.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1SwitchControl.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1TextInput.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1TextParagraph.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Trigger.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1UpdateVisibilityAction.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Validation.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Widget.php
▶ Open 📄 View Source
🐘 GoogleAppsCardV1Widgets.php
▶ Open 📄 View Source
🐘 GoogleChatV1Section.php
▶ Open 📄 View Source
🐘 Group.php
▶ Open 📄 View Source
🐘 HostAppDataSourceMarkup.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 ImageButton.php
▶ Open 📄 View Source
🐘 Inputs.php
▶ Open 📄 View Source
🐘 KeyValue.php
▶ Open 📄 View Source
🐘 ListCustomEmojisResponse.php
▶ Open 📄 View Source
🐘 ListMembershipsResponse.php
▶ Open 📄 View Source
🐘 ListMessagesResponse.php
▶ Open 📄 View Source
🐘 ListReactionsResponse.php
▶ Open 📄 View Source
🐘 ListSectionItemsResponse.php
▶ Open 📄 View Source
🐘 ListSectionsResponse.php
▶ Open 📄 View Source
🐘 ListSpaceEventsResponse.php
▶ Open 📄 View Source
🐘 ListSpacesResponse.php
▶ Open 📄 View Source
🐘 MatchedUrl.php
▶ Open 📄 View Source
🐘 Media.php
▶ Open 📄 View Source
🐘 MeetSpaceLinkData.php
▶ Open 📄 View Source
🐘 Membership.php
▶ Open 📄 View Source
🐘 MembershipBatchCreatedEventData.php
▶ Open 📄 View Source
🐘 MembershipBatchDeletedEventData.php
▶ Open 📄 View Source
🐘 MembershipBatchUpdatedEventData.php
▶ Open 📄 View Source
🐘 MembershipCount.php
▶ Open 📄 View Source
🐘 MembershipCreatedEventData.php
▶ Open 📄 View Source
🐘 MembershipDeletedEventData.php
▶ Open 📄 View Source
🐘 MembershipUpdatedEventData.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 MessageBatchCreatedEventData.php
▶ Open 📄 View Source
🐘 MessageBatchDeletedEventData.php
▶ Open 📄 View Source
🐘 MessageBatchUpdatedEventData.php
▶ Open 📄 View Source
🐘 MessageCreatedEventData.php
▶ Open 📄 View Source
🐘 MessageDeletedEventData.php
▶ Open 📄 View Source
🐘 MessageUpdatedEventData.php
▶ Open 📄 View Source
🐘 MoveSectionItemRequest.php
▶ Open 📄 View Source
🐘 MoveSectionItemResponse.php
▶ Open 📄 View Source
🐘 OnClick.php
▶ Open 📄 View Source
🐘 OpenLink.php
▶ Open 📄 View Source
🐘 PermissionSetting.php
▶ Open 📄 View Source
🐘 PermissionSettings.php
▶ Open 📄 View Source
🐘 PositionSectionRequest.php
▶ Open 📄 View Source
🐘 PositionSectionResponse.php
▶ Open 📄 View Source
🐘 QuotedMessageMetadata.php
▶ Open 📄 View Source
🐘 QuotedMessageSnapshot.php
▶ Open 📄 View Source
🐘 Reaction.php
▶ Open 📄 View Source
🐘 ReactionBatchCreatedEventData.php
▶ Open 📄 View Source
🐘 ReactionBatchDeletedEventData.php
▶ Open 📄 View Source
🐘 ReactionCreatedEventData.php
▶ Open 📄 View Source
🐘 ReactionDeletedEventData.php
▶ Open 📄 View Source
🐘 RichLinkMetadata.php
▶ Open 📄 View Source
🐘 SearchSpacesResponse.php
▶ Open 📄 View Source
🐘 Section.php
▶ Open 📄 View Source
🐘 SectionItem.php
▶ Open 📄 View Source
🐘 SelectionItems.php
▶ Open 📄 View Source
🐘 SetUpSpaceRequest.php
▶ Open 📄 View Source
🐘 SlashCommand.php
▶ Open 📄 View Source
🐘 SlashCommandMetadata.php
▶ Open 📄 View Source
🐘 Space.php
▶ Open 📄 View Source
🐘 SpaceBatchUpdatedEventData.php
▶ Open 📄 View Source
🐘 SpaceDataSource.php
▶ Open 📄 View Source
🐘 SpaceDetails.php
▶ Open 📄 View Source
🐘 SpaceEvent.php
▶ Open 📄 View Source
🐘 SpaceNotificationSetting.php
▶ Open 📄 View Source
🐘 SpaceReadState.php
▶ Open 📄 View Source
🐘 SpaceUpdatedEventData.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StringInputs.php
▶ Open 📄 View Source
🐘 TextButton.php
▶ Open 📄 View Source
🐘 TextParagraph.php
▶ Open 📄 View Source
🐘 Thread.php
▶ Open 📄 View Source
🐘 ThreadReadState.php
▶ Open 📄 View Source
🐘 TimeInput.php
▶ Open 📄 View Source
🐘 TimeZone.php
▶ Open 📄 View Source
🐘 UpdatedWidget.php
▶ Open 📄 View Source
🐘 UploadAttachmentRequest.php
▶ Open 📄 View Source
🐘 UploadAttachmentResponse.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserMentionMetadata.php
▶ Open 📄 View Source
🐘 WidgetMarkup.php
▶ Open 📄 View Source
🐘 WorkflowDataSourceMarkup.php
▶ Open 📄 View Source

📄 Source: GoogleAppsCardV1DecoratedText.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\HangoutsChat;

class GoogleAppsCardV1DecoratedText extends \Google\Model
{
  /**
   * Unspecified type. Do not use.
   */
  public const START_ICON_VERTICAL_ALIGNMENT_VERTICAL_ALIGNMENT_UNSPECIFIED = 'VERTICAL_ALIGNMENT_UNSPECIFIED';
  /**
   * Alignment to the top position.
   */
  public const START_ICON_VERTICAL_ALIGNMENT_TOP = 'TOP';
  /**
   * Alignment to the middle position.
   */
  public const START_ICON_VERTICAL_ALIGNMENT_MIDDLE = 'MIDDLE';
  /**
   * Alignment to the bottom position.
   */
  public const START_ICON_VERTICAL_ALIGNMENT_BOTTOM = 'BOTTOM';
  /**
   * The text that appears below `text`. Always wraps.
   *
   * @var string
   */
  public $bottomLabel;
  protected $bottomLabelTextType = GoogleAppsCardV1TextParagraph::class;
  protected $bottomLabelTextDataType = '';
  protected $buttonType = GoogleAppsCardV1Button::class;
  protected $buttonDataType = '';
  protected $contentTextType = GoogleAppsCardV1TextParagraph::class;
  protected $contentTextDataType = '';
  protected $endIconType = GoogleAppsCardV1Icon::class;
  protected $endIconDataType = '';
  protected $iconType = GoogleAppsCardV1Icon::class;
  protected $iconDataType = '';
  protected $onClickType = GoogleAppsCardV1OnClick::class;
  protected $onClickDataType = '';
  protected $startIconType = GoogleAppsCardV1Icon::class;
  protected $startIconDataType = '';
  /**
   * Optional. Vertical alignment of the start icon. If not set, the icon will
   * be vertically centered. [Google Chat
   * apps](https://developers.google.com/workspace/chat):
   *
   * @var string
   */
  public $startIconVerticalAlignment;
  protected $switchControlType = GoogleAppsCardV1SwitchControl::class;
  protected $switchControlDataType = '';
  /**
   * Required. The primary text. Supports simple formatting. For more
   * information about formatting text, see [Formatting text in Google Chat
   * apps](https://developers.google.com/workspace/chat/format-messages#card-
   * formatting) and [Formatting text in Google Workspace add-
   * ons](https://developers.google.com/apps-script/add-
   * ons/concepts/widgets#text_formatting).
   *
   * @var string
   */
  public $text;
  /**
   * The text that appears above `text`. Always truncates.
   *
   * @var string
   */
  public $topLabel;
  protected $topLabelTextType = GoogleAppsCardV1TextParagraph::class;
  protected $topLabelTextDataType = '';
  /**
   * The wrap text setting. If `true`, the text wraps and displays on multiple
   * lines. Otherwise, the text is truncated. Only applies to `text`, not
   * `topLabel` and `bottomLabel`.
   *
   * @var bool
   */
  public $wrapText;

  /**
   * The text that appears below `text`. Always wraps.
   *
   * @param string $bottomLabel
   */
  public function setBottomLabel($bottomLabel)
  {
    $this->bottomLabel = $bottomLabel;
  }
  /**
   * @return string
   */
  public function getBottomLabel()
  {
    return $this->bottomLabel;
  }
  /**
   * `TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for more
   * complex formatting than `bottom_label`. [Google Chat
   * apps](https://developers.google.com/workspace/chat):
   *
   * @param GoogleAppsCardV1TextParagraph $bottomLabelText
   */
  public function setBottomLabelText(GoogleAppsCardV1TextParagraph $bottomLabelText)
  {
    $this->bottomLabelText = $bottomLabelText;
  }
  /**
   * @return GoogleAppsCardV1TextParagraph
   */
  public function getBottomLabelText()
  {
    return $this->bottomLabelText;
  }
  /**
   * A button that a user can click to trigger an action.
   *
   * @param GoogleAppsCardV1Button $button
   */
  public function setButton(GoogleAppsCardV1Button $button)
  {
    $this->button = $button;
  }
  /**
   * @return GoogleAppsCardV1Button
   */
  public function getButton()
  {
    return $this->button;
  }
  /**
   * `TextParagraph` equivalent of `text`. Allows for more complex formatting
   * than `text`. [Google Chat
   * apps](https://developers.google.com/workspace/chat):
   *
   * @param GoogleAppsCardV1TextParagraph $contentText
   */
  public function setContentText(GoogleAppsCardV1TextParagraph $contentText)
  {
    $this->contentText = $contentText;
  }
  /**
   * @return GoogleAppsCardV1TextParagraph
   */
  public function getContentText()
  {
    return $this->contentText;
  }
  /**
   * An icon displayed after the text. Supports [built-
   * in](https://developers.google.com/workspace/chat/format-
   * messages#builtinicons) and
   * [custom](https://developers.google.com/workspace/chat/format-
   * messages#customicons) icons.
   *
   * @param GoogleAppsCardV1Icon $endIcon
   */
  public function setEndIcon(GoogleAppsCardV1Icon $endIcon)
  {
    $this->endIcon = $endIcon;
  }
  /**
   * @return GoogleAppsCardV1Icon
   */
  public function getEndIcon()
  {
    return $this->endIcon;
  }
  /**
   * Deprecated in favor of `startIcon`.
   *
   * @deprecated
   * @param GoogleAppsCardV1Icon $icon
   */
  public function setIcon(GoogleAppsCardV1Icon $icon)
  {
    $this->icon = $icon;
  }
  /**
   * @deprecated
   * @return GoogleAppsCardV1Icon
   */
  public function getIcon()
  {
    return $this->icon;
  }
  /**
   * This action is triggered when users click `topLabel` or `bottomLabel`.
   *
   * @param GoogleAppsCardV1OnClick $onClick
   */
  public function setOnClick(GoogleAppsCardV1OnClick $onClick)
  {
    $this->onClick = $onClick;
  }
  /**
   * @return GoogleAppsCardV1OnClick
   */
  public function getOnClick()
  {
    return $this->onClick;
  }
  /**
   * The icon displayed in front of the text.
   *
   * @param GoogleAppsCardV1Icon $startIcon
   */
  public function setStartIcon(GoogleAppsCardV1Icon $startIcon)
  {
    $this->startIcon = $startIcon;
  }
  /**
   * @return GoogleAppsCardV1Icon
   */
  public function getStartIcon()
  {
    return $this->startIcon;
  }
  /**
   * Optional. Vertical alignment of the start icon. If not set, the icon will
   * be vertically centered. [Google Chat
   * apps](https://developers.google.com/workspace/chat):
   *
   * Accepted values: VERTICAL_ALIGNMENT_UNSPECIFIED, TOP, MIDDLE, BOTTOM
   *
   * @param self::START_ICON_VERTICAL_ALIGNMENT_* $startIconVerticalAlignment
   */
  public function setStartIconVerticalAlignment($startIconVerticalAlignment)
  {
    $this->startIconVerticalAlignment = $startIconVerticalAlignment;
  }
  /**
   * @return self::START_ICON_VERTICAL_ALIGNMENT_*
   */
  public function getStartIconVerticalAlignment()
  {
    return $this->startIconVerticalAlignment;
  }
  /**
   * A switch widget that a user can click to change its state and trigger an
   * action.
   *
   * @param GoogleAppsCardV1SwitchControl $switchControl
   */
  public function setSwitchControl(GoogleAppsCardV1SwitchControl $switchControl)
  {
    $this->switchControl = $switchControl;
  }
  /**
   * @return GoogleAppsCardV1SwitchControl
   */
  public function getSwitchControl()
  {
    return $this->switchControl;
  }
  /**
   * Required. The primary text. Supports simple formatting. For more
   * information about formatting text, see [Formatting text in Google Chat
   * apps](https://developers.google.com/workspace/chat/format-messages#card-
   * formatting) and [Formatting text in Google Workspace add-
   * ons](https://developers.google.com/apps-script/add-
   * ons/concepts/widgets#text_formatting).
   *
   * @param string $text
   */
  public function setText($text)
  {
    $this->text = $text;
  }
  /**
   * @return string
   */
  public function getText()
  {
    return $this->text;
  }
  /**
   * The text that appears above `text`. Always truncates.
   *
   * @param string $topLabel
   */
  public function setTopLabel($topLabel)
  {
    $this->topLabel = $topLabel;
  }
  /**
   * @return string
   */
  public function getTopLabel()
  {
    return $this->topLabel;
  }
  /**
   * `TextParagraph` equivalent of `top_label`. Always truncates. Allows for
   * more complex formatting than `top_label`. [Google Chat
   * apps](https://developers.google.com/workspace/chat):
   *
   * @param GoogleAppsCardV1TextParagraph $topLabelText
   */
  public function setTopLabelText(GoogleAppsCardV1TextParagraph $topLabelText)
  {
    $this->topLabelText = $topLabelText;
  }
  /**
   * @return GoogleAppsCardV1TextParagraph
   */
  public function getTopLabelText()
  {
    return $this->topLabelText;
  }
  /**
   * The wrap text setting. If `true`, the text wraps and displays on multiple
   * lines. Otherwise, the text is truncated. Only applies to `text`, not
   * `topLabel` and `bottomLabel`.
   *
   * @param bool $wrapText
   */
  public function setWrapText($wrapText)
  {
    $this->wrapText = $wrapText;
  }
  /**
   * @return bool
   */
  public function getWrapText()
  {
    return $this->wrapText;
  }
}

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