REST Resource: documents

উৎস: নথি

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

JSON উপস্থাপনা
{
  "documentId": string,
  "title": string,
  "tabs": [
    {
      object (Tab)
    }
  ],
  "revisionId": string,
  "suggestionsViewMode": enum (SuggestionsViewMode),
  "body": {
    object (Body)
  },
  "headers": {
    string: {
      object (Header)
    },
    ...
  },
  "footers": {
    string: {
      object (Footer)
    },
    ...
  },
  "footnotes": {
    string: {
      object (Footnote)
    },
    ...
  },
  "documentStyle": {
    object (DocumentStyle)
  },
  "suggestedDocumentStyleChanges": {
    string: {
      object (SuggestedDocumentStyle)
    },
    ...
  },
  "namedStyles": {
    object (NamedStyles)
  },
  "suggestedNamedStylesChanges": {
    string: {
      object (SuggestedNamedStyles)
    },
    ...
  },
  "lists": {
    string: {
      object (List)
    },
    ...
  },
  "namedRanges": {
    string: {
      object (NamedRanges)
    },
    ...
  },
  "inlineObjects": {
    string: {
      object (InlineObject)
    },
    ...
  },
  "positionedObjects": {
    string: {
      object (PositionedObject)
    },
    ...
  }
}
ক্ষেত্র
documentId

string

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

title

string

নথিটির শিরোনাম।

tabs[]

object ( Tab )

ট্যাবগুলো কোনো ডকুমেন্টের অংশ।

ট্যাবের মধ্যে চাইল্ড ট্যাব থাকতে পারে, অর্থাৎ একটি ট্যাবের ভেতরে আরেকটি ট্যাব থাকতে পারে। চাইল্ড ট্যাবগুলোকে Tab.childTabs ফিল্ড দ্বারা প্রকাশ করা হয়।

revisionId

string

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

রিভিশন আইডি কোনো ক্রমিক সংখ্যা নয়, বরং এটি একটি অস্বচ্ছ স্ট্রিং। সময়ের সাথে সাথে রিভিশন আইডির ফরম্যাট পরিবর্তিত হতে পারে। ফেরত আসা রিভিশন আইডিটি ফেরত দেওয়ার পর শুধুমাত্র ২৪ ঘণ্টার জন্য বৈধ থাকার নিশ্চয়তা দেয় এবং এটি ব্যবহারকারীদের মধ্যে শেয়ার করা যায় না। যদি দুটি কলের মধ্যে রিভিশন আইডি অপরিবর্তিত থাকে, তাহলে ডকুমেন্টটি পরিবর্তিত হয়নি। এর বিপরীতে, একটি পরিবর্তিত আইডি (একই ডকুমেন্ট এবং ব্যবহারকারীর জন্য) সাধারণত বোঝায় যে ডকুমেন্টটি আপডেট করা হয়েছে। তবে, আইডি ফরম্যাট পরিবর্তনের মতো অভ্যন্তরীণ কারণবশতও আইডি পরিবর্তিত হতে পারে।

suggestionsViewMode

enum ( SuggestionsViewMode )

শুধুমাত্র আউটপুট। ডকুমেন্টটিতে সাজেশন ভিউ মোড প্রয়োগ করা হয়েছে।

দ্রষ্টব্য: কোনো ডকুমেন্ট সম্পাদনা করার সময়, পরিবর্তনগুলি অবশ্যই SUGGESTIONS_INLINE যুক্ত ডকুমেন্টের উপর ভিত্তি করে করতে হবে।

body

object ( Body )

শুধুমাত্র আউটপুট। ডকুমেন্টের মূল অংশ।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.body ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

headers

map (key: string, value: object ( Header ))

শুধুমাত্র আউটপুট। ডকুমেন্টের হেডারগুলো হেডার আইডি দ্বারা চিহ্নিত করা হয়েছে।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.headers ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাবের প্রকৃত ডকুমেন্ট কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

footers

map (key: string, value: object ( Footer ))

শুধুমাত্র আউটপুট। ডকুমেন্টের ফুটারগুলো, ফুটার আইডি দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.footers ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাব সম্পর্কিত তথ্য থাকে।

footnotes

map (key: string, value: object ( Footnote ))

শুধুমাত্র আউটপুট। ডকুমেন্টের পাদটীকাগুলো, পাদটীকা আইডি দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.footnotes ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত বিষয়বস্তু প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

documentStyle

object ( DocumentStyle )

শুধুমাত্র আউটপুট। ডকুমেন্টটির স্টাইল।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.documentStyle ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

suggestedDocumentStyleChanges

map (key: string, value: object ( SuggestedDocumentStyle ))

শুধুমাত্র আউটপুট। সাজেশন আইডি দ্বারা চিহ্নিত, ডকুমেন্টের স্টাইলে প্রস্তাবিত পরিবর্তনগুলো।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.suggestedDocumentStyleChanges ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

namedStyles

object ( NamedStyles )

শুধুমাত্র আউটপুট। ডকুমেন্টটির নামযুক্ত স্টাইলসমূহ।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.namedStyles ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাব সম্পর্কিত তথ্য থাকে।

suggestedNamedStylesChanges

map (key: string, value: object ( SuggestedNamedStyles ))

শুধুমাত্র আউটপুট। সাজেশন আইডি দ্বারা চিহ্নিত, ডকুমেন্টের নামযুক্ত স্টাইলগুলিতে প্রস্তাবিত পরিবর্তনসমূহ।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.suggestedNamedStylesChanges ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

lists

map (key: string, value: object ( List ))

শুধুমাত্র আউটপুট। ডকুমেন্টের তালিকাগুলো, যা তালিকা আইডি দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.lists ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত বিষয়বস্তু প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

namedRanges

map (key: string, value: object ( NamedRanges ))

শুধুমাত্র আউটপুট। ডকুমেন্টের নামযুক্ত রেঞ্জগুলো, যা নাম দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.namedRanges ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

inlineObjects

map (key: string, value: object ( InlineObject ))

শুধুমাত্র আউটপুট। ডকুমেন্টের ইনলাইন অবজেক্টগুলো, যা অবজেক্ট আইডি দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.inlineObjects ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

positionedObjects

map (key: string, value: object ( PositionedObject ))

শুধুমাত্র আউটপুট। ডকুমেন্টে অবস্থিত অবজেক্টগুলো, যা অবজেক্ট আইডি দ্বারা চিহ্নিত।

লিগ্যাসি ফিল্ড: এর পরিবর্তে, Document.tabs.documentTab.positionedObjects ব্যবহার করুন, যা includeTabsContent প্যারামিটারটি true সেট করা থাকলে সমস্ত ট্যাব থেকে ডকুমেন্টের প্রকৃত কন্টেন্ট প্রকাশ করে। যদি false বা সেট করা না থাকে, তাহলে এই ফিল্ডটিতে ডকুমেন্টের প্রথম ট্যাবের তথ্য থাকে।

ট্যাব

ডকুমেন্টের একটি ট্যাব।

JSON উপস্থাপনা
{
  "tabProperties": {
    object (TabProperties)
  },
  "childTabs": [
    {
      object (Tab)
    }
  ],

  "documentTab": {
    object (DocumentTab)
  }
}
ক্ষেত্র
tabProperties

object ( TabProperties )

ট্যাবের বৈশিষ্ট্যগুলো, যেমন আইডি এবং শিরোনাম।

childTabs[]

object ( Tab )

এই ট্যাবের অভ্যন্তরে অবস্থিত চাইল্ড ট্যাবগুলো।

ইউনিয়ন ফিল্ডের content । ট্যাবের বিষয়বস্তু। content নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
documentTab

object ( DocumentTab )

একটি ট্যাব যেখানে ডকুমেন্টের বিষয়বস্তু, যেমন টেক্সট এবং ছবি থাকে।

ট্যাব বৈশিষ্ট্য

একটি ট্যাবের বৈশিষ্ট্যসমূহ।

JSON উপস্থাপনা
{
  "tabId": string,
  "title": string,
  "parentTabId": string,
  "index": integer,
  "nestingLevel": integer,
  "iconEmoji": string
}
ক্ষেত্র
tabId

string

ট্যাবটির অপরিবর্তনীয় আইডি।

title

string

ট্যাবটির দৃশ্যমান নাম।

parentTabId

string

ঐচ্ছিক। প্যারেন্ট ট্যাবের আইডি। বর্তমান ট্যাবটি যখন রুট-লেভেল ট্যাব হয়, তখন এটি খালি থাকে, যার অর্থ হলো এর কোনো প্যারেন্ট নেই।

index

integer

প্যারেন্টের মধ্যে থাকা ট্যাবের শূন্য-ভিত্তিক সূচক।

nestingLevel

integer

শুধুমাত্র আউটপুট। ডকুমেন্টের মধ্যে ট্যাবের গভীরতা। রুট-লেভেল ট্যাব ০ থেকে শুরু হয়।

iconEmoji

string

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

যদি কোনো ইমোজি অবৈধ হয়, তাহলে একটি 400 ব্যাড রিকোয়েস্ট এরর ফেরত দেওয়া হয়।

এই মানটি সেট করা না থাকলে বা খালি থাকলে, ট্যাবটি ডিফল্ট ট্যাব আইকন প্রদর্শন করবে।

ডকুমেন্টট্যাব

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

JSON উপস্থাপনা
{
  "body": {
    object (Body)
  },
  "headers": {
    string: {
      object (Header)
    },
    ...
  },
  "footers": {
    string: {
      object (Footer)
    },
    ...
  },
  "footnotes": {
    string: {
      object (Footnote)
    },
    ...
  },
  "documentStyle": {
    object (DocumentStyle)
  },
  "suggestedDocumentStyleChanges": {
    string: {
      object (SuggestedDocumentStyle)
    },
    ...
  },
  "namedStyles": {
    object (NamedStyles)
  },
  "suggestedNamedStylesChanges": {
    string: {
      object (SuggestedNamedStyles)
    },
    ...
  },
  "lists": {
    string: {
      object (List)
    },
    ...
  },
  "namedRanges": {
    string: {
      object (NamedRanges)
    },
    ...
  },
  "inlineObjects": {
    string: {
      object (InlineObject)
    },
    ...
  },
  "positionedObjects": {
    string: {
      object (PositionedObject)
    },
    ...
  }
}
ক্ষেত্র
body

object ( Body )

ডকুমেন্ট ট্যাবের মূল অংশ।

headers

map (key: string, value: object ( Header ))

ডকুমেন্ট ট্যাবের হেডারগুলো হেডার আইডি দ্বারা চিহ্নিত করা হয়েছে।

footers

map (key: string, value: object ( Footer ))

ডকুমেন্ট ট্যাবের ফুটারগুলো ফুটার আইডি দ্বারা চিহ্নিত করা হয়।

footnotes

map (key: string, value: object ( Footnote ))

ডকুমেন্ট ট্যাবের পাদটীকাগুলো পাদটীকা আইডি দ্বারা চিহ্নিত করা হয়েছে।

documentStyle

object ( DocumentStyle )

ডকুমেন্ট ট্যাবের স্টাইল।

suggestedDocumentStyleChanges

