आर्टफ़ैक्ट की मदद से काम करना

आर्टफ़ैक्ट, ऐसी फ़ाइल या डेटा होता है जिसे Google Meet, कॉन्फ़्रेंस के दौरान जनरेट करता है. इसमें वीडियो और अन्य आर्टफ़ैक्ट, जैसे कि ट्रांसक्रिप्ट शामिल हैं.

इस पेज में बताया गया है कि कॉन्फ़्रेंस से जनरेट की गई मीटिंग से जुड़े अलग-अलग आर्टफ़ैक्ट के बारे में जानकारी कैसे पाई जा सकती है.

आर्टफ़ैक्ट बनाने के लिए, मीटिंग में हिस्सा लेने वाले लोगों को कॉन्फ़्रेंस खत्म होने से पहले, Meet में इन्हें जनरेट करना होगा. ट्रांसक्रिप्ट, रिकॉर्डिंग से अलग ऑपरेट होती हैं. ट्रांसक्रिप्ट जनरेट करने के लिए आपको मीटिंग रिकॉर्ड करने की ज़रूरत नहीं होती. ज़्यादा जानकारी के लिए, वीडियो मीटिंग रिकॉर्ड करना और Google Meet में ट्रांसक्रिप्ट का इस्तेमाल करना लेख पढ़ें.

आर्टफ़ैक्ट का रखरखाव

कॉन्फ़्रेंस खत्म होने के बाद, Meet रिकॉर्डिंग और ट्रांसक्रिप्शन को मीटिंग आयोजक के Drive पर अपलोड करता है. डिफ़ॉल्ट रूप से, Meet आर्टफ़ैक्ट को Drive के नियमों के हिसाब से सेव रखा जाता है. आर्टफ़ैक्ट बनाए जाने या उनमें पिछली बार बदलाव किए जाने के 90 दिनों के बाद, वे अपने-आप मिट जाते हैं. आर्टफ़ैक्ट को लंबे समय तक बनाए रखने के लिए, उसे शेयर की गई ड्राइव में ले जाएं.

Meet REST API से मिली ट्रांसक्रिप्ट एंट्री, कॉन्फ़्रेंस खत्म होने के 30 दिन बाद मिटा दी जाती हैं. उपयोगकर्ताओं के जुड़ाव को बढ़ाने के लिए, इन्हें 'शेयर की गई ड्राइव' में नहीं ले जाया जा सकता.

Google Vault में Meet के लिए खास तौर पर बने, निजी डेटा के रखरखाव के नियमों का इस्तेमाल करके, Meet आर्टफ़ैक्ट के निजी डेटा के रखरखाव को अलग से भी मैनेज किया जा सकता है. ज़्यादा जानकारी के लिए, Google Meet की रिकॉर्डिंग और लॉग को Vault की मदद से बनाए रखना देखें.

सह-प्रॉडक्ट निजी डेटा के रखरखाव की डिफ़ॉल्ट अवधि
Meet की ओरिजनल रिकॉर्डिंग और ट्रांसक्रिप्ट 90 दिनों तक
ट्रांसक्रिप्ट एंट्री 30 दिन

रिकॉर्डिंग

नीचे दिए गए सेक्शन में, कॉन्फ़्रेंस रिकॉर्डिंग के बारे में जानकारी पाने का तरीका बताया गया है.

रिकॉर्डिंग फ़ाइल जनरेट होने के बाद, Meet के पास रिकॉर्डिंग आईडी का ऐक्सेस होता है. उपयोगकर्ता Google Drive से रिकॉर्डिंग फ़ाइल मिटा सकता है, फिर भी Meet में उसका यूनीक नाम दिखता है.

