Reference documentation and code samples for the Google Chat V1 API module Google::Apps::Chat::V1::ChatService::Paths.
Path helper methods for the ChatService API.
Extended By
Methods
#attachment_path
def attachment_path(space:, message:, attachment:) -> ::String
Create a fully-qualified Attachment resource string.
The resource will be in the following format:
spaces/{space}/messages/{message}/attachments/{attachment}
- space (String)
- message (String)
- attachment (String)
- (::String)
- (::ArgumentError)
#membership_path
def membership_path(space:, member:) -> ::String
Create a fully-qualified Membership resource string.
The resource will be in the following format:
spaces/{space}/members/{member}
- space (String)
- member (String)
- (::String)
- (::ArgumentError)
#message_path
def message_path(space:, message:) -> ::String
Create a fully-qualified Message resource string.
The resource will be in the following format:
spaces/{space}/messages/{message}
- space (String)
- message (String)
- (::String)
- (::ArgumentError)
#quoted_message_metadata_path
def quoted_message_metadata_path(space:, message:, quoted_message_metadata:) -> ::String
Create a fully-qualified QuotedMessageMetadata resource string.
The resource will be in the following format:
spaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}
- space (String)
- message (String)
- quoted_message_metadata (String)
- (::String)
- (::ArgumentError)
#reaction_path
def reaction_path(space:, message:, reaction:) -> ::String
Create a fully-qualified Reaction resource string.
The resource will be in the following format:
spaces/{space}/messages/{message}/reactions/{reaction}
- space (String)
- message (String)
- reaction (String)
- (::String)
- (::ArgumentError)
#space_path
def space_path(space:) -> ::String
Create a fully-qualified Space resource string.
The resource will be in the following format:
spaces/{space}
- space (String)
- (::String)
#space_read_state_path
def space_read_state_path(user:, space:) -> ::String
Create a fully-qualified SpaceReadState resource string.
The resource will be in the following format:
users/{user}/spaces/{space}/spaceReadState
- user (String)
- space (String)
- (::String)
- (::ArgumentError)
#thread_path
def thread_path(space:, thread:) -> ::String
Create a fully-qualified Thread resource string.
The resource will be in the following format:
spaces/{space}/threads/{thread}
- space (String)
- thread (String)
- (::String)
- (::ArgumentError)
#thread_read_state_path
def thread_read_state_path(user:, space:, thread:) -> ::String
Create a fully-qualified ThreadReadState resource string.
The resource will be in the following format:
users/{user}/spaces/{space}/threads/{thread}/threadReadState
- user (String)
- space (String)
- thread (String)
- (::String)
- (::ArgumentError)