Requests

অনুরোধ

একটি উপস্থাপনায় প্রয়োগ করার জন্য একক ধরনের আপডেট।

JSON প্রতিনিধিত্ব
{

  // Union field kind can be only one of the following:
  "createSlide": {
    object (CreateSlideRequest)
  },
  "createShape": {
    object (CreateShapeRequest)
  },
  "createTable": {
    object (CreateTableRequest)
  },
  "insertText": {
    object (InsertTextRequest)
  },
  "insertTableRows": {
    object (InsertTableRowsRequest)
  },
  "insertTableColumns": {
    object (InsertTableColumnsRequest)
  },
  "deleteTableRow": {
    object (DeleteTableRowRequest)
  },
  "deleteTableColumn": {
    object (DeleteTableColumnRequest)
  },
  "replaceAllText": {
    object (ReplaceAllTextRequest)
  },
  "deleteObject": {
    object (DeleteObjectRequest)
  },
  "updatePageElementTransform": {
    object (UpdatePageElementTransformRequest)
  },
  "updateSlidesPosition": {
    object (UpdateSlidesPositionRequest)
  },
  "deleteText": {
    object (DeleteTextRequest)
  },
  "createImage": {
    object (CreateImageRequest)
  },
  "createVideo": {
    object (CreateVideoRequest)
  },
  "createSheetsChart": {
    object (CreateSheetsChartRequest)
  },
  "createLine": {
    object (CreateLineRequest)
  },
  "refreshSheetsChart": {
    object (RefreshSheetsChartRequest)
  },
  "updateShapeProperties": {
    object (UpdateShapePropertiesRequest)
  },
  "updateImageProperties": {
    object (UpdateImagePropertiesRequest)
  },
  "updateVideoProperties": {
    object (UpdateVideoPropertiesRequest)
  },
  "updatePageProperties": {
    object (UpdatePagePropertiesRequest)
  },
  "updateTableCellProperties": {
    object (UpdateTableCellPropertiesRequest)
  },
  "updateLineProperties": {
    object (UpdateLinePropertiesRequest)
  },
  "createParagraphBullets": {
    object (CreateParagraphBulletsRequest)
  },
  "replaceAllShapesWithImage": {
    object (ReplaceAllShapesWithImageRequest)
  },
  "duplicateObject": {
    object (DuplicateObjectRequest)
  },
  "updateTextStyle": {
    object (UpdateTextStyleRequest)
  },
  "replaceAllShapesWithSheetsChart": {
    object (ReplaceAllShapesWithSheetsChartRequest)
  },
  "deleteParagraphBullets": {
    object (DeleteParagraphBulletsRequest)
  },
  "updateParagraphStyle": {
    object (UpdateParagraphStyleRequest)
  },
  "updateTableBorderProperties": {
    object (UpdateTableBorderPropertiesRequest)
  },
  "updateTableColumnProperties": {
    object (UpdateTableColumnPropertiesRequest)
  },
  "updateTableRowProperties": {
    object (UpdateTableRowPropertiesRequest)
  },
  "mergeTableCells": {
    object (MergeTableCellsRequest)
  },
  "unmergeTableCells": {
    object (UnmergeTableCellsRequest)
  },
  "groupObjects": {
    object (GroupObjectsRequest)
  },
  "ungroupObjects": {
    object (UngroupObjectsRequest)
  },
  "updatePageElementAltText": {
    object (UpdatePageElementAltTextRequest)
  },
  "replaceImage": {
    object (ReplaceImageRequest)
  },
  "updateSlideProperties": {
    object (UpdateSlidePropertiesRequest)
  },
  "updatePageElementsZOrder": {
    object (UpdatePageElementsZOrderRequest)
  },
  "updateLineCategory": {
    object (UpdateLineCategoryRequest)
  },
  "rerouteLine": {
    object (RerouteLineRequest)
  }
  // End of list of possible types for union field kind.
}
ক্ষেত্র
ইউনিয়ন ক্ষেত্র kind . আপডেট ধরনের. ঠিক একটি ক্ষেত্র প্রয়োজন. kind নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
createSlide

object ( CreateSlideRequest )

একটি নতুন স্লাইড তৈরি করে।

createShape

object ( CreateShapeRequest )

নতুন আকৃতি তৈরি করে।

createTable

object ( CreateTableRequest )

একটি নতুন টেবিল তৈরি করে।

insertText

object ( InsertTextRequest )

একটি আকার বা টেবিল কক্ষে পাঠ্য সন্নিবেশ করান।

insertTableRows

object ( InsertTableRowsRequest )

একটি টেবিলে সারি সন্নিবেশ করান।

insertTableColumns

object ( InsertTableColumnsRequest )

একটি টেবিলে কলাম সন্নিবেশ করান।

deleteTableRow

object ( DeleteTableRowRequest )

একটি টেবিল থেকে একটি সারি মুছে দেয়।

deleteTableColumn

object ( DeleteTableColumnRequest )

একটি টেবিল থেকে একটি কলাম মুছে দেয়।

replaceAllText

object ( ReplaceAllTextRequest )

নির্দিষ্ট পাঠ্যের সমস্ত দৃষ্টান্ত প্রতিস্থাপন করে।

deleteObject

object ( DeleteObjectRequest )

উপস্থাপনা থেকে একটি পৃষ্ঠা বা পৃষ্ঠা উপাদান মুছে দেয়।

updatePageElementTransform

object ( UpdatePageElementTransformRequest )

একটি পৃষ্ঠা উপাদানের রূপান্তর আপডেট করে।

updateSlidesPosition

object ( UpdateSlidesPositionRequest )

উপস্থাপনায় স্লাইডের একটি সেটের অবস্থান আপডেট করে।

deleteText

object ( DeleteTextRequest )

একটি আকৃতি বা একটি টেবিল ঘর থেকে পাঠ্য মুছে দেয়।

createImage

object ( CreateImageRequest )

একটি ইমেজ তৈরি করে।

createVideo

object ( CreateVideoRequest )

একটি ভিডিও তৈরি করে।

createSheetsChart

object ( CreateSheetsChartRequest )

একটি এম্বেড করা Google পত্রক চার্ট তৈরি করে৷

createLine

object ( CreateLineRequest )

একটি লাইন তৈরি করে।

refreshSheetsChart

object ( RefreshSheetsChartRequest )

একটি Google পত্রক চার্ট রিফ্রেশ করে।

updateShapeProperties

object ( UpdateShapePropertiesRequest )

একটি Shape বৈশিষ্ট্য আপডেট করে।

updateImageProperties

object ( UpdateImagePropertiesRequest )

একটি Image বৈশিষ্ট্য আপডেট করে।

updateVideoProperties

object ( UpdateVideoPropertiesRequest )

একটি Video বৈশিষ্ট্য আপডেট করে।

updatePageProperties

object ( UpdatePagePropertiesRequest )

একটি Page বৈশিষ্ট্য আপডেট করে।

updateTableCellProperties

object ( UpdateTableCellPropertiesRequest )

একটি TableCell বৈশিষ্ট্য আপডেট করে।

updateLineProperties

object ( UpdateLinePropertiesRequest )

একটি Line বৈশিষ্ট্য আপডেট করে।

createParagraphBullets

object ( CreateParagraphBulletsRequest )

অনুচ্ছেদের জন্য বুলেট তৈরি করে।

replaceAllShapesWithImage

object ( ReplaceAllShapesWithImageRequest )

একটি চিত্রের সাথে কিছু মানদণ্ডের সাথে মিলে যাওয়া সমস্ত আকার প্রতিস্থাপন করে৷

duplicateObject

object ( DuplicateObjectRequest )

একটি স্লাইড বা পৃষ্ঠা উপাদান নকল করে।

updateTextStyle

object ( UpdateTextStyleRequest )

একটি Shape বা Table মধ্যে পাঠ্যের স্টাইলিং আপডেট করে।

replaceAllShapesWithSheetsChart

object ( ReplaceAllShapesWithSheetsChartRequest )

একটি Google পত্রক চার্ট দিয়ে কিছু মানদণ্ডের সাথে মিলে যাওয়া সমস্ত আকার প্রতিস্থাপন করে৷

deleteParagraphBullets

object ( DeleteParagraphBulletsRequest )

অনুচ্ছেদ থেকে বুলেট মুছে দেয়।

updateParagraphStyle

object ( UpdateParagraphStyleRequest )

একটি Shape বা Table মধ্যে অনুচ্ছেদের স্টাইলিং আপডেট করে।

updateTableBorderProperties

object ( UpdateTableBorderPropertiesRequest )

একটি Table টেবিলের সীমানার বৈশিষ্ট্য আপডেট করে।

updateTableColumnProperties

object ( UpdateTableColumnPropertiesRequest )

একটি Table কলামের বৈশিষ্ট্য আপডেট করে।

updateTableRowProperties

object ( UpdateTableRowPropertiesRequest )

একটি Table সারির বৈশিষ্ট্য আপডেট করে।

mergeTableCells

object ( MergeTableCellsRequest )

একটি Table ঘরগুলিকে একত্রিত করে।

unmergeTableCells

object ( UnmergeTableCellsRequest )

একটি Table কক্ষগুলিকে একত্রিত করে।

groupObjects