map (key: string, value: object ( SuggestedDocumentStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত ডকুমেন্ট ট্যাবের স্টাইলে প্রস্তাবিত পরিবর্তনসমূহ।

namedStyles

object ( NamedStyles )

ডকুমেন্ট ট্যাবের নামযুক্ত স্টাইলসমূহ।

suggestedNamedStylesChanges

map (key: string, value: object ( SuggestedNamedStyles ))

সাজেশন আইডি দ্বারা চিহ্নিত, ডকুমেন্ট ট্যাবের নামযুক্ত স্টাইলগুলিতে প্রস্তাবিত পরিবর্তনসমূহ।

lists

map (key: string, value: object ( List ))

ডকুমেন্ট ট্যাবের তালিকাগুলো, যেগুলো তালিকা আইডি দ্বারা চিহ্নিত।

namedRanges

map (key: string, value: object ( NamedRanges ))

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

inlineObjects

map (key: string, value: object ( InlineObject ))

ডকুমেন্ট ট্যাবের ইনলাইন অবজেক্টগুলো অবজেক্ট আইডি দ্বারা চিহ্নিত করা থাকে।

positionedObjects

map (key: string, value: object ( PositionedObject ))

ডকুমেন্ট ট্যাবে অবস্থিত অবজেক্টগুলো অবজেক্ট আইডি দ্বারা চিহ্নিত করা হয়।

শরীর

নথির মূল অংশ।

headers , footers এবং footnotes ছাড়া মূল অংশে সাধারণত ডকুমেন্টের সম্পূর্ণ বিষয়বস্তু থাকে।

JSON উপস্থাপনা
{
  "content": [
    {
      object (StructuralElement)
    }
  ]
}
ক্ষেত্র
content[]

object ( StructuralElement )

দেহের উপাদানসমূহ।

বডির কন্টেন্টের ইনডেক্সগুলো শূন্য থেকে শুরু হয়।

কাঠামোগত উপাদান

একটি স্ট্রাকচারাল এলিমেন্ট এমন বিষয়বস্তুর বর্ণনা দেয় যা ডকুমেন্টটিকে কাঠামো প্রদান করে।

JSON উপস্থাপনা
{
  "startIndex": integer,
  "endIndex": integer,

  "paragraph": {
    object (Paragraph)
  },
  "sectionBreak": {
    object (SectionBreak)
  },
  "table": {
    object (Table)
  },
  "tableOfContents": {
    object (TableOfContents)
  }
}
ক্ষেত্র
startIndex

integer

UTF-16 কোড ইউনিটে, এই স্ট্রাকচারাল এলিমেন্টটির শূন্য-ভিত্তিক প্রারম্ভিক সূচক।

endIndex

integer

UTF-16 কোড ইউনিটে, এই স্ট্রাকচারাল এলিমেন্টের শূন্য-ভিত্তিক শেষ সূচক (বর্জনীয়)।

ইউনিয়ন ফিল্ড content । এটি স্ট্রাকচারাল এলিমেন্টের বিষয়বস্তু। content নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
paragraph

object ( Paragraph )

অনুচ্ছেদ ধরনের একটি কাঠামোগত উপাদান।

sectionBreak

object ( SectionBreak )

একটি সেকশন ব্রেক ধরনের কাঠামোগত উপাদান।

table

object ( Table )

টেবিল ধরনের একটি কাঠামোগত উপাদান।

tableOfContents

object ( TableOfContents )

সূচিপত্র ধরনের একটি কাঠামোগত উপাদান।

অনুচ্ছেদ

একটি অনুচ্ছেদকে প্রতিনিধিত্বকারী একটি StructuralElement । অনুচ্ছেদ হলো এমন একটি বিষয়বস্তু যা একটি নিউলাইন ক্যারেক্টার দ্বারা সমাপ্ত হয়।

JSON উপস্থাপনা
{
  "elements": [
    {
      object (ParagraphElement)
    }
  ],
  "paragraphStyle": {
    object (ParagraphStyle)
  },
  "suggestedParagraphStyleChanges": {
    string: {
      object (SuggestedParagraphStyle)
    },
    ...
  },
  "bullet": {
    object (Bullet)
  },
  "suggestedBulletChanges": {
    string: {
      object (SuggestedBullet)
    },
    ...
  },
  "positionedObjectIds": [
    string
  ],
  "suggestedPositionedObjectIds": {
    string: {
      object (ObjectReferences)
    },
    ...
  }
}
ক্ষেত্র
elements[]

object ( ParagraphElement )

অনুচ্ছেদটির বিষয়বস্তু, তার উপাদান অংশগুলোতে বিভক্ত করে দেখানো হয়েছে।

paragraphStyle

object ( ParagraphStyle )

এই অনুচ্ছেদটির শৈলী।

suggestedParagraphStyleChanges

map (key: string, value: object ( SuggestedParagraphStyle ))

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

bullet

object ( Bullet )

এই অনুচ্ছেদের জন্য বুলেট পয়েন্ট। এটি উপস্থিত না থাকলে, অনুচ্ছেদটি কোনো তালিকার অন্তর্ভুক্ত নয়।

suggestedBulletChanges

map (key: string, value: object ( SuggestedBullet ))

এই অনুচ্ছেদের বুলেট পয়েন্টে প্রস্তাবিত পরিবর্তনগুলো।

positionedObjectIds[]

string

এই অনুচ্ছেদের সাথে সংযুক্ত অবস্থানকৃত অবজেক্টগুলোর আইডি।

suggestedPositionedObjectIds

map (key: string, value: object ( ObjectReferences ))

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

অনুচ্ছেদ উপাদান

একটি ParagraphElement একটি Paragraph ভেতরের বিষয়বস্তু বর্ণনা করে।

JSON উপস্থাপনা
{
  "startIndex": integer,
  "endIndex": integer,

  "textRun": {
    object (TextRun)
  },
  "autoText": {
    object (AutoText)
  },
  "pageBreak": {
    object (PageBreak)
  },
  "columnBreak": {
    object (ColumnBreak)
  },
  "footnoteReference": {
    object (FootnoteReference)
  },
  "horizontalRule": {
    object (HorizontalRule)
  },
  "equation": {
    object (Equation)
  },
  "inlineObjectElement": {
    object (InlineObjectElement)
  },
  "person": {
    object (Person)
  },
  "richLink": {
    object (RichLink)
  },
  "dateElement": {
    object (DateElement)
  }
}
ক্ষেত্র
startIndex

integer

UTF-16 কোড ইউনিটে, এই প্যারাগ্রাফ এলিমেন্টের শূন্য-ভিত্তিক প্রারম্ভিক সূচক।

endIndex

integer

UTF-16 কোড ইউনিটে, এই প্যারাগ্রাফ এলিমেন্টের শূন্য-ভিত্তিক শেষ সূচক (শূন্য ব্যতীত)।

ইউনিয়ন ফিল্ডের content । এটি প্যারাগ্রাফ এলিমেন্টের বিষয়বস্তু। content নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
textRun

object ( TextRun )

একটি টেক্সট রান প্যারাগ্রাফ এলিমেন্ট।

autoText

object ( AutoText )

একটি স্বয়ংক্রিয় টেক্সট প্যারাগ্রাফ এলিমেন্ট।

pageBreak

object ( PageBreak )

পৃষ্ঠা বিরতি অনুচ্ছেদ উপাদান।

columnBreak

object ( ColumnBreak )

একটি কলাম ব্রেক প্যারাগ্রাফ এলিমেন্ট।

footnoteReference

object ( FootnoteReference )

পাদটীকা নির্দেশক অনুচ্ছেদের একটি উপাদান।

horizontalRule

object ( HorizontalRule )

একটি অনুভূমিক রেখাযুক্ত অনুচ্ছেদ উপাদান।

equation

object ( Equation )

একটি সমীকরণ অনুচ্ছেদ উপাদান।

inlineObjectElement

object ( InlineObjectElement )

একটি ইনলাইন অবজেক্ট প্যারাগ্রাফ এলিমেন্ট।

person

object ( Person )

অনুচ্ছেদের একটি উপাদান যা কোনো ব্যক্তি বা ইমেল ঠিকানার সাথে লিঙ্ক করে।

dateElement

object ( DateElement )

অনুচ্ছেদের একটি উপাদান যা তারিখ উপস্থাপন করে।

টেক্সটরান

একটি ParagraphElement যা এমন একগুচ্ছ টেক্সটকে উপস্থাপন করে যার সবগুলোর স্টাইলিং একই।

JSON উপস্থাপনা
{
  "content": string,
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
content

string

এই দৌড়ের পাঠ্য।

রানের মধ্যে থাকা যেকোনো অ-পাঠ্য উপাদানকে ইউনিকোড অক্ষর U+E907 দ্বারা প্রতিস্থাপন করা হয়।

suggestedInsertionIds[]

string

প্রস্তাবিত সংযোজন আইডিগুলো। একটি TextRun একাধিক সংযোজন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত সংযোজন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই রানের টেক্সট স্টাইল।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

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

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

টেক্সটে যে স্টাইলিং প্রয়োগ করা যায়, তা নির্দেশ করে।

উত্তরাধিকারসূত্রে প্রাপ্ত টেক্সট স্টাইলগুলো এই মেসেজে আনসেট ফিল্ড হিসেবে দেখানো হয়। একটি টেক্সট স্টাইলের প্যারেন্ট নির্ভর করে সেটি কোথায় সংজ্ঞায়িত করা হয়েছে তার উপর:

  • একটি Paragraph অন্তর্গত টেক্সটের TextStyle, অনুচ্ছেদটির সংশ্লিষ্ট named style type থেকে উত্তরাধিকারসূত্রে প্রাপ্ত হয়।
  • একটি named style TextStyle, normal text নেমড স্টাইল থেকে উত্তরাধিকার সূত্রে প্রাপ্ত হয়।
  • 'style' নামের normal text TextStyle, Docs এডিটরের ডিফল্ট টেক্সট স্টাইল থেকে উত্তরাধিকারসূত্রে প্রাপ্ত হয়।
  • টেবিলের মধ্যে থাকা কোনো Paragraph এলিমেন্টের টেক্সটস্টাইল, টেবিলের স্টাইল থেকে তার টেক্সটস্টাইল উত্তরাধিকার সূত্রে পেতে পারে।

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

JSON উপস্থাপনা
{
  "bold": boolean,
  "italic": boolean,
  "underline": boolean,
  "strikethrough": boolean,
  "smallCaps": boolean,
  "backgroundColor": {
    object (OptionalColor)
  },
  "foregroundColor": {
    object (OptionalColor)
  },
  "fontSize": {
    object (Dimension)
  },
  "weightedFontFamily": {
    object (WeightedFontFamily)
  },
  "baselineOffset": enum (BaselineOffset),
  "link": {
    object (Link)
  }
}
ক্ষেত্র
bold

boolean

লেখাটি বোল্ড হিসেবে প্রদর্শিত হবে কি না।

italic

boolean

লেখাটি ইটালিক করা হোক বা না হোক।

underline

boolean

লেখাটি আন্ডারলাইন করা আছে কি নেই।

strikethrough

boolean

লেখাটি কেটে দেওয়া হোক বা না হোক।

smallCaps

boolean

লেখাটি ছোট হাতের অক্ষরে লেখা হোক বা না হোক।

backgroundColor

object ( OptionalColor )

টেক্সটের ব্যাকগ্রাউন্ড কালার। সেট করা থাকলে, color ফিল্ডের উপর নির্ভর করে রঙটি হয় একটি RGB কালার অথবা স্বচ্ছ।

foregroundColor

object ( OptionalColor )

টেক্সটের ফোরগ্রাউন্ড কালার। সেট করা থাকলে, color ফিল্ডের উপর নির্ভর করে রঙটি হয় একটি RGB কালার অথবা স্বচ্ছ।

fontSize

object ( Dimension )

লেখার ফন্টের আকার।

weightedFontFamily

object ( WeightedFontFamily )

টেক্সটের ফন্ট ফ্যামিলি এবং রেন্ডার করা ওয়েট।

যদি কোনো আপডেট অনুরোধে weightedFontFamily এবং bold উভয়ের জন্য মান নির্দিষ্ট করা থাকে, তাহলে প্রথমে weightedFontFamily প্রয়োগ করা হয়, তারপর bold

যদি weightedFontFamily#weight সেট করা না থাকে, তাহলে এর ডিফল্ট মান 400 হয়।

যদি weightedFontFamily সেট করা থাকে, তাহলে weightedFontFamily#fontFamily অবশ্যই একটি অ-খালি মান দিয়ে সেট করতে হবে। অন্যথায়, একটি 400 ব্যাড রিকোয়েস্ট এরর ফেরত দেওয়া হয়।

baselineOffset

enum ( BaselineOffset )

লেখাটির স্বাভাবিক অবস্থান থেকে উল্লম্ব বিচ্যুতি।

SUPERSCRIPT বা SUBSCRIPT বেসলাইন অফসেটযুক্ত টেক্সট স্বয়ংক্রিয়ভাবে একটি ছোট ফন্ট সাইজে রেন্ডার হয়, যা fontSize ফিল্ডের উপর ভিত্তি করে গণনা করা হয়। এই ফিল্ডের পরিবর্তন ' fontSize কে প্রভাবিত করে না।

ঐচ্ছিক রঙ

এমন একটি রঙ যা সম্পূর্ণ অস্বচ্ছ অথবা সম্পূর্ণ স্বচ্ছ হতে পারে।

JSON উপস্থাপনা
{
  "color": {
    object (Color)
  }
}
ক্ষেত্র
color

object ( Color )

সেট করা থাকলে, এটি একটি অস্বচ্ছ রঙ হিসেবে ব্যবহৃত হবে। সেট না করা থাকলে, এটি একটি স্বচ্ছ রঙ নির্দেশ করে।

রঙ

একটি নিরেট রঙ।

JSON উপস্থাপনা
{
  "rgbColor": {
    object (RgbColor)
  }
}
ক্ষেত্র
rgbColor

object ( RgbColor )

আরজিবি রঙের মান।

আরজিবিকালার

একটি RGB রঙ।

JSON উপস্থাপনা
{
  "red": number,
  "green": number,
  "blue": number
}
ক্ষেত্র
red

number

রঙের লাল উপাদান, যা ০.০ থেকে ১.০ পর্যন্ত বিস্তৃত।

green

number

রঙের সবুজ উপাদান, যা ০.০ থেকে ১.০ পর্যন্ত বিস্তৃত।

blue

number

রঙের নীল উপাদান, যা ০.০ থেকে ১.০ পর্যন্ত বিস্তৃত।

মাত্রা

নির্দিষ্ট এককগুলিতে একটিমাত্র দিকের মান।

JSON উপস্থাপনা
{
  "magnitude": number,
  "unit": enum (Unit)
}
ক্ষেত্র
magnitude

number

মাত্রা।

unit

enum ( Unit )

মানের একক।

ইউনিট

পরিমাপের একক।

এনাম
UNIT_UNSPECIFIED এককগুলো অজানা।
PT এক বিন্দু, ১/৭২ ইঞ্চি।

ওয়েটেডফন্টফ্যামিলি

এটি ফন্ট ফ্যামিলি এবং টেক্সটের ওয়েট নির্দেশ করে।

JSON উপস্থাপনা
{
  "fontFamily": string,
  "weight": integer
}
ক্ষেত্র
fontFamily

string

টেক্সটটির ফন্ট ফ্যামিলি।

ফন্ট ফ্যামিলি হিসেবে ডকস-এর ফন্ট মেনু থেকে অথবা গুগল ফন্টস থেকে যেকোনো ফন্ট ব্যবহার করা যেতে পারে। ফন্টের নামটি অচেনা হলে, লেখাটি Arial প্রদর্শিত হয়।

weight

integer

ফন্টের ওজন। এই ফিল্ডের মান 100 থেকে 900 এর মধ্যে এমন যেকোনো মান হতে পারে যা 100 -এর গুণিতক। এই পরিসরটি CSS 2.1 স্পেসিফিকেশনের ১৫.৬ অনুচ্ছেদে বর্ণিত সাংখ্যিক মানগুলোর অনুরূপ, এবং অ-সাংখ্যিক মান অনুমোদিত নয়।

ডিফল্ট মান হলো 400 ("স্বাভাবিক")।

রেন্ডার করা ফন্ট ওয়েটের একটি মাত্র উপাদান হলো ফন্ট ওয়েট। ইনহেরিটেন্স বিবেচনা করার পর, weight এবং টেক্সট স্টাইলের নির্ধারিত bold ভ্যালুর সমন্বয়ে রেন্ডার করা ওয়েট নির্ধারিত হয়।

  • যদি টেক্সটটি বোল্ড হয় এবং এর ওয়েট 400 এর কম হয়, তাহলে রেন্ডারকৃত ওয়েট হবে ৪০০।
  • যদি টেক্সটটি বোল্ড হয় এবং এর ওয়েট 400 বা তার বেশি কিন্তু 700 এর কম হয়, তাহলে রেন্ডারকৃত ওয়েট হবে 700
  • যদি ওজন 700 বা তার বেশি হয়, তবে প্রাপ্ত ওজনও সেই ওজনের সমান হবে।
  • যদি টেক্সটটি বোল্ড না হয়, তাহলে রেন্ডারকৃত ওয়েট তার আসল ওয়েটের সমান হয়।

বেসলাইন অফসেট

যে সকল উপায়ে কোনো লেখাকে তার স্বাভাবিক অবস্থান থেকে উল্লম্বভাবে সরানো যায়।

এনাম
BASELINE_OFFSET_UNSPECIFIED টেক্সটের বেসলাইন অফসেট তার প্যারেন্ট থেকে উত্তরাধিকারসূত্রে প্রাপ্ত হয়।
NONE লেখাটি উল্লম্বভাবে সরানো হয়নি।
SUPERSCRIPT লেখাটি উল্লম্বভাবে উপরের দিকে সরানো হয়েছে (সুপারস্ক্রিপ্ট)।
SUBSCRIPT লেখাটি উল্লম্বভাবে নিচের দিকে সরানো হয়েছে (সাবস্ক্রিপ্ট)।

প্রস্তাবিত পাঠ্য শৈলী

TextStyle এ একটি প্রস্তাবিত পরিবর্তন।

JSON উপস্থাপনা
{
  "textStyle": {
    object (TextStyle)
  },
  "textStyleSuggestionState": {
    object (TextStyleSuggestionState)
  }
}
ক্ষেত্র
textStyle

object ( TextStyle )

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

textStyleSuggestionState

object ( TextStyleSuggestionState )

একটি মাস্ক যা নির্দেশ করে যে এই সাজেশনে বেস TextStyle এর কোন কোন ফিল্ড পরিবর্তন করা হয়েছে।

টেক্সটস্টাইলসাজেশনস্টেট

একটি মাস্ক যা নির্দেশ করে যে এই সাজেশনে বেস TextStyle এর কোন ফিল্ডগুলো পরিবর্তন করা হয়েছে। যে কোনো ফিল্ড 'true' সেট করা থাকলে, তার জন্য একটি নতুন প্রস্তাবিত মান থাকে।

JSON উপস্থাপনা
{
  "boldSuggested": boolean,
  "italicSuggested": boolean,
  "underlineSuggested": boolean,
  "strikethroughSuggested": boolean,
  "smallCapsSuggested": boolean,
  "backgroundColorSuggested": boolean,
  "foregroundColorSuggested": boolean,
  "fontSizeSuggested": boolean,
  "weightedFontFamilySuggested": boolean,
  "baselineOffsetSuggested": boolean,
  "linkSuggested": boolean
}
ক্ষেত্র
boldSuggested

boolean

bold এ কোনো পরিবর্তনের পরামর্শ দেওয়া হয়েছিল কিনা তা নির্দেশ করে।

italicSuggested

boolean

italic জন্য কোনো পরিবর্তনের পরামর্শ দেওয়া হয়েছিল কিনা তা নির্দেশ করে।

underlineSuggested

boolean

underline জন্য কোনো পরিবর্তনের পরামর্শ ছিল কিনা তা নির্দেশ করে।

strikethroughSuggested

boolean

strikethrough -তে কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

smallCapsSuggested

boolean

smallCaps এ কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

backgroundColorSuggested

boolean

backgroundColor এ কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

foregroundColorSuggested

boolean

foregroundColor এ কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

fontSizeSuggested

boolean

fontSize কোনো পরিবর্তনের পরামর্শ ছিল কিনা তা নির্দেশ করে।

weightedFontFamilySuggested

boolean

weightedFontFamily তে কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

baselineOffsetSuggested

boolean

baselineOffset এ কোনো পরিবর্তনের প্রস্তাব ছিল কিনা তা নির্দেশ করে।

অটোটেক্সট

একটি ParagraphElement যা টেক্সটের এমন একটি স্থানকে উপস্থাপন করে, যা সময়ের সাথে সাথে পরিবর্তনশীল বিষয়বস্তু (যেমন পৃষ্ঠা নম্বর) দ্বারা গতিশীলভাবে প্রতিস্থাপিত হয়।

JSON উপস্থাপনা
{
  "type": enum (Type),
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
type

enum ( Type )

এই স্বয়ংক্রিয় বার্তার ধরণ।

suggestedInsertionIds[]

string

প্রস্তাবিত ইনসারশন আইডিগুলো। একটি AutoText একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি আইডিগুলো খালি থাকে, তবে এটি কোনো প্রস্তাবিত ইনসারশন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই অটোটেক্সটের টেক্সট স্টাইল।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

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

প্রকার

স্বয়ংক্রিয় বার্তার প্রকারভেদ।

এনাম
TYPE_UNSPECIFIED একটি অনির্দিষ্ট স্বয়ংক্রিয় পাঠ্য প্রকার।
PAGE_NUMBER স্বয়ংক্রিয় টেক্সটের জন্য বর্তমান পৃষ্ঠা নম্বরটি টাইপ করুন।
PAGE_COUNT ডকুমেন্টের মোট পৃষ্ঠাসংখ্যা নির্দেশকারী স্বয়ংক্রিয় টেক্সটটি টাইপ করুন।

পৃষ্ঠা বিরতি

একটি ParagraphElement যা একটি পৃষ্ঠা বিরতি নির্দেশ করে। পৃষ্ঠা বিরতির ফলে পরবর্তী লেখা পরের পৃষ্ঠার শুরু থেকে শুরু হয়।

JSON উপস্থাপনা
{
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
suggestedInsertionIds[]

string

প্রস্তাবিত ইনসারশন আইডিগুলো। একটি PageBreak একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত ইনসারশন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই পৃষ্ঠা বিরতির লেখার শৈলী।

টেক্সট কন্টেন্টের (যেমন টেক্সট রান এবং ফুটনোট রেফারেন্স) মতোই, একটি পেজ ব্রেকের টেক্সট স্টাইল কন্টেন্টের লেআউটের পাশাপাশি এর পাশে থাকা টেক্সটের স্টাইলিংকেও প্রভাবিত করতে পারে।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত হয়ে, প্রস্তাবিত টেক্সট স্টাইলটি এই পেজব্রেক-এ পরিবর্তিত হয়।

কলামব্রেক

একটি ParagraphElement যা একটি কলাম ব্রেক নির্দেশ করে। কলাম ব্রেকের ফলে পরবর্তী লেখা পরের কলামের শুরু থেকে শুরু হয়।

JSON উপস্থাপনা
{
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
suggestedInsertionIds[]

string

প্রস্তাবিত ইনসারশন আইডিগুলো। একটি ColumnBreak একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত ইনসারশন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই ColumnBreak-এর টেক্সট স্টাইল।

টেক্সট কন্টেন্টের মতোই, যেমন টেক্সট রান এবং ফুটনোট রেফারেন্স, একটি কলাম ব্রেকের টেক্সট স্টাইল কন্টেন্টের লেআউটের পাশাপাশি এর পাশে থাকা টেক্সটের স্টাইলিংকেও প্রভাবিত করতে পারে।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত হয়ে, প্রস্তাবিত টেক্সট স্টাইলটি এই ColumnBreak-এ পরিবর্তিত হয়।

পাদটীকা রেফারেন্স

একটি ParagraphElement যা একটি পাদটীকা রেফারেন্স উপস্থাপন করে। পাদটীকা রেফারেন্স হলো একটি ইনলাইন কন্টেন্ট যা একটি সংখ্যাসহ রেন্ডার করা হয় এবং এটি পাদটীকাটি শনাক্ত করতে ব্যবহৃত হয়।

JSON উপস্থাপনা
{
  "footnoteId": string,
  "footnoteNumber": string,
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
footnoteId

string

যে footnote এই পাদটীকা তথ্যসূত্রের বিষয়বস্তু রয়েছে, তার আইডি।

footnoteNumber

string

এই পাদটীকার প্রদর্শিত সংখ্যা।

suggestedInsertionIds[]

string

প্রস্তাবিত সংযোজন আইডিগুলো। একটি FootnoteReference একাধিক সংযোজন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত সংযোজন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই FootnoteReference-এর টেক্সট স্টাইল।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত, প্রস্তাবিত টেক্সট স্টাইলটি এই FootnoteReference-এ পরিবর্তিত হয়।

অনুভূমিক নিয়ম

একটি ParagraphElement যা একটি অনুভূমিক রেখাকে নির্দেশ করে।

JSON উপস্থাপনা
{
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
suggestedInsertionIds[]

string

প্রস্তাবিত সংযোজন আইডিগুলো। একটি HorizontalRule একাধিক সংযোজন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত সংযোজন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই হরাইজন্টাল রুলটির টেক্সট স্টাইল।

টেক্সট কন্টেন্টের মতোই, যেমন টেক্সট রান এবং ফুটনোট রেফারেন্স, একটি হরাইজন্টাল রুলের টেক্সট স্টাইল কন্টেন্ট লেআউটের পাশাপাশি এর পাশে থাকা টেক্সটের স্টাইলিংকেও প্রভাবিত করতে পারে।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত, প্রস্তাবিত টেক্সট স্টাইলটি এই হরাইজন্টাল রুল-এ পরিবর্তিত হয়।

সমীকরণ

একটি ParagraphElement যা একটি সমীকরণকে উপস্থাপন করে।

JSON উপস্থাপনা
{
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ]
}
ক্ষেত্র
suggestedInsertionIds[]

string

প্রস্তাবিত সংযোজন আইডিগুলো। একটি Equation একাধিক সংযোজন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি এটি খালি থাকে, তবে এটি কোনো প্রস্তাবিত সংযোজন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

ইনলাইনঅবজেক্টএলিমেন্ট

একটি ParagraphElement যা একটি InlineObject ধারণ করে।

JSON উপস্থাপনা
{
  "inlineObjectId": string,
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  }
}
ক্ষেত্র
inlineObjectId

string

এই এলিমেন্টটিতে থাকা InlineObject আইডি।

suggestedInsertionIds[]

string

প্রস্তাবিত ইনসারশন আইডিগুলো। একটি InlineObjectElement একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড প্রস্তাবিত পরিবর্তন হয়। যদি আইডিগুলো খালি থাকে, তবে এটি কোনো প্রস্তাবিত ইনসারশন নয়।

suggestedDeletionIds[]

string

প্রস্তাবিত মুছে ফেলার আইডিগুলো। যদি খালি থাকে, তাহলে এই কন্টেন্টটি মুছে ফেলার জন্য কোনো প্রস্তাব নেই।

textStyle

object ( TextStyle )

এই InlineObjectElement-এর টেক্সট স্টাইল।

টেক্সট কন্টেন্টের (যেমন টেক্সট রান এবং ফুটনোট রেফারেন্স) মতোই, একটি ইনলাইন অবজেক্ট এলিমেন্টের টেক্সট স্টাইল তার কন্টেন্ট লেআউটের পাশাপাশি পাশে যুক্ত করা টেক্সটের স্টাইলিংকেও প্রভাবিত করতে পারে।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত, প্রস্তাবিত টেক্সট স্টাইলটি এই ইনলাইনঅবজেক্টে পরিবর্তিত হয়।

ব্যক্তি

কোনো নথিতে উল্লিখিত কোনো ব্যক্তি বা ইমেল ঠিকানা। এই উল্লেখগুলো ব্যক্তির নাম বা ইমেল ঠিকানা ধারণকারী একটি একক, অপরিবর্তনীয় উপাদান হিসেবে কাজ করে।

JSON উপস্থাপনা
{
  "personId": string,
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  },
  "personProperties": {
    object (PersonProperties)
  }
}
ক্ষেত্র
personId

string

শুধুমাত্র আউটপুট। এই লিঙ্কের অনন্য আইডি।

suggestedInsertionIds[]

string

যেসব সাজেশন এই ব্যক্তির লিঙ্কটি ডকুমেন্টে যুক্ত করে, সেগুলোর আইডি। একজন Person একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড সাজেস্টেড পরিবর্তন হয় (উদাহরণস্বরূপ, অন্য কোনো ব্যবহারকারীর করা সাজেশনের মধ্যে আরেকটি সাজেশন)। যদি আইডি খালি থাকে, তাহলে এই ব্যক্তির লিঙ্কটি কোনো সাজেস্টেড ইনসারশন নয়।

suggestedDeletionIds[]

string

ডকুমেন্ট থেকে এই ব্যক্তির লিঙ্কটি সরানোর জন্য দেওয়া পরামর্শগুলোর আইডি। একজন Person একাধিক ডিলিট আইডি থাকতে পারে, যেমন, যদি একাধিক ব্যবহারকারী তাকে মুছে ফেলার পরামর্শ দেন। আইডি খালি থাকলে, এই ব্যক্তির লিঙ্কটি মুছে ফেলার জন্য কোনো পরামর্শ দেওয়া হয় না।

textStyle

object ( TextStyle )

এই Person লেখার শৈলী।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত হয়ে, প্রস্তাবিত টেক্সট স্টাইলটি এই Person জন্য পরিবর্তিত হয়।

personProperties

object ( PersonProperties )

শুধুমাত্র আউটপুট। এই Person বৈশিষ্ট্যসমূহ। এই ক্ষেত্রটি সর্বদা উপস্থিত থাকে।

ব্যক্তি সম্পত্তি

কোনো সংযুক্ত Person জন্য নির্দিষ্ট বৈশিষ্ট্যসমূহ।

JSON উপস্থাপনা
{
  "name": string,
  "email": string
}
ক্ষেত্র
name

string

লিঙ্ক টেক্সটে ব্যক্তির ইমেল ঠিকানার পরিবর্তে তার নাম প্রদর্শিত হলে।

email

string

এই Person সাথে সংযুক্ত ইমেল ঠিকানা। এই ক্ষেত্রটি সর্বদা উপস্থিত থাকে।

রিচলিঙ্কপ্রপার্টিজ

RichLink নিজস্ব বৈশিষ্ট্যসমূহ।

JSON উপস্থাপনা
{
  "title": string,
  "uri": string,
  "mimeType": string
}
ক্ষেত্র
title

string

শুধুমাত্র আউটপুট। লিঙ্কে প্রদর্শিত RichLink এর শিরোনাম। এই শিরোনামটি লিঙ্কের সন্নিবেশ বা শেষ আপডেটের সময় লিঙ্ক করা রিসোর্সের শিরোনামের সাথে মেলে। এই ফিল্ডটি সর্বদা উপস্থিত থাকে।

uri

string

শুধুমাত্র আউটপুট। RichLink এর URI। এটি সর্বদা উপস্থিত থাকে।

mimeType

string

শুধুমাত্র আউটপুট। RichLink এর MIME টাইপ , যদি তা থাকে (উদাহরণস্বরূপ, যখন এটি Drive-এর একটি ফাইল হয়)।

তারিখ উপাদান

একটি নথিতে উল্লিখিত তারিখের একটি দৃষ্টান্ত।

JSON উপস্থাপনা
{
  "dateId": string,
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "textStyle": {
    object (TextStyle)
  },
  "suggestedTextStyleChanges": {
    string: {
      object (SuggestedTextStyle)
    },
    ...
  },
  "dateElementProperties": {
    object (DateElementProperties)
  },
  "suggestedDateElementPropertiesChanges": {
    string: {
      object (SuggestedDateElementProperties)
    },
    ...
  }
}
ক্ষেত্র
dateId

string

শুধুমাত্র আউটপুট। এই তারিখের অনন্য আইডি।

suggestedInsertionIds[]

string

যেসব সাজেশন এই তারিখটি ডকুমেন্টে যুক্ত করবে, সেগুলোর আইডি। একটি DateElement-এর একাধিক ইনসারশন আইডি থাকতে পারে, যদি এটি একটি নেস্টেড সাজেস্টেড পরিবর্তন হয় (উদাহরণস্বরূপ, অন্য কোনো ব্যবহারকারীর করা সাজেশনের ভেতরের সাজেশন)। যদি এটি খালি থাকে, তাহলে এই তারিখটি কোনো সাজেস্টেড ইনসারশন নয়।

suggestedDeletionIds[]

string

ডকুমেন্ট থেকে এই তারিখটি মুছে ফেলার পরামর্শগুলোর জন্য আইডি। একটি DateElement-এর একাধিক ডিলিশন আইডি থাকতে পারে, যেমন, যদি একাধিক ব্যবহারকারী এটি মুছে ফেলার পরামর্শ দেন। যদি এটি খালি থাকে, তাহলে এই তারিখটি মুছে ফেলার জন্য পরামর্শ দেওয়া হয় না।

textStyle

object ( TextStyle )

এই DateElement-টির টেক্সট স্টাইল।

suggestedTextStyleChanges

map (key: string, value: object ( SuggestedTextStyle ))

সাজেশন আইডি দ্বারা চিহ্নিত হয়ে, প্রস্তাবিত টেক্সট স্টাইলটি এই DateElement-টিতে পরিবর্তিত হয়।

dateElementProperties

object ( DateElementProperties )

এই DateElement-এর বৈশিষ্ট্যগুলো।

suggestedDateElementPropertiesChanges

map (key: string, value: object ( SuggestedDateElementProperties ))

সাজেশন আইডি দ্বারা চিহ্নিত, ডেট এলিমেন্টের প্রোপার্টিগুলোতে প্রস্তাবিত পরিবর্তনসমূহ।

DateElementProperties

DateElement এর বৈশিষ্ট্যসমূহ।

JSON উপস্থাপনা
{
  "timestamp": string,
  "timeZoneId": string,
  "locale": string,
  "dateFormat": enum (DateFormat),
  "timeFormat": enum (TimeFormat),
  "displayText": string
}
ক্ষেত্র
timestamp

string ( Timestamp format)

ইউনিক্স ইপক থেকে সেকেন্ড এবং ন্যানোসেকেন্ডে উপস্থাপনযোগ্য সময়বিন্দু: ১ জানুয়ারী, ১৯৭০, মধ্যরাত UTC।

টাইমস্ট্যাম্পটি UTC ফরম্যাটে থাকার কথা। যদি timeZoneId সেট করা থাকে, তাহলে টাইমস্ট্যাম্পটি টাইম জোন অনুযায়ী সমন্বয় করা হয়। উদাহরণস্বরূপ, DATE_FORMAT_ISO8601 ডেট ফরম্যাট এবং TIME_FORMAT_HOUR_MINUTE টাইম ফরম্যাট সহ 18000 একটি টাইমস্ট্যাম্প 1970-01-01 5:00 AM হিসাবে প্রদর্শিত হবে। অন্যদিকে, DATE_FORMAT_ISO8601 ডেট ফরম্যাট, TIME_FORMAT_HOUR_MINUTE টাইম ফরম্যাট এবং America/New_York টাইম জোন সহ 18000 একটি টাইমস্ট্যাম্পের পরিবর্তে 1970-01-01 12:00 AM প্রদর্শিত হবে।

timeZoneId

string

DateElement-এর টাইম জোন, যা ইউনিকোড কমন লোকাল ডেটা রিপোজিটরি (CLDR) প্রজেক্ট দ্বারা সংজ্ঞায়িত। উদাহরণস্বরূপ, America/New_York । যদি সেট না করা হয়, তাহলে ডিফল্ট টাইম জোন হবে etc/UTC

locale

string

DateElement-এর ভাষা কোড। উদাহরণস্বরূপ, en । যদি সেট করা না থাকে, তাহলে ডিফল্ট লোকেল হবে en

Limited to the following locales: af , am , ar , az , be , bg , bn , ca , cs , da , de , el , en , en-CA , en-GB , es , es-419 , et , eu , fa , fi , fil , fr , fr-CA , gl , gu , hi , hr , hu , hy , id , is , it , iw , ja , ka , kk , km , kn , ko , lo , lt , lv , ml , mn , mr , ms , ne , nl , no , pa , pl , pt-BR , pt-PT , ro , ru , si , sk , sl , sr , sv , sw , ta , te , th , tr , uk , ur , vi , zh-CN , zh-HK , zh-TW , zu , cy , my .

dateFormat

enum ( DateFormat )

Determines how the date part of the DateElement will be displayed in the document.

If unset, the default value is DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be formatted as MMM d, y in en , or locale specific equivalent.

timeFormat

enum ( TimeFormat )

Determines how the time part of the DateElement will be displayed in the document.

If unset, the default value is TIME_FORMAT_DISABLED, indicating no time should be shown.

displayText

string

Output only. Indicates how the DateElement is displayed in the document.

DateFormat

The possible date formats of DateElement .

এনাম
DATE_FORMAT_UNSPECIFIED The date format is unspecified.
DATE_FORMAT_CUSTOM Output only. The date format is imported from an external source.
DATE_FORMAT_MONTH_DAY_ABBREVIATED The date format is an abbreviated month followed by the day. For example, "Jan 1".
DATE_FORMAT_MONTH_DAY_FULL The date format is a month followed by the day. For example, "January 01".
DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED The date format is an abbreviated month followed by the day and the year. For example, "Jan 1, 1970".
DATE_FORMAT_ISO8601 The date format is in ISO 8601 format. For example, "1970-01-01".

TimeFormat

The possible time formats of DateElement .

এনাম
TIME_FORMAT_UNSPECIFIED The time format is unspecified.
TIME_FORMAT_DISABLED Indicates that the date does not have a time.
TIME_FORMAT_HOUR_MINUTE The time format shows the hour and minute. For example, "Jan 1, 1970 12:00 PM".
TIME_FORMAT_HOUR_MINUTE_TIMEZONE The time format shows the hour, minute, and timezone. For example, "Jan 1, 1970 12:00 PM UTC".

SuggestedDateElementProperties

A suggested change to a DateElementProperties .

JSON representation
{
  "dateElementProperties": {
    object (DateElementProperties)
  },
  "dateElementPropertiesSuggestionState": {
    object (DateElementPropertiesSuggestionState)
  }
}
ক্ষেত্র
dateElementProperties

object ( DateElementProperties )

DateElementProperties that only includes the changes made in this suggestion. This can be used along with the dateElementPropertiesSuggestionState to see which fields have changed and their new values.

dateElementPropertiesSuggestionState

object ( DateElementPropertiesSuggestionState )

A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion.

DateElementPropertiesSuggestionState

A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "timestampSuggested": boolean,
  "timeZoneIdSuggested": boolean,
  "localeSuggested": boolean,
  "dateFormatSuggested": boolean,
  "timeFormatSuggested": boolean
}
ক্ষেত্র
timestampSuggested

boolean

Indicates if there was a suggested change to timestamp .

timeZoneIdSuggested

boolean

Indicates if there was a suggested change to timeZoneId .

localeSuggested

boolean

Indicates if there was a suggested change to locale .

dateFormatSuggested

boolean

Indicates if there was a suggested change to dateFormat .

timeFormatSuggested

boolean

Indicates if there was a suggested change to timeFormat .

ParagraphStyle

Styles that apply to a whole paragraph.

Inherited paragraph styles are represented as unset fields in this message. A paragraph style's parent depends on where the paragraph style is defined:

  • The ParagraphStyle on a Paragraph inherits from the paragraph's corresponding named style type .
  • The ParagraphStyle on a named style inherits from the normal text named style.
  • The ParagraphStyle of the normal text named style inherits from the default paragraph style in the Docs editor.
  • The ParagraphStyle on a Paragraph element that's contained in a table may inherit its paragraph style from the table style.

If the paragraph style does not inherit from a parent, unsetting fields will revert the style to a value matching the defaults in the Docs editor.

JSON representation
{
  "headingId": string,
  "namedStyleType": enum (NamedStyleType),
  "alignment": enum (Alignment),
  "lineSpacing": number,
  "direction": enum (ContentDirection),
  "spacingMode": enum (SpacingMode),
  "spaceAbove": {
    object (Dimension)
  },
  "spaceBelow": {
    object (Dimension)
  },
  "borderBetween": {
    object (ParagraphBorder)
  },
  "borderTop": {
    object (ParagraphBorder)
  },
  "borderBottom": {
    object (ParagraphBorder)
  },
  "borderLeft": {
    object (ParagraphBorder)
  },
  "borderRight": {
    object (ParagraphBorder)
  },
  "indentFirstLine": {
    object (Dimension)
  },
  "indentStart": {
    object (Dimension)
  },
  "indentEnd": {
    object (Dimension)
  },
  "tabStops": [
    {
      object (TabStop)
    }
  ],
  "keepLinesTogether": boolean,
  "keepWithNext": boolean,
  "avoidWidowAndOrphan": boolean,
  "shading": {
    object (Shading)
  },
  "pageBreakBefore": boolean
}
ক্ষেত্র
headingId

string

The heading ID of the paragraph. If empty, then this paragraph is not a heading.

This property is read-only.

namedStyleType

enum ( NamedStyleType )

The named style type of the paragraph.

Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.

alignment

enum ( Alignment )

The text alignment for this paragraph.

lineSpacing

number

The amount of space between lines, as a percentage of normal, where normal is represented as 100.0. If unset, the value is inherited from the parent.

direction

enum ( ContentDirection )

The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited.

spacingMode

enum ( SpacingMode )

The spacing mode for the paragraph.

spaceAbove

object ( Dimension )

The amount of extra space above the paragraph. If unset, the value is inherited from the parent.

spaceBelow

object ( Dimension )

The amount of extra space below the paragraph. If unset, the value is inherited from the parent.

borderBetween

object ( ParagraphBorder )

The border between this paragraph and the next and previous paragraphs. If unset, the value is inherited from the parent.

The between border is rendered when the adjacent paragraph has the same border and indent properties.

Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.

borderTop

object ( ParagraphBorder )

The border at the top of this paragraph. If unset, the value is inherited from the parent.

The top border is rendered when the paragraph above has different border and indent properties.

Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.

borderBottom

object ( ParagraphBorder )

The border at the bottom of this paragraph. If unset, the value is inherited from the parent.

The bottom border is rendered when the paragraph below has different border and indent properties.

Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.

borderLeft

object ( ParagraphBorder )

The border to the left of this paragraph. If unset, the value is inherited from the parent.

Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.

borderRight

object ( ParagraphBorder )

The border to the right of this paragraph. If unset, the value is inherited from the parent.

Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.

indentFirstLine

object ( Dimension )

The amount of indentation for the first line of the paragraph. If unset, the value is inherited from the parent.

indentStart

object ( Dimension )

The amount of indentation for the paragraph on the side that corresponds to the start of the text, based on the current paragraph direction. If unset, the value is inherited from the parent.

indentEnd

object ( Dimension )

The amount of indentation for the paragraph on the side that corresponds to the end of the text, based on the current paragraph direction. If unset, the value is inherited from the parent.

tabStops[]

object ( TabStop )

A list of the tab stops for this paragraph. The list of tab stops is not inherited.

This property is read-only.

keepLinesTogether

boolean

Whether all lines of the paragraph should be laid out on the same page or column if possible. If unset, the value is inherited from the parent.

keepWithNext

boolean

Whether at least a part of this paragraph should be laid out on the same page or column as the next paragraph if possible. If unset, the value is inherited from the parent.

avoidWidowAndOrphan

boolean

Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent.

shading

object ( Shading )

The shading of the paragraph. If unset, the value is inherited from the parent.

pageBreakBefore

boolean

Whether the current paragraph should always start at the beginning of a page. If unset, the value is inherited from the parent.

Attempting to update pageBreakBefore for paragraphs in unsupported regions, including Table , Header , Footer and Footnote , can result in an invalid document state that returns a 400 bad request error.

NamedStyleType

The types of named styles.

এনাম
NAMED_STYLE_TYPE_UNSPECIFIED The type of named style is unspecified.
NORMAL_TEXT Normal text.
TITLE Title.
SUBTITLE Subtitle.
HEADING_1 Heading 1.
HEADING_2 Heading 2.
HEADING_3 Heading 3.
HEADING_4 Heading 4.
HEADING_5 Heading 5.
HEADING_6 Heading 6.

সারিবদ্ধকরণ

The types of text alignment for a paragraph.

এনাম
ALIGNMENT_UNSPECIFIED The paragraph alignment is inherited from the parent.
START The paragraph is aligned to the start of the line. Left-aligned for LTR text, right-aligned otherwise.
CENTER The paragraph is centered.
END The paragraph is aligned to the end of the line. Right-aligned for LTR text, left-aligned otherwise.
JUSTIFIED The paragraph is justified.

ContentDirection

The directions content can flow in.

এনাম
CONTENT_DIRECTION_UNSPECIFIED The content direction is unspecified.
LEFT_TO_RIGHT The content goes from left to right.
RIGHT_TO_LEFT The content goes from right to left.

SpacingMode

The different modes for paragraph spacing.

এনাম
SPACING_MODE_UNSPECIFIED The spacing mode is inherited from the parent.
NEVER_COLLAPSE Paragraph spacing is always rendered.
COLLAPSE_LISTS Paragraph spacing is skipped between list elements.

ParagraphBorder

A border around a paragraph.

JSON representation
{
  "color": {
    object (OptionalColor)
  },
  "width": {
    object (Dimension)
  },
  "padding": {
    object (Dimension)
  },
  "dashStyle": enum (DashStyle)
}
ক্ষেত্র
color

object ( OptionalColor )

The color of the border.

width

object ( Dimension )

The width of the border.

padding

object ( Dimension )

The padding of the border.

dashStyle

enum ( DashStyle )

The dash style of the border.

DashStyle

The kinds of dashes with which linear geometry can be rendered. These values are based on the "ST_PresetLineDashVal" simple type described in section 20.1.10.49 of "Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th edition .

এনাম
DASH_STYLE_UNSPECIFIED Unspecified dash style.
SOLID Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the default dash style.
DOT Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.
DASH Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'.

TabStop

A tab stop within a paragraph.

JSON representation
{
  "offset": {
    object (Dimension)
  },
  "alignment": enum (TabStopAlignment)
}
ক্ষেত্র
offset

object ( Dimension )

The offset between this tab stop and the start margin.

alignment

enum ( TabStopAlignment )

The alignment of this tab stop. If unset, the value defaults to START .

TabStopAlignment

The alignment of the tab stop.

এনাম
TAB_STOP_ALIGNMENT_UNSPECIFIED The tab stop alignment is unspecified.
START The tab stop is aligned to the start of the line. This is the default.
CENTER The tab stop is aligned to the center of the line.
END The tab stop is aligned to the end of the line.

Shading

The shading of a paragraph.

JSON representation
{
  "backgroundColor": {
    object (OptionalColor)
  }
}
ক্ষেত্র
backgroundColor

object ( OptionalColor )

The background color of this paragraph shading.

SuggestedParagraphStyle

A suggested change to a ParagraphStyle .

JSON representation
{
  "paragraphStyle": {
    object (ParagraphStyle)
  },
  "paragraphStyleSuggestionState": {
    object (ParagraphStyleSuggestionState)
  }
}
ক্ষেত্র
paragraphStyle

object ( ParagraphStyle )

A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraphStyleSuggestionState to see which fields have changed and their new values.

paragraphStyleSuggestionState

object ( ParagraphStyleSuggestionState )

A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion.

ParagraphStyleSuggestionState

A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "headingIdSuggested": boolean,
  "namedStyleTypeSuggested": boolean,
  "alignmentSuggested": boolean,
  "lineSpacingSuggested": boolean,
  "directionSuggested": boolean,
  "spacingModeSuggested": boolean,
  "spaceAboveSuggested": boolean,
  "spaceBelowSuggested": boolean,
  "borderBetweenSuggested": boolean,
  "borderTopSuggested": boolean,
  "borderBottomSuggested": boolean,
  "borderLeftSuggested": boolean,
  "borderRightSuggested": boolean,
  "indentFirstLineSuggested": boolean,
  "indentStartSuggested": boolean,
  "indentEndSuggested": boolean,
  "keepLinesTogetherSuggested": boolean,
  "keepWithNextSuggested": boolean,
  "avoidWidowAndOrphanSuggested": boolean,
  "shadingSuggestionState": {
    object (ShadingSuggestionState)
  },
  "pageBreakBeforeSuggested": boolean
}
ক্ষেত্র
headingIdSuggested

boolean

Indicates if there was a suggested change to headingId .

namedStyleTypeSuggested

boolean

Indicates if there was a suggested change to namedStyleType .

alignmentSuggested

boolean

Indicates if there was a suggested change to alignment .

lineSpacingSuggested

boolean

Indicates if there was a suggested change to lineSpacing .

directionSuggested

boolean

Indicates if there was a suggested change to direction .

spacingModeSuggested

boolean

Indicates if there was a suggested change to spacingMode .

spaceAboveSuggested

boolean

Indicates if there was a suggested change to spaceAbove .

spaceBelowSuggested

boolean

Indicates if there was a suggested change to spaceBelow .

borderBetweenSuggested

boolean

Indicates if there was a suggested change to borderBetween .

borderTopSuggested

boolean

Indicates if there was a suggested change to borderTop .

borderBottomSuggested

boolean

Indicates if there was a suggested change to borderBottom .

borderLeftSuggested

boolean

Indicates if there was a suggested change to borderLeft .

borderRightSuggested

boolean

Indicates if there was a suggested change to borderRight .

indentFirstLineSuggested

boolean

Indicates if there was a suggested change to indentFirstLine .

indentStartSuggested

boolean

Indicates if there was a suggested change to indentStart .

indentEndSuggested

boolean

Indicates if there was a suggested change to indentEnd .

keepLinesTogetherSuggested

boolean

Indicates if there was a suggested change to keepLinesTogether .

keepWithNextSuggested

boolean

Indicates if there was a suggested change to keepWithNext .

avoidWidowAndOrphanSuggested

boolean

Indicates if there was a suggested change to avoidWidowAndOrphan .

shadingSuggestionState

object ( ShadingSuggestionState )

A mask that indicates which of the fields in shading have been changed in this suggestion.

pageBreakBeforeSuggested

boolean

Indicates if there was a suggested change to pageBreakBefore .

ShadingSuggestionState

A mask that indicates which of the fields on the base Shading have been changed in this suggested change. For any field set to true, there's a new suggested value.

JSON representation
{
  "backgroundColorSuggested": boolean
}
ক্ষেত্র
backgroundColorSuggested

boolean

Indicates if there was a suggested change to the Shading .

বুলেট

Describes the bullet of a paragraph.

JSON representation
{
  "listId": string,
  "nestingLevel": integer,
  "textStyle": {
    object (TextStyle)
  }
}
ক্ষেত্র
listId

string

The ID of the list this paragraph belongs to.

nestingLevel

integer

The nesting level of this paragraph in the list.

textStyle

object ( TextStyle )

The paragraph-specific text style applied to this bullet.

SuggestedBullet

A suggested change to a Bullet .

JSON representation
{
  "bullet": {
    object (Bullet)
  },
  "bulletSuggestionState": {
    object (BulletSuggestionState)
  }
}
ক্ষেত্র
bullet

object ( Bullet )

A Bullet that only includes the changes made in this suggestion. This can be used along with the bulletSuggestionState to see which fields have changed and their new values.

bulletSuggestionState

object ( BulletSuggestionState )

A mask that indicates which of the fields on the base Bullet have been changed in this suggestion.

BulletSuggestionState

A mask that indicates which of the fields on the base Bullet have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "listIdSuggested": boolean,
  "nestingLevelSuggested": boolean,
  "textStyleSuggestionState": {
    object (TextStyleSuggestionState)
  }
}
ক্ষেত্র
listIdSuggested

boolean

Indicates if there was a suggested change to the listId .

nestingLevelSuggested

boolean

Indicates if there was a suggested change to the nestingLevel .

textStyleSuggestionState

object ( TextStyleSuggestionState )

A mask that indicates which of the fields in text style have been changed in this suggestion.

ObjectReferences

A collection of object IDs.

JSON representation
{
  "objectIds": [
    string
  ]
}
ক্ষেত্র
objectIds[]

string

The object IDs.

SectionBreak

A StructuralElement representing a section break. A section is a range of content that has the same SectionStyle . A section break represents the start of a new section, and the section style applies to the section after the section break.

The document body always begins with a section break.

JSON representation
{
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "sectionStyle": {
    object (SectionStyle)
  }
}
ক্ষেত্র
suggestedInsertionIds[]

string

The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

sectionStyle

object ( SectionStyle )

The style of the section after this section break.

SectionStyle

The styling that applies to a section.

JSON representation
{
  "columnProperties": [
    {
      object (SectionColumnProperties)
    }
  ],
  "columnSeparatorStyle": enum (ColumnSeparatorStyle),
  "contentDirection": enum (ContentDirection),
  "marginTop": {
    object (Dimension)
  },
  "marginBottom": {
    object (Dimension)
  },
  "marginRight": {
    object (Dimension)
  },
  "marginLeft": {
    object (Dimension)
  },
  "marginHeader": {
    object (Dimension)
  },
  "marginFooter": {
    object (Dimension)
  },
  "sectionType": enum (SectionType),
  "defaultHeaderId": string,
  "defaultFooterId": string,
  "firstPageHeaderId": string,
  "firstPageFooterId": string,
  "evenPageHeaderId": string,
  "evenPageFooterId": string,
  "useFirstPageHeaderFooter": boolean,
  "pageNumberStart": integer,
  "flipPageOrientation": boolean
}
ক্ষেত্র
columnProperties[]

object ( SectionColumnProperties )

The section's columns properties.

If empty, the section contains one column with the default properties in the Docs editor. A section can be updated to have no more than 3 columns.

When updating this property, setting a concrete value is required. Unsetting this property will result in a 400 bad request error.

columnSeparatorStyle

enum ( ColumnSeparatorStyle )

The style of column separators.

This style can be set even when there's one column in the section.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

contentDirection

enum ( ContentDirection )

The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT .

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

marginTop

object ( Dimension )

The top page margin of the section. If unset, the value defaults to marginTop from DocumentStyle.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

marginBottom

object ( Dimension )

The bottom page margin of the section. If unset, the value defaults to marginBottom from DocumentStyle.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

marginRight

object ( Dimension )

The right page margin of the section. If unset, the value defaults to marginRight from DocumentStyle. Updating the right margin causes columns in this section to resize. Since the margin affects column width, it's applied before column properties.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

marginLeft

object ( Dimension )

The left page margin of the section. If unset, the value defaults to marginLeft from DocumentStyle. Updating the left margin causes columns in this section to resize. Since the margin affects column width, it's applied before column properties.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

marginHeader

object ( Dimension )

The header margin of the section. If unset, the value defaults to marginHeader from DocumentStyle. If updated, useCustomHeaderFooterMargins is set to true on DocumentStyle. The value of useCustomHeaderFooterMargins on DocumentStyle indicates if a header margin is being respected for this section.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

sectionType

enum ( SectionType )

Output only. The type of section.

defaultHeaderId

string

The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's defaultHeaderId .

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

firstPageHeaderId

string

The ID of the header used only for the first page of the section. If useFirstPageHeaderFooter is true, this value is used for the header on the first page of the section. If it's false, the header on the first page of the section uses the defaultHeaderId . If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's firstPageHeaderId .

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

evenPageHeaderId

string

The ID of the header used only for even pages. If the value of DocumentStyle's useEvenPageHeaderFooter is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages use the defaultHeaderId . If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's evenPageHeaderId .

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

pageNumberStart

integer

The page number from which to start counting the number of pages for this section. If unset, page numbering continues from the previous section. If the value is unset in the first SectionBreak , refer to DocumentStyle's pageNumberStart .

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

flipPageOrientation

boolean

Optional. Indicates whether to flip the dimensions of DocumentStyle's pageSize for this section, which allows changing the page orientation between portrait and landscape. If unset, the value inherits from DocumentStyle's flipPageOrientation .

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.

SectionColumnProperties

Properties that apply to a section's column.

JSON representation
{
  "width": {
    object (Dimension)
  },
  "paddingEnd": {
    object (Dimension)
  }
}
ক্ষেত্র
width

object ( Dimension )

Output only. The width of the column.

paddingEnd

object ( Dimension )

The padding at the end of the column.

ColumnSeparatorStyle

The style of column separators between columns.

এনাম
COLUMN_SEPARATOR_STYLE_UNSPECIFIED An unspecified column separator style.
NONE No column separator lines between columns.
BETWEEN_EACH_COLUMN Renders a column separator line between each column.

SectionType

Represents how the start of the current section is positioned relative to the previous section.

এনাম
SECTION_TYPE_UNSPECIFIED The section type is unspecified.
CONTINUOUS The section starts immediately after the last paragraph of the previous section.
NEXT_PAGE The section starts on the next page.

টেবিল

A StructuralElement representing a table.

JSON representation
{
  "rows": integer,
  "columns": integer,
  "tableRows": [
    {
      object (TableRow)
    }
  ],
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "tableStyle": {
    object (TableStyle)
  }
}
ক্ষেত্র
rows

integer

Number of rows in the table.

columns

integer

Number of columns in the table.

It's possible for a table to be non-rectangular, so some rows may have a different number of cells.

tableRows[]

object ( TableRow )

The contents and style of each row.

suggestedInsertionIds[]

string

The suggested insertion IDs. A Table may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

tableStyle

object ( TableStyle )

The style of the table.

TableRow

The contents and style of a row in a Table .

JSON representation
{
  "startIndex": integer,
  "endIndex": integer,
  "tableCells": [
    {
      object (TableCell)
    }
  ],
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "tableRowStyle": {
    object (TableRowStyle)
  },
  "suggestedTableRowStyleChanges": {
    string: {
      object (SuggestedTableRowStyle)
    },
    ...
  }
}
ক্ষেত্র
startIndex

integer

The zero-based start index of this row, in UTF-16 code units.

endIndex

integer

The zero-based end index of this row, exclusive, in UTF-16 code units.

tableCells[]

object ( TableCell )

The contents and style of each cell in this row.

It's possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same table.

suggestedInsertionIds[]

string

The suggested insertion IDs. A TableRow may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

tableRowStyle

object ( TableRowStyle )

The style of the table row.

suggestedTableRowStyleChanges

map (key: string, value: object ( SuggestedTableRowStyle ))

The suggested style changes to this row, keyed by suggestion ID.

TableCell

The contents and style of a cell in a Table .

JSON representation
{
  "startIndex": integer,
  "endIndex": integer,
  "content": [
    {
      object (StructuralElement)
    }
  ],
  "tableCellStyle": {
    object (TableCellStyle)
  },
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ],
  "suggestedTableCellStyleChanges": {
    string: {
      object (SuggestedTableCellStyle)
    },
    ...
  }
}
ক্ষেত্র
startIndex

integer

The zero-based start index of this cell, in UTF-16 code units.

endIndex

integer

The zero-based end index of this cell, exclusive, in UTF-16 code units.

content[]

object ( StructuralElement )

The content of the cell.

tableCellStyle

object ( TableCellStyle )

The style of the cell.

suggestedInsertionIds[]

string

The suggested insertion IDs. A TableCell may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

suggestedTableCellStyleChanges

map (key: string, value: object ( SuggestedTableCellStyle ))

The suggested changes to the table cell style, keyed by suggestion ID.

TableCellStyle

The style of a TableCell .

Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style.

JSON representation
{
  "rowSpan": integer,
  "columnSpan": integer,
  "backgroundColor": {
    object (OptionalColor)
  },
  "borderLeft": {
    object (TableCellBorder)
  },
  "borderRight": {
    object (TableCellBorder)
  },
  "borderTop": {
    object (TableCellBorder)
  },
  "borderBottom": {
    object (TableCellBorder)
  },
  "paddingLeft": {
    object (Dimension)
  },
  "paddingRight": {
    object (Dimension)
  },
  "paddingTop": {
    object (Dimension)
  },
  "paddingBottom": {
    object (Dimension)
  },
  "contentAlignment": enum (ContentAlignment)
}
ক্ষেত্র
rowSpan

integer

The row span of the cell.

This property is read-only.

columnSpan

integer

The column span of the cell.

This property is read-only.

backgroundColor

object ( OptionalColor )

The background color of the cell.

borderLeft

object ( TableCellBorder )

The left border of the cell.

borderRight

object ( TableCellBorder )

The right border of the cell.

borderTop

object ( TableCellBorder )

The top border of the cell.

borderBottom

object ( TableCellBorder )

The bottom border of the cell.

paddingLeft

object ( Dimension )

The left padding of the cell.

paddingRight

object ( Dimension )

The right padding of the cell.

paddingTop

object ( Dimension )

The top padding of the cell.

paddingBottom

object ( Dimension )

The bottom padding of the cell.

contentAlignment

enum ( ContentAlignment )

The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.

TableCellBorder

A border around a table cell.

Table cell borders cannot be transparent. To hide a table cell border, make its width 0.

JSON representation
{
  "color": {
    object (OptionalColor)
  },
  "width": {
    object (Dimension)
  },
  "dashStyle": enum (DashStyle)
}
ক্ষেত্র
color

object ( OptionalColor )

The color of the border.

This color cannot be transparent.

width

object ( Dimension )

The width of the border.

dashStyle

enum ( DashStyle )

The dash style of the border.

ContentAlignment

The types of content alignment.

Derived from a subset of the values of the "ST_TextAnchoringType" simple type in section 20.1.10.60 of "Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th edition .

এনাম
CONTENT_ALIGNMENT_UNSPECIFIED An unspecified content alignment. The content alignment is inherited from the parent if one exists.
CONTENT_ALIGNMENT_UNSUPPORTED An unsupported content alignment.
TOP An alignment that aligns the content to the top of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 't'.
MIDDLE An alignment that aligns the content to the middle of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'.
BOTTOM An alignment that aligns the content to the bottom of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'.

SuggestedTableCellStyle

A suggested change to a TableCellStyle .

JSON representation
{
  "tableCellStyle": {
    object (TableCellStyle)
  },
  "tableCellStyleSuggestionState": {
    object (TableCellStyleSuggestionState)
  }
}
ক্ষেত্র
tableCellStyle

object ( TableCellStyle )

A TableCellStyle that only includes the changes made in this suggestion. This can be used along with the tableCellStyleSuggestionState to see which fields have changed and their new values.

tableCellStyleSuggestionState

object ( TableCellStyleSuggestionState )

A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion.

TableCellStyleSuggestionState

A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "rowSpanSuggested": boolean,
  "columnSpanSuggested": boolean,
  "backgroundColorSuggested": boolean,
  "borderLeftSuggested": boolean,
  "borderRightSuggested": boolean,
  "borderTopSuggested": boolean,
  "borderBottomSuggested": boolean,
  "paddingLeftSuggested": boolean,
  "paddingRightSuggested": boolean,
  "paddingTopSuggested": boolean,
  "paddingBottomSuggested": boolean,
  "contentAlignmentSuggested": boolean
}
ক্ষেত্র
rowSpanSuggested

