Gemini Triggers API

ট্রিগার আপনাকে ক্রন শিডিউল অনুযায়ী এজেন্ট এক্সিকিউশন নির্ধারণ করার সুযোগ দেয়, যার মাধ্যমে স্বয়ংক্রিয় এবং পুনরাবৃত্তিমূলক কাজগুলো সম্পন্ন করা যায়।

CreateTrigger

পোস্ট https://generativelanguage.googleapis.com/v1beta/triggers

একটি নতুন ট্রিগার তৈরি করে যা প্রদত্ত ক্রন শিডিউল অনুযায়ী নির্দিষ্ট এজেন্টকে চালু করবে।

অনুরোধকারী শরীর

অনুরোধের মূল অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

প্রদর্শনের নাম স্ট্রিং (ঐচ্ছিক)

ঐচ্ছিক। ট্রিগারের প্রদর্শিত নাম।

পরিবেশ_আইডি স্ট্রিং (ঐচ্ছিক)

ঐচ্ছিক। ট্রিগার কার্যকর করার জন্য পরিবেশ আইডি।

এক্সিকিউশন_টাইমআউট_সেকেন্ড পূর্ণসংখ্যা (ঐচ্ছিক)

ঐচ্ছিক। সক্রিয়কৃত ইন্টারঅ্যাকশনটির জন্য কার্য সম্পাদনের সময়সীমা।

ইন্টারঅ্যাকশন CreateAgentInteractionParams অথবা CreateModelInteractionParams (আবশ্যক)

প্রয়োজনীয়। ইন্টারঅ্যাকশন অনুরোধ টেমপ্লেটটি কার্যকর করতে হবে।

সর্বোচ্চ ধারাবাহিক ব্যর্থতা পূর্ণসংখ্যা (ঐচ্ছিক)

ঐচ্ছিক। ট্রিগারটি স্বয়ংক্রিয়ভাবে বিরতি নেওয়ার আগে (স্ট্যাটাস ERROR হয়ে যাওয়ার আগে) অনুমোদিত সর্বোচ্চ ধারাবাহিক ব্যর্থতার সংখ্যা।

সময়সূচী স্ট্রিং (আবশ্যক)

আবশ্যক। যে ক্রন শিডিউল অনুযায়ী ট্রিগারটি চলবে। স্ট্যান্ডার্ড ক্রন ফরম্যাট।

সময়_অঞ্চল স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। যে সময় অঞ্চল অনুযায়ী সময়সূচীটি ব্যাখ্যা করা হবে।

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

পরপর ব্যর্থতার সংখ্যা পূর্ণসংখ্যা (ঐচ্ছিক)

শুধুমাত্র আউটপুট। সর্বশেষ সফলভাবে সম্পাদনের পর থেকে ঘটে যাওয়া ধারাবাহিক ব্যর্থতার সংখ্যা।

তৈরি করার সময় স্ট্রিং (ঐচ্ছিক)

শুধুমাত্র আউটপুট। ট্রিগারটি তৈরি হওয়ার সময়।

প্রদর্শনের নাম স্ট্রিং (ঐচ্ছিক)

ঐচ্ছিক। ট্রিগারের প্রদর্শিত নাম।

পরিবেশ_আইডি স্ট্রিং (ঐচ্ছিক)

ঐচ্ছিক। ট্রিগার কার্যকর করার জন্য পরিবেশ আইডি।

এক্সিকিউশন_টাইমআউট_সেকেন্ড পূর্ণসংখ্যা (ঐচ্ছিক)

ঐচ্ছিক। সক্রিয়কৃত ইন্টারঅ্যাকশনটির জন্য কার্য সম্পাদনের সময়সীমা।

আইডি স্ট্রিং (ঐচ্ছিক)

আবশ্যক। শুধুমাত্র আউটপুট। শনাক্তকারী। ট্রিগারের আইডি।

মিথস্ক্রিয়া মিথস্ক্রিয়া (ঐচ্ছিক)

প্রয়োজনীয়। ইন্টারঅ্যাকশন অনুরোধ টেমপ্লেটটি কার্যকর করতে হবে।

মিথস্ক্রিয়া সম্পদ।

ক্ষেত্র

এজেন্ট এজেন্টঅপশন (ঐচ্ছিক)

ইন্টারঅ্যাকশনটি তৈরি করতে ব্যবহৃত 'এজেন্ট'-এর নাম।

যে এজেন্টের সাথে যোগাযোগ করতে হবে।

সম্ভাব্য মান

  • deep-research-pro-preview-12-2025

    জেমিনি ডিপ রিসার্চ এজেন্ট

  • deep-research-preview-04-2026

    জেমিনি ডিপ রিসার্চ এজেন্ট

  • deep-research-max-preview-04-2026

    জেমিনি ডিপ রিসার্চ ম্যাক্স এজেন্ট

  • antigravity-preview-05-2026

    যুক্তিবোধ, ফাইল পরিচালনা এবং টুল ব্যবহারের প্রয়োজন হয় এমন একাধিক ধাপের কাজ সম্পাদন করতে অ্যান্টিগ্র্যাভিটি পরিচালিত এজেন্টটি ব্যবহার করুন।

agent_config অবজেক্ট (ঐচ্ছিক)

এজেন্ট ইন্টারঅ্যাকশনের জন্য কনফিগারেশন প্যারামিটারসমূহ।

সম্ভাব্য প্রকার

পলিমরফিক ডিসক্রিমিনেটর: type

AntigravityAgentConfig

অ্যান্টিগ্র্যাভিটি এজেন্ট রানটাইমের কনফিগারেশন। এটি এজেন্টের এক্সিকিউশন এনভায়রনমেন্ট এবং টুল কনফিগারেশনের ওপর সার্ভার-সাইড নিয়ন্ত্রণ প্রদান করে।

max_total_tokens স্ট্রিং (ঐচ্ছিক)

এজেন্ট রানের জন্য সর্বোচ্চ মোট টোকেন।

মডেল স্ট্রিং (ঐচ্ছিক)

এজেন্টের যুক্তিবোধের জন্য ব্যবহারযোগ্য মডেল।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "antigravity" তে সেট করা থাকে।

কোডমেন্ডারএজেন্টকনফিগ

কোডমেন্ডার এজেন্টের কনফিগারেশন।

find_request FindRequest (ঐচ্ছিক)

দুর্বলতা খুঁজে বের করার মাপকাঠি।

কোডবেসের দুর্বলতা খুঁজে বের করার জন্য ব্যবহৃত FIND সেশনের নির্দিষ্ট রিকোয়েস্ট প্যারামিটারসমূহ।

ক্ষেত্র

বর্ণনা স্ট্রিং (ঐচ্ছিক)

দুর্বলতা বিশ্লেষণকে নির্দেশনা দেওয়ার জন্য ব্যবহারকারী কর্তৃক প্রদত্ত অতিরিক্ত প্রাসঙ্গিক তথ্য বা নিজস্ব নির্দেশাবলী।

finding_id স্ট্রিং (ঐচ্ছিক)

যাচাই করার জন্য একটি নির্দিষ্ট অনুসন্ধানের শনাক্তকারী। এটি প্রধানত ভেরিফাই মোডে ব্যবহৃত হয়, যাতে এজেন্টের কার্যসম্পাদন-ভিত্তিক যাচাইকরণ একটিমাত্র দুর্বলতার উপর কেন্দ্রীভূত হয়।

মোড এনাম (স্ট্রিং) (ঐচ্ছিক)

অনুসন্ধান সেশনের মোড।

সম্ভাব্য মানসমূহ:

  • scan

    শুধুমাত্র প্রাথমিক ক্লাসিফায়ার ব্যবহার করে দ্রুত স্ক্যান।

  • verify

    শ্রেণিবিন্যাস সম্পাদনের পর বিস্তারিত তদন্ত করা হয়।

উৎস_ফাইল অ্যারে (ফাইলের বিষয়বস্তু) (ঐচ্ছিক)

স্ক্যানের প্রেক্ষাপট হিসেবে সরবরাহ করার জন্য উৎস ফাইলগুলির একটি তালিকা।

কোডবেসের একটিমাত্র ফাইলের বিষয়বস্তু।

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

ফাইলটির UTF-8 এনকোডেড টেক্সট কন্টেন্ট।

পাথ স্ট্রিং (ঐচ্ছিক)

প্রজেক্ট রুট থেকে ফাইলটির আপেক্ষিক পথ।

fix_request FixRequest (ঐচ্ছিক)

দুর্বলতা নিরাময়ের জন্য প্যারামিটারসমূহ।

নিরাপত্তা প্যাচ তৈরি ও যাচাই করার জন্য ব্যবহৃত, FIX সেশনের নির্দিষ্ট প্যারামিটারসমূহ অনুরোধ করুন।

ক্ষেত্র

বর্ণনা স্ট্রিং (ঐচ্ছিক)

প্যাচ তৈরির প্রক্রিয়াকে নির্দেশনা দেওয়ার জন্য ব্যবহারকারী কর্তৃক প্রদত্ত অতিরিক্ত প্রাসঙ্গিক তথ্য বা নিজস্ব নির্দেশাবলী।

finding_id স্ট্রিং (ঐচ্ছিক)

যে নির্দিষ্ট নিরাপত্তা ত্রুটিটির প্রতিকার করা হবে, তার শনাক্তকারী। এই আইডিটি পূর্বে আবিষ্কৃত একটি দুর্বলতার সাথে সম্পর্কিত।

উৎস_ফাইল অ্যারে (ফাইলের বিষয়বস্তু) (ঐচ্ছিক)

প্রতিকারের প্রেক্ষাপট প্রদানকারী উৎস ফাইলগুলির একটি তালিকা। এই ফাইলগুলিতেই সাধারণত চিহ্নিত দুর্বলতাটি থাকে।

কোডবেসের একটিমাত্র ফাইলের বিষয়বস্তু।

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

ফাইলটির UTF-8 এনকোডেড টেক্সট কন্টেন্ট।

পাথ স্ট্রিং (ঐচ্ছিক)

প্রজেক্ট রুট থেকে ফাইলটির আপেক্ষিক পথ।

মডেল স্ট্রিং (ঐচ্ছিক)

কোডমেন্ডার এজেন্টের জন্য ব্যবহৃত মডেলের নাম। একটি কোডমেন্ডার সেশনে শুধুমাত্র একটি মডেল ব্যবহৃত হবে।

সেশন_কনফিগ সেশনকনফিগ (ঐচ্ছিক)

ডিফল্ট এজেন্ট আচরণকে অগ্রাহ্য করার জন্য ঐচ্ছিক সেশন-নির্দিষ্ট কনফিগারেশন।

কোডমেন্ডার সেশনগুলির কনফিগারেশন।

ক্ষেত্র

সর্বোচ্চ রাউন্ড পূর্ণসংখ্যা (ঐচ্ছিক)

টাইমআউটে পৌঁছানোর আগে এজেন্টকে সর্বাধিক যতগুলো ইন্টারঅ্যাকশন রাউন্ড সম্পাদন করার অনুমতি দেওয়া হয়।

সেশন_আইডি স্ট্রিং (ঐচ্ছিক)

একই CodeMender সেশনের অন্তর্গত একাধিক ইন্টারঅ্যাকশনকে একত্রিত করার প্যারামিটার।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "code-mender" এ সেট করা থাকে।

DeepResearchAgentConfig

ডিপ রিসার্চ এজেন্টের কনফিগারেশন।

সহযোগিতামূলক পরিকল্পনা বুলিয়ান (ঐচ্ছিক)

ডিপ রিসার্চ এজেন্টের জন্য মানব-সম্পৃক্ত পরিকল্পনা সক্ষম করে। যদি এটি 'true' সেট করা হয়, তাহলে ডিপ রিসার্চ এজেন্ট তার প্রতিক্রিয়ায় একটি গবেষণা পরিকল্পনা প্রদান করবে। এরপর এজেন্টটি কেবল তখনই অগ্রসর হবে, যদি ব্যবহারকারী পরবর্তী টার্নে পরিকল্পনাটি নিশ্চিত করে।

enable_bigquery_tool বুলিয়ান (ঐচ্ছিক)

ডিপ রিসার্চ এজেন্টের জন্য বিগকোয়েরি টুল সক্রিয় করে।

চিন্তার সারসংক্ষেপ (ঐচ্ছিক)

উত্তরে চিন্তার সারাংশ অন্তর্ভুক্ত করা হবে কিনা।

সম্ভাব্য মান

  • auto

    স্বয়ংক্রিয় চিন্তার সারাংশ।

  • none

    চিন্তামূলক সারসংক্ষেপ নয়।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "deep-research" তে সেট করা থাকে।

ভিজ্যুয়ালাইজেশন এনাম (স্ট্রিং) (ঐচ্ছিক)

উত্তরে ভিজ্যুয়ালাইজেশন অন্তর্ভুক্ত করা হবে কিনা।

সম্ভাব্য মানসমূহ:

  • off

    ভিজ্যুয়ালাইজেশন অন্তর্ভুক্ত করবেন না।

  • auto

    স্বয়ংক্রিয়ভাবে ভিজ্যুয়ালাইজেশন অন্তর্ভুক্ত করুন।

ডাইনামিকএজেন্টকনফিগ

ডাইনামিক এজেন্টদের জন্য কনফিগারেশন।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "dynamic" এ সেট করা থাকে।

তৈরি করা স্ট্রিং (ঐচ্ছিক)

শুধুমাত্র আউটপুট। যে সময়ে প্রতিক্রিয়াটি তৈরি করা হয়েছিল, সেই সময়টি ISO 8601 ফরম্যাটে (YYYY-MM-DDThh:mm:ssZ) উল্লেখ করতে হবে।

পরিবেশ EnvironmentConfig অথবা স্ট্রিং (ঐচ্ছিক)

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

কাস্টম পরিবেশের জন্য কনফিগারেশন।

ক্ষেত্র

পরিবেশ_আইডি স্ট্রিং (ঐচ্ছিক)

ঐচ্ছিক। ইন্টারঅ্যাকশনের জন্য এনভায়রনমেন্ট আইডি। এটি নির্দিষ্ট করা হলে, অনুরোধটি নতুন এনভায়রনমেন্ট তৈরি করার পরিবর্তে বিদ্যমান এনভায়রনমেন্টটি আপডেট করবে।

নেটওয়ার্ক এনভায়রনমেন্টনেটওয়ার্কইগ্রেসঅ্যালাউলিস্ট অথবা এনাম (স্ট্রিং) (ঐচ্ছিক)

পরিবেশের জন্য নেটওয়ার্ক কনফিগারেশন।

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। ট্র্যাফিক সীমাবদ্ধ করার জন্য 'allowlist' অ্যারে সহ একটি অবজেক্ট, অথবা সমস্ত নেটওয়ার্ক অ্যাক্সেস বন্ধ করার জন্য 'disabled' স্ট্রিংটি গ্রহণ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

সম্ভাব্য প্রকার

বস্তু

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। এটি নির্দিষ্ট করা হলে, স্যান্ডবক্সটি কোন কোন বাহ্যিক ডোমেইনে পৌঁছাতে পারবে তা সীমাবদ্ধ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

অনুমতি তালিকা অ্যারে (AllowlistEntry) (ঐচ্ছিক)

অনুমোদিত বহির্গামী ডোমেইনের তালিকা। শুধুমাত্র তালিকাভুক্ত ডোমেইনগুলিতেই অনুরোধ পাঠানোর অনুমতি আছে। নির্দিষ্ট কিছু ডোমেইনে হেডার যুক্ত করার পাশাপাশি সমস্ত ডোমেইনকে অনুমতি দিতে [{'domain': '*'}] ব্যবহার করুন।

ঐচ্ছিক হেডার ইনজেকশন সহ একটি একক ডোমেইন অ্যালাওলিস্ট নিয়ম।

ক্ষেত্র

ডোমেইন স্ট্রিং (ঐচ্ছিক)

যে ডোমেইনে বহির্গামী অনুরোধ পাঠানোর অনুমতি দেওয়া হবে। ওয়াইল্ডকার্ড সমর্থন করে (যেমন '*.googleapis.com')। সব ডোমেইনের অনুমতি দিতে '*' ব্যবহার করুন।

অ্যারে (অবজেক্ট) অথবা অবজেক্ট (ঐচ্ছিক) রূপান্তর করুন

এই ডোমেনের সাথে মিলে যাওয়া সমস্ত বহির্গামী অনুরোধে যুক্ত করার জন্য হেডারসমূহ। এটি একটি একক ডিক্ট অথবা একাধিক ডিক্টের একটি তালিকা গ্রহণ করে। ইগ্রেস প্রক্সি এগুলি স্বয়ংক্রিয়ভাবে যুক্ত করে।

স্ট্রিং

সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

সম্ভাব্য মান

  • disabled

    সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

উৎস অ্যারে (উৎস) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

পরিবেশে স্থাপন করার জন্য একটি উৎস।

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

`type` `INLINE` হলে কন্টেন্টটি ইনলাইন হবে।

এনকোডিং স্ট্রিং (ঐচ্ছিক)

ইনলাইন কন্টেন্টের জন্য ঐচ্ছিক এনকোডিং (যেমন `base64`)।

উৎস স্ট্রিং (ঐচ্ছিক)

পরিবেশের উৎস। ক্লাউড স্টোরেজের জন্য, এটি হলো ক্লাউড স্টোরেজ পাথ। গিটহাবের জন্য, এটি হলো গিটহাব পাথ।

লক্ষ্য স্ট্রিং (ঐচ্ছিক)

পরিবেশে উৎসটি কোথায় প্রদর্শিত হবে।

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সম্ভাব্য মানসমূহ:

  • gcs

    একটি ক্লাউড স্টোরেজ বাকেট।

  • inline

    ইনলাইন কন্টেন্ট।

  • repository

    একটি জেনেরিক রিপোজিটরি। সোর্স ইউআরএল-এর প্রোটোকল প্রিফিক্স প্রোভাইডারকে শনাক্ত করে (যেমন, github://, gcs://)।

  • skill_registry

    স্কিল রেজিস্ট্রি সার্ভিস থেকে একটি স্কিল রিসোর্স। স্কিল: projects/{project}/locations/{location}/skills/{skill} স্কিলরিভিশন: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision} একটি প্রজেক্টের অধীনে সমস্ত স্কিল মাউন্ট করার সাপোর্ট: projects/{project}/locations/{location}/skills।

