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

এই নির্দেশিকাটি ব্যাখ্যা করে যে কীভাবে Google Meet REST API ব্যবহার করে অতীতের কোনও সম্মেলনে অংশগ্রহণকারী বা সক্রিয় সম্মেলনে অংশগ্রহণকারী অংশগ্রহণকারীদের সম্পর্কে বিস্তারিত তথ্য এবং তাদের সেশনের তথ্য পাবেন।

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

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

আপনি যদি মিটিং স্পেসের মালিক বা অংশগ্রহণকারী হন, তাহলে অংশগ্রহণকারীদের রেকর্ড পুনরুদ্ধার করতে আপনি participants এবং participantSessions সেশন রিসোর্স উভয়ের get() এবং list() পদ্ধতিতে কল করতে পারেন।

ব্যবহারকারীর শংসাপত্র ব্যবহার করে প্রমাণীকরণ এবং অনুমোদনের মাধ্যমে Google Meet অ্যাপগুলি ব্যবহারকারীর ডেটা অ্যাক্সেস করতে এবং প্রমাণীকরণকৃত ব্যবহারকারীর পক্ষে ক্রিয়াকলাপ সম্পাদন করতে পারে। ডোমেন-ওয়াইড ডেলিগেশন ব্যবহার করে প্রমাণীকরণের মাধ্যমে আপনি প্রতিটি ব্যবহারকারীর সম্মতি ছাড়াই আপনার ব্যবহারকারীর ডেটা অ্যাক্সেস করার জন্য একটি অ্যাপ্লিকেশনের পরিষেবা অ্যাকাউন্টকে অনুমোদন করতে পারেন।

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

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

participants user ক্ষেত্রের সাথে ইউনিয়নের রিসোর্স করে। একজন user নিম্নলিখিত বস্তুগুলির মধ্যে কেবল একটি হতে পারে:

  • একজন signedinUser হল:

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

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

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

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

মনে রাখবেন যে তিনটি অবজেক্টই একটি displayName প্রদান করে, signedinUser একটি অনন্য user আইডি প্রদান করে যা অ্যাডমিন SDK API এবং People API এর সাথে ইন্টারঅপারেবল। ফর্ম্যাট: users/{user} । People API এর সাথে user আইডি ব্যবহার সম্পর্কে আরও তথ্যের জন্য, People API এর সাথে অংশগ্রহণকারীদের বিবরণ পুনরুদ্ধার করুন দেখুন।

একজন অংশগ্রহণকারী সম্পর্কে বিস্তারিত জানুন

নির্দিষ্ট অংশগ্রহণকারী সম্পর্কে বিস্তারিত জানতে, name পাথ প্যারামিটার সহ participants রিসোর্সে get() পদ্ধতিটি ব্যবহার করুন। যদি আপনি অংশগ্রহণকারীর নাম না জানেন, তাহলে আপনি list() পদ্ধতিটি ব্যবহার করে সমস্ত অংশগ্রহণকারীর নাম তালিকাভুক্ত করতে পারেন।

এই পদ্ধতিটি অংশগ্রহণকারীদের তথ্যকে participants রিসোর্সের উদাহরণ হিসেবে প্রদান করে।

নিম্নলিখিত কোড নমুনাটি দেখায় কিভাবে একজন নির্দিষ্ট অংশগ্রহণকারীকে পুনরুদ্ধার করতে হয়:

জাভা

জাভা-মিট/স্যাম্পল/স্নিপেটস/জেনারেটেড/কম/গুগল/অ্যাপস/মিট/ভি২/কনফারেন্সরেকর্ডসসার্ভিস/গেটপার্টিসিপ্যান্ট/অ্যাসিঙ্কগেটপার্টিসিপ্যান্ট.জাভা
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();
    }
  }
}

নোড.জেএস

