Class ConferenceDataBuilder
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trình tạoDữ liệuhội nghị
Trình tạo để tạo các đối tượng ConferenceData
.
Tài liệu chi tiết
addConferenceParameter(conferenceParameter)
addEntryPoint(entryPoint)
setConferenceId(conferenceId)
Đặt mã hội nghị của ConferenceData
này. Độ dài tối đa cho trường này là 512 ký tự.
Tham số
Tên | Loại | Mô tả |
conferenceId | String | Mã nhận dạng cần đặt. |
Cầu thủ trả bóng
ConferenceDataBuilder
– Trình tạo này, để tạo chuỗi.
Gửi
Error
– nếu mã hội nghị được cung cấp quá dài.
setConferenceSolutionId(conferenceSolutionId)
Đặt mã nhận dạng giải pháp hội nghị được xác định trong tệp kê khai của tiện ích bổ sung. Bạn phải chỉ định giá trị này và điền giá trị name và iconUrl của hội nghị.
Xin lưu ý rằng trường này là bắt buộc đối với các tiện ích bổ sung GSuite, trong khi trường này sẽ bị bỏ qua đối với các tiện ích bổ sung Conferencing
Tham số
Tên | Loại | Mô tả |
conferenceSolutionId | String | Mã nhận dạng khớp với tệp kê khai. |
Cầu thủ trả bóng
ConferenceDataBuilder
– Trình tạo này, để tạo chuỗi.
Gửi
Error
– nếu mã giải pháp hội nghị được cung cấp quá dài. Độ dài tối đa của trường này là 512 ký tự.
setError(conferenceError)
setNotes(notes)
Đặt các ghi chú bổ sung của ConferenceData
này, chẳng hạn như hướng dẫn của quản trị viên hoặc thông báo pháp lý. Có thể chứa HTML. Độ dài tối đa cho trường này là 2048 ký tự.
Tham số
Tên | Loại | Mô tả |
notes | String | Ghi chú bổ sung cần đặt. |
Cầu thủ trả bóng
ConferenceDataBuilder
– Trình tạo này, để tạo chuỗi.
Gửi
Error
– nếu ghi chú được cung cấp quá dài.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eConferenceDataBuilder\u003c/code\u003e facilitates the creation of \u003ccode\u003eConferenceData\u003c/code\u003e objects, defining conference details for applications.\u003c/p\u003e\n"],["\u003cp\u003eIt offers methods to add conference parameters and entry points, set conference IDs and notes, and specify errors.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003ebuild()\u003c/code\u003e method to generate and validate the final \u003ccode\u003eConferenceData\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThere are limitations on the number of parameters and entry points, as well as the length of certain fields like conference ID and notes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConferenceDataBuilder\u003c/code\u003e is essential for integrating conferencing functionality within Google Apps Script projects.\u003c/p\u003e\n"]]],[],null,["# Class ConferenceDataBuilder\n\nConferenceDataBuilder\n\nBuilder for creating for [ConferenceData](/apps-script/reference/conference-data/conference-data) objects. \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [addConferenceParameter(conferenceParameter)](#addConferenceParameter(ConferenceParameter)) | [ConferenceDataBuilder](#) | Adds a [ConferenceParameter](/apps-script/reference/conference-data/conference-parameter) to this [ConferenceData](/apps-script/reference/conference-data/conference-data). |\n| [addEntryPoint(entryPoint)](#addEntryPoint(EntryPoint)) | [ConferenceDataBuilder](#) | Adds an [EntryPoint](/apps-script/reference/conference-data/entry-point) to this [ConferenceData](/apps-script/reference/conference-data/conference-data). |\n| [build()](#build()) | [ConferenceData](/apps-script/reference/conference-data/conference-data) | Builds and validates the [ConferenceData](/apps-script/reference/conference-data/conference-data). |\n| [setConferenceId(conferenceId)](#setConferenceId(String)) | [ConferenceDataBuilder](#) | Sets the conference ID of this [ConferenceData](/apps-script/reference/conference-data/conference-data). |\n| [setConferenceSolutionId(conferenceSolutionId)](#setConferenceSolutionId(String)) | [ConferenceDataBuilder](#) | Sets the conference solution ID defined in the addon's manifest. |\n| [setError(conferenceError)](#setError(ConferenceError)) | [ConferenceDataBuilder](#) | Sets the [ConferenceError](/apps-script/reference/conference-data/conference-error) of this [ConferenceData](/apps-script/reference/conference-data/conference-data), indicating that the conference was not successfully created. |\n| [setNotes(notes)](#setNotes(String)) | [ConferenceDataBuilder](#) | Sets the additional notes of this [ConferenceData](/apps-script/reference/conference-data/conference-data), such as instructions from the administrator or legal notices. |\n\nDetailed documentation\n----------------------\n\n### `add``Conference``Parameter(conferenceParameter)`\n\nAdds a [ConferenceParameter](/apps-script/reference/conference-data/conference-parameter) to this [ConferenceData](/apps-script/reference/conference-data/conference-data). The maximum number of\nparameters per [ConferenceData](/apps-script/reference/conference-data/conference-data) is 300.\n\n#### Parameters\n\n| Name | Type | Description |\n|-------------------------|------------------------------------------------------------------------------------|-----------------------|\n| `conference``Parameter` | [ConferenceParameter](/apps-script/reference/conference-data/conference-parameter) | The parameter to add. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference parameter is invalid or if too many\nconference parameters were added.\n\n*** ** * ** ***\n\n### `add``Entry``Point(entryPoint)`\n\nAdds an [EntryPoint](/apps-script/reference/conference-data/entry-point) to this [ConferenceData](/apps-script/reference/conference-data/conference-data). The maximum number of entry points\nper [ConferenceData](/apps-script/reference/conference-data/conference-data) is 300.\n\n#### Parameters\n\n| Name | Type | Description |\n|----------------|------------------------------------------------------------------|-------------------------|\n| `entry``Point` | [EntryPoint](/apps-script/reference/conference-data/entry-point) | The entry point to add. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided entry point is invalid or if too many entry\npoints were added.\n\n*** ** * ** ***\n\n### `build()`\n\nBuilds and validates the [ConferenceData](/apps-script/reference/conference-data/conference-data).\n\n#### Return\n\n\n[ConferenceData](/apps-script/reference/conference-data/conference-data) --- the validated conference data\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the constructed conference data is not valid.\n\n*** ** * ** ***\n\n### `set``Conference``Id(conferenceId)`\n\nSets the conference ID of this [ConferenceData](/apps-script/reference/conference-data/conference-data). The maximum length for this field is 512\ncharacters.\n\n#### Parameters\n\n| Name | Type | Description |\n|------------------|----------|----------------|\n| `conference``Id` | `String` | The ID to set. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference ID is too long.\n\n*** ** * ** ***\n\n### `set``Conference``Solution``Id(conferenceSolutionId)`\n\nSets the conference solution ID defined in the addon's manifest. The value must be specified\nand populates conference's name and iconUrl values.\n\nNote that the field is required for GSuite add-ons whereas it's ignored for Conferencing\nadd-ons\n\n#### Parameters\n\n| Name | Type | Description |\n|----------------------------|----------|-------------------------------|\n| `conference``Solution``Id` | `String` | The ID matching the manifest. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference solution id is too long. The maximum\nlength for this field is 512 characters.\n\n*** ** * ** ***\n\n### `set``Error(conferenceError)`\n\nSets the [ConferenceError](/apps-script/reference/conference-data/conference-error) of this [ConferenceData](/apps-script/reference/conference-data/conference-data), indicating that the conference\nwas not successfully created.\n\n#### Parameters\n\n| Name | Type | Description |\n|---------------------|----------------------------------------------------------------------------|-------------------|\n| `conference``Error` | [ConferenceError](/apps-script/reference/conference-data/conference-error) | The error to set. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided error is invalid.\n\n*** ** * ** ***\n\n### `set``Notes(notes)`\n\nSets the additional notes of this [ConferenceData](/apps-script/reference/conference-data/conference-data), such as instructions from the\nadministrator or legal notices. Can contain HTML. The maximum length for this field is 2048\ncharacters.\n\n#### Parameters\n\n| Name | Type | Description |\n|---------|----------|------------------------------|\n| `notes` | `String` | The additional notes to set. |\n\n#### Return\n\n\n[ConferenceDataBuilder](#) --- This builder, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided notes are too long."]]