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.
}
ক্ষেত্র
Union ফিল্ড 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 )

একটি এমবেডেড গুগল শিট চার্ট তৈরি করে।

createLine

object ( CreateLineRequest )

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

refreshSheetsChart

object ( RefreshSheetsChartRequest )

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

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 Sheets চার্ট দিয়ে প্রতিস্থাপন করে।

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 )

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

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

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

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

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

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.
}
ক্ষেত্র
Union ফিল্ড kind । LayoutReference. 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 বড় সংখ্যার শিরোনাম সহ লেআউট।

লেআউটপ্লেসহোল্ডার আইডিম্যাপিং

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

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

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

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

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

Union ফিল্ড kind । লেআউটে প্লেসহোল্ডার সনাক্ত করার জন্য টাইপ। kind নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
layoutPlaceholder

object ( Placeholder )

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

layoutPlaceholderObjectId

string

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

CreateShapeRequest সম্পর্কে

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

JSON উপস্থাপনা
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "shapeType": enum (Type)
}
ক্ষেত্র
objectId

string

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

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

elementProperties

object ( PageElementProperties )

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

shapeType

enum ( Type )

আকৃতির ধরণ।

পৃষ্ঠা উপাদান বৈশিষ্ট্য

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

দ্রষ্টব্য: যখন আপনি প্রাথমিকভাবে একটি 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

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

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

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

elementProperties

object ( PageElementProperties )

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

টেবিলটি প্রদত্ত আকারে তৈরি করা হবে, ন্যূনতম আকারের উপর নির্ভর করে। যদি কোনও আকার প্রদান না করা হয়, তাহলে টেবিলটি স্বয়ংক্রিয়ভাবে আকার ধারণ করবে।

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

rows

integer

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

columns

integer

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

টেক্সট রিকোয়েস্ট সন্নিবেশ করুন

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

JSON উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "text": string,
  "insertionIndex": integer
}
ক্ষেত্র
objectId

string

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

cellLocation

object ( TableCellLocation )

যদি টেক্সটটি একটি টেবিল সেলে সন্নিবেশ করাতে হয়, তাহলে ঐচ্ছিক টেবিল সেলের অবস্থান। যদি উপস্থিত থাকে, তাহলে objectId অবশ্যই একটি টেবিলকে নির্দেশ করবে।

text

string

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

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

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

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

insertionIndex

integer

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

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

টেবিল সারি অনুরোধ সন্নিবেশ করুন

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

JSON উপস্থাপনা
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "insertBelow": boolean,
  "number": integer
}
ক্ষেত্র
tableObjectId

string

যে টেবিলে সারি সন্নিবেশ করানো হবে।

cellLocation

object ( TableCellLocation )

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

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

insertBelow

boolean

রেফারেন্স কক্ষের অবস্থানের নিচে নতুন সারি ঢোকাবেন কিনা।

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

integer

সন্নিবেশ করানোর জন্য সারি সংখ্যা। প্রতি অনুরোধে সর্বোচ্চ ২০টি।

টেবিল কলাম অনুরোধ সন্নিবেশ করুন

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

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

JSON উপস্থাপনা
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "insertRight": boolean,
  "number": integer
}
ক্ষেত্র
tableObjectId

string

যে টেবিলে কলাম সন্নিবেশ করানো হবে।

cellLocation

object ( TableCellLocation )

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

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

insertRight

boolean

রেফারেন্স সেল অবস্থানের ডানদিকে নতুন কলাম ঢোকাবেন কিনা।

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

integer

সন্নিবেশ করানো কলাম সংখ্যা। প্রতি অনুরোধে সর্বোচ্চ ২০টি।

টেবিল সারি অনুরোধ মুছুন

একটি টেবিল থেকে একটি সারি মুছে ফেলে।

JSON উপস্থাপনা
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  }
}
ক্ষেত্র
tableObjectId

string

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

cellLocation

object ( TableCellLocation )

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

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

টেবিল কলাম অনুরোধ মুছুন

একটি টেবিল থেকে একটি কলাম মুছে ফেলে।

JSON উপস্থাপনা
{
  "tableObjectId": string,
  "cellLocation": {
    object (TableCellLocation)
  }
}
ক্ষেত্র
tableObjectId

string

যে টেবিল থেকে কলাম মুছে ফেলা হবে।

cellLocation

object ( TableCellLocation )

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

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

সমস্ত টেক্সট অনুরোধ প্রতিস্থাপন করুন

একটি মানদণ্ডের সাথে মিলে যাওয়া সমস্ত টেক্সটের উদাহরণ 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

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

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

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

object ( SubstringMatchCriteria )

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

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

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