অবজেক্ট টাইপ (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "remote" এ সেট করা থাকে।

পরিবেশ_আইডি স্ট্রিং (ঐচ্ছিক)

শুধুমাত্র আউটপুট। ইন্টারঅ্যাকশনটির জন্য এনভায়রনমেন্ট আইডি। অনুরোধে এনভায়রনমেন্ট কনফিগারেশন সেট করা থাকলেই এটি পূরণ করা হবে।

ত্রুটি অ্যারে (ত্রুটি) (ঐচ্ছিক)

শুধুমাত্র আউটপুট। ইন্টারঅ্যাকশনে ডায়াগনস্টিক ত্রুটি / প্ল্যাটফর্ম ভুল রেকর্ড করা হয়েছে।

একটি ইন্টারঅ্যাকশন থেকে প্রাপ্ত ত্রুটি বার্তা।

ক্ষেত্র

কোড স্ট্রিং (ঐচ্ছিক)

একটি URI যা ত্রুটির ধরণ শনাক্ত করে।

বার্তা স্ট্রিং (ঐচ্ছিক)

মানুষের পাঠযোগ্য একটি ত্রুটি বার্তা।

আইডি স্ট্রিং (ঐচ্ছিক)

আবশ্যক। শুধুমাত্র আউটপুট। মিথস্ক্রিয়া সম্পন্ন করার জন্য একটি অনন্য শনাক্তকারী।

ডিফল্ট হলো:

ইনপুট কন্টেন্ট বা অ্যারে (কন্টেন্ট) বা অ্যারে (স্টেপ) বা স্ট্রিং (ঐচ্ছিক)

মিথস্ক্রিয়ার জন্য ইনপুট।

লেবেল অবজেক্ট (ঐচ্ছিক)

অনুরোধটির জন্য ব্যবহারকারী-সংজ্ঞায়িত মেটাডেটা সহ লেবেলগুলি।

মডেল মডেলঅপশন (ঐচ্ছিক)

ইন্টারঅ্যাকশনটি তৈরি করতে ব্যবহৃত `মডেল`-এর নাম।

যে মডেলটি আপনার প্রম্পটটি সম্পূর্ণ করবে।\n\nঅতিরিক্ত বিবরণের জন্য [মডেলসমূহ](https://ai.google.dev/gemini-api/docs/models) দেখুন।

সম্ভাব্য মান

  • gemini-2.5-flash

    আমাদের প্রথম হাইব্রিড রিজনিং মডেল যা ১ মিলিয়ন টোকেন কনটেক্সট উইন্ডো এবং থিংকিং বাজেট সমর্থন করে।

  • gemini-2.5-pro

    আমাদের সর্বাধুনিক বহুমুখী মডেল, যা কোডিং এবং জটিল যুক্তিনির্ভর কাজে অত্যন্ত পারদর্শী।

  • gemma-4-26b-a4b-it

    জেমা 4 26B A4B IT

  • gemma-4-31b-it

    জেমা ৪ ৩১বি আইটি

  • gemini-flash-latest

    জেমিনি ফ্ল্যাশের সর্বশেষ সংস্করণ

  • gemini-flash-lite-latest

    জেমিনি ফ্ল্যাশ-লাইটের সর্বশেষ সংস্করণ

  • gemini-pro-latest

    জেমিনি প্রো-এর সর্বশেষ সংস্করণ

  • gemini-2.5-flash-lite

    আমাদের সবচেয়ে ছোট এবং সবচেয়ে সাশ্রয়ী মডেল, যা ব্যাপক ব্যবহারের জন্য নির্মিত।

  • gemini-2.5-flash-image

    আমাদের নিজস্ব ইমেজ জেনারেশন মডেলটি গতি, নমনীয়তা এবং প্রাসঙ্গিকতা বোঝার জন্য অপ্টিমাইজ করা হয়েছে। টেক্সট ইনপুট এবং আউটপুটের মূল্য ২.৫ ফ্ল্যাশের সমান।

  • gemini-3-flash-preview

    গতির জন্য নির্মিত আমাদের সবচেয়ে বুদ্ধিমান মডেল, যা অত্যাধুনিক বুদ্ধিমত্তার সাথে উন্নত অনুসন্ধান এবং ভূমিতে স্থিতিশীলতার সমন্বয় ঘটায়।

  • gemini-3.1-pro-preview

    আমাদের সর্বাধুনিক অত্যাধুনিক রিজনিং মডেল, যা অভূতপূর্ব গভীরতা ও সূক্ষ্মতা এবং শক্তিশালী মাল্টিমোডাল আন্ডারস্ট্যান্ডিং ও কোডিং সক্ষমতাসম্পন্ন।

  • gemini-3.1-pro-preview-customtools

    কাস্টম টুল ব্যবহারের জন্য অপ্টিমাইজ করা জেমিনি ৩.১ প্রো প্রিভিউ।

  • gemini-3.1-flash-lite

    আমাদের সবচেয়ে সাশ্রয়ী মডেল, যা বিপুল পরিমাণ এজেন্টিক কাজ, অনুবাদ এবং সাধারণ ডেটা প্রক্রিয়াকরণের জন্য অপ্টিমাইজ করা হয়েছে।

  • gemini-3-pro-image

    জেমিনি ৩ প্রো ইমেজ

  • nano-banana-pro-preview

    জেমিনি ৩ প্রো ছবির প্রিভিউ

  • gemini-3.1-flash-image

    জেমিনি ৩.১ ফ্ল্যাশ চিত্র।

  • gemini-3.5-flash

    এজেন্টিক এবং কোডিং কার্যক্রমে ধারাবাহিক অগ্রণী পারফরম্যান্সের জন্য আমাদের সবচেয়ে বুদ্ধিমান মডেল।

  • gemini-3.6-flash

    এজেন্টিক এবং কোডিং কার্যক্রমে ধারাবাহিক অগ্রণী পারফরম্যান্সের জন্য আমাদের সবচেয়ে বুদ্ধিমান মডেল।

  • gemini-3.7-flash

    এজেন্টিক এবং কোডিং কার্যক্রমে ধারাবাহিক অগ্রণী পারফরম্যান্সের জন্য আমাদের সবচেয়ে বুদ্ধিমান মডেল।

  • lyria-3-clip-preview

    আমাদের স্বল্প-বিলম্বের সঙ্গীত তৈরির মডেলটি উচ্চ-মানের অডিও ক্লিপ এবং সুনির্দিষ্ট ছন্দ নিয়ন্ত্রণের জন্য অপ্টিমাইজ করা হয়েছে।

  • lyria-3-pro-preview

    গভীর সুরসৃষ্টিগত বোধসম্পন্ন আমাদের উন্নত, পূর্ণাঙ্গ গান তৈরির জেনারেটিভ মডেলটি, বিভিন্ন সঙ্গীত শৈলীতে সুনির্দিষ্ট কাঠামোগত নিয়ন্ত্রণ এবং জটিল রূপান্তরের জন্য সর্বোত্তমভাবে প্রস্তুত করা হয়েছে।

  • gemini-robotics-er-1.6-preview

    জেমিনি রোবোটিক্স-ইআর ১.৬ প্রিভিউ

  • gemini-robotics-er-2-preview

    জেমিনি রোবোটিক্স এমবডিড রিজনিং ২ প্রিভিউ

আউটপুট_অডিও অডিও কন্টেন্ট (ঐচ্ছিক)

বর্তমান অনুরোধের জবাবে মডেল দ্বারা তৈরি সর্বশেষ অডিও। দ্রষ্টব্য: এটি SDK দ্বারা যুক্ত করা হয়।

একটি অডিও কন্টেন্ট ব্লক।

ক্ষেত্র

চ্যানেল পূর্ণসংখ্যা (ঐচ্ছিক)

অডিও চ্যানেলের সংখ্যা।

ডেটা স্ট্রিং (ঐচ্ছিক)

অডিও বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

অডিওটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 অডিও ফরম্যাট

  • audio/aiff

    AIFF অডিও ফরম্যাট

  • audio/aac

    AAC অডিও ফরম্যাট

  • audio/ogg

    OGG অডিও ফরম্যাট

  • audio/flac

    FLAC অডিও ফরম্যাট

  • audio/mpeg

    MPEG অডিও ফরম্যাট

  • audio/m4a

    M4A অডিও ফরম্যাট

  • audio/l16

    L16 অডিও ফরম্যাট

  • audio/opus

    OPUS অডিও ফরম্যাট

  • audio/alaw

    ALAW অডিও ফরম্যাট

  • audio/mulaw

    MULAW অডিও ফরম্যাট

নমুনা_হার পূর্ণসংখ্যা (ঐচ্ছিক)

অডিওটির স্যাম্পল রেট।

অবজেক্ট টাইপ (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "audio" তে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

অডিওটির URI।

আউটপুট_ইমেজ ইমেজকন্টেন্ট (ঐচ্ছিক)

বর্তমান অনুরোধের জবাবে মডেল দ্বারা তৈরি সর্বশেষ ছবিটি। দ্রষ্টব্য: এটি SDK দ্বারা যুক্ত করা হয়েছে।

একটি চিত্র বিষয়বস্তু ব্লক।

ক্ষেত্র

ডেটা স্ট্রিং (ঐচ্ছিক)

ছবির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ছবিটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • image/png

    PNG ছবির ফরম্যাট

  • image/jpeg

    JPEG ছবির ফরম্যাট

  • image/webp

    ওয়েবপি ছবির ফরম্যাট

  • image/heic

    HEIC ছবির ফরম্যাট

  • image/heif

    HEIF ছবির ফরম্যাট

  • image/gif

    জিআইএফ ছবির ফরম্যাট

  • image/bmp

    বিএমপি ছবির ফরম্যাট

  • image/tiff

    টিআইএফএফ ইমেজ ফরম্যাট

রেজোলিউশন মিডিয়ারেজোলিউশন (ঐচ্ছিক)

গণমাধ্যমের সংকল্প।

সম্ভাব্য মান

  • low

    নিম্ন রেজোলিউশন।

  • medium

    মাঝারি রেজোলিউশন।

  • high

    উচ্চ রেজোলিউশন।

  • ultra_high

    অতি উচ্চ রেজোলিউশন।

অবজেক্ট টাইপ (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "image" হিসেবে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ছবিটির URI।

আউটপুট_টেক্সট স্ট্রিং (ঐচ্ছিক)

বর্তমান অনুরোধের জবাবে সর্বশেষ মডেল আউটপুট থেকে সংযুক্ত টেক্সট। দ্রষ্টব্য: এটি SDK দ্বারা যোগ করা হয়েছে।

আউটপুট_ভিডিও ভিডিও সামগ্রী (ঐচ্ছিক)

বর্তমান অনুরোধের জবাবে মডেল দ্বারা তৈরি সর্বশেষ ভিডিও। দ্রষ্টব্য: এটি SDK দ্বারা যোগ করা হয়েছে।

একটি ভিডিও কন্টেন্ট ব্লক।

ক্ষেত্র

ডেটা স্ট্রিং (ঐচ্ছিক)

ভিডিওটির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ভিডিওটির মূকাভিনয়ের ধরণ।

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 ভিডিও ফরম্যাট

  • video/mpeg

    MPEG ভিডিও ফরম্যাট

  • video/mpg

    এমপিজি ভিডিও ফরম্যাট

  • video/mov

    MOV ভিডিও ফরম্যাট

  • video/avi

    AVI ভিডিও ফরম্যাট

  • video/x-flv

    FLV ভিডিও ফরম্যাট

  • video/webm

    ওয়েবএম ভিডিও ফরম্যাট

  • video/wmv

    WMV ভিডিও ফরম্যাট

  • video/3gpp

    3GPP ভিডিও ফরম্যাট

প্রসেসিং MediaProcessing অথবা enum (স্ট্রিং) (ঐচ্ছিক)

বোঝার জন্য মডেলটি কীভাবে এই ভিডিওটি প্রক্রিয়া করে।

রেজোলিউশন মিডিয়ারেজোলিউশন (ঐচ্ছিক)

গণমাধ্যমের সংকল্প।

সম্ভাব্য মান

  • low

    নিম্ন রেজোলিউশন।

  • medium

    মাঝারি রেজোলিউশন।

  • high

    উচ্চ রেজোলিউশন।

  • ultra_high

    অতি উচ্চ রেজোলিউশন।

অবজেক্ট টাইপ (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "video" -তে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ভিডিওটির ইউআরআই।

পূর্ববর্তী_ইন্টারঅ্যাকশন_আইডি স্ট্রিং (ঐচ্ছিক)

পূর্ববর্তী যোগাযোগের আইডি, যদি থাকে।

response_format ResponseFormat অথবা অ্যারে (ResponseFormat) (ঐচ্ছিক)

এটি নিশ্চিত করে যে তৈরি হওয়া প্রতিক্রিয়াটি একটি JSON অবজেক্ট হবে যা এই ফিল্ডে নির্দিষ্ট করা JSON স্কিমা মেনে চলে।

সম্ভাব্য প্রকার

অডিও প্রতিক্রিয়া বিন্যাস

অডিও আউটপুট ফরম্যাটের জন্য কনফিগারেশন।

বিট_রেট পূর্ণসংখ্যা (ঐচ্ছিক)

বিট রেট, বিটস পার সেকেন্ড (bps) এককে। শুধুমাত্র কম্প্রেসড ফরম্যাটের (MP3, Opus) জন্য প্রযোজ্য।

ডেলিভারি এনাম (স্ট্রিং) (ঐচ্ছিক)

অডিও আউটপুটের ডেলিভারি মোড।

সম্ভাব্য মানসমূহ:

  • inline

    অডিও ডেটা রেসপন্সের মধ্যেই ইনলাইনভাবে ফেরত দেওয়া হয়।

  • uri

    অডিও ডেটা একটি URI হিসেবে ফেরত দেওয়া হয়।

mime_type enum (string) (ঐচ্ছিক)

অডিও আউটপুটের MIME টাইপ।

সম্ভাব্য মানসমূহ:

  • audio/mp3

    MP3 অডিও ফরম্যাট।

  • audio/ogg_opus

    OGG Opus অডিও ফরম্যাট।

  • audio/l16

    র PCM (L16) অডিও ফরম্যাট।

  • audio/wav

    WAV অডিও ফরম্যাট।

  • audio/alaw

    এ-ল অডিও ফরম্যাট।

  • audio/mulaw

    মু-ল অডিও ফরম্যাট।

নমুনা_হার পূর্ণসংখ্যা (ঐচ্ছিক)

স্যাম্পল রেট (হার্টজ এককে)।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "audio" তে সেট করা থাকে।

ইমেজরেসপন্সফরম্যাট

ইমেজ আউটপুট ফরম্যাটের জন্য কনফিগারেশন।

aspect_ratio enum (string) (ঐচ্ছিক)

আউটপুট ইমেজের অ্যাসপেক্ট রেশিও।

সম্ভাব্য মানসমূহ:

  • 1:1

    ১:১ আকৃতির অনুপাত।

  • 2:3

    ২:৩ আকৃতি অনুপাত।

  • 3:2

    ৩:২ আকৃতি অনুপাত।

  • 3:4

    ৩:৪ আকৃতি অনুপাত।

  • 4:3

    ৪:৩ আকৃতি অনুপাত।

  • 4:5

    ৪:৫ আকৃতি অনুপাত।

  • 5:4

    ৫:৪ আকৃতি অনুপাত।

  • 9:16

    ৯:১৬ আকৃতির অনুপাত।

  • 16:9

    ১৬:৯ আকৃতি অনুপাত।

  • 21:9

    ২১:৯ আকৃতি অনুপাত।

  • 1:8

    ১:৮ আকৃতি অনুপাত।

  • 8:1

    ৮:১ আকৃতির অনুপাত।

  • 1:4

    ১:৪ আকৃতি অনুপাত।

  • 4:1

    ৪:১ আকৃতি অনুপাত।

ডেলিভারি এনাম (স্ট্রিং) (ঐচ্ছিক)

ইমেজ আউটপুটের ডেলিভারি মোড।

সম্ভাব্য মানসমূহ:

  • inline

    ছবির ডেটা রেসপন্সের মধ্যেই ইনলাইনভাবে ফেরত দেওয়া হয়।

  • uri

    ছবির ডেটা একটি URI হিসেবে ফেরত দেওয়া হয়।

ছবির আকার এনাম (স্ট্রিং) (ঐচ্ছিক)

আউটপুট ছবির আকার।

সম্ভাব্য মানসমূহ:

  • 512

    ছবির আকার ৫১২ পিক্সেল।

  • 1K

    ১কেবি ছবির আকার।

  • 2K

    ২কে ছবির আকার।

  • 4K

    4K ছবির আকার।

mime_type enum (string) (ঐচ্ছিক)

আউটপুট ইমেজের MIME টাইপ।

সম্ভাব্য মানসমূহ:

  • image/jpeg

    JPEG ইমেজ ফরম্যাট।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "image" হিসেবে সেট করা থাকে।

পাঠ্য প্রতিক্রিয়া বিন্যাস

টেক্সট আউটপুট ফরম্যাটের জন্য কনফিগারেশন।

mime_type enum (string) (ঐচ্ছিক)

টেক্সট আউটপুটের MIME টাইপ।

সম্ভাব্য মানসমূহ:

  • application/json

    JSON আউটপুট ফরম্যাট।

  • text/plain

    সাধারণ টেক্সট আউটপুট ফরম্যাট।

স্কিমা অবজেক্ট (ঐচ্ছিক)

আউটপুটটি যে JSON স্কিমা মেনে চলবে। শুধুমাত্র তখনই প্রযোজ্য যখন mime_type হবে application/json।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "text" হিসেবে সেট করা থাকে।

ভিডিও প্রতিক্রিয়া বিন্যাস

ভিডিও আউটপুট ফরম্যাটের জন্য কনফিগারেশন।

aspect_ratio enum (string) (ঐচ্ছিক)

ভিডিও আউটপুটের অ্যাসপেক্ট রেশিও।

সম্ভাব্য মানসমূহ:

  • 16:9

    ১৬:৯ আকৃতি অনুপাত।

  • 9:16

    ৯:১৬ আকৃতির অনুপাত।

ডেলিভারি এনাম (স্ট্রিং) (ঐচ্ছিক)

ভিডিও আউটপুটের ডেলিভারি মোড।

সম্ভাব্য মানসমূহ:

  • inline

    ভিডিও ডেটা রেসপন্সের মধ্যেই ইনলাইনভাবে ফেরত দেওয়া হয়।

  • uri

    ভিডিও ডেটা একটি URI হিসেবে ফেরত দেওয়া হয়।

সময়কাল স্ট্রিং (ঐচ্ছিক)

ভিডিও আউটপুটের সময়কাল।

gcs_uri স্ট্রিং (ঐচ্ছিক)

ভিডিও আউটপুট সংরক্ষণের জন্য ক্লাউড স্টোরেজ ইউআরআই। ডেলিভারি মোড ইউআরআই হলে ভার্টেক্সের জন্য এটি আবশ্যক।

রেজোলিউশন এনাম (স্ট্রিং) (ঐচ্ছিক)

ভিডিও আউটপুট রেজোলিউশন। ডিফল্ট হিসেবে ৭২০পি সেট করা থাকে।

সম্ভাব্য মানসমূহ:

  • 360p

    ৩৬০পি রেজোলিউশন।

  • 720p

    ৭২০পি রেজোলিউশন।

  • 1080p

    ১০৮০পি রেজোলিউশন।

  • 4k

    ৪কে রেজোলিউশন।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "video" -তে সেট করা থাকে।

safety_settings অ্যারে (নিরাপত্তা সেটিংস) (ঐচ্ছিক)

মিথস্ক্রিয়ার জন্য নিরাপত্তা সেটিংস।

একটি সুরক্ষা সেটিং যা সুরক্ষা-অবরোধকারী আচরণকে প্রভাবিত করে। একটি সুরক্ষা সেটিং একটি ক্ষতির বিভাগ এবং সেই বিভাগের জন্য একটি থ্রেশহোল্ড নিয়ে গঠিত।

ক্ষেত্র

পদ্ধতি enum (স্ট্রিং) (ঐচ্ছিক)

ঐচ্ছিক। কন্টেন্ট ব্লক করার পদ্ধতি। নির্দিষ্ট করে না দিলে, ডিফল্ট আচরণ হিসেবে সম্ভাব্যতা স্কোর ব্যবহার করা হয়।

সম্ভাব্য মানসমূহ:

  • severity

    ক্ষতি ব্লক পদ্ধতিতে সম্ভাবনা এবং তীব্রতা উভয় স্কোরই ব্যবহার করা হয়।

  • probability

    ক্ষতি ব্লক পদ্ধতিটি সম্ভাব্যতা স্কোর ব্যবহার করে।

থ্রেশহোল্ড এনাম (স্ট্রিং) (ঐচ্ছিক)

আবশ্যক। কন্টেন্ট ব্লক করার সীমা। ক্ষতির সম্ভাবনা এই সীমা অতিক্রম করলে কন্টেন্টটি ব্লক করা হবে।

সম্ভাব্য মানসমূহ:

  • block_low_and_above

    কম বা তার বেশি ক্ষতির সম্ভাবনা আছে এমন কন্টেন্ট ব্লক করুন।

  • block_medium_and_above

    মাঝারি বা তার চেয়ে বেশি ক্ষতির সম্ভাবনা রয়েছে এমন কন্টেন্ট ব্লক করুন।

  • block_only_high

    ক্ষতির উচ্চ সম্ভাবনাযুক্ত বিষয়বস্তু ব্লক করুন।

  • block_none

    ক্ষতির সম্ভাবনা নির্বিশেষে কোনো বিষয়বস্তু ব্লক করবেন না।

  • off

    সুরক্ষা ফিল্টারটি পুরোপুরি বন্ধ করে দিন।

ক্ষতির বিভাগ ( ঐচ্ছিক)

আবশ্যক। যে ধরনের ক্ষতির বিভাগ অবরুদ্ধ করতে হবে।

সম্ভাব্য মান

  • hate_speech

    এমন বিষয়বস্তু যা নির্দিষ্ট বৈশিষ্ট্যের ভিত্তিতে কোনো ব্যক্তি বা গোষ্ঠীর বিরুদ্ধে সহিংসতাকে উৎসাহিত করে বা ঘৃণা উস্কে দেয়।

  • dangerous_content

    এমন বিষয়বস্তু যা বিপজ্জনক কার্যকলাপকে উৎসাহিত করে, সহজতর করে বা সক্ষম করে তোলে।

  • harassment

    অপমানজনক, হুমকিমূলক, অথবা উৎপীড়ন, নির্যাতন বা উপহাস করার উদ্দেশ্যে তৈরি বিষয়বস্তু।

  • sexually_explicit

    যেসব বিষয়বস্তুতে যৌনতাপূর্ণ উপাদান রয়েছে।

  • civic_integrity

    অপ্রচলিত: নির্বাচন ফিল্টার আর সমর্থিত নয়। ক্ষতির বিভাগটি হলো নাগরিক অখণ্ডতা।

  • image_hate

    বিদ্বেষমূলক বক্তব্য সম্বলিত ছবি।

  • image_dangerous_content

    যেসব ছবিতে বিপজ্জনক বিষয়বস্তু রয়েছে।

  • image_harassment

    যেসব ছবিতে হয়রানি রয়েছে।

  • image_sexually_explicit

    যেসব ছবিতে যৌন উত্তেজক বিষয়বস্তু রয়েছে।

  • jailbreak

    সুরক্ষা ফিল্টার এড়িয়ে যাওয়ার জন্য ডিজাইন করা প্রম্পট।

সার্ভিস_টিয়ার সার্ভিসটিয়ার (ঐচ্ছিক)

মিথস্ক্রিয়ার জন্য পরিষেবা স্তর।

সম্ভাব্য মান

  • flex

    নমনীয় পরিষেবা স্তর।

  • standard

    সাধারণ পরিষেবা স্তর।

  • priority

    অগ্রাধিকার পরিষেবা স্তর।

  • deferred

    বিলম্বিত পরিষেবা স্তর।

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

আবশ্যক। শুধুমাত্র আউটপুট। মিথস্ক্রিয়ার অবস্থা।

সম্ভাব্য মানসমূহ:

  • in_progress

    আলোচনাটি চলছে।

  • requires_action

    এই মিথস্ক্রিয়ার জন্য ব্যবহারকারীর পক্ষ থেকে কোনো পদক্ষেপ বা ইনপুট প্রয়োজন।

  • completed

    মিথস্ক্রিয়াটি সম্পন্ন হয়েছে।

  • failed

    মিথস্ক্রিয়াটি ব্যর্থ হয়েছে।

  • cancelled

    আলাপচারিতাটি বাতিল করা হয়েছিল।

  • incomplete

    ইন্টারঅ্যাকশনটি সম্পন্ন হয়েছে, কিন্তু এতে অসম্পূর্ণ ফলাফল রয়েছে (যেমন max_tokens-এ পৌঁছানো)।

  • budget_exceeded

    টোকেন বাজেট অতিক্রম করায় মিথস্ক্রিয়াটি স্থগিত করা হয়েছিল।

  • queued

    ইন্টারঅ্যাকশনটি প্রক্রিয়াকরণের জন্য সারিতে রাখা হয়েছে।

ধাপ অ্যারে (ধাপ) (ঐচ্ছিক)

শুধুমাত্র আউটপুট। প্রতিক্রিয়ার অন্তর্ভুক্ত হলে, মিথস্ক্রিয়াটি গঠনকারী ধাপগুলো।

পারস্পরিক ক্রিয়ার একটি ধাপ।

সম্ভাব্য প্রকার

কোডএক্সিকিউশনকলস্টেপ

কোড এক্সিকিউশন কল ধাপ।

আর্গুমেন্টস CodeExecutionCallStepArguments (প্রয়োজনীয়)

প্রয়োজনীয়। কোড নির্বাহের জন্য আর্গুমেন্টসমূহ প্রদান করতে হবে।

কোড নির্বাহের জন্য আর্গুমেন্টগুলো প্রেরণ করতে হবে।

ক্ষেত্র

কোড স্ট্রিং (ঐচ্ছিক)

যে কোডটি কার্যকর করা হবে।

ভাষা এনাম (স্ট্রিং) (ঐচ্ছিক)

`কোড`-এর প্রোগ্রামিং ভাষা।

সম্ভাব্য মানসমূহ:

  • python

    পাইথন >= ৩.১০, সাথে numpy এবং simpy উপলব্ধ।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "code_execution_call" এ সেট করা থাকে।

কোডএক্সিকিউশনরেজাল্টস্টেপ

কোড নির্বাহের ফলাফল ধাপ।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

is_error বুলিয়ান (ঐচ্ছিক)

কোড নির্বাহের ফলে কোনো ত্রুটি ঘটেছে কিনা।

ফলাফল স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। কোড নির্বাহের আউটপুট।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "code_execution_result" এ সেট করা থাকে।

ফাইলসার্চকলস্টেপ

ফাইল অনুসন্ধান কল ধাপ।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "file_search_call" এ সেট করা থাকে।

ফাইলসার্চরেজাল্টস্টেপ

ফাইল অনুসন্ধানের ফলাফল ধাপ।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "file_search_result" এ সেট করা থাকে।

ফাংশনকলস্টেপ

একটি ফাংশন টুল কল করার ধাপ।

আর্গুমেন্ট অবজেক্ট (প্রয়োজনীয়)

প্রয়োজনীয়। ফাংশনে পাস করার জন্য আর্গুমেন্টগুলো।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

নাম স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। যে টুলটি কল করতে হবে তার নাম।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "function_call" এ সেট করা থাকে।

ফাংশনফলাফলধাপ

ফাংশন টুল কলের ফলাফল।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

is_error বুলিয়ান (ঐচ্ছিক)

টুল কলটির ফলে কোনো ত্রুটি ঘটেছে কিনা।

নাম স্ট্রিং (ঐচ্ছিক)

যে যন্ত্রটিকে ডাকা হয়েছিল তার নাম।

ফলাফল অ্যারে (ImageContent বা TextContent) অথবা অবজেক্ট বা স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। টুল কলের ফলাফল।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "function_result" -এ সেট করা থাকে।

GoogleMapsCallStep

গুগল ম্যাপস কল স্টেপ।

আর্গুমেন্টস GoogleMapsCallStepArguments (ঐচ্ছিক)

গুগল ম্যাপস টুলে যে আর্গুমেন্টগুলো পাস করতে হবে।

গুগল ম্যাপস টুলে যে আর্গুমেন্টগুলো পাস করতে হবে।

ক্ষেত্র

কোয়েরি অ্যারে (স্ট্রিং) (ঐচ্ছিক)

যে কোয়েরিগুলো সম্পাদন করতে হবে।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "google_maps_call" এ সেট করা থাকে।

GoogleMapsResultStep

গুগল ম্যাপস ফলাফল ধাপ।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

ফলাফল অ্যারে (GoogleMapsResultItem) (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

গুগল ম্যাপসের ফলাফল।

ক্ষেত্র

স্থানসমূহ অ্যারে (GoogleMapsResultPlaces) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

ক্ষেত্র

নাম স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

স্থান_আইডি স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

review_snippets অ্যারে (রিভিউ স্নিপেট) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

গুগল ম্যাপসের কোনো নির্দিষ্ট স্থানের বৈশিষ্ট্য সম্পর্কে একটি প্রশ্নের উত্তর দেয় এমন ব্যবহারকারী পর্যালোচনার একটি অংশ এখানে তুলে ধরা হয়েছে।

ক্ষেত্র

review_id স্ট্রিং (ঐচ্ছিক)

রিভিউ স্নিপেটটির আইডি।

শিরোনাম স্ট্রিং (ঐচ্ছিক)

পর্যালোচনার শিরোনাম।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

গুগল ম্যাপস-এ ব্যবহারকারীর পর্যালোচনার সাথে সম্পর্কিত একটি লিঙ্ক।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

উইজেট_প্রসঙ্গ_টোকেন স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "google_maps_result" এ সেট করা থাকে।

GoogleSearchCallStep

গুগল সার্চ কল স্টেপ।

আর্গুমেন্ট GoogleSearchCallStepArguments (প্রয়োজনীয়)

প্রয়োজনীয়। গুগল সার্চে পাঠানোর জন্য আর্গুমেন্টগুলো।

গুগল সার্চে পাঠানোর জন্য আর্গুমেন্টগুলো।

ক্ষেত্র

কোয়েরি অ্যারে (স্ট্রিং) (ঐচ্ছিক)

পরবর্তী ওয়েব অনুসন্ধানের জন্য ওয়েব অনুসন্ধান প্রশ্নাবলী।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

অনুসন্ধানের ধরণ এনাম (স্ট্রিং) (ঐচ্ছিক)

অনুসন্ধানের ধরণটি সক্রিয় করা হয়েছে।

সম্ভাব্য মানসমূহ:

  • web_search

    এই ফিল্ডটি সেট করলে ওয়েব সার্চ চালু হয়। শুধুমাত্র টেক্সট ফলাফল দেখানো হয়।

  • image_search

    এই ফিল্ডটি সেট করলে ইমেজ সার্চ চালু হয়। ইমেজের বাইটগুলো ফেরত দেওয়া হয়।

  • enterprise_web_search

    এই ফিল্ডটি সেট করলে এন্টারপ্রাইজ ওয়েব সার্চ সক্রিয় হয়।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "google_search_call" এ সেট করা থাকে।

GoogleSearchResultStep

গুগল অনুসন্ধানের ফলাফল ধাপ।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

is_error বুলিয়ান (ঐচ্ছিক)

গুগল অনুসন্ধানে কোনো ত্রুটি হয়েছে কিনা।

ফলাফল অ্যারে (GoogleSearchResultItem) (প্রয়োজনীয়)

প্রয়োজনীয় গুগল অনুসন্ধানের ফলাফল।

গুগল অনুসন্ধানের ফলাফল।

ক্ষেত্র

অনুসন্ধানের পরামর্শ স্ট্রিং (ঐচ্ছিক)

ওয়েব কন্টেন্ট স্নিপেট যা একটি ওয়েব পেজ বা অ্যাপ ওয়েবভিউতে এমবেড করা যায়।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "google_search_result" এ সেট করা থাকে।

McpServerToolCallStep

MCPServer টুল কল করার ধাপ।

আর্গুমেন্ট অবজেক্ট (প্রয়োজনীয়)

আবশ্যক। ফাংশনের আর্গুমেন্টগুলোর JSON অবজেক্ট।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

নাম স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। যে টুলটিকে ডাকা হয়েছিল তার নাম।

সার্ভারের নাম স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। ব্যবহৃত এমসিপি সার্ভারের নাম।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "mcp_server_tool_call" এ সেট করা থাকে।

McpServerToolResultStep

MCPServer টুলের ফলাফল ধাপ।

কল_আইডি স্ট্রিং (আবশ্যক)

আবশ্যক। আইডিটি অবশ্যই ফাংশন কল ব্লকের আইডির সাথে মিলতে হবে।

নাম স্ট্রিং (ঐচ্ছিক)

এই নির্দিষ্ট টুল কলটির জন্য যে টুলটিকে ডাকা হয়, তার নাম।

ফলাফল অ্যারে (ImageContent বা TextContent) অথবা অবজেক্ট বা স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। এমসিপি সার্ভার কলের আউটপুট। এটি সাধারণ টেক্সট বা রিচ কন্টেন্ট হতে পারে।

সার্ভারের নাম স্ট্রিং (ঐচ্ছিক)

ব্যবহৃত এমসিপি সার্ভারটির নাম।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "mcp_server_tool_result" -এ সেট করা থাকে।

মডেলআউটপুটস্টেপ

মডেল দ্বারা উৎপন্ন আউটপুট।

কন্টেন্ট অ্যারে (বিষয়বস্তু) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

প্রতিক্রিয়ার বিষয়বস্তু।

সম্ভাব্য প্রকার

অডিও কন্টেন্ট

একটি অডিও কন্টেন্ট ব্লক।

চ্যানেল পূর্ণসংখ্যা (ঐচ্ছিক)

অডিও চ্যানেলের সংখ্যা।

ডেটা স্ট্রিং (ঐচ্ছিক)

অডিও বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

অডিওটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 অডিও ফরম্যাট

  • audio/aiff

    AIFF অডিও ফরম্যাট

  • audio/aac

    AAC অডিও ফরম্যাট

  • audio/ogg

    OGG অডিও ফরম্যাট

  • audio/flac

    FLAC অডিও ফরম্যাট

  • audio/mpeg

    MPEG অডিও ফরম্যাট

  • audio/m4a

    M4A অডিও ফরম্যাট

  • audio/l16

    L16 অডিও ফরম্যাট

  • audio/opus

    OPUS অডিও ফরম্যাট

  • audio/alaw

    ALAW অডিও ফরম্যাট

  • audio/mulaw

    MULAW অডিও ফরম্যাট

নমুনা_হার পূর্ণসংখ্যা (ঐচ্ছিক)

অডিওটির স্যাম্পল রেট।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "audio" তে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

অডিওটির URI।

ডকুমেন্টের বিষয়বস্তু

একটি ডকুমেন্ট কন্টেন্ট ব্লক।

ডেটা স্ট্রিং (ঐচ্ছিক)

নথির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ডকুমেন্টটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • application/pdf

    পিডিএফ ডকুমেন্ট ফরম্যাট

  • text/csv

    CSV ডকুমেন্ট ফরম্যাট

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "document" এ সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ডকুমেন্টটির URI।

ছবির বিষয়বস্তু

একটি চিত্র বিষয়বস্তু ব্লক।

ডেটা স্ট্রিং (ঐচ্ছিক)

ছবির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ছবিটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • image/png

    PNG ছবির ফরম্যাট

  • image/jpeg

    JPEG ছবির ফরম্যাট

  • image/webp

    ওয়েবপি ছবির ফরম্যাট

  • image/heic

    HEIC ছবির ফরম্যাট

  • image/heif

    HEIF ছবির ফরম্যাট

  • image/gif

    জিআইএফ ছবির ফরম্যাট

  • image/bmp

    বিএমপি ছবির ফরম্যাট

  • image/tiff

    টিআইএফএফ ইমেজ ফরম্যাট

রেজোলিউশন মিডিয়ারেজোলিউশন (ঐচ্ছিক)

গণমাধ্যমের সংকল্প।

সম্ভাব্য মান

  • low

    নিম্ন রেজোলিউশন।

  • medium

    মাঝারি রেজোলিউশন।

  • high

    উচ্চ রেজোলিউশন।

  • ultra_high

    অতি উচ্চ রেজোলিউশন।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "image" হিসেবে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ছবিটির URI।

টেক্সট কন্টেন্ট

একটি টেক্সট কন্টেন্ট ব্লক।

টীকা অ্যারে (টীকা) (ঐচ্ছিক)

মডেল-সৃষ্ট কন্টেন্টের জন্য উদ্ধৃতি তথ্য।

মডেল-সৃষ্ট কন্টেন্টের জন্য উদ্ধৃতি তথ্য।

সম্ভাব্য প্রকার

ফাইল উদ্ধৃতি

ফাইল উদ্ধৃতি টীকা।

কাস্টম_মেটাডেটা অবজেক্ট (ঐচ্ছিক)

ব্যবহারকারী সংগৃহীত কনটেক্সট সম্পর্কে মেটাডেটা প্রদান করেছেন।

ডকুমেন্ট_ইউআরআই স্ট্রিং (ঐচ্ছিক)

ফাইলটির URI।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

ফাইলের নাম স্ট্রিং (ঐচ্ছিক)

ফাইলটির নাম।

মিডিয়া_আইডি স্ট্রিং (ঐচ্ছিক)

ছবির উদ্ধৃতির ক্ষেত্রে, প্রযোজ্য হলে মিডিয়া আইডি।

পৃষ্ঠা_সংখ্যা পূর্ণসংখ্যা (ঐচ্ছিক)

উদ্ধৃত নথির পৃষ্ঠা নম্বর, যদি প্রযোজ্য হয়।

উৎস স্ট্রিং (ঐচ্ছিক)

পাঠ্যের একটি অংশের উৎস উল্লেখ করা হয়েছে।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "file_citation" এ সেট করা থাকে।

স্থান উদ্ধৃতি

স্থান উদ্ধৃতি টীকা।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

নাম স্ট্রিং (ঐচ্ছিক)

স্থানটির নাম।

স্থান_আইডি স্ট্রিং (ঐচ্ছিক)

স্থানটির আইডি, `places/{place_id}` ফরম্যাটে।

review_snippets অ্যারে (রিভিউ স্নিপেট) (ঐচ্ছিক)

গুগল ম্যাপসে কোনো নির্দিষ্ট স্থানের বৈশিষ্ট্য সম্পর্কে উত্তর তৈরি করতে ব্যবহৃত পর্যালোচনার অংশবিশেষ।

গুগল ম্যাপসের কোনো নির্দিষ্ট স্থানের বৈশিষ্ট্য সম্পর্কে একটি প্রশ্নের উত্তর দেয় এমন ব্যবহারকারী পর্যালোচনার একটি অংশ এখানে তুলে ধরা হয়েছে।

ক্ষেত্র

review_id স্ট্রিং (ঐচ্ছিক)

রিভিউ স্নিপেটটির আইডি।

শিরোনাম স্ট্রিং (ঐচ্ছিক)

পর্যালোচনার শিরোনাম।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

গুগল ম্যাপস-এ ব্যবহারকারীর পর্যালোচনার সাথে সম্পর্কিত একটি লিঙ্ক।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "place_citation" এ সেট করা থাকে।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

স্থানটির URI রেফারেন্স।

ইউআরএল উদ্ধৃতি

ইউআরএল উদ্ধৃতি টীকা।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

শিরোনাম স্ট্রিং (ঐচ্ছিক)

ইউআরএল-এর শিরোনাম।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "url_citation" এ সেট করা থাকে।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

ইউআরএল।

ওয়ার্ডইনফো

ট্রান্সক্রিপশন আউটপুটের জন্য শব্দ-স্তরের ASR টীকা। এতে শব্দের পাঠ্য, ঐচ্ছিক সময় এবং ঐচ্ছিক বক্তার পরিচয় অন্তর্ভুক্ত থাকে।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

শেষ_অফসেট স্ট্রিং (ঐচ্ছিক)

অডিওর শুরুর সাপেক্ষে শব্দটির সময়ের শেষ অফসেট। যখন timestamp_granularities-এ 'word' থাকে, তখন এটি উপস্থিত থাকে।

স্পিকারের দড়ি (ঐচ্ছিক)

ঐচ্ছিক। এই শব্দটির জন্য স্পিকার লেবেল (যেমন "spk_1", "spk_2")। TranscriptionConfig-এ diarization_mode সেট করা থাকলে এটি উপস্থিত থাকে।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

start_offset স্ট্রিং (ঐচ্ছিক)

অডিওর শুরুর সাপেক্ষে শব্দটির সময়ের শুরুর অফসেট। যখন timestamp_granularities-এ 'word' থাকে, তখন এটি উপস্থিত থাকে।

পাঠ্য স্ট্রিং (ঐচ্ছিক)

অনুলিখিত শব্দটি।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "word_info" তে সেট করা থাকে।

টেক্সট স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। পাঠ্য বিষয়বস্তু।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "text" হিসেবে সেট করা থাকে।

ভিডিও কন্টেন্ট

একটি ভিডিও কন্টেন্ট ব্লক।

ডেটা স্ট্রিং (ঐচ্ছিক)

ভিডিওটির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ভিডিওটির মূকাভিনয়ের ধরণ।

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 ভিডিও ফরম্যাট

  • video/mpeg

    MPEG ভিডিও ফরম্যাট

  • video/mpg

    এমপিজি ভিডিও ফরম্যাট

  • video/mov

    MOV ভিডিও ফরম্যাট

  • video/avi

    AVI ভিডিও ফরম্যাট

  • video/x-flv

    FLV ভিডিও ফরম্যাট

  • video/webm

    ওয়েবএম ভিডিও ফরম্যাট

  • video/wmv

    WMV ভিডিও ফরম্যাট

  • video/3gpp

    3GPP ভিডিও ফরম্যাট

প্রসেসিং MediaProcessing অথবা enum (স্ট্রিং) (ঐচ্ছিক)

বোঝার জন্য মডেলটি কীভাবে এই ভিডিওটি প্রক্রিয়া করে।

রেজোলিউশন মিডিয়ারেজোলিউশন (ঐচ্ছিক)

গণমাধ্যমের সংকল্প।

সম্ভাব্য মান

  • low

    নিম্ন রেজোলিউশন।

  • medium

    মাঝারি রেজোলিউশন।

  • high

    উচ্চ রেজোলিউশন।

  • ultra_high

    অতি উচ্চ রেজোলিউশন।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "video" -তে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ভিডিওটির ইউআরআই।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "model_output" -এ সেট করা থাকে।

চিন্তার পদক্ষেপ

একটি চিন্তাশীল পদক্ষেপ।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

ব্যাকএন্ড যাচাইকরণের জন্য একটি স্বাক্ষর হ্যাশ।

সারাংশ অ্যারে (চিন্তার সারাংশ বিষয়বস্তু) (ঐচ্ছিক)

চিন্তাভাবনার সারসংক্ষেপ।

সম্ভাব্য প্রকার

ছবির বিষয়বস্তু

একটি চিত্র বিষয়বস্তু ব্লক।

ডেটা স্ট্রিং (ঐচ্ছিক)

ছবির বিষয়বস্তু।

mime_type enum (string) (ঐচ্ছিক)

ছবিটির মাইম টাইপ।

সম্ভাব্য মানসমূহ:

  • image/png

    PNG ছবির ফরম্যাট

  • image/jpeg

    JPEG ছবির ফরম্যাট

  • image/webp

    ওয়েবপি ছবির ফরম্যাট

  • image/heic

    HEIC ছবির ফরম্যাট

  • image/heif

    HEIF ছবির ফরম্যাট

  • image/gif

    জিআইএফ ছবির ফরম্যাট

  • image/bmp

    বিএমপি ছবির ফরম্যাট

  • image/tiff

    টিআইএফএফ ইমেজ ফরম্যাট

রেজোলিউশন মিডিয়ারেজোলিউশন (ঐচ্ছিক)

গণমাধ্যমের সংকল্প।

সম্ভাব্য মান

  • low

    নিম্ন রেজোলিউশন।

  • medium

    মাঝারি রেজোলিউশন।

  • high

    উচ্চ রেজোলিউশন।

  • ultra_high

    অতি উচ্চ রেজোলিউশন।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "image" হিসেবে সেট করা থাকে।

ইউআরআই স্ট্রিং (ঐচ্ছিক)

ছবিটির URI।

টেক্সট কন্টেন্ট

একটি টেক্সট কন্টেন্ট ব্লক।

টীকা অ্যারে (টীকা) (ঐচ্ছিক)

মডেল-সৃষ্ট কন্টেন্টের জন্য উদ্ধৃতি তথ্য।

মডেল-সৃষ্ট কন্টেন্টের জন্য উদ্ধৃতি তথ্য।

সম্ভাব্য প্রকার

ফাইল উদ্ধৃতি

ফাইল উদ্ধৃতি টীকা।

কাস্টম_মেটাডেটা অবজেক্ট (ঐচ্ছিক)

ব্যবহারকারী সংগৃহীত কনটেক্সট সম্পর্কে মেটাডেটা প্রদান করেছেন।

ডকুমেন্ট_ইউআরআই স্ট্রিং (ঐচ্ছিক)

ফাইলটির URI।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

ফাইলের নাম স্ট্রিং (ঐচ্ছিক)

ফাইলটির নাম।

মিডিয়া_আইডি স্ট্রিং (ঐচ্ছিক)

ছবির উদ্ধৃতির ক্ষেত্রে, প্রযোজ্য হলে মিডিয়া আইডি।

পৃষ্ঠা_সংখ্যা পূর্ণসংখ্যা (ঐচ্ছিক)

উদ্ধৃত নথির পৃষ্ঠা নম্বর, যদি প্রযোজ্য হয়।

উৎস স্ট্রিং (ঐচ্ছিক)

পাঠ্যের একটি অংশের উৎস উল্লেখ করা হয়েছে।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "file_citation" এ সেট করা থাকে।

স্থান উদ্ধৃতি

স্থান উদ্ধৃতি টীকা।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

নাম স্ট্রিং (ঐচ্ছিক)

স্থানটির নাম।

স্থান_আইডি স্ট্রিং (ঐচ্ছিক)

স্থানটির আইডি, `places/{place_id}` ফরম্যাটে।

review_snippets অ্যারে (রিভিউ স্নিপেট) (ঐচ্ছিক)

গুগল ম্যাপসে কোনো নির্দিষ্ট স্থানের বৈশিষ্ট্য সম্পর্কে উত্তর তৈরি করতে ব্যবহৃত পর্যালোচনার অংশবিশেষ।

গুগল ম্যাপসের কোনো নির্দিষ্ট স্থানের বৈশিষ্ট্য সম্পর্কে একটি প্রশ্নের উত্তর দেয় এমন ব্যবহারকারী পর্যালোচনার একটি অংশ এখানে তুলে ধরা হয়েছে।

ক্ষেত্র

review_id স্ট্রিং (ঐচ্ছিক)

রিভিউ স্নিপেটটির আইডি।

শিরোনাম স্ট্রিং (ঐচ্ছিক)

পর্যালোচনার শিরোনাম।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

গুগল ম্যাপস-এ ব্যবহারকারীর পর্যালোচনার সাথে সম্পর্কিত একটি লিঙ্ক।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "place_citation" এ সেট করা থাকে।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

স্থানটির URI রেফারেন্স।

ইউআরএল উদ্ধৃতি

ইউআরএল উদ্ধৃতি টীকা।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

শিরোনাম স্ট্রিং (ঐচ্ছিক)

ইউআরএল-এর শিরোনাম।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "url_citation" এ সেট করা থাকে।

ইউআরএল স্ট্রিং (ঐচ্ছিক)

ইউআরএল।

ওয়ার্ডইনফো

ট্রান্সক্রিপশন আউটপুটের জন্য শব্দ-স্তরের ASR টীকা। এতে শব্দের পাঠ্য, ঐচ্ছিক সময় এবং ঐচ্ছিক বক্তার পরিচয় অন্তর্ভুক্ত থাকে।

শেষ_সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

আরোপিত অংশের সমাপ্তি, স্বতন্ত্র।

শেষ_অফসেট স্ট্রিং (ঐচ্ছিক)

অডিওর শুরুর সাপেক্ষে শব্দটির সময়ের শেষ অফসেট। যখন timestamp_granularities-এ 'word' থাকে, তখন এটি উপস্থিত থাকে।

স্পিকারের দড়ি (ঐচ্ছিক)

ঐচ্ছিক। এই শব্দটির জন্য স্পিকার লেবেল (যেমন "spk_1", "spk_2")। TranscriptionConfig-এ diarization_mode সেট করা থাকলে এটি উপস্থিত থাকে।

শুরুর সূচক পূর্ণসংখ্যা (ঐচ্ছিক)

প্রতিক্রিয়ার যে অংশটি এই উৎসের সাথে সম্পর্কিত, এটি তার শুরু। সূচকটি অংশের শুরু নির্দেশ করে, যা বাইটে পরিমাপ করা হয়।

start_offset স্ট্রিং (ঐচ্ছিক)

অডিওর শুরুর সাপেক্ষে শব্দটির সময়ের শুরুর অফসেট। যখন timestamp_granularities-এ 'word' থাকে, তখন এটি উপস্থিত থাকে।

পাঠ্য স্ট্রিং (ঐচ্ছিক)

অনুলিখিত শব্দটি।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "word_info" তে সেট করা থাকে।

টেক্সট স্ট্রিং (আবশ্যক)

প্রয়োজনীয়। পাঠ্য বিষয়বস্তু।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "text" হিসেবে সেট করা থাকে।

অবজেক্ট টাইপ (প্রয়োজনীয়)

কোনো বিবরণ দেওয়া হয়নি।

সর্বদা "thought" অবস্থায় সেট করা থাকে।

UrlContextCallStep

ইউআরএল কনটেক্সট কল ধাপ।

আর্গুমেন্টস UrlContextCallArguments (প্রয়োজনীয়)

আবশ্যক। ইউআরএল কনটেক্সটে পাস করার জন্য আর্গুমেন্টগুলো।

URL কনটেক্সটে পাস করার জন্য আর্গুমেন্টগুলো।

ক্ষেত্র

ইউআরএল অ্যারে (স্ট্রিং) (ঐচ্ছিক)

যে ইউআরএলগুলো আনতে হবে।

আইডি স্ট্রিং (আবশ্যক)

এই নির্দিষ্ট টুল কলের জন্য একটি অনন্য আইডি প্রয়োজন।

স্বাক্ষর স্ট্রিং (ঐচ্ছিক)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_call" .

UrlContextResultStep

URL context result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the URL context resulted in an error.

result array (UrlContextResult) (required)

Required. The results of the URL context.

The result of the URL context.

ক্ষেত্র

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

The status of the URL retrieval.

সম্ভাব্য মানসমূহ:

  • success

    Url retrieval is successful.

  • error

    Url retrieval is failed due to error.

  • paywall

    Url retrieval is failed because the content is behind paywall.

  • unsafe

    Url retrieval is failed because the content is unsafe.

url string (optional)

The URL that was fetched.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_result" .

UserInputStep

Input provided by the user.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "user_input" .

system_instruction string (optional)

System instruction for the interaction.

tools array (Tool) (optional)

A list of tool declarations the model may call during interaction.

A tool that can be used by the model.

সম্ভাব্য প্রকার

CodeExecution

A tool that can be used by the model to execute code.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution" .

ComputerUse

A tool that can be used by the model to interact with the computer.

disabled_safety_policies array (enum (string)) (optional)

Optional. Disabled safety policies for computer use.

সম্ভাব্য মানসমূহ:

  • financial_transactions

    Safety policy for financial transactions.

  • sensitive_data_modification

    Safety policy for sensitive data modification.

  • communication_tool

    Safety policy for communication tools (eg Gmail, Chat, Meet).

  • account_creation

    Safety policy for account creation.

  • data_modification

    Safety policy for data modification.

  • user_consent_management

    Safety policy for user consent management.

  • legal_terms_and_agreements

    Safety policy for legal terms and agreements.

enable_prompt_injection_detection boolean (optional)

Whether enable the prompt injection detection check on computer-use request.

environment enum (string) (optional)

The environment being operated.

সম্ভাব্য মানসমূহ:

  • browser

    Operates in a web browser.

  • mobile

    Operates in a mobile environment.

  • desktop

    Operates in a desktop environment.

excluded_predefined_functions array (string) (optional)

The list of predefined functions that are excluded from the model call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "computer_use" .

FileSearch

A tool that can be used by the model to search files.

file_search_store_names array (string) (optional)

The file search store names to search.

metadata_filter string (optional)

Metadata filter to apply to the semantic retrieval documents and chunks.

top_k integer (optional)

The number of semantic retrieval chunks to retrieve.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search" .

ফাংশন

A tool that can be used by the model.

description string (optional)

ফাংশনটির বর্ণনা।

নাম স্ট্রিং (ঐচ্ছিক)

ফাংশনটির নাম।

parameters object (optional)

The JSON Schema for the function's parameters.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function" .

GoogleMaps

A tool that can be used by the model to call Google Maps.

enable_widget boolean (optional)

Whether to return a widget context token in the tool call result of the response.

latitude number (optional)

The latitude of the user's location.

longitude number (optional)

The longitude of the user's location.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps" .

GoogleSearch

A tool that can be used by the model to search Google.

search_types array (enum (string)) (optional)

The types of search grounding to enable.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search" .

McpServer

A MCPServer is a server that can be called by the model to perform actions.

allowed_tools array (AllowedTools) (optional)

The allowed tools.

The configuration for allowed tools.

ক্ষেত্র

mode enum (string) (optional)

The mode of the tool choice.

সম্ভাব্য মানসমূহ:

  • auto

    Auto tool choice.

  • any

    Any tool choice.

  • none

    No tool choice.

  • validated

    Validated tool choice.

tools array (string) (optional)

The names of the allowed tools.

headers object (optional)

Optional: Fields for authentication headers, timeouts, etc., if needed.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the MCPServer.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server" .

url string (optional)

The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"

Retrieval

A tool that can be used by the model to retrieve files.

exa_ai_search_config ExaAISearchConfig (optional)

Used to specify configuration for ExaAISearch.

Used to specify configuration for ExaAISearch.

ক্ষেত্র

api_key string (optional)

Required. The API key for ExaAiSearch.

custom_config object (optional)

Optional. This field can be used to pass any parameter from the Exa.ai Search API.

parallel_ai_search_config ParallelAISearchConfig (optional)

Used to specify configuration for ParallelAISearch.

Used to specify configuration for ParallelAISearch.

ক্ষেত্র

api_key string (optional)

Optional. The API key for ParallelAiSearch.

custom_config object (optional)

Optional. Custom configs for ParallelAiSearch.

rag_store_config RagStoreConfig (optional)

Used to specify configuration for RagStore.

Use to specify configuration for RAG Store.

ক্ষেত্র

rag_resources array (RagResource) (optional)

Optional. The representation of the rag source.

The definition of the Rag resource.

ক্ষেত্র

rag_corpus string (optional)

Optional. RagCorpora resource name.

rag_file_ids array (string) (optional)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

rag_retrieval_config RagRetrievalConfig (optional)

Optional. The retrieval config for the Rag query.

Specifies the context retrieval config.

ক্ষেত্র

filter Filter (optional)

Optional. Config for filters.

Config for filters.

ক্ষেত্র

metadata_filter string (optional)

Optional. String for metadata filtering.

vector_distance_threshold number (optional)

Optional. Only returns contexts with vector distance smaller than the threshold.

vector_similarity_threshold number (optional)

Optional. Only returns contexts with vector similarity larger than the threshold.

hybrid_search HybridSearch (optional)

Optional. Config for Hybrid Search.

Config for Hybrid Search.

ক্ষেত্র

alpha number (optional)

Optional. Alpha value controls the weight between dense and sparse vector search results.

ranking Ranking (optional)

Optional. Config for ranking and reranking.

Config for ranking and reranking.

top_k integer (optional)

Optional. The number of contexts to retrieve.

retrieval_types array (enum (string)) (optional)

The types of file retrieval to enable.

সম্ভাব্য মানসমূহ:

  • rag_store
  • exa_ai_search
  • parallel_ai_search
type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "retrieval" .

UrlContext

A tool that can be used by the model to fetch URL context.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context" .

আপডেট করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

usage Usage (optional)

Output only. Statistics on the interaction request's token usage.

Statistics on the interaction request's token usage.

ক্ষেত্র

cached_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of cached token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

grounding_tool_count array (GroundingToolCount) (optional)

Grounding tool count.

The number of grounding tool counts.

ক্ষেত্র

count integer (optional)

The number of grounding tool counts.

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

The grounding tool type associated with the count.

সম্ভাব্য মানসমূহ:

  • google_search

    Grounding with Google Web Search and Image Search, & Web Grounding for Enterprise.

  • google_maps

    Grounding with Google Maps.

  • retrieval

    Grounding with customer's data, for example, VertexAISearch.

input_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of input token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

output_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of output token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

tool_use_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of tool-use token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

total_cached_tokens integer (optional)

Number of tokens in the cached part of the prompt (the cached content).

total_input_tokens integer (optional)

Number of tokens in the prompt (context).

total_output_tokens integer (optional)

Total number of tokens across all the generated responses.

total_thought_tokens integer (optional)

Number of tokens of thoughts for thinking models.

total_tokens integer (optional)

Total token count for the interaction request (prompt + responses + other internal tokens).

total_tool_use_tokens integer (optional)

Number of tokens present in tool-use prompt(s).

webhook_config WebhookConfig (optional)

Optional. Webhook configuration for receiving notifications when the interaction completes.

Message for configuring webhook events for a request.

ক্ষেত্র

uris array (string) (optional)

Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.

user_metadata object (optional)

Optional. The user metadata that will be returned on each event emission to the webhooks.

last_pause_time string (optional)

Output only. The time when the trigger was last paused.

last_resume_time string (optional)

Output only. The time when the trigger was last resumed.

last_run_time string (optional)

Output only. The time when the trigger was last run.

max_consecutive_failures integer (optional)

Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).

next_run_time string (optional)

Output only. The time when the trigger is scheduled to run next.

previous_interaction_id string (optional)

Output only. The ID of the last interaction created by this trigger.

schedule string (optional)

Required. The cron schedule on which the trigger should run. Standard cron format.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The current status of the trigger.

সম্ভাব্য মানসমূহ:

  • active

    The trigger is active and will fire on schedule.

  • paused

    The trigger is paused and will not fire.

  • error

    The trigger has entered an error state due to consecutive failures.

time_zone string (optional)

Required. Time zone in which the schedule should be interpreted.

update_time string (optional)

Output only. The time when the trigger was last updated.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "consecutive_failure_count": 0,
  "create_time": "string",
  "display_name": "string",
  "environment_id": "string",
  "execution_timeout_seconds": 0,
  "id": "string",
  "interaction": {
    "created": "2025-12-04T15:01:45Z",
    "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg",
    "model": "gemini-3.6-flash",
    "object": "interaction",
    "status": "completed",
    "steps": [
      {
        "type": "model_output",
        "content": [
          {
            "type": "text",
            "text": "Hello! I'm doing well, functioning as expected. Thank you for asking! How are you doing today?"
          }
        ]
      }
    ],
    "updated": "2025-12-04T15:01:45Z",
    "usage": {
      "input_tokens_by_modality": [
        {
          "modality": "text",
          "tokens": 7
        }
      ],
      "total_cached_tokens": 0,
      "total_input_tokens": 7,
      "total_output_tokens": 23,
      "total_thought_tokens": 49,
      "total_tokens": 79,
      "total_tool_use_tokens": 0
    }
  },
  "last_pause_time": "string",
  "last_resume_time": "string",
  "last_run_time": "string",
  "max_consecutive_failures": 0,
  "next_run_time": "string",
  "previous_interaction_id": "string",
  "schedule": "string",
  "status": "active",
  "time_zone": "string",
  "update_time": "string"
}

রানট্রিগার

post https://generativelanguage.googleapis.com/v1beta/triggers/{trigger_id}/executions

Runs a trigger immediately.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

end_time string (optional)

Output only. The time when the execution finished.

environment_id string (optional)

Output only. The environment ID used for the execution.

error string (optional)

Output only. The error message if the execution failed.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. Identifier. The ID of the trigger execution.

interaction_id string (optional)

Output only. The ID of the interaction created by this execution, if any.

scheduled_time string (optional)

Output only. The time when the execution was scheduled to run.

start_time string (optional)

Output only. The time when the execution started.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The status of the execution.

সম্ভাব্য মানসমূহ:

  • in_progress

    The execution is currently in progress.

  • completed

    The execution completed successfully.

  • failed

    The execution failed.

  • skipped

    The execution was skipped (eg, previous execution still running).

  • timed_out

    The execution timed out.

trigger_id string (optional)

Required. Output only. Identifier. The ID of the trigger that created this execution.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "end_time": "string",
  "environment_id": "string",
  "error": "string",
  "id": "string",
  "interaction_id": "string",
  "scheduled_time": "string",
  "start_time": "string",
  "status": "in_progress",
  "trigger_id": "string"
}

ListTriggers

get https://generativelanguage.googleapis.com/v1beta/triggers

Lists triggers for a project.

পাথ / কোয়েরি প্যারামিটার

filter string (optional)

Optional. Filter expression (eg, by state).

পৃষ্ঠার আকার পূর্ণসংখ্যা (ঐচ্ছিক)

Optional. The maximum number of triggers to return per page.

পৃষ্ঠা_টোকেন স্ট্রিং (ঐচ্ছিক)

Optional. A page token from a previous ListTriggers call.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

পরবর্তী_পৃষ্ঠা_টোকেন স্ট্রিং (ঐচ্ছিক)

A page token, received from a previous `ListTriggers` call. Provide this to retrieve the subsequent page.

triggers array ( Trigger ) (optional)

The list of triggers.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "next_page_token": "string",
  "triggers": [
    {
      "consecutive_failure_count": 0,
      "create_time": "string",
      "display_name": "string",
      "environment_id": "string",
      "execution_timeout_seconds": 0,
      "id": "string",
      "interaction": {
        "created": "2025-12-04T15:01:45Z",
        "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg",
        "model": "gemini-3.6-flash",
        "object": "interaction",
        "status": "completed",
        "steps": [
          {
            "type": "model_output",
            "content": [
              {
                "type": "text",
                "text": "Hello! I'm doing well, functioning as expected. Thank you for asking! How are you doing today?"
              }
            ]
          }
        ],
        "updated": "2025-12-04T15:01:45Z",
        "usage": {
          "input_tokens_by_modality": [
            {
              "modality": "text",
              "tokens": 7
            }
          ],
          "total_cached_tokens": 0,
          "total_input_tokens": 7,
          "total_output_tokens": 23,
          "total_thought_tokens": 49,
          "total_tokens": 79,
          "total_tool_use_tokens": 0
        }
      },
      "last_pause_time": "string",
      "last_resume_time": "string",
      "last_run_time": "string",
      "max_consecutive_failures": 0,
      "next_run_time": "string",
      "previous_interaction_id": "string",
      "schedule": "string",
      "status": "active",
      "time_zone": "string",
      "update_time": "string"
    }
  ]
}

গেটট্রিগার

get https://generativelanguage.googleapis.com/v1beta/triggers/{id}

Gets details of a single trigger.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

consecutive_failure_count integer (optional)

Output only. The number of consecutive failures that have occurred since the last successful execution.

create_time string (optional)

Output only. The time when the trigger was created.

display_name string (optional)

Optional. The display name of the trigger.

environment_id string (optional)

Optional. The environment ID for the trigger execution.

execution_timeout_seconds integer (optional)

Optional. The execution timeout for the triggered interaction.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. Identifier. The ID of the trigger.

interaction Interaction (optional)

Required. The interaction request template to be executed.

The Interaction resource.

ক্ষেত্র

agent AgentOption (optional)

The name of the `Agent` used for generating the interaction.

The agent to interact with.

সম্ভাব্য মান

  • deep-research-pro-preview-12-2025

    Gemini Deep Research Agent

  • deep-research-preview-04-2026

    Gemini Deep Research Agent

  • deep-research-max-preview-04-2026

    Gemini Deep Research Max Agent

  • antigravity-preview-05-2026

    Use the Antigravity managed agent to perform multi-step tasks that require reasoning, file operations, and tool use.

agent_config object (optional)

Configuration parameters for the agent interaction.

সম্ভাব্য প্রকার

Polymorphic discriminator: type

AntigravityAgentConfig

Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration.

max_total_tokens string (optional)

Max total tokens for the agent run.

model string (optional)

The model to use for agent reasoning.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "antigravity" .

CodeMenderAgentConfig

Configuration for the CodeMender agent.

find_request FindRequest (optional)

Parameters for finding vulnerabilities.

Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the vulnerability analysis.

finding_id string (optional)

The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.

mode enum (string) (optional)

The mode of the find session.

সম্ভাব্য মানসমূহ:

  • scan

    Fast scan using only the initial classifier.

  • verify

    Performs classification followed by detailed investigation.

source_files array (FileContent) (optional)

A list of source files to provide as context for the scan.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

fix_request FixRequest (optional)

Parameters for fixing vulnerabilities.

Request parameters specific to FIX sessions, used for generating and validating security patches.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the patch generation process.

finding_id string (optional)

The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.

source_files array (FileContent) (optional)

A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

model string (optional)

The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.

session_config SessionConfig (optional)

Optional session-specific configurations to override default agent behavior.

The configuration of CodeMender sessions.

ক্ষেত্র

max_rounds integer (optional)

The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.

session_id string (optional)

Parameter for grouping multiple interactions that belong to the same CodeMender session.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code-mender" .

DeepResearchAgentConfig

Configuration for the Deep Research agent.

collaborative_planning boolean (optional)

Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.

enable_bigquery_tool boolean (optional)

Enables bigquery tool for the Deep Research agent.

thinking_summaries ThinkingSummaries (optional)

Whether to include thought summaries in the response.

সম্ভাব্য মান

  • auto

    Auto thinking summaries.

  • none

    No thinking summaries.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "deep-research" .

visualization enum (string) (optional)

Whether to include visualizations in the response.

সম্ভাব্য মানসমূহ:

  • off

    Do not include visualizations.

  • auto

    Automatically include visualizations.

DynamicAgentConfig

Configuration for dynamic agents.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "dynamic" .

তৈরি করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

environment EnvironmentConfig or string (optional)

The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.

Configuration for a custom environment.

ক্ষেত্র

environment_id string (optional)

Optional. The environment ID for the interaction. If specified, the request will update the existing environment instead of creating a new one.

নেটওয়ার্ক এনভায়রনমেন্টনেটওয়ার্কইগ্রেসঅ্যালাউলিস্ট অথবা এনাম (স্ট্রিং) (ঐচ্ছিক)

পরিবেশের জন্য নেটওয়ার্ক কনফিগারেশন।

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। ট্র্যাফিক সীমাবদ্ধ করার জন্য 'allowlist' অ্যারে সহ একটি অবজেক্ট, অথবা সমস্ত নেটওয়ার্ক অ্যাক্সেস বন্ধ করার জন্য 'disabled' স্ট্রিংটি গ্রহণ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

সম্ভাব্য প্রকার

বস্তু

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। এটি নির্দিষ্ট করা হলে, স্যান্ডবক্সটি কোন কোন বাহ্যিক ডোমেইনে পৌঁছাতে পারবে তা সীমাবদ্ধ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

অনুমতি তালিকা অ্যারে (AllowlistEntry) (ঐচ্ছিক)

অনুমোদিত বহির্গামী ডোমেইনের তালিকা। শুধুমাত্র তালিকাভুক্ত ডোমেইনগুলিতেই অনুরোধ পাঠানোর অনুমতি আছে। নির্দিষ্ট কিছু ডোমেইনে হেডার যুক্ত করার পাশাপাশি সমস্ত ডোমেইনকে অনুমতি দিতে [{'domain': '*'}] ব্যবহার করুন।

ঐচ্ছিক হেডার ইনজেকশন সহ একটি একক ডোমেইন অ্যালাওলিস্ট নিয়ম।

ক্ষেত্র

ডোমেইন স্ট্রিং (ঐচ্ছিক)

যে ডোমেইনে বহির্গামী অনুরোধ পাঠানোর অনুমতি দেওয়া হবে। ওয়াইল্ডকার্ড সমর্থন করে (যেমন '*.googleapis.com')। সব ডোমেইনের অনুমতি দিতে '*' ব্যবহার করুন।

অ্যারে (অবজেক্ট) অথবা অবজেক্ট (ঐচ্ছিক) রূপান্তর করুন

এই ডোমেনের সাথে মিলে যাওয়া সমস্ত বহির্গামী অনুরোধে যুক্ত করার জন্য হেডারসমূহ। এটি একটি একক ডিক্ট অথবা একাধিক ডিক্টের একটি তালিকা গ্রহণ করে। ইগ্রেস প্রক্সি এগুলি স্বয়ংক্রিয়ভাবে যুক্ত করে।

স্ট্রিং

সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

সম্ভাব্য মান

  • disabled

    সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

উৎস অ্যারে (উৎস) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

পরিবেশে স্থাপন করার জন্য একটি উৎস।

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

`type` `INLINE` হলে কন্টেন্টটি ইনলাইন হবে।

এনকোডিং স্ট্রিং (ঐচ্ছিক)

ইনলাইন কন্টেন্টের জন্য ঐচ্ছিক এনকোডিং (যেমন `base64`)।

উৎস স্ট্রিং (ঐচ্ছিক)

পরিবেশের উৎস। ক্লাউড স্টোরেজের জন্য, এটি হলো ক্লাউড স্টোরেজ পাথ। গিটহাবের জন্য, এটি হলো গিটহাব পাথ।

লক্ষ্য স্ট্রিং (ঐচ্ছিক)

পরিবেশে উৎসটি কোথায় প্রদর্শিত হবে।

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সম্ভাব্য মানসমূহ:

  • gcs

    একটি ক্লাউড স্টোরেজ বাকেট।

  • inline

    ইনলাইন কন্টেন্ট।

  • repository

    একটি জেনেরিক রিপোজিটরি। সোর্স ইউআরএল-এর প্রোটোকল প্রিফিক্স প্রোভাইডারকে শনাক্ত করে (যেমন, github://, gcs://)।

  • skill_registry

    স্কিল রেজিস্ট্রি সার্ভিস থেকে একটি স্কিল রিসোর্স। স্কিল: projects/{project}/locations/{location}/skills/{skill} স্কিলরিভিশন: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision} একটি প্রজেক্টের অধীনে সমস্ত স্কিল মাউন্ট করার সাপোর্ট: projects/{project}/locations/{location}/skills।

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "remote" .

environment_id string (optional)

Output only. The environment ID for the interaction. Only populated if environment config is set in the request.

errors array (Error) (optional)

Output only. Diagnostic faults / platform errors recorded on the interaction.

Error message from an interaction.

ক্ষেত্র

code string (optional)

A URI that identifies the error type.

message string (optional)

A human-readable error message.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. A unique identifier for the interaction completion.

Defaults to:

input Content or array (Content) or array (Step) or string (optional)

The input for the interaction.

labels object (optional)

The labels with user-defined metadata for the request.

model ModelOption (optional)

The name of the `Model` used for generating the interaction.

The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.

সম্ভাব্য মান

  • gemini-2.5-flash

    Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.

  • gemini-2.5-pro

    Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks.

  • gemma-4-26b-a4b-it

    Gemma 4 26B A4B IT

  • gemma-4-31b-it

    Gemma 4 31B IT

  • gemini-flash-latest

    Latest release of Gemini Flash

  • gemini-flash-lite-latest

    Latest release of Gemini Flash-Lite

  • gemini-pro-latest

    Latest release of Gemini Pro

  • gemini-2.5-flash-lite

    Our smallest and most cost effective model, built for at scale usage.

  • gemini-2.5-flash-image

    Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash.

  • gemini-3-flash-preview

    Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding.

  • gemini-3.1-pro-preview

    Our latest SOTA reasoning model with unprecedented depth and nuance, and powerful multimodal understanding and coding capabilities.

  • gemini-3.1-pro-preview-customtools

    Gemini 3.1 Pro Preview optimized for custom tool usage

  • gemini-3.1-flash-lite

    Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing.

  • gemini-3-pro-image

    Gemini 3 Pro Image

  • nano-banana-pro-preview

    Gemini 3 Pro Image Preview

  • gemini-3.1-flash-image

    Gemini 3.1 Flash Image.

  • gemini-3.5-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.6-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.7-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • lyria-3-clip-preview

    Our low-latency, music generation model optimized for high-fidelity audio clips and precise rhythmic control.

  • lyria-3-pro-preview

    Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles.

  • gemini-robotics-er-1.6-preview

    Gemini Robotics-ER 1.6 Preview

  • gemini-robotics-er-2-preview

    Gemini Robotics Embodied Reasoning 2 Preview

output_audio AudioContent (optional)

The last audio generated by the model in response to the current request. Note: this is added by the SDK.

An audio content block.

ক্ষেত্র

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

output_image ImageContent (optional)

The last image generated by the model in response to the current request. Note: this is added by the SDK.

An image content block.

ক্ষেত্র

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

output_text string (optional)

Concatenated text from the last model output in response to the current request. Note: this is added by the SDK.

output_video VideoContent (optional)

The last video generated by the model in response to the current request. Note: this is added by the SDK.

A video content block.

ক্ষেত্র

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

previous_interaction_id string (optional)

The ID of the previous interaction, if any.

response_format ResponseFormat or array (ResponseFormat) (optional)

Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.

সম্ভাব্য প্রকার

AudioResponseFormat

Configuration for audio output format.

bit_rate integer (optional)

Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).

delivery enum (string) (optional)

The delivery mode for the audio output.

সম্ভাব্য মানসমূহ:

  • inline

    Audio data is returned inline in the response.

  • uri

    Audio data is returned as a URI.

mime_type enum (string) (optional)

The MIME type of the audio output.

সম্ভাব্য মানসমূহ:

  • audio/mp3

    MP3 audio format.

  • audio/ogg_opus

    OGG Opus audio format.

  • audio/l16

    Raw PCM (L16) audio format.

  • audio/wav

    WAV audio format.

  • audio/alaw

    A-law audio format.

  • audio/mulaw

    Mu-law audio format.

sample_rate integer (optional)

Sample rate in Hz.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

ImageResponseFormat

Configuration for image output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the image output.

সম্ভাব্য মানসমূহ:

  • 1:1

    ১:১ আকৃতির অনুপাত।

  • 2:3

    2:3 aspect ratio.

  • 3:2

    3:2 aspect ratio.

  • 3:4

    3:4 aspect ratio.

  • 4:3

    4:3 aspect ratio.

  • 4:5

    4:5 aspect ratio.

  • 5:4

    5:4 aspect ratio.

  • 9:16

    9:16 aspect ratio.

  • 16:9

    16:9 aspect ratio.

  • 21:9

    21:9 aspect ratio.

  • 1:8

    1:8 aspect ratio.

  • 8:1

    8:1 aspect ratio.

  • 1:4

    1:4 aspect ratio.

  • 4:1

    4:1 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the image output.

সম্ভাব্য মানসমূহ:

  • inline

    Image data is returned inline in the response.

  • uri

    Image data is returned as a URI.

image_size enum (string) (optional)

The size of the image output.

সম্ভাব্য মানসমূহ:

  • 512

    512px image size.

  • 1K

    1K image size.

  • 2K

    2K image size.

  • 4K

    4K image size.

mime_type enum (string) (optional)

The MIME type of the image output.

সম্ভাব্য মানসমূহ:

  • image/jpeg

    JPEG image format.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

TextResponseFormat

Configuration for text output format.

mime_type enum (string) (optional)

The MIME type of the text output.

সম্ভাব্য মানসমূহ:

  • application/json

    JSON output format.

  • text/plain

    Plain text output format.

schema object (optional)

The JSON schema that the output should conform to. Only applicable when mime_type is application/json.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoResponseFormat

Configuration for video output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the video output.

সম্ভাব্য মানসমূহ:

  • 16:9

    16:9 aspect ratio.

  • 9:16

    9:16 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the video output.

সম্ভাব্য মানসমূহ:

  • inline

    Video data is returned inline in the response.

  • uri

    Video data is returned as a URI.

duration string (optional)

The duration for the video output.

gcs_uri string (optional)

The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.

resolution enum (string) (optional)

The video output resolution. Defaults to 720p.

সম্ভাব্য মানসমূহ:

  • 360p

    360p resolution.

  • 720p

    720p resolution.

  • 1080p

    1080p resolution.

  • 4k

    ৪কে রেজোলিউশন।

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

safety_settings array (SafetySetting) (optional)

Safety settings for the interaction.

A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.

ক্ষেত্র

method enum (string) (optional)

Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.

সম্ভাব্য মানসমূহ:

  • severity

    The harm block method uses both probability and severity scores.

  • probability

    The harm block method uses the probability score.

threshold enum (string) (optional)

Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.

সম্ভাব্য মানসমূহ:

  • block_low_and_above

    Block content with a low harm probability or higher.

  • block_medium_and_above

    Block content with a medium harm probability or higher.

  • block_only_high

    Block content with a high harm probability.

  • block_none

    Do not block any content, regardless of its harm probability.

  • off

    Turn off the safety filter entirely.

type HarmCategory (optional)

Required. The type of harm category to be blocked.

সম্ভাব্য মান

  • hate_speech

    Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

  • dangerous_content

    Content that promotes, facilitates, or enables dangerous activities.

  • harassment

    Abusive, threatening, or content intended to bully, torment, or ridicule.

  • sexually_explicit

    Content that contains sexually explicit material.

  • civic_integrity

    Deprecated: Election filter is not longer supported. The harm category is civic integrity.

  • image_hate

    Images that contain hate speech.

  • image_dangerous_content

    Images that contain dangerous content.

  • image_harassment

    Images that contain harassment.

  • image_sexually_explicit

    Images that contain sexually explicit content.

  • jailbreak

    Prompts designed to bypass safety filters.

service_tier ServiceTier (optional)

The service tier for the interaction.

সম্ভাব্য মান

  • flex

    Flex service tier.

  • standard

    Standard service tier.

  • priority

    Priority service tier.

  • deferred

    Deferred service tier.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Required. Output only. The status of the interaction.

সম্ভাব্য মানসমূহ:

  • in_progress

    The interaction is in progress.

  • requires_action

    The interaction requires action/input from the user.

  • completed

    The interaction is completed.

  • failed

    The interaction failed.

  • cancelled

    The interaction was cancelled.

  • incomplete

    The interaction is completed, but contains incomplete results (eg hitting max_tokens).

  • budget_exceeded

    The interaction was halted because the token budget was exceeded.

  • queued

    The interaction is queued, waiting for processing.

steps array (Step) (optional)

Output only. The steps that make up the interaction, when included in the response.

A step in the interaction.

সম্ভাব্য প্রকার

CodeExecutionCallStep

Code execution call step.

arguments CodeExecutionCallStepArguments (required)

Required. The arguments to pass to the code execution.

The arguments to pass to the code execution.

ক্ষেত্র

code string (optional)

The code to be executed.

language enum (string) (optional)

Programming language of the `code`.

সম্ভাব্য মানসমূহ:

  • python

    Python >= 3.10, with numpy and simpy available.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_call" .

CodeExecutionResultStep

Code execution result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the code execution resulted in an error.

result string (required)

Required. The output of the code execution.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_result" .

FileSearchCallStep

File Search call step.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_call" .

FileSearchResultStep

File Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_result" .

FunctionCallStep

A function tool call step.

arguments object (required)

Required. The arguments to pass to the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool to call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_call" .

FunctionResultStep

Result of a function tool call.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the tool call resulted in an error.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the tool that was called.

result array (ImageContent or TextContent) or object or string (required)

Required. The result of the tool call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_result" .

GoogleMapsCallStep

Google Maps call step.

arguments GoogleMapsCallStepArguments (optional)

The arguments to pass to the Google Maps tool.

The arguments to pass to the Google Maps tool.

ক্ষেত্র

queries array (string) (optional)

The queries to be executed.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_call" .

GoogleMapsResultStep

Google Maps result step.

call_id string (required)

Required. ID to match the ID from the function call block.

result array (GoogleMapsResultItem) (required)

কোনো বিবরণ দেওয়া হয়নি।

The result of the Google Maps.

ক্ষেত্র

places array (GoogleMapsResultPlaces) (optional)

কোনো বিবরণ দেওয়া হয়নি।

ক্ষেত্র

নাম স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

place_id string (optional)

কোনো বিবরণ দেওয়া হয়নি।

review_snippets array (ReviewSnippet) (optional)

কোনো বিবরণ দেওয়া হয়নি।

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

url string (optional)

কোনো বিবরণ দেওয়া হয়নি।

widget_context_token string (optional)

কোনো বিবরণ দেওয়া হয়নি।

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_result" .

GoogleSearchCallStep

Google Search call step.

arguments GoogleSearchCallStepArguments (required)

Required. The arguments to pass to Google Search.

The arguments to pass to Google Search.

ক্ষেত্র

queries array (string) (optional)

Web search queries for the following-up web search.

id string (required)

Required. A unique ID for this specific tool call.

search_type enum (string) (optional)

The type of search grounding enabled.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_call" .

GoogleSearchResultStep

Google Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the Google Search resulted in an error.

result array (GoogleSearchResultItem) (required)

Required. The results of the Google Search.

The result of the Google Search.

ক্ষেত্র

search_suggestions string (optional)

Web content snippet that can be embedded in a web page or an app webview.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_result" .

McpServerToolCallStep

MCPServer tool call step.

arguments object (required)

Required. The JSON object of arguments for the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool which was called.

server_name string (required)

Required. The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_call" .

McpServerToolResultStep

MCPServer tool result step.

call_id string (required)

Required. ID to match the ID from the function call block.

নাম স্ট্রিং (ঐচ্ছিক)

Name of the tool which is called for this specific tool call.

result array (ImageContent or TextContent) or object or string (required)

Required. The output from the MCP server call. Can be simple text or rich content.

server_name string (optional)

The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_result" .

ModelOutputStep

Output generated by the model.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "model_output" .

ThoughtStep

A thought step.

signature string (optional)

A signature hash for backend validation.

summary array (ThoughtSummaryContent) (optional)

A summary of the thought.

সম্ভাব্য প্রকার

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "thought" .

UrlContextCallStep

URL context call step.

arguments UrlContextCallArguments (required)

Required. The arguments to pass to the URL context.

The arguments to pass to the URL context.

ক্ষেত্র

urls array (string) (optional)

The URLs to fetch.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_call" .

UrlContextResultStep

URL context result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the URL context resulted in an error.

result array (UrlContextResult) (required)

Required. The results of the URL context.

The result of the URL context.

ক্ষেত্র

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

The status of the URL retrieval.

সম্ভাব্য মানসমূহ:

  • success

    Url retrieval is successful.

  • error

    Url retrieval is failed due to error.

  • paywall

    Url retrieval is failed because the content is behind paywall.

  • unsafe

    Url retrieval is failed because the content is unsafe.

url string (optional)

The URL that was fetched.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_result" .

UserInputStep

Input provided by the user.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "user_input" .

system_instruction string (optional)

System instruction for the interaction.

tools array (Tool) (optional)

A list of tool declarations the model may call during interaction.

A tool that can be used by the model.

সম্ভাব্য প্রকার

CodeExecution

A tool that can be used by the model to execute code.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution" .

ComputerUse

A tool that can be used by the model to interact with the computer.

disabled_safety_policies array (enum (string)) (optional)

Optional. Disabled safety policies for computer use.

সম্ভাব্য মানসমূহ:

  • financial_transactions

    Safety policy for financial transactions.

  • sensitive_data_modification

    Safety policy for sensitive data modification.

  • communication_tool

    Safety policy for communication tools (eg Gmail, Chat, Meet).

  • account_creation

    Safety policy for account creation.

  • data_modification

    Safety policy for data modification.

  • user_consent_management

    Safety policy for user consent management.

  • legal_terms_and_agreements

    Safety policy for legal terms and agreements.

enable_prompt_injection_detection boolean (optional)

Whether enable the prompt injection detection check on computer-use request.

environment enum (string) (optional)

The environment being operated.

সম্ভাব্য মানসমূহ:

  • browser

    Operates in a web browser.

  • mobile

    Operates in a mobile environment.

  • desktop

    Operates in a desktop environment.

excluded_predefined_functions array (string) (optional)

The list of predefined functions that are excluded from the model call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "computer_use" .

FileSearch

A tool that can be used by the model to search files.

file_search_store_names array (string) (optional)

The file search store names to search.

metadata_filter string (optional)

Metadata filter to apply to the semantic retrieval documents and chunks.

top_k integer (optional)

The number of semantic retrieval chunks to retrieve.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search" .

ফাংশন

A tool that can be used by the model.

description string (optional)

ফাংশনটির বর্ণনা।

নাম স্ট্রিং (ঐচ্ছিক)

ফাংশনটির নাম।

parameters object (optional)

The JSON Schema for the function's parameters.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function" .

GoogleMaps

A tool that can be used by the model to call Google Maps.

enable_widget boolean (optional)

Whether to return a widget context token in the tool call result of the response.

latitude number (optional)

The latitude of the user's location.

longitude number (optional)

The longitude of the user's location.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps" .

GoogleSearch

A tool that can be used by the model to search Google.

search_types array (enum (string)) (optional)

The types of search grounding to enable.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search" .

McpServer

A MCPServer is a server that can be called by the model to perform actions.

allowed_tools array (AllowedTools) (optional)

The allowed tools.

The configuration for allowed tools.

ক্ষেত্র

mode enum (string) (optional)

The mode of the tool choice.

সম্ভাব্য মানসমূহ:

  • auto

    Auto tool choice.

  • any

    Any tool choice.

  • none

    No tool choice.

  • validated

    Validated tool choice.

tools array (string) (optional)

The names of the allowed tools.

headers object (optional)

Optional: Fields for authentication headers, timeouts, etc., if needed.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the MCPServer.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server" .

url string (optional)

The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"

Retrieval

A tool that can be used by the model to retrieve files.

exa_ai_search_config ExaAISearchConfig (optional)

Used to specify configuration for ExaAISearch.

Used to specify configuration for ExaAISearch.

ক্ষেত্র

api_key string (optional)

Required. The API key for ExaAiSearch.

custom_config object (optional)

Optional. This field can be used to pass any parameter from the Exa.ai Search API.

parallel_ai_search_config ParallelAISearchConfig (optional)

Used to specify configuration for ParallelAISearch.

Used to specify configuration for ParallelAISearch.

ক্ষেত্র

api_key string (optional)

Optional. The API key for ParallelAiSearch.

custom_config object (optional)

Optional. Custom configs for ParallelAiSearch.

rag_store_config RagStoreConfig (optional)

Used to specify configuration for RagStore.

Use to specify configuration for RAG Store.

ক্ষেত্র

rag_resources array (RagResource) (optional)

Optional. The representation of the rag source.

The definition of the Rag resource.

ক্ষেত্র

rag_corpus string (optional)

Optional. RagCorpora resource name.

rag_file_ids array (string) (optional)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

rag_retrieval_config RagRetrievalConfig (optional)

Optional. The retrieval config for the Rag query.

Specifies the context retrieval config.

ক্ষেত্র

filter Filter (optional)

Optional. Config for filters.

Config for filters.

ক্ষেত্র

metadata_filter string (optional)

Optional. String for metadata filtering.

vector_distance_threshold number (optional)

Optional. Only returns contexts with vector distance smaller than the threshold.

vector_similarity_threshold number (optional)

Optional. Only returns contexts with vector similarity larger than the threshold.

hybrid_search HybridSearch (optional)

Optional. Config for Hybrid Search.

Config for Hybrid Search.

ক্ষেত্র

alpha number (optional)

Optional. Alpha value controls the weight between dense and sparse vector search results.

ranking Ranking (optional)

Optional. Config for ranking and reranking.

Config for ranking and reranking.

top_k integer (optional)

Optional. The number of contexts to retrieve.

retrieval_types array (enum (string)) (optional)

The types of file retrieval to enable.

সম্ভাব্য মানসমূহ:

  • rag_store
  • exa_ai_search
  • parallel_ai_search
type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "retrieval" .

UrlContext

A tool that can be used by the model to fetch URL context.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context" .

আপডেট করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

usage Usage (optional)

Output only. Statistics on the interaction request's token usage.

Statistics on the interaction request's token usage.

ক্ষেত্র

cached_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of cached token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

grounding_tool_count array (GroundingToolCount) (optional)

Grounding tool count.

The number of grounding tool counts.

ক্ষেত্র

count integer (optional)

The number of grounding tool counts.

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

The grounding tool type associated with the count.

সম্ভাব্য মানসমূহ:

  • google_search

    Grounding with Google Web Search and Image Search, & Web Grounding for Enterprise.

  • google_maps

    Grounding with Google Maps.

  • retrieval

    Grounding with customer's data, for example, VertexAISearch.

input_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of input token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

output_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of output token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

tool_use_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of tool-use token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

total_cached_tokens integer (optional)

Number of tokens in the cached part of the prompt (the cached content).

total_input_tokens integer (optional)

Number of tokens in the prompt (context).

total_output_tokens integer (optional)

Total number of tokens across all the generated responses.

total_thought_tokens integer (optional)

Number of tokens of thoughts for thinking models.

total_tokens integer (optional)

Total token count for the interaction request (prompt + responses + other internal tokens).

total_tool_use_tokens integer (optional)

Number of tokens present in tool-use prompt(s).

webhook_config WebhookConfig (optional)

Optional. Webhook configuration for receiving notifications when the interaction completes.

Message for configuring webhook events for a request.

ক্ষেত্র

uris array (string) (optional)

Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.

user_metadata object (optional)

Optional. The user metadata that will be returned on each event emission to the webhooks.

last_pause_time string (optional)

Output only. The time when the trigger was last paused.

last_resume_time string (optional)

Output only. The time when the trigger was last resumed.

last_run_time string (optional)

Output only. The time when the trigger was last run.

max_consecutive_failures integer (optional)

Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).