conferenceRecords.recordings संसाधन में driveDestination ऑब्जेक्ट शामिल होता है. driveDestination ऑब्जेक्ट, Drive में उस जगह को एक्सपोर्ट करता है जहां रिकॉर्डिंग को MP4 फ़ाइल के तौर पर सेव किया जाता है. रिकॉर्डिंग डाउनलोड करने या किसी ब्राउज़र में रिकॉर्डिंग फ़ाइल चलाने के लिए, file फ़ील्ड वैल्यू का इस्तेमाल करें. अगर आपको Google Drive API के बारे में जानकारी है, तो file फ़ील्ड, files संसाधन में मौजूद id से मेल खाता है. ज़्यादा जानकारी के लिए, फ़ाइलें डाउनलोड और एक्सपोर्ट करना देखें.

सभी रिकॉर्डिंग खोजें

सभी रिकॉर्डिंग की जानकारी पाने के लिए, parent पाथ पैरामीटर के साथ conferenceRecords.recordings संसाधन पर list() तरीके का इस्तेमाल करें.

यह तरीका, कॉन्फ़्रेंस रिकॉर्डिंग की सूची दिखाता है. यह सूची, conferenceRecords.recordings के संसाधन के इंस्टेंस के तौर पर, startTime के हिसाब से बढ़ते क्रम में दिखती है.

नीचे दिए गए कोड सैंपल में, कॉन्फ़्रेंस रिकॉर्ड में सभी रिकॉर्डिंग को शामिल करने का तरीका बताया गया है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listrecordings/AsyncListRecordings.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordName;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListRecordingsRequest;
import com.google.apps.meet.v2.Recording;

public class AsyncListRecordings {

  public static void main(String[] args) throws Exception {
    asyncListRecordings();
  }

  public static void asyncListRecordings() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      ListRecordingsRequest request =
          ListRecordingsRequest.newBuilder()
              .setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .build();
      ApiFuture<Recording> future =
          conferenceRecordsServiceClient.listRecordingsPagedCallable().futureCall(request);
      // Do something.
      for (Recording element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_recordings.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Format: `conferenceRecords/{conference_record}`
 */
// const parent = 'abc123'
/**
 *  Maximum number of recordings to return. The service might return fewer
 *  than this value.
 *  If unspecified, at most 10 recordings are returned.
 *  The maximum value is 100; values above 100 are coerced to 100.
 *  Maximum might change in the future.
 */
// const pageSize = 1234
/**
 *  Page token returned from previous List Call.
 */
// const pageToken = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callListRecordings() {
  // Construct request
  const request = {
    parent,
  };

  // Run request
  const iterable = meetClient.listRecordingsAsync(request);
  for await (const response of iterable) {
      console.log(response);
  }
}

callListRecordings();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_recordings_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_list_recordings():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.ListRecordingsRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_recordings(request=request)

    # Handle the response
    async for response in page_result:
        print(response)

पैरंट वैल्यू को कॉन्फ़्रेंस रिकॉर्ड के नाम से बदलें.

किसी रिकॉर्डिंग को खोजना

किसी खास रिकॉर्डिंग के बारे में जानकारी पाने के लिए, name पाथ पैरामीटर के साथ conferenceRecords.recordings संसाधन पर get() तरीके का इस्तेमाल करें. रिकॉर्डिंग का नाम वापस पाने के लिए, conferenceRecords.recordings.list तरीके का इस्तेमाल करें.

यह तरीका, conferenceRecords.recordings संसाधन के इंस्टेंस को दिखाता है.

नीचे दिए गए कोड सैंपल से पता चलता है कि किसी रिकॉर्डिंग को वापस कैसे लाया जा सकता है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/getrecording/AsyncGetRecording.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetRecordingRequest;
import com.google.apps.meet.v2.Recording;
import com.google.apps.meet.v2.RecordingName;

public class AsyncGetRecording {

  public static void main(String[] args) throws Exception {
    asyncGetRecording();
  }

  public static void asyncGetRecording() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      GetRecordingRequest request =
          GetRecordingRequest.newBuilder()
              .setName(RecordingName.of("[CONFERENCE_RECORD]", "[RECORDING]").toString())
              .build();
      ApiFuture<Recording> future =
          conferenceRecordsServiceClient.getRecordingCallable().futureCall(request);
      // Do something.
      Recording response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_recording.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Resource name of the recording.
 */
// const name = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callGetRecording() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await meetClient.getRecording(request);
  console.log(response);
}

callGetRecording();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_recording_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_get_recording():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.GetRecordingRequest(
        name="name_value",
    )

