मीटिंग में हिस्सा लेने वाले लोगों के साथ काम करना

मीटिंग में हिस्सा लेने वाला ऐसा व्यक्ति होता है जो कॉल में शामिल होता है या जो कंपैनियन मोड का इस्तेमाल करता है, दर्शक के तौर पर वीडियो देखता है या रूम में मौजूद डिवाइस, कॉल से जुड़ा होता है. हर व्यक्ति के लिए एक conferenceRecords.participants संसाधन होता है.

मीटिंग में हिस्सा लेने वाला सेशन एक यूनीक सेशन आईडी होता है, जो कॉल में शामिल होने वाले हर व्यक्ति और डिवाइस के जोड़े के लिए बनाया जाता है. हर सेशन के लिए एक conferenceRecords.participants.participantSessions संसाधन उपलब्ध होता है. अगर हिस्सा लेने वाला व्यक्ति, एक ही व्यक्ति के डिवाइस की जोड़ी से एक ही कॉल में कई बार शामिल होता है, तो उसे असाइन किए गए हर सेशन के यूनीक आईडी दिए जाते हैं.

इस पेज पर कॉन्फ़्रेंस में शामिल हुए या इसमें शामिल किसी एक व्यक्ति के बारे में जानकारी और उसके सेशन की जानकारी पाने का तरीका बताया गया है.

लोग जो इवेंट में हिस्सा लेंगे

नीचे दिए गए सेक्शन में, हिस्सा लेने वालों के बारे में जानकारी पाने का तरीका बताया गया है.

conferenceRecords.participants संसाधन में user फ़ील्ड शामिल होता है. user इनमें से सिर्फ़ एक ऑब्जेक्ट हो सकता है:

  • signedinUser, इनमें से कोई एक है:

    • निजी कंप्यूटर, मोबाइल डिवाइस या कंपैनियन मोड का इस्तेमाल करके मीटिंग में शामिल होने वाला व्यक्ति.

    • एक रोबोट खाता, जिसका इस्तेमाल कॉन्फ़्रेंस रूम के डिवाइस करते हैं.

  • anonymousUser, ऐसा उपयोगकर्ता होता है जिसकी पहचान नहीं की जा सकी. यह ऐसा उपयोगकर्ता होता है जिसने Google खाते में साइन इन नहीं किया है.

  • phoneUser, वह व्यक्ति होता है जो किसी ऐसे फ़ोन से डायल इन करता है जिस पर उपयोगकर्ता की पहचान ज़ाहिर नहीं होती. इसकी वजह यह है कि उसने Google खाते से साइन इन नहीं किया है.

मीटिंग में हिस्सा लेने वाले सभी लोगों को खोजें

किसी कॉन्फ़्रेंस रिकॉर्ड में हिस्सा लेने वाले सभी लोगों की जानकारी पाने के लिए, parent पाथ पैरामीटर के साथ conferenceRecords.participants संसाधन पर मौजूद list() तरीके का इस्तेमाल करें.