next_run_time string (optional)

Output only. The time when the trigger is scheduled to run next.

previous_interaction_id string (optional)

Output only. The ID of the last interaction created by this trigger.

schedule string (optional)

Required. The cron schedule on which the trigger should run. Standard cron format.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The current status of the trigger.

সম্ভাব্য মানসমূহ:

  • active

    The trigger is active and will fire on schedule.

  • paused

    The trigger is paused and will not fire.

  • error

    The trigger has entered an error state due to consecutive failures.

time_zone string (optional)

Required. Time zone in which the schedule should be interpreted.

update_time string (optional)

Output only. The time when the trigger was last updated.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "consecutive_failure_count": 0,
  "create_time": "string",
  "display_name": "string",
  "environment_id": "string",
  "execution_timeout_seconds": 0,
  "id": "string",
  "interaction": {
    "created": "2025-12-04T15:01:45Z",
    "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg",
    "model": "gemini-3.6-flash",
    "object": "interaction",
    "status": "completed",
    "steps": [
      {
        "type": "model_output",
        "content": [
          {
            "type": "text",
            "text": "Hello! I'm doing well, functioning as expected. Thank you for asking! How are you doing today?"
          }
        ]
      }
    ],
    "updated": "2025-12-04T15:01:45Z",
    "usage": {
      "input_tokens_by_modality": [
        {
          "modality": "text",
          "tokens": 7
        }
      ],
      "total_cached_tokens": 0,
      "total_input_tokens": 7,
      "total_output_tokens": 23,
      "total_thought_tokens": 49,
      "total_tokens": 79,
      "total_tool_use_tokens": 0
    }
  },
  "last_pause_time": "string",
  "last_resume_time": "string",
  "last_run_time": "string",
  "max_consecutive_failures": 0,
  "next_run_time": "string",
  "previous_interaction_id": "string",
  "schedule": "string",
  "status": "active",
  "time_zone": "string",
  "update_time": "string"
}