    # Make the request
    response = await client.get_recording(request=request)

    # Handle the response
    print(response)

ढूंढने के लिए, रिकॉर्डिंग के नाम को खास रिकॉर्डिंग के नाम से बदलें.

ट्रांसक्रिप्ट की सुविधा

नीचे दिए गए सेक्शन में कॉन्फ़्रेंस के ट्रांसक्रिप्ट के बारे में जानकारी पाने का तरीका बताया गया है.

ट्रांसक्रिप्ट डेटा जनरेट होने के बाद, Meet के पास ट्रांसक्रिप्ट आईडी का ऐक्सेस होता है. हो सकता है कि कोई उपयोगकर्ता ट्रांसक्रिप्ट फ़ाइल को Drive से मिटा दे, फिर भी Meet में उसका यूनीक नाम दिखता है.

conferenceRecords.transcripts संसाधन में docsDestination ऑब्जेक्ट शामिल होता है. docsDestination ऑब्जेक्ट, Drive में उस जगह को एक्सपोर्ट करता है जहां Google Docs ट्रांसक्रिप्ट सेव की जाती है. कॉन्टेंट को फ़ेच करने या किसी ब्राउज़र में ट्रांसक्रिप्ट को ब्राउज़ करने के लिए, document फ़ील्ड वैल्यू का इस्तेमाल करें.

सभी ट्रांसक्रिप्ट खोजें

सभी ट्रांसक्रिप्ट के बारे में जानकारी पाने के लिए, parent पाथ पैरामीटर के साथ, conferenceRecords.transcripts संसाधन पर मौजूद conferenceRecords.transcripts.list तरीके का इस्तेमाल करें.

यह तरीका, कॉन्फ़्रेंस के ट्रांसक्रिप्ट की सूची दिखाता है. यह सूची, conferenceRecords.transcripts रिसॉर्स के इंस्टेंस के तौर पर, startTime के हिसाब से बढ़ते क्रम में दिखती है.

यहां दिए गए कोड सैंपल में, कॉन्फ़्रेंस के रिकॉर्ड में सभी ट्रांसक्रिप्ट को शामिल करने का तरीका बताया गया है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listtranscripts/AsyncListTranscripts.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordName;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListTranscriptsRequest;
import com.google.apps.meet.v2.Transcript;

public class AsyncListTranscripts {

  public static void main(String[] args) throws Exception {
    asyncListTranscripts();
  }

  public static void asyncListTranscripts() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      ListTranscriptsRequest request =
          ListTranscriptsRequest.newBuilder()
              .setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .build();
      ApiFuture<Transcript> future =
          conferenceRecordsServiceClient.listTranscriptsPagedCallable().futureCall(request);
      // Do something.
      for (Transcript element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_transcripts.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Format: `conferenceRecords/{conference_record}`
 */
// const parent = 'abc123'
/**
 *  Maximum number of transcripts to return. The service might return fewer
 *  than this value.
 *  If unspecified, at most 10 transcripts are returned.
 *  The maximum value is 100; values above 100 are coerced to 100.
 *  Maximum might change in the future.
 */
// const pageSize = 1234
/**
 *  Page token returned from previous List Call.
 */
// const pageToken = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callListTranscripts() {
  // Construct request
  const request = {
    parent,
  };

  // Run request
  const iterable = meetClient.listTranscriptsAsync(request);
  for await (const response of iterable) {
      console.log(response);
  }
}

callListTranscripts();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_transcripts_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_list_transcripts():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.ListTranscriptsRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_transcripts(request=request)

