Google Chat V1 API - Class Google::Apps::Chat::V1::ReplaceMessageCardsRequest (v0.33.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::ReplaceMessageCardsRequest.

Request message for ReplaceMessageCards API method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cards_v2

def cards_v2() -> ::Array<::Google::Apps::Chat::V1::CardWithId>
Returns
  • (::Array<::Google::Apps::Chat::V1::CardWithId>) — Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

#cards_v2=

def cards_v2=(value) -> ::Array<::Google::Apps::Chat::V1::CardWithId>
Parameter
  • value (::Array<::Google::Apps::Chat::V1::CardWithId>) — Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.
Returns
  • (::Array<::Google::Apps::Chat::V1::CardWithId>) — Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the message.

    Format: spaces/{space}/messages/{message}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the message.

    Format: spaces/{space}/messages/{message}

Returns
  • (::String) — Required. The resource name of the message.

    Format: spaces/{space}/messages/{message}