boolean

Indicates if there was a suggested change to rowSpan .

columnSpanSuggested

boolean

Indicates if there was a suggested change to columnSpan .

backgroundColorSuggested

boolean

Indicates if there was a suggested change to backgroundColor .

borderLeftSuggested

boolean

Indicates if there was a suggested change to borderLeft .

borderRightSuggested

boolean

Indicates if there was a suggested change to borderRight .

borderTopSuggested

boolean

Indicates if there was a suggested change to borderTop .

borderBottomSuggested

boolean

Indicates if there was a suggested change to borderBottom .

paddingLeftSuggested

boolean

Indicates if there was a suggested change to paddingLeft .

paddingRightSuggested

boolean

Indicates if there was a suggested change to paddingRight .

paddingTopSuggested

boolean

Indicates if there was a suggested change to paddingTop .

paddingBottomSuggested

boolean

Indicates if there was a suggested change to paddingBottom .

contentAlignmentSuggested

boolean

Indicates if there was a suggested change to contentAlignment .

TableRowStyle

Styles that apply to a table row.

JSON representation
{
  "minRowHeight": {
    object (Dimension)
  },
  "tableHeader": boolean,
  "preventOverflow": boolean
}
ক্ষেত্র
minRowHeight

object ( Dimension )

The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells.