JSON উপস্থাপনা
{
  "text": string,
  "matchCase": boolean,
  "searchByRegex": boolean
}
ক্ষেত্র
text

string

আকৃতি বা টেবিলে যে টেক্সটটি খুঁজতে হবে।

matchCase

boolean

অনুসন্ধানটি নিম্নলিখিত বিষয়গুলির সাথে সঙ্গতিপূর্ণ কিনা তা নির্দেশ করে:

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

boolean

ঐচ্ছিক। যদি find মানটিকে একটি নিয়মিত এক্সপ্রেশন হিসেবে বিবেচনা করা হয়, তাহলে True। প্যাটার্নে যেকোনো ব্যাকস্ল্যাশ এস্কেপ করা উচিত।

  • True : অনুসন্ধানের টেক্সটটি নিয়মিত এক্সপ্রেশন হিসেবে বিবেচিত হবে।
  • False : অনুসন্ধানের টেক্সটটি মিলের জন্য একটি সাবস্ট্রিং হিসেবে বিবেচিত হয়।

অবজেক্টরিজেকশন মুছে ফেলুন

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

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

string

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

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

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

UpdatePageElementTransformRequest

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

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

JSON উপস্থাপনা
{
  "objectId": string,
  "transform": {
    object (AffineTransform)
  },
  "applyMode": enum (ApplyMode)
}
ক্ষেত্র
objectId

string

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

transform

object ( AffineTransform )

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

applyMode

enum ( ApplyMode )

ট্রান্সফর্ম আপডেটের প্রয়োগ মোড।

প্রয়োগ মোড

ট্রান্সফর্ম আপডেটের প্রয়োগ মোডগুলি।

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

স্লাইড আপডেট করুনপজিশন অনুরোধ

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

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

string

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

insertionIndex

integer

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

টেক্সট রিকোয়েস্ট মুছে ফেলুন

একটি আকৃতি বা একটি টেবিল ঘর থেকে টেক্সট মুছে ফেলে।

JSON উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  }
}
ক্ষেত্র
objectId

string

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

cellLocation

object ( TableCellLocation )

যদি টেবিল সেল থেকে টেক্সট মুছে ফেলা হয়, তাহলে ঐচ্ছিক টেবিল সেলের অবস্থান। যদি থাকে, তাহলে objectId অবশ্যই একটি টেবিলের সাথে সম্পর্কিত হবে।

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

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

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

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

elementProperties

object ( PageElementProperties )

ছবির উপাদানের বৈশিষ্ট্য।

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

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

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

Union ফিল্ড image_source । ছবির উৎসের ধরণ। image_source নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
url

string

ছবির URL।

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

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

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

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

দ্রষ্টব্য: গুগল ড্রাইভ থেকে একটি ভিডিও তৈরি করার জন্য অনুরোধকারী অ্যাপটিতে কমপক্ষে একটি ড্রাইভ, drive.readonly, অথবা drive.file OAuth স্কোপ থাকতে হবে।

JSON উপস্থাপনা
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "source": enum (Source),
  "id": string
}
ক্ষেত্র
objectId

string

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

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

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

elementProperties

object ( PageElementProperties )

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

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

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

source

enum ( Source )

ভিডিও সূত্র।

id

string

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

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

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

শিটসচার্টরিকোয়েস্ট তৈরি করুন

একটি এমবেডেড গুগল শিট চার্ট তৈরি করে।

দ্রষ্টব্য: চার্ট তৈরির জন্য কমপক্ষে একটি spreadsheets.readonly, spreadsheets, drive.readonly, drive.file, অথবা drive OAuth স্কোপ প্রয়োজন।

JSON উপস্থাপনা
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "spreadsheetId": string,
  "chartId": integer,
  "linkingMode": enum (LinkingMode)
}
ক্ষেত্র
objectId

string

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

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

elementProperties

object ( PageElementProperties )

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

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

spreadsheetId

string

চার্টটি থাকা Google Sheets স্প্রেডশিটের আইডি।

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

chartId

integer

গুগল শিট স্প্রেডশিটে নির্দিষ্ট চার্টের আইডি।

linkingMode

enum ( LinkingMode )

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

লিঙ্কিংমোড

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

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

CreateLineRequest সম্পর্কে

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

JSON উপস্থাপনা
{
  "objectId": string,
  "elementProperties": {
    object (PageElementProperties)
  },
  "lineCategory": enum (Category),
  "category": enum (LineCategory)
}
ক্ষেত্র
objectId

string

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