    # Handle the response
    async for response in page_result:
        print(response)

पैरंट वैल्यू को कॉन्फ़्रेंस रिकॉर्ड के नाम से बदलें.

किसी खास ट्रांसक्रिप्ट को खोजना

किसी खास ट्रांसक्रिप्ट को खोजने के लिए, name पाथ पैरामीटर के साथ, conferenceRecords.transcripts संसाधन पर मौजूद get() तरीके का इस्तेमाल करें. ट्रांसक्रिप्ट का नाम जानने के लिए, conferenceRecords.transcripts.list तरीके का इस्तेमाल करें.

यह तरीका, conferenceRecords.transcripts संसाधन के इंस्टेंस को दिखाता है.

नीचे दिया गया कोड सैंपल किसी खास ट्रांसक्रिप्ट को वापस पाने का तरीका दिखाता है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/gettranscript/AsyncGetTranscript.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetTranscriptRequest;
import com.google.apps.meet.v2.Transcript;
import com.google.apps.meet.v2.TranscriptName;

public class AsyncGetTranscript {

  public static void main(String[] args) throws Exception {
    asyncGetTranscript();
  }

  public static void asyncGetTranscript() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      GetTranscriptRequest request =
          GetTranscriptRequest.newBuilder()
              .setName(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
              .build();
      ApiFuture<Transcript> future =
          conferenceRecordsServiceClient.getTranscriptCallable().futureCall(request);
      // Do something.
      Transcript response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_transcript.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Resource name of the transcript.
 */
// const name = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callGetTranscript() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await meetClient.getTranscript(request);
  console.log(response);
}

callGetTranscript();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_transcript_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_get_transcript():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.GetTranscriptRequest(
        name="name_value",
    )

    # Make the request
    response = await client.get_transcript(request=request)

    # Handle the response
    print(response)

खोजने के लिए, ट्रांसक्रिप्ट के नाम की जगह खास ट्रांसक्रिप्ट का नाम डालें.

ट्रांसक्रिप्ट एंट्री

नीचे दिए गए सेक्शन में, कॉन्फ़्रेंस ट्रांसक्रिप्ट सेशन के दौरान हर व्यक्ति के भाषण को ट्रांसक्रिप्ट एंट्री के रूप में पाने का तरीका बताया गया है.

कॉन्फ़्रेंस खत्म होने के बाद, 30 दिन तक conferenceRecords.transcripts.entries का डेटा उपलब्ध रहता है.

ट्रांसक्रिप्ट की एंट्री में, हिस्सा लेने वाले व्यक्ति की आवाज़ का ट्रांसक्राइब किया गया टेक्स्ट ज़्यादा से ज़्यादा 10,000 शब्दों तक का हो सकता है. बोले गए टेक्स्ट के भाषा कोड को आईईटीएफ़ BCP 47 सिंटैक्स के तौर पर भी शामिल किया जाता है (उदाहरण के लिए, en-US).

ध्यान दें कि ऐसा हो सकता है कि Meet REST API से मिली ट्रांसक्रिप्ट की एंट्री, Docs ट्रांसक्रिप्ट फ़ाइल में मौजूद ट्रांसक्रिप्शन से मेल न खाए. ऐसा तब होता है, जब ट्रांसक्रिप्ट फ़ाइल में जनरेट होने के बाद बदलाव होता है.

सभी ट्रांसक्रिप्ट एंट्री खोजें

सभी ट्रांसक्रिप्ट एंट्री के बारे में जानकारी पाने के लिए, parent पाथ पैरामीटर के साथ conferenceRecords.transcripts.entries संसाधन पर list() तरीके का इस्तेमाल करें.

यह तरीका, हर कॉन्फ़्रेंस ट्रांसक्रिप्शन के लिए स्ट्रक्चर्ड ट्रांसक्रिप्ट एंट्री की सूची दिखाता है. यह सूची conferenceRecords.transcripts.entries संसाधन के इंस्टेंस के तौर पर, startTime के हिसाब से बढ़ते क्रम में होती है.

यहां दिए गए कोड सैंपल में, कॉन्फ़्रेंस रिकॉर्ड में सभी ट्रांसक्रिप्ट एंट्री की सूची बनाने का तरीका बताया गया है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listtranscriptentries/AsyncListTranscriptEntries.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListTranscriptEntriesRequest;
import com.google.apps.meet.v2.TranscriptEntry;
import com.google.apps.meet.v2.TranscriptName;

public class AsyncListTranscriptEntries {

