অংশগ্রহণকারীদের সঙ্গে কাজ

একজন অংশগ্রহণকারী হল একজন ব্যক্তি যিনি একটি কলে যোগদান করেছেন বা যেটি কম্প্যানিয়ন মোড ব্যবহার করে, দর্শক হিসেবে দেখছে, অথবা একটি কলের সাথে সংযুক্ত একটি রুম ডিভাইস। প্রতিটি ব্যক্তির জন্য একটি conferenceRecords.participants সংস্থান রয়েছে৷

একটি অংশগ্রহণকারী সেশন হল একটি অনন্য সেশন আইডি যা একটি কলে যোগদানকারী প্রতিটি অংশগ্রহণকারী-ডিভাইস জোড়ার জন্য তৈরি করা হয়। প্রতিটি সেশনের জন্য একটি conferenceRecords.participants.participantSessions রিসোর্স আছে। যদি অংশগ্রহণকারী একই অংশগ্রহণকারী-ডিভাইস জোড়া থেকে একই কলে একাধিকবার যোগদান করেন, তাহলে তাদের প্রত্যেককে অনন্য সেশন আইডি বরাদ্দ করা হয়।

এই পৃষ্ঠাটি বর্ণনা করে যে কীভাবে সমস্ত অংশগ্রহণকারীদের সম্পর্কে তথ্য পাওয়া যায় যারা একটি কনফারেন্সে অংশ নিয়েছিলেন বা আছেন, বা শুধুমাত্র একজন অংশগ্রহণকারী সম্পর্কে, তাদের সেশনের তথ্য সহ।

অংশগ্রহণকারীরা

নিম্নলিখিত বিভাগগুলি কীভাবে অংশগ্রহণকারীদের সম্পর্কে তথ্য পেতে হয় তার বিশদ বিবরণ রয়েছে৷

conferenceRecords.participants রিসোর্স user ক্ষেত্র অন্তর্ভুক্ত করে। একজন user নিম্নলিখিত বস্তুর মধ্যে শুধুমাত্র একটি হতে পারে:

  • একটি signedinUser হয়:

    • একজন ব্যক্তি একটি ব্যক্তিগত কম্পিউটার, একটি মোবাইল ডিভাইস বা কম্প্যানিয়ন মোডের মাধ্যমে যোগদান করছেন।

    • কনফারেন্স রুম ডিভাইস দ্বারা ব্যবহৃত একটি রোবট অ্যাকাউন্ট।

  • একজন anonymousUser একজন অজ্ঞাত ব্যবহারকারী যিনি একটি Google অ্যাকাউন্টে সাইন ইন করেননি৷

  • একটি phoneUser হল একজন ব্যবহারকারী যে ফোন থেকে ডায়াল করে যেখানে ব্যবহারকারীর পরিচয় অজানা কারণ তারা একটি Google অ্যাকাউন্ট দিয়ে সাইন ইন করেনি৷

সমস্ত অংশগ্রহণকারীদের জন্য অনুসন্ধান করুন

একটি কনফারেন্স রেকর্ডে সমস্ত অংশগ্রহণকারীদের সম্পর্কে বিশদ পেতে, parent পাথ প্যারামিটার সহ conferenceRecords.participants রিসোর্সে list() পদ্ধতিটি ব্যবহার করুন৷

নির্দিষ্ট সময়ের আগে যোগদানকারী বা চলে যাওয়া ব্যবহারকারীদের ফিল্টার করার জন্য আপনি earliestStartTime বা latestEndTime ক্ষেত্রগুলি ব্যবহার করতে পারেন৷ উভয় ক্ষেত্রই RFC 3339 UTC "জুলু" বিন্যাসে টাইমস্ট্যাম্প ফর্ম্যাট ব্যবহার করে, ন্যানোসেকেন্ড রেজোলিউশন এবং নয়টি পর্যন্ত ভগ্নাংশ সংখ্যা: {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-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();

পাইথন

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-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();

পাইথন

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 ক্ষেত্রগুলি ব্যবহার করতে পারেন৷ উভয় ক্ষেত্রই RFC 3339 UTC "জুলু" বিন্যাসে টাইমস্ট্যাম্প ফর্ম্যাট ব্যবহার করে, ন্যানোসেকেন্ড রেজোলিউশন এবং নয়টি পর্যন্ত ভগ্নাংশ সংখ্যা: {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-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));

পাইথন

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-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();

পাইথন

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)

খুঁজে পেতে নির্দিষ্ট অংশগ্রহণকারীর নামের সাথে অংশগ্রহণকারীর নাম প্রতিস্থাপন করুন।