object ( GroupObjectsRequest )

গ্রুপ অবজেক্ট, যেমন পৃষ্ঠা উপাদান।

ungroupObjects

object ( UngroupObjectsRequest )

অবজেক্টগুলিকে আনগ্রুপ করে, যেমন groups

updatePageElementAltText

object ( UpdatePageElementAltTextRequest )

alt পাঠ্য শিরোনাম এবং/অথবা একটি page element বিবরণ আপডেট করে।

replaceImage

object ( ReplaceImageRequest )

একটি বিদ্যমান চিত্রকে একটি নতুন চিত্র দিয়ে প্রতিস্থাপন করে৷

updateSlideProperties

object ( UpdateSlidePropertiesRequest )

একটি স্লাইডের বৈশিষ্ট্য আপডেট করে

updatePageElementsZOrder

object ( UpdatePageElementsZOrderRequest )

page elements Z-ক্রম আপডেট করে।

updateLineCategory

object ( UpdateLineCategoryRequest )

একটি line বিভাগ আপডেট করে।

rerouteLine

object ( RerouteLineRequest )

একটি line পুনরায় রুট করে যাতে এটি সংযুক্ত পৃষ্ঠা উপাদানগুলিতে দুটি নিকটতম সংযোগ সাইটে সংযুক্ত থাকে৷

স্লাইড অনুরোধ তৈরি করুন

একটি স্লাইড তৈরি করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "insertionIndex": integer,
  "slideLayoutReference": {
    object (LayoutReference)
  },
  "placeholderIdMappings": [
    {
      object (LayoutPlaceholderIdMapping)
    }
  ]
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডি দৈর্ঘ্য 5 থেকে 50 অক্ষরের মধ্যে হতে হবে, অন্তর্ভুক্ত।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

insertionIndex

integer

ঐচ্ছিক শূন্য-ভিত্তিক সূচক যেখানে স্লাইডগুলি সন্নিবেশ করতে হবে তা নির্দেশ করে।

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

slideLayoutReference

object ( LayoutReference )

বর্তমান মাস্টারের উপর ভিত্তি করে ঢোকানো স্লাইডের লেআউট রেফারেন্স, যা নিম্নলিখিতগুলির মধ্যে একটি:

  • আগের স্লাইড সূচকের মাস্টার।
  • প্রথম স্লাইডের মাস্টার, যদি সন্নিবেশ সূচক শূন্য হয়।
  • উপস্থাপনায় প্রথম মাস্টার, যদি কোন স্লাইড না থাকে।

বর্তমান মাস্টারে যদি LayoutReference না পাওয়া যায়, তাহলে একটি 400 খারাপ অনুরোধের ত্রুটি ফেরত দেওয়া হয়।

যদি আপনি একটি লেআউট রেফারেন্স নির্দিষ্ট না করেন, স্লাইডটি পূর্বনির্ধারিত BLANK লেআউট ব্যবহার করে।

placeholderIdMappings[]

object ( LayoutPlaceholderIdMapping )

নির্দিষ্ট লেআউট থেকে স্লাইডে তৈরি করা স্থানধারকগুলিতে placeholder (গুলি) থেকে অবজেক্ট আইডি ম্যাপিংয়ের একটি ঐচ্ছিক তালিকা। শুধুমাত্র slideLayoutReference নির্দিষ্ট করা হলেই ব্যবহার করা যাবে।

লেআউট রেফারেন্স

স্লাইড লেআউট রেফারেন্স। এটি হয় উল্লেখ করতে পারে:

  • একটি পূর্বনির্ধারিত বিন্যাস
  • উপস্থাপনা মধ্যে বিন্যাস এক.
JSON প্রতিনিধিত্ব
{

  // Union field kind can be only one of the following:
  "predefinedLayout": enum (PredefinedLayout),
  "layoutId": string
  // End of list of possible types for union field kind.
}
ক্ষেত্র
ইউনিয়ন ক্ষেত্র kind . লেআউট রেফারেন্সের প্রকার। kind নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
predefinedLayout

enum ( PredefinedLayout )

পূর্বনির্ধারিত বিন্যাস।

layoutId

string

লেআউট আইডি: উপস্থাপনার একটি লেআউটের অবজেক্ট আইডি।

পূর্বনির্ধারিত লেআউট

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

এনামস
PREDEFINED_LAYOUT_UNSPECIFIED অনির্দিষ্ট লেআউট।
BLANK ফাঁকা লেআউট, কোন স্থানধারক ছাড়া.
CAPTION_ONLY নীচে একটি ক্যাপশন সহ লেআউট।
TITLE একটি শিরোনাম এবং একটি সাবটাইটেল সহ লেআউট৷
TITLE_AND_BODY একটি শিরোনাম এবং বডি সহ লেআউট।
TITLE_AND_TWO_COLUMNS একটি শিরোনাম এবং দুটি কলাম সহ লেআউট।
TITLE_ONLY শুধুমাত্র একটি শিরোনাম সহ লেআউট।
SECTION_HEADER একটি বিভাগের শিরোনাম সহ লেআউট।
SECTION_TITLE_AND_DESCRIPTION একদিকে শিরোনাম এবং সাবটাইটেল সহ লেআউট এবং অন্যদিকে বর্ণনা।
ONE_COLUMN_TEXT একটি শিরোনাম এবং একটি বডি সহ লেআউট, একটি একক কলামে সাজানো।
MAIN_POINT একটি প্রধান পয়েন্ট সহ লেআউট।
BIG_NUMBER একটি বড় সংখ্যা শিরোনাম সহ লেআউট।

LayoutPlaceholderIdMapping

একটি স্থানধারকের জন্য ব্যবহারকারী-নির্দিষ্ট আইডি ম্যাপিং যা একটি নির্দিষ্ট লেআউট থেকে একটি স্লাইডে তৈরি করা হবে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,

  // Union field kind can be only one of the following:
  "layoutPlaceholder": {
    object (Placeholder)
  },
  "layoutPlaceholderObjectId": string
  // End of list of possible types for union field kind.
}
ক্ষেত্র
objectId

string

স্লাইডে তৈরি করার জন্য উপরে চিহ্নিত স্থানধারকের জন্য একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

ইউনিয়ন ক্ষেত্র kind . একটি লেআউটে একটি স্থানধারক সনাক্ত করার ধরন৷ kind নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
layoutPlaceholder

object ( Placeholder )

একটি লেআউটের স্থানধারক যা একটি স্লাইডে প্রয়োগ করা হবে। শুধুমাত্র type এবং index প্রয়োজন. উদাহরণস্বরূপ, একটি পূর্বনির্ধারিত TITLE_AND_BODY লেআউটে সাধারণত সূচী 0 সহ একটি TITLE স্থানধারক এবং সূচক 0 সহ একটি BODY স্থানধারক থাকতে পারে৷

layoutPlaceholderObjectId

string

একটি লেআউটে স্থানধারকের অবজেক্ট আইডি যা একটি স্লাইডে প্রয়োগ করা হবে।

আকৃতির অনুরোধ তৈরি করুন

নতুন আকৃতি তৈরি করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "shapeType": enum (Type)
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়। খালি থাকলে, একটি অনন্য শনাক্তকারী তৈরি করা হবে।

elementProperties

object ( PageElementProperties )

আকৃতির জন্য উপাদান বৈশিষ্ট্য.

shapeType

enum ( Type )

আকৃতির ধরন।

PageElement Properties

একটি পৃষ্ঠা উপাদানের জন্য সাধারণ বৈশিষ্ট্য।

দ্রষ্টব্য: আপনি যখন প্রাথমিকভাবে একটি PageElement তৈরি করেন, তখন API size এবং transform উভয়ের মান পরিবর্তন করতে পারে, কিন্তু ভিজ্যুয়াল আকার অপরিবর্তিত থাকবে।

JSON প্রতিনিধিত্ব
{
  "pageObjectId": string,
  "size": {
    object (Size)
  },
  "transform": {
    object (AffineTransform)
  }
}
ক্ষেত্র
pageObjectId

string

পৃষ্ঠার অবজেক্ট আইডি যেখানে উপাদানটি অবস্থিত।

size

object ( Size )

উপাদানের আকার।

transform

object ( AffineTransform )

উপাদানের জন্য রূপান্তর.

টেবল অনুরোধ তৈরি করুন

একটি নতুন টেবিল তৈরি করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "rows": integer,
  "columns": integer
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

elementProperties

object ( PageElementProperties )

টেবিলের জন্য উপাদান বৈশিষ্ট্য.

টেবিলটি প্রদত্ত আকারে তৈরি করা হবে, একটি ন্যূনতম আকার সাপেক্ষে। যদি কোন আকার প্রদান করা না হয়, টেবিল স্বয়ংক্রিয়ভাবে আকার হবে.

টেবিল ট্রান্সফর্মে অবশ্যই 1 এর স্কেল থাকতে হবে এবং কোন শিয়ার উপাদান থাকবে না। যদি কোন রূপান্তর প্রদান না করা হয়, টেবিলটি পৃষ্ঠার কেন্দ্রে থাকবে।

rows

integer

সারণীতে সারির সংখ্যা।

columns

integer

টেবিলে কলামের সংখ্যা।

InsertTextRequest