  public static void main(String[] args) throws Exception {
    asyncListTranscriptEntries();
  }

  public static void asyncListTranscriptEntries() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      ListTranscriptEntriesRequest request =
          ListTranscriptEntriesRequest.newBuilder()
              .setParent(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .build();
      ApiFuture<TranscriptEntry> future =
          conferenceRecordsServiceClient.listTranscriptEntriesPagedCallable().futureCall(request);
      // Do something.
      for (TranscriptEntry element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_transcript_entries.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Format:
 *  `conferenceRecords/{conference_record}/transcripts/{transcript}`
 */
// const parent = 'abc123'
/**
 *  Maximum number of entries to return. The service might return fewer than
 *  this value.
 *  If unspecified, at most 10 entries are returned.
 *  The maximum value is 100; values above 100 are coerced to 100.
 *  Maximum might change in the future.
 */
// const pageSize = 1234
/**
 *  Page token returned from previous List Call.
 */
// const pageToken = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callListTranscriptEntries() {
  // Construct request
  const request = {
    parent,
  };

  // Run request
  const iterable = meetClient.listTranscriptEntriesAsync(request);
  for await (const response of iterable) {
      console.log(response);
  }
}

callListTranscriptEntries();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_transcript_entries_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_list_transcript_entries():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.ListTranscriptEntriesRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_transcript_entries(request=request)

    # Handle the response
    async for response in page_result:
        print(response)

पैरंट वैल्यू की जगह कॉन्फ़्रेंस रिकॉर्ड का नाम और ट्रांसक्रिप्ट का नाम डालें.

किसी खास ट्रांसक्रिप्ट एंट्री को खोजना

कोई खास ट्रांसक्रिप्ट एंट्री खोजने के लिए, name पाथ पैरामीटर के साथ, conferenceRecords.transcripts.entries संसाधन पर get() तरीके का इस्तेमाल करें. ट्रांसक्रिप्ट एंट्री का नाम वापस पाने के लिए, conferenceRecords.transcripts.entries.list तरीके का इस्तेमाल करें.

यह तरीका, conferenceRecords.transcripts.entries संसाधन का इंस्टेंस दिखाता है.

नीचे दिया गया कोड सैंपल किसी खास ट्रांसक्रिप्ट एंट्री को वापस पाने का तरीका दिखाता है:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/gettranscriptentry/AsyncGetTranscriptEntry.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetTranscriptEntryRequest;
import com.google.apps.meet.v2.TranscriptEntry;
import com.google.apps.meet.v2.TranscriptEntryName;

public class AsyncGetTranscriptEntry {

  public static void main(String[] args) throws Exception {
    asyncGetTranscriptEntry();
  }

  public static void asyncGetTranscriptEntry() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      GetTranscriptEntryRequest request =
          GetTranscriptEntryRequest.newBuilder()
              .setName(
                  TranscriptEntryName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]", "[ENTRY]")
                      .toString())
              .build();
      ApiFuture<TranscriptEntry> future =
          conferenceRecordsServiceClient.getTranscriptEntryCallable().futureCall(request);
      // Do something.
      TranscriptEntry response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_transcript_entry.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Resource name of the `TranscriptEntry`.
 */
// const name = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callGetTranscriptEntry() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await meetClient.getTranscriptEntry(request);
  console.log(response);
}

callGetTranscriptEntry();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_transcript_entry_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_get_transcript_entry():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.GetTranscriptEntryRequest(
        name="name_value",
    )

    # Make the request
    response = await client.get_transcript_entry(request=request)

    # Handle the response
    print(response)

खोजने के लिए, ट्रांसक्रिप्ट एंट्री के नाम को उस खास ट्रांसक्रिप्ट एंट्री के नाम से बदलें.