যদি আপনি একটি আইডি নির্দিষ্ট করেন, তাহলে উপস্থাপনার সমস্ত পৃষ্ঠা এবং পৃষ্ঠার উপাদানগুলির মধ্যে এটি অবশ্যই অনন্য হতে হবে। আইডিটি অবশ্যই একটি আলফানিউমেরিক অক্ষর বা একটি আন্ডারস্কোর দিয়ে শুরু হতে হবে (regex [a-zA-Z0-9_] এর সাথে মেলে); বাকি অক্ষরগুলিতে সেগুলি এবং একটি হাইফেন বা কোলন অন্তর্ভুক্ত থাকতে পারে (regex [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 সোজা সংযোগকারী, যার মধ্যে সোজা সংযোগকারী ১ অন্তর্ভুক্ত। যখন কোনটি নির্দিষ্ট করা না থাকে তখন এটি ডিফল্ট বিভাগ।
BENT বাঁকানো সংযোগকারী, যার মধ্যে রয়েছে বাঁকানো সংযোগকারী 2 থেকে 5।
CURVED বাঁকা সংযোগকারী, যার মধ্যে রয়েছে 2 থেকে 5 পর্যন্ত বাঁকা সংযোগকারী।

রিফ্রেশশিটসচার্টরিকোয়েস্ট

একটি এমবেডেড Google Sheets চার্টকে Google Sheets থেকে চার্টের সর্বশেষ সংস্করণ দিয়ে প্রতিস্থাপন করে রিফ্রেশ করে।

দ্রষ্টব্য: চার্ট রিফ্রেশ করার জন্য কমপক্ষে একটি spreadsheets.readonly, spreadsheets, drive.readonly, অথবা drive 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" এ সেট করুন।

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

ইমেজপ্রপার্টিজরিকোয়েস্ট আপডেট করুন

একটি 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" এ সেট করুন।

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

পৃষ্ঠা বৈশিষ্ট্য আপডেট করুন অনুরোধ

একটি 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" এ সেট করুন।

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

অনুচ্ছেদ বুলেট অনুরোধ তৈরি করুন

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

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

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

JSON উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  },
  "bulletPreset": enum (BulletGlyphPreset)
}
ক্ষেত্র
objectId

string

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

cellLocation

object ( TableCellLocation )

যদি টেক্সটটি পরিবর্তন করা হয়, তাহলে ঐচ্ছিক টেবিল সেলের অবস্থানটি একটি টেবিল সেলের মধ্যে থাকে। যদি উপস্থিত থাকে, তাহলে objectId অবশ্যই একটি টেবিলকে নির্দেশ করবে।

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 : একটি সংখ্যা, যেমন '১', '২', অথবা '৩'।
  • ZERODIGIT : এমন একটি সংখ্যা যেখানে একক অঙ্কের সংখ্যার পূর্বে শূন্য থাকে, যেমন '01', '02', অথবা '03'। একাধিক অঙ্কের সংখ্যার পূর্বে শূন্য থাকে না।
  • ROMAN : একটি ছোট হাতের রোমান সংখ্যা, যেমন 'i', 'ii', অথবা 'iii'।
  • UPPERROMAN : একটি বড় হাতের রোমান সংখ্যা, যেমন 'I', 'II', অথবা 'III'।
  • LEFTTRIANGLE : একটি ত্রিভুজ যা বাম দিকে নির্দেশ করে, একটি ইউনিকোড U+25c4 কোড বিন্দুর সাথে সম্পর্কিত।
এনামস
BULLET_DISC_CIRCLE_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি DISC , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_DIAMONDX_ARROW3D_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি DIAMONDX , ARROW3D এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_CHECKBOX সমস্ত তালিকা নেস্টিং স্তরের জন্য CHECKBOX বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_ARROW_DIAMOND_DISC প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি ARROW , DIAMOND এবং DISC বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_STAR_CIRCLE_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি STAR , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_ARROW3D_CIRCLE_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি ARROW3D , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_LEFTTRIANGLE_DIAMOND_DISC প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি LEFTTRIANGLE , DIAMOND এবং DISC বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি DIAMONDX , HOLLOWDIAMOND এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
BULLET_DIAMOND_CIRCLE_SQUARE প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য একটি DIAMOND , CIRCLE এবং SQUARE বুলেট গ্লিফ সহ একটি বুলেটযুক্ত তালিকা।
NUMBERED_DIGIT_ALPHA_ROMAN প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য DIGIT , ALPHA এবং ROMAN সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ড।
NUMBERED_DIGIT_ALPHA_ROMAN_PARENS প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য DIGIT , ALPHA এবং ROMAN সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে বন্ধনী।
NUMBERED_DIGIT_NESTED পিরিয়ড দ্বারা পৃথক DIGIT সাংখ্যিক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, যেখানে প্রতিটি নেস্টিং স্তর পূর্ববর্তী নেস্টিং স্তরের গ্লিফকে একটি উপসর্গ হিসাবে ব্যবহার করে। উদাহরণস্বরূপ: '1.', '1.1.', '2.', '2.2.'।
NUMBERED_UPPERALPHA_ALPHA_ROMAN প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য UPPERALPHA , ALPHA এবং ROMAN সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ড।
NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য UPPERROMAN , UPPERALPHA এবং DIGIT সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ড।
NUMBERED_ZERODIGIT_ALPHA_ROMAN প্রথম ৩টি তালিকার নেস্টিং স্তরের জন্য ZERODIGIT , ALPHA এবং ROMAN সংখ্যাসূচক গ্লিফ সহ একটি সংখ্যাযুক্ত তালিকা, তারপরে পিরিয়ড।

