Package google.maps.places.v1

সূচক

স্থান

Places API-এর জন্য পরিষেবার সংজ্ঞা। দ্রষ্টব্য: প্রতিটি অনুরোধের জন্য (Autocomplete এবং GetPhotoMedia অনুরোধ ব্যতীত) অনুরোধ প্রোটোর বাইরে একটি ফিল্ড মাস্ক সেট করা প্রয়োজন ( all/* , ধরে নেওয়া হয় না)। ফিল্ড মাস্কটি HTTP হেডার X-Goog-FieldMask এর মাধ্যমে সেট করা যেতে পারে। দেখুন: https://developers.google.com/maps/documentation/places/web-service/choose-fields

স্বয়ংসম্পূর্ণস্থান

rpc AutocompletePlaces( AutocompletePlacesRequest ) returns ( AutocompletePlacesResponse )

প্রদত্ত ইনপুটের জন্য পূর্বাভাস প্রদান করে।

অনুমোদনের সুযোগ

নিম্নলিখিত OAuth স্কোপ প্রয়োজন:

  • https://www.googleapis.com/auth/cloud-platform
GetPhotoMedia সম্পর্কে

rpc GetPhotoMedia( GetPhotoMediaRequest ) returns ( PhotoMedia )

ছবির রেফারেন্স স্ট্রিং সহ একটি ছবির মিডিয়া পান।

অনুমোদনের সুযোগ

নিম্নলিখিত OAuth স্কোপ প্রয়োজন:

  • https://www.googleapis.com/auth/cloud-platform
GetPlace সম্পর্কে

rpc GetPlace( GetPlaceRequest ) returns ( Place )

কোনও জায়গার রিসোর্স নামের উপর ভিত্তি করে তার বিবরণ পান, যা places/{place_id} ফর্ম্যাটে একটি স্ট্রিং।

অনুমোদনের সুযোগ

নিম্নলিখিত OAuth স্কোপ প্রয়োজন:

  • https://www.googleapis.com/auth/cloud-platform
কাছাকাছি অনুসন্ধান করুন

rpc SearchNearby( SearchNearbyRequest ) returns ( SearchNearbyResponse )

অবস্থানের কাছাকাছি স্থান অনুসন্ধান করুন।

অনুমোদনের সুযোগ

নিম্নলিখিত OAuth স্কোপ প্রয়োজন:

  • https://www.googleapis.com/auth/cloud-platform
SearchText সম্পর্কে

rpc SearchText( SearchTextRequest ) returns ( SearchTextResponse )

টেক্সট কোয়েরি ভিত্তিক স্থান অনুসন্ধান।

অনুমোদনের সুযোগ

নিম্নলিখিত OAuth স্কোপ প্রয়োজন:

  • https://www.googleapis.com/auth/cloud-platform

ঠিকানা বর্ণনাকারী

একটি অবস্থানের একটি সম্পর্কীয় বর্ণনা। কাছাকাছি ল্যান্ডমার্কের একটি র‍্যাঙ্কিং সেট এবং সুনির্দিষ্টভাবে ধারণকারী এলাকা এবং লক্ষ্য অবস্থানের সাথে তাদের সম্পর্ক অন্তর্ভুক্ত করে।

ক্ষেত্র
landmarks[]

Landmark

কাছাকাছি ল্যান্ডমার্কগুলির একটি র‍্যাঙ্ক করা তালিকা। সবচেয়ে স্বীকৃত এবং কাছাকাছি ল্যান্ডমার্কগুলিকে প্রথমে র‍্যাঙ্ক করা হয়।

areas[]

Area

ধারণকারী বা সংলগ্ন এলাকার একটি র‍্যাঙ্ক করা তালিকা। সবচেয়ে স্বীকৃত এবং সুনির্দিষ্ট এলাকাগুলিকে প্রথমে র‍্যাঙ্ক করা হয়।

এলাকা

এলাকার তথ্য এবং লক্ষ্য অবস্থানের সাথে এলাকার সম্পর্ক।

এলাকা বলতে সুনির্দিষ্ট উপ-স্থান, পাড়া এবং বৃহৎ যৌগগুলিকে বোঝায় যা একটি অবস্থান বর্ণনা করার জন্য কার্যকর।

ক্ষেত্র
name

string

এলাকার সম্পদের নাম।

place_id

string

এলাকার স্থানের আইডি।

display_name

LocalizedText

এলাকার প্রদর্শন নাম।

containment

Containment

লক্ষ্যবস্তু অবস্থান এবং এলাকার মধ্যে স্থানিক সম্পর্ক সংজ্ঞায়িত করে।

কন্টেনমেন্ট

লক্ষ্যবস্তু অবস্থান এবং এলাকার মধ্যে স্থানিক সম্পর্ক সংজ্ঞায়িত করে।

এনামস
CONTAINMENT_UNSPECIFIED নিয়ন্ত্রণ অনির্দিষ্ট।
WITHIN লক্ষ্যবস্তু অবস্থানটি এলাকার মধ্যে, কেন্দ্রের কাছাকাছি।
OUTSKIRTS লক্ষ্যবস্তু অবস্থানটি এলাকার মধ্যে, প্রান্তের কাছাকাছি।
NEAR লক্ষ্যবস্তু স্থানটি এলাকা অঞ্চলের বাইরে, কিন্তু কাছাকাছি।

ল্যান্ডমার্ক

প্রাথমিক ল্যান্ডমার্ক তথ্য এবং লক্ষ্য অবস্থানের সাথে ল্যান্ডমার্কের সম্পর্ক।

ল্যান্ডমার্ক হল বিশিষ্ট স্থান যা কোনও অবস্থান বর্ণনা করতে ব্যবহার করা যেতে পারে।

ক্ষেত্র
name

string

ল্যান্ডমার্কের সম্পদের নাম।

place_id

string

ল্যান্ডমার্কের স্থানের আইডি।

display_name

LocalizedText

ল্যান্ডমার্কের প্রদর্শন নাম।

types[]

string

এই ল্যান্ডমার্কের জন্য টাইপ ট্যাগের একটি সেট। সম্ভাব্য মানগুলির সম্পূর্ণ তালিকার জন্য, https://developers.google.com/maps/documentation/places/web-service/place-types দেখুন।

spatial_relationship

SpatialRelationship

লক্ষ্যস্থল এবং ল্যান্ডমার্কের মধ্যে স্থানিক সম্পর্ক সংজ্ঞায়িত করে।

straight_line_distance_meters

float

লক্ষ্যবস্তুর কেন্দ্রবিন্দু এবং ল্যান্ডমার্কের কেন্দ্রবিন্দুর মধ্যে সরলরেখার দূরত্ব, মিটারে। কিছু পরিস্থিতিতে, এই মান travel_distance_meters এর চেয়ে বেশি হতে পারে।

travel_distance_meters

float

লক্ষ্যবস্তু থেকে ল্যান্ডমার্ক পর্যন্ত সড়ক নেটওয়ার্ক বরাবর ভ্রমণের দূরত্ব, মিটারে, যদি জানা থাকে। এই মানটি পরিবহনের ধরণ, যেমন হাঁটা, গাড়ি চালানো বা সাইকেল চালানো বিবেচনা করে না।

স্থানিক সম্পর্ক

লক্ষ্যস্থল এবং ল্যান্ডমার্কের মধ্যে স্থানিক সম্পর্ক সংজ্ঞায়িত করে।

এনামস
NEAR যখন নীচের কোনও নির্দিষ্ট বিষয় প্রযোজ্য না হয়, তখন এটিই ডিফল্ট সম্পর্ক।
WITHIN ল্যান্ডমার্কটির একটি স্থানিক জ্যামিতি রয়েছে এবং লক্ষ্যবস্তুটি তার সীমানার মধ্যে রয়েছে।
BESIDE লক্ষ্যবস্তুটি ল্যান্ডমার্কের ঠিক সংলগ্ন।
ACROSS_THE_ROAD লক্ষ্যবস্তুটি রাস্তার অন্য পাশে অবস্থিত ল্যান্ডমার্কের ঠিক বিপরীতে।
DOWN_THE_ROAD ল্যান্ডমার্কের একই পথে, কিন্তু পাশে বা ওপারে নয়।
AROUND_THE_CORNER ল্যান্ডমার্কের মতো একই পথে নয়, কিন্তু এক বাঁক দূরে।
BEHIND ল্যান্ডমার্কের কাঠামোর কাছে কিন্তু এর রাস্তার প্রবেশপথ থেকে আরও দূরে।

লেখকের বৈশিষ্ট্য

UGC তথ্যের লেখক সম্পর্কে তথ্য। Photo এবং Review ব্যবহৃত।

ক্ষেত্র
display_name

string

Photo বা Review লেখকের নাম।

uri

string

Photo বা Review লেখকের URI।

photo_uri

string

Photo বা Review লেখকের প্রোফাইল ছবি URI।

স্বয়ংক্রিয়ভাবে স্থানের অনুরোধ

AutocompletePlaces এর জন্য প্রোটো অনুরোধ করুন।

ক্ষেত্র
input

string

প্রয়োজনীয়। যে টেক্সট স্ট্রিংটিতে অনুসন্ধান করতে হবে।

location_bias

LocationBias

ঐচ্ছিক। একটি নির্দিষ্ট স্থানে পক্ষপাতের ফলাফল।

location_bias অথবা location_restriction এর মধ্যে সর্বাধিক যেকোনো একটি সেট করা উচিত। যদি দুটি সেট না করা হয়, তাহলে ফলাফল IP ঠিকানা দ্বারা পক্ষপাতদুষ্ট হবে, অর্থাৎ IP ঠিকানাটি একটি অস্পষ্ট অবস্থানে ম্যাপ করা হবে এবং একটি পক্ষপাতদুষ্ট সংকেত হিসেবে ব্যবহৃত হবে।

location_restriction

LocationRestriction

ঐচ্ছিক। ফলাফল একটি নির্দিষ্ট স্থানে সীমাবদ্ধ রাখুন।

location_bias অথবা location_restriction এর মধ্যে সর্বাধিক যেকোনো একটি সেট করা উচিত। যদি দুটি সেট না করা হয়, তাহলে ফলাফল IP ঠিকানা দ্বারা পক্ষপাতদুষ্ট হবে, অর্থাৎ IP ঠিকানাটি একটি অস্পষ্ট অবস্থানে ম্যাপ করা হবে এবং একটি পক্ষপাতদুষ্ট সংকেত হিসেবে ব্যবহৃত হবে।

included_primary_types[]

string

ঐচ্ছিক। স্থানের ধরণ ( https://developers.google.com/maps/documentation/places/web-service/place-types) , অথবা শুধুমাত্র (regions) অথবা শুধুমাত্র (cities) -এ প্রাথমিক স্থানের ধরণ (উদাহরণস্বরূপ, "রেস্তোরাঁ" বা "গ্যাস_স্টেশন") অন্তর্ভুক্ত করা হয়েছে। একটি স্থান কেবল তখনই ফেরত পাঠানো হবে যদি এর প্রাথমিক ধরণটি এই তালিকায় অন্তর্ভুক্ত থাকে। সর্বাধিক 5টি মান নির্দিষ্ট করা যেতে পারে। যদি কোনও প্রকার নির্দিষ্ট না করা থাকে, তবে সমস্ত স্থানের ধরণ ফেরত পাঠানো হবে।

included_region_codes[]

string

ঐচ্ছিক। শুধুমাত্র নির্দিষ্ট অঞ্চলে ফলাফল অন্তর্ভুক্ত করুন, সর্বোচ্চ ১৫টি CLDR দুই-অক্ষরের অঞ্চল কোড হিসাবে নির্দিষ্ট করা হয়েছে। একটি খালি সেট ফলাফলগুলিকে সীমাবদ্ধ করবে না। যদি location_restriction এবং included_region_codes উভয়ই সেট করা থাকে, তাহলে ফলাফলগুলি ছেদস্থলের এলাকায় অবস্থিত হবে।

language_code

string

ঐচ্ছিক। ফলাফল যে ভাষায় ফেরত পাঠানো হবে। ডিফল্ট হিসেবে en-US ব্যবহার করা হয়। input ব্যবহৃত ভাষা যদি language_code থেকে আলাদা হয় অথবা যদি ফিরে আসা স্থানের স্থানীয় ভাষা থেকে language_code তে অনুবাদ না থাকে, তাহলে ফলাফলগুলি মিশ্র ভাষায় হতে পারে।

region_code

string

ঐচ্ছিক। অঞ্চল কোড, যা CLDR দুই-অক্ষরের অঞ্চল কোড হিসেবে নির্দিষ্ট করা হয়েছে। এটি ঠিকানার বিন্যাস, ফলাফলের র‍্যাঙ্কিংকে প্রভাবিত করে এবং কোন ফলাফল ফেরত দেওয়া হবে তা প্রভাবিত করতে পারে। এটি নির্দিষ্ট অঞ্চলে ফলাফল সীমাবদ্ধ করে না। কোনও অঞ্চলে ফলাফল সীমাবদ্ধ করতে, region_code_restriction ব্যবহার করুন।

origin

LatLng

ঐচ্ছিক। যে উৎস বিন্দু থেকে গন্তব্যে জিওডেসিক দূরত্ব গণনা করতে হবে ( distance_meters হিসাবে ফেরত পাঠানো হয়েছে)। যদি এই মানটি বাদ দেওয়া হয়, তাহলে জিওডেসিক দূরত্ব ফেরত পাঠানো হবে না।

input_offset

int32

ঐচ্ছিক। input একটি শূন্য-ভিত্তিক ইউনিকোড অক্ষর অফসেট যা input কার্সারের অবস্থান নির্দেশ করে। কার্সারের অবস্থান কোন ভবিষ্যদ্বাণীগুলি ফেরত পাঠানো হবে তা প্রভাবিত করতে পারে।

খালি থাকলে, input দৈর্ঘ্য ডিফল্ট হবে।

include_query_predictions

bool

ঐচ্ছিক। যদি সত্য হয়, তাহলে প্রতিক্রিয়াটিতে স্থান এবং ক্যোয়ারী উভয় পূর্বাভাস অন্তর্ভুক্ত থাকবে। অন্যথায় প্রতিক্রিয়াটি কেবল স্থান পূর্বাভাস প্রদান করবে।

session_token

string

ঐচ্ছিক। একটি স্ট্রিং যা বিলিং উদ্দেশ্যে একটি স্বয়ংসম্পূর্ণ সেশন সনাক্ত করে। একটি URL এবং ফাইলের নাম নিরাপদ base64 স্ট্রিং হতে হবে যার দৈর্ঘ্য সর্বাধিক 36 ASCII অক্ষর। অন্যথায় একটি INVALID_ARGUMENT ত্রুটি ফিরে আসবে।

ব্যবহারকারী যখন একটি কোয়েরি টাইপ করা শুরু করেন তখন সেশনটি শুরু হয় এবং যখন তারা একটি স্থান নির্বাচন করে এবং স্থানের বিবরণ বা ঠিকানা যাচাইকরণে কল করা হয় তখন এটি শেষ হয়। প্রতিটি সেশনে একাধিক কোয়েরি থাকতে পারে, তারপরে একটি স্থানের বিবরণ বা ঠিকানা যাচাইকরণ অনুরোধ করা যেতে পারে। একটি সেশনের মধ্যে প্রতিটি অনুরোধের জন্য ব্যবহৃত শংসাপত্রগুলি একই Google Cloud Console প্রকল্পের অন্তর্গত হতে হবে। একবার একটি সেশন শেষ হয়ে গেলে, টোকেনটি আর বৈধ থাকে না; আপনার অ্যাপকে প্রতিটি সেশনের জন্য একটি নতুন টোকেন তৈরি করতে হবে। যদি session_token প্যারামিটার বাদ দেওয়া হয়, অথবা আপনি যদি একটি সেশন টোকেন পুনরায় ব্যবহার করেন, তাহলে সেশনটি এমনভাবে চার্জ করা হবে যেন কোনও সেশন টোকেন সরবরাহ করা হয়নি (প্রতিটি অনুরোধ আলাদাভাবে বিল করা হয়)।

আমরা নিম্নলিখিত নির্দেশিকাগুলি অনুসরণ করার পরামর্শ দিচ্ছি:

  • সমস্ত প্লেস অটোকম্পলিট কলের জন্য সেশন টোকেন ব্যবহার করুন।
  • প্রতিটি সেশনের জন্য একটি নতুন টোকেন তৈরি করুন। সংস্করণ 4 UUID ব্যবহার করার পরামর্শ দেওয়া হচ্ছে।
  • নিশ্চিত করুন যে একটি সেশনের মধ্যে সমস্ত প্লেস অটোকম্পলিট, প্লেস ডিটেইলস এবং অ্যাড্রেস ভ্যালিডেশন অনুরোধের জন্য ব্যবহৃত শংসাপত্রগুলি একই ক্লাউড কনসোল প্রকল্পের অন্তর্গত।
  • প্রতিটি নতুন সেশনের জন্য একটি অনন্য সেশন টোকেন পাস করতে ভুলবেন না। একাধিক সেশনের জন্য একই টোকেন ব্যবহার করলে প্রতিটি অনুরোধের জন্য পৃথকভাবে বিল করা হবে।
include_pure_service_area_businesses

bool

ঐচ্ছিক। যদি ক্ষেত্রটি সত্য হিসেবে সেট করা থাকে তবে বিশুদ্ধ পরিষেবা এলাকার ব্যবসাগুলি অন্তর্ভুক্ত করুন। বিশুদ্ধ পরিষেবা এলাকার ব্যবসা হল এমন একটি ব্যবসা যা সরাসরি গ্রাহকদের কাছে যায় বা তাদের কাছে ডেলিভারি দেয় কিন্তু গ্রাহকদের তাদের ব্যবসায়িক ঠিকানায় পরিষেবা দেয় না। উদাহরণস্বরূপ, পরিষ্কারের পরিষেবা বা প্লাম্বারদের মতো ব্যবসা। এই ব্যবসাগুলির Google মানচিত্রে কোনও প্রকৃত ঠিকানা বা অবস্থান নেই। স্থানগুলি এই ব্যবসাগুলির জন্য location , plus_code এবং অন্যান্য অবস্থান সম্পর্কিত ক্ষেত্রগুলি সহ ক্ষেত্রগুলি ফেরত দেবে না।

অবস্থান পক্ষপাত

অনুসন্ধানের জন্য অঞ্চল। ফলাফলগুলি নির্দিষ্ট অঞ্চলের চারপাশে পক্ষপাতদুষ্ট হতে পারে।

ক্ষেত্র

ইউনিয়ন ক্ষেত্রের type

type নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:

rectangle

Viewport

উত্তর-পূর্ব এবং দক্ষিণ-পশ্চিম কোণ দ্বারা সংজ্ঞায়িত একটি ভিউপোর্ট।

circle

Circle

একটি কেন্দ্রবিন্দু এবং ব্যাসার্ধ দ্বারা সংজ্ঞায়িত একটি বৃত্ত।

অবস্থান বিধিনিষেধ

অনুসন্ধানের জন্য অঞ্চল। ফলাফল নির্দিষ্ট অঞ্চলে সীমাবদ্ধ থাকবে।

ক্ষেত্র

ইউনিয়ন ক্ষেত্রের type

type নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:

rectangle

Viewport

উত্তর-পূর্ব এবং দক্ষিণ-পশ্চিম কোণ দ্বারা সংজ্ঞায়িত একটি ভিউপোর্ট।

circle

Circle

একটি কেন্দ্রবিন্দু এবং ব্যাসার্ধ দ্বারা সংজ্ঞায়িত একটি বৃত্ত।

স্বয়ংসম্পূর্ণস্থানপ্রতিক্রিয়া

AutocompletePlaces-এর জন্য রেসপন্স প্রোটো।

ক্ষেত্র
suggestions[]

Suggestion

প্রাসঙ্গিকতার ক্রমানুসারে সাজানো পরামর্শের একটি তালিকা রয়েছে।

পরামর্শ

একটি স্বয়ংক্রিয়ভাবে সম্পূর্ণ করার পরামর্শের ফলাফল।

ক্ষেত্র

ইউনিয়ন ক্ষেত্র kind

kind নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:

place_prediction

PlacePrediction

একটি স্থানের ভবিষ্যদ্বাণী।

query_prediction

QueryPrediction

একটি প্রশ্নের জন্য একটি ভবিষ্যদ্বাণী।

ফর্ম্যাটেবল টেক্সট

একটি স্থান বা কোয়েরি পূর্বাভাস উপস্থাপনকারী টেক্সট। টেক্সটটি যেমন আছে তেমন ব্যবহার করা যেতে পারে অথবা ফর্ম্যাট করা যেতে পারে।

ক্ষেত্র
text

string

যে টেক্সটটি যেমন আছে তেমন ব্যবহার করা যেতে পারে অথবা matches দিয়ে ফরম্যাট করা যেতে পারে।

matches[]

StringRange

স্ট্রিং রেঞ্জের একটি তালিকা যা text ইনপুট অনুরোধটি কোথায় মিলেছে তা চিহ্নিত করে। রেঞ্জগুলি text নির্দিষ্ট অংশগুলিকে ফর্ম্যাট করতে ব্যবহার করা যেতে পারে। স্ট্রিং ম্যাচিং ব্যতীত অন্য মানদণ্ডের (যেমন, বানান সংশোধন বা লিপ্যন্তর) মাধ্যমে মিল নির্ধারণ করা হলে সাবস্ট্রিংগুলি input সাথে হুবহু মিল নাও হতে পারে।

এই মানগুলি text ইউনিকোড অক্ষর অফসেট। রেঞ্জগুলি ক্রমবর্ধমান অফসেট মান অনুসারে সাজানোর নিশ্চয়তা রয়েছে।

স্থান ভবিষ্যদ্বাণী

স্থান স্বয়ংসম্পূর্ণ পূর্বাভাসের জন্য ভবিষ্যদ্বাণীর ফলাফল।

ক্ষেত্র
place

string

প্রস্তাবিত স্থানের রিসোর্স নাম। এই নামটি অন্যান্য API গুলিতে ব্যবহার করা যেতে পারে যা স্থানের নাম গ্রহণ করে।

place_id

string

প্রস্তাবিত স্থানের অনন্য শনাক্তকারী। এই শনাক্তকারী অন্যান্য API গুলিতে ব্যবহার করা যেতে পারে যা স্থান আইডি গ্রহণ করে।

text

FormattableText

ফিরে আসা ফলাফলের জন্য মানুষের পঠনযোগ্য নাম থাকে। প্রতিষ্ঠানের ফলাফলের জন্য, এটি সাধারণত ব্যবসার নাম এবং ঠিকানা।

যারা একটি একক UI উপাদান দেখাতে চান তাদের জন্য text সুপারিশ করা হয়। যারা দুটি পৃথক, কিন্তু সম্পর্কিত, UI উপাদান দেখাতে চান তারা structured_format ব্যবহার করতে চাইতে পারেন। এগুলি একটি স্থান পূর্বাভাস উপস্থাপনের দুটি ভিন্ন উপায়। ব্যবহারকারীদের structured_format text বা এর বিপরীতে পার্স করার চেষ্টা করা উচিত নয়।

এই লেখাটি GetPlace দ্বারা প্রদত্ত display_name থেকে ভিন্ন হতে পারে।

যদি অনুরোধের input এবং language_code ভিন্ন ভাষায় হয় অথবা স্থানটির স্থানীয় ভাষা থেকে language_code তে অনুবাদ না থাকে, তাহলে এটি মিশ্র ভাষায় হতে পারে।

structured_format

StructuredFormat

স্থানের পূর্বাভাসকে প্রধান টেক্সটে বিভক্ত করা, যেখানে স্থানের নাম থাকবে এবং অতিরিক্ত দ্ব্যর্থতা নিরসনকারী বৈশিষ্ট্য (যেমন একটি শহর বা অঞ্চল) সহ গৌণ টেক্সট থাকবে।

structured_format সেইসব ডেভেলপারদের জন্য সুপারিশ করা হয় যারা দুটি পৃথক কিন্তু সম্পর্কিত UI উপাদান দেখাতে চান। যারা একটি একক UI উপাদান দেখাতে চান তারা এর পরিবর্তে text ব্যবহার করতে পারেন। এগুলি একটি স্থানের পূর্বাভাস উপস্থাপনের দুটি ভিন্ন উপায়। ব্যবহারকারীদের structured_format text বা এর বিপরীতে পার্স করার চেষ্টা করা উচিত নয়।

types[]

string

https://developers.google.com/maps/documentation/places/web-service/place-types -এ টেবিল A ​​বা টেবিল B থেকে এই স্থানে প্রযোজ্য প্রকারের তালিকা।

একটি ধরণ হল একটি স্থানের শ্রেণীবিভাগ। ভাগ করা ধরণের স্থানগুলির বৈশিষ্ট্যগুলি একই রকম হবে।

distance_meters

int32

যদি origin নির্দিষ্ট করা থাকে, তাহলে origin থেকে মিটারে জিওডেসিকের দৈর্ঘ্য। রুটের মতো কিছু পূর্বাভাস এই ক্ষেত্রটি পূরণ নাও করতে পারে।

প্রশ্ন পূর্বাভাস

একটি কোয়েরি স্বয়ংসম্পূর্ণ পূর্বাভাসের জন্য ভবিষ্যদ্বাণীর ফলাফল।

ক্ষেত্র
text

FormattableText

পূর্বাভাসিত টেক্সট। এই টেক্সটটি কোনও স্থানকে প্রতিনিধিত্ব করে না, বরং একটি টেক্সট কোয়েরি যা একটি সার্চ এন্ডপয়েন্টে ব্যবহার করা যেতে পারে (উদাহরণস্বরূপ, টেক্সট সার্চ)।

যারা একটি একক UI উপাদান দেখাতে চান তাদের জন্য text সুপারিশ করা হয়। যারা দুটি পৃথক, কিন্তু সম্পর্কিত, UI উপাদান দেখাতে চান তারা structured_format ব্যবহার করতে চাইতে পারেন। এগুলি একটি কোয়েরি পূর্বাভাস উপস্থাপনের দুটি ভিন্ন উপায়। ব্যবহারকারীদের structured_format text বা এর বিপরীতে পার্স করার চেষ্টা করা উচিত নয়।

যদি অনুরোধের input এবং language_code ভিন্ন ভাষায় হয় অথবা যদি কোয়েরির অংশবিশেষ স্থানীয় ভাষা থেকে language_code তে অনুবাদ না করে তবে এটি মিশ্র ভাষায় হতে পারে।

structured_format

StructuredFormat

কোয়েরি পূর্বাভাসকে মূল টেক্সটে বিভক্ত করা যাতে কোয়েরি থাকে এবং গৌণ টেক্সটে অতিরিক্ত দ্ব্যর্থতা নিরসনকারী বৈশিষ্ট্য থাকে (যেমন একটি শহর বা অঞ্চল)।

structured_format সেইসব ডেভেলপারদের জন্য সুপারিশ করা হয় যারা দুটি পৃথক কিন্তু সম্পর্কিত UI উপাদান দেখাতে চান। যারা একটি একক UI উপাদান দেখাতে চান তারা এর পরিবর্তে text ব্যবহার করতে পারেন। এগুলি একটি কোয়েরি পূর্বাভাস উপস্থাপনের দুটি ভিন্ন উপায়। ব্যবহারকারীদের structured_format text বা এর বিপরীতে পার্স করার চেষ্টা করা উচিত নয়।

স্ট্রিংরেঞ্জ

একটি প্রদত্ত টেক্সটের মধ্যে একটি সাবস্ট্রিং সনাক্ত করে।

ক্ষেত্র
start_offset

int32

স্ট্রিং-এর প্রথম ইউনিকোড অক্ষরের শূন্য-ভিত্তিক অফসেট (সমেত)।

end_offset

int32

শেষ ইউনিকোড অক্ষরের শূন্য-ভিত্তিক অফসেট (এক্সক্লুসিভ)।

স্ট্রাকচার্ডফরম্যাট

একটি স্থান বা কোয়েরি পূর্বাভাসের মূল টেক্সট এবং গৌণ টেক্সটে বিভক্তি রয়েছে।

স্থানের পূর্বাভাসের জন্য, মূল পাঠ্যে স্থানের নির্দিষ্ট নাম থাকে। কোয়েরি পূর্বাভাসের জন্য, মূল পাঠ্যে কোয়েরি থাকে।

স্থানটিকে আরও শনাক্ত করতে বা কোয়েরিটি পরিমার্জন করতে গৌণ লেখাটিতে অতিরিক্ত দ্ব্যর্থতা নিরসনকারী বৈশিষ্ট্য (যেমন একটি শহর বা অঞ্চল) রয়েছে।

ক্ষেত্র
main_text

FormattableText

স্থান বা প্রশ্নের নাম প্রতিনিধিত্ব করে।

secondary_text

FormattableText

স্থানটিকে আরও শনাক্ত করতে বা কোয়েরিটি পরিমার্জন করতে অতিরিক্ত দ্ব্যর্থতা নিরসনকারী বৈশিষ্ট্য (যেমন একটি শহর বা অঞ্চল) উপস্থাপন করে।

বৃত্ত

কেন্দ্র এবং ব্যাসার্ধ হিসেবে একটি অক্ষাংশ বিশিষ্ট বৃত্ত।

ক্ষেত্র
center

LatLng

প্রয়োজনীয়। কেন্দ্র অক্ষাংশ এবং দ্রাঘিমাংশ।

অক্ষাংশের পরিসর [-৯০.০, ৯০.০] এর মধ্যে হতে হবে। দ্রাঘিমাংশের পরিসর [-১৮০.০, ১৮০.০] এর মধ্যে হতে হবে।

radius

double

প্রয়োজনীয়। ব্যাসার্ধ মিটারে পরিমাপ করা হবে। ব্যাসার্ধ অবশ্যই [0.0, 50000.0] এর মধ্যে হতে হবে।

কন্টেন্টব্লক

এক টুকরো কন্টেন্ট যা আলাদাভাবে পরিবেশন করা যেতে পারে।

ক্ষেত্র
content

LocalizedText

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

referenced_places[]

string

উল্লেখিত স্থানগুলির রিসোর্স নামের তালিকা। এই নামটি অন্যান্য API গুলিতে ব্যবহার করা যেতে পারে যা স্থানের রিসোর্স নাম গ্রহণ করে।

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

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

স্থানের প্রশ্নের সাথে প্রাসঙ্গিক কন্টেন্ট।

ক্ষেত্র
reviews[]

Review

এই স্থান সম্পর্কে পর্যালোচনার তালিকা, স্থান প্রশ্নের সাথে সম্পর্কিত।

photos[]

Photo

এই স্থানের ছবি সম্পর্কে তথ্য (রেফারেন্স সহ), স্থানের প্রশ্নের সাথে সম্পর্কিত।

justifications[]

Justification

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

স্থানটির পক্ষে যুক্তি।

যুক্তি

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

স্থানের যুক্তি। যুক্তি কেন একটি স্থান একজন শেষ ব্যবহারকারীর আগ্রহের কারণ হতে পারে এই প্রশ্নের উত্তর দেয়।

ক্ষেত্র

ইউনিয়ন ক্ষেত্রের justification

justification নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:

review_justification

ReviewJustification

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

business_availability_attributes_justification

BusinessAvailabilityAttributesJustification

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

ব্যবসাউপলব্ধতাগুণসমূহযথার্থতা

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন। BusinessAvailabilityAttributes-এর যুক্তি। এটি এমন কিছু বৈশিষ্ট্য দেখায় যা একজন ব্যবহারকারীর আগ্রহের কারণ হতে পারে।

ক্ষেত্র
takeout

bool

যদি কোনও জায়গায় খাবারের ব্যবস্থা থাকে।

delivery

bool

যদি কোন জায়গা থেকে ডেলিভারি দেওয়া হয়।

dine_in

bool

যদি কোন জায়গায় খাবারের ব্যবস্থা থাকে।

পর্যালোচনাযথার্থতা

পরীক্ষামূলক: আরও বিস্তারিত জানার জন্য https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative দেখুন।

ব্যবহারকারীর পর্যালোচনার যুক্তি। এটি ব্যবহারকারীর পর্যালোচনার এমন একটি অংশ তুলে ধরে যা একজন শেষ ব্যবহারকারীর আগ্রহের কারণ হবে। উদাহরণস্বরূপ, যদি অনুসন্ধান কোয়েরিটি "ফায়ারউড পিৎজা" হয়, তাহলে পর্যালোচনার যুক্তি অনুসন্ধান কোয়েরির সাথে প্রাসঙ্গিক পাঠ্যটি তুলে ধরে।

ক্ষেত্র
highlighted_text

HighlightedText

review

Review

হাইলাইট করা টেক্সটটি যে পর্যালোচনা থেকে তৈরি করা হয়েছে।

হাইলাইটেডটেক্সট

যুক্তি দ্বারা হাইলাইট করা টেক্সট। এটি পর্যালোচনার একটি উপসেট। হাইলাইট করার জন্য সঠিক শব্দটি হাইলাইটেডটেক্সটরেঞ্জ দ্বারা চিহ্নিত করা হয়েছে। হাইলাইট করা টেক্সটে বেশ কয়েকটি শব্দ থাকতে পারে।

ক্ষেত্র
text

string

highlighted_text_ranges[]

HighlightedTextRange

হাইলাইট করা টেক্সটের রেঞ্জের তালিকা।

হাইলাইট করা টেক্সটরেঞ্জ

হাইলাইট করা টেক্সটের পরিসর।

ক্ষেত্র
start_index

int32

end_index

int32

EVChargeOptions সম্পর্কে

প্লেসে অবস্থিত ইভি চার্জ স্টেশন সম্পর্কে তথ্য। পরিভাষাটি https://afdc.energy.gov/fuels/electricity_infrastructure.html এর মাধ্যমে জানা যাবে। একটি পোর্টে একবারে একটি গাড়ি চার্জ করা যাবে। একটি পোর্টে এক বা একাধিক সংযোগকারী থাকে। একটি স্টেশনে এক বা একাধিক পোর্ট থাকে।

ক্ষেত্র
connector_count

int32

এই স্টেশনে সংযোগকারীর সংখ্যা। তবে, যেহেতু কিছু পোর্টে একাধিক সংযোগকারী থাকতে পারে কিন্তু একবারে কেবল একটি গাড়ি চার্জ করতে সক্ষম হয় (যেমন), সংযোগকারীর সংখ্যা একসাথে চার্জ করা মোট গাড়ির সংখ্যার চেয়ে বেশি হতে পারে।

connector_aggregation[]

ConnectorAggregation

একই ধরণের এবং একই চার্জ রেটযুক্ত সংযোগকারী ধারণকারী EV চার্জিং সংযোগকারী সমষ্টিগুলির একটি তালিকা।

সংযোগকারী সমষ্টি

[type, max_charge_rate_kw] অনুসারে গোষ্ঠীভুক্ত EV চার্জিং তথ্য। একই ধরণের এবং kw-তে সর্বোচ্চ চার্জ রেটযুক্ত সংযোগকারীদের EV চার্জ সমষ্টি দেখায়।

ক্ষেত্র
type

EVConnectorType

এই সমষ্টির সংযোগকারীর ধরণ।

max_charge_rate_kw

double

সমষ্টিতে প্রতিটি সংযোগকারীর স্ট্যাটিক সর্বোচ্চ চার্জিং হার kw-তে।

count

int32

এই সমষ্টিতে সংযোগকারীর সংখ্যা।

availability_last_update_time

Timestamp

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

available_count

int32

এই সমষ্টিতে বর্তমানে উপলব্ধ সংযোগকারীর সংখ্যা।

out_of_service_count

int32

এই সমষ্টিতে বর্তমানে পরিষেবার বাইরে থাকা সংযোগকারীর সংখ্যা।

EVConnectorType সম্পর্কে

EV চার্জিং সংযোগকারীর ধরণ সম্পর্কে অতিরিক্ত তথ্য/প্রসঙ্গের জন্য http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6872107 দেখুন।

এনামস
EV_CONNECTOR_TYPE_UNSPECIFIED অনির্দিষ্ট সংযোগকারী।
EV_CONNECTOR_TYPE_OTHER অন্যান্য সংযোগকারীর ধরণ।
EV_CONNECTOR_TYPE_J1772 J1772 টাইপ 1 সংযোগকারী।
EV_CONNECTOR_TYPE_TYPE_2 IEC 62196 টাইপ 2 সংযোগকারী। প্রায়শই MENNEKES নামে পরিচিত।
EV_CONNECTOR_TYPE_CHADEMO CHAdeMO টাইপ সংযোগকারী।
EV_CONNECTOR_TYPE_CCS_COMBO_1 সম্মিলিত চার্জিং সিস্টেম (এসি এবং ডিসি)। SAE ভিত্তিক। টাইপ-১ J-১৭৭২ সংযোগকারী
EV_CONNECTOR_TYPE_CCS_COMBO_2 সম্মিলিত চার্জিং সিস্টেম (এসি এবং ডিসি)। টাইপ-২ মেনেকেস সংযোগকারীর উপর ভিত্তি করে
EV_CONNECTOR_TYPE_TESLA জেনেরিক TESLA সংযোগকারী। এটি উত্তর আমেরিকায় NACS, কিন্তু বিশ্বের অন্যান্য অংশে NACS-বহির্ভূত হতে পারে (যেমন CCS কম্বো 2 (CCS2) অথবা GB/T)। এই মানটি প্রকৃত সংযোগকারী ধরণের কম প্রতিনিধিত্ব করে, এবং টেসলার মালিকানাধীন চার্জিং স্টেশনে টেসলা ব্র্যান্ডের গাড়ি চার্জ করার ক্ষমতাকে বেশি প্রতিনিধিত্ব করে।
EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T GB/T টাইপ চীনের GB/T স্ট্যান্ডার্ডের সাথে সামঞ্জস্যপূর্ণ। এই টাইপটি সমস্ত GB_T টাইপকে অন্তর্ভুক্ত করে।
EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET অনির্দিষ্ট ওয়াল আউটলেট।
EV_CONNECTOR_TYPE_NACS উত্তর আমেরিকান চার্জিং সিস্টেম (NACS), যা SAE J3400 হিসাবে প্রমিত।

জ্বালানি বিকল্প

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

ক্ষেত্র
fuel_prices[]

FuelPrice

এই স্টেশনে প্রতিটি ধরণের জ্বালানির সর্বশেষ জানা জ্বালানির দাম। এই স্টেশনে প্রতিটি ধরণের জ্বালানির জন্য একটি করে এন্ট্রি আছে। অর্ডার গুরুত্বপূর্ণ নয়।

জ্বালানির দাম

একটি নির্দিষ্ট ধরণের জ্বালানির দামের তথ্য।

ক্ষেত্র
type

FuelType

জ্বালানির ধরণ।

price

Money

জ্বালানির দাম।

update_time

Timestamp

জ্বালানির দাম শেষ আপডেটের সময়।

জ্বালানির ধরণ

জ্বালানির প্রকারভেদ।

এনামস
FUEL_TYPE_UNSPECIFIED অনির্দিষ্ট জ্বালানির ধরণ।
DIESEL ডিজেল জ্বালানি।
DIESEL_PLUS ডিজেল প্লাস জ্বালানি।
REGULAR_UNLEADED নিয়মিত আনলিডেড।
MIDGRADE মিডগ্রেড।
PREMIUM প্রিমিয়াম।
SP91 এসপি ৯১।
SP91_E10 এসপি ৯১ ই১০।
SP92 এসপি ৯২।
SP95 এসপি ৯৫।
SP95_E10 এসপি৯৫ ই১০।
SP98 এসপি ৯৮।
SP99 এসপি ৯৯।
SP100 এসপি ১০০।
LPG তরলীকৃত পেট্রোলিয়াম গ্যাস।
E80 ই ৮০।
E85 ই ৮৫।
E100 ই ১০০।
METHANE মিথেন।
BIO_DIESEL বায়ো-ডিজেল।
TRUCK_DIESEL ট্রাক ডিজেল।

GetPhotoMediaRequest সম্পর্কে

ছবির রিসোর্সের নাম ব্যবহার করে কোনও স্থানের ছবি আনার অনুরোধ।

ক্ষেত্র
name

string

প্রয়োজন। একটি ফটো মিডিয়ার রিসোর্স নাম এই ফর্ম্যাটে: places/{place_id}/photos/{photo_reference}/media

একটি Place অবজেক্টের photos.name ফিল্ডে ফেরত পাঠানো ছবির রিসোর্স নাম places/{place_id}/photos/{photo_reference} ফর্ম্যাটের সাথে আসে। ফটো মিডিয়া রিসোর্সের নাম পেতে আপনাকে ফটো রিসোর্সের শেষে /media যোগ করতে হবে।

max_width_px

int32

ঐচ্ছিক। ছবির সর্বাধিক কাঙ্ক্ষিত প্রস্থ পিক্সেলে নির্দিষ্ট করে। যদি ছবিটি নির্দিষ্ট মানের চেয়ে ছোট হয়, তাহলে মূল ছবিটি ফেরত পাঠানো হবে। যদি ছবিটি উভয় মাত্রায় বড় হয়, তাহলে এটি দুটি মাত্রার ছোটটির সাথে মিলে স্কেল করা হবে, যা এর মূল আকৃতির অনুপাতের মধ্যে সীমাবদ্ধ থাকবে। max_height_px এবং max_width_px উভয় বৈশিষ্ট্যই 1 এবং 4800 এর মধ্যে একটি পূর্ণসংখ্যা গ্রহণ করে, সমেতভাবে। যদি মান অনুমোদিত পরিসরের মধ্যে না থাকে, তাহলে একটি INVALID_ARGUMENT ত্রুটি ফেরত পাঠানো হবে।

max_height_px অথবা max_width_px এর মধ্যে অন্তত একটি নির্দিষ্ট করতে হবে। যদি max_height_px অথবা max_width_px কোনটিই নির্দিষ্ট না করা থাকে, তাহলে একটি INVALID_ARGUMENT ত্রুটি দেখাবে।

max_height_px

int32

ঐচ্ছিক। ছবির সর্বোচ্চ কাঙ্ক্ষিত উচ্চতা পিক্সেলে নির্দিষ্ট করে। যদি ছবিটি নির্দিষ্ট মানের চেয়ে ছোট হয়, তাহলে মূল ছবিটি ফেরত পাঠানো হবে। যদি ছবিটি উভয় মাত্রায় বড় হয়, তাহলে এটি দুটি মাত্রার ছোটটির সাথে মিলে স্কেল করা হবে, যা তার মূল আকৃতির অনুপাতের মধ্যে সীমাবদ্ধ থাকবে। max_height_px এবং max_width_px উভয় বৈশিষ্ট্যই 1 এবং 4800 এর মধ্যে একটি পূর্ণসংখ্যা গ্রহণ করে, সমেতভাবে। যদি মান অনুমোদিত পরিসরের মধ্যে না থাকে, তাহলে একটি INVALID_ARGUMENT ত্রুটি ফেরত পাঠানো হবে।

max_height_px অথবা max_width_px এর মধ্যে অন্তত একটি নির্দিষ্ট করতে হবে। যদি max_height_px অথবা max_width_px কোনটিই নির্দিষ্ট না করা থাকে, তাহলে একটি INVALID_ARGUMENT ত্রুটি দেখাবে।

skip_http_redirect

bool

ঐচ্ছিক। যদি সেট করা থাকে, তাহলে ডিফল্ট HTTP পুনঃনির্দেশ আচরণ এড়িয়ে যান এবং একটি টেক্সট ফর্ম্যাট রেন্ডার করুন (উদাহরণস্বরূপ, HTTP ব্যবহারের ক্ষেত্রে JSON ফর্ম্যাটে)। যদি সেট না করা থাকে, তাহলে কলটিকে ইমেজ মিডিয়াতে পুনঃনির্দেশিত করার জন্য একটি HTTP পুনঃনির্দেশ জারি করা হবে। নন-HTTP অনুরোধের জন্য এই বিকল্পটি উপেক্ষা করা হয়।

GetPlaceRequest সম্পর্কে

একটি স্থানের রিসোর্স নামের উপর ভিত্তি করে আনার অনুরোধ, যা places/{place_id} ফর্ম্যাটে একটি স্ট্রিং।

ক্ষেত্র
name

string

প্রয়োজনীয়। স্থানের রিসোর্সের নাম, places/{place_id} ফর্ম্যাটে।

language_code

string

ঐচ্ছিক। স্থানের বিবরণ পছন্দের ভাষা সহ প্রদর্শিত হবে, যদি পাওয়া যায়।

সমর্থিত ভাষার বর্তমান তালিকা: https://developers.google.com/maps/faq#languagesupport

region_code

string

ঐচ্ছিক। অনুরোধটি যে স্থান থেকে আসছে তার ইউনিকোড দেশ/অঞ্চল কোড (CLDR)। এই প্যারামিটারটি স্থানের বিবরণ প্রদর্শন করতে ব্যবহৃত হয়, যেমন অঞ্চল-নির্দিষ্ট স্থানের নাম, যদি পাওয়া যায়। প্রযোজ্য আইনের উপর ভিত্তি করে প্যারামিটারটি ফলাফলকে প্রভাবিত করতে পারে। আরও তথ্যের জন্য, https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html দেখুন।

মনে রাখবেন যে ৩-সংখ্যার অঞ্চল কোড বর্তমানে সমর্থিত নয়।

session_token

string

ঐচ্ছিক। একটি স্ট্রিং যা বিলিং উদ্দেশ্যে একটি স্বয়ংসম্পূর্ণ সেশন সনাক্ত করে। একটি URL এবং ফাইলের নাম নিরাপদ base64 স্ট্রিং হতে হবে যার দৈর্ঘ্য সর্বাধিক 36 ASCII অক্ষর। অন্যথায় একটি INVALID_ARGUMENT ত্রুটি ফিরে আসবে।

ব্যবহারকারী যখন একটি কোয়েরি টাইপ করা শুরু করেন তখন সেশনটি শুরু হয় এবং যখন তারা একটি স্থান নির্বাচন করে এবং স্থানের বিবরণ বা ঠিকানা যাচাইকরণে কল করা হয় তখন এটি শেষ হয়। প্রতিটি সেশনে একাধিক কোয়েরি থাকতে পারে, তারপরে একটি স্থানের বিবরণ বা ঠিকানা যাচাইকরণ অনুরোধ করা যেতে পারে। একটি সেশনের মধ্যে প্রতিটি অনুরোধের জন্য ব্যবহৃত শংসাপত্রগুলি একই Google Cloud Console প্রকল্পের অন্তর্গত হতে হবে। একবার একটি সেশন শেষ হয়ে গেলে, টোকেনটি আর বৈধ থাকে না; আপনার অ্যাপকে প্রতিটি সেশনের জন্য একটি নতুন টোকেন তৈরি করতে হবে। যদি session_token প্যারামিটার বাদ দেওয়া হয়, অথবা আপনি যদি একটি সেশন টোকেন পুনরায় ব্যবহার করেন, তাহলে সেশনটি এমনভাবে চার্জ করা হবে যেন কোনও সেশন টোকেন সরবরাহ করা হয়নি (প্রতিটি অনুরোধ আলাদাভাবে বিল করা হয়)।

আমরা নিম্নলিখিত নির্দেশিকাগুলি অনুসরণ করার পরামর্শ দিচ্ছি:

  • সমস্ত প্লেস অটোকম্পলিট কলের জন্য সেশন টোকেন ব্যবহার করুন।
  • প্রতিটি সেশনের জন্য একটি নতুন টোকেন তৈরি করুন। সংস্করণ 4 UUID ব্যবহার করার পরামর্শ দেওয়া হচ্ছে।
  • নিশ্চিত করুন যে একটি সেশনের মধ্যে সমস্ত প্লেস অটোকম্পলিট, প্লেস ডিটেইলস এবং অ্যাড্রেস ভ্যালিডেশন অনুরোধের জন্য ব্যবহৃত শংসাপত্রগুলি একই ক্লাউড কনসোল প্রকল্পের অন্তর্গত।
  • প্রতিটি নতুন সেশনের জন্য একটি অনন্য সেশন টোকেন পাস করতে ভুলবেন না। একাধিক সেশনের জন্য একই টোকেন ব্যবহার করলে প্রতিটি অনুরোধের জন্য পৃথকভাবে বিল করা হবে।

ছবি

একটি স্থানের ছবির তথ্য।

ক্ষেত্র
name

string

শনাক্তকারী। এই স্থানের ছবি দেখানোর জন্য একটি রেফারেন্স যা এই স্থানের ছবি আবার খুঁজতে ব্যবহার করা যেতে পারে (এটিকে API "resource" নামও বলা হয়: places/{place_id}/photos/{photo} )।

width_px

int32

সর্বাধিক উপলব্ধ প্রস্থ, পিক্সেলের মধ্যে।

height_px

int32

সর্বাধিক উপলব্ধ উচ্চতা, পিক্সেলের মাধ্যমে।

author_attributions[]

AuthorAttribution

এই ছবির লেখকরা।

flag_content_uri

string

একটি লিঙ্ক যেখানে ব্যবহারকারীরা ছবির সমস্যা চিহ্নিত করতে পারেন।

google_maps_uri

string

গুগল ম্যাপে ছবিটি দেখানোর জন্য একটি লিঙ্ক।

ফটোমিডিয়া

Places API থেকে একটি ফটো মিডিয়া।

ক্ষেত্র
name

string

একটি ফটো মিডিয়ার রিসোর্স নাম এই ফর্ম্যাটে: places/{place_id}/photos/{photo_reference}/media

photo_uri

string

একটি স্বল্পস্থায়ী ইউরি যা ছবি রেন্ডার করতে ব্যবহার করা যেতে পারে।

স্থান

একটি স্থানের প্রতিনিধিত্বকারী সমস্ত তথ্য।

ক্ষেত্র
name

string

এই স্থানের রিসোর্স নাম, places/{place_id} ফর্ম্যাটে। স্থানটি অনুসন্ধান করতে ব্যবহার করা যেতে পারে।

id

string

একটি স্থানের অনন্য শনাক্তকারী।

display_name

LocalizedText

স্থানটির স্থানীয় নাম, যা মানুষের পঠনযোগ্য একটি সংক্ষিপ্ত বর্ণনা হিসেবে উপযুক্ত। উদাহরণস্বরূপ, "গুগল সিডনি", "স্টারবাকস", "পাইরমন্ট" ইত্যাদি।

types[]

string

এই ফলাফলের জন্য টাইপ ট্যাগের একটি সেট। উদাহরণস্বরূপ, "রাজনৈতিক" এবং "স্থানীয়তা"। সম্ভাব্য মানের সম্পূর্ণ তালিকার জন্য, https://developers.google.com/maps/documentation/places/web-service/place-types- এ টেবিল A ​​এবং টেবিল B দেখুন।

primary_type

string

প্রদত্ত ফলাফলের প্রাথমিক ধরণ। এই ধরণটি অবশ্যই Places API সমর্থিত প্রকারগুলির মধ্যে একটি হতে হবে। উদাহরণস্বরূপ, "রেস্তোরাঁ", "ক্যাফে", "বিমানবন্দর", ইত্যাদি। একটি স্থানের শুধুমাত্র একটি প্রাথমিক ধরণ থাকতে পারে। সম্ভাব্য মানের সম্পূর্ণ তালিকার জন্য, https://developers.google.com/maps/documentation/places/web-service/place-types এ টেবিল A ​​এবং টেবিল B দেখুন। যদি স্থানের প্রাথমিক ধরণটি সমর্থিত প্রকার না হয় তবে প্রাথমিক ধরণটি অনুপস্থিত থাকতে পারে। যখন একটি প্রাথমিক ধরণ উপস্থিত থাকে, তখন এটি সর্বদা types ক্ষেত্রের প্রকারগুলির মধ্যে একটি থাকে।

primary_type_display_name

LocalizedText

প্রাথমিক ধরণের প্রদর্শন নাম, প্রযোজ্য হলে অনুরোধের ভাষায় স্থানীয়করণ করা হয়েছে। সম্ভাব্য মানগুলির সম্পূর্ণ তালিকার জন্য, https://developers.google.com/maps/documentation/places/web-service/place-types এ সারণি A এবং সারণি B দেখুন। স্থানের প্রাথমিক প্রকারটি সমর্থিত প্রকার না হলে প্রাথমিক প্রকারটি অনুপস্থিত থাকতে পারে।

national_phone_number

string

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

international_phone_number

string

আন্তর্জাতিক ফর্ম্যাটে, স্থানটির জন্য একটি মানুষের পঠনযোগ্য ফোন নম্বর।

formatted_address

string

এই জায়গার জন্য একটি সম্পূর্ণ, মানুষের পঠনযোগ্য ঠিকানা।

short_formatted_address

string

এই জায়গার জন্য একটি সংক্ষিপ্ত, মানুষ পঠনযোগ্য ঠিকানা।

postal_address

PostalAddress

ডাক ঠিকানা বিন্যাসে ঠিকানা।

address_components[]

AddressComponent

প্রতিটি লোকালটি লেভেলের জন্য পুনরাবৃত্তি করা উপাদান। address_components[] অ্যারে সম্পর্কে নিম্নলিখিত তথ্যগুলি লক্ষ্য করুন: - ঠিকানা উপাদানগুলির অ্যারেতে formatted_address এর চেয়ে বেশি উপাদান থাকতে পারে। - অ্যারেতে অগত্যা সমস্ত রাজনৈতিক সত্তা অন্তর্ভুক্ত থাকে না যেগুলি একটি ঠিকানা ধারণ করে, formated_address এ অন্তর্ভুক্ত থাকা ব্যতীত। একটি নির্দিষ্ট ঠিকানা ধারণকারী সমস্ত রাজনৈতিক সত্তা পুনরুদ্ধার করতে, আপনার অনুরোধের প্যারামিটার হিসাবে ঠিকানার অক্ষাংশ/দ্রাঘিমাংশ অতিক্রম করে বিপরীত জিওকোডিং ব্যবহার করা উচিত। - অনুরোধগুলির মধ্যে প্রতিক্রিয়ার ফর্ম্যাট একই থাকবে তা নিশ্চিত নয়। বিশেষ করে, অনুরোধ করা ঠিকানার উপর ভিত্তি করে address_components এর সংখ্যা পরিবর্তিত হয় এবং একই ঠিকানার জন্য সময়ের সাথে সাথে পরিবর্তিত হতে পারে। একটি উপাদান অ্যারেতে অবস্থান পরিবর্তন করতে পারে। উপাদানের ধরণ পরিবর্তন হতে পারে। পরবর্তী প্রতিক্রিয়ায় একটি নির্দিষ্ট উপাদান অনুপস্থিত থাকতে পারে।

plus_code

PlusCode

স্থানের অবস্থানের প্লাস কোড অক্ষাংশ/দীর্ঘ।

location

LatLng

এই জায়গার অবস্থান।

viewport

Viewport

একটি মাঝারি আকারের মানচিত্রে স্থানটি প্রদর্শনের জন্য উপযুক্ত একটি ভিউপোর্ট। এই ভিউপোর্টটি ব্যবসার ভৌত সীমানা বা পরিষেবা এলাকা হিসাবে ব্যবহার করা উচিত নয়।

rating

double

এই জায়গাটির ব্যবহারকারীর পর্যালোচনার উপর ভিত্তি করে ১.০ থেকে ৫.০ রেটিং।

google_maps_uri

string

এই জায়গা সম্পর্কে আরও তথ্য প্রদানকারী একটি URL।

website_uri

string

এই জায়গার জন্য অনুমোদিত ওয়েবসাইট, যেমন একটি ব্যবসার হোমপেজ। মনে রাখবেন যে যে জায়গাগুলি একটি চেইনের অংশ (যেমন একটি IKEA স্টোর), এটি সাধারণত ব্যক্তিগত স্টোরের ওয়েবসাইট হবে, সামগ্রিক চেইনের জন্য নয়।

reviews[]

Review

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

regular_opening_hours

OpeningHours

নিয়মিত কাজের সময়। মনে রাখবেন যে যদি কোনও স্থান সর্বদা খোলা থাকে (২৪ ঘন্টা), তাহলে close ক্ষেত্রটি সেট করা হবে না। ক্লায়েন্টরা সর্বদা খোলা (২৪ ঘন্টা) এর উপর নির্ভর করতে পারেন যা একটি open সময়কাল হিসাবে উপস্থাপিত হয় যার মান 0 সহ day , মান 0 সহ hour এবং মান 0 সহ minute

time_zone

TimeZone

IANA টাইম জোন ডাটাবেস টাইম জোন। উদাহরণস্বরূপ "আমেরিকা/নিউইয়র্ক"।

photos[]

Photo

এই স্থানের ছবি সম্পর্কে তথ্য (রেফারেন্স সহ)। সর্বাধিক ১০টি ছবি ফেরত দেওয়া যাবে।

adr_format_address

string

adr মাইক্রোফরম্যাটে স্থানটির ঠিকানা: http://microformats.org/wiki/adr

business_status

BusinessStatus

স্থানটির ব্যবসায়িক অবস্থা।

price_level

PriceLevel

স্থানের দামের স্তর।

attributions[]

Attribution

এই ফলাফলের সাথে অবশ্যই দেখানো হবে এমন ডেটা প্রদানকারীর একটি সেট।

icon_mask_base_uri

string

একটি আইকন মাস্কের একটি ছোট URL। ব্যবহারকারী শেষে টাইপ সাফিক্স (যেমন, ".svg" অথবা ".png") যোগ করে বিভিন্ন ধরণের আইকন অ্যাক্সেস করতে পারেন।

icon_background_color

string

আইকন_মাস্কের পটভূমির রঙ হেক্স ফর্ম্যাটে, যেমন #909CE1।

current_opening_hours

OpeningHours

পরবর্তী সাত দিনের (আজ সহ) কাজের সময়সূচী। সময়কাল অনুরোধের তারিখের মধ্যরাতে শুরু হয় এবং ছয় দিন পরে রাত ১১:৫৯ এ শেষ হয়। এই ক্ষেত্রটিতে সমস্ত ঘন্টার বিশেষ_দিনের উপক্ষেত্র অন্তর্ভুক্ত রয়েছে, যে তারিখগুলিতে ব্যতিক্রমী ঘন্টা রয়েছে তার জন্য সেট করা হয়েছে।

current_secondary_opening_hours[]

OpeningHours

Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.

regular_secondary_opening_hours[]

OpeningHours

Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.

editorial_summary

LocalizedText

Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.

payment_options

PaymentOptions

Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.

parking_options

ParkingOptions

Options of parking provided by the place.

sub_destinations[]

SubDestination

A list of sub-destinations related to the place.

fuel_options

FuelOptions

The most recent information about fuel options in a gas station. This information is updated regularly.

ev_charge_options

EVChargeOptions

Information of ev charging options.

generative_summary

GenerativeSummary

AI-generated summary of the place.

containing_places[]

ContainingPlace

List of places in which the current place is located.

address_descriptor

AddressDescriptor

The address descriptor of the place. Address descriptors include additional information that help describe a location using landmarks and areas. See address descriptor regional coverage in https://developers.google.com/maps/documentation/geocoding/address-descriptors/coverage .

price_range

PriceRange

The price range associated with a Place.

review_summary

ReviewSummary

AI-generated summary of the place using user reviews.

ev_charge_amenity_summary

EvChargeAmenitySummary

The summary of amenities near the EV charging station.

neighborhood_summary

NeighborhoodSummary

A summary of points of interest near the place.

consumer_alert

ConsumerAlert

The consumer alert message for the place when we detect suspicious review activity on a business or a business violates our policies.

moved_place

string

If this Place is permanently closed and has moved to a new Place, this field contains the new Place's resource name, in places/{place_id} format. If this Place moved multiple times, this field will represent the first moved place. This field will not be populated if this Place has not moved.

moved_place_id

string

If this Place is permanently closed and has moved to a new Place, this field contains the new Place's place ID. If this Place moved multiple times, this field will represent the first moved Place. This field will not be populated if this Place has not moved.

utc_offset_minutes

int32

Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, eg X hours and 15 minutes.

user_rating_count

int32

The total number of reviews (with or without text) for this place.

takeout

bool

Specifies if the business supports takeout.

delivery

bool

Specifies if the business supports delivery.

dine_in

bool

Specifies if the business supports indoor or outdoor seating options.

curbside_pickup

bool

Specifies if the business supports curbside pickup.

reservable

bool

Specifies if the place supports reservations.

serves_breakfast

bool

Specifies if the place serves breakfast.

serves_lunch

bool

Specifies if the place serves lunch.

serves_dinner

bool

Specifies if the place serves dinner.

serves_beer

bool

Specifies if the place serves beer.

serves_wine

bool

Specifies if the place serves wine.

serves_brunch

bool

Specifies if the place serves brunch.

serves_vegetarian_food

bool

Specifies if the place serves vegetarian food.

outdoor_seating

bool

Place provides outdoor seating.

live_music

bool

Place provides live music.

menu_for_children

bool

Place has a children's menu.

serves_cocktails

bool

Place serves cocktails.

serves_dessert

bool

Place serves dessert.

serves_coffee

bool

Place serves coffee.

good_for_children

bool

Place is good for children.

allows_dogs

bool

Place allows dogs.

restroom

bool

Place has restroom.

good_for_groups

bool

Place accommodates groups.

good_for_watching_sports

bool

Place is suitable for watching sports.

accessibility_options

AccessibilityOptions

Information about the accessibility options a place offers.

pure_service_area_business

bool

Indicates whether the place is a pure service area business. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or location on Google Maps.

AccessibilityOptions

Information about the accessibility options a place offers.

ক্ষেত্র
wheelchair_accessible_parking

bool

Place offers wheelchair accessible parking.

wheelchair_accessible_entrance

bool

Places has wheelchair accessible entrance.

wheelchair_accessible_restroom

bool

Place has wheelchair accessible restroom.

wheelchair_accessible_seating

bool

Place has wheelchair accessible seating.

AddressComponent

The structured components that form the formatted address, if this information is available.

ক্ষেত্র
long_text

string

The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of "Australia".

short_text

string

An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of "AU".

types[]

string

An array indicating the type(s) of the address component.

language_code

string

The language used to format this components, in CLDR notation.

গুণাবলী

Information about data providers of this place.

ক্ষেত্র
provider

string

Name of the Place's data provider.

provider_uri

string

URI to the Place's data provider.

BusinessStatus

Business status for the place.

Enums
BUSINESS_STATUS_UNSPECIFIED Default value. This value is unused.
OPERATIONAL The establishment is operational, not necessarily open now.
CLOSED_TEMPORARILY The establishment is temporarily closed.
CLOSED_PERMANENTLY The establishment is permanently closed.

ConsumerAlert

The consumer alert message for the place when we detect suspicious review activity on a business or a business violates our policies.

ক্ষেত্র
overview

string

The overview of the consumer alert message.

details

Details

The details of the consumer alert message.

language_code

string

The language code of the consumer alert message. This is a BCP 47 language code.

বিস্তারিত

The details of the consumer alert message.

ক্ষেত্র
title

string

The title to show together with the description.

description

string

The description of the consumer alert message.

ContainingPlace

Info about the place in which this place is located.

ক্ষেত্র
name

string

The resource name of the place in which this place is located.

id

string

The place id of the place in which this place is located.

EvChargeAmenitySummary

The summary of amenities near the EV charging station. This only applies to places with type electric_vehicle_charging_station . The overview field is guaranteed to be provided while the other fields are optional.

ক্ষেত্র
overview

ContentBlock

An overview of the available amenities. This is guaranteed to be provided.

coffee

ContentBlock

A summary of the nearby coffee options.

restaurant

ContentBlock

A summary of the nearby restaurants.

store

ContentBlock

A summary of the nearby stores.

flag_content_uri

string

A link where users can flag a problem with the summary.

disclosure_text

LocalizedText

The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available.

GenerativeSummary

AI-generated summary of the place.

ক্ষেত্র
overview

LocalizedText

The overview of the place.

overview_flag_content_uri

string

A link where users can flag a problem with the overview summary.

disclosure_text

LocalizedText

The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available.

NeighborhoodSummary

A summary of points of interest near the place.

ক্ষেত্র
overview

ContentBlock

An overview summary of the neighborhood.

description

ContentBlock

A detailed description of the neighborhood.

flag_content_uri

string

A link where users can flag a problem with the summary.

disclosure_text

LocalizedText

The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available.

OpeningHours

Information about business hour of the place.

ক্ষেত্র
periods[]

Period

The periods that this place is open during the week. The periods are in chronological order, in the place-local timezone. An empty (but not absent) value indicates a place that is never open, eg because it is closed temporarily for renovations.

The starting day of periods is NOT fixed and should not be assumed to be Sunday. The API determines the start day based on a variety of factors. For example, for a 24/7 business, the first period may begin on the day of the request. For other businesses, it might be the first day of the week that they are open.

NOTE: The ordering of the periods array is independent of the ordering of the weekday_descriptions array. Do not assume they will begin on the same day.

weekday_descriptions[]

string

Localized strings describing the opening hours of this place, one string for each day of the week.

NOTE: The order of the days and the start of the week is determined by the locale (language and region). The ordering of the periods array is independent of the ordering of the weekday_descriptions array. Do not assume they will begin on the same day.

Will be empty if the hours are unknown or could not be converted to localized text. Example: "Sun: 18:00–06:00"

secondary_hours_type

SecondaryHoursType

A type string used to identify the type of secondary hours.

special_days[]

SpecialDay

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, eg Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.

next_open_time

Timestamp

The next time the current opening hours period starts up to 7 days in the future. This field is only populated if the opening hours period is not active at the time of serving the request.

next_close_time

Timestamp

The next time the current opening hours period ends up to 7 days in the future. This field is only populated if the opening hours period is active at the time of serving the request.

open_now

bool

Whether the opening hours period is currently active. For regular opening hours and current opening hours, this field means whether the place is open. For secondary opening hours and current secondary opening hours, this field means whether the secondary hours of this place is active.

সময়কাল

A period the place remains in open_now status.

ক্ষেত্র
open

Point

The time that the place starts to be open.

close

Point

The time that the place starts to be closed.

বিন্দু

Status changing points.

ক্ষেত্র
date

Date

Date in the local timezone for the place.

truncated

bool

Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.

day

int32

A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.

hour

int32

The hour in 24 hour format. Ranges from 0 to 23.

minute

int32

The minute. Ranges from 0 to 59.

SecondaryHoursType

A type used to identify the type of secondary hours.

Enums
SECONDARY_HOURS_TYPE_UNSPECIFIED Default value when secondary hour type is not specified.
DRIVE_THROUGH The drive-through hour for banks, restaurants, or pharmacies.
HAPPY_HOUR The happy hour.
DELIVERY The delivery hour.
TAKEOUT The takeout hour.
KITCHEN The kitchen hour.
BREAKFAST The breakfast hour.
LUNCH The lunch hour.
DINNER The dinner hour.
BRUNCH The brunch hour.
PICKUP The pickup hour.
ACCESS The access hours for storage places.
SENIOR_HOURS The special hours for seniors.
ONLINE_SERVICE_HOURS The online service hours.

SpecialDay

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, eg Christmas day.

ক্ষেত্র
date

Date

The date of this special day.

ParkingOptions

Information about parking options for the place. A parking lot could support more than one option at the same time.

ক্ষেত্র
free_parking_lot

bool

Place offers free parking lots.

paid_parking_lot

bool

Place offers paid parking lots.

free_street_parking

bool

Place offers free street parking.

paid_street_parking

bool

Place offers paid street parking.

valet_parking

bool

Place offers valet parking.

free_garage_parking

bool

Place offers free garage parking.

paid_garage_parking

bool

Place offers paid garage parking.

PaymentOptions

Payment options the place accepts.

ক্ষেত্র
accepts_credit_cards

bool

Place accepts credit cards as payment.

accepts_debit_cards

bool

Place accepts debit cards as payment.

accepts_cash_only

bool

Place accepts cash only as payment. Places with this attribute may still accept other payment methods.

accepts_nfc

bool

Place accepts NFC payments.

PlusCode

Plus code ( http://plus.codes ) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.

ক্ষেত্র
global_code

string

Place's global (full) code, such as "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).

compound_code

string

Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.

ReviewSummary

AI-generated summary of the place using user reviews.

ক্ষেত্র
text

LocalizedText

The summary of user reviews.

flag_content_uri

string

A link where users can flag a problem with the summary.

disclosure_text

LocalizedText

The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available.

reviews_uri

string

A link to show reviews of this place on Google Maps.

SubDestination

Sub-destinations are specific places associated with a main place. These provide more specific destinations for users who are searching within a large or complex place, like an airport, national park, university, or stadium. For example, sub-destinations at an airport might include associated terminals and parking lots. Sub-destinations return the place ID and place resource name, which can be used in subsequent Place Details (New) requests to fetch richer details, including the sub-destination's display name and location.

ক্ষেত্র
name

string

The resource name of the sub-destination.

id

string

The place id of the sub-destination.

Polyline

A route polyline. Only supports an encoded polyline , which can be passed as a string and includes compression with minimal lossiness. This is the Routes API default output.

ক্ষেত্র
Union field polyline_type . Encapsulates the type of polyline. Routes API output defaults to encoded_polyline . polyline_type can be only one of the following:
encoded_polyline

string

An encoded polyline , as returned by the Routes API by default . See the encoder and decoder tools.

PriceLevel

Price level of the place.

Enums
PRICE_LEVEL_UNSPECIFIED Place price level is unspecified or unknown.
PRICE_LEVEL_FREE Place provides free services.
PRICE_LEVEL_INEXPENSIVE Place provides inexpensive services.
PRICE_LEVEL_MODERATE Place provides moderately priced services.
PRICE_LEVEL_EXPENSIVE Place provides expensive services.
PRICE_LEVEL_VERY_EXPENSIVE Place provides very expensive services.

PriceRange

The price range associated with a Place. end_price could be unset, which indicates a range without upper bound (eg "More than $100").

ক্ষেত্র
start_price

Money

The low end of the price range (inclusive). Price should be at or above this amount.

end_price

Money

The high end of the price range (exclusive). Price should be lower than this amount.

পর্যালোচনা

Information about a review of a place.

ক্ষেত্র
name

string

A reference representing this place review which may be used to look up this place review again (also called the API "resource" name: places/{place_id}/reviews/{review} ).

relative_publish_time_description

string

A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.

text

LocalizedText

The localized text of the review.

original_text

LocalizedText

The review text in its original language.

rating

double

A number between 1.0 and 5.0, also called the number of stars.

author_attribution

AuthorAttribution

This review's author.

publish_time

Timestamp

Timestamp for the review.

flag_content_uri

string

A link where users can flag a problem with the review.

google_maps_uri

string

A link to show the review on Google Maps.

visit_date

Date

The date when the author visited the place. This is truncated to the year and month of the visit.

RouteModifiers

Encapsulates a set of optional conditions to satisfy when calculating the routes.

ক্ষেত্র
avoid_tolls

bool

Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not containing toll roads. Applies only to the DRIVE and TWO_WHEELER TravelMode .

avoid_highways

bool

Optional. When set to true, avoids highways where reasonable, giving preference to routes not containing highways. Applies only to the DRIVE and TWO_WHEELER TravelMode .

avoid_ferries

bool

Optional. When set to true, avoids ferries where reasonable, giving preference to routes not containing ferries. Applies only to the DRIVE and TWO_WHEELER TravelMode .

avoid_indoor

bool

Optional. When set to true, avoids navigating indoors where reasonable, giving preference to routes not containing indoor navigation. Applies only to the WALK TravelMode .

RoutingParameters

Parameters to configure the routing calculations to the places in the response, both along a route (where result ranking will be influenced) and for calculating travel times on results.

ক্ষেত্র
origin

LatLng

Optional. An explicit routing origin that overrides the origin defined in the polyline. By default, the polyline origin is used.

travel_mode

TravelMode

Optional. The travel mode.

route_modifiers

RouteModifiers

Optional. The route modifiers.

routing_preference

RoutingPreference

Optional. Specifies how to compute the routing summaries. The server attempts to use the selected routing preference to compute the route. The traffic aware routing preference is only available for the DRIVE or TWO_WHEELER travelMode .

RoutingPreference

A set of values that specify factors to take into consideration when calculating the route.

Enums
ROUTING_PREFERENCE_UNSPECIFIED No routing preference specified. Default to TRAFFIC_UNAWARE .
TRAFFIC_UNAWARE Computes routes without taking live traffic conditions into consideration. Suitable when traffic conditions don't matter or are not applicable. Using this value produces the lowest latency. Note: For TravelMode DRIVE and TWO_WHEELER , the route and duration chosen are based on road network and average time-independent traffic conditions, not current road conditions. Consequently, routes may include roads that are temporarily closed. Results for a given request may vary over time due to changes in the road network, updated average traffic conditions, and the distributed nature of the service. Results may also vary between nearly-equivalent routes at any time or frequency.
TRAFFIC_AWARE Calculates routes taking live traffic conditions into consideration. In contrast to TRAFFIC_AWARE_OPTIMAL , some optimizations are applied to significantly reduce latency.
TRAFFIC_AWARE_OPTIMAL Calculates the routes taking live traffic conditions into consideration, without applying most performance optimizations. Using this value produces the highest latency.

RoutingSummary

The duration and distance from the routing origin to a place in the response, and a second leg from that place to the destination, if requested. Note: Adding routingSummaries in the field mask without also including either the routingParameters.origin parameter or the searchAlongRouteParameters.polyline.encodedPolyline parameter in the request causes an error.

ক্ষেত্র
legs[]

Leg

The legs of the trip.

When you calculate travel duration and distance from a set origin, legs contains a single leg containing the duration and distance from the origin to the destination. When you do a search along route, legs contains two legs: one from the origin to place, and one from the place to the destination.

directions_uri

string

A link to show directions on Google Maps using the waypoints from the given routing summary. The route generated by this link is not guaranteed to be the same as the route used to generate the routing summary. The link uses information provided in the request, from fields including routingParameters and searchAlongRouteParameters when applicable, to generate the directions link.

পা

A leg is a single portion of a journey from one location to another.

ক্ষেত্র
duration

Duration

The time it takes to complete this leg of the trip.

distance_meters

int32

The distance of this leg of the trip.

SearchNearbyRequest

Request proto for Search Nearby.

ক্ষেত্র
language_code

string

Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist.

Current list of supported languages: https://developers.google.com/maps/faq#languagesupport .

region_code

string

The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law.

For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html .

Note that 3-digit region codes are not currently supported.

included_types[]

string

Included Place type (eg, "restaurant" or "gas_station") from https://developers.google.com/maps/documentation/places/web-service/place-types .

Up to 50 types from Table A may be specified.

If there are any conflicting types, ie a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned.

If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do not operate primarily as "restaurants".

excluded_types[]

string

Excluded Place type (eg, "restaurant" or "gas_station") from https://developers.google.com/maps/documentation/places/web-service/place-types .

Up to 50 types from Table A may be specified.

If the client provides both included_types (eg restaurant) and excluded_types (eg cafe), then the response should include places that are restaurant but not cafe. The response includes places that match at least one of the included_types and none of the excluded_types.

If there are any conflicting types, ie a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned.

If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do not operate primarily as "restaurants".

included_primary_types[]

string

Included primary Place type (eg "restaurant" or "gas_station") from https://developers.google.com/maps/documentation/places/web-service/place-types . A place can only have a single primary type from the supported types table associated with it.

Up to 50 types from Table A may be specified.

If there are any conflicting primary types, ie a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned.

If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do not operate primarily as "restaurants".

excluded_primary_types[]

string

Excluded primary Place type (eg "restaurant" or "gas_station") from https://developers.google.com/maps/documentation/places/web-service/place-types .

Up to 50 types from Table A may be specified.

If there are any conflicting primary types, ie a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned.

If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do not operate primarily as "restaurants".

max_result_count

int32

Maximum number of results to return. It must be between 1 and 20 (default), inclusively. If the number is unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an INVALID_ARGUMENT error is returned.

location_restriction

LocationRestriction

Required. The region to search.

rank_preference

RankPreference

How results will be ranked in the response.

routing_parameters

RoutingParameters

Optional. Parameters that affect the routing to the search results.

LocationRestriction

The region to search.

ক্ষেত্র

Union field type .

type can be only one of the following:

circle

Circle

A circle defined by center point and radius.

RankPreference

How results will be ranked in the response.

Enums
RANK_PREFERENCE_UNSPECIFIED RankPreference value not set. Will use rank by POPULARITY by default.
DISTANCE Ranks results by distance.
POPULARITY Ranks results by popularity.

SearchNearbyResponse

Response proto for Search Nearby.

ক্ষেত্র
places[]

Place

A list of places that meets user's requirements like places types, number of places and specific location restriction.

routing_summaries[]

RoutingSummary

A list of routing summaries where each entry associates to the corresponding place in the same index in the places field. If the routing summary is not available for one of the places, it will contain an empty entry. This list should have as many entries as the list of places if requested.

SearchTextRequest

Request proto for SearchText.

ক্ষেত্র
text_query

string

Required. The text query for textual search.

language_code

string

Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist.

Current list of supported languages: https://developers.google.com/maps/faq#languagesupport .

region_code

string

The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law.

For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html .

Note that 3-digit region codes are not currently supported.

rank_preference

RankPreference

How results will be ranked in the response.

included_type

string

The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types . Only support one included type.

open_now

bool

Used to restrict the search to places that are currently open. The default is false.

min_rating

double

Filter out results whose average user rating is strictly less than this limit. A valid value must be a float between 0 and 5 (inclusively) at a 0.5 cadence ie [0, 0.5, 1.0, ... , 5.0] inclusively. The input rating will round up to the nearest 0.5(ceiling). For instance, a rating of 0.6 will eliminate all results with a less than 1.0 rating.

max_result_count
(deprecated)

int32

Deprecated: Use page_size instead.

The maximum number of results per page that can be returned. If the number of available results is larger than max_result_count , a next_page_token is returned which can be passed to page_token to get the next page of results in subsequent requests. If 0 or no value is provided, a default of 20 is used. The maximum value is 20; values above 20 will be coerced to 20. Negative values will return an INVALID_ARGUMENT error.

If both max_result_count and page_size are specified, max_result_count will be ignored.

page_size

int32

Optional. The maximum number of results per page that can be returned. If the number of available results is larger than page_size , a next_page_token is returned which can be passed to page_token to get the next page of results in subsequent requests. If 0 or no value is provided, a default of 20 is used. The maximum value is 20; values above 20 will be set to 20. Negative values will return an INVALID_ARGUMENT error.

If both max_result_count and page_size are specified, max_result_count will be ignored.

page_token

string

Optional. A page token, received from a previous TextSearch call. Provide this to retrieve the subsequent page.

When paginating, all parameters other than page_token , page_size , and max_result_count provided to TextSearch must match the initial call that provided the page token. Otherwise an INVALID_ARGUMENT error is returned.

price_levels[]

PriceLevel

Used to restrict the search to places that are marked as certain price levels. Users can choose any combinations of price levels. Default to select all price levels.

strict_type_filtering

bool

Used to set strict type filtering for included_type. If set to true, only results of the same type will be returned. Default to false.

location_bias

LocationBias

The region to search. This location serves as a bias which means results around given location might be returned. Cannot be set along with location_restriction.

location_restriction

LocationRestriction

The region to search. This location serves as a restriction which means results outside given location will not be returned. Cannot be set along with location_bias.

ev_options

EVOptions

Optional. Set the searchable EV options of a place search request.

routing_parameters

RoutingParameters

Optional. Additional parameters for routing to results.

search_along_route_parameters

SearchAlongRouteParameters

Optional. Additional parameters proto for searching along a route.

include_pure_service_area_businesses

bool

Optional. Include pure service area businesses if the field is set to true. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical address or location on Google Maps. Places will not return fields including location , plus_code , and other location related fields for these businesses.

EVOptions

Searchable EV options of a place search request.

ক্ষেত্র
minimum_charging_rate_kw

double

Optional. Minimum required charging rate in kilowatts. A place with a charging rate less than the specified rate is filtered out.

connector_types[]

EVConnectorType

Optional. The list of preferred EV connector types. A place that does not support any of the listed connector types is filtered out.

LocationBias

The region to search. This location serves as a bias which means results around given location might be returned.

ক্ষেত্র

Union field type .

type can be only one of the following:

rectangle

Viewport

A rectangle box defined by northeast and southwest corner. rectangle.high() must be the northeast point of the rectangle viewport. rectangle.low() must be the southwest point of the rectangle viewport. rectangle.low().latitude() cannot be greater than rectangle.high().latitude() . This will result in an empty latitude range. A rectangle viewport cannot be wider than 180 degrees.

circle

Circle

A circle defined by center point and radius.

LocationRestriction

The region to search. This location serves as a restriction which means results outside given location will not be returned.

ক্ষেত্র

Union field type .

type can be only one of the following:

rectangle

Viewport

A rectangle box defined by northeast and southwest corner. rectangle.high() must be the northeast point of the rectangle viewport. rectangle.low() must be the southwest point of the rectangle viewport. rectangle.low().latitude() cannot be greater than rectangle.high().latitude() . This will result in an empty latitude range. A rectangle viewport cannot be wider than 180 degrees.

RankPreference

How results will be ranked in the response.

Enums
RANK_PREFERENCE_UNSPECIFIED For a categorical query such as "Restaurants in New York City", RELEVANCE is the default. For non-categorical queries such as "Mountain View, CA" we recommend that you leave rankPreference unset.
DISTANCE Ranks results by distance.
RELEVANCE Ranks results by relevance. Sort order determined by normal ranking stack.

SearchAlongRouteParameters

Specifies a precalculated polyline from the Routes API defining the route to search. Searching along a route is similar to using the locationBias or locationRestriction request option to bias the search results. However, while the locationBias and locationRestriction options let you specify a region to bias the search results, this option lets you bias the results along a trip route.

Results are not guaranteed to be along the route provided, but rather are ranked within the search area defined by the polyline and, optionally, by the locationBias or locationRestriction based on minimal detour times from origin to destination. The results might be along an alternate route, especially if the provided polyline does not define an optimal route from origin to destination.

ক্ষেত্র
polyline

Polyline

Required. The route polyline.

SearchTextResponse

Response proto for SearchText.

ক্ষেত্র
places[]

Place

A list of places that meet the user's text search criteria.

routing_summaries[]

RoutingSummary

A list of routing summaries where each entry associates to the corresponding place in the same index in the places field. If the routing summary is not available for one of the places, it will contain an empty entry. This list will have as many entries as the list of places if requested.

contextual_contents[]

ContextualContent

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the text_query in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list will have as many entries as the list of places if requested.

next_page_token

string

A token that can be sent as page_token to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.

search_uri

string

A link allows the user to search with the same text query as specified in the request on Google Maps.

TravelMode

Travel mode options. These options map to what Routes API offers .

Enums
TRAVEL_MODE_UNSPECIFIED No travel mode specified. Defaults to DRIVE .
DRIVE Travel by passenger car.
BICYCLE Travel by bicycle. Not supported with search_along_route_parameters .
WALK Travel by walking. Not supported with search_along_route_parameters .
TWO_WHEELER Motorized two wheeled vehicles of all kinds such as scooters and motorcycles. Note that this is distinct from the BICYCLE travel mode which covers human-powered transport. Not supported with search_along_route_parameters . Only supported in those countries listed at Countries and regions supported for two-wheeled vehicles .