একটি আকার বা একটি টেবিল কক্ষে পাঠ্য সন্নিবেশ করান।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "text": string,
  "insertionIndex": integer
}
ক্ষেত্র
objectId

string

আকৃতি বা টেবিলের অবজেক্ট আইডি যেখানে টেক্সট সন্নিবেশ করা হবে।

cellLocation

object ( TableCellLocation )

ঐচ্ছিক টেবিল ঘরের অবস্থান যদি পাঠ্যটি একটি টেবিল কক্ষে ঢোকানো হয়। যদি উপস্থিত থাকে, অবজেক্টআইডি অবশ্যই একটি টেবিল উল্লেখ করবে।

text

string

টেক্সট সন্নিবেশ করা হবে.

একটি নতুন লাইনের অক্ষর সন্নিবেশ করালে সেই সূচকে অন্তর্নিহিতভাবে একটি নতুন ParagraphMarker তৈরি হবে। তালিকা এবং বুলেট সহ বর্তমান সন্নিবেশ সূচকে অনুচ্ছেদ থেকে নতুন অনুচ্ছেদের অনুচ্ছেদের শৈলী অনুলিপি করা হবে।

সন্নিবেশিত পাঠ্যের জন্য পাঠ্য শৈলীগুলি স্বয়ংক্রিয়ভাবে নির্ধারিত হবে, সাধারণত প্রতিবেশী পাঠ্যের স্টাইল সংরক্ষণ করে। বেশিরভাগ ক্ষেত্রে, পাঠ্যটি সন্নিবেশ সূচকে বিদ্যমান TextRun এ যোগ করা হবে।

কিছু কন্ট্রোল অক্ষর (U+0000-U+0008, U+000C-U+001F) এবং ইউনিকোড বেসিক বহুভাষিক প্লেন প্রাইভেট ইউজ এরিয়া (U+E000-U+F8FF) থেকে ঢোকানো টেক্সট থেকে বাদ দেওয়া হবে।

insertionIndex

integer

TextElement ইন্ডেক্সের উপর ভিত্তি করে ইউনিকোড কোড ইউনিটে যে সূচীতে পাঠ্য সন্নিবেশ করা হবে।

সূচকটি শূন্য-ভিত্তিক এবং স্ট্রিংয়ের শুরু থেকে গণনা করা হয়। ইউনিকোড গ্রাফিম ক্লাস্টারের ভিতরে সন্নিবেশ রোধ করতে সূচকটি সামঞ্জস্য করা যেতে পারে। এই ক্ষেত্রে, গ্রাফিম ক্লাস্টারের পরেই পাঠ্য সন্নিবেশ করা হবে।

InsertTableRowsRequest

একটি টেবিলে সারি সন্নিবেশ করান।

JSON প্রতিনিধিত্ব
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "insertBelow": boolean,
  "number": integer
}
ক্ষেত্র
tableObjectId

string

সারি ঢোকানোর টেবিল।

cellLocation

object ( TableCellLocation )

রেফারেন্স টেবিল ঘরের অবস্থান যেখান থেকে সারি ঢোকানো হবে।

রেফারেন্স সেল যেখানে রয়েছে তার উপরে (বা নীচে) একটি নতুন সারি ঢোকানো হবে। যদি রেফারেন্স সেলটি একটি মার্জ করা সেল হয়, তাহলে মার্জ করা সেলের উপরে (বা নীচে) একটি নতুন সারি ঢোকানো হবে।

insertBelow

boolean

রেফারেন্স সেল অবস্থানের নিচে নতুন সারি সন্নিবেশ করা হবে কিনা।

  • True : ঘরের নীচে সন্নিবেশ করুন।
  • False : ঘরের উপরে সন্নিবেশ করান।
number

integer

ঢোকানো সারি সংখ্যা. অনুরোধ প্রতি সর্বোচ্চ 20.

InsertTableColumnsRequest

একটি টেবিলে কলাম সন্নিবেশ করান।

নতুন কলামের সাথে মানানসই করার জন্য টেবিলের অন্যান্য কলামের আকার পরিবর্তন করা হবে।

JSON প্রতিনিধিত্ব
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "insertRight": boolean,
  "number": integer
}
ক্ষেত্র
tableObjectId

string

যে সারণীতে কলাম ঢোকাতে হবে।

cellLocation

object ( TableCellLocation )

রেফারেন্স টেবিল ঘরের অবস্থান যেখান থেকে কলাম সন্নিবেশ করা হবে।

রেফারেন্স সেল যেখানে কলামের বাম দিকে (বা ডানে) একটি নতুন কলাম সন্নিবেশ করা হবে। যদি রেফারেন্স সেলটি একটি মার্জড সেল হয়, তাহলে মার্জড সেলের বাম (বা ডানে) একটি নতুন কলাম ঢোকানো হবে।

insertRight

boolean

রেফারেন্স ঘর অবস্থানের ডানদিকে নতুন কলাম সন্নিবেশ করা হবে কিনা।

  • True : ডানদিকে ঢোকান।
  • False : বাম দিকে ঢোকান।
number

integer

ঢোকাতে হবে কলামের সংখ্যা। অনুরোধ প্রতি সর্বোচ্চ 20.

DeleteTableRowRequest

একটি টেবিল থেকে একটি সারি মুছে দেয়।

JSON প্রতিনিধিত্ব
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  }
}
ক্ষেত্র
tableObjectId

string

যে সারণী থেকে সারি মুছে ফেলতে হবে।

cellLocation

object ( TableCellLocation )

রেফারেন্স টেবিল ঘরের অবস্থান যেখান থেকে একটি সারি মুছে ফেলা হবে।

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

DeleteTableColumnRequest

একটি টেবিল থেকে একটি কলাম মুছে দেয়।

JSON প্রতিনিধিত্ব
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  }
}
ক্ষেত্র
tableObjectId

string

যে সারণী থেকে কলাম মুছে ফেলা হবে।

cellLocation

object ( TableCellLocation )

রেফারেন্স টেবিল ঘরের অবস্থান যেখান থেকে একটি কলাম মুছে ফেলা হবে।

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

AllTextRequest প্রতিস্থাপন করুন

একটি মানদণ্ডের সাথে মেলে এমন পাঠ্যের সমস্ত দৃষ্টান্ত replace text দিয়ে প্রতিস্থাপন করে।

JSON প্রতিনিধিত্ব
{
  "replaceText": string,
  "pageObjectIds": [
    string
  ],

  // Union field criteria can be only one of the following:
  "containsText": {
    object (SubstringMatchCriteria)
  }
  // End of list of possible types for union field criteria.
}
ক্ষেত্র
replaceText

string

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

pageObjectIds[]

string

খালি না থাকলে, শুধুমাত্র প্রদত্ত পৃষ্ঠাগুলিতে মিলগুলিকে পৃষ্ঠা উপাদানগুলিতে সীমাবদ্ধ করে৷

একটি 400 খারাপ অনুরোধ ত্রুটি ফেরত দেয় যদি একটি notes master পৃষ্ঠা অবজেক্ট আইডি দেওয়া হয়, অথবা যদি সেই অবজেক্ট আইডি সহ একটি পৃষ্ঠা উপস্থাপনায় বিদ্যমান না থাকে।

ইউনিয়ন ক্ষেত্রের criteria । মানদণ্ড প্রতিস্থাপনের জন্য পাঠ্যের সাথে মেলে। criteria নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
containsText

object ( SubstringMatchCriteria )

এই সাবস্ট্রিং এর সাথে মিলে যাওয়া একটি আকারে পাঠ্য খুঁজে পায়।

সাবস্ট্রিং ম্যাচের মানদণ্ড

একটি মানদণ্ড যা একটি আকৃতি বা সারণিতে পাঠ্যের একটি নির্দিষ্ট স্ট্রিংয়ের সাথে মেলে।

JSON প্রতিনিধিত্ব
{
  "text": string,
  "matchCase": boolean
}
ক্ষেত্র
text

string

আকৃতি বা টেবিলে অনুসন্ধান করার জন্য পাঠ্য।

matchCase

boolean

অনুসন্ধানের ক্ষেত্রে কেস সম্মান করা উচিত কিনা তা নির্দেশ করে:

  • True : অনুসন্ধানটি কেস সংবেদনশীল।
  • False : অনুসন্ধানটি কেস সংবেদনশীল।

অবজেক্ট রিকোয়েস্ট ডিলিট করুন

উপস্থাপনা থেকে একটি বস্তু, pages বা page elements মুছে দেয়।

JSON প্রতিনিধিত্ব
{
  "objectId": string
}
ক্ষেত্র
objectId

string

পৃষ্ঠার অবজেক্ট আইডি বা পৃষ্ঠার উপাদান মুছে ফেলতে হবে।

যদি একটি ডিলিট অপারেশনের পরে একটি group শুধুমাত্র 1টি বা কোনো পৃষ্ঠা উপাদান থাকে না, তাহলে গ্রুপটিও মুছে ফেলা হয়।

যদি একটি স্থানধারক একটি বিন্যাসে মুছে ফেলা হয়, কোনো খালি উত্তরাধিকারী স্থানধারকও মুছে ফেলা হয়।

UpdatePageElementTransformRequest

