📂 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: GoogleAppsCardV1TextInput.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 GoogleAppsCardV1TextInput extends \Google\Model
{
  /**
   * The text input field has a fixed height of one line.
   */
  public const TYPE_SINGLE_LINE = 'SINGLE_LINE';
  /**
   * The text input field has a fixed height of multiple lines.
   */
  public const TYPE_MULTIPLE_LINE = 'MULTIPLE_LINE';
  protected $autoCompleteActionType = GoogleAppsCardV1Action::class;
  protected $autoCompleteActionDataType = '';
  /**
   * Text that appears below the text input field meant to assist users by
   * prompting them to enter a certain value. This text is always visible.
   * Required if `label` is unspecified. Otherwise, optional.
   *
   * @var string
   */
  public $hintText;
  protected $hostAppDataSourceType = HostAppDataSourceMarkup::class;
  protected $hostAppDataSourceDataType = '';
  protected $initialSuggestionsType = GoogleAppsCardV1Suggestions::class;
  protected $initialSuggestionsDataType = '';
  /**
   * The text that appears above the text input field in the user interface.
   * Specify text that helps the user enter the information your app needs. For
   * example, if you are asking someone's name, but specifically need their
   * surname, write `surname` instead of `name`. Required if `hintText` is
   * unspecified. Otherwise, optional.
   *
   * @var string
   */
  public $label;
  /**
   * The name by which the text input is identified in a form input event. For
   * details about working with form inputs, see [Receive form
   * data](https://developers.google.com/workspace/chat/read-form-data).
   *
   * @var string
   */
  public $name;
  protected $onChangeActionType = GoogleAppsCardV1Action::class;
  protected $onChangeActionDataType = '';
  /**
   * Text that appears in the text input field when the field is empty. Use this
   * text to prompt users to enter a value. For example, `Enter a number from 0
   * to 100`. [Google Chat apps](https://developers.google.com/workspace/chat):
   *
   * @var string
   */
  public $placeholderText;
  /**
   * How a text input field appears in the user interface. For example, whether
   * the field is single or multi-line.
   *
   * @var string
   */
  public $type;
  protected $validationType = GoogleAppsCardV1Validation::class;
  protected $validationDataType = '';
  /**
   * The value entered by a user, returned as part of a form input event. For
   * details about working with form inputs, see [Receive form
   * data](https://developers.google.com/workspace/chat/read-form-data).
   *
   * @var string
   */
  public $value;

  /**
   * Optional. Specify what action to take when the text input field provides
   * suggestions to users who interact with it. If unspecified, the suggestions
   * are set by `initialSuggestions` and are processed by the client. If
   * specified, the app takes the action specified here, such as running a
   * custom function. [Google Workspace add-
   * ons](https://developers.google.com/workspace/add-ons):
   *
   * @param GoogleAppsCardV1Action $autoCompleteAction
   */
  public function setAutoCompleteAction(GoogleAppsCardV1Action $autoCompleteAction)
  {
    $this->autoCompleteAction = $autoCompleteAction;
  }
  /**
   * @return GoogleAppsCardV1Action
   */
  public function getAutoCompleteAction()
  {
    return $this->autoCompleteAction;
  }
  /**
   * Text that appears below the text input field meant to assist users by
   * prompting them to enter a certain value. This text is always visible.
   * Required if `label` is unspecified. Otherwise, optional.
   *
   * @param string $hintText
   */
  public function setHintText($hintText)
  {
    $this->hintText = $hintText;
  }
  /**
   * @return string
   */
  public function getHintText()
  {
    return $this->hintText;
  }
  /**
   * A data source that's unique to a Google Workspace host application, such as
   * Gmail emails, Google Calendar events, or Google Chat messages. Available
   * for Google Workspace add-ons that extend Google Workspace Studio.
   * Unavailable for Google Chat apps.
   *
   * @param HostAppDataSourceMarkup $hostAppDataSource
   */
  public function setHostAppDataSource(HostAppDataSourceMarkup $hostAppDataSource)
  {
    $this->hostAppDataSource = $hostAppDataSource;
  }
  /**
   * @return HostAppDataSourceMarkup
   */
  public function getHostAppDataSource()
  {
    return $this->hostAppDataSource;
  }
  /**
   * Suggested values that users can enter. These values appear when users click
   * inside the text input field. As users type, the suggested values
   * dynamically filter to match what the users have typed. For example, a text
   * input field for programming language might suggest Java, JavaScript,
   * Python, and C++. When users start typing `Jav`, the list of suggestions
   * filters to show just `Java` and `JavaScript`. Suggested values help guide
   * users to enter values that your app can make sense of. When referring to
   * JavaScript, some users might enter `javascript` and others `java script`.
   * Suggesting `JavaScript` can standardize how users interact with your app.
   * When specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set
   * to `MULTIPLE_LINE`. [Google Workspace add-ons and Chat
   * apps](https://developers.google.com/workspace/extend):
   *
   * @param GoogleAppsCardV1Suggestions $initialSuggestions
   */
  public function setInitialSuggestions(GoogleAppsCardV1Suggestions $initialSuggestions)
  {
    $this->initialSuggestions = $initialSuggestions;
  }
  /**
   * @return GoogleAppsCardV1Suggestions
   */
  public function getInitialSuggestions()
  {
    return $this->initialSuggestions;
  }
  /**
   * The text that appears above the text input field in the user interface.
   * Specify text that helps the user enter the information your app needs. For
   * example, if you are asking someone's name, but specifically need their
   * surname, write `surname` instead of `name`. Required if `hintText` is
   * unspecified. Otherwise, optional.
   *
   * @param string $label
   */
  public function setLabel($label)
  {
    $this->label = $label;
  }
  /**
   * @return string
   */
  public function getLabel()
  {
    return $this->label;
  }
  /**
   * The name by which the text input is identified in a form input event. For
   * details about working with form inputs, see [Receive form
   * data](https://developers.google.com/workspace/chat/read-form-data).
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * What to do when a change occurs in the text input field. For example, a
   * user adding to the field or deleting text. Examples of actions to take
   * include running a custom function or opening a
   * [dialog](https://developers.google.com/workspace/chat/dialogs) in Google
   * Chat.
   *
   * @param GoogleAppsCardV1Action $onChangeAction
   */
  public function setOnChangeAction(GoogleAppsCardV1Action $onChangeAction)
  {
    $this->onChangeAction = $onChangeAction;
  }
  /**
   * @return GoogleAppsCardV1Action
   */
  public function getOnChangeAction()
  {
    return $this->onChangeAction;
  }
  /**
   * Text that appears in the text input field when the field is empty. Use this
   * text to prompt users to enter a value. For example, `Enter a number from 0
   * to 100`. [Google Chat apps](https://developers.google.com/workspace/chat):
   *
   * @param string $placeholderText
   */
  public function setPlaceholderText($placeholderText)
  {
    $this->placeholderText = $placeholderText;
  }
  /**
   * @return string
   */
  public function getPlaceholderText()
  {
    return $this->placeholderText;
  }
  /**
   * How a text input field appears in the user interface. For example, whether
   * the field is single or multi-line.
   *
   * Accepted values: SINGLE_LINE, MULTIPLE_LINE
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Specify the input format validation necessary for this text field. [Google
   * Workspace add-ons and Chat
   * apps](https://developers.google.com/workspace/extend):
   *
   * @param GoogleAppsCardV1Validation $validation
   */
  public function setValidation(GoogleAppsCardV1Validation $validation)
  {
    $this->validation = $validation;
  }
  /**
   * @return GoogleAppsCardV1Validation
   */
  public function getValidation()
  {
    return $this->validation;
  }
  /**
   * The value entered by a user, returned as part of a form input event. For
   * details about working with form inputs, see [Receive form
   * data](https://developers.google.com/workspace/chat/read-form-data).
   *
   * @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(GoogleAppsCardV1TextInput::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1TextInput');
← Back