Class: Google::Apps::Chat::V1::FindDirectMessageRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/space.rb

Overview

A request to get direct message space based on the user resource.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Resource name of the user to find direct message with.

Format: users/{user}, where {user} is either the id for the person from the People API, or the id for the user in the Directory API. For example, if the People API profile ID is 123456789, you can find a direct message with that person by using users/123456789 as the name. When authenticated as a user, you can use the email as an alias for {user}. For example, users/[email protected] where [email protected] is the email of the Google Chat user.

Returns:

  • (::String)

    Required. Resource name of the user to find direct message with.

    Format: users/{user}, where {user} is either the id for the person from the People API, or the id for the user in the Directory API. For example, if the People API profile ID is 123456789, you can find a direct message with that person by using users/123456789 as the name. When authenticated as a user, you can use the email as an alias for {user}. For example, users/[email protected] where [email protected] is the email of the Google Chat user.



487
488
489
490
# File 'proto_docs/google/chat/v1/space.rb', line 487

class FindDirectMessageRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end