একটি পৃষ্ঠা উপাদানের রূপান্তর আপডেট করে।

একটি গোষ্ঠীর রূপান্তর আপডেট করা সেই গোষ্ঠীর পৃষ্ঠা উপাদানগুলির নিখুঁত রূপান্তরকে পরিবর্তন করবে, যা তাদের চাক্ষুষ চেহারা পরিবর্তন করতে পারে। আরো বিস্তারিত জানার জন্য PageElement.transform এর ডকুমেন্টেশন দেখুন।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "transform": {
    object (AffineTransform)
  },
  "applyMode": enum (ApplyMode)
}
ক্ষেত্র
objectId

string

আপডেট করার জন্য পৃষ্ঠা উপাদানের অবজেক্ট আইডি।

transform

object ( AffineTransform )

পৃষ্ঠা উপাদান আপডেট করতে ব্যবহৃত ইনপুট রূপান্তর ম্যাট্রিক্স।

applyMode

enum ( ApplyMode )

রূপান্তর আপডেটের প্রয়োগ মোড।

ApplyMode

রূপান্তর আপডেটের প্রয়োগ মোড।

এনামস
APPLY_MODE_UNSPECIFIED অনির্দিষ্ট মোড।
RELATIVE বিদ্যমান একটিতে নতুন AffineTransform ম্যাট্রিক্স প্রয়োগ করে, এবং বিদ্যমান একটিটিকে ফলে সংমিশ্রণে প্রতিস্থাপন করে।
ABSOLUTE বিদ্যমান AffineTransform ম্যাট্রিক্সকে নতুন দিয়ে প্রতিস্থাপন করে।

UpdateSlidesPositionRequest

উপস্থাপনায় স্লাইডের অবস্থান আপডেট করে।

JSON প্রতিনিধিত্ব
{
  "slideObjectIds": [
    string
  ],
  "insertionIndex": integer
}
ক্ষেত্র
slideObjectIds[]

string

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

insertionIndex

integer

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

DeleteTextRequest

একটি আকৃতি বা একটি টেবিল ঘর থেকে পাঠ্য মুছে দেয়।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  }
}
ক্ষেত্র
objectId

string

আকৃতি বা টেবিলের অবজেক্ট আইডি যেখান থেকে পাঠ্য মুছে ফেলা হবে।

cellLocation

object ( TableCellLocation )

ঐচ্ছিক টেবিল ঘর অবস্থান যদি পাঠ্যটি একটি টেবিল ঘর থেকে মুছে ফেলা হয়। যদি উপস্থিত থাকে, অবজেক্টআইডি অবশ্যই একটি টেবিল উল্লেখ করবে।

textRange

object ( Range )

TextElement ইন্ডেক্সের উপর ভিত্তি করে মুছে ফেলার জন্য পাঠ্যের পরিসর।

একটি আকৃতির বা টেবিল ঘরের পাঠ্যের শেষে সর্বদা একটি অন্তর্নিহিত নতুন লাইন অক্ষর থাকে যা মুছে ফেলা যায় না। Range.Type.ALL সঠিক সীমানা ব্যবহার করবে, কিন্তু পরিসরের ধরন FROM_START_INDEX এবং FIXED_RANGE এর জন্য সুস্পষ্ট সীমা নির্দিষ্ট করার সময় অবশ্যই যত্ন নেওয়া উচিত। উদাহরণস্বরূপ, যদি পাঠ্যটি "ABC" হয়, একটি অন্তর্নিহিত নতুন লাইন অনুসরণ করে, তাহলে textRange.start_index এর জন্য সর্বাধিক মান 2 এবং textRange.end_index এর জন্য 3।

একটি অনুচ্ছেদ সীমানা অতিক্রম করা পাঠ্য মুছে ফেলার ফলে দুটি অনুচ্ছেদ একত্রিত হওয়ার কারণে অনুচ্ছেদের শৈলী এবং তালিকায় পরিবর্তন হতে পারে।

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

পরিসর

একটি সূচিবদ্ধ সংগ্রহের একটি সংলগ্ন পরিসর নির্দিষ্ট করে, যেমন পাঠ্যের অক্ষর।

JSON প্রতিনিধিত্ব
{
  "startIndex": integer,
  "endIndex": integer,
  "type": enum (Type)
}
ক্ষেত্র
startIndex

integer

সংগ্রহের শুরুর ঐচ্ছিক শূন্য-ভিত্তিক সূচক। FIXED_RANGE এবং FROM_START_INDEX রেঞ্জের জন্য প্রয়োজনীয়।

endIndex

integer

সংগ্রহের শেষের ঐচ্ছিক শূন্য-ভিত্তিক সূচক। FIXED_RANGE ব্যাপ্তির জন্য প্রয়োজনীয়।

type

enum ( Type )

পরিসরের ধরন।

টাইপ

রেঞ্জের প্রকারগুলি।

এনামস
RANGE_TYPE_UNSPECIFIED অনির্দিষ্ট পরিসর প্রকার। এই মান ব্যবহার করা উচিত নয়.
FIXED_RANGE একটি নির্দিষ্ট পরিসর। উভয় startIndex এবং endIndex নির্দিষ্ট করা আবশ্যক।
FROM_START_INDEX startIndex এ পরিসর শুরু হয় এবং সংগ্রহের শেষ না হওয়া পর্যন্ত চলতে থাকে। endIndex অবশ্যই নির্দিষ্ট করা যাবে না।
ALL সংগ্রহের পুরো দৈর্ঘ্য হিসাবে পরিসর সেট করে। উভয় startIndex এবং endIndex নির্দিষ্ট করা উচিত নয়।

ইমেজ রিকোয়েস্ট তৈরি করুন

একটি ইমেজ তৈরি করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },

  // Union field image_source can be only one of the following:
  "url": string
  // End of list of possible types for union field image_source.
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

elementProperties

object ( PageElementProperties )

ছবির জন্য উপাদান বৈশিষ্ট্য.

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

PageElementProperties.size সম্পত্তি ঐচ্ছিক। আপনি আকার নির্দিষ্ট না করলে, ছবির ডিফল্ট আকার ব্যবহার করা হয়।

PageElementProperties.transform বৈশিষ্ট্য ঐচ্ছিক। আপনি একটি রূপান্তর নির্দিষ্ট না করলে, ছবিটি পৃষ্ঠার উপরের বাম কোণে স্থাপন করা হবে।

ইউনিয়ন ক্ষেত্র image_source . ছবির উৎস ধরনের. image_source নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
url

string

ছবির URL।

চিত্রটি সন্নিবেশের সময় একবার আনা হয় এবং উপস্থাপনার ভিতরে প্রদর্শনের জন্য একটি অনুলিপি সংরক্ষণ করা হয়। চিত্রগুলি অবশ্যই 50 MB-এর কম আকারের হতে হবে, 25 মেগাপিক্সেলের বেশি হতে পারে না এবং PNG, JPEG, বা GIF ফর্ম্যাটে হতে হবে৷

প্রদত্ত URL অবশ্যই সর্বজনীনভাবে অ্যাক্সেসযোগ্য এবং 2 KB পর্যন্ত দৈর্ঘ্যের হতে হবে৷ URLটি ছবির সাথে সংরক্ষিত হয় এবং Image.source_url ক্ষেত্রের মাধ্যমে প্রকাশ করা হয়।

ভিডিও অনুরোধ তৈরি করুন

একটি ভিডিও তৈরি করে।

দ্রষ্টব্য: Google ড্রাইভ থেকে একটি ভিডিও তৈরি করার জন্য অনুরোধ করা অ্যাপটির অন্তত একটি ড্রাইভ, drive.readonly বা drive.file OAuth স্কোপ থাকা প্রয়োজন৷

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "source": enum (Source),
  "id": string
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

elementProperties

object ( PageElementProperties )

ভিডিওর জন্য উপাদান বৈশিষ্ট্য.

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

PageElementProperties.transform বৈশিষ্ট্য ঐচ্ছিক। রূপান্তর শিয়ার উপাদান থাকতে হবে না. আপনি একটি রূপান্তর নির্দিষ্ট না করলে, ভিডিওটি পৃষ্ঠার উপরের বাম কোণে স্থাপন করা হবে৷

source

enum ( Source )

ভিডিও সূত্র।

id

string

এই ভিডিওটির জন্য ভিডিও উৎসের অনন্য শনাক্তকারী৷

যেমন YouTube ভিডিওর জন্য https://www.youtube.com/watch?v=7U3axjORYZ0 , ID হল 7U3axjORYZ0। একটি Google ড্রাইভ ভিডিওর জন্য https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q ID হল 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q৷

একটি Google ড্রাইভ ভিডিও ফাইল অ্যাক্সেস করতে, আপনাকে পুরানো ফাইলগুলির একটি উপসেটের জন্য HTTP শিরোনামে একটি সংস্থান কী যুক্ত করতে হতে পারে৷ আরও তথ্যের জন্য, রিসোর্স কী ব্যবহার করে লিঙ্ক-ভাগ করা ফাইল অ্যাক্সেস করুন দেখুন।

SheetsChartRequest তৈরি করুন

একটি এম্বেড করা Google পত্রক চার্ট তৈরি করে৷