ListTriggerExecutions

get https://generativelanguage.googleapis.com/v1beta/triggers/{trigger_id}/executions

Lists executions for a trigger.

পাথ / কোয়েরি প্যারামিটার

পৃষ্ঠার আকার পূর্ণসংখ্যা (ঐচ্ছিক)

Optional. The maximum number of executions to return per page.

পৃষ্ঠা_টোকেন স্ট্রিং (ঐচ্ছিক)

Optional. A page token from a previous ListTriggerExecutions call.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

পরবর্তী_পৃষ্ঠা_টোকেন স্ট্রিং (ঐচ্ছিক)

A page token, received from a previous `ListTriggerExecutions` call. Provide this to retrieve the subsequent page.

trigger_executions array (TriggerExecution) (optional)

The list of trigger executions.

An execution instance of a trigger.

ক্ষেত্র

end_time string (optional)

Output only. The time when the execution finished.

environment_id string (optional)

Output only. The environment ID used for the execution.

error string (optional)

Output only. The error message if the execution failed.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. Identifier. The ID of the trigger execution.

interaction_id string (optional)

Output only. The ID of the interaction created by this execution, if any.

scheduled_time string (optional)

Output only. The time when the execution was scheduled to run.

start_time string (optional)

Output only. The time when the execution started.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The status of the execution.

