Skip to main content

ConferenceRecordsService

Struct ConferenceRecordsService 

Source
pub struct ConferenceRecordsService { /* private fields */ }
Expand description

Implements a client for the Google Meet API.

§Example

use google_cloud_gax::paginator::ItemPaginator as _;
async fn sample(
   conference_record_id: &str,
) -> anyhow::Result<()> {
    let client = ConferenceRecordsService::builder().build().await?;
    let mut list = client.list_participants()
        .set_parent(format!("conferenceRecords/{conference_record_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}

§Service Description

REST API for services dealing with conference records.

§Configuration

To configure ConferenceRecordsService use the with_* methods in the type returned by builder(). The default configuration should work for most applications. Common configuration changes include

§Pooling and Cloning

ConferenceRecordsService holds a connection pool internally, it is advised to create one and reuse it. You do not need to wrap ConferenceRecordsService in an Rc or Arc to reuse it, because it already uses an Arc internally.

Implementations§

Source§

impl ConferenceRecordsService

Source

pub fn builder() -> ClientBuilder

Returns a builder for ConferenceRecordsService.

let client = ConferenceRecordsService::builder().build().await?;
Source

pub fn from_stub<T>(stub: impl Into<Arc<T>>) -> Self
where T: ConferenceRecordsService + 'static,

Creates a new client from the provided stub.

The most common case for calling this function is in tests mocking the client’s behavior.

Source

pub fn get_conference_record(&self) -> GetConferenceRecord

Gets a conference record by conference ID.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str
) -> Result<()> {
    let response = client.get_conference_record()
        .set_name(format!("conferenceRecords/{conference_record_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_conference_records(&self) -> ListConferenceRecords

Lists the conference records. By default, ordered by start time and in descending order.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService
) -> Result<()> {
    let mut list = client.list_conference_records()
        /* set fields */
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}
Source

pub fn get_participant(&self) -> GetParticipant

Gets a participant by participant ID.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, participant_id: &str
) -> Result<()> {
    let response = client.get_participant()
        .set_name(format!("conferenceRecords/{conference_record_id}/participants/{participant_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_participants(&self) -> ListParticipants

Lists the participants in a conference record. By default, ordered by join time and in descending order. This API supports fields as standard parameters like every other API. However, when the fields request parameter is omitted, this API defaults to 'participants/*, next_page_token'.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str
) -> Result<()> {
    let mut list = client.list_participants()
        .set_parent(format!("conferenceRecords/{conference_record_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}
Source

pub fn get_participant_session(&self) -> GetParticipantSession

Gets a participant session by participant session ID.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, participant_id: &str, participant_session_id: &str
) -> Result<()> {
    let response = client.get_participant_session()
        .set_name(format!("conferenceRecords/{conference_record_id}/participants/{participant_id}/participantSessions/{participant_session_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_participant_sessions(&self) -> ListParticipantSessions

Lists the participant sessions of a participant in a conference record. By default, ordered by join time and in descending order. This API supports fields as standard parameters like every other API. However, when the fields request parameter is omitted this API defaults to 'participantsessions/*, next_page_token'.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, participant_id: &str
) -> Result<()> {
    let mut list = client.list_participant_sessions()
        .set_parent(format!("conferenceRecords/{conference_record_id}/participants/{participant_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}
Source

pub fn get_recording(&self) -> GetRecording

Gets a recording by recording ID.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, recording_id: &str
) -> Result<()> {
    let response = client.get_recording()
        .set_name(format!("conferenceRecords/{conference_record_id}/recordings/{recording_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_recordings(&self) -> ListRecordings

Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str
) -> Result<()> {
    let mut list = client.list_recordings()
        .set_parent(format!("conferenceRecords/{conference_record_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}
Source

pub fn get_transcript(&self) -> GetTranscript

Gets a transcript by transcript ID.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, transcript_id: &str
) -> Result<()> {
    let response = client.get_transcript()
        .set_name(format!("conferenceRecords/{conference_record_id}/transcripts/{transcript_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_transcripts(&self) -> ListTranscripts

Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str
) -> Result<()> {
    let mut list = client.list_transcripts()
        .set_parent(format!("conferenceRecords/{conference_record_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}
Source

pub fn get_transcript_entry(&self) -> GetTranscriptEntry

Gets a TranscriptEntry resource by entry ID.

Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.

§Example
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, transcript_id: &str, entry_id: &str
) -> Result<()> {
    let response = client.get_transcript_entry()
        .set_name(format!("conferenceRecords/{conference_record_id}/transcripts/{transcript_id}/entries/{entry_id}"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}
Source

pub fn list_transcript_entries(&self) -> ListTranscriptEntries

Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.

Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.

§Example
use google_cloud_gax::paginator::ItemPaginator as _;
use google_apps_meet_v2::Result;
async fn sample(
   client: &ConferenceRecordsService, conference_record_id: &str, transcript_id: &str
) -> Result<()> {
    let mut list = client.list_transcript_entries()
        .set_parent(format!("conferenceRecords/{conference_record_id}/transcripts/{transcript_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}

Trait Implementations§

Source§

impl Clone for ConferenceRecordsService

Source§

fn clone(&self) -> ConferenceRecordsService

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ConferenceRecordsService

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more