দ্রষ্টব্য: চার্ট তৈরির জন্য কমপক্ষে একটি স্প্রেডশীট.রিডনলি, স্প্রেডশীট, drive.readonly, drive.file বা ড্রাইভ OAuth স্কোপের প্রয়োজন৷

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "spreadsheetId": string,
  "chartId": integer,
  "linkingMode": enum (LinkingMode)
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

নির্দিষ্ট করা থাকলে, উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে ID অবশ্যই অনন্য হতে হবে৷ আইডিটি একটি শব্দের অক্ষর [a-zA-Z0-9_] দিয়ে শুরু হওয়া উচিত এবং তারপরে নিম্নলিখিত অক্ষরগুলির যেকোনো একটি [a-zA-Z0-9_-:] দ্বারা অনুসরণ করা উচিত৷ আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়। খালি থাকলে, একটি অনন্য শনাক্তকারী তৈরি করা হবে।

elementProperties

object ( PageElementProperties )

চার্টের জন্য উপাদান বৈশিষ্ট্য.

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

spreadsheetId

string

Google পত্রক স্প্রেডশীটের আইডি যাতে চার্ট রয়েছে।

পুরানো ফাইলগুলির একটি উপসেটের জন্য আপনাকে HTTP শিরোনামে একটি সংস্থান কী যুক্ত করতে হতে পারে। আরও তথ্যের জন্য, রিসোর্স কী ব্যবহার করে লিঙ্ক-ভাগ করা ফাইল অ্যাক্সেস করুন দেখুন।

chartId

integer

Google পত্রক স্প্রেডশীটে নির্দিষ্ট চার্টের আইডি।

linkingMode

enum ( LinkingMode )

যে মোডের সাথে চার্টটি উৎস স্প্রেডশীটের সাথে লিঙ্ক করা আছে। নির্দিষ্ট করা না থাকলে, চার্টটি এমন একটি ছবি হবে যা লিঙ্ক করা হয়নি।

লিঙ্কিংমোড

যে মোডের সাথে চার্টটি উৎস স্প্রেডশীটের সাথে লিঙ্ক করা আছে।

এনামস
NOT_LINKED_IMAGE চার্টটি উৎস স্প্রেডশীটের সাথে যুক্ত নয় এবং আপডেট করা যাবে না। একটি চার্ট যা লিঙ্ক নয় একটি চিত্র হিসাবে সন্নিবেশ করা হবে.
LINKED চার্ট লিঙ্ক করা এটিকে আপডেট করার অনুমতি দেয় এবং অন্যান্য সহযোগীরা স্প্রেডশীটের একটি লিঙ্ক দেখতে পাবে।

লাইন রিকোয়েস্ট তৈরি করুন

একটি লাইন তৈরি করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "lineCategory": enum (Category),
  "category": enum (LineCategory)
}
ক্ষেত্র
objectId

string

একটি ব্যবহারকারী দ্বারা সরবরাহ করা অবজেক্ট আইডি।

আপনি যদি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠা উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে৷ আইডিটি অবশ্যই একটি বর্ণানুক্রমিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (রেজেক্স [a-zA-Z0-9_] এর সাথে মেলে); অবশিষ্ট অক্ষরগুলির পাশাপাশি একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (রেজেক্স [a-zA-Z0-9_-:] )। আইডির দৈর্ঘ্য 5 এর কম বা 50 এর বেশি হওয়া উচিত নয়।

আপনি একটি আইডি নির্দিষ্ট না করলে, একটি অনন্য একটি তৈরি করা হয়।

elementProperties

object ( PageElementProperties )

লাইনের জন্য উপাদান বৈশিষ্ট্য.

lineCategory
(deprecated)

enum ( Category )

লাইনের ক্যাটাগরি তৈরি করতে হবে।

অপ্রচলিত : পরিবর্তে category ব্যবহার করুন।

তৈরি করা সঠিক line type বিভাগ এবং অন্যান্য পৃষ্ঠা উপাদানগুলির সাথে সংযোগ করার জন্য এটি কীভাবে রাউট করা হয়েছে তার উপর ভিত্তি করে নির্ধারিত হয়।

আপনি যদি একটি category এবং একটি lineCategory উভয়ই নির্দিষ্ট করেন, তাহলে category অগ্রাধিকার পাবে।

category

enum ( LineCategory )

লাইনের ক্যাটাগরি তৈরি করতে হবে।

তৈরি করা সঠিক line type বিভাগ এবং অন্যান্য পৃষ্ঠা উপাদানগুলির সাথে সংযোগ করার জন্য এটি কীভাবে রাউট করা হয়েছে তার উপর ভিত্তি করে নির্ধারিত হয়।

আপনি যদি একটি category এবং একটি lineCategory উভয়ই নির্দিষ্ট করেন, তাহলে category অগ্রাধিকার পাবে।

আপনি যদি category জন্য একটি মান নির্দিষ্ট না করেন তবে lineCategory এর জন্য একটি মান নির্দিষ্ট করেন, তাহলে নির্দিষ্ট lineCategory মান ব্যবহার করা হয়।

যদি আপনি কোনটি নির্দিষ্ট না করেন, তাহলে STRAIGHT ব্যবহার করা হয়।

শ্রেণী

লাইন বিভাগ.

এনামস
STRAIGHT স্ট্রেইট কানেক্টর সহ স্ট্রেইট কানেক্টর 1. ডিফল্ট ক্যাটাগরি যখন একটি নির্দিষ্ট করা না থাকে।
BENT বাঁকানো সংযোগকারী, বাঁকানো সংযোগকারী 2 থেকে 5 সহ।
CURVED বাঁকা সংযোগকারী, বাঁকা সংযোগকারী 2 থেকে 5 সহ।

RefreshSheetsChartRequest

Google পত্রক থেকে চার্টের সর্বশেষ সংস্করণের সাথে প্রতিস্থাপন করে একটি এম্বেড করা Google পত্রক চার্ট রিফ্রেশ করে৷

দ্রষ্টব্য: চার্ট রিফ্রেশ করার জন্য কমপক্ষে একটি স্প্রেডশীট.রিডনলি, স্প্রেডশীট, drive.readonly, বা ড্রাইভ OAuth স্কোপের প্রয়োজন৷

JSON প্রতিনিধিত্ব
{
  "objectId": string
}
ক্ষেত্র
objectId

string

চার্টের অবজেক্ট আইডি রিফ্রেশ করতে হবে।

UpdateShapePropertiesRequest