সম্ভাব্য মানসমূহ:

  • in_progress

    The execution is currently in progress.

  • completed

    The execution completed successfully.

  • failed

    The execution failed.

  • skipped

    The execution was skipped (eg, previous execution still running).

  • timed_out

    The execution timed out.

trigger_id string (optional)

Required. Output only. Identifier. The ID of the trigger that created this execution.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "next_page_token": "string",
  "trigger_executions": [
    {
      "end_time": "string",
      "environment_id": "string",
      "error": "string",
      "id": "string",
      "interaction_id": "string",
      "scheduled_time": "string",
      "start_time": "string",
      "status": "in_progress",
      "trigger_id": "string"
    }
  ]
}

UpdateTrigger

patch https://generativelanguage.googleapis.com/v1beta/triggers/{id}

Updates a trigger.

অনুরোধকারী শরীর

অনুরোধের মূল অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

display_name string (optional)

Optional. The display name of the trigger.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Optional. The status of the trigger.

সম্ভাব্য মানসমূহ:

  • active

    The trigger is active and will fire on schedule.

  • paused

    The trigger is paused and will not fire.

  • error

    The trigger has entered an error state due to consecutive failures.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়া অংশে নিম্নলিখিত কাঠামোসহ ডেটা থাকে:

consecutive_failure_count integer (optional)

