Module: Google::Apps::Meet::V2::ConferenceRecordsService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/apps/meet/v2/conference_records_service/paths.rb
Overview
Path helper methods for the ConferenceRecordsService API.
Instance Method Summary collapse
-
#conference_record_path(conference_record:) ⇒ ::String
Create a fully-qualified ConferenceRecord resource string.
-
#participant_path(conference_record:, participant:) ⇒ ::String
Create a fully-qualified Participant resource string.
-
#participant_session_path(conference_record:, participant:, participant_session:) ⇒ ::String
Create a fully-qualified ParticipantSession resource string.
-
#recording_path(conference_record:, recording:) ⇒ ::String
Create a fully-qualified Recording resource string.
-
#transcript_entry_path(conference_record:, transcript:, entry:) ⇒ ::String
Create a fully-qualified TranscriptEntry resource string.
-
#transcript_path(conference_record:, transcript:) ⇒ ::String
Create a fully-qualified Transcript resource string.
Instance Method Details
#conference_record_path(conference_record:) ⇒ ::String
Create a fully-qualified ConferenceRecord resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}
37 38 39 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 37 def conference_record_path conference_record: "conferenceRecords/#{conference_record}" end |
#participant_path(conference_record:, participant:) ⇒ ::String
Create a fully-qualified Participant resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}/participants/{participant}
52 53 54 55 56 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 52 def participant_path conference_record:, participant: raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/" "conferenceRecords/#{conference_record}/participants/#{participant}" end |
#participant_session_path(conference_record:, participant:, participant_session:) ⇒ ::String
Create a fully-qualified ParticipantSession resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}/participants/{participant}/participantSessions/{participant_session}
70 71 72 73 74 75 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 70 def participant_session_path conference_record:, participant:, participant_session: raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/" raise ::ArgumentError, "participant cannot contain /" if participant.to_s.include? "/" "conferenceRecords/#{conference_record}/participants/#{participant}/participantSessions/#{participant_session}" end |
#recording_path(conference_record:, recording:) ⇒ ::String
Create a fully-qualified Recording resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}/recordings/{recording}
88 89 90 91 92 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 88 def recording_path conference_record:, recording: raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/" "conferenceRecords/#{conference_record}/recordings/#{recording}" end |
#transcript_entry_path(conference_record:, transcript:, entry:) ⇒ ::String
Create a fully-qualified TranscriptEntry resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}
123 124 125 126 127 128 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 123 def transcript_entry_path conference_record:, transcript:, entry: raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/" raise ::ArgumentError, "transcript cannot contain /" if transcript.to_s.include? "/" "conferenceRecords/#{conference_record}/transcripts/#{transcript}/entries/#{entry}" end |
#transcript_path(conference_record:, transcript:) ⇒ ::String
Create a fully-qualified Transcript resource string.
The resource will be in the following format:
conferenceRecords/{conference_record}/transcripts/{transcript}
105 106 107 108 109 |
# File 'lib/google/apps/meet/v2/conference_records_service/paths.rb', line 105 def transcript_path conference_record:, transcript: raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/" "conferenceRecords/#{conference_record}/transcripts/#{transcript}" end |