একটি Shape বৈশিষ্ট্য আপডেট করুন।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "shapeProperties": {
    object (ShapeProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

অবজেক্ট আইডি যে আকারে আপডেটগুলি প্রয়োগ করা হয়েছে।

shapeProperties

object ( ShapeProperties )

আপডেট করার জন্য আকৃতি বৈশিষ্ট্য.

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। মূল shapeProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়৷ প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ, আকৃতির পটভূমি সলিড ফিল রঙ আপডেট করতে, fields "shapeBackgroundFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

UpdateImagePropertiesRequest

একটি Image বৈশিষ্ট্য আপডেট করুন।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "imageProperties": {
    object (ImageProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

চিত্রের অবজেক্ট আইডিতে আপডেটগুলি প্রয়োগ করা হয়েছে৷

imageProperties

object ( ImageProperties )

আপডেট করার জন্য চিত্র বৈশিষ্ট্য.

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। রুট imageProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়। প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ, ছবির আউটলাইন রঙ আপডেট করতে, fields "outline.outlineFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

ভিডিও বৈশিষ্ট্য আপডেট করুন

একটি Video বৈশিষ্ট্য আপডেট করুন।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "videoProperties": {
    object (VideoProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

ভিডিওটির অবজেক্ট আইডিতে আপডেটগুলি প্রয়োগ করা হয়েছে৷

videoProperties

object ( VideoProperties )

ভিডিও বৈশিষ্ট্য আপডেট করার জন্য.

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। রুট videoProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়। প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ ভিডিওর আউটলাইন রঙ আপডেট করতে, fields "outline.outlineFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

UpdatePagePropertiesRequest

একটি Page বৈশিষ্ট্য আপডেট করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "pageProperties": {
    object (PageProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

যে পৃষ্ঠায় আপডেটটি প্রয়োগ করা হয়েছে তার অবজেক্ট আইডি।

pageProperties

object ( PageProperties )

আপডেট করার জন্য পৃষ্ঠা বৈশিষ্ট্য.

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। মূল pageProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়৷ প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ, পৃষ্ঠার পটভূমি সলিড ফিল রঙ আপডেট করতে, fields "pageBackgroundFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

UpdateTableCellPropertiesRequest

একটি TableCell বৈশিষ্ট্য আপডেট করুন।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  },
  "tableCellProperties": {
    object (TableCellProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

টেবিলের অবজেক্ট আইডি।

tableRange

object ( TableRange )

সারণী পরিসর যে টেবিলের উপসেট প্রতিনিধিত্ব করে যেখানে আপডেটগুলি প্রয়োগ করা হয়েছে৷ যদি একটি টেবিল পরিসীমা নির্দিষ্ট না করা হয়, আপডেটগুলি সমগ্র টেবিলে প্রযোজ্য হবে।

tableCellProperties

object ( TableCellProperties )

আপডেট করার জন্য টেবিল সেল বৈশিষ্ট্য.

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। রুট tableCellProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়। প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ, টেবিল সেল ব্যাকগ্রাউন্ড সলিড ফিল কালার আপডেট করতে, fields "tableCellBackgroundFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

টেবিল রেঞ্জ

একটি টেবিল পরিসর একটি টেবিলের একটি উপসেটের একটি রেফারেন্স উপস্থাপন করে।

এটি লক্ষ্য করা গুরুত্বপূর্ণ যে একটি টেবিল পরিসর দ্বারা নির্দিষ্ট করা কোষগুলি অগত্যা একটি আয়তক্ষেত্র গঠন করে না। উদাহরণস্বরূপ, ধরা যাক আমাদের একটি 3 x 3 টেবিল রয়েছে যেখানে শেষ সারির সমস্ত ঘর একসাথে একত্রিত হয়েছে। টেবিল এই মত দেখায়:

 [   ][   ][   ]
 [   ][   ][   ]
 [             ]

অবস্থান = (0, 0), সারি স্প্যান = 3 এবং কলাম স্প্যান = 2 সহ একটি টেবিল পরিসর নিম্নলিখিত কক্ষগুলিকে নির্দিষ্ট করে:

 [ x ][ x ][   ]
 [ x ][ x ][   ]
 [ x    x    x ]
JSON প্রতিনিধিত্ব
{
  "location": {
    object (TableCellLocation)
  },
  "rowSpan": integer,
  "columnSpan": integer
}
ক্ষেত্র
location

object ( TableCellLocation )

টেবিল পরিসরের শুরুর অবস্থান।

rowSpan

integer

সারণী ব্যাপ্তির সারির স্প্যান।

columnSpan

integer

টেবিল ব্যাপ্তির কলাম স্প্যান।

UpdateLinePropertiesRequest

একটি Line বৈশিষ্ট্য আপডেট করে।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "lineProperties": {
    object (LineProperties)
  },
  "fields": string
}
ক্ষেত্র
objectId

string

লাইনের অবজেক্ট আইডি যেটিতে আপডেটটি প্রয়োগ করা হয়েছে।

lineProperties

object ( LineProperties )

আপডেট করার জন্য লাইন বৈশিষ্ট্য।

fields

string ( FieldMask format)

যে ক্ষেত্রগুলি আপডেট করা উচিত।

অন্তত একটি ক্ষেত্র নির্দিষ্ট করা আবশ্যক। রুট lineProperties নিহিত এবং নির্দিষ্ট করা উচিত নয়। প্রতিটি ক্ষেত্রের তালিকা করার জন্য একটি একক "*" শর্ট-হ্যান্ড হিসাবে ব্যবহার করা যেতে পারে।

উদাহরণস্বরূপ, লাইনের সলিড ফিল কালার আপডেট করতে, fields "lineFill.solidFill.color" এ সেট করুন।

একটি প্রপার্টি এর ডিফল্ট মানতে রিসেট করতে, ফিল্ড মাস্কে এর ফিল্ডের নাম অন্তর্ভুক্ত করুন কিন্তু ফিল্ডটিকে সেট না করে রেখে দিন।

ParagraphBulletsRequest তৈরি করুন

প্রদত্ত টেক্সট সূচক পরিসরের সাথে ওভারল্যাপ করা সমস্ত অনুচ্ছেদের জন্য বুলেট তৈরি করে।

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

যদি অনুচ্ছেদ আপডেট হওয়ার সাথে সাথে অনুচ্ছেদটি একটি মিল প্রিসেট সহ একটি তালিকায় থাকে তবে অনুচ্ছেদগুলিকে সেই পূর্ববর্তী তালিকায় যুক্ত করা হয়।

JSON প্রতিনিধিত্ব
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  },
  "bulletPreset": enum (BulletGlyphPreset)
}
ক্ষেত্র
objectId

string

বুলেট যোগ করার জন্য পাঠ্য ধারণকারী আকার বা টেবিলের অবজেক্ট আইডি।

cellLocation

object ( TableCellLocation )

ঐচ্ছিক সারণি ঘরের অবস্থান যদি টেক্সটটি পরিবর্তন করতে হয় একটি টেবিল কক্ষে। যদি উপস্থিত থাকে, অবজেক্টআইডি অবশ্যই একটি টেবিল উল্লেখ করবে।

textRange

object ( Range )

TextElement ইন্ডেক্সের উপর ভিত্তি করে বুলেট প্রিসেট প্রয়োগ করার জন্য পাঠ্যের পরিসর।

bulletPreset

enum ( BulletGlyphPreset )

যে ধরনের বুলেট গ্লিফ ব্যবহার করা হবে। BULLET_DISC_CIRCLE_SQUARE প্রিসেট ডিফল্ট।

বুলেটগ্লাইফপ্রিসেট

টেক্সটে তালিকার জন্য বুলেট গ্লিফের প্রিসেট প্যাটার্ন।

এই নিদর্শনগুলি এই ধরনের বুলেট ব্যবহার করে:

  • ARROW : একটি তীর, একটি ইউনিকোড U+2794 কোড পয়েন্টের সাথে সম্পর্কিত
  • ARROW3D : 3D শেডিং সহ একটি তীর, একটি ইউনিকোড U+27a2 কোড পয়েন্টের সাথে সম্পর্কিত
  • CHECKBOX : একটি ফাঁপা বর্গক্ষেত্র, একটি ইউনিকোড U+274f কোড পয়েন্টের সাথে সম্পর্কিত
  • CIRCLE : একটি ফাঁপা বৃত্ত, একটি ইউনিকোড U+25cb কোড পয়েন্টের সাথে সম্পর্কিত
  • DIAMOND : একটি কঠিন হীরা, একটি ইউনিকোড U+25c6 কোড পয়েন্টের সাথে সম্পর্কিত
  • DIAMONDX : একটি 'x' সহ একটি হীরা, একটি ইউনিকোড U+2756 কোড পয়েন্টের সাথে সম্পর্কিত
  • HOLLOWDIAMOND : একটি ফাঁপা হীরা, একটি ইউনিকোড U+25c7 কোড পয়েন্টের সাথে সম্পর্কিত
  • DISC : একটি কঠিন বৃত্ত, একটি ইউনিকোড U+25cf কোড পয়েন্টের সাথে সম্পর্কিত
  • SQUARE : একটি কঠিন বর্গক্ষেত্র, একটি ইউনিকোড U+25a0 কোড পয়েন্টের সাথে সম্পর্কিত
  • STAR : একটি তারা, একটি ইউনিকোড U+2605 কোড পয়েন্টের সাথে সম্পর্কিত
  • ALPHA : একটি ছোট হাতের অক্ষর, যেমন 'a', 'b', বা 'c'।
  • UPPERALPHA : একটি বড় হাতের অক্ষর, যেমন 'A', 'B', বা 'C'।
  • DIGIT : একটি সংখ্যা, যেমন '1', '2', বা '3'।
  • ZERODIGIT : এমন একটি সংখ্যা যেখানে একক সংখ্যার সংখ্যা শূন্যের সাথে উপসর্গযুক্ত থাকে, যেমন '01', '02' বা '03'। একের বেশি সংখ্যার সংখ্যা শূন্যের উপসর্গযুক্ত নয়।
  • ROMAN : একটি ছোট হাতের রোমান সংখ্যা, যেমন 'i', 'ii', বা 'iii'।
  • UPPERROMAN : একটি বড় হাতের রোমান সংখ্যা, যেমন 'I', 'II', বা 'III'।
  • LEFTTRIANGLE : একটি ত্রিভুজ বাম দিকে নির্দেশ করছে, একটি ইউনিকোড U+25c4 কোড পয়েন্টের সাথে সম্পর্কিত
Enums
BULLET_DISC_CIRCLE_SQUARE প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি DISC , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_DIAMONDX_ARROW3D_SQUARE DIAMONDX , ARROW3D এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য৷
BULLET_CHECKBOX সমস্ত তালিকা নেস্টিং স্তরের জন্য CHECKBOX বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_ARROW_DIAMOND_DISC প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি ARROW , DIAMOND এবং DISC বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_STAR_CIRCLE_SQUARE প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি STAR , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_ARROW3D_CIRCLE_SQUARE প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি ARROW3D , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_LEFTTRIANGLE_DIAMOND_DISC প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি LEFTTRIANGLE , DIAMOND এবং DISC বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য একটি DIAMONDX , HOLLOWDIAMOND এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা৷
BULLET_DIAMOND_CIRCLE_SQUARE প্রথম ৩টি তালিকার নেস্টিং লেভেলের জন্য DIAMOND , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটেড তালিকা।
NUMBERED_DIGIT_ALPHA_ROMAN প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য DIGIT , ALPHA এবং ROMAN সাংখ্যিক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ডগুলি।
NUMBERED_DIGIT_ALPHA_ROMAN_PARENS প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য DIGIT , ALPHA এবং ROMAN সাংখ্যিক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে বন্ধনী।
NUMBERED_DIGIT_NESTED পিরিয়ড দ্বারা পৃথক করা DIGIT সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, যেখানে প্রতিটি নেস্টিং লেভেল পূর্ববর্তী নেস্টিং লেভেলের গ্লাইফকে উপসর্গ হিসেবে ব্যবহার করে। যেমন: '1.', '1.1.', '2.', '2.2.'।
NUMBERED_UPPERALPHA_ALPHA_ROMAN প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য UPPERALPHA , ALPHA এবং ROMAN সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ডগুলি।
NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT UPPERROMAN , UPPERALPHA এবং DIGIT নিউমেরিক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য, তারপরে পিরিয়ডগুলি।
NUMBERED_ZERODIGIT_ALPHA_ROMAN প্রথম 3টি তালিকার নেস্টিং স্তরের জন্য ZERODIGIT , ALPHA এবং ROMAN সাংখ্যিক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ডগুলি।

AllShapesWithImageRequest প্রতিস্থাপন করুন

প্রদত্ত চিত্রের সাথে প্রদত্ত মানদণ্ডের সাথে মেলে এমন সমস্ত আকার প্রতিস্থাপন করে৷

প্রেজেন্টেশনে ঢোকানোর পরে আকারগুলি প্রতিস্থাপন করা ছবিগুলি আয়তক্ষেত্রাকার হয় এবং আকারগুলির ফর্মগুলি গ্রহণ করে না।

JSON প্রতিনিধিত্ব
{
  "replaceMethod": enum (ReplaceMethod),
  "imageReplaceMethod": enum (ImageReplaceMethod),
  "pageObjectIds": [
    string
  ],

  // Union field criteria can be only one of the following:
  "containsText": {
    object (SubstringMatchCriteria)
  }
  // End of list of possible types for union field criteria.

  // Union field image_source can be only one of the following:
  "imageUrl": string
  // End of list of possible types for union field image_source.
}
ক্ষেত্র
replaceMethod
(deprecated)

enum ( ReplaceMethod )

প্রতিস্থাপন পদ্ধতি।

অপ্রচলিত : পরিবর্তে imageReplaceMethod ব্যবহার করুন।

আপনি যদি একটি replaceMethod এবং একটি imageReplaceMethod উভয়ই উল্লেখ করেন, তাহলে imageReplaceMethod অগ্রাধিকার নেয়।

imageReplaceMethod

enum ( ImageReplaceMethod )

চিত্র প্রতিস্থাপন পদ্ধতি.

আপনি যদি একটি replaceMethod এবং একটি imageReplaceMethod উভয়ই উল্লেখ করেন, তাহলে imageReplaceMethod অগ্রাধিকার নেয়।

আপনি যদি imageReplaceMethod এর জন্য একটি মান নির্দিষ্ট না করেন, কিন্তু replaceMethod এর জন্য একটি মান উল্লেখ করেন, তাহলে নির্দিষ্ট replaceMethod মান ব্যবহার করা হয়।

যদি আপনি কোনটি নির্দিষ্ট না করেন, তাহলে CENTER_INSIDE ব্যবহার করা হয়।

pageObjectIds[]

string

খালি না থাকলে, শুধুমাত্র প্রদত্ত পৃষ্ঠাগুলিতে মিলগুলিকে পৃষ্ঠা উপাদানগুলিতে সীমাবদ্ধ করে৷

একটি 400 খারাপ অনুরোধ ত্রুটি প্রদান করে যদি একটি notes page বা একটি notes master পৃষ্ঠা অবজেক্ট আইডি দেওয়া হয়, অথবা যদি সেই অবজেক্ট আইডি সহ একটি পৃষ্ঠা উপস্থাপনায় বিদ্যমান না থাকে।

ইউনিয়ন ক্ষেত্রের criteria । প্রতিস্থাপন করার জন্য আকারগুলি অবশ্যই মেলে এমন মানদণ্ড। criteria নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
containsText

object ( SubstringMatchCriteria )

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

ইউনিয়ন ক্ষেত্র image_source . ছবির উৎস ধরনের. image_source নিম্নলিখিতগুলির মধ্যে একটি হতে পারে:
imageUrl

string

ছবির URL।

চিত্রটি সন্নিবেশের সময় একবার আনা হয় এবং উপস্থাপনার ভিতরে প্রদর্শনের জন্য একটি অনুলিপি সংরক্ষণ করা হয়। চিত্রগুলি অবশ্যই 50MB এর কম আকারের হতে হবে, 25 মেগাপিক্সেলের বেশি হতে পারে না এবং PNG, JPEG বা GIF ফর্ম্যাটে হতে হবে৷

প্রদত্ত URL দৈর্ঘ্যে সর্বাধিক 2 kB হতে পারে৷ URL নিজেই ছবির সাথে সংরক্ষিত হয়, এবং Image.source_url ক্ষেত্রের মাধ্যমে প্রকাশ করা হয়।

প্রতিস্থাপন পদ্ধতি

প্রতিস্থাপন পদ্ধতি।

Enums
CENTER_INSIDE Scales and centers the image to fit within the bounds of the original shape and maintains the image's aspect ratio. The rendered size of the image may be smaller than the size of the shape. This is the default method when one is not specified.
CENTER_CROP Scales and centers the image to fill the bounds of the original shape. The image may be cropped in order to fill the shape. The rendered size of the image will be the same as that of the original shape.

ImageReplaceMethod

The image replace method.

Enums
IMAGE_REPLACE_METHOD_UNSPECIFIED Unspecified image replace method. This value must not be used.
CENTER_INSIDE Scales and centers the image to fit within the bounds of the original shape and maintains the image's aspect ratio. The rendered size of the image may be smaller than the size of the shape. This is the default method when one is not specified.
CENTER_CROP Scales and centers the image to fill the bounds of the original shape. The image may be cropped in order to fill the shape. The rendered size of the image will be the same as the original shape.

DuplicateObjectRequest

Duplicates a slide or page element.

When duplicating a slide, the duplicate slide will be created immediately following the specified slide. When duplicating a page element, the duplicate will be placed on the same page at the same position as the original.

JSON representation
{
  "objectId": string,
  "objectIds": {
    string: string,
    ...
  }
}
Fields
objectId

string

The ID of the object to duplicate.

objectIds

map (key: string, value: string)

The object being duplicated may contain other objects, for example when duplicating a slide or a group page element. This map defines how the IDs of duplicated objects are generated: the keys are the IDs of the original objects and its values are the IDs that will be assigned to the corresponding duplicate object. The ID of the source object's duplicate may be specified in this map as well, using the same value of the objectId field as a key and the newly desired ID as the value.

All keys must correspond to existing IDs in the presentation. All values must be unique in the presentation and must start with an alphanumeric character or an underscore (matches regex [a-zA-Z0-9_] ); remaining characters may include those as well as a hyphen or colon (matches regex [a-zA-Z0-9_-:] ). The length of the new ID must not be less than 5 or greater than 50.

If any IDs of source objects are omitted from the map, a new random ID will be assigned. If the map is empty or unset, all duplicate objects will receive a new random ID.

UpdateTextStyleRequest

Update the styling of text in a Shape or Table .

JSON representation
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "style": {
    object (TextStyle)
  },
  "textRange": {
    object (Range)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the shape or table with the text to be styled.

cellLocation

object ( TableCellLocation )

The location of the cell in the table containing the text to style. If objectId refers to a table, cellLocation must have a value. Otherwise, it must not.

style

object ( TextStyle )

The style(s) to set on the text.

If the value for a particular style matches that of the parent, that style will be set to inherit.

Certain text style changes may cause other changes meant to mirror the behavior of the Slides editor. See the documentation of TextStyle for more information.

textRange

object ( Range )

The range of text to style.

The range may be extended to include adjacent newlines.

If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root style is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example, to update the text style to bold, set fields to "bold" .

To reset a property to its default value, include its field name in the field mask but leave the field itself unset.

ReplaceAllShapesWithSheetsChartRequest

Replaces all shapes that match the given criteria with the provided Google Sheets chart. The chart will be scaled and centered to fit within the bounds of the original shape.

NOTE: Replacing shapes with a chart requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.

JSON representation
{
  "containsText": {
    object (SubstringMatchCriteria)
  },
  "spreadsheetId": string,
  "chartId": integer,
  "linkingMode": enum (LinkingMode),
  "pageObjectIds": [
    string
  ]
}
Fields
containsText

object ( SubstringMatchCriteria )

The criteria that the shapes must match in order to be replaced. The request will replace all of the shapes that contain the given text.

spreadsheetId

string

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

chartId

integer

The ID of the specific chart in the Google Sheets spreadsheet.

linkingMode

enum ( LinkingMode )

The mode with which the chart is linked to the source spreadsheet. When not specified, the chart will be an image that is not linked.

pageObjectIds[]

string

If non-empty, limits the matches to page elements only on the given pages.

Returns a 400 bad request error if given the page object ID of a notes page or a notes master , or if a page with that object ID doesn't exist in the presentation.

LinkingMode

The mode with which the chart is linked to the source spreadsheet.

Enums
NOT_LINKED_IMAGE The chart is not associated with the source spreadsheet and cannot be updated. A chart that is not linked will be inserted as an image.
LINKED Linking the chart allows it to be updated, and other collaborators will see a link to the spreadsheet.

DeleteParagraphBulletsRequest

Deletes bullets from all of the paragraphs that overlap with the given text index range .

The nesting level of each paragraph will be visually preserved by adding indent to the start of the corresponding paragraph.

JSON representation
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  }
}
Fields
objectId

string

The object ID of the shape or table containing the text to delete bullets from.

cellLocation

object ( TableCellLocation )

The optional table cell location if the text to be modified is in a table cell. If present, the objectId must refer to a table.

textRange

object ( Range )

The range of text to delete bullets from, based on TextElement indexes.

UpdateParagraphStyleRequest

Updates the styling for all of the paragraphs within a Shape or Table that overlap with the given text index range.

JSON representation
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "style": {
    object (ParagraphStyle)
  },
  "textRange": {
    object (Range)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the shape or table with the text to be styled.

cellLocation

object ( TableCellLocation )

The location of the cell in the table containing the paragraph(s) to style. If objectId refers to a table, cellLocation must have a value. Otherwise, it must not.

style

object ( ParagraphStyle )

The paragraph's style.

textRange

object ( Range )

The range of text containing the paragraph(s) to style.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root style is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example, to update the paragraph alignment, set fields to "alignment" .

To reset a property to its default value, include its field name in the field mask but leave the field itself unset.

UpdateTableBorderPropertiesRequest

Updates the properties of the table borders in a Table .

JSON representation
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  },
  "borderPosition": enum (BorderPosition),
  "tableBorderProperties": {
    object (TableBorderProperties)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the table.

tableRange

object ( TableRange )

The table range representing the subset of the table to which the updates are applied. If a table range is not specified, the updates will apply to the entire table.

borderPosition

enum ( BorderPosition )

The border position in the table range the updates should apply to. If a border position is not specified, the updates will apply to all borders in the table range.

tableBorderProperties

object ( TableBorderProperties )

The table border properties to update.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root tableBorderProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example to update the table border solid fill color, set fields to "tableBorderFill.solidFill.color" .

To reset a property to its default value, include its field name in the field mask but leave the field itself unset.

BorderPosition

The table border position.

Enums
ALL All borders in the range.
BOTTOM Borders at the bottom of the range.
INNER Borders on the inside of the range.
INNER_HORIZONTAL Horizontal borders on the inside of the range.
INNER_VERTICAL Vertical borders on the inside of the range.
LEFT Borders at the left of the range.
OUTER Borders along the outside of the range.
RIGHT Borders at the right of the range.
TOP Borders at the top of the range.

UpdateTableColumnPropertiesRequest

Updates the properties of a Table column.

JSON representation
{
  "objectId": string,
  "columnIndices": [
    integer
  ],
  "tableColumnProperties": {
    object (TableColumnProperties)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the table.

columnIndices[]

integer

The list of zero-based indices specifying which columns to update. If no indices are provided, all columns in the table will be updated.

tableColumnProperties

object ( TableColumnProperties )

The table column properties to update.

If the value of tableColumnProperties#columnWidth in the request is less than 406,400 EMU (32 points), a 400 bad request error is returned.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root tableColumnProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example to update the column width, set fields to "columnWidth" .

If '"columnWidth"' is included in the field mask but the property is left unset, the column width will default to 406,400 EMU (32 points).

UpdateTableRowPropertiesRequest

Updates the properties of a Table row.

JSON representation
{
  "objectId": string,
  "rowIndices": [
    integer
  ],
  "tableRowProperties": {
    object (TableRowProperties)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the table.

rowIndices[]

integer

The list of zero-based indices specifying which rows to update. If no indices are provided, all rows in the table will be updated.

tableRowProperties

object ( TableRowProperties )

The table row properties to update.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root tableRowProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example to update the minimum row height, set fields to "minRowHeight" .

If '"minRowHeight"' is included in the field mask but the property is left unset, the minimum row height will default to 0.

MergeTableCellsRequest

Merges cells in a Table .

JSON representation
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  }
}
Fields
objectId

string

The object ID of the table.

tableRange

object ( TableRange )

The table range specifying which cells of the table to merge.

Any text in the cells being merged will be concatenated and stored in the upper-left ("head") cell of the range. If the range is non-rectangular (which can occur in some cases where the range covers cells that are already merged), a 400 bad request error is returned.

UnmergeTableCellsRequest

Unmerges cells in a Table .

JSON representation
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  }
}
Fields
objectId

string

The object ID of the table.

tableRange

object ( TableRange )

The table range specifying which cells of the table to unmerge.

All merged cells in this range will be unmerged, and cells that are already unmerged will not be affected. If the range has no merged cells, the request will do nothing. If there is text in any of the merged cells, the text will remain in the upper-left ("head") cell of the resulting block of unmerged cells.

GroupObjectsRequest

Groups objects to create an object group. For example, groups PageElements to create a Group on the same page as all the children.

JSON representation
{
  "groupObjectId": string,
  "childrenObjectIds": [
    string
  ]
}
Fields
groupObjectId

string

A user-supplied object ID for the group to be created.

If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an underscore (matches regex [a-zA-Z0-9_] ); remaining characters may include those as well as a hyphen or colon (matches regex [a-zA-Z0-9_-:] ). The length of the ID must not be less than 5 or greater than 50.

If you don't specify an ID, a unique one is generated.

childrenObjectIds[]

string

The object IDs of the objects to group.

Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some page elements, such as videos , tables and placeholders cannot be grouped.

UngroupObjectsRequest

Ungroups objects, such as groups .

JSON representation
{
  "objectIds": [
    string
  ]
}
Fields
objectIds[]

string

The object IDs of the objects to ungroup.

Only groups that are not inside other groups can be ungrouped. All the groups should be on the same page. The group itself is deleted. The visual sizes and positions of all the children are preserved.

UpdatePageElementAltTextRequest

Updates the alt text title and/or description of a page element .

JSON representation
{
  "objectId": string,
  "title": string,
  "description": string
}
Fields
objectId

string

The object ID of the page element the updates are applied to.

title

string

The updated alt text title of the page element. If unset the existing value will be maintained. The title is exposed to screen readers and other accessibility interfaces. Only use human readable values related to the content of the page element.

description

string

The updated alt text description of the page element. If unset the existing value will be maintained. The description is exposed to screen readers and other accessibility interfaces. Only use human readable values related to the content of the page element.

ReplaceImageRequest

Replaces an existing image with a new image.

Replacing an image removes some image effects from the existing image.

JSON representation
{
  "imageObjectId": string,
  "imageReplaceMethod": enum (ImageReplaceMethod),

  // Union field image_source can be only one of the following:
  "url": string
  // End of list of possible types for union field image_source.
}
Fields
imageObjectId

string

The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request.

imageReplaceMethod

enum ( ImageReplaceMethod )

The replacement method.

Union field image_source . The kind of image source. image_source can be only one of the following:
url

string

The image URL.

The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB, cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format.

The provided URL can't surpass 2 KB in length. The URL is saved with the image, and exposed through the Image.source_url field.

UpdateSlidePropertiesRequest

Updates the properties of a Slide.

JSON representation
{
  "objectId": string,
  "slideProperties": {
    object (SlideProperties)
  },
  "fields": string
}
Fields
objectId

string

The object ID of the slide the update is applied to.

slideProperties

object ( SlideProperties )

The slide properties to update.

fields

string ( FieldMask format)

The fields that should be updated.

At least one field must be specified. The root 'slideProperties' is implied and should not be specified. A single "*" can be used as short-hand for listing every field.

For example to update whether a slide is skipped, set fields to "isSkipped" .

To reset a property to its default value, include its field name in the field mask but leave the field itself unset.

UpdatePageElementsZOrderRequest

Updates the Z-order of page elements. Z-order is an ordering of the elements on the page from back to front. The page element in the front may cover the elements that are behind it.

JSON representation
{
  "pageElementObjectIds": [
    string
  ],
  "operation": enum (ZOrderOperation)
}
Fields
pageElementObjectIds[]

string

The object IDs of the page elements to update.

All the page elements must be on the same page and must not be grouped.

operation

enum ( ZOrderOperation )

The Z-order operation to apply on the page elements.

When applying the operation on multiple page elements, the relative Z-orders within these page elements before the operation is maintained.

ZOrderOperation

The operation to update a page element's Z-order.

Enums
Z_ORDER_OPERATION_UNSPECIFIED Unspecified operation.
BRING_TO_FRONT Brings the page elements to the front of the page.
BRING_FORWARD Brings the page elements forward on the page by one element relative to the forwardmost one in the specified page elements.
SEND_BACKWARD Sends the page elements backward on the page by one element relative to the furthest behind one in the specified page elements.
SEND_TO_BACK Sends the page elements to the back of the page.

UpdateLineCategoryRequest

Updates the category of a line .

JSON representation
{
  "objectId": string,
  "lineCategory": enum (LineCategory)
}
Fields
objectId

string

The object ID of the line the update is applied to.

Only a line with a category indicating it is a "connector" can be updated.

The line may be rerouted after updating its category.

lineCategory

enum ( LineCategory )

The line category to update to.

The exact line type is determined based on the category to update to and how it's routed to connect to other page elements.

RerouteLineRequest

Reroutes a line such that it's connected at the two closest connection sites on the connected page elements.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the line to reroute.

Only a line with a category indicating it is a "connector" can be rerouted. The start and end connections of the line must be on different page elements.