earliestStartTime या latestEndTime फ़ील्ड का इस्तेमाल करके, उन उपयोगकर्ताओं को फ़िल्टर किया जा सकता है जो किसी तय समय से पहले शामिल हुए या छोड़ दिए गए. दोनों फ़ील्ड आरएफ़सी 3339 यूटीसी "ज़ुलु" फ़ॉर्मैट में, टाइमस्टैंप फ़ॉर्मैट का इस्तेमाल करते हैं. इसमें नैनोसेकंड का रिज़ॉल्यूशन और नौ फ़्रैक्शनल अंक तक होते हैं: {year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z. उदाहरण के लिए:

  • earliestStartTime < 2023-10-01T15:01:23Z
  • latestEndTime < 2023-10-01T15:01:23Z

किसी मौजूदा कॉन्फ़्रेंस में सक्रिय लोगों को शामिल करने के लिए, latestEndTime IS NULL का इस्तेमाल करें.

यह तरीका, कॉन्फ़्रेंस में हिस्सा लेने वाले लोगों की सूची दिखाता है. यह सूची, conferenceRecords.participants रिसॉर्स के इंस्टेंस के तौर पर, शामिल होने के समय के हिसाब से घटते क्रम में होती है.

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

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listparticipants/AsyncListParticipants.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.ListParticipantsRequest;
import com.google.apps.meet.v2.Participant;

public class AsyncListParticipants {

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

  public static void asyncListParticipants() 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()) {
      ListParticipantsRequest request =
          ListParticipantsRequest.newBuilder()
              .setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .setFilter("filter-1274492040")
              .build();
      ApiFuture<Participant> future =
          conferenceRecordsServiceClient.listParticipantsPagedCallable().futureCall(request);
      // Do something.
      for (Participant element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_participants.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 participants to return. The service might return fewer
 *  than this value.
 *  If unspecified, at most 100 participants are returned.
 *  The maximum value is 250; values above 250 are coerced to 250.
 *  Maximum might change in the future.
 */
// const pageSize = 1234
/**
 *  Page token returned from previous List Call.
 */
// const pageToken = 'abc123'
/**
 *  Optional. User specified filtering condition in EBNF
 *  format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
 *  The following are the filterable fields:
 *  * `earliest_start_time`
 *  * `latest_end_time`
 *  For example, `latest_end_time IS NULL` returns active participants in
 *  the conference.
 */
// const filter = 'abc123'

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

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

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

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

callListParticipants();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_participants_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_participants():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

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

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

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

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

मीटिंग में शामिल किसी खास व्यक्ति को खोजें

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

यह तरीका, conferenceRecords.participants रिसॉर्स के इंस्टेंस के तौर पर, हिस्सा लेने वाले का नाम दिखाता है.

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

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/getparticipant/AsyncGetParticipant.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetParticipantRequest;
import com.google.apps.meet.v2.Participant;
import com.google.apps.meet.v2.ParticipantName;

public class AsyncGetParticipant {

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

  public static void asyncGetParticipant() 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()) {
      GetParticipantRequest request =
          GetParticipantRequest.newBuilder()
              .setName(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
              .build();
      ApiFuture<Participant> future =
          conferenceRecordsServiceClient.getParticipantCallable().futureCall(request);
      // Do something.
      Participant response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_participant.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 participant.
 */
// const name = 'abc123'

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

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

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

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

callGetParticipant();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_participant_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_participant():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

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

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

    # Handle the response
    print(response)

ढूंढने के लिए, मीटिंग में हिस्सा लेने वाले व्यक्ति के नाम की जगह उस व्यक्ति का नाम डालें.

मीटिंग में हिस्सा लेने वाले लोगों के सेशन

नीचे दिए गए सेक्शन में, मीटिंग में हिस्सा लेने वाले लोगों के सेशन के बारे में जानकारी पाने का तरीका बताया गया है.

मीटिंग में हिस्सा लेने वाले सभी लोगों के सेशन खोजें

कॉन्फ़्रेंस के रिकॉर्ड में, हिस्सा लेने वाले किसी व्यक्ति के सभी सेशन की जानकारी पाने के लिए, parent पाथ पैरामीटर के साथ conferenceRecords.participants.participantSessions संसाधन पर मौजूद list() तरीके का इस्तेमाल करें.

startTime या endTime फ़ील्ड का इस्तेमाल करके, उन उपयोगकर्ताओं को फ़िल्टर किया जा सकता है जो किसी तय समय से पहले शामिल हुए या छोड़कर चले गए. दोनों फ़ील्ड में, आरएफ़सी 3339 यूटीसी में, "ज़ुलु" फ़ॉर्मैट टाइमस्टैंप का इस्तेमाल होता है. इसमें नैनोसेकंड वाला रिज़ॉल्यूशन और नौ फ़्रैक्शनल अंक तक होते हैं: {year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z. उदाहरण के लिए:

  • startTime < 2023-10-01T15:01:23Z
  • endTime < 2023-10-01T15:01:23Z

यह तरीका, मीटिंग में हिस्सा लेने वाले लोगों के सेशन की सूची दिखाता है. यह सूची, conferenceRecords.participants.participantSession रिसॉर्स के इंस्टेंस के तौर पर, जॉइन टाइम के हिसाब से घटते क्रम में होती है.

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

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listparticipantsessions/AsyncListParticipantSessions.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListParticipantSessionsRequest;
import com.google.apps.meet.v2.ParticipantName;
import com.google.apps.meet.v2.ParticipantSession;

public class AsyncListParticipantSessions {

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

  public static void asyncListParticipantSessions() 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()) {
      ListParticipantSessionsRequest request =
          ListParticipantSessionsRequest.newBuilder()
              .setParent(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .setFilter("filter-1274492040")
              .build();
      ApiFuture<ParticipantSession> future =
          conferenceRecordsServiceClient.listParticipantSessionsPagedCallable().futureCall(request);
      // Do something.
      for (ParticipantSession element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_participant_sessions.js
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **



'use strict';

function main(parent) {
  /**
   * 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}/participants/{participant}`
   */
  // const parent = 'abc123'
  /**
   *  Optional. Maximum number of participant sessions to return. The service
   *  might return fewer than this value. If unspecified, at most 100
   *  participants are returned. The maximum value is 250; values above 250 are
   *  coerced to 250. Maximum might change in the future.
   */
  // const pageSize = 1234
  /**
   *  Optional. Page token returned from previous List Call.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. User specified filtering condition in EBNF
   *  format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
   *  The following are the filterable fields:
   *  * `start_time`
   *  * `end_time`
   *  For example, `end_time IS NULL` returns active participant sessions in
   *  the conference record.
   */
  // const filter = 'abc123'

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

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

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

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

  callListParticipantSessions();
}

process.on('unhandledRejection', err => {
  console.error(err.message);
  process.exitCode = 1;
});
main(...process.argv.slice(2));

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_participant_sessions_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_participant_sessions():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

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

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

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

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

मीटिंग में हिस्सा लेने वाले किसी खास व्यक्ति के सेशन को खोजना

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

यह तरीका, conferenceRecords.participants.participantSessions रिसॉर्स के इंस्टेंस के तौर पर, हिस्सा लेने वाले का नाम दिखाता है.

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

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/getparticipantsession/AsyncGetParticipantSession.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetParticipantSessionRequest;
import com.google.apps.meet.v2.ParticipantSession;
import com.google.apps.meet.v2.ParticipantSessionName;

public class AsyncGetParticipantSession {

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

  public static void asyncGetParticipantSession() 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()) {
      GetParticipantSessionRequest request =
          GetParticipantSessionRequest.newBuilder()
              .setName(
                  ParticipantSessionName.of(
                          "[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]")
                      .toString())
              .build();
      ApiFuture<ParticipantSession> future =
          conferenceRecordsServiceClient.getParticipantSessionCallable().futureCall(request);
      // Do something.
      ParticipantSession response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_participant_session.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 participant.
 */
// const name = 'abc123'

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

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

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

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

callGetParticipantSession();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_participant_session_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_participant_session():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

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

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

    # Handle the response
    print(response)

ढूंढने के लिए, मीटिंग में हिस्सा लेने वाले व्यक्ति के नाम की जगह उस व्यक्ति का नाम डालें.