Google Chat V1 API - Class Google::Apps::Card::V1::Chip (v0.18.0)

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#alt_text

defalt_text()->::String
Returns
  • (::String) — The alternative text that's used for accessibility.

    Set descriptive text that lets users know what the chip does. Forexample, if a chip opens a hyperlink, write: "Opens a newbrowser tab and navigates to the Google Chat developer documentation athttps://developers.google.com/workspace/chat".

#alt_text=

defalt_text=(value)->::String
Parameter
  • value (::String) — The alternative text that's used for accessibility.

    Set descriptive text that lets users know what the chip does. Forexample, if a chip opens a hyperlink, write: "Opens a newbrowser tab and navigates to the Google Chat developer documentation athttps://developers.google.com/workspace/chat".

Returns
  • (::String) — The alternative text that's used for accessibility.

    Set descriptive text that lets users know what the chip does. Forexample, if a chip opens a hyperlink, write: "Opens a newbrowser tab and navigates to the Google Chat developer documentation athttps://developers.google.com/workspace/chat".

#disabled

defdisabled()->::Boolean
Returns
  • (::Boolean) — Whether the chip is in an inactive state and ignores user actions.Defaults tofalse.

#disabled=

defdisabled=(value)->::Boolean
Parameter
  • value (::Boolean) — Whether the chip is in an inactive state and ignores user actions.Defaults tofalse.
Returns
  • (::Boolean) — Whether the chip is in an inactive state and ignores user actions.Defaults tofalse.

#enabled

defenabled()->::Boolean
Returns
  • (::Boolean) — Whether the chip is in an active state and responds to user actions.Defaults totrue.Deprecated. Usedisabled instead.

#enabled=

defenabled=(value)->::Boolean
Parameter
  • value (::Boolean) — Whether the chip is in an active state and responds to user actions.Defaults totrue.Deprecated. Usedisabled instead.
Returns
  • (::Boolean) — Whether the chip is in an active state and responds to user actions.Defaults totrue.Deprecated. Usedisabled instead.

#icon

deficon()->::Google::Apps::Card::V1::Icon
Returns

#icon=

deficon=(value)->::Google::Apps::Card::V1::Icon
Parameter
Returns

#label

deflabel()->::String
Returns
  • (::String) — The text displayed inside the chip.

#label=

deflabel=(value)->::String
Parameter
  • value (::String) — The text displayed inside the chip.
Returns
  • (::String) — The text displayed inside the chip.

#on_click

defon_click()->::Google::Apps::Card::V1::OnClick
Returns

#on_click=

defon_click=(value)->::Google::Apps::Card::V1::OnClick
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-16 UTC.