ইমেজ রিকোয়েস্টের সাথে সমস্ত আকার প্রতিস্থাপন করুন

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

উপস্থাপনায় ঢোকানোর পর আকারগুলি প্রতিস্থাপনকারী ছবিগুলি আয়তাকার হয় এবং আকারগুলির আকার ধারণ করে না।

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

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

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

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

object ( SubstringMatchCriteria )

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

Union ফিল্ড image_source । ছবির উৎসের ধরণ। image_source নিম্নলিখিতগুলির মধ্যে কেবল একটি হতে পারে:
imageUrl

string

ছবির URL।

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

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

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

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

এনামস
CENTER_INSIDE ছবিটিকে মূল আকৃতির সীমানার মধ্যে ফিট করার জন্য স্কেল এবং কেন্দ্র করে এবং ছবির আকৃতির অনুপাত বজায় রাখে। ছবির রেন্ডার করা আকার আকৃতির আকারের চেয়ে ছোট হতে পারে। যখন কোনও নির্দিষ্ট পদ্ধতি নির্দিষ্ট করা না থাকে তখন এটিই ডিফল্ট পদ্ধতি।
CENTER_CROP মূল আকৃতির সীমানা পূরণ করার জন্য ছবিটিকে স্কেল এবং কেন্দ্র করে। আকৃতি পূরণ করার জন্য ছবিটি ক্রপ করা যেতে পারে। ছবির রেন্ডার করা আকার মূল আকৃতির মতোই হবে।

ImageReplaceMethod সম্পর্কে

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

এনামস
IMAGE_REPLACE_METHOD_UNSPECIFIED অনির্দিষ্ট চিত্র প্রতিস্থাপন পদ্ধতি। এই মানটি ব্যবহার করা উচিত নয়।
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 উপস্থাপনা
{
  "objectId": string,
  "objectIds": {
    string: string,
    ...
  }
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "style": {
    object (TextStyle)
  },
  "textRange": {
    object (Range)
  },
  "fields": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "containsText": {
    object (SubstringMatchCriteria)
  },
  "spreadsheetId": string,
  "chartId": integer,
  "linkingMode": enum (LinkingMode),
  "pageObjectIds": [
    string
  ]
}
ক্ষেত্র
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.

এনামস
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 উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "textRange": {
    object (Range)
  }
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "cellLocation": {
    object (TableCellLocation)
  },
  "style": {
    object (ParagraphStyle)
  },
  "textRange": {
    object (Range)
  },
  "fields": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  },
  "borderPosition": enum (BorderPosition),
  "tableBorderProperties": {
    object (TableBorderProperties)
  },
  "fields": string
}
ক্ষেত্র
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.

এনামস
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 উপস্থাপনা
{
  "objectId": string,
  "columnIndices": [
    integer
  ],
  "tableColumnProperties": {
    object (TableColumnProperties)
  },
  "fields": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "rowIndices": [
    integer
  ],
  "tableRowProperties": {
    object (TableRowProperties)
  },
  "fields": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  }
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "tableRange": {
    object (TableRange)
  }
}
ক্ষেত্র
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 উপস্থাপনা
{
  "groupObjectId": string,
  "childrenObjectIds": [
    string
  ]
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectIds": [
    string
  ]
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "title": string,
  "description": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "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.
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string,
  "slideProperties": {
    object (SlideProperties)
  },
  "fields": string
}
ক্ষেত্র
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 উপস্থাপনা
{
  "pageElementObjectIds": [
    string
  ],
  "operation": enum (ZOrderOperation)
}
ক্ষেত্র
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.

এনামস
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 উপস্থাপনা
{
  "objectId": string,
  "lineCategory": enum (LineCategory)
}
ক্ষেত্র
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 উপস্থাপনা
{
  "objectId": string
}
ক্ষেত্র
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.