প্যাকেজ/গুগল-অ্যাপস-মিট/স্যাম্পল/জেনারেটেড/ভি২/কনফারেন্স_রেকর্ডস_সার্ভিস.গেট_পার্টিসিপ্যান্ট.জেএস
/**
 * 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();

পাইথন

প্যাকেজ/গুগল-অ্যাপস-মিট/স্যাম্পল/জেনারেটেড_স্যাম্পল/মিট_ভি২_জেনারেটেড_কনফারেন্স_রেকর্ডস_সার্ভিস_গেট_পার্টিসিপ্যান্ট_অ্যাসিঙ্ক.পি
# 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 পাথ প্যারামিটার সহ participants রিসোর্সে list() পদ্ধতিটি ব্যবহার করুন। ফর্ম্যাট: conferenceRecords/{conferenceRecord}

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

নিম্নলিখিত কোড নমুনাটি দেখায় কিভাবে একটি কনফারেন্স রেকর্ডে সমস্ত অংশগ্রহণকারীদের তালিকাভুক্ত করতে হয়:

জাভা

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

নোড.জেএস

প্যাকেজ/গুগল-অ্যাপস-মিট/স্যাম্পল/জেনারেটেড/ভি২/কনফারেন্স_রেকর্ডস_সার্ভিস.লিস্ট_পার্টিসিপ্যান্টস.জেএস
/**
 * 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();

পাইথন

প্যাকেজ/গুগল-অ্যাপস-মিট/নমুনা/জেনারেটেড_স্যাম্পল/মিট_ভি২_জেনারেটেড_কনফারেন্স_রেকর্ডস_সার্ভিস_লিস্ট_পার্টিসিপ্যান্টস_এসিঙ্ক.পি
# 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)

কনফারেন্স রেকর্ডের নাম দিয়ে মূল মানটি প্রতিস্থাপন করুন।

অংশগ্রহণকারীদের তালিকা কাস্টমাইজ করুন অথবা ফিল্টার করুন।

অংশগ্রহণকারীদের পৃষ্ঠাঙ্কন কাস্টমাইজ করতে বা ফিল্টার করতে নিম্নলিখিত কোয়েরি প্যারামিটারগুলি পাস করুন:

  • pageSize : অংশগ্রহণকারীদের সর্বাধিক সংখ্যা যতবার ফেরত পাঠানো হবে। পরিষেবাটি এই মানের চেয়ে কম ফেরত দিতে পারে। যদি নির্দিষ্ট না করা থাকে, তাহলে সর্বাধিক ১০০ জন অংশগ্রহণকারী ফেরত দেওয়া হবে। সর্বোচ্চ মান হল ২৫০; ২৫০ এর বেশি মান স্বয়ংক্রিয়ভাবে ২৫০ এ পরিবর্তিত হবে।

  • pageToken : পূর্ববর্তী তালিকা কল থেকে প্রাপ্ত একটি পৃষ্ঠা টোকেন। পরবর্তী পৃষ্ঠাটি পুনরুদ্ধার করতে এই টোকেনটি প্রদান করুন।

  • filter : ঐচ্ছিক। participants রিসোর্স ফলাফলে নির্দিষ্ট আইটেমগুলি পুনরুদ্ধার করার জন্য একটি কোয়েরি ফিল্টার।

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

পিপল এপিআই ব্যবহার করে অংশগ্রহণকারীদের বিবরণ পুনরুদ্ধার করুন

একজন অংশগ্রহণকারী সম্পর্কে বিশদ তথ্য পেতে, People API-তে people রিসোর্সে get() পদ্ধতিটি ব্যবহার করুন।

  1. পাথের ট্রেলিং কম্পোনেন্ট ব্যবহার করে participant রিসোর্স থেকে ব্যক্তির আইডি বের করুন। উদাহরণস্বরূপ, যদি participant রিসোর্সের মান conferenceRecords/abc-123/participants/12345 হয়, তাহলে People API এর আইডি হল 12345

  2. READ_SOURCE_TYPE_PROFILE , READ_SOURCE_TYPE_CONTACT , এবং READ_SOURCE_TYPE_OTHER_CONTACT ReadSourceType অন্তর্ভুক্ত করুন। এটি নিশ্চিত করে যে Google Workspace প্রতিষ্ঠানের অভ্যন্তরীণ ব্যবহারকারী এবং বহিরাগত পরিচিতি উভয়কেই প্রতিক্রিয়ায় অন্তর্ভুক্ত করা হয়েছে।

নিম্নলিখিত কোড নমুনাটি দেখায় যে কীভাবে একজন ব্যক্তির জন্য প্রতিষ্ঠানের প্রোফাইল এবং পরিচিতি উভয়ই অনুসন্ধান করতে হয়:

সিআরএল

curl \
   'https://people.googleapis.com/v1/people/PERSON_ID?personFields=names%2CemailAddresses&sources=READ_SOURCE_TYPE_OTHER_CONTACT&sources=READ_SOURCE_TYPE_PROFILE&sources=READ_SOURCE_TYPE_CONTACT' \
   --header 'Authorization: Bearer ACCESS_TOKEN' \
   --header 'Accept: application/json' \
   --compressed

নিম্নলিখিতগুলি প্রতিস্থাপন করুন:

  • PERSON_ID : যে ব্যক্তিকে খুঁজে বের করতে হবে তার আইডি।
  • ACCESS_TOKEN : অ্যাক্সেস টোকেন যা একাধিক API-তে অ্যাক্সেস দেয়।

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

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

অংশগ্রহণকারী সেশন সম্পর্কে বিস্তারিত জানুন

একটি নির্দিষ্ট অংশগ্রহণকারী সেশন সম্পর্কে বিস্তারিত জানতে, participantSessions রিসোর্সে name path প্যারামিটার সহ get() পদ্ধতিটি ব্যবহার করুন। যদি আপনি অংশগ্রহণকারী সেশনের নাম না জানেন, তাহলে আপনি list() পদ্ধতি ব্যবহার করে একজন অংশগ্রহণকারীর সমস্ত অংশগ্রহণকারী সেশন তালিকাভুক্ত করতে পারেন।

এই পদ্ধতিটি অংশগ্রহণকারীর নামকে 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();
    }
  }
}

নোড.জেএস

প্যাকেজ/গুগল-অ্যাপস-মিট/স্যাম্পল/জেনারেটেড/ভি২/কনফারেন্স_রেকর্ডস_সার্ভিস.গেট_পার্টিসিপ্যান্ট_সেশন.জেএস
/**
 * 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();

পাইথন

প্যাকেজ/গুগল-অ্যাপস-মিট/নমুনা/জেনারেটেড_স্যাম্পল/মিট_ভি২_জেনারেটেড_কনফারেন্স_রেকর্ডস_সার্ভিস_গেট_পার্টিসিপ্যান্ট_সেশন_অ্যাসিঙ্ক.পিআই
# 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)

অংশগ্রহণকারীর নামটি একটি অংশগ্রহণকারীর সেশনের নির্দিষ্ট অংশগ্রহণকারীর সেশন আইডির নাম দিয়ে প্রতিস্থাপন করুন।

সকল অংশগ্রহণকারী সেশনের তালিকা তৈরি করুন

একটি কনফারেন্স রেকর্ডে অংশগ্রহণকারীর সকল অংশগ্রহণকারী সেশনের বিশদ তালিকাভুক্ত করতে, parent পাথ প্যারামিটার সহ participantSessions সেশন রিসোর্সে list() পদ্ধতিটি ব্যবহার করুন। ফর্ম্যাট: conferenceRecords/{conferenceRecord}/participants/{participant}

এই পদ্ধতিটি অংশগ্রহণকারী সেশনের একটি তালিকা প্রদান করে, যা startTime অনুসারে অবরোহী ক্রমে ক্রমানুসারে সাজানো হয়, একটি 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);
      }
    }
  }
}

নোড.জেএস

প্যাকেজ/গুগল-অ্যাপস-মিট/স্যাম্পল/জেনারেটেড/ভি২/কনফারেন্স_রেকর্ডস_সার্ভিস.লিস্ট_পার্টিসিপ্যান্ট_সেশনস.জেএস
// Copyright 2025 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));

পাইথন

প্যাকেজ/গুগল-অ্যাপস-মিট/নমুনা/জেনারেটেড_স্যাম্পল/মিট_ভি২_জেনারেটেড_কনফারেন্স_রেকর্ডস_সার্ভিস_লিস্ট_পার্টিসিপ্যান্ট_সেশনস_এসিঙ্ক.পিআই
# 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)

একটি কনফারেন্স রেকর্ডে অংশগ্রহণকারীর অংশগ্রহণকারী সেশনের নাম দিয়ে মূল মানটি প্রতিস্থাপন করুন।

অংশগ্রহণকারীদের সেশন তালিকার পৃষ্ঠাঙ্কন কাস্টমাইজ করুন বা ফিল্টার করুন

অংশগ্রহণকারী সেশনের পৃষ্ঠাঙ্কন কাস্টমাইজ করতে বা ফিল্টার করতে নিম্নলিখিত ঐচ্ছিক কোয়েরি প্যারামিটারগুলি পাস করুন:

  • pageSize : অংশগ্রহণকারীর সর্বোচ্চ কতটি সেশন ফেরত পাঠানো হবে। পরিষেবাটি এই মানের চেয়ে কম ফেরত দিতে পারে। যদি নির্দিষ্ট না করা থাকে, তাহলে সর্বাধিক ১০০টি অংশগ্রহণকারীর সেশন ফেরত দেওয়া হবে। সর্বাধিক মান হল ২৫০; ২৫০ এর বেশি মান স্বয়ংক্রিয়ভাবে ২৫০ এ পরিবর্তিত হবে।

  • pageToken : পূর্ববর্তী তালিকা কল থেকে প্রাপ্ত একটি পৃষ্ঠা টোকেন। পরবর্তী পৃষ্ঠাটি পুনরুদ্ধার করতে এই টোকেনটি প্রদান করুন।

  • filter : ঐচ্ছিক। participants রিসোর্স ফলাফলে নির্দিষ্ট আইটেমগুলি পুনরুদ্ধার করার জন্য একটি কোয়েরি ফিল্টার।

    নির্দিষ্ট সময়ের আগে যোগদানকারী বা পরে চলে যাওয়া ব্যবহারকারীদের ফিল্টার করার জন্য আপনি startTime অথবা endTime ক্ষেত্র ব্যবহার করতে পারেন। উভয় ক্ষেত্রই RFC 3339 UTC "Zulu" ফর্ম্যাটে টাইমস্ট্যাম্প ফর্ম্যাট ব্যবহার করে, ন্যানোসেকেন্ড রেজোলিউশন এবং সর্বাধিক নয়টি ভগ্নাংশ সংখ্যা সহ: {year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z । উদাহরণস্বরূপ:

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

    কনফারেন্স রেকর্ডে সমস্ত সক্রিয় অংশগ্রহণকারী সেশন তালিকাভুক্ত করতে, endTime IS NULL ব্যবহার করুন।