Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::FindDirectMessageRequest.
A request to get direct message space based on the user resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
-
(::String) — Required. Resource name of the user to find direct message with.
Format:
users/{user}
, where{user}
is either theid
for the person from the People API, or theid
for the user in the Directory API. For example, if the People API profile ID is123456789
, you can find a direct message with that person by usingusers/123456789
as thename
. When authenticated as a user, you can use the email as an alias for{user}
. For example,users/example@gmail.com
whereexample@gmail.com
is the email of the Google Chat user.
#name=
def name=(value) -> ::String
-
value (::String) — Required. Resource name of the user to find direct message with.
Format:
users/{user}
, where{user}
is either theid
for the person from the People API, or theid
for the user in the Directory API. For example, if the People API profile ID is123456789
, you can find a direct message with that person by usingusers/123456789
as thename
. When authenticated as a user, you can use the email as an alias for{user}
. For example,users/example@gmail.com
whereexample@gmail.com
is the email of the Google Chat user.
-
(::String) — Required. Resource name of the user to find direct message with.
Format:
users/{user}
, where{user}
is either theid
for the person from the People API, or theid
for the user in the Directory API. For example, if the People API profile ID is123456789
, you can find a direct message with that person by usingusers/123456789
as thename
. When authenticated as a user, you can use the email as an alias for{user}
. For example,users/example@gmail.com
whereexample@gmail.com
is the email of the Google Chat user.