tableHeader

boolean

Whether the row is a table header.

preventOverflow

boolean

Whether the row cannot overflow across page or column boundaries.

SuggestedTableRowStyle

A suggested change to a TableRowStyle .

JSON representation
{
  "tableRowStyle": {
    object (TableRowStyle)
  },
  "tableRowStyleSuggestionState": {
    object (TableRowStyleSuggestionState)
  }
}
ক্ষেত্র
tableRowStyle

object ( TableRowStyle )

A TableRowStyle that only includes the changes made in this suggestion. This can be used along with the tableRowStyleSuggestionState to see which fields have changed and their new values.

tableRowStyleSuggestionState

object ( TableRowStyleSuggestionState )

A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion.

TableRowStyleSuggestionState

A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "minRowHeightSuggested": boolean
}
ক্ষেত্র
minRowHeightSuggested

boolean

Indicates if there was a suggested change to minRowHeight .

TableStyle

Styles that apply to a table.

JSON representation
{
  "tableColumnProperties": [
    {
      object (TableColumnProperties)
    }
  ]
}
ক্ষেত্র
tableColumnProperties[]

object ( TableColumnProperties )

The properties of each column.

Note that in Docs, tables contain rows and rows contain cells, similar to HTML. So the properties for a row can be found on the row's tableRowStyle .