Output only. The number of consecutive failures that have occurred since the last successful execution.

create_time string (optional)

Output only. The time when the trigger was created.

display_name string (optional)

Optional. The display name of the trigger.

environment_id string (optional)

Optional. The environment ID for the trigger execution.

execution_timeout_seconds integer (optional)

Optional. The execution timeout for the triggered interaction.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. Identifier. The ID of the trigger.

interaction Interaction (optional)

Required. The interaction request template to be executed.

The Interaction resource.

ক্ষেত্র

agent AgentOption (optional)

The name of the `Agent` used for generating the interaction.

The agent to interact with.

সম্ভাব্য মান

  • deep-research-pro-preview-12-2025

    Gemini Deep Research Agent

  • deep-research-preview-04-2026

    Gemini Deep Research Agent

  • deep-research-max-preview-04-2026

    Gemini Deep Research Max Agent

  • antigravity-preview-05-2026

    Use the Antigravity managed agent to perform multi-step tasks that require reasoning, file operations, and tool use.

agent_config object (optional)

Configuration parameters for the agent interaction.

সম্ভাব্য প্রকার

Polymorphic discriminator: type

AntigravityAgentConfig

Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration.

max_total_tokens string (optional)

Max total tokens for the agent run.

model string (optional)

The model to use for agent reasoning.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "antigravity" .

CodeMenderAgentConfig

Configuration for the CodeMender agent.

find_request FindRequest (optional)

Parameters for finding vulnerabilities.

Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the vulnerability analysis.

finding_id string (optional)

The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.

mode enum (string) (optional)

The mode of the find session.

সম্ভাব্য মানসমূহ:

  • scan

    Fast scan using only the initial classifier.

  • verify

    Performs classification followed by detailed investigation.

source_files array (FileContent) (optional)

A list of source files to provide as context for the scan.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

fix_request FixRequest (optional)

Parameters for fixing vulnerabilities.

Request parameters specific to FIX sessions, used for generating and validating security patches.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the patch generation process.

finding_id string (optional)

The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.

source_files array (FileContent) (optional)

A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

model string (optional)

The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.

session_config SessionConfig (optional)

Optional session-specific configurations to override default agent behavior.

The configuration of CodeMender sessions.

ক্ষেত্র

max_rounds integer (optional)

The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.

session_id string (optional)

Parameter for grouping multiple interactions that belong to the same CodeMender session.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code-mender" .

DeepResearchAgentConfig

Configuration for the Deep Research agent.

collaborative_planning boolean (optional)

Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.

enable_bigquery_tool boolean (optional)

Enables bigquery tool for the Deep Research agent.

thinking_summaries ThinkingSummaries (optional)

Whether to include thought summaries in the response.

সম্ভাব্য মান

  • auto

    Auto thinking summaries.

  • none

    No thinking summaries.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "deep-research" .

visualization enum (string) (optional)

Whether to include visualizations in the response.

সম্ভাব্য মানসমূহ:

  • off

    Do not include visualizations.

  • auto

    Automatically include visualizations.

DynamicAgentConfig

Configuration for dynamic agents.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "dynamic" .

তৈরি করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

environment EnvironmentConfig or string (optional)

The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.

Configuration for a custom environment.

ক্ষেত্র

environment_id string (optional)

Optional. The environment ID for the interaction. If specified, the request will update the existing environment instead of creating a new one.

নেটওয়ার্ক এনভায়রনমেন্টনেটওয়ার্কইগ্রেসঅ্যালাউলিস্ট অথবা এনাম (স্ট্রিং) (ঐচ্ছিক)

পরিবেশের জন্য নেটওয়ার্ক কনফিগারেশন।

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। ট্র্যাফিক সীমাবদ্ধ করার জন্য 'allowlist' অ্যারে সহ একটি অবজেক্ট, অথবা সমস্ত নেটওয়ার্ক অ্যাক্সেস বন্ধ করার জন্য 'disabled' স্ট্রিংটি গ্রহণ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

সম্ভাব্য প্রকার

বস্তু

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। এটি নির্দিষ্ট করা হলে, স্যান্ডবক্সটি কোন কোন বাহ্যিক ডোমেইনে পৌঁছাতে পারবে তা সীমাবদ্ধ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

অনুমতি তালিকা অ্যারে (AllowlistEntry) (ঐচ্ছিক)

অনুমোদিত বহির্গামী ডোমেইনের তালিকা। শুধুমাত্র তালিকাভুক্ত ডোমেইনগুলিতেই অনুরোধ পাঠানোর অনুমতি আছে। নির্দিষ্ট কিছু ডোমেইনে হেডার যুক্ত করার পাশাপাশি সমস্ত ডোমেইনকে অনুমতি দিতে [{'domain': '*'}] ব্যবহার করুন।

ঐচ্ছিক হেডার ইনজেকশন সহ একটি একক ডোমেইন অ্যালাওলিস্ট নিয়ম।

ক্ষেত্র

ডোমেইন স্ট্রিং (ঐচ্ছিক)

যে ডোমেইনে বহির্গামী অনুরোধ পাঠানোর অনুমতি দেওয়া হবে। ওয়াইল্ডকার্ড সমর্থন করে (যেমন '*.googleapis.com')। সব ডোমেইনের অনুমতি দিতে '*' ব্যবহার করুন।

অ্যারে (অবজেক্ট) অথবা অবজেক্ট (ঐচ্ছিক) রূপান্তর করুন

এই ডোমেনের সাথে মিলে যাওয়া সমস্ত বহির্গামী অনুরোধে যুক্ত করার জন্য হেডারসমূহ। এটি একটি একক ডিক্ট অথবা একাধিক ডিক্টের একটি তালিকা গ্রহণ করে। ইগ্রেস প্রক্সি এগুলি স্বয়ংক্রিয়ভাবে যুক্ত করে।

স্ট্রিং

সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

সম্ভাব্য মান

  • disabled

    সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

উৎস অ্যারে (উৎস) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

পরিবেশে স্থাপন করার জন্য একটি উৎস।

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

`type` `INLINE` হলে কন্টেন্টটি ইনলাইন হবে।

এনকোডিং স্ট্রিং (ঐচ্ছিক)

ইনলাইন কন্টেন্টের জন্য ঐচ্ছিক এনকোডিং (যেমন `base64`)।

উৎস স্ট্রিং (ঐচ্ছিক)

পরিবেশের উৎস। ক্লাউড স্টোরেজের জন্য, এটি হলো ক্লাউড স্টোরেজ পাথ। গিটহাবের জন্য, এটি হলো গিটহাব পাথ।

লক্ষ্য স্ট্রিং (ঐচ্ছিক)

পরিবেশে উৎসটি কোথায় প্রদর্শিত হবে।

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সম্ভাব্য মানসমূহ:

  • gcs

    একটি ক্লাউড স্টোরেজ বাকেট।

  • inline

    ইনলাইন কন্টেন্ট।

  • repository

    একটি জেনেরিক রিপোজিটরি। সোর্স ইউআরএল-এর প্রোটোকল প্রিফিক্স প্রোভাইডারকে শনাক্ত করে (যেমন, github://, gcs://)।

  • skill_registry

    স্কিল রেজিস্ট্রি সার্ভিস থেকে একটি স্কিল রিসোর্স। স্কিল: projects/{project}/locations/{location}/skills/{skill} স্কিলরিভিশন: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision} একটি প্রজেক্টের অধীনে সমস্ত স্কিল মাউন্ট করার সাপোর্ট: projects/{project}/locations/{location}/skills।

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "remote" .

environment_id string (optional)

Output only. The environment ID for the interaction. Only populated if environment config is set in the request.

errors array (Error) (optional)

Output only. Diagnostic faults / platform errors recorded on the interaction.

Error message from an interaction.

ক্ষেত্র

code string (optional)

A URI that identifies the error type.

message string (optional)

A human-readable error message.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. A unique identifier for the interaction completion.

Defaults to:

input Content or array (Content) or array (Step) or string (optional)

The input for the interaction.

labels object (optional)

The labels with user-defined metadata for the request.

model ModelOption (optional)

The name of the `Model` used for generating the interaction.

The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.

সম্ভাব্য মান

  • gemini-2.5-flash

    Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.

  • gemini-2.5-pro

    Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks.

  • gemma-4-26b-a4b-it

    Gemma 4 26B A4B IT

  • gemma-4-31b-it

    Gemma 4 31B IT

  • gemini-flash-latest

    Latest release of Gemini Flash

  • gemini-flash-lite-latest

    Latest release of Gemini Flash-Lite

  • gemini-pro-latest

    Latest release of Gemini Pro

  • gemini-2.5-flash-lite

    Our smallest and most cost effective model, built for at scale usage.

  • gemini-2.5-flash-image

    Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash.

  • gemini-3-flash-preview

    Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding.

  • gemini-3.1-pro-preview

    Our latest SOTA reasoning model with unprecedented depth and nuance, and powerful multimodal understanding and coding capabilities.

  • gemini-3.1-pro-preview-customtools

    Gemini 3.1 Pro Preview optimized for custom tool usage

  • gemini-3.1-flash-lite

    Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing.

  • gemini-3-pro-image

    Gemini 3 Pro Image

  • nano-banana-pro-preview

    Gemini 3 Pro Image Preview

  • gemini-3.1-flash-image

    Gemini 3.1 Flash Image.

  • gemini-3.5-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.6-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.7-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • lyria-3-clip-preview

    Our low-latency, music generation model optimized for high-fidelity audio clips and precise rhythmic control.

  • lyria-3-pro-preview

    Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles.

  • gemini-robotics-er-1.6-preview

    Gemini Robotics-ER 1.6 Preview

  • gemini-robotics-er-2-preview

    Gemini Robotics Embodied Reasoning 2 Preview

output_audio AudioContent (optional)

The last audio generated by the model in response to the current request. Note: this is added by the SDK.

An audio content block.

ক্ষেত্র

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

output_image ImageContent (optional)

The last image generated by the model in response to the current request. Note: this is added by the SDK.

An image content block.

ক্ষেত্র

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

output_text string (optional)

Concatenated text from the last model output in response to the current request. Note: this is added by the SDK.

output_video VideoContent (optional)

The last video generated by the model in response to the current request. Note: this is added by the SDK.

A video content block.

ক্ষেত্র

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

previous_interaction_id string (optional)

The ID of the previous interaction, if any.

response_format ResponseFormat or array (ResponseFormat) (optional)

Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.

সম্ভাব্য প্রকার

AudioResponseFormat

Configuration for audio output format.

bit_rate integer (optional)

Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).

delivery enum (string) (optional)

The delivery mode for the audio output.

সম্ভাব্য মানসমূহ:

  • inline

    Audio data is returned inline in the response.

  • uri

    Audio data is returned as a URI.

mime_type enum (string) (optional)

The MIME type of the audio output.

সম্ভাব্য মানসমূহ:

  • audio/mp3

    MP3 audio format.

  • audio/ogg_opus

    OGG Opus audio format.

  • audio/l16

    Raw PCM (L16) audio format.

  • audio/wav

    WAV audio format.

  • audio/alaw

    A-law audio format.

  • audio/mulaw

    Mu-law audio format.

sample_rate integer (optional)

Sample rate in Hz.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

ImageResponseFormat

Configuration for image output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the image output.

সম্ভাব্য মানসমূহ:

  • 1:1

    ১:১ আকৃতির অনুপাত।

  • 2:3

    2:3 aspect ratio.

  • 3:2

    3:2 aspect ratio.

  • 3:4

    3:4 aspect ratio.

  • 4:3

    4:3 aspect ratio.

  • 4:5

    4:5 aspect ratio.

  • 5:4

    5:4 aspect ratio.

  • 9:16

    9:16 aspect ratio.

  • 16:9

    16:9 aspect ratio.

  • 21:9

    21:9 aspect ratio.

  • 1:8

    1:8 aspect ratio.

  • 8:1

    8:1 aspect ratio.

  • 1:4

    1:4 aspect ratio.

  • 4:1

    4:1 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the image output.

সম্ভাব্য মানসমূহ:

  • inline

    Image data is returned inline in the response.

  • uri

    Image data is returned as a URI.

image_size enum (string) (optional)

The size of the image output.

সম্ভাব্য মানসমূহ:

  • 512

    512px image size.

  • 1K

    1K image size.

  • 2K

    2K image size.

  • 4K

    4K image size.

mime_type enum (string) (optional)

The MIME type of the image output.

সম্ভাব্য মানসমূহ:

  • image/jpeg

    JPEG image format.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

TextResponseFormat

Configuration for text output format.

mime_type enum (string) (optional)

The MIME type of the text output.

সম্ভাব্য মানসমূহ:

  • application/json

    JSON output format.

  • text/plain

    Plain text output format.

schema object (optional)

The JSON schema that the output should conform to. Only applicable when mime_type is application/json.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoResponseFormat

Configuration for video output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the video output.

সম্ভাব্য মানসমূহ:

  • 16:9

    16:9 aspect ratio.

  • 9:16

    9:16 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the video output.

সম্ভাব্য মানসমূহ:

  • inline

    Video data is returned inline in the response.

  • uri

    Video data is returned as a URI.

duration string (optional)

The duration for the video output.

gcs_uri string (optional)

The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.

resolution enum (string) (optional)

The video output resolution. Defaults to 720p.

সম্ভাব্য মানসমূহ:

  • 360p

    360p resolution.

  • 720p

    720p resolution.

  • 1080p

    1080p resolution.

  • 4k

    ৪কে রেজোলিউশন।

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

safety_settings array (SafetySetting) (optional)

Safety settings for the interaction.

A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.

ক্ষেত্র

method enum (string) (optional)

Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.

সম্ভাব্য মানসমূহ:

  • severity

    The harm block method uses both probability and severity scores.

  • probability

    The harm block method uses the probability score.

threshold enum (string) (optional)

Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.

সম্ভাব্য মানসমূহ:

  • block_low_and_above

    Block content with a low harm probability or higher.

  • block_medium_and_above

    Block content with a medium harm probability or higher.

  • block_only_high

    Block content with a high harm probability.

  • block_none

    Do not block any content, regardless of its harm probability.

  • off

    Turn off the safety filter entirely.

type HarmCategory (optional)

Required. The type of harm category to be blocked.

সম্ভাব্য মান

  • hate_speech

    Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

  • dangerous_content

    Content that promotes, facilitates, or enables dangerous activities.

  • harassment

    Abusive, threatening, or content intended to bully, torment, or ridicule.

  • sexually_explicit

    Content that contains sexually explicit material.

  • civic_integrity

    Deprecated: Election filter is not longer supported. The harm category is civic integrity.

  • image_hate

    Images that contain hate speech.

  • image_dangerous_content

    Images that contain dangerous content.

  • image_harassment

    Images that contain harassment.

  • image_sexually_explicit

    Images that contain sexually explicit content.

  • jailbreak

    Prompts designed to bypass safety filters.

service_tier ServiceTier (optional)

The service tier for the interaction.

সম্ভাব্য মান

  • flex

    Flex service tier.

  • standard

    Standard service tier.

  • priority

    Priority service tier.

  • deferred

    Deferred service tier.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Required. Output only. The status of the interaction.

সম্ভাব্য মানসমূহ:

  • in_progress

    The interaction is in progress.

  • requires_action

    The interaction requires action/input from the user.

  • completed

    The interaction is completed.

  • failed

    The interaction failed.

  • cancelled

    The interaction was cancelled.

  • incomplete

    The interaction is completed, but contains incomplete results (eg hitting max_tokens).

  • budget_exceeded

    The interaction was halted because the token budget was exceeded.

  • queued

    The interaction is queued, waiting for processing.

steps array (Step) (optional)

Output only. The steps that make up the interaction, when included in the response.

A step in the interaction.

সম্ভাব্য প্রকার

CodeExecutionCallStep

Code execution call step.

arguments CodeExecutionCallStepArguments (required)

Required. The arguments to pass to the code execution.

The arguments to pass to the code execution.

ক্ষেত্র

code string (optional)

The code to be executed.

language enum (string) (optional)

Programming language of the `code`.

সম্ভাব্য মানসমূহ:

  • python

    Python >= 3.10, with numpy and simpy available.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_call" .

CodeExecutionResultStep

Code execution result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the code execution resulted in an error.

result string (required)

Required. The output of the code execution.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_result" .

FileSearchCallStep

File Search call step.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_call" .

FileSearchResultStep

File Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_result" .

FunctionCallStep

A function tool call step.

arguments object (required)

Required. The arguments to pass to the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool to call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_call" .

FunctionResultStep

Result of a function tool call.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the tool call resulted in an error.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the tool that was called.

result array (ImageContent or TextContent) or object or string (required)

Required. The result of the tool call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_result" .

GoogleMapsCallStep

Google Maps call step.

arguments GoogleMapsCallStepArguments (optional)

The arguments to pass to the Google Maps tool.

The arguments to pass to the Google Maps tool.

ক্ষেত্র

queries array (string) (optional)

The queries to be executed.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_call" .

GoogleMapsResultStep

Google Maps result step.

call_id string (required)

Required. ID to match the ID from the function call block.

result array (GoogleMapsResultItem) (required)

কোনো বিবরণ দেওয়া হয়নি।

The result of the Google Maps.

ক্ষেত্র

places array (GoogleMapsResultPlaces) (optional)

কোনো বিবরণ দেওয়া হয়নি।

ক্ষেত্র

নাম স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

place_id string (optional)

কোনো বিবরণ দেওয়া হয়নি।

review_snippets array (ReviewSnippet) (optional)

কোনো বিবরণ দেওয়া হয়নি।

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

url string (optional)

কোনো বিবরণ দেওয়া হয়নি।

widget_context_token string (optional)

কোনো বিবরণ দেওয়া হয়নি।

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_result" .

GoogleSearchCallStep

Google Search call step.

arguments GoogleSearchCallStepArguments (required)

Required. The arguments to pass to Google Search.

The arguments to pass to Google Search.

ক্ষেত্র

queries array (string) (optional)

Web search queries for the following-up web search.

id string (required)

Required. A unique ID for this specific tool call.

search_type enum (string) (optional)

The type of search grounding enabled.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_call" .

GoogleSearchResultStep

Google Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the Google Search resulted in an error.

result array (GoogleSearchResultItem) (required)

Required. The results of the Google Search.

The result of the Google Search.

ক্ষেত্র

search_suggestions string (optional)

Web content snippet that can be embedded in a web page or an app webview.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_result" .

McpServerToolCallStep

MCPServer tool call step.

arguments object (required)

Required. The JSON object of arguments for the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool which was called.

server_name string (required)

Required. The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_call" .

McpServerToolResultStep

MCPServer tool result step.

call_id string (required)

Required. ID to match the ID from the function call block.

নাম স্ট্রিং (ঐচ্ছিক)

Name of the tool which is called for this specific tool call.

result array (ImageContent or TextContent) or object or string (required)

Required. The output from the MCP server call. Can be simple text or rich content.

server_name string (optional)

The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_result" .

ModelOutputStep

Output generated by the model.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "model_output" .

ThoughtStep

A thought step.

signature string (optional)

A signature hash for backend validation.

summary array (ThoughtSummaryContent) (optional)

A summary of the thought.

সম্ভাব্য প্রকার

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "thought" .

UrlContextCallStep

URL context call step.

arguments UrlContextCallArguments (required)

Required. The arguments to pass to the URL context.

The arguments to pass to the URL context.

ক্ষেত্র

urls array (string) (optional)

