class Google::Apis::MirrorV1::Command

A single menu command that is part of a Contact.

Attributes

type[RW]

The type of operation this command corresponds to. Allowed values are:

  • TAKE_A_NOTE - Shares a timeline item with the transcription of user speech

from the “Take a note” voice menu command.

  • POST_AN_UPDATE - Shares a timeline item with the transcription of user

speech from the “Post an update” voice menu command. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/mirror_v1/classes.rb, line 167
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/mirror_v1/classes.rb, line 172
def update!(**args)
  @type = args[:type] if args.key?(:type)
end