TableColumnProperties

The properties of a column in a table.

JSON representation
{
  "widthType": enum (WidthType),
  "width": {
    object (Dimension)
  }
}
ক্ষেত্র
widthType

enum ( WidthType )

The width type of the column.

width

object ( Dimension )

The width of the column. Set when the column's widthType is FIXED_WIDTH .

WidthType

The type of width of the column.

এনাম
WIDTH_TYPE_UNSPECIFIED The column width type is unspecified.
EVENLY_DISTRIBUTED

The column width is evenly distributed among the other evenly distributed columns.

The width of the column is automatically determined and will have an equal portion of the width remaining for the table after accounting for all columns with specified widths.

FIXED_WIDTH A fixed column width. The [width][ google.apps.docs.v1.TableColumnProperties.width property contains the column's width.

TableOfContents

A StructuralElement representing a table of contents.

JSON representation
{
  "content": [
    {
      object (StructuralElement)
    }
  ],
  "suggestedInsertionIds": [
    string
  ],
  "suggestedDeletionIds": [
    string
  ]
}
ক্ষেত্র
content[]

object ( StructuralElement )

The content of the table of contents.

suggestedInsertionIds[]

string

The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

Footnote

A document footnote.

JSON representation
{
  "footnoteId": string,
  "content": [
    {
      object (StructuralElement)
    }
  ]
}
ক্ষেত্র
footnoteId

string

The ID of the footnote.

content[]

object ( StructuralElement )

The contents of the footnote.

The indexes for a footnote's content begin at zero.

DocumentStyle

The style of the document.

JSON representation
{
  "background": {
    object (Background)
  },
  "defaultHeaderId": string,
  "defaultFooterId": string,
  "evenPageHeaderId": string,
  "evenPageFooterId": string,
  "firstPageHeaderId": string,
  "firstPageFooterId": string,
  "useFirstPageHeaderFooter": boolean,
  "useEvenPageHeaderFooter": boolean,
  "pageNumberStart": integer,
  "marginTop": {
    object (Dimension)
  },
  "marginBottom": {
    object (Dimension)
  },
  "marginRight": {
    object (Dimension)
  },
  "marginLeft": {
    object (Dimension)
  },
  "pageSize": {
    object (Size)
  },
  "marginHeader": {
    object (Dimension)
  },
  "marginFooter": {
    object (Dimension)
  },
  "useCustomHeaderFooterMargins": boolean,
  "flipPageOrientation": boolean,
  "documentFormat": {
    object (DocumentFormat)
  }
}
ক্ষেত্র
background

object ( Background )

The background of the document. Documents cannot have a transparent background color.

defaultHeaderId

string

The ID of the default header. If not set, there's no default header.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

evenPageHeaderId

string

The ID of the header used only for even pages. The value of useEvenPageHeaderFooter determines whether to use the defaultHeaderId or this value for the header on even pages. If not set, there's no even page header.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

firstPageHeaderId

string

The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of useFirstPageHeaderFooter determines whether to use the defaultHeaderId or this value for the header on the first page. If not set, there's no first page header.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

This property is read-only.

pageNumberStart

integer

The page number from which to start counting the number of pages.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

marginTop

object ( Dimension )

The top page margin.

Updating the top page margin on the document style clears the top page margin on all section styles.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

marginBottom

object ( Dimension )

The bottom page margin.

Updating the bottom page margin on the document style clears the bottom page margin on all section styles.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

marginRight

object ( Dimension )

The right page margin.

Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

marginLeft

object ( Dimension )

The left page margin.

Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

pageSize

object ( Size )

The size of a page in the document.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

marginHeader

object ( Dimension )

The amount of space between the top of the page and the contents of the header.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

flipPageOrientation

boolean

Optional. Indicates whether to flip the dimensions of the pageSize , which allows changing the page orientation between portrait and landscape.

If [DocumentMode][google.apps.docs.v1.DocumentStyle.document_format.document_mode] is PAGELESS , this property will not be rendered.

documentFormat

object ( DocumentFormat )

Specifies document-level format settings, such as the document mode (pages vs pageless).

পটভূমি

Represents the background of a document.

JSON representation
{
  "color": {
    object (OptionalColor)
  }
}
ক্ষেত্র
color

object ( OptionalColor )

The background color.

আকার

A width and height.

JSON representation
{
  "height": {
    object (Dimension)
  },
  "width": {
    object (Dimension)
  }
}
ক্ষেত্র
height

object ( Dimension )

The height of the object.

width

object ( Dimension )

The width of the object.

DocumentFormat

Represents document-level format settings.

JSON representation
{
  "documentMode": enum (DocumentMode)
}
ক্ষেত্র
documentMode

enum ( DocumentMode )

Whether the document has pages or is pageless.

DocumentMode

Whether the document has pages or is pageless.

এনাম
DOCUMENT_MODE_UNSPECIFIED The document mode is unspecified.
PAGES The document has pages.
PAGELESS The document is pageless.

SuggestedDocumentStyle

A suggested change to the DocumentStyle .

JSON representation
{
  "documentStyle": {
    object (DocumentStyle)
  },
  "documentStyleSuggestionState": {
    object (DocumentStyleSuggestionState)
  }
}
ক্ষেত্র
documentStyle

object ( DocumentStyle )

A DocumentStyle that only includes the changes made in this suggestion. This can be used along with the documentStyleSuggestionState to see which fields have changed and their new values.

documentStyleSuggestionState

object ( DocumentStyleSuggestionState )

A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion.

DocumentStyleSuggestionState

A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "backgroundSuggestionState": {
    object (BackgroundSuggestionState)
  },
  "defaultHeaderIdSuggested": boolean,
  "defaultFooterIdSuggested": boolean,
  "evenPageHeaderIdSuggested": boolean,
  "evenPageFooterIdSuggested": boolean,
  "firstPageHeaderIdSuggested": boolean,
  "firstPageFooterIdSuggested": boolean,
  "useFirstPageHeaderFooterSuggested": boolean,
  "useEvenPageHeaderFooterSuggested": boolean,
  "pageNumberStartSuggested": boolean,
  "marginTopSuggested": boolean,
  "marginBottomSuggested": boolean,
  "marginRightSuggested": boolean,
  "marginLeftSuggested": boolean,
  "pageSizeSuggestionState": {
    object (SizeSuggestionState)
  },
  "marginHeaderSuggested": boolean,
  "marginFooterSuggested": boolean,
  "useCustomHeaderFooterMarginsSuggested": boolean,
  "flipPageOrientationSuggested": boolean
}
ক্ষেত্র
backgroundSuggestionState