The URLs to fetch.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_call" .

UrlContextResultStep

URL context result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the URL context resulted in an error.

result array (UrlContextResult) (required)

Required. The results of the URL context.

The result of the URL context.

ক্ষেত্র

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

The status of the URL retrieval.

সম্ভাব্য মানসমূহ:

  • success

    Url retrieval is successful.

  • error

    Url retrieval is failed due to error.

  • paywall

    Url retrieval is failed because the content is behind paywall.

  • unsafe

    Url retrieval is failed because the content is unsafe.

url string (optional)

The URL that was fetched.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_result" .

UserInputStep

Input provided by the user.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

ক্ষেত্র

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "user_input" .

system_instruction string (optional)

System instruction for the interaction.

tools array (Tool) (optional)

A list of tool declarations the model may call during interaction.

A tool that can be used by the model.

সম্ভাব্য প্রকার

CodeExecution

A tool that can be used by the model to execute code.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution" .

ComputerUse

A tool that can be used by the model to interact with the computer.

disabled_safety_policies array (enum (string)) (optional)

Optional. Disabled safety policies for computer use.

সম্ভাব্য মানসমূহ:

  • financial_transactions

    Safety policy for financial transactions.

  • sensitive_data_modification

    Safety policy for sensitive data modification.

  • communication_tool

    Safety policy for communication tools (eg Gmail, Chat, Meet).

  • account_creation

    Safety policy for account creation.

  • data_modification

    Safety policy for data modification.

  • user_consent_management

    Safety policy for user consent management.

  • legal_terms_and_agreements

    Safety policy for legal terms and agreements.

enable_prompt_injection_detection boolean (optional)

Whether enable the prompt injection detection check on computer-use request.

environment enum (string) (optional)

The environment being operated.

সম্ভাব্য মানসমূহ:

  • browser

    Operates in a web browser.

  • mobile

    Operates in a mobile environment.

  • desktop

    Operates in a desktop environment.

excluded_predefined_functions array (string) (optional)

The list of predefined functions that are excluded from the model call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "computer_use" .

FileSearch

A tool that can be used by the model to search files.

file_search_store_names array (string) (optional)

The file search store names to search.

metadata_filter string (optional)

Metadata filter to apply to the semantic retrieval documents and chunks.

top_k integer (optional)

The number of semantic retrieval chunks to retrieve.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search" .

ফাংশন

A tool that can be used by the model.

description string (optional)

ফাংশনটির বর্ণনা।

নাম স্ট্রিং (ঐচ্ছিক)

ফাংশনটির নাম।

parameters object (optional)

The JSON Schema for the function's parameters.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function" .

GoogleMaps

A tool that can be used by the model to call Google Maps.

enable_widget boolean (optional)

Whether to return a widget context token in the tool call result of the response.

latitude number (optional)

The latitude of the user's location.

longitude number (optional)

The longitude of the user's location.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps" .

GoogleSearch

A tool that can be used by the model to search Google.

search_types array (enum (string)) (optional)

The types of search grounding to enable.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search" .

McpServer

A MCPServer is a server that can be called by the model to perform actions.

allowed_tools array (AllowedTools) (optional)

The allowed tools.

The configuration for allowed tools.

ক্ষেত্র

mode enum (string) (optional)

The mode of the tool choice.

সম্ভাব্য মানসমূহ:

  • auto

    Auto tool choice.

  • any

    Any tool choice.

  • none

    No tool choice.

  • validated

    Validated tool choice.

tools array (string) (optional)

The names of the allowed tools.

headers object (optional)

Optional: Fields for authentication headers, timeouts, etc., if needed.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the MCPServer.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server" .

url string (optional)

The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"

Retrieval

A tool that can be used by the model to retrieve files.

exa_ai_search_config ExaAISearchConfig (optional)

Used to specify configuration for ExaAISearch.

Used to specify configuration for ExaAISearch.

ক্ষেত্র

api_key string (optional)

Required. The API key for ExaAiSearch.

custom_config object (optional)

Optional. This field can be used to pass any parameter from the Exa.ai Search API.

parallel_ai_search_config ParallelAISearchConfig (optional)

Used to specify configuration for ParallelAISearch.

Used to specify configuration for ParallelAISearch.

ক্ষেত্র

api_key string (optional)

Optional. The API key for ParallelAiSearch.

custom_config object (optional)

Optional. Custom configs for ParallelAiSearch.

rag_store_config RagStoreConfig (optional)

Used to specify configuration for RagStore.

Use to specify configuration for RAG Store.

ক্ষেত্র

rag_resources array (RagResource) (optional)

Optional. The representation of the rag source.

The definition of the Rag resource.

ক্ষেত্র

rag_corpus string (optional)

Optional. RagCorpora resource name.

rag_file_ids array (string) (optional)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

rag_retrieval_config RagRetrievalConfig (optional)

Optional. The retrieval config for the Rag query.

Specifies the context retrieval config.

ক্ষেত্র

filter Filter (optional)

Optional. Config for filters.

Config for filters.

ক্ষেত্র

metadata_filter string (optional)

Optional. String for metadata filtering.

vector_distance_threshold number (optional)

Optional. Only returns contexts with vector distance smaller than the threshold.

vector_similarity_threshold number (optional)

Optional. Only returns contexts with vector similarity larger than the threshold.

hybrid_search HybridSearch (optional)

Optional. Config for Hybrid Search.

Config for Hybrid Search.

ক্ষেত্র

alpha number (optional)

Optional. Alpha value controls the weight between dense and sparse vector search results.

ranking Ranking (optional)

Optional. Config for ranking and reranking.

Config for ranking and reranking.

top_k integer (optional)

Optional. The number of contexts to retrieve.

retrieval_types array (enum (string)) (optional)

The types of file retrieval to enable.

সম্ভাব্য মানসমূহ:

  • rag_store
  • exa_ai_search
  • parallel_ai_search
type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "retrieval" .

UrlContext

A tool that can be used by the model to fetch URL context.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context" .

আপডেট করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

usage Usage (optional)

Output only. Statistics on the interaction request's token usage.

Statistics on the interaction request's token usage.

ক্ষেত্র

cached_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of cached token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

grounding_tool_count array (GroundingToolCount) (optional)

Grounding tool count.

The number of grounding tool counts.

ক্ষেত্র

count integer (optional)

The number of grounding tool counts.

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

The grounding tool type associated with the count.

সম্ভাব্য মানসমূহ:

  • google_search

    Grounding with Google Web Search and Image Search, & Web Grounding for Enterprise.

  • google_maps

    Grounding with Google Maps.

  • retrieval

    Grounding with customer's data, for example, VertexAISearch.

input_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of input token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

output_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of output token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

tool_use_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of tool-use token usage by modality.

The token count for a single response modality.

ক্ষেত্র

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

total_cached_tokens integer (optional)

Number of tokens in the cached part of the prompt (the cached content).

total_input_tokens integer (optional)

Number of tokens in the prompt (context).

total_output_tokens integer (optional)

Total number of tokens across all the generated responses.

total_thought_tokens integer (optional)

Number of tokens of thoughts for thinking models.

total_tokens integer (optional)

Total token count for the interaction request (prompt + responses + other internal tokens).

total_tool_use_tokens integer (optional)

Number of tokens present in tool-use prompt(s).

webhook_config WebhookConfig (optional)

Optional. Webhook configuration for receiving notifications when the interaction completes.

Message for configuring webhook events for a request.

ক্ষেত্র

uris array (string) (optional)

Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.

user_metadata object (optional)

Optional. The user metadata that will be returned on each event emission to the webhooks.

last_pause_time string (optional)

Output only. The time when the trigger was last paused.

last_resume_time string (optional)

Output only. The time when the trigger was last resumed.

last_run_time string (optional)

Output only. The time when the trigger was last run.

max_consecutive_failures integer (optional)

Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).

next_run_time string (optional)

Output only. The time when the trigger is scheduled to run next.

previous_interaction_id string (optional)

Output only. The ID of the last interaction created by this trigger.

schedule string (optional)

Required. The cron schedule on which the trigger should run. Standard cron format.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The current status of the trigger.

সম্ভাব্য মানসমূহ:

  • active

    The trigger is active and will fire on schedule.

  • paused

    The trigger is paused and will not fire.

  • error

    The trigger has entered an error state due to consecutive failures.

time_zone string (optional)

Required. Time zone in which the schedule should be interpreted.

update_time string (optional)

Output only. The time when the trigger was last updated.

উদাহরণ

উদাহরণ প্রতিক্রিয়া

{
  "consecutive_failure_count": 0,
  "create_time": "string",
  "display_name": "string",
  "environment_id": "string",
  "execution_timeout_seconds": 0,
  "id": "string",
  "interaction": {
    "created": "2025-12-04T15:01:45Z",
    "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg",
    "model": "gemini-3.6-flash",
    "object": "interaction",
    "status": "completed",
    "steps": [
      {
        "type": "model_output",
        "content": [
          {
            "type": "text",
            "text": "Hello! I'm doing well, functioning as expected. Thank you for asking! How are you doing today?"
          }
        ]
      }
    ],
    "updated": "2025-12-04T15:01:45Z",
    "usage": {
      "input_tokens_by_modality": [
        {
          "modality": "text",
          "tokens": 7
        }
      ],
      "total_cached_tokens": 0,
      "total_input_tokens": 7,
      "total_output_tokens": 23,
      "total_thought_tokens": 49,
      "total_tokens": 79,
      "total_tool_use_tokens": 0
    }
  },
  "last_pause_time": "string",
  "last_resume_time": "string",
  "last_run_time": "string",
  "max_consecutive_failures": 0,
  "next_run_time": "string",
  "previous_interaction_id": "string",
  "schedule": "string",
  "status": "active",
  "time_zone": "string",
  "update_time": "string"
}

ডিলিটট্রিগার

delete https://generativelanguage.googleapis.com/v1beta/triggers/{id}

Deletes a trigger.

প্রতিক্রিয়া

সফল হলে, প্রতিক্রিয়াটি খালি থাকে।

উদাহরণ

সম্পদ

ট্রিগার

A trigger configuration that is scheduled to run an agent.

ক্ষেত্র

consecutive_failure_count integer (optional)

Output only. The number of consecutive failures that have occurred since the last successful execution.

create_time string (optional)

Output only. The time when the trigger was created.

display_name string (optional)

Optional. The display name of the trigger.

environment_id string (optional)

Optional. The environment ID for the trigger execution.

execution_timeout_seconds integer (optional)

Optional. The execution timeout for the triggered interaction.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. Identifier. The ID of the trigger.

interaction Interaction (optional)

Required. The interaction request template to be executed.

The Interaction resource.

ক্ষেত্র

agent AgentOption (optional)

The name of the `Agent` used for generating the interaction.

The agent to interact with.

সম্ভাব্য মান

  • deep-research-pro-preview-12-2025

    Gemini Deep Research Agent

  • deep-research-preview-04-2026

    Gemini Deep Research Agent

  • deep-research-max-preview-04-2026

    Gemini Deep Research Max Agent

  • antigravity-preview-05-2026

    Use the Antigravity managed agent to perform multi-step tasks that require reasoning, file operations, and tool use.

agent_config object (optional)

Configuration parameters for the agent interaction.

সম্ভাব্য প্রকার

Polymorphic discriminator: type

AntigravityAgentConfig

Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration.

max_total_tokens string (optional)

Max total tokens for the agent run.

model string (optional)

The model to use for agent reasoning.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "antigravity" .

CodeMenderAgentConfig

Configuration for the CodeMender agent.

find_request FindRequest (optional)

Parameters for finding vulnerabilities.

Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the vulnerability analysis.

finding_id string (optional)

The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.

mode enum (string) (optional)

The mode of the find session.

সম্ভাব্য মানসমূহ:

  • scan

    Fast scan using only the initial classifier.

  • verify

    Performs classification followed by detailed investigation.

source_files array (FileContent) (optional)

A list of source files to provide as context for the scan.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

fix_request FixRequest (optional)

Parameters for fixing vulnerabilities.

Request parameters specific to FIX sessions, used for generating and validating security patches.

ক্ষেত্র

description string (optional)

Additional context or custom instructions provided by the user to guide the patch generation process.

finding_id string (optional)

The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.

source_files array (FileContent) (optional)

A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.

Content of a single file in the codebase.

ক্ষেত্র

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

The UTF-8 encoded text content of the file.

পাথ স্ট্রিং (ঐচ্ছিক)

The relative path of the file from the project root.

model string (optional)

The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.

session_config SessionConfig (optional)

Optional session-specific configurations to override default agent behavior.

The configuration of CodeMender sessions.

Fields

max_rounds integer (optional)

The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.

session_id string (optional)

Parameter for grouping multiple interactions that belong to the same CodeMender session.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code-mender" .

DeepResearchAgentConfig

Configuration for the Deep Research agent.

collaborative_planning boolean (optional)

Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.

enable_bigquery_tool boolean (optional)

Enables bigquery tool for the Deep Research agent.

thinking_summaries ThinkingSummaries (optional)

Whether to include thought summaries in the response.

সম্ভাব্য মান

  • auto

    Auto thinking summaries.

  • none

    No thinking summaries.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "deep-research" .

visualization enum (string) (optional)

Whether to include visualizations in the response.

সম্ভাব্য মানসমূহ:

  • off

    Do not include visualizations.

  • auto

    Automatically include visualizations.

DynamicAgentConfig

Configuration for dynamic agents.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "dynamic" .

তৈরি করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

environment EnvironmentConfig or string (optional)

The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.

Configuration for a custom environment.

Fields

environment_id string (optional)

Optional. The environment ID for the interaction. If specified, the request will update the existing environment instead of creating a new one.

নেটওয়ার্ক এনভায়রনমেন্টনেটওয়ার্কইগ্রেসঅ্যালাউলিস্ট অথবা এনাম (স্ট্রিং) (ঐচ্ছিক)

পরিবেশের জন্য নেটওয়ার্ক কনফিগারেশন।

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। ট্র্যাফিক সীমাবদ্ধ করার জন্য 'allowlist' অ্যারে সহ একটি অবজেক্ট, অথবা সমস্ত নেটওয়ার্ক অ্যাক্সেস বন্ধ করার জন্য 'disabled' স্ট্রিংটি গ্রহণ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

সম্ভাব্য প্রকার

বস্তু

স্যান্ডবক্সের জন্য বহির্গামী নেটওয়ার্কিং কনফিগারেশন। এটি নির্দিষ্ট করা হলে, স্যান্ডবক্সটি কোন কোন বাহ্যিক ডোমেইনে পৌঁছাতে পারবে তা সীমাবদ্ধ করে। কোনো হেডার ইনজেকশন ছাড়াই সমস্ত বহির্গামী ট্র্যাফিকের অনুমতি দিতে এটি সম্পূর্ণরূপে বাদ দিন।

অনুমতি তালিকা অ্যারে (AllowlistEntry) (ঐচ্ছিক)

অনুমোদিত বহির্গামী ডোমেইনের তালিকা। শুধুমাত্র তালিকাভুক্ত ডোমেইনগুলিতেই অনুরোধ পাঠানোর অনুমতি আছে। নির্দিষ্ট কিছু ডোমেইনে হেডার যুক্ত করার পাশাপাশি সমস্ত ডোমেইনকে অনুমতি দিতে [{'domain': '*'}] ব্যবহার করুন।

ঐচ্ছিক হেডার ইনজেকশন সহ একটি একক ডোমেইন অ্যালাওলিস্ট নিয়ম।

Fields

ডোমেইন স্ট্রিং (ঐচ্ছিক)

যে ডোমেইনে বহির্গামী অনুরোধ পাঠানোর অনুমতি দেওয়া হবে। ওয়াইল্ডকার্ড সমর্থন করে (যেমন '*.googleapis.com')। সব ডোমেইনের অনুমতি দিতে '*' ব্যবহার করুন।

অ্যারে (অবজেক্ট) অথবা অবজেক্ট (ঐচ্ছিক) রূপান্তর করুন

এই ডোমেনের সাথে মিলে যাওয়া সমস্ত বহির্গামী অনুরোধে যুক্ত করার জন্য হেডারসমূহ। এটি একটি একক ডিক্ট অথবা একাধিক ডিক্টের একটি তালিকা গ্রহণ করে। ইগ্রেস প্রক্সি এগুলি স্বয়ংক্রিয়ভাবে যুক্ত করে।

স্ট্রিং

সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

সম্ভাব্য মান

  • disabled

    সমস্ত নেটওয়ার্ক বন্ধ করে দেয়।

উৎস অ্যারে (উৎস) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

পরিবেশে স্থাপন করার জন্য একটি উৎস।

Fields

বিষয়বস্তু স্ট্রিং (ঐচ্ছিক)

`type` `INLINE` হলে কন্টেন্টটি ইনলাইন হবে।

এনকোডিং স্ট্রিং (ঐচ্ছিক)

ইনলাইন কন্টেন্টের জন্য ঐচ্ছিক এনকোডিং (যেমন `base64`)।

উৎস স্ট্রিং (ঐচ্ছিক)

পরিবেশের উৎস। ক্লাউড স্টোরেজের জন্য, এটি হলো ক্লাউড স্টোরেজ পাথ। গিটহাবের জন্য, এটি হলো গিটহাব পাথ।

লক্ষ্য স্ট্রিং (ঐচ্ছিক)

পরিবেশে উৎসটি কোথায় প্রদর্শিত হবে।

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

সম্ভাব্য মানসমূহ:

  • gcs

    একটি ক্লাউড স্টোরেজ বাকেট।

  • inline

    ইনলাইন কন্টেন্ট।

  • repository

    একটি জেনেরিক রিপোজিটরি। সোর্স ইউআরএল-এর প্রোটোকল প্রিফিক্স প্রোভাইডারকে শনাক্ত করে (যেমন, github://, gcs://)।

  • skill_registry

    স্কিল রেজিস্ট্রি সার্ভিস থেকে একটি স্কিল রিসোর্স। স্কিল: projects/{project}/locations/{location}/skills/{skill} স্কিলরিভিশন: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision} একটি প্রজেক্টের অধীনে সমস্ত স্কিল মাউন্ট করার সাপোর্ট: projects/{project}/locations/{location}/skills।

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "remote" .

environment_id string (optional)

Output only. The environment ID for the interaction. Only populated if environment config is set in the request.

errors array (Error) (optional)

Output only. Diagnostic faults / platform errors recorded on the interaction.

Error message from an interaction.

Fields

code string (optional)

A URI that identifies the error type.

message string (optional)

A human-readable error message.

আইডি স্ট্রিং (ঐচ্ছিক)

Required. Output only. A unique identifier for the interaction completion.

Defaults to:

input Content or array (Content) or array (Step) or string (optional)

The input for the interaction.

labels object (optional)

The labels with user-defined metadata for the request.

model ModelOption (optional)

The name of the `Model` used for generating the interaction.

The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.

সম্ভাব্য মান

  • gemini-2.5-flash

    Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.

  • gemini-2.5-pro

    Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks.

  • gemma-4-26b-a4b-it

    Gemma 4 26B A4B IT

  • gemma-4-31b-it

    Gemma 4 31B IT

  • gemini-flash-latest

    Latest release of Gemini Flash

  • gemini-flash-lite-latest

    Latest release of Gemini Flash-Lite

  • gemini-pro-latest

    Latest release of Gemini Pro

  • gemini-2.5-flash-lite

    Our smallest and most cost effective model, built for at scale usage.

  • gemini-2.5-flash-image

    Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash.

  • gemini-3-flash-preview

    Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding.

  • gemini-3.1-pro-preview

    Our latest SOTA reasoning model with unprecedented depth and nuance, and powerful multimodal understanding and coding capabilities.

  • gemini-3.1-pro-preview-customtools

    Gemini 3.1 Pro Preview optimized for custom tool usage

  • gemini-3.1-flash-lite

    Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing.

  • gemini-3-pro-image

    Gemini 3 Pro Image

  • nano-banana-pro-preview

    Gemini 3 Pro Image Preview

  • gemini-3.1-flash-image

    Gemini 3.1 Flash Image.

  • gemini-3.5-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.6-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • gemini-3.7-flash

    Our most intelligent model for sustained frontier performance in agentic and coding tasks.

  • lyria-3-clip-preview

    Our low-latency, music generation model optimized for high-fidelity audio clips and precise rhythmic control.

  • lyria-3-pro-preview

    Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles.

  • gemini-robotics-er-1.6-preview

    Gemini Robotics-ER 1.6 Preview

  • gemini-robotics-er-2-preview

    Gemini Robotics Embodied Reasoning 2 Preview

output_audio AudioContent (optional)

The last audio generated by the model in response to the current request. Note: this is added by the SDK.

An audio content block.

Fields

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

output_image ImageContent (optional)

The last image generated by the model in response to the current request. Note: this is added by the SDK.

An image content block.

Fields

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

output_text string (optional)

Concatenated text from the last model output in response to the current request. Note: this is added by the SDK.

output_video VideoContent (optional)

The last video generated by the model in response to the current request. Note: this is added by the SDK.

A video content block.

Fields

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (optional)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

previous_interaction_id string (optional)

The ID of the previous interaction, if any.

response_format ResponseFormat or array (ResponseFormat) (optional)

Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.

সম্ভাব্য প্রকার

AudioResponseFormat

Configuration for audio output format.

bit_rate integer (optional)

Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).

delivery enum (string) (optional)

The delivery mode for the audio output.

সম্ভাব্য মানসমূহ:

  • inline

    Audio data is returned inline in the response.

  • uri

    Audio data is returned as a URI.

mime_type enum (string) (optional)

The MIME type of the audio output.

সম্ভাব্য মানসমূহ:

  • audio/mp3

    MP3 audio format.

  • audio/ogg_opus

    OGG Opus audio format.

  • audio/l16

    Raw PCM (L16) audio format.

  • audio/wav

    WAV audio format.

  • audio/alaw

    A-law audio format.

  • audio/mulaw

    Mu-law audio format.

sample_rate integer (optional)

Sample rate in Hz.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

ImageResponseFormat

Configuration for image output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the image output.

