File
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি স্ক্রিপ্ট প্রকল্পের মধ্যে একটি পৃথক ফাইল। একটি ফাইল হল একটি তৃতীয় পক্ষের সোর্স কোড যা এক বা একাধিক ডেভেলপার দ্বারা তৈরি করা হয়। এটি একটি সার্ভার-সাইড জেএস কোড, এইচটিএমএল বা একটি কনফিগারেশন ফাইল হতে পারে। প্রতিটি স্ক্রিপ্ট প্রকল্পে একাধিক ফাইল থাকতে পারে।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"type": enum (FileType ),
"source": string,
"lastModifyUser": {
object (User )
},
"createTime": string,
"updateTime": string,
"functionSet": {
object (FunctionSet )
}
} |
ক্ষেত্র |
---|
name | string ফাইলের নাম। ফাইল এক্সটেনশন ফাইল নামের অংশ নয়, যা টাইপ ক্ষেত্র থেকে সনাক্ত করা যেতে পারে। |
type | enum ( FileType ) ফাইলের ধরন। |
source | string ফাইলের বিষয়বস্তু। |
lastModifyUser | object ( User ) যে ব্যবহারকারী সম্প্রতি ফাইলটি পরিবর্তন করেছেন। এই অবজেক্টে দৃশ্যমান বিবরণগুলি সর্বশেষ পরিবর্তনকারী ব্যবহারকারীর প্রোফাইল দৃশ্যমানতা সেটিংস দ্বারা নিয়ন্ত্রিত হয়। |
createTime | string ( Timestamp format) তৈরির তারিখ টাইমস্ট্যাম্প। RFC3339 UTC "জুলু" ফর্ম্যাটে একটি টাইমস্ট্যাম্প, ন্যানোসেকেন্ড রেজোলিউশন এবং নয়টি পর্যন্ত ভগ্নাংশের সংখ্যা। উদাহরণ: "2014-10-02T15:01:23Z" এবং "2014-10-02T15:01:23.045123456Z" । |
updateTime | string ( Timestamp format) শেষ পরিবর্তিত তারিখ টাইমস্ট্যাম্প। RFC3339 UTC "জুলু" ফর্ম্যাটে একটি টাইমস্ট্যাম্প, ন্যানোসেকেন্ড রেজোলিউশন এবং নয়টি পর্যন্ত ভগ্নাংশের সংখ্যা। উদাহরণ: "2014-10-02T15:01:23Z" এবং "2014-10-02T15:01:23.045123456Z" । |
functionSet | object ( FunctionSet ) স্ক্রিপ্ট ফাইলে ফাংশনের সংজ্ঞায়িত সেট, যদি থাকে। |
ফাইলের প্রকার
বিভিন্ন ধরনের ফাইলের একটি গণনা।
এনামস |
---|
ENUM_TYPE_UNSPECIFIED | অনির্ধারিত ফাইলের ধরন; আসলে ব্যবহার করা হয় না। |
SERVER_JS | একটি Apps স্ক্রিপ্ট সার্ভার-সাইড কোড ফাইল। |
HTML | ক্লায়েন্ট-সাইড HTML ধারণকারী একটি ফাইল। |
JSON | JSON ফর্ম্যাটে একটি ফাইল। এই প্রকারটি শুধুমাত্র স্ক্রিপ্ট প্রকল্পের ম্যানিফেস্টের জন্য ব্যবহৃত হয়। ম্যানিফেস্ট ফাইলের বিষয়বস্তু অবশ্যই একটি বৈধ ScriptManifest এর কাঠামোর সাথে মেলে |
ফাংশনসেট
ফাংশন একটি সেট. কোন ডুপ্লিকেট অনুমোদিত হয়.
JSON প্রতিনিধিত্ব |
---|
{
"values": [
{
object (Function )
}
]
} |
ক্ষেত্র |
---|
values[] | object ( Function ) সেট কম্পোজ ফাংশন একটি তালিকা. |
ফাংশন
একটি স্ক্রিপ্ট প্রকল্পে একটি ফাংশন প্রতিনিধিত্ব করে।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"parameters": [
string
]
} |
ক্ষেত্র |
---|
name | string স্ক্রিপ্ট প্রকল্পে ফাংশনের নাম। |
parameters[] | string স্ক্রিপ্ট প্রজেক্টে ফাংশনের প্যারামিটার নামের অর্ডারকৃত তালিকা। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-14 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-14 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eA file in a script project represents third-party source code and can be server-side JS, HTML, or a configuration file.\u003c/p\u003e\n"],["\u003cp\u003eEach script project can contain multiple files, each with properties like name, type, source code, and modification details.\u003c/p\u003e\n"],["\u003cp\u003eFiles can contain a set of functions, each defined by its name and parameters, contributing to the script's functionality.\u003c/p\u003e\n"],["\u003cp\u003eFiles can be of various types, including server-side JavaScript, HTML, JSON for the project manifest, ensuring diverse script capabilities.\u003c/p\u003e\n"]]],[],null,["# File\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [FileType](#FileType)\n- [FunctionSet](#FunctionSet)\n - [JSON representation](#FunctionSet.SCHEMA_REPRESENTATION)\n- [Function](#Function)\n - [JSON representation](#Function.SCHEMA_REPRESENTATION)\n\nAn individual file within a script project. A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"type\": enum (/apps-script/api/reference/rest/v1/File#FileType), \"source\": string, \"lastModifyUser\": { object (/apps-script/api/reference/rest/v1/projects#User) }, \"createTime\": string, \"updateTime\": string, \"functionSet\": { object (/apps-script/api/reference/rest/v1/File#FunctionSet) } } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the file. The file extension is not part of the file name, which can be identified from the type field. |\n| `type` | `enum (`[FileType](/apps-script/api/reference/rest/v1/File#FileType)`)` The type of the file. |\n| `source` | `string` The file content. |\n| `lastModifyUser` | `object (`[User](/apps-script/api/reference/rest/v1/projects#User)`)` The user who modified the file most recently. The details visible in this object are controlled by the profile visibility settings of the last modifying user. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Creation date timestamp. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Last modified date timestamp. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `functionSet` | `object (`[FunctionSet](/apps-script/api/reference/rest/v1/File#FunctionSet)`)` The defined set of functions in the script file, if any. |\n\nFileType\n--------\n\nAn enumeration of different types of files.\n\n| Enums ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ENUM_TYPE_UNSPECIFIED` | Undetermined file type; never actually used. |\n| `SERVER_JS` | An Apps Script server-side code file. |\n| `HTML` | A file containing client-side HTML. |\n| `JSON` | A file in JSON format. This type is only used for the script project's manifest. The manifest file content must match the structure of a valid [ScriptManifest](/apps-script/concepts/manifests) |\n\nFunctionSet\n-----------\n\nA set of functions. No duplicates are permitted.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------|\n| ``` { \"values\": [ { object (/apps-script/api/reference/rest/v1/File#Function) } ] } ``` |\n\n| Fields ||\n|------------|------------------------------------------------------------------------------------------------------------------|\n| `values[]` | `object (`[Function](/apps-script/api/reference/rest/v1/File#Function)`)` A list of functions composing the set. |\n\nFunction\n--------\n\nRepresents a function in a script project.\n\n| JSON representation |\n|------------------------------------------------------|\n| ``` { \"name\": string, \"parameters\": [ string ] } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------|\n| `name` | `string` The function name in the script project. |\n| `parameters[]` | `string` The ordered list of parameter names of the function in the script project. |"]]