object ( BackgroundSuggestionState )

A mask that indicates which of the fields in background have been changed in this suggestion.

defaultHeaderIdSuggested

boolean

Indicates if there was a suggested change to defaultHeaderId .

evenPageHeaderIdSuggested

boolean

Indicates if there was a suggested change to evenPageHeaderId .

firstPageHeaderIdSuggested

boolean

Indicates if there was a suggested change to firstPageHeaderId .

pageNumberStartSuggested

boolean

Indicates if there was a suggested change to pageNumberStart .

marginTopSuggested

boolean

Indicates if there was a suggested change to marginTop .

marginBottomSuggested

boolean

Indicates if there was a suggested change to marginBottom .

marginRightSuggested

boolean

Indicates if there was a suggested change to marginRight .

marginLeftSuggested

boolean

Indicates if there was a suggested change to marginLeft .

pageSizeSuggestionState

object ( SizeSuggestionState )

A mask that indicates which of the fields in [size] [google.apps.docs.v1.DocumentStyle.size] have been changed in this suggestion.

marginHeaderSuggested

boolean

Indicates if there was a suggested change to marginHeader .

flipPageOrientationSuggested

boolean

Optional. Indicates if there was a suggested change to flipPageOrientation .

BackgroundSuggestionState

A mask that indicates which of the fields on the base Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value.

JSON representation
{
  "backgroundColorSuggested": boolean
}
ক্ষেত্র
backgroundColorSuggested

boolean

Indicates whether the current background color has been modified in this suggestion.

SizeSuggestionState

A mask that indicates which of the fields on the base Size have been changed in this suggestion. For any field set to true, the Size has a new suggested value.

JSON representation
{
  "heightSuggested": boolean,
  "widthSuggested": boolean
}
ক্ষেত্র
heightSuggested

boolean

Indicates if there was a suggested change to height .

widthSuggested

boolean

Indicates if there was a suggested change to width .

NamedStyles

The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles.

JSON representation
{
  "styles": [
    {
      object (NamedStyle)
    }
  ]
}
ক্ষেত্র
styles[]

object ( NamedStyle )

The named styles.

There's an entry for each of the possible named style types .

NamedStyle

A named style. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from this named style when they have the same named style type.

JSON representation
{
  "namedStyleType": enum (NamedStyleType),
  "textStyle": {
    object (TextStyle)
  },
  "paragraphStyle": {
    object (ParagraphStyle)
  }
}
ক্ষেত্র
namedStyleType

enum ( NamedStyleType )

The type of this named style.

textStyle

object ( TextStyle )

The text style of this named style.

paragraphStyle

object ( ParagraphStyle )

The paragraph style of this named style.

SuggestedNamedStyles

A suggested change to the NamedStyles .

JSON representation
{
  "namedStyles": {
    object (NamedStyles)
  },
  "namedStylesSuggestionState": {
    object (NamedStylesSuggestionState)
  }
}
ক্ষেত্র
namedStyles

object ( NamedStyles )

A NamedStyles that only includes the changes made in this suggestion. This can be used along with the namedStylesSuggestionState to see which fields have changed and their new values.

namedStylesSuggestionState

object ( NamedStylesSuggestionState )

A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion.

NamedStylesSuggestionState

The suggestion state of a NamedStyles message.