সম্ভাব্য মানসমূহ:

  • 1:1

    ১:১ আকৃতির অনুপাত।

  • 2:3

    2:3 aspect ratio.

  • 3:2

    3:2 aspect ratio.

  • 3:4

    3:4 aspect ratio.

  • 4:3

    4:3 aspect ratio.

  • 4:5

    4:5 aspect ratio.

  • 5:4

    5:4 aspect ratio.

  • 9:16

    9:16 aspect ratio.

  • 16:9

    16:9 aspect ratio.

  • 21:9

    21:9 aspect ratio.

  • 1:8

    1:8 aspect ratio.

  • 8:1

    8:1 aspect ratio.

  • 1:4

    1:4 aspect ratio.

  • 4:1

    4:1 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the image output.

সম্ভাব্য মানসমূহ:

  • inline

    Image data is returned inline in the response.

  • uri

    Image data is returned as a URI.

image_size enum (string) (optional)

The size of the image output.

সম্ভাব্য মানসমূহ:

  • 512

    512px image size.

  • 1K

    1K image size.

  • 2K

    2K image size.

  • 4K

    4K image size.

mime_type enum (string) (optional)

The MIME type of the image output.

সম্ভাব্য মানসমূহ:

  • image/jpeg

    JPEG image format.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

TextResponseFormat

Configuration for text output format.

mime_type enum (string) (optional)

The MIME type of the text output.

সম্ভাব্য মানসমূহ:

  • application/json

    JSON output format.

  • text/plain

    Plain text output format.

schema object (optional)

The JSON schema that the output should conform to. Only applicable when mime_type is application/json.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoResponseFormat

Configuration for video output format.

aspect_ratio enum (string) (optional)

The aspect ratio for the video output.

সম্ভাব্য মানসমূহ:

  • 16:9

    16:9 aspect ratio.

  • 9:16

    9:16 aspect ratio.

delivery enum (string) (optional)

The delivery mode for the video output.

সম্ভাব্য মানসমূহ:

  • inline

    Video data is returned inline in the response.

  • uri

    Video data is returned as a URI.

duration string (optional)

The duration for the video output.

gcs_uri string (optional)

The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.

resolution enum (string) (optional)

The video output resolution. Defaults to 720p.

সম্ভাব্য মানসমূহ:

  • 360p

    360p resolution.

  • 720p

    720p resolution.

  • 1080p

    1080p resolution.

  • 4k

    ৪কে রেজোলিউশন।

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

safety_settings array (SafetySetting) (optional)

Safety settings for the interaction.

A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.

Fields

method enum (string) (optional)

Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.

সম্ভাব্য মানসমূহ:

  • severity

    The harm block method uses both probability and severity scores.

  • probability

    The harm block method uses the probability score.

threshold enum (string) (optional)

Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.

সম্ভাব্য মানসমূহ:

  • block_low_and_above

    Block content with a low harm probability or higher.

  • block_medium_and_above

    Block content with a medium harm probability or higher.

  • block_only_high

    Block content with a high harm probability.

  • block_none

    Do not block any content, regardless of its harm probability.

  • off

    Turn off the safety filter entirely.

type HarmCategory (optional)

Required. The type of harm category to be blocked.

সম্ভাব্য মান

  • hate_speech

    Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

  • dangerous_content

    Content that promotes, facilitates, or enables dangerous activities.

  • harassment

    Abusive, threatening, or content intended to bully, torment, or ridicule.

  • sexually_explicit

    Content that contains sexually explicit material.

  • civic_integrity

    Deprecated: Election filter is not longer supported. The harm category is civic integrity.

  • image_hate

    Images that contain hate speech.

  • image_dangerous_content

    Images that contain dangerous content.

  • image_harassment

    Images that contain harassment.

  • image_sexually_explicit

    Images that contain sexually explicit content.

  • jailbreak

    Prompts designed to bypass safety filters.

service_tier ServiceTier (optional)

The service tier for the interaction.

সম্ভাব্য মান

  • flex

    Flex service tier.

  • standard

    Standard service tier.

  • priority

    Priority service tier.

  • deferred

    Deferred service tier.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Required. Output only. The status of the interaction.

সম্ভাব্য মানসমূহ:

  • in_progress

    The interaction is in progress.

  • requires_action

    The interaction requires action/input from the user.

  • completed

    The interaction is completed.

  • failed

    The interaction failed.

  • cancelled

    The interaction was cancelled.

  • incomplete

    The interaction is completed, but contains incomplete results (eg hitting max_tokens).

  • budget_exceeded

    The interaction was halted because the token budget was exceeded.

  • queued

    The interaction is queued, waiting for processing.

steps array (Step) (optional)

Output only. The steps that make up the interaction, when included in the response.

A step in the interaction.

সম্ভাব্য প্রকার

CodeExecutionCallStep

Code execution call step.

arguments CodeExecutionCallStepArguments (required)

Required. The arguments to pass to the code execution.

The arguments to pass to the code execution.

Fields

code string (optional)

The code to be executed.

language enum (string) (optional)

Programming language of the `code`.

সম্ভাব্য মানসমূহ:

  • python

    Python >= 3.10, with numpy and simpy available.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_call" .

CodeExecutionResultStep

Code execution result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the code execution resulted in an error.

result string (required)

Required. The output of the code execution.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution_result" .

FileSearchCallStep

File Search call step.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_call" .

FileSearchResultStep

File Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search_result" .

FunctionCallStep

A function tool call step.

arguments object (required)

Required. The arguments to pass to the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool to call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_call" .

FunctionResultStep

Result of a function tool call.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the tool call resulted in an error.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the tool that was called.

result array (ImageContent or TextContent) or object or string (required)

Required. The result of the tool call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function_result" .

GoogleMapsCallStep

Google Maps call step.

arguments GoogleMapsCallStepArguments (optional)

The arguments to pass to the Google Maps tool.

The arguments to pass to the Google Maps tool.

Fields

queries array (string) (optional)

The queries to be executed.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_call" .

GoogleMapsResultStep

Google Maps result step.

call_id string (required)

Required. ID to match the ID from the function call block.

result array (GoogleMapsResultItem) (required)

কোনো বিবরণ দেওয়া হয়নি।

The result of the Google Maps.

Fields

places array (GoogleMapsResultPlaces) (optional)

কোনো বিবরণ দেওয়া হয়নি।

Fields

নাম স্ট্রিং (ঐচ্ছিক)

কোনো বিবরণ দেওয়া হয়নি।

place_id string (optional)

কোনো বিবরণ দেওয়া হয়নি।

review_snippets array (ReviewSnippet) (optional)

কোনো বিবরণ দেওয়া হয়নি।

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

Fields

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

url string (optional)

কোনো বিবরণ দেওয়া হয়নি।

widget_context_token string (optional)

কোনো বিবরণ দেওয়া হয়নি।

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps_result" .

GoogleSearchCallStep

Google Search call step.

arguments GoogleSearchCallStepArguments (required)

Required. The arguments to pass to Google Search.

The arguments to pass to Google Search.

Fields

queries array (string) (optional)

Web search queries for the following-up web search.

id string (required)

Required. A unique ID for this specific tool call.

search_type enum (string) (optional)

The type of search grounding enabled.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_call" .

GoogleSearchResultStep

Google Search result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the Google Search resulted in an error.

result array (GoogleSearchResultItem) (required)

Required. The results of the Google Search.

The result of the Google Search.

Fields

search_suggestions string (optional)

Web content snippet that can be embedded in a web page or an app webview.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search_result" .

McpServerToolCallStep

MCPServer tool call step.

arguments object (required)

Required. The JSON object of arguments for the function.

id string (required)

Required. A unique ID for this specific tool call.

name string (required)

Required. The name of the tool which was called.

server_name string (required)

Required. The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_call" .

McpServerToolResultStep

MCPServer tool result step.

call_id string (required)

Required. ID to match the ID from the function call block.

নাম স্ট্রিং (ঐচ্ছিক)

Name of the tool which is called for this specific tool call.

result array (ImageContent or TextContent) or object or string (required)

Required. The output from the MCP server call. Can be simple text or rich content.

server_name string (optional)

The name of the used MCP server.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server_tool_result" .

ModelOutputStep

Output generated by the model.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

Fields

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "model_output" .

ThoughtStep

A thought step.

signature string (optional)

A signature hash for backend validation.

summary array (ThoughtSummaryContent) (optional)

A summary of the thought.

সম্ভাব্য প্রকার

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

Fields

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "thought" .

UrlContextCallStep

URL context call step.

arguments UrlContextCallArguments (required)

Required. The arguments to pass to the URL context.

The arguments to pass to the URL context.

Fields

urls array (string) (optional)

The URLs to fetch.

id string (required)

Required. A unique ID for this specific tool call.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_call" .

UrlContextResultStep

URL context result step.

call_id string (required)

Required. ID to match the ID from the function call block.

is_error boolean (optional)

Whether the URL context resulted in an error.

result array (UrlContextResult) (required)

Required. The results of the URL context.

The result of the URL context.

Fields

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

The status of the URL retrieval.

সম্ভাব্য মানসমূহ:

  • success

    Url retrieval is successful.

  • error

    Url retrieval is failed due to error.

  • paywall

    Url retrieval is failed because the content is behind paywall.

  • unsafe

    Url retrieval is failed because the content is unsafe.

url string (optional)

The URL that was fetched.

signature string (optional)

A signature hash for backend validation.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context_result" .

UserInputStep

Input provided by the user.

content array (Content) (optional)

কোনো বিবরণ দেওয়া হয়নি।

The content of the response.

সম্ভাব্য প্রকার

AudioContent

An audio content block.

channels integer (optional)

The number of audio channels.

data string (optional)

The audio content.

mime_type enum (string) (optional)

The mime type of the audio.

সম্ভাব্য মানসমূহ:

  • audio/wav

    WAV অডিও ফরম্যাট

  • audio/mp3

    MP3 audio format

  • audio/aiff

    AIFF audio format

  • audio/aac

    AAC audio format

  • audio/ogg

    OGG audio format

  • audio/flac

    FLAC audio format

  • audio/mpeg

    MPEG audio format

  • audio/m4a

    M4A audio format

  • audio/l16

    L16 audio format

  • audio/opus

    OPUS audio format

  • audio/alaw

    ALAW audio format

  • audio/mulaw

    MULAW audio format

sample_rate integer (optional)

The sample rate of the audio.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "audio" .

uri string (optional)

The URI of the audio.

DocumentContent

A document content block.

data string (optional)

The document content.

mime_type enum (string) (optional)

The mime type of the document.

সম্ভাব্য মানসমূহ:

  • application/pdf

    PDF document format

  • text/csv

    CSV document format

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "document" .

uri string (optional)

The URI of the document.

ImageContent

An image content block.

data string (optional)

The image content.

mime_type enum (string) (optional)

The mime type of the image.

সম্ভাব্য মানসমূহ:

  • image/png

    PNG image format

  • image/jpeg

    JPEG image format

  • image/webp

    WebP image format

  • image/heic

    HEIC image format

  • image/heif

    HEIF image format

  • image/gif

    GIF image format

  • image/bmp

    BMP image format

  • image/tiff

    TIFF image format

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "image" .

uri string (optional)

The URI of the image.

TextContent

A text content block.

annotations array (Annotation) (optional)

Citation information for model-generated content.

Citation information for model-generated content.

সম্ভাব্য প্রকার

FileCitation

A file citation annotation.

custom_metadata object (optional)

User provided metadata about the retrieved context.

document_uri string (optional)

The URI of the file.

end_index integer (optional)

End of the attributed segment, exclusive.

file_name string (optional)

The name of the file.

media_id string (optional)

Media ID in-case of image citations, if applicable.

page_number integer (optional)

Page number of the cited document, if applicable.

উৎস স্ট্রিং (ঐচ্ছিক)

Source attributed for a portion of the text.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_citation" .

PlaceCitation

A place citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

নাম স্ট্রিং (ঐচ্ছিক)

Title of the place.

place_id string (optional)

The ID of the place, in `places/{place_id}` format.

review_snippets array (ReviewSnippet) (optional)

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

Fields

review_id string (optional)

The ID of the review snippet.

title string (optional)

Title of the review.

url string (optional)

A link that corresponds to the user review on Google Maps.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "place_citation" .

url string (optional)

URI reference of the place.

UrlCitation

A URL citation annotation.

end_index integer (optional)

End of the attributed segment, exclusive.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

title string (optional)

The title of the URL.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_citation" .

url string (optional)

The URL.

WordInfo

Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution.

end_index integer (optional)

End of the attributed segment, exclusive.

end_offset string (optional)

End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

speaker string (optional)

Optional. Speaker label for this word (eg "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.

start_index integer (optional)

Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

start_offset string (optional)

Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".

text string (optional)

The transcribed word.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "word_info" .

text string (required)

Required. The text content.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "text" .

VideoContent

A video content block.

data string (optional)

The video content.

mime_type enum (string) (optional)

The mime type of the video.

সম্ভাব্য মানসমূহ:

  • video/mp4

    MP4 video format

  • video/mpeg

    MPEG video format

  • video/mpg

    MPG video format

  • video/mov

    MOV video format

  • video/avi

    AVI video format

  • video/x-flv

    FLV video format

  • video/webm

    WebM video format

  • video/wmv

    WMV video format

  • video/3gpp

    3GPP video format

processing MediaProcessing or enum (string) (optional)

How the model processes this video for understanding.

resolution MediaResolution (optional)

The resolution of the media.

সম্ভাব্য মান

  • low

    Low resolution.

  • medium

    Medium resolution.

  • high

    High resolution.

  • ultra_high

    Ultra high resolution.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "video" .

uri string (optional)

The URI of the video.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "user_input" .

system_instruction string (optional)

System instruction for the interaction.

tools array (Tool) (optional)

A list of tool declarations the model may call during interaction.

A tool that can be used by the model.

সম্ভাব্য প্রকার

CodeExecution

A tool that can be used by the model to execute code.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "code_execution" .

ComputerUse

A tool that can be used by the model to interact with the computer.

disabled_safety_policies array (enum (string)) (optional)

Optional. Disabled safety policies for computer use.

সম্ভাব্য মানসমূহ:

  • financial_transactions

    Safety policy for financial transactions.

  • sensitive_data_modification

    Safety policy for sensitive data modification.

  • communication_tool

    Safety policy for communication tools (eg Gmail, Chat, Meet).

  • account_creation

    Safety policy for account creation.

  • data_modification

    Safety policy for data modification.

  • user_consent_management

    Safety policy for user consent management.

  • legal_terms_and_agreements

    Safety policy for legal terms and agreements.

enable_prompt_injection_detection boolean (optional)

Whether enable the prompt injection detection check on computer-use request.

environment enum (string) (optional)

The environment being operated.

সম্ভাব্য মানসমূহ:

  • browser

    Operates in a web browser.

  • mobile

    Operates in a mobile environment.

  • desktop

    Operates in a desktop environment.

excluded_predefined_functions array (string) (optional)

The list of predefined functions that are excluded from the model call.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "computer_use" .

FileSearch

A tool that can be used by the model to search files.

file_search_store_names array (string) (optional)

The file search store names to search.

metadata_filter string (optional)

Metadata filter to apply to the semantic retrieval documents and chunks.

top_k integer (optional)

The number of semantic retrieval chunks to retrieve.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "file_search" .

ফাংশন

A tool that can be used by the model.

description string (optional)

ফাংশনটির বর্ণনা।

নাম স্ট্রিং (ঐচ্ছিক)

ফাংশনটির নাম।

parameters object (optional)

The JSON Schema for the function's parameters.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "function" .

GoogleMaps

A tool that can be used by the model to call Google Maps.

enable_widget boolean (optional)

Whether to return a widget context token in the tool call result of the response.

latitude number (optional)

The latitude of the user's location.

longitude number (optional)

The longitude of the user's location.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_maps" .

GoogleSearch

A tool that can be used by the model to search Google.

search_types array (enum (string)) (optional)

The types of search grounding to enable.

সম্ভাব্য মানসমূহ:

  • web_search

    Setting this field enables web search. Only text results are returned.

  • image_search

    Setting this field enables image search. Image bytes are returned.

  • enterprise_web_search

    Setting this field enables enterprise web search.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "google_search" .

McpServer

A MCPServer is a server that can be called by the model to perform actions.

allowed_tools array (AllowedTools) (optional)

The allowed tools.

The configuration for allowed tools.

Fields

mode enum (string) (optional)

The mode of the tool choice.

সম্ভাব্য মানসমূহ:

  • auto

    Auto tool choice.

  • any

    Any tool choice.

  • none

    No tool choice.

  • validated

    Validated tool choice.

tools array (string) (optional)

The names of the allowed tools.

headers object (optional)

Optional: Fields for authentication headers, timeouts, etc., if needed.

নাম স্ট্রিং (ঐচ্ছিক)

The name of the MCPServer.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "mcp_server" .

url string (optional)

The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"

Retrieval

A tool that can be used by the model to retrieve files.

exa_ai_search_config ExaAISearchConfig (optional)

Used to specify configuration for ExaAISearch.

Used to specify configuration for ExaAISearch.

Fields

api_key string (optional)

Required. The API key for ExaAiSearch.

custom_config object (optional)

Optional. This field can be used to pass any parameter from the Exa.ai Search API.

parallel_ai_search_config ParallelAISearchConfig (optional)

Used to specify configuration for ParallelAISearch.

Used to specify configuration for ParallelAISearch.

Fields

api_key string (optional)

Optional. The API key for ParallelAiSearch.

custom_config object (optional)

Optional. Custom configs for ParallelAiSearch.

rag_store_config RagStoreConfig (optional)

Used to specify configuration for RagStore.

Use to specify configuration for RAG Store.

Fields

rag_resources array (RagResource) (optional)

Optional. The representation of the rag source.

The definition of the Rag resource.

Fields

rag_corpus string (optional)

Optional. RagCorpora resource name.

rag_file_ids array (string) (optional)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

rag_retrieval_config RagRetrievalConfig (optional)

Optional. The retrieval config for the Rag query.

Specifies the context retrieval config.

Fields

filter Filter (optional)

Optional. Config for filters.

Config for filters.

Fields

metadata_filter string (optional)

Optional. String for metadata filtering.

vector_distance_threshold number (optional)

Optional. Only returns contexts with vector distance smaller than the threshold.

vector_similarity_threshold number (optional)

Optional. Only returns contexts with vector similarity larger than the threshold.

hybrid_search HybridSearch (optional)

Optional. Config for Hybrid Search.

Config for Hybrid Search.

Fields

alpha number (optional)

Optional. Alpha value controls the weight between dense and sparse vector search results.

ranking Ranking (optional)

Optional. Config for ranking and reranking.

Config for ranking and reranking.

top_k integer (optional)

Optional. The number of contexts to retrieve.

retrieval_types array (enum (string)) (optional)

The types of file retrieval to enable.

সম্ভাব্য মানসমূহ:

  • rag_store
  • exa_ai_search
  • parallel_ai_search
type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "retrieval" .

UrlContext

A tool that can be used by the model to fetch URL context.

type object (required)

কোনো বিবরণ দেওয়া হয়নি।

Always set to "url_context" .

আপডেট করা স্ট্রিং (ঐচ্ছিক)

Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

usage Usage (optional)

Output only. Statistics on the interaction request's token usage.

Statistics on the interaction request's token usage.

Fields

cached_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of cached token usage by modality.

The token count for a single response modality.

Fields

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

grounding_tool_count array (GroundingToolCount) (optional)

Grounding tool count.

The number of grounding tool counts.

Fields

count integer (optional)

The number of grounding tool counts.

টাইপ এনাম (স্ট্রিং) (ঐচ্ছিক)

The grounding tool type associated with the count.

সম্ভাব্য মানসমূহ:

  • google_search

    Grounding with Google Web Search and Image Search, & Web Grounding for Enterprise.

  • google_maps

    Grounding with Google Maps.

  • retrieval

    Grounding with customer's data, for example, VertexAISearch.

input_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of input token usage by modality.

The token count for a single response modality.

Fields

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

output_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of output token usage by modality.

The token count for a single response modality.

Fields

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

tool_use_tokens_by_modality array (ModalityTokens) (optional)

A breakdown of tool-use token usage by modality.

The token count for a single response modality.

Fields

modality ResponseModality (optional)

The modality associated with the token count.

সম্ভাব্য মান

  • text

    Indicates the model should return text.

  • image

    Indicates the model should return images.

  • audio

    Indicates the model should return audio.

  • video

    Indicates the model should return video.

  • document

    Indicates the model should return documents.

tokens integer (optional)

Number of tokens for the modality.

total_cached_tokens integer (optional)

Number of tokens in the cached part of the prompt (the cached content).

total_input_tokens integer (optional)

Number of tokens in the prompt (context).

total_output_tokens integer (optional)

Total number of tokens across all the generated responses.

total_thought_tokens integer (optional)

Number of tokens of thoughts for thinking models.

total_tokens integer (optional)

Total token count for the interaction request (prompt + responses + other internal tokens).

total_tool_use_tokens integer (optional)

Number of tokens present in tool-use prompt(s).

webhook_config WebhookConfig (optional)

Optional. Webhook configuration for receiving notifications when the interaction completes.

Message for configuring webhook events for a request.

Fields

uris array (string) (optional)

Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.

user_metadata object (optional)

Optional. The user metadata that will be returned on each event emission to the webhooks.

last_pause_time string (optional)

Output only. The time when the trigger was last paused.

last_resume_time string (optional)

Output only. The time when the trigger was last resumed.

last_run_time string (optional)

Output only. The time when the trigger was last run.

max_consecutive_failures integer (optional)

Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).

next_run_time string (optional)

Output only. The time when the trigger is scheduled to run next.

previous_interaction_id string (optional)

Output only. The ID of the last interaction created by this trigger.

schedule string (optional)

Required. The cron schedule on which the trigger should run. Standard cron format.

স্ট্যাটাস এনাম (স্ট্রিং) (ঐচ্ছিক)

Output only. The current status of the trigger.

সম্ভাব্য মানসমূহ:

  • active

    The trigger is active and will fire on schedule.

  • paused

    The trigger is paused and will not fire.

  • error

    The trigger has entered an error state due to consecutive failures.

time_zone string (optional)

Required. Time zone in which the schedule should be interpreted.

update_time string (optional)

Output only. The time when the trigger was last updated.