JSON representation
{
  "stylesSuggestionStates": [
    {
      object (NamedStyleSuggestionState)
    }
  ]
}
ক্ষেত্র
stylesSuggestionStates[]

object ( NamedStyleSuggestionState )

A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this suggestion.

The order of these named style suggestion states matches the order of the corresponding named style within the named styles suggestion.

NamedStyleSuggestionState

A suggestion state of a NamedStyle message.

JSON representation
{
  "namedStyleType": enum (NamedStyleType),
  "textStyleSuggestionState": {
    object (TextStyleSuggestionState)
  },
  "paragraphStyleSuggestionState": {
    object (ParagraphStyleSuggestionState)
  }
}
ক্ষেত্র
namedStyleType

enum ( NamedStyleType )

The named style type that this suggestion state corresponds to.

This field is provided as a convenience for matching the NamedStyleSuggestionState with its corresponding NamedStyle .

textStyleSuggestionState

object ( TextStyleSuggestionState )

A mask that indicates which of the fields in text style have been changed in this suggestion.

paragraphStyleSuggestionState

object ( ParagraphStyleSuggestionState )

A mask that indicates which of the fields in paragraph style have been changed in this suggestion.

তালিকা

A List represents the list attributes for a group of paragraphs that all belong to the same list. A paragraph that's part of a list has a reference to the list's ID in its bullet .

JSON representation
{
  "listProperties": {
    object (ListProperties)
  },
  "suggestedListPropertiesChanges": {
    string: {
      object (SuggestedListProperties)
    },
    ...
  },
  "suggestedInsertionId": string,
  "suggestedDeletionIds": [
    string
  ]
}
ক্ষেত্র
listProperties

object ( ListProperties )

The properties of the list.

suggestedListPropertiesChanges

map (key: string, value: object ( SuggestedListProperties ))

The suggested changes to the list properties, keyed by suggestion ID.

suggestedInsertionId

string

The suggested insertion ID. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this list.

ListProperties

The properties of a list that describe the look and feel of bullets belonging to paragraphs associated with a list.

JSON representation
{
  "nestingLevels": [
    {
      object (NestingLevel)
    }
  ]
}
ক্ষেত্র
nestingLevels[]

object ( NestingLevel )

Describes the properties of the bullets at the associated level.

A list has at most 9 levels of nesting with nesting level 0 corresponding to the top-most level and nesting level 8 corresponding to the most nested level. The nesting levels are returned in ascending order with the least nested returned first.

NestingLevel

Contains properties describing the look and feel of a list bullet at a given level of nesting.

JSON representation
{
  "bulletAlignment": enum (BulletAlignment),
  "glyphFormat": string,
  "indentFirstLine": {
    object (Dimension)
  },
  "indentStart": {
    object (Dimension)
  },
  "textStyle": {
    object (TextStyle)
  },
  "startNumber": integer,

  "glyphType": enum (GlyphType),
  "glyphSymbol": string
}
ক্ষেত্র
bulletAlignment

enum ( BulletAlignment )

The alignment of the bullet within the space allotted for rendering the bullet.

glyphFormat

string

The format string used by bullets at this level of nesting.

The glyph format contains one or more placeholders, and these placeholders are replaced with the appropriate values depending on the glyphType or glyphSymbol . The placeholders follow the pattern %[nestingLevel] . Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph format follows the pattern <prefix>%[nestingLevel]<suffix> . Note that the prefix and suffix are optional and can be arbitrary strings.

For example, the glyph format %0. indicates that the rendered glyph will replace the placeholder with the corresponding glyph for nesting level 0 followed by a period as the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format %0. at nesting level 0 will result in a list with rendered glyphs

A.

B.

C.

The glyph format can contain placeholders for the current nesting level as well as placeholders for parent nesting levels. For example, a list can have a glyph format of %0. at nesting level 0 and a glyph format of %0.%1. at nesting level 1. Assuming both nesting levels have DECIMAL glyph types, this would result in a list with rendered glyphs

1.

2.

2.1.

2.2.

3.

For nesting levels that are ordered, the string that replaces a placeholder in the glyph format for a particular paragraph depends on the paragraph's order within the list.

indentFirstLine

object ( Dimension )

The amount of indentation for the first line of paragraphs at this level of nesting.

indentStart

object ( Dimension )

The amount of indentation for paragraphs at this level of nesting. Applied to the side that corresponds to the start of the text, based on the paragraph's content direction.

textStyle

object ( TextStyle )

The text style of bullets at this level of nesting.

startNumber

integer

The number of the first list item at this nesting level.

A value of 0 is treated as a value of 1 for lettered lists and Roman numeral lists. For values of both 0 and 1, lettered and Roman numeral lists will begin at a and i respectively.

This value is ignored for nesting levels with unordered glyphs.

Union field glyph_kind . The kind of glyph used by bullets. This defines the bullet glyph that replaces the placeholders in the glyph_format . glyph_kind can be only one of the following:
glyphType

enum ( GlyphType )

The type of glyph used by bullets when paragraphs at this level of nesting is ordered.

The glyph type determines the type of glyph used to replace placeholders within the glyphFormat when paragraphs at this level of nesting are ordered. For example, if the nesting level is 0, the glyphFormat is %0. and the glyph type is DECIMAL , then the rendered glyph would replace the placeholder %0 in the glyph format with a number corresponding to the list item's order within the list.

glyphSymbol

string

A custom glyph symbol used by bullets when paragraphs at this level of nesting is unordered.

The glyph symbol replaces placeholders within the glyphFormat . For example, if the glyphSymbol is the solid circle corresponding to Unicode U+25cf code point and the glyphFormat is %0 , the rendered glyph would be the solid circle.

BulletAlignment

The types of alignment for a bullet.

এনাম
BULLET_ALIGNMENT_UNSPECIFIED The bullet alignment is unspecified.
START The bullet is aligned to the start of the space allotted for rendering the bullet. Left-aligned for LTR text, right-aligned otherwise.
CENTER The bullet is aligned to the center of the space allotted for rendering the bullet.
END The bullet is aligned to the end of the space allotted for rendering the bullet. Right-aligned for LTR text, left-aligned otherwise.

GlyphType

The types of glyphs used by bullets when paragraphs at this level of nesting is ordered.

এনাম
GLYPH_TYPE_UNSPECIFIED The glyph type is unspecified or unsupported.
NONE An empty string.
DECIMAL A number, like 1 , 2 , or 3 .
ZERO_DECIMAL A number where single digit numbers are prefixed with a zero, like 01 , 02 , or 03 . Numbers with more than one digit are not prefixed with a zero.
UPPER_ALPHA An uppercase letter, like A , B , or C .
ALPHA A lowercase letter, like a , b , or c .
UPPER_ROMAN An uppercase Roman numeral, like I , II , or III .
ROMAN A lowercase Roman numeral, like i , ii , or iii .

SuggestedListProperties

A suggested change to ListProperties .

JSON representation
{
  "listProperties": {
    object (ListProperties)
  },
  "listPropertiesSuggestionState": {
    object (ListPropertiesSuggestionState)
  }
}
ক্ষেত্র
listProperties

object ( ListProperties )

A ListProperties that only includes the changes made in this suggestion. This can be used along with the listPropertiesSuggestionState to see which fields have changed and their new values.

listPropertiesSuggestionState

object ( ListPropertiesSuggestionState )

A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion.

ListPropertiesSuggestionState

A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "nestingLevelsSuggestionStates": [
    {
      object (NestingLevelSuggestionState)
    }
  ]
}
ক্ষেত্র
nestingLevelsSuggestionStates[]

object ( NestingLevelSuggestionState )

A mask that indicates which of the fields on the corresponding NestingLevel in nestingLevels have been changed in this suggestion.

The nesting level suggestion states are returned in ascending order of the nesting level with the least nested returned first.

NestingLevelSuggestionState

A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "bulletAlignmentSuggested": boolean,
  "glyphTypeSuggested": boolean,
  "glyphFormatSuggested": boolean,
  "glyphSymbolSuggested": boolean,
  "indentFirstLineSuggested": boolean,
  "indentStartSuggested": boolean,
  "textStyleSuggestionState": {
    object (TextStyleSuggestionState)
  },
  "startNumberSuggested": boolean
}
ক্ষেত্র
bulletAlignmentSuggested

boolean

Indicates if there was a suggested change to bulletAlignment .

glyphTypeSuggested

boolean

Indicates if there was a suggested change to glyphType .

glyphFormatSuggested

boolean

Indicates if there was a suggested change to glyphFormat .

glyphSymbolSuggested

boolean

Indicates if there was a suggested change to glyphSymbol .

indentFirstLineSuggested

boolean

Indicates if there was a suggested change to indentFirstLine .

indentStartSuggested

boolean

Indicates if there was a suggested change to indentStart .

textStyleSuggestionState

object ( TextStyleSuggestionState )

A mask that indicates which of the fields in text style have been changed in this suggestion.

startNumberSuggested

boolean

Indicates if there was a suggested change to startNumber .

NamedRanges

A collection of all the NamedRange s in the document that share a given name.

JSON representation
{
  "name": string,
  "namedRanges": [
    {
      object (NamedRange)
    }
  ]
}
ক্ষেত্র
name

string

The name that all the named ranges share.

namedRanges[]

object ( NamedRange )

The NamedRange s that share the same name.

NamedRange

A collection of Range s with the same named range ID.

Named ranges allow developers to associate parts of a document with an arbitrary user-defined label so their contents can be programmatically read or edited later. A document can contain multiple named ranges with the same name, but every named range has a unique ID.

A named range is created with a single Range , and content inserted inside a named range generally expands that range. However, certain document changes can cause the range to be split into multiple ranges.

Named ranges are not private. All applications and collaborators that have access to the document can see its named ranges.

JSON representation
{
  "namedRangeId": string,
  "name": string,
  "ranges": [
    {
      object (Range)
    }
  ]
}
ক্ষেত্র
namedRangeId

string

The ID of the named range.

name

string

The name of the named range.

ranges[]

object ( Range )

The ranges that belong to this named range.

পরিসর

Specifies a contiguous range of text.

JSON representation
{
  "segmentId": string,
  "startIndex": integer,
  "endIndex": integer,
  "tabId": string
}
ক্ষেত্র
segmentId

string

The ID of the header, footer, or footnote that this range is contained in. An empty segment ID signifies the document's body.

startIndex

integer

The zero-based start index of this range, in UTF-16 code units.

In all current uses, a start index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges.

endIndex

integer

The zero-based end index of this range, exclusive, in UTF-16 code units.

In all current uses, an end index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges.

tabId

string

The tab that contains this range. When omitted, the request applies to the first tab.

In a document containing a single tab:

  • If provided, must match the singular tab's ID.

  • If omitted, the request applies to the singular tab.

In a document containing multiple tabs:

  • If provided, the request applies to the specified tab.

  • If omitted, the request applies to the first tab in the document.

InlineObject

An object that appears inline with text. An InlineObject contains an EmbeddedObject such as an image.

JSON representation
{
  "objectId": string,
  "inlineObjectProperties": {
    object (InlineObjectProperties)
  },
  "suggestedInlineObjectPropertiesChanges": {
    string: {
      object (SuggestedInlineObjectProperties)
    },
    ...
  },
  "suggestedInsertionId": string,
  "suggestedDeletionIds": [
    string
  ]
}
ক্ষেত্র
objectId

string

The ID of this inline object. Can be used to update an object's properties.

inlineObjectProperties

object ( InlineObjectProperties )

The properties of this inline object.

suggestedInlineObjectPropertiesChanges

map (key: string, value: object ( SuggestedInlineObjectProperties ))

The suggested changes to the inline object properties, keyed by suggestion ID.

suggestedInsertionId

string

The suggested insertion ID. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

InlineObjectProperties

Properties of an InlineObject .

JSON representation
{
  "embeddedObject": {
    object (EmbeddedObject)
  }
}
ক্ষেত্র
embeddedObject

object ( EmbeddedObject )

The embedded object of this inline object.

EmbeddedObject

An embedded object in the document.

JSON representation
{
  "title": string,
  "description": string,
  "embeddedObjectBorder": {
    object (EmbeddedObjectBorder)
  },
  "size": {
    object (Size)
  },
  "marginTop": {
    object (Dimension)
  },
  "marginBottom": {
    object (Dimension)
  },
  "marginRight": {
    object (Dimension)
  },
  "marginLeft": {
    object (Dimension)
  },
  "linkedContentReference": {
    object (LinkedContentReference)
  },

  "embeddedDrawingProperties": {
    object (EmbeddedDrawingProperties)
  },
  "imageProperties": {
    object (ImageProperties)
  }
}
ক্ষেত্র
title

string

The title of the embedded object. The title and description are both combined to display alt text.

description

string

The description of the embedded object. The title and description are both combined to display alt text.

embeddedObjectBorder

object ( EmbeddedObjectBorder )

The border of the embedded object.

size

object ( Size )

The visible size of the image after cropping.

marginTop

object ( Dimension )

The top margin of the embedded object.

marginBottom

object ( Dimension )

The bottom margin of the embedded object.

marginRight

object ( Dimension )

The right margin of the embedded object.

marginLeft

object ( Dimension )

The left margin of the embedded object.

linkedContentReference

object ( LinkedContentReference )

A reference to the external linked source content. For example, it contains a reference to the source Google Sheets chart when the embedded object is a linked chart.

If unset, then the embedded object is not linked.

Union field properties . The properties that are specific to each embedded object type. properties can be only one of the following:
embeddedDrawingProperties

object ( EmbeddedDrawingProperties )

The properties of an embedded drawing.

imageProperties

object ( ImageProperties )

The properties of an image.

EmbeddedDrawingProperties

এই প্রকারে কোনো ক্ষেত্র নেই।

The properties of an embedded drawing and used to differentiate the object type. An embedded drawing is one that's created and edited within a document. Note that extensive details are not supported.

ImageProperties

The properties of an image.

JSON representation
{
  "contentUri": string,
  "sourceUri": string,
  "brightness": number,
  "contrast": number,
  "transparency": number,
  "cropProperties": {
    object (CropProperties)
  },
  "angle": number
}
ক্ষেত্র
contentUri

string

A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original requester. Access to the image may be lost if the document's sharing settings change.

sourceUri

string

The source URI is the URI used to insert the image. The source URI can be empty.

brightness

number

The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.

contrast

number

The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.

transparency

number

The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means transparent.

cropProperties

object ( CropProperties )

The crop properties of the image.

angle

number

The clockwise rotation angle of the image, in radians.

CropProperties

The crop properties of an image.

The crop rectangle is represented using fractional offsets from the original content's 4 edges.

  • If the offset is in the interval (0, 1), the corresponding edge of crop rectangle is positioned inside of the image's original bounding rectangle.
  • If the offset is negative or greater than 1, the corresponding edge of crop rectangle is positioned outside of the image's original bounding rectangle.
  • If all offsets and rotation angles are 0, the image is not cropped.
JSON representation
{
  "offsetLeft": number,
  "offsetRight": number,
  "offsetTop": number,
  "offsetBottom": number,
  "angle": number
}
ক্ষেত্র
offsetLeft

number

The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width.

offsetRight

number

The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width.

offsetTop

number

The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height.

offsetBottom

number

The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height.

angle

number

The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets.

EmbeddedObjectBorder

A border around an EmbeddedObject .

JSON representation
{
  "color": {
    object (OptionalColor)
  },
  "width": {
    object (Dimension)
  },
  "dashStyle": enum (DashStyle),
  "propertyState": enum (PropertyState)
}
ক্ষেত্র
color

object ( OptionalColor )

The color of the border.

width

object ( Dimension )

The width of the border.

dashStyle

enum ( DashStyle )

The dash style of the border.

propertyState

enum ( PropertyState )

The property state of the border property.

PropertyState

The possible states of a property.

এনাম
RENDERED If a property's state is RENDERED, then the element has the corresponding property when rendered in the document. This is the default value.
NOT_RENDERED If a property's state is NOT_RENDERED, then the element does not have the corresponding property when rendered in the document.

LinkedContentReference

A reference to the external linked source content.

JSON representation
{

  "sheetsChartReference": {
    object (SheetsChartReference)
  }
}
ক্ষেত্র
Union field reference . The reference specific to the type of linked content. reference can be only one of the following:
sheetsChartReference

object ( SheetsChartReference )

A reference to the linked chart.

SheetsChartReference

A reference to a linked chart embedded from Google Sheets.

JSON representation
{
  "spreadsheetId": string,
  "chartId": integer
}
ক্ষেত্র
spreadsheetId

string

The ID of the Google Sheets spreadsheet that contains the source chart.

chartId

integer

The ID of the specific chart in the Google Sheets spreadsheet that's embedded.

SuggestedInlineObjectProperties

A suggested change to InlineObjectProperties .

JSON representation
{
  "inlineObjectProperties": {
    object (InlineObjectProperties)
  },
  "inlineObjectPropertiesSuggestionState": {
    object (InlineObjectPropertiesSuggestionState)
  }
}
ক্ষেত্র
inlineObjectProperties

object ( InlineObjectProperties )

An InlineObjectProperties that only includes the changes made in this suggestion. This can be used along with the inlineObjectPropertiesSuggestionState to see which fields have changed and their new values.

inlineObjectPropertiesSuggestionState

object ( InlineObjectPropertiesSuggestionState )

A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion.

InlineObjectPropertiesSuggestionState

A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "embeddedObjectSuggestionState": {
    object (EmbeddedObjectSuggestionState)
  }
}
ক্ষেত্র
embeddedObjectSuggestionState

object ( EmbeddedObjectSuggestionState )

A mask that indicates which of the fields in embeddedObject have been changed in this suggestion.

EmbeddedObjectSuggestionState

A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "embeddedDrawingPropertiesSuggestionState": {
    object (EmbeddedDrawingPropertiesSuggestionState)
  },
  "imagePropertiesSuggestionState": {
    object (ImagePropertiesSuggestionState)
  },
  "titleSuggested": boolean,
  "descriptionSuggested": boolean,
  "embeddedObjectBorderSuggestionState": {
    object (EmbeddedObjectBorderSuggestionState)
  },
  "sizeSuggestionState": {
    object (SizeSuggestionState)
  },
  "marginLeftSuggested": boolean,
  "marginRightSuggested": boolean,
  "marginTopSuggested": boolean,
  "marginBottomSuggested": boolean,
  "linkedContentReferenceSuggestionState": {
    object (LinkedContentReferenceSuggestionState)
  }
}
ক্ষেত্র
embeddedDrawingPropertiesSuggestionState

object ( EmbeddedDrawingPropertiesSuggestionState )

A mask that indicates which of the fields in embeddedDrawingProperties have been changed in this suggestion.

imagePropertiesSuggestionState

object ( ImagePropertiesSuggestionState )

A mask that indicates which of the fields in imageProperties have been changed in this suggestion.

titleSuggested

boolean

Indicates if there was a suggested change to title .

descriptionSuggested

boolean

Indicates if there was a suggested change to description .

embeddedObjectBorderSuggestionState

object ( EmbeddedObjectBorderSuggestionState )

A mask that indicates which of the fields in embeddedObjectBorder have been changed in this suggestion.

sizeSuggestionState

object ( SizeSuggestionState )

A mask that indicates which of the fields in size have been changed in this suggestion.

marginLeftSuggested

boolean

Indicates if there was a suggested change to marginLeft .

marginRightSuggested

boolean

Indicates if there was a suggested change to marginRight .

marginTopSuggested

boolean

Indicates if there was a suggested change to marginTop .

marginBottomSuggested

boolean

Indicates if there was a suggested change to marginBottom .

linkedContentReferenceSuggestionState

object ( LinkedContentReferenceSuggestionState )

A mask that indicates which of the fields in linkedContentReference have been changed in this suggestion.

EmbeddedDrawingPropertiesSuggestionState

এই প্রকারে কোনো ক্ষেত্র নেই।

A mask that indicates which of the fields on the base EmbeddedDrawingProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

ImagePropertiesSuggestionState

A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "contentUriSuggested": boolean,
  "sourceUriSuggested": boolean,
  "brightnessSuggested": boolean,
  "contrastSuggested": boolean,
  "transparencySuggested": boolean,
  "cropPropertiesSuggestionState": {
    object (CropPropertiesSuggestionState)
  },
  "angleSuggested": boolean
}
ক্ষেত্র
contentUriSuggested

boolean

Indicates if there was a suggested change to contentUri .

sourceUriSuggested

boolean

Indicates if there was a suggested change to [sourceUri] [google.apps.docs.v1.EmbeddedObject.source_uri].

brightnessSuggested

boolean

Indicates if there was a suggested change to [brightness] [google.apps.docs.v1.EmbeddedObject.brightness].

contrastSuggested

boolean

Indicates if there was a suggested change to [contrast] [google.apps.docs.v1.EmbeddedObject.contrast].

transparencySuggested

boolean

Indicates if there was a suggested change to [transparency] [google.apps.docs.v1.EmbeddedObject.transparency].

cropPropertiesSuggestionState

object ( CropPropertiesSuggestionState )

A mask that indicates which of the fields in cropProperties have been changed in this suggestion.

angleSuggested

boolean

Indicates if there was a suggested change to [angle] [google.apps.docs.v1.EmbeddedObject.angle].

CropPropertiesSuggestionState

A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "offsetLeftSuggested": boolean,
  "offsetRightSuggested": boolean,
  "offsetTopSuggested": boolean,
  "offsetBottomSuggested": boolean,
  "angleSuggested": boolean
}
ক্ষেত্র
offsetLeftSuggested

boolean

Indicates if there was a suggested change to offsetLeft .

offsetRightSuggested

boolean

Indicates if there was a suggested change to offsetRight .

offsetTopSuggested

boolean

Indicates if there was a suggested change to offsetTop .

offsetBottomSuggested

boolean

Indicates if there was a suggested change to offsetBottom .

angleSuggested

boolean

Indicates if there was a suggested change to angle .

EmbeddedObjectBorderSuggestionState

A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "colorSuggested": boolean,
  "widthSuggested": boolean,
  "dashStyleSuggested": boolean,
  "propertyStateSuggested": boolean
}
ক্ষেত্র
colorSuggested

boolean

Indicates if there was a suggested change to [color] [google.apps.docs.v1.EmbeddedBorderObject.color].

widthSuggested

boolean

Indicates if there was a suggested change to [width] [google.apps.docs.v1.EmbeddedBorderObject.width].

dashStyleSuggested

boolean

Indicates if there was a suggested change to [dashStyle] [google.apps.docs.v1.EmbeddedBorderObject.dash_style].

propertyStateSuggested

boolean

Indicates if there was a suggested change to [propertyState] [google.apps.docs.v1.EmbeddedBorderObject.property_state].

LinkedContentReferenceSuggestionState

A mask that indicates which of the fields on the base LinkedContentReference have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "sheetsChartReferenceSuggestionState": {
    object (SheetsChartReferenceSuggestionState)
  }
}
ক্ষেত্র
sheetsChartReferenceSuggestionState

object ( SheetsChartReferenceSuggestionState )

A mask that indicates which of the fields in sheetsChartReference have been changed in this suggestion.

SheetsChartReferenceSuggestionState

A mask that indicates which of the fields on the base SheetsChartReference have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "spreadsheetIdSuggested": boolean,
  "chartIdSuggested": boolean
}
ক্ষেত্র
spreadsheetIdSuggested

boolean

Indicates if there was a suggested change to spreadsheetId .

chartIdSuggested

boolean

Indicates if there was a suggested change to chartId .

PositionedObject

An object that's tethered to a Paragraph and positioned relative to the beginning of the paragraph. A PositionedObject contains an EmbeddedObject such as an image.

JSON representation
{
  "objectId": string,
  "positionedObjectProperties": {
    object (PositionedObjectProperties)
  },
  "suggestedPositionedObjectPropertiesChanges": {
    string: {
      object (SuggestedPositionedObjectProperties)
    },
    ...
  },
  "suggestedInsertionId": string,
  "suggestedDeletionIds": [
    string
  ]
}
ক্ষেত্র
objectId

string

The ID of this positioned object.

positionedObjectProperties

object ( PositionedObjectProperties )

The properties of this positioned object.

suggestedPositionedObjectPropertiesChanges

map (key: string, value: object ( SuggestedPositionedObjectProperties ))

The suggested changes to the positioned object properties, keyed by suggestion ID.

suggestedInsertionId

string

The suggested insertion ID. If empty, then this is not a suggested insertion.

suggestedDeletionIds[]

string

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

PositionedObjectProperties

Properties of a PositionedObject .

JSON representation
{
  "positioning": {
    object (PositionedObjectPositioning)
  },
  "embeddedObject": {
    object (EmbeddedObject)
  }
}
ক্ষেত্র
positioning

object ( PositionedObjectPositioning )

The positioning of this positioned object relative to the newline of the Paragraph that references this positioned object.

embeddedObject

object ( EmbeddedObject )

The embedded object of this positioned object.

PositionedObjectPositioning

The positioning of a PositionedObject . The positioned object is positioned relative to the beginning of the Paragraph it's tethered to.

JSON representation
{
  "layout": enum (PositionedObjectLayout),
  "leftOffset": {
    object (Dimension)
  },
  "topOffset": {
    object (Dimension)
  }
}
ক্ষেত্র
layout

enum ( PositionedObjectLayout )

The layout of this positioned object.

leftOffset

object ( Dimension )

The offset of the left edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in the document and the document's styling.

topOffset

object ( Dimension )

The offset of the top edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in the document and the document's styling.

PositionedObjectLayout

The possible layouts of a [PositionedObject][google.aps.docs.v1.PositionedObject].

এনাম
POSITIONED_OBJECT_LAYOUT_UNSPECIFIED The layout is unspecified.
WRAP_TEXT The text wraps around the positioned object.
BREAK_LEFT Breaks text such that the positioned object is on the left and text is on the right.
BREAK_RIGHT Breaks text such that the positioned object is on the right and text is on the left.
BREAK_LEFT_RIGHT Breaks text such that there's no text on the left or right of the positioned object.
IN_FRONT_OF_TEXT The positioned object is in front of the text.
BEHIND_TEXT The positioned object is behind the text.

SuggestedPositionedObjectProperties

A suggested change to PositionedObjectProperties .

JSON representation
{
  "positionedObjectProperties": {
    object (PositionedObjectProperties)
  },
  "positionedObjectPropertiesSuggestionState": {
    object (PositionedObjectPropertiesSuggestionState)
  }
}
ক্ষেত্র
positionedObjectProperties

object ( PositionedObjectProperties )

A PositionedObjectProperties that only includes the changes made in this suggestion. This can be used along with the positionedObjectPropertiesSuggestionState to see which fields have changed and their new values.

positionedObjectPropertiesSuggestionState

object ( PositionedObjectPropertiesSuggestionState )

A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion.

PositionedObjectPropertiesSuggestionState

A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "positioningSuggestionState": {
    object (PositionedObjectPositioningSuggestionState)
  },
  "embeddedObjectSuggestionState": {
    object (EmbeddedObjectSuggestionState)
  }
}
ক্ষেত্র
positioningSuggestionState

object ( PositionedObjectPositioningSuggestionState )

A mask that indicates which of the fields in positioning have been changed in this suggestion.

embeddedObjectSuggestionState

object ( EmbeddedObjectSuggestionState )

A mask that indicates which of the fields in embeddedObject have been changed in this suggestion.

PositionedObjectPositioningSuggestionState

A mask that indicates which of the fields on the base PositionedObjectPositioning have been changed in this suggestion. For any field set to true, there's a new suggested value.

JSON representation
{
  "layoutSuggested": boolean,
  "leftOffsetSuggested": boolean,
  "topOffsetSuggested": boolean
}
ক্ষেত্র
layoutSuggested

boolean

Indicates if there was a suggested change to layout .

leftOffsetSuggested

boolean

Indicates if there was a suggested change to leftOffset .

topOffsetSuggested

boolean

Indicates if there was a suggested change to topOffset .

SuggestionsViewMode

The suggestions view mode applied to the document that indicates how suggested changes are represented. It provides options for reading the document with all suggestions inline, accepted, or rejected.

এনাম
DEFAULT_FOR_CURRENT_ACCESS The SuggestionsViewMode applied to the returned document depends on the user's current access level. If the user only has view access, PREVIEW_WITHOUT_SUGGESTIONS is applied. Otherwise, SUGGESTIONS_INLINE is applied. This is the default suggestions view mode.
SUGGESTIONS_INLINE

The returned document has suggestions inline. Suggested changes will be differentiated from base content within the document.

Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.

PREVIEW_SUGGESTIONS_ACCEPTED

The returned document is a preview with all suggested changes accepted.

Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.

PREVIEW_WITHOUT_SUGGESTIONS The returned document is a preview with all suggested changes rejected if there are any suggestions in the document.

পদ্ধতি

batchUpdate

Applies one or more updates to the document.

create

Creates a blank document using the title given in the request.

get

Gets the latest version of the specified document.