| Index: generated/googleapis/lib/slides/v1.dart
|
| diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart
|
| index e78d873442c4949f06dfc0331e836fad89665b8c..bb2177149666d6d200de98f42bd76b0cec0b080b 100644
|
| --- a/generated/googleapis/lib/slides/v1.dart
|
| +++ b/generated/googleapis/lib/slides/v1.dart
|
| @@ -9,87 +9,93 @@ import 'dart:convert' as convert;
|
| import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
|
| import 'package:http/http.dart' as http;
|
|
|
| -export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
|
| - ApiRequestError, DetailedApiRequestError;
|
| +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart'
|
| + show ApiRequestError, DetailedApiRequestError;
|
|
|
| const core.String USER_AGENT = 'dart-api-client slides/v1';
|
|
|
| -/** An API for creating and editing Google Slides presentations. */
|
| +/// An API for creating and editing Google Slides presentations.
|
| class SlidesApi {
|
| - /** View and manage the files in your Google Drive */
|
| + /// View and manage the files in your Google Drive
|
| static const DriveScope = "https://www.googleapis.com/auth/drive";
|
|
|
| - /** View the files in your Google Drive */
|
| - static const DriveReadonlyScope = "https://www.googleapis.com/auth/drive.readonly";
|
| + /// View the files in your Google Drive
|
| + static const DriveReadonlyScope =
|
| + "https://www.googleapis.com/auth/drive.readonly";
|
|
|
| - /** View and manage your Google Slides presentations */
|
| - static const PresentationsScope = "https://www.googleapis.com/auth/presentations";
|
| + /// View and manage your Google Slides presentations
|
| + static const PresentationsScope =
|
| + "https://www.googleapis.com/auth/presentations";
|
|
|
| - /** View your Google Slides presentations */
|
| - static const PresentationsReadonlyScope = "https://www.googleapis.com/auth/presentations.readonly";
|
| + /// View your Google Slides presentations
|
| + static const PresentationsReadonlyScope =
|
| + "https://www.googleapis.com/auth/presentations.readonly";
|
|
|
| - /** View and manage your spreadsheets in Google Drive */
|
| - static const SpreadsheetsScope = "https://www.googleapis.com/auth/spreadsheets";
|
| -
|
| - /** View your Google Spreadsheets */
|
| - static const SpreadsheetsReadonlyScope = "https://www.googleapis.com/auth/spreadsheets.readonly";
|
| + /// View and manage your spreadsheets in Google Drive
|
| + static const SpreadsheetsScope =
|
| + "https://www.googleapis.com/auth/spreadsheets";
|
|
|
| + /// View your Google Spreadsheets
|
| + static const SpreadsheetsReadonlyScope =
|
| + "https://www.googleapis.com/auth/spreadsheets.readonly";
|
|
|
| final commons.ApiRequester _requester;
|
|
|
| - PresentationsResourceApi get presentations => new PresentationsResourceApi(_requester);
|
| + PresentationsResourceApi get presentations =>
|
| + new PresentationsResourceApi(_requester);
|
|
|
| - SlidesApi(http.Client client, {core.String rootUrl: "https://slides.googleapis.com/", core.String servicePath: ""}) :
|
| - _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
|
| + SlidesApi(http.Client client,
|
| + {core.String rootUrl: "https://slides.googleapis.com/",
|
| + core.String servicePath: ""})
|
| + : _requester =
|
| + new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
|
| }
|
|
|
| -
|
| class PresentationsResourceApi {
|
| final commons.ApiRequester _requester;
|
|
|
| - PresentationsPagesResourceApi get pages => new PresentationsPagesResourceApi(_requester);
|
| -
|
| - PresentationsResourceApi(commons.ApiRequester client) :
|
| - _requester = client;
|
| -
|
| - /**
|
| - * Applies one or more updates to the presentation.
|
| - *
|
| - * Each request is validated before
|
| - * being applied. If any request is not valid, then the entire request will
|
| - * fail and nothing will be applied.
|
| - *
|
| - * Some requests have replies to
|
| - * give you some information about how they are applied. Other requests do
|
| - * not need to return information; these each return an empty reply.
|
| - * The order of replies matches that of the requests.
|
| - *
|
| - * For example, suppose you call batchUpdate with four updates, and only the
|
| - * third one returns information. The response would have two empty replies:
|
| - * the reply to the third request, and another empty reply, in that order.
|
| - *
|
| - * Because other users may be editing the presentation, the presentation
|
| - * might not exactly reflect your changes: your changes may
|
| - * be altered with respect to collaborator changes. If there are no
|
| - * collaborators, the presentation should reflect your changes. In any case,
|
| - * the updates in your request are guaranteed to be applied together
|
| - * atomically.
|
| - *
|
| - * [request] - The metadata request object.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [presentationId] - The presentation to apply the updates to.
|
| - *
|
| - * Completes with a [BatchUpdatePresentationResponse].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - async.Future<BatchUpdatePresentationResponse> batchUpdate(BatchUpdatePresentationRequest request, core.String presentationId) {
|
| + PresentationsPagesResourceApi get pages =>
|
| + new PresentationsPagesResourceApi(_requester);
|
| +
|
| + PresentationsResourceApi(commons.ApiRequester client) : _requester = client;
|
| +
|
| + /// Applies one or more updates to the presentation.
|
| + ///
|
| + /// Each request is validated before
|
| + /// being applied. If any request is not valid, then the entire request will
|
| + /// fail and nothing will be applied.
|
| + ///
|
| + /// Some requests have replies to
|
| + /// give you some information about how they are applied. Other requests do
|
| + /// not need to return information; these each return an empty reply.
|
| + /// The order of replies matches that of the requests.
|
| + ///
|
| + /// For example, suppose you call batchUpdate with four updates, and only the
|
| + /// third one returns information. The response would have two empty replies:
|
| + /// the reply to the third request, and another empty reply, in that order.
|
| + ///
|
| + /// Because other users may be editing the presentation, the presentation
|
| + /// might not exactly reflect your changes: your changes may
|
| + /// be altered with respect to collaborator changes. If there are no
|
| + /// collaborators, the presentation should reflect your changes. In any case,
|
| + /// the updates in your request are guaranteed to be applied together
|
| + /// atomically.
|
| + ///
|
| + /// [request] - The metadata request object.
|
| + ///
|
| + /// Request parameters:
|
| + ///
|
| + /// [presentationId] - The presentation to apply the updates to.
|
| + ///
|
| + /// Completes with a [BatchUpdatePresentationResponse].
|
| + ///
|
| + /// Completes with a [commons.ApiRequestError] if the API endpoint returned
|
| + /// an error.
|
| + ///
|
| + /// If the used [http.Client] completes with an error when making a REST
|
| + /// call, this method will complete with the same error.
|
| + async.Future<BatchUpdatePresentationResponse> batchUpdate(
|
| + BatchUpdatePresentationRequest request, core.String presentationId) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -104,35 +110,35 @@ class PresentationsResourceApi {
|
| throw new core.ArgumentError("Parameter presentationId is required.");
|
| }
|
|
|
| - _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId') + ':batchUpdate';
|
| -
|
| - var _response = _requester.request(_url,
|
| - "POST",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| - return _response.then((data) => new BatchUpdatePresentationResponse.fromJson(data));
|
| - }
|
| -
|
| - /**
|
| - * Creates a new presentation using the title given in the request. Other
|
| - * fields in the request are ignored.
|
| - * Returns the created presentation.
|
| - *
|
| - * [request] - The metadata request object.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * Completes with a [Presentation].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| + _url = 'v1/presentations/' +
|
| + commons.Escaper.ecapeVariable('$presentationId') +
|
| + ':batchUpdate';
|
| +
|
| + var _response = _requester.request(_url, "POST",
|
| + body: _body,
|
| + queryParams: _queryParams,
|
| + uploadOptions: _uploadOptions,
|
| + uploadMedia: _uploadMedia,
|
| + downloadOptions: _downloadOptions);
|
| + return _response
|
| + .then((data) => new BatchUpdatePresentationResponse.fromJson(data));
|
| + }
|
| +
|
| + /// Creates a new presentation using the title given in the request. Other
|
| + /// fields in the request are ignored.
|
| + /// Returns the created presentation.
|
| + ///
|
| + /// [request] - The metadata request object.
|
| + ///
|
| + /// Request parameters:
|
| + ///
|
| + /// Completes with a [Presentation].
|
| + ///
|
| + /// Completes with a [commons.ApiRequestError] if the API endpoint returned
|
| + /// an error.
|
| + ///
|
| + /// If the used [http.Client] completes with an error when making a REST
|
| + /// call, this method will complete with the same error.
|
| async.Future<Presentation> create(Presentation request) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| @@ -147,32 +153,29 @@ class PresentationsResourceApi {
|
|
|
| _url = 'v1/presentations';
|
|
|
| - var _response = _requester.request(_url,
|
| - "POST",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| + var _response = _requester.request(_url, "POST",
|
| + body: _body,
|
| + queryParams: _queryParams,
|
| + uploadOptions: _uploadOptions,
|
| + uploadMedia: _uploadMedia,
|
| + downloadOptions: _downloadOptions);
|
| return _response.then((data) => new Presentation.fromJson(data));
|
| }
|
|
|
| - /**
|
| - * Gets the latest version of the specified presentation.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [presentationId] - The ID of the presentation to retrieve.
|
| - * Value must have pattern "^[^/]+$".
|
| - *
|
| - * Completes with a [Presentation].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| + /// Gets the latest version of the specified presentation.
|
| + ///
|
| + /// Request parameters:
|
| + ///
|
| + /// [presentationId] - The ID of the presentation to retrieve.
|
| + /// Value must have pattern "^[^/]+$".
|
| + ///
|
| + /// Completes with a [Presentation].
|
| + ///
|
| + /// Completes with a [commons.ApiRequestError] if the API endpoint returned
|
| + /// an error.
|
| + ///
|
| + /// If the used [http.Client] completes with an error when making a REST
|
| + /// call, this method will complete with the same error.
|
| async.Future<Presentation> get(core.String presentationId) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| @@ -185,44 +188,40 @@ class PresentationsResourceApi {
|
| throw new core.ArgumentError("Parameter presentationId is required.");
|
| }
|
|
|
| - _url = 'v1/presentations/' + commons.Escaper.ecapeVariableReserved('$presentationId');
|
| + _url = 'v1/presentations/' +
|
| + commons.Escaper.ecapeVariableReserved('$presentationId');
|
|
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| + var _response = _requester.request(_url, "GET",
|
| + body: _body,
|
| + queryParams: _queryParams,
|
| + uploadOptions: _uploadOptions,
|
| + uploadMedia: _uploadMedia,
|
| + downloadOptions: _downloadOptions);
|
| return _response.then((data) => new Presentation.fromJson(data));
|
| }
|
| -
|
| }
|
|
|
| -
|
| class PresentationsPagesResourceApi {
|
| final commons.ApiRequester _requester;
|
|
|
| - PresentationsPagesResourceApi(commons.ApiRequester client) :
|
| - _requester = client;
|
| -
|
| - /**
|
| - * Gets the latest version of the specified page in the presentation.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [presentationId] - The ID of the presentation to retrieve.
|
| - *
|
| - * [pageObjectId] - The object ID of the page to retrieve.
|
| - *
|
| - * Completes with a [Page].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| + PresentationsPagesResourceApi(commons.ApiRequester client)
|
| + : _requester = client;
|
| +
|
| + /// Gets the latest version of the specified page in the presentation.
|
| + ///
|
| + /// Request parameters:
|
| + ///
|
| + /// [presentationId] - The ID of the presentation to retrieve.
|
| + ///
|
| + /// [pageObjectId] - The object ID of the page to retrieve.
|
| + ///
|
| + /// Completes with a [Page].
|
| + ///
|
| + /// Completes with a [commons.ApiRequestError] if the API endpoint returned
|
| + /// an error.
|
| + ///
|
| + /// If the used [http.Client] completes with an error when making a REST
|
| + /// call, this method will complete with the same error.
|
| async.Future<Page> get(core.String presentationId, core.String pageObjectId) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| @@ -238,52 +237,55 @@ class PresentationsPagesResourceApi {
|
| throw new core.ArgumentError("Parameter pageObjectId is required.");
|
| }
|
|
|
| - _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId') + '/pages/' + commons.Escaper.ecapeVariable('$pageObjectId');
|
| + _url = 'v1/presentations/' +
|
| + commons.Escaper.ecapeVariable('$presentationId') +
|
| + '/pages/' +
|
| + commons.Escaper.ecapeVariable('$pageObjectId');
|
|
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| + var _response = _requester.request(_url, "GET",
|
| + body: _body,
|
| + queryParams: _queryParams,
|
| + uploadOptions: _uploadOptions,
|
| + uploadMedia: _uploadMedia,
|
| + downloadOptions: _downloadOptions);
|
| return _response.then((data) => new Page.fromJson(data));
|
| }
|
|
|
| - /**
|
| - * Generates a thumbnail of the latest version of the specified page in the
|
| - * presentation and returns a URL to the thumbnail image.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [presentationId] - The ID of the presentation to retrieve.
|
| - *
|
| - * [pageObjectId] - The object ID of the page whose thumbnail to retrieve.
|
| - *
|
| - * [thumbnailProperties_thumbnailSize] - The optional thumbnail image size.
|
| - *
|
| - * If you don't specify the size, the server chooses a default size of the
|
| - * image.
|
| - * Possible string values are:
|
| - * - "THUMBNAIL_SIZE_UNSPECIFIED" : A THUMBNAIL_SIZE_UNSPECIFIED.
|
| - * - "LARGE" : A LARGE.
|
| - *
|
| - * [thumbnailProperties_mimeType] - The optional mime type of the thumbnail
|
| - * image.
|
| - *
|
| - * If you don't specify the mime type, the default mime type will be PNG.
|
| - * Possible string values are:
|
| - * - "PNG" : A PNG.
|
| - *
|
| - * Completes with a [Thumbnail].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - async.Future<Thumbnail> getThumbnail(core.String presentationId, core.String pageObjectId, {core.String thumbnailProperties_thumbnailSize, core.String thumbnailProperties_mimeType}) {
|
| + /// Generates a thumbnail of the latest version of the specified page in the
|
| + /// presentation and returns a URL to the thumbnail image.
|
| + ///
|
| + /// Request parameters:
|
| + ///
|
| + /// [presentationId] - The ID of the presentation to retrieve.
|
| + ///
|
| + /// [pageObjectId] - The object ID of the page whose thumbnail to retrieve.
|
| + ///
|
| + /// [thumbnailProperties_thumbnailSize] - The optional thumbnail image size.
|
| + ///
|
| + /// If you don't specify the size, the server chooses a default size of the
|
| + /// image.
|
| + /// Possible string values are:
|
| + /// - "THUMBNAIL_SIZE_UNSPECIFIED" : A THUMBNAIL_SIZE_UNSPECIFIED.
|
| + /// - "LARGE" : A LARGE.
|
| + ///
|
| + /// [thumbnailProperties_mimeType] - The optional mime type of the thumbnail
|
| + /// image.
|
| + ///
|
| + /// If you don't specify the mime type, the default mime type will be PNG.
|
| + /// Possible string values are:
|
| + /// - "PNG" : A PNG.
|
| + ///
|
| + /// Completes with a [Thumbnail].
|
| + ///
|
| + /// Completes with a [commons.ApiRequestError] if the API endpoint returned
|
| + /// an error.
|
| + ///
|
| + /// If the used [http.Client] completes with an error when making a REST
|
| + /// call, this method will complete with the same error.
|
| + async.Future<Thumbnail> getThumbnail(
|
| + core.String presentationId, core.String pageObjectId,
|
| + {core.String thumbnailProperties_thumbnailSize,
|
| + core.String thumbnailProperties_mimeType}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -298,65 +300,71 @@ class PresentationsPagesResourceApi {
|
| throw new core.ArgumentError("Parameter pageObjectId is required.");
|
| }
|
| if (thumbnailProperties_thumbnailSize != null) {
|
| - _queryParams["thumbnailProperties.thumbnailSize"] = [thumbnailProperties_thumbnailSize];
|
| + _queryParams["thumbnailProperties.thumbnailSize"] = [
|
| + thumbnailProperties_thumbnailSize
|
| + ];
|
| }
|
| if (thumbnailProperties_mimeType != null) {
|
| - _queryParams["thumbnailProperties.mimeType"] = [thumbnailProperties_mimeType];
|
| - }
|
| -
|
| - _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId') + '/pages/' + commons.Escaper.ecapeVariable('$pageObjectId') + '/thumbnail';
|
| -
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| + _queryParams["thumbnailProperties.mimeType"] = [
|
| + thumbnailProperties_mimeType
|
| + ];
|
| + }
|
| +
|
| + _url = 'v1/presentations/' +
|
| + commons.Escaper.ecapeVariable('$presentationId') +
|
| + '/pages/' +
|
| + commons.Escaper.ecapeVariable('$pageObjectId') +
|
| + '/thumbnail';
|
| +
|
| + var _response = _requester.request(_url, "GET",
|
| + body: _body,
|
| + queryParams: _queryParams,
|
| + uploadOptions: _uploadOptions,
|
| + uploadMedia: _uploadMedia,
|
| + downloadOptions: _downloadOptions);
|
| return _response.then((data) => new Thumbnail.fromJson(data));
|
| }
|
| -
|
| }
|
|
|
| -
|
| -
|
| -/**
|
| - * AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
|
| - * to transform source coordinates (x,y) into destination coordinates (x', y')
|
| - * according to:
|
| - *
|
| - * x' x = shear_y scale_y translate_y
|
| - * 1 [ 1 ]
|
| - *
|
| - * After transformation,
|
| - *
|
| - * x' = scale_x * x + shear_x * y + translate_x;
|
| - * y' = scale_y * y + shear_y * x + translate_y;
|
| - *
|
| - * This message is therefore composed of these six matrix elements.
|
| - */
|
| +/// AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
|
| +/// to transform source coordinates (x,y) into destination coordinates (x', y')
|
| +/// according to:
|
| +///
|
| +/// x' x = shear_y scale_y translate_y
|
| +/// 1 [ 1 ]
|
| +///
|
| +/// After transformation,
|
| +///
|
| +/// x' = scale_x * x + shear_x * y + translate_x;
|
| +/// y' = scale_y * y + shear_y * x + translate_y;
|
| +///
|
| +/// This message is therefore composed of these six matrix elements.
|
| class AffineTransform {
|
| - /** The X coordinate scaling element. */
|
| + /// The X coordinate scaling element.
|
| core.double scaleX;
|
| - /** The Y coordinate scaling element. */
|
| +
|
| + /// The Y coordinate scaling element.
|
| core.double scaleY;
|
| - /** The X coordinate shearing element. */
|
| +
|
| + /// The X coordinate shearing element.
|
| core.double shearX;
|
| - /** The Y coordinate shearing element. */
|
| +
|
| + /// The Y coordinate shearing element.
|
| core.double shearY;
|
| - /** The X coordinate translation element. */
|
| +
|
| + /// The X coordinate translation element.
|
| core.double translateX;
|
| - /** The Y coordinate translation element. */
|
| +
|
| + /// The Y coordinate translation element.
|
| core.double translateY;
|
| - /**
|
| - * The units for translate elements.
|
| - * Possible string values are:
|
| - * - "UNIT_UNSPECIFIED" : The units are unknown.
|
| - * - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a
|
| - * centimeter
|
| - * and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.
|
| - * - "PT" : A point, 1/72 of an inch.
|
| - */
|
| +
|
| + /// The units for translate elements.
|
| + /// Possible string values are:
|
| + /// - "UNIT_UNSPECIFIED" : The units are unknown.
|
| + /// - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a
|
| + /// centimeter
|
| + /// and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.
|
| + /// - "PT" : A point, 1/72 of an inch.
|
| core.String unit;
|
|
|
| AffineTransform();
|
| @@ -386,7 +394,8 @@ class AffineTransform {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (scaleX != null) {
|
| _json["scaleX"] = scaleX;
|
| }
|
| @@ -412,19 +421,19 @@ class AffineTransform {
|
| }
|
| }
|
|
|
| -/** A TextElement kind that represents auto text. */
|
| +/// A TextElement kind that represents auto text.
|
| class AutoText {
|
| - /** The rendered content of this auto text, if available. */
|
| + /// The rendered content of this auto text, if available.
|
| core.String content;
|
| - /** The styling applied to this auto text. */
|
| +
|
| + /// The styling applied to this auto text.
|
| TextStyle style;
|
| - /**
|
| - * The type of this auto text.
|
| - * Possible string values are:
|
| - * - "TYPE_UNSPECIFIED" : An unspecified autotext type.
|
| - * - "SLIDE_NUMBER" : Type for autotext that represents the current slide
|
| - * number.
|
| - */
|
| +
|
| + /// The type of this auto text.
|
| + /// Possible string values are:
|
| + /// - "TYPE_UNSPECIFIED" : An unspecified autotext type.
|
| + /// - "SLIDE_NUMBER" : Type for autotext that represents the current slide
|
| + /// number.
|
| core.String type;
|
|
|
| AutoText();
|
| @@ -442,7 +451,8 @@ class AutoText {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (content != null) {
|
| _json["content"] = content;
|
| }
|
| @@ -456,18 +466,21 @@ class AutoText {
|
| }
|
| }
|
|
|
| -/** Request message for PresentationsService.BatchUpdatePresentation. */
|
| +/// Request message for PresentationsService.BatchUpdatePresentation.
|
| class BatchUpdatePresentationRequest {
|
| - /** A list of updates to apply to the presentation. */
|
| + /// A list of updates to apply to the presentation.
|
| core.List<Request> requests;
|
| - /** Provides control over how write requests are executed. */
|
| +
|
| + /// Provides control over how write requests are executed.
|
| WriteControl writeControl;
|
|
|
| BatchUpdatePresentationRequest();
|
|
|
| BatchUpdatePresentationRequest.fromJson(core.Map _json) {
|
| if (_json.containsKey("requests")) {
|
| - requests = _json["requests"].map((value) => new Request.fromJson(value)).toList();
|
| + requests = _json["requests"]
|
| + .map((value) => new Request.fromJson(value))
|
| + .toList();
|
| }
|
| if (_json.containsKey("writeControl")) {
|
| writeControl = new WriteControl.fromJson(_json["writeControl"]);
|
| @@ -475,7 +488,8 @@ class BatchUpdatePresentationRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (requests != null) {
|
| _json["requests"] = requests.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -486,14 +500,13 @@ class BatchUpdatePresentationRequest {
|
| }
|
| }
|
|
|
| -/** Response message from a batch update. */
|
| +/// Response message from a batch update.
|
| class BatchUpdatePresentationResponse {
|
| - /** The presentation the updates were applied to. */
|
| + /// The presentation the updates were applied to.
|
| core.String presentationId;
|
| - /**
|
| - * The reply of the updates. This maps 1:1 with the updates, although
|
| - * replies to some requests may be empty.
|
| - */
|
| +
|
| + /// The reply of the updates. This maps 1:1 with the updates, although
|
| + /// replies to some requests may be empty.
|
| core.List<Response> replies;
|
|
|
| BatchUpdatePresentationResponse();
|
| @@ -503,12 +516,15 @@ class BatchUpdatePresentationResponse {
|
| presentationId = _json["presentationId"];
|
| }
|
| if (_json.containsKey("replies")) {
|
| - replies = _json["replies"].map((value) => new Response.fromJson(value)).toList();
|
| + replies = _json["replies"]
|
| + .map((value) => new Response.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (presentationId != null) {
|
| _json["presentationId"] = presentationId;
|
| }
|
| @@ -519,15 +535,18 @@ class BatchUpdatePresentationResponse {
|
| }
|
| }
|
|
|
| -/** Describes the bullet of a paragraph. */
|
| +/// Describes the bullet of a paragraph.
|
| class Bullet {
|
| - /** The paragraph specific text style applied to this bullet. */
|
| + /// The paragraph specific text style applied to this bullet.
|
| TextStyle bulletStyle;
|
| - /** The rendered bullet glyph for this paragraph. */
|
| +
|
| + /// The rendered bullet glyph for this paragraph.
|
| core.String glyph;
|
| - /** The ID of the list this paragraph belongs to. */
|
| +
|
| + /// The ID of the list this paragraph belongs to.
|
| core.String listId;
|
| - /** The nesting level of this paragraph in the list. */
|
| +
|
| + /// The nesting level of this paragraph in the list.
|
| core.int nestingLevel;
|
|
|
| Bullet();
|
| @@ -548,7 +567,8 @@ class Bullet {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (bulletStyle != null) {
|
| _json["bulletStyle"] = (bulletStyle).toJson();
|
| }
|
| @@ -565,21 +585,24 @@ class Bullet {
|
| }
|
| }
|
|
|
| -/** The palette of predefined colors for a page. */
|
| +/// The palette of predefined colors for a page.
|
| class ColorScheme {
|
| - /** The ThemeColorType and corresponding concrete color pairs. */
|
| + /// The ThemeColorType and corresponding concrete color pairs.
|
| core.List<ThemeColorPair> colors;
|
|
|
| ColorScheme();
|
|
|
| ColorScheme.fromJson(core.Map _json) {
|
| if (_json.containsKey("colors")) {
|
| - colors = _json["colors"].map((value) => new ThemeColorPair.fromJson(value)).toList();
|
| + colors = _json["colors"]
|
| + .map((value) => new ThemeColorPair.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (colors != null) {
|
| _json["colors"] = colors.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -587,19 +610,17 @@ class ColorScheme {
|
| }
|
| }
|
|
|
| -/** A color and position in a gradient band. */
|
| +/// A color and position in a gradient band.
|
| class ColorStop {
|
| - /**
|
| - * The alpha value of this color in the gradient band. Defaults to 1.0,
|
| - * fully opaque.
|
| - */
|
| + /// The alpha value of this color in the gradient band. Defaults to 1.0,
|
| + /// fully opaque.
|
| core.double alpha;
|
| - /** The color of the gradient stop. */
|
| +
|
| + /// The color of the gradient stop.
|
| OpaqueColor color;
|
| - /**
|
| - * The relative position of the color stop in the gradient band measured
|
| - * in percentage. The value should be in the interval [0.0, 1.0].
|
| - */
|
| +
|
| + /// The relative position of the color stop in the gradient band measured
|
| + /// in percentage. The value should be in the interval [0.0, 1.0].
|
| core.double position;
|
|
|
| ColorStop();
|
| @@ -617,7 +638,8 @@ class ColorStop {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (alpha != null) {
|
| _json["alpha"] = alpha;
|
| }
|
| @@ -631,45 +653,46 @@ class ColorStop {
|
| }
|
| }
|
|
|
| -/** Creates an image. */
|
| +/// Creates an image.
|
| class CreateImageRequest {
|
| - /**
|
| - * The element properties for the image.
|
| - *
|
| - * When the aspect ratio of the provided size does not match the image aspect
|
| - * ratio, the image is scaled and centered with respect to the size in order
|
| - * to maintain aspect ratio. The provided transform is applied after this
|
| - * operation.
|
| - */
|
| + /// The element properties for the image.
|
| + ///
|
| + /// When the aspect ratio of the provided size does not match the image
|
| + /// aspect
|
| + /// ratio, the image is scaled and centered with respect to the size in order
|
| + /// to maintain aspect ratio. The provided transform is applied after this
|
| + /// operation.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
| - /**
|
| - * 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 in size,
|
| - * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| - * format.
|
| - */
|
| +
|
| + /// 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 in size,
|
| + /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| + /// format.
|
| + ///
|
| + /// The provided URL can be at maximum 2K bytes large.
|
| core.String url;
|
|
|
| CreateImageRequest();
|
|
|
| CreateImageRequest.fromJson(core.Map _json) {
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("objectId")) {
|
| objectId = _json["objectId"];
|
| @@ -680,7 +703,8 @@ class CreateImageRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (elementProperties != null) {
|
| _json["elementProperties"] = (elementProperties).toJson();
|
| }
|
| @@ -694,9 +718,9 @@ class CreateImageRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating an image. */
|
| +/// The result of creating an image.
|
| class CreateImageResponse {
|
| - /** The object ID of the created image. */
|
| + /// The object ID of the created image.
|
| core.String objectId;
|
|
|
| CreateImageResponse();
|
| @@ -708,7 +732,8 @@ class CreateImageResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -716,39 +741,39 @@ class CreateImageResponse {
|
| }
|
| }
|
|
|
| -/** Creates a line. */
|
| +/// Creates a line.
|
| class CreateLineRequest {
|
| - /** The element properties for the line. */
|
| + /// The element properties for the line.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * The category of line to be created.
|
| - * Possible string values are:
|
| - * - "STRAIGHT" : Straight connectors, including straight connector 1. The is
|
| - * the default
|
| - * category when one is not specified.
|
| - * - "BENT" : Bent connectors, including bent connector 2 to 5.
|
| - * - "CURVED" : Curved connectors, including curved connector 2 to 5.
|
| - */
|
| +
|
| + /// The category of line to be created.
|
| + /// Possible string values are:
|
| + /// - "STRAIGHT" : Straight connectors, including straight connector 1. The
|
| + /// is the default
|
| + /// category when one is not specified.
|
| + /// - "BENT" : Bent connectors, including bent connector 2 to 5.
|
| + /// - "CURVED" : Curved connectors, including curved connector 2 to 5.
|
| core.String lineCategory;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
|
|
| CreateLineRequest();
|
|
|
| CreateLineRequest.fromJson(core.Map _json) {
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("lineCategory")) {
|
| lineCategory = _json["lineCategory"];
|
| @@ -759,7 +784,8 @@ class CreateLineRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (elementProperties != null) {
|
| _json["elementProperties"] = (elementProperties).toJson();
|
| }
|
| @@ -773,9 +799,9 @@ class CreateLineRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating a line. */
|
| +/// The result of creating a line.
|
| class CreateLineResponse {
|
| - /** The object ID of the created line. */
|
| + /// The object ID of the created line.
|
| core.String objectId;
|
|
|
| CreateLineResponse();
|
| @@ -787,7 +813,8 @@ class CreateLineResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -795,84 +822,80 @@ class CreateLineResponse {
|
| }
|
| }
|
|
|
| -/**
|
| - * Creates bullets for all of the paragraphs that overlap with the given
|
| - * text index range.
|
| - *
|
| - * The nesting level of each paragraph will be determined by counting leading
|
| - * tabs in front of each paragraph. To avoid excess space between the bullet and
|
| - * the corresponding paragraph, these leading tabs are removed by this request.
|
| - * This may change the indices of parts of the text.
|
| - *
|
| - * If the paragraph immediately before paragraphs being updated is in a list
|
| - * with a matching preset, the paragraphs being updated are added to that
|
| - * preceding list.
|
| - */
|
| +/// Creates bullets for all of the paragraphs that overlap with the given
|
| +/// text index range.
|
| +///
|
| +/// The nesting level of each paragraph will be determined by counting leading
|
| +/// tabs in front of each paragraph. To avoid excess space between the bullet
|
| +/// and
|
| +/// the corresponding paragraph, these leading tabs are removed by this
|
| +/// request.
|
| +/// This may change the indices of parts of the text.
|
| +///
|
| +/// If the paragraph immediately before paragraphs being updated is in a list
|
| +/// with a matching preset, the paragraphs being updated are added to that
|
| +/// preceding list.
|
| class CreateParagraphBulletsRequest {
|
| - /**
|
| - * The kinds of bullet glyphs to be used. Defaults to the
|
| - * `BULLET_DISC_CIRCLE_SQUARE` preset.
|
| - * Possible string values are:
|
| - * - "BULLET_DISC_CIRCLE_SQUARE" : A bulleted list with a `DISC`, `CIRCLE` and
|
| - * `SQUARE` bullet glyph for the
|
| - * first 3 list nesting levels.
|
| - * - "BULLET_DIAMONDX_ARROW3D_SQUARE" : A bulleted list with a `DIAMONDX`,
|
| - * `ARROW3D` and `SQUARE` bullet glyph for
|
| - * the first 3 list nesting levels.
|
| - * - "BULLET_CHECKBOX" : A bulleted list with `CHECKBOX` bullet glyphs for all
|
| - * list nesting levels.
|
| - * - "BULLET_ARROW_DIAMOND_DISC" : A bulleted list with a `ARROW`, `DIAMOND`
|
| - * and `DISC` bullet glyph for
|
| - * the first 3 list nesting levels.
|
| - * - "BULLET_STAR_CIRCLE_SQUARE" : A bulleted list with a `STAR`, `CIRCLE` and
|
| - * `SQUARE` bullet glyph for
|
| - * the first 3 list nesting levels.
|
| - * - "BULLET_ARROW3D_CIRCLE_SQUARE" : A bulleted list with a `ARROW3D`,
|
| - * `CIRCLE` and `SQUARE` bullet glyph for
|
| - * the first 3 list nesting levels.
|
| - * - "BULLET_LEFTTRIANGLE_DIAMOND_DISC" : A bulleted list with a
|
| - * `LEFTTRIANGLE`, `DIAMOND` and `DISC` bullet glyph
|
| - * for the first 3 list nesting levels.
|
| - * - "BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE" : A bulleted list with a
|
| - * `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` bullet
|
| - * glyph for the first 3 list nesting levels.
|
| - * - "BULLET_DIAMOND_CIRCLE_SQUARE" : A bulleted list with a `DIAMOND`,
|
| - * `CIRCLE` and `SQUARE` bullet glyph
|
| - * for the first 3 list nesting levels.
|
| - * - "NUMBERED_DIGIT_ALPHA_ROMAN" : A numbered list with `DIGIT`, `ALPHA` and
|
| - * `ROMAN` numeric glyphs for
|
| - * the first 3 list nesting levels, followed by periods.
|
| - * - "NUMBERED_DIGIT_ALPHA_ROMAN_PARENS" : A numbered list with `DIGIT`,
|
| - * `ALPHA` and `ROMAN` numeric glyphs for
|
| - * the first 3 list nesting levels, followed by parenthesis.
|
| - * - "NUMBERED_DIGIT_NESTED" : A numbered list with `DIGIT` numeric glyphs
|
| - * separated by periods, where
|
| - * each nesting level uses the previous nesting level's glyph as a prefix.
|
| - * For example: '1.', '1.1.', '2.', '2.2.'.
|
| - * - "NUMBERED_UPPERALPHA_ALPHA_ROMAN" : A numbered list with `UPPERALPHA`,
|
| - * `ALPHA` and `ROMAN` numeric glyphs for
|
| - * the first 3 list nesting levels, followed by periods.
|
| - * - "NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT" : A numbered list with
|
| - * `UPPERROMAN`, `UPPERALPHA` and `DIGIT` numeric glyphs
|
| - * for the first 3 list nesting levels, followed by periods.
|
| - * - "NUMBERED_ZERODIGIT_ALPHA_ROMAN" : A numbered list with `ZERODIGIT`,
|
| - * `ALPHA` and `ROMAN` numeric glyphs for
|
| - * the first 3 list nesting levels, followed by periods.
|
| - */
|
| + /// The kinds of bullet glyphs to be used. Defaults to the
|
| + /// `BULLET_DISC_CIRCLE_SQUARE` preset.
|
| + /// Possible string values are:
|
| + /// - "BULLET_DISC_CIRCLE_SQUARE" : A bulleted list with a `DISC`, `CIRCLE`
|
| + /// and `SQUARE` bullet glyph for the
|
| + /// first 3 list nesting levels.
|
| + /// - "BULLET_DIAMONDX_ARROW3D_SQUARE" : A bulleted list with a `DIAMONDX`,
|
| + /// `ARROW3D` and `SQUARE` bullet glyph for
|
| + /// the first 3 list nesting levels.
|
| + /// - "BULLET_CHECKBOX" : A bulleted list with `CHECKBOX` bullet glyphs for
|
| + /// all list nesting levels.
|
| + /// - "BULLET_ARROW_DIAMOND_DISC" : A bulleted list with a `ARROW`, `DIAMOND`
|
| + /// and `DISC` bullet glyph for
|
| + /// the first 3 list nesting levels.
|
| + /// - "BULLET_STAR_CIRCLE_SQUARE" : A bulleted list with a `STAR`, `CIRCLE`
|
| + /// and `SQUARE` bullet glyph for
|
| + /// the first 3 list nesting levels.
|
| + /// - "BULLET_ARROW3D_CIRCLE_SQUARE" : A bulleted list with a `ARROW3D`,
|
| + /// `CIRCLE` and `SQUARE` bullet glyph for
|
| + /// the first 3 list nesting levels.
|
| + /// - "BULLET_LEFTTRIANGLE_DIAMOND_DISC" : A bulleted list with a
|
| + /// `LEFTTRIANGLE`, `DIAMOND` and `DISC` bullet glyph
|
| + /// for the first 3 list nesting levels.
|
| + /// - "BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE" : A bulleted list with a
|
| + /// `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` bullet
|
| + /// glyph for the first 3 list nesting levels.
|
| + /// - "BULLET_DIAMOND_CIRCLE_SQUARE" : A bulleted list with a `DIAMOND`,
|
| + /// `CIRCLE` and `SQUARE` bullet glyph
|
| + /// for the first 3 list nesting levels.
|
| + /// - "NUMBERED_DIGIT_ALPHA_ROMAN" : A numbered list with `DIGIT`, `ALPHA`
|
| + /// and `ROMAN` numeric glyphs for
|
| + /// the first 3 list nesting levels, followed by periods.
|
| + /// - "NUMBERED_DIGIT_ALPHA_ROMAN_PARENS" : A numbered list with `DIGIT`,
|
| + /// `ALPHA` and `ROMAN` numeric glyphs for
|
| + /// the first 3 list nesting levels, followed by parenthesis.
|
| + /// - "NUMBERED_DIGIT_NESTED" : A numbered list with `DIGIT` numeric glyphs
|
| + /// separated by periods, where
|
| + /// each nesting level uses the previous nesting level's glyph as a prefix.
|
| + /// For example: '1.', '1.1.', '2.', '2.2.'.
|
| + /// - "NUMBERED_UPPERALPHA_ALPHA_ROMAN" : A numbered list with `UPPERALPHA`,
|
| + /// `ALPHA` and `ROMAN` numeric glyphs for
|
| + /// the first 3 list nesting levels, followed by periods.
|
| + /// - "NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT" : A numbered list with
|
| + /// `UPPERROMAN`, `UPPERALPHA` and `DIGIT` numeric glyphs
|
| + /// for the first 3 list nesting levels, followed by periods.
|
| + /// - "NUMBERED_ZERODIGIT_ALPHA_ROMAN" : A numbered list with `ZERODIGIT`,
|
| + /// `ALPHA` and `ROMAN` numeric glyphs for
|
| + /// the first 3 list nesting levels, followed by periods.
|
| core.String bulletPreset;
|
| - /**
|
| - * The optional table cell location if the text to be modified is in a table
|
| - * cell. If present, the object_id must refer to a table.
|
| - */
|
| +
|
| + /// The optional table cell location if the text to be modified is in a table
|
| + /// cell. If present, the object_id must refer to a table.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * The object ID of the shape or table containing the text to add bullets to.
|
| - */
|
| +
|
| + /// The object ID of the shape or table containing the text to add bullets
|
| + /// to.
|
| core.String objectId;
|
| - /**
|
| - * The range of text to apply the bullet presets to, based on TextElement
|
| - * indexes.
|
| - */
|
| +
|
| + /// The range of text to apply the bullet presets to, based on TextElement
|
| + /// indexes.
|
| Range textRange;
|
|
|
| CreateParagraphBulletsRequest();
|
| @@ -893,7 +916,8 @@ class CreateParagraphBulletsRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (bulletPreset != null) {
|
| _json["bulletPreset"] = bulletPreset;
|
| }
|
| @@ -910,347 +934,353 @@ class CreateParagraphBulletsRequest {
|
| }
|
| }
|
|
|
| -/** Creates a new shape. */
|
| +/// Creates a new shape.
|
| class CreateShapeRequest {
|
| - /** The element properties for the shape. */
|
| + /// The element properties for the shape.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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 empty, a unique identifier will be generated.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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 empty, a unique identifier will be generated.
|
| core.String objectId;
|
| - /**
|
| - * The shape type.
|
| - * Possible string values are:
|
| - * - "TYPE_UNSPECIFIED" : The shape type that is not predefined.
|
| - * - "TEXT_BOX" : Text box shape.
|
| - * - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rect'.
|
| - * - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'roundRect'
|
| - * - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'
|
| - * - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'
|
| - * - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bentArrow'
|
| - * - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'bentUpArrow'
|
| - * - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'
|
| - * - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'blockArc'
|
| - * - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bracePair'
|
| - * - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bracketPair'
|
| - * - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'
|
| - * - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'
|
| - * - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'
|
| - * - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'
|
| - * - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'
|
| - * - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'
|
| - * - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedDownArrow'
|
| - * - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedLeftArrow'
|
| - * - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedRightArrow'
|
| - * - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedUpArrow'
|
| - * - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'
|
| - * - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'diagStripe'
|
| - * - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'
|
| - * - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'dodecagon'
|
| - * - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'
|
| - * - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'doubleWave'
|
| - * - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'downArrow'
|
| - * - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'downArrowCallout'
|
| - * - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'foldedCorner'
|
| - * - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'
|
| - * - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'halfFrame'
|
| - * - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'
|
| - * - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'heptagon'
|
| - * - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'
|
| - * - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'homePlate'
|
| - * - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'horizontalScroll'
|
| - * - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'irregularSeal1'
|
| - * - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'irregularSeal2'
|
| - * - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftArrow'
|
| - * - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'leftArrowCallout'
|
| - * - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftBrace'
|
| - * - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftBracket'
|
| - * - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'leftRightArrow'
|
| - * - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'leftRightArrowCallout'
|
| - * - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'leftRightUpArrow'
|
| - * - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'leftUpArrow'
|
| - * - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'lightningBolt'
|
| - * - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathDivide'
|
| - * - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathEqual'
|
| - * - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathMinus'
|
| - * - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'mathMultiply'
|
| - * - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'mathNotEqual'
|
| - * - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathPlus'
|
| - * - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'
|
| - * - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'noSmoking'
|
| - * - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'notchedRightArrow'
|
| - * - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'
|
| - * - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'parallelogram'
|
| - * - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'pentagon'
|
| - * - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'
|
| - * - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'
|
| - * - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'
|
| - * - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'quadArrow'
|
| - * - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'quadArrowCallout'
|
| - * - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'
|
| - * - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'ribbon2'
|
| - * - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rightArrow'
|
| - * - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'rightArrowCallout'
|
| - * - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rightBrace'
|
| - * - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'rightBracket'
|
| - * - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'round1Rect'
|
| - * - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'round2DiagRect'
|
| - * - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'round2SameRect'
|
| - * - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'rtTriangle'
|
| - * - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'smileyFace'
|
| - * - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'snip1Rect'
|
| - * - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snip2DiagRect'
|
| - * - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snip2SameRect'
|
| - * - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snipRoundRect'
|
| - * - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star10'
|
| - * - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'star12'
|
| - * - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'star16'
|
| - * - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'star24'
|
| - * - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'star32'
|
| - * - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star4'
|
| - * - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star5'
|
| - * - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star6'
|
| - * - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star7'
|
| - * - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star8'
|
| - * - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'stripedRightArrow'
|
| - * - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'
|
| - * - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'trapezoid'
|
| - * - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'triangle'
|
| - * - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'upArrow'
|
| - * - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'upArrowCallout'
|
| - * - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'upDownArrow'
|
| - * - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'uturnArrow'
|
| - * - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'verticalScroll'
|
| - * - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'
|
| - * - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'wedgeEllipseCallout'
|
| - * - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'wedgeRectCallout'
|
| - * - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'wedgeRoundRectCallout'
|
| - * - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartAlternateProcess'
|
| - * - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartCollate'
|
| - * - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartConnector'
|
| - * - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDecision'
|
| - * - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'flowChartDelay'
|
| - * - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDisplay'
|
| - * - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDocument'
|
| - * - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartExtract'
|
| - * - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartInputOutput'
|
| - * - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartInternalStorage'
|
| - * - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticDisk'
|
| - * - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticDrum'
|
| - * - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticTape'
|
| - * - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartManualInput'
|
| - * - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartManualOperation'
|
| - * - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'flowChartMerge'
|
| - * - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMultidocument'
|
| - * - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartOfflineStorage'
|
| - * - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartOffpageConnector'
|
| - * - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartOnlineStorage'
|
| - * - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartOr'
|
| - * - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartPredefinedProcess'
|
| - * - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPreparation'
|
| - * - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartProcess'
|
| - * - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPunchedCard'
|
| - * - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPunchedTape'
|
| - * - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartSort'
|
| - * - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartSummingJunction'
|
| - * - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartTerminator'
|
| - * - "ARROW_EAST" : East arrow shape.
|
| - * - "ARROW_NORTH_EAST" : Northeast arrow shape.
|
| - * - "ARROW_NORTH" : North arrow shape.
|
| - * - "SPEECH" : Speech shape.
|
| - * - "STARBURST" : Star burst shape.
|
| - * - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'teardrop'
|
| - * - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'ellipseRibbon'
|
| - * - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'ellipseRibbon2'
|
| - * - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'cloudCallout'
|
| - * - "CUSTOM" : Custom shape.
|
| - */
|
| +
|
| + /// The shape type.
|
| + /// Possible string values are:
|
| + /// - "TYPE_UNSPECIFIED" : The shape type that is not predefined.
|
| + /// - "TEXT_BOX" : Text box shape.
|
| + /// - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rect'.
|
| + /// - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'roundRect'
|
| + /// - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'ellipse'
|
| + /// - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'
|
| + /// - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'bentArrow'
|
| + /// - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'bentUpArrow'
|
| + /// - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'
|
| + /// - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'blockArc'
|
| + /// - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'bracePair'
|
| + /// - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'bracketPair'
|
| + /// - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'
|
| + /// - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'chevron'
|
| + /// - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'
|
| + /// - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'
|
| + /// - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'
|
| + /// - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'
|
| + /// - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedDownArrow'
|
| + /// - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedLeftArrow'
|
| + /// - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'curvedRightArrow'
|
| + /// - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedUpArrow'
|
| + /// - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'decagon'
|
| + /// - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'diagStripe'
|
| + /// - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'diamond'
|
| + /// - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'dodecagon'
|
| + /// - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'
|
| + /// - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'doubleWave'
|
| + /// - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'downArrow'
|
| + /// - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'downArrowCallout'
|
| + /// - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'foldedCorner'
|
| + /// - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'
|
| + /// - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'halfFrame'
|
| + /// - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'
|
| + /// - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'heptagon'
|
| + /// - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'hexagon'
|
| + /// - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'homePlate'
|
| + /// - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'horizontalScroll'
|
| + /// - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'irregularSeal1'
|
| + /// - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'irregularSeal2'
|
| + /// - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftArrow'
|
| + /// - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'leftArrowCallout'
|
| + /// - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftBrace'
|
| + /// - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'leftBracket'
|
| + /// - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'leftRightArrow'
|
| + /// - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftRightArrowCallout'
|
| + /// - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'leftRightUpArrow'
|
| + /// - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'leftUpArrow'
|
| + /// - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'lightningBolt'
|
| + /// - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathDivide'
|
| + /// - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathEqual'
|
| + /// - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathMinus'
|
| + /// - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'mathMultiply'
|
| + /// - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'mathNotEqual'
|
| + /// - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathPlus'
|
| + /// - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'
|
| + /// - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'noSmoking'
|
| + /// - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'notchedRightArrow'
|
| + /// - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'octagon'
|
| + /// - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'parallelogram'
|
| + /// - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'pentagon'
|
| + /// - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'
|
| + /// - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'
|
| + /// - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'
|
| + /// - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'quadArrow'
|
| + /// - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'quadArrowCallout'
|
| + /// - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'
|
| + /// - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'ribbon2'
|
| + /// - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rightArrow'
|
| + /// - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'rightArrowCallout'
|
| + /// - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rightBrace'
|
| + /// - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'rightBracket'
|
| + /// - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'round1Rect'
|
| + /// - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle
|
| + /// shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'round2DiagRect'
|
| + /// - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'round2SameRect'
|
| + /// - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'rtTriangle'
|
| + /// - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'smileyFace'
|
| + /// - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'snip1Rect'
|
| + /// - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snip2DiagRect'
|
| + /// - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snip2SameRect'
|
| + /// - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snipRoundRect'
|
| + /// - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star10'
|
| + /// - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star12'
|
| + /// - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star16'
|
| + /// - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'star24'
|
| + /// - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'star32'
|
| + /// - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star4'
|
| + /// - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star5'
|
| + /// - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'star6'
|
| + /// - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star7'
|
| + /// - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star8'
|
| + /// - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'stripedRightArrow'
|
| + /// - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'
|
| + /// - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'trapezoid'
|
| + /// - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'triangle'
|
| + /// - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'upArrow'
|
| + /// - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'upArrowCallout'
|
| + /// - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'upDownArrow'
|
| + /// - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'uturnArrow'
|
| + /// - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'verticalScroll'
|
| + /// - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'
|
| + /// - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'wedgeEllipseCallout'
|
| + /// - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds
|
| + /// to ECMA-376 ST_ShapeType
|
| + /// 'wedgeRectCallout'
|
| + /// - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'wedgeRoundRectCallout'
|
| + /// - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartAlternateProcess'
|
| + /// - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartCollate'
|
| + /// - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartConnector'
|
| + /// - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDecision'
|
| + /// - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartDelay'
|
| + /// - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDisplay'
|
| + /// - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDocument'
|
| + /// - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartExtract'
|
| + /// - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartInputOutput'
|
| + /// - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartInternalStorage'
|
| + /// - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticDisk'
|
| + /// - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticDrum'
|
| + /// - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticTape'
|
| + /// - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartManualInput'
|
| + /// - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartManualOperation'
|
| + /// - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartMerge'
|
| + /// - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMultidocument'
|
| + /// - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds
|
| + /// to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOfflineStorage'
|
| + /// - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOffpageConnector'
|
| + /// - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartOnlineStorage'
|
| + /// - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOr'
|
| + /// - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartPredefinedProcess'
|
| + /// - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPreparation'
|
| + /// - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartProcess'
|
| + /// - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPunchedCard'
|
| + /// - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPunchedTape'
|
| + /// - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartSort'
|
| + /// - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartSummingJunction'
|
| + /// - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartTerminator'
|
| + /// - "ARROW_EAST" : East arrow shape.
|
| + /// - "ARROW_NORTH_EAST" : Northeast arrow shape.
|
| + /// - "ARROW_NORTH" : North arrow shape.
|
| + /// - "SPEECH" : Speech shape.
|
| + /// - "STARBURST" : Star burst shape.
|
| + /// - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'teardrop'
|
| + /// - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'ellipseRibbon'
|
| + /// - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'ellipseRibbon2'
|
| + /// - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'cloudCallout'
|
| + /// - "CUSTOM" : Custom shape.
|
| core.String shapeType;
|
|
|
| CreateShapeRequest();
|
|
|
| CreateShapeRequest.fromJson(core.Map _json) {
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("objectId")) {
|
| objectId = _json["objectId"];
|
| @@ -1261,7 +1291,8 @@ class CreateShapeRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (elementProperties != null) {
|
| _json["elementProperties"] = (elementProperties).toJson();
|
| }
|
| @@ -1275,9 +1306,9 @@ class CreateShapeRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating a shape. */
|
| +/// The result of creating a shape.
|
| class CreateShapeResponse {
|
| - /** The object ID of the created shape. */
|
| + /// The object ID of the created shape.
|
| core.String objectId;
|
|
|
| CreateShapeResponse();
|
| @@ -1289,7 +1320,8 @@ class CreateShapeResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1297,47 +1329,45 @@ class CreateShapeResponse {
|
| }
|
| }
|
|
|
| -/**
|
| - * Creates an embedded Google Sheets chart.
|
| - *
|
| - * NOTE: Chart creation requires at least one of the spreadsheets.readonly,
|
| - * spreadsheets, drive.readonly, or drive OAuth scopes.
|
| - */
|
| +/// Creates an embedded Google Sheets chart.
|
| +///
|
| +/// NOTE: Chart creation requires at least one of the spreadsheets.readonly,
|
| +/// spreadsheets, drive.readonly, or drive OAuth scopes.
|
| class CreateSheetsChartRequest {
|
| - /** The ID of the specific chart in the Google Sheets spreadsheet. */
|
| + /// The ID of the specific chart in the Google Sheets spreadsheet.
|
| core.int chartId;
|
| - /**
|
| - * The element properties for the chart.
|
| - *
|
| - * When the aspect ratio of the provided size does not match the chart aspect
|
| - * ratio, the chart is scaled and centered with respect to the size in order
|
| - * to maintain aspect ratio. The provided transform is applied after this
|
| - * operation.
|
| - */
|
| +
|
| + /// The element properties for the chart.
|
| + ///
|
| + /// When the aspect ratio of the provided size does not match the chart
|
| + /// aspect
|
| + /// ratio, the chart is scaled and centered with respect to the size in order
|
| + /// to maintain aspect ratio. The provided transform is applied after this
|
| + /// operation.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * 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.
|
| - * Possible string values are:
|
| - * - "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.
|
| - */
|
| +
|
| + /// 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.
|
| + /// Possible string values are:
|
| + /// - "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.
|
| core.String linkingMode;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * If specified, the ID must be unique among all pages and page elements in
|
| - * the presentation. The ID should start with a word character [a-zA-Z0-9_]
|
| - * and then followed by any number of the following characters [a-zA-Z0-9_-:].
|
| - * The length of the ID should not be less than 5 or greater than 50.
|
| - * If empty, a unique identifier will be generated.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// If specified, the ID must be unique among all pages and page elements in
|
| + /// the presentation. The ID should start with a word character [a-zA-Z0-9_]
|
| + /// and then followed by any number of the following characters
|
| + /// [a-zA-Z0-9_-:].
|
| + /// The length of the ID should not be less than 5 or greater than 50.
|
| + /// If empty, a unique identifier will be generated.
|
| core.String objectId;
|
| - /** The ID of the Google Sheets spreadsheet that contains the chart. */
|
| +
|
| + /// The ID of the Google Sheets spreadsheet that contains the chart.
|
| core.String spreadsheetId;
|
|
|
| CreateSheetsChartRequest();
|
| @@ -1347,7 +1377,8 @@ class CreateSheetsChartRequest {
|
| chartId = _json["chartId"];
|
| }
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("linkingMode")) {
|
| linkingMode = _json["linkingMode"];
|
| @@ -1361,7 +1392,8 @@ class CreateSheetsChartRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (chartId != null) {
|
| _json["chartId"] = chartId;
|
| }
|
| @@ -1381,9 +1413,9 @@ class CreateSheetsChartRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating an embedded Google Sheets chart. */
|
| +/// The result of creating an embedded Google Sheets chart.
|
| class CreateSheetsChartResponse {
|
| - /** The object ID of the created chart. */
|
| + /// The object ID of the created chart.
|
| core.String objectId;
|
|
|
| CreateSheetsChartResponse();
|
| @@ -1395,7 +1427,8 @@ class CreateSheetsChartResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1403,48 +1436,45 @@ class CreateSheetsChartResponse {
|
| }
|
| }
|
|
|
| -/** Creates a new slide. */
|
| +/// Creates a new slide.
|
| class CreateSlideRequest {
|
| - /**
|
| - * The optional zero-based index indicating where to insert the slides.
|
| - *
|
| - * If you don't specify an index, the new slide is created at the end.
|
| - */
|
| + /// The optional zero-based index indicating where to insert the slides.
|
| + ///
|
| + /// If you don't specify an index, the new slide is created at the end.
|
| core.int insertionIndex;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
| - /**
|
| - * An optional list of object ID mappings from the placeholder(s) on the
|
| - * layout to the placeholder(s)
|
| - * that will be created on the new slide from that specified layout. Can only
|
| - * be used when `slide_layout_reference` is specified.
|
| - */
|
| +
|
| + /// An optional list of object ID mappings from the placeholder(s) on the
|
| + /// layout to the placeholder(s)
|
| + /// that will be created on the new slide from that specified layout. Can
|
| + /// only
|
| + /// be used when `slide_layout_reference` is specified.
|
| core.List<LayoutPlaceholderIdMapping> placeholderIdMappings;
|
| - /**
|
| - * Layout reference of the slide to be inserted, based on the *current
|
| - * master*, which is one of the following:
|
| - *
|
| - * - The master of the previous slide index.
|
| - * - The master of the first slide, if the insertion_index is zero.
|
| - * - The first master in the presentation, if there are no slides.
|
| - *
|
| - * If the LayoutReference is not found in the current master, a 400 bad
|
| - * request error is returned.
|
| - *
|
| - * If you don't specify a layout reference, then the new slide will use the
|
| - * predefined layout `BLANK`.
|
| - */
|
| +
|
| + /// Layout reference of the slide to be inserted, based on the *current
|
| + /// master*, which is one of the following:
|
| + ///
|
| + /// - The master of the previous slide index.
|
| + /// - The master of the first slide, if the insertion_index is zero.
|
| + /// - The first master in the presentation, if there are no slides.
|
| + ///
|
| + /// If the LayoutReference is not found in the current master, a 400 bad
|
| + /// request error is returned.
|
| + ///
|
| + /// If you don't specify a layout reference, then the new slide will use the
|
| + /// predefined layout `BLANK`.
|
| LayoutReference slideLayoutReference;
|
|
|
| CreateSlideRequest();
|
| @@ -1457,15 +1487,19 @@ class CreateSlideRequest {
|
| objectId = _json["objectId"];
|
| }
|
| if (_json.containsKey("placeholderIdMappings")) {
|
| - placeholderIdMappings = _json["placeholderIdMappings"].map((value) => new LayoutPlaceholderIdMapping.fromJson(value)).toList();
|
| + placeholderIdMappings = _json["placeholderIdMappings"]
|
| + .map((value) => new LayoutPlaceholderIdMapping.fromJson(value))
|
| + .toList();
|
| }
|
| if (_json.containsKey("slideLayoutReference")) {
|
| - slideLayoutReference = new LayoutReference.fromJson(_json["slideLayoutReference"]);
|
| + slideLayoutReference =
|
| + new LayoutReference.fromJson(_json["slideLayoutReference"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (insertionIndex != null) {
|
| _json["insertionIndex"] = insertionIndex;
|
| }
|
| @@ -1473,7 +1507,8 @@ class CreateSlideRequest {
|
| _json["objectId"] = objectId;
|
| }
|
| if (placeholderIdMappings != null) {
|
| - _json["placeholderIdMappings"] = placeholderIdMappings.map((value) => (value).toJson()).toList();
|
| + _json["placeholderIdMappings"] =
|
| + placeholderIdMappings.map((value) => (value).toJson()).toList();
|
| }
|
| if (slideLayoutReference != null) {
|
| _json["slideLayoutReference"] = (slideLayoutReference).toJson();
|
| @@ -1482,9 +1517,9 @@ class CreateSlideRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating a slide. */
|
| +/// The result of creating a slide.
|
| class CreateSlideResponse {
|
| - /** The object ID of the created slide. */
|
| + /// The object ID of the created slide.
|
| core.String objectId;
|
|
|
| CreateSlideResponse();
|
| @@ -1496,7 +1531,8 @@ class CreateSlideResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1504,34 +1540,35 @@ class CreateSlideResponse {
|
| }
|
| }
|
|
|
| -/** Creates a new table. */
|
| +/// Creates a new table.
|
| class CreateTableRequest {
|
| - /** Number of columns in the table. */
|
| + /// Number of columns in the table.
|
| core.int columns;
|
| - /**
|
| - * The element properties for the table.
|
| - *
|
| - * The table will be created at the provided size, subject to a minimum size.
|
| - * If no size is provided, the table will be automatically sized.
|
| - *
|
| - * Table transforms must have a scale of 1 and no shear components. If no
|
| - * transform is provided, the table will be centered on the page.
|
| - */
|
| +
|
| + /// The element properties for the table.
|
| + ///
|
| + /// The table will be created at the provided size, subject to a minimum
|
| + /// size.
|
| + /// If no size is provided, the table will be automatically sized.
|
| + ///
|
| + /// Table transforms must have a scale of 1 and no shear components. If no
|
| + /// transform is provided, the table will be centered on the page.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
| - /** Number of rows in the table. */
|
| +
|
| + /// Number of rows in the table.
|
| core.int rows;
|
|
|
| CreateTableRequest();
|
| @@ -1541,7 +1578,8 @@ class CreateTableRequest {
|
| columns = _json["columns"];
|
| }
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("objectId")) {
|
| objectId = _json["objectId"];
|
| @@ -1552,7 +1590,8 @@ class CreateTableRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columns != null) {
|
| _json["columns"] = columns;
|
| }
|
| @@ -1569,9 +1608,9 @@ class CreateTableRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating a table. */
|
| +/// The result of creating a table.
|
| class CreateTableResponse {
|
| - /** The object ID of the created table. */
|
| + /// The object ID of the created table.
|
| core.String objectId;
|
|
|
| CreateTableResponse();
|
| @@ -1583,7 +1622,8 @@ class CreateTableResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1591,43 +1631,42 @@ class CreateTableResponse {
|
| }
|
| }
|
|
|
| -/** Creates a video. */
|
| +/// Creates a video.
|
| class CreateVideoRequest {
|
| - /** The element properties for the video. */
|
| + /// The element properties for the video.
|
| PageElementProperties elementProperties;
|
| - /**
|
| - * The video source's unique identifier for this video.
|
| - *
|
| - * e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
|
| - * the ID is 7U3axjORYZ0.
|
| - */
|
| +
|
| + /// The video source's unique identifier for this video.
|
| + ///
|
| + /// e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
|
| + /// the ID is 7U3axjORYZ0.
|
| core.String id;
|
| - /**
|
| - * A user-supplied object ID.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
| - /**
|
| - * The video source.
|
| - * Possible string values are:
|
| - * - "SOURCE_UNSPECIFIED" : The video source is unspecified.
|
| - * - "YOUTUBE" : The video source is YouTube.
|
| - */
|
| +
|
| + /// The video source.
|
| + /// Possible string values are:
|
| + /// - "SOURCE_UNSPECIFIED" : The video source is unspecified.
|
| + /// - "YOUTUBE" : The video source is YouTube.
|
| core.String source;
|
|
|
| CreateVideoRequest();
|
|
|
| CreateVideoRequest.fromJson(core.Map _json) {
|
| if (_json.containsKey("elementProperties")) {
|
| - elementProperties = new PageElementProperties.fromJson(_json["elementProperties"]);
|
| + elementProperties =
|
| + new PageElementProperties.fromJson(_json["elementProperties"]);
|
| }
|
| if (_json.containsKey("id")) {
|
| id = _json["id"];
|
| @@ -1641,7 +1680,8 @@ class CreateVideoRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (elementProperties != null) {
|
| _json["elementProperties"] = (elementProperties).toJson();
|
| }
|
| @@ -1658,9 +1698,9 @@ class CreateVideoRequest {
|
| }
|
| }
|
|
|
| -/** The result of creating a video. */
|
| +/// The result of creating a video.
|
| class CreateVideoResponse {
|
| - /** The object ID of the created video. */
|
| + /// The object ID of the created video.
|
| core.String objectId;
|
|
|
| CreateVideoResponse();
|
| @@ -1672,7 +1712,8 @@ class CreateVideoResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1680,57 +1721,57 @@ class CreateVideoResponse {
|
| }
|
| }
|
|
|
| -/**
|
| - * The crop properties of an object enclosed in a container. For example, an
|
| - * Image.
|
| - *
|
| - * The crop properties is represented by the offsets of four edges which define
|
| - * a crop rectangle. The offsets are measured in percentage from the
|
| - * corresponding edges of the object's original bounding rectangle towards
|
| - * inside, relative to the object's original dimensions.
|
| - *
|
| - * - If the offset is in the interval (0, 1), the corresponding edge of crop
|
| - * rectangle is positioned inside of the object's original bounding rectangle.
|
| - * - If the offset is negative or greater than 1, the corresponding edge of crop
|
| - * rectangle is positioned outside of the object's original bounding rectangle.
|
| - * - If the left edge of the crop rectangle is on the right side of its right
|
| - * edge, the object will be flipped horizontally.
|
| - * - If the top edge of the crop rectangle is below its bottom edge, the object
|
| - * will be flipped vertically.
|
| - * - If all offsets and rotation angle is 0, the object is not cropped.
|
| - *
|
| - * After cropping, the content in the crop rectangle will be stretched to fit
|
| - * its container.
|
| - */
|
| +/// The crop properties of an object enclosed in a container. For example, an
|
| +/// Image.
|
| +///
|
| +/// The crop properties is represented by the offsets of four edges which
|
| +/// define
|
| +/// a crop rectangle. The offsets are measured in percentage from the
|
| +/// corresponding edges of the object's original bounding rectangle towards
|
| +/// inside, relative to the object's original dimensions.
|
| +///
|
| +/// - If the offset is in the interval (0, 1), the corresponding edge of crop
|
| +/// rectangle is positioned inside of the object's original bounding rectangle.
|
| +/// - If the offset is negative or greater than 1, the corresponding edge of
|
| +/// crop
|
| +/// rectangle is positioned outside of the object's original bounding
|
| +/// rectangle.
|
| +/// - If the left edge of the crop rectangle is on the right side of its right
|
| +/// edge, the object will be flipped horizontally.
|
| +/// - If the top edge of the crop rectangle is below its bottom edge, the
|
| +/// object
|
| +/// will be flipped vertically.
|
| +/// - If all offsets and rotation angle is 0, the object is not cropped.
|
| +///
|
| +/// After cropping, the content in the crop rectangle will be stretched to fit
|
| +/// its container.
|
| class CropProperties {
|
| - /**
|
| - * The rotation angle of the crop window around its center, in radians.
|
| - * Rotation angle is applied after the offset.
|
| - */
|
| + /// The rotation angle of the crop window around its center, in radians.
|
| + /// Rotation angle is applied after the offset.
|
| core.double angle;
|
| - /**
|
| - * The offset specifies the bottom edge of the crop rectangle that is located
|
| - * above the original bounding rectangle bottom edge, relative to the object's
|
| - * original height.
|
| - */
|
| +
|
| + /// The offset specifies the bottom edge of the crop rectangle that is
|
| + /// located
|
| + /// above the original bounding rectangle bottom edge, relative to the
|
| + /// object's
|
| + /// original height.
|
| core.double bottomOffset;
|
| - /**
|
| - * The offset specifies the left edge of the crop rectangle that is located to
|
| - * the right of the original bounding rectangle left edge, relative to the
|
| - * object's original width.
|
| - */
|
| +
|
| + /// The offset specifies the left edge of the crop rectangle that is located
|
| + /// to
|
| + /// the right of the original bounding rectangle left edge, relative to the
|
| + /// object's original width.
|
| core.double leftOffset;
|
| - /**
|
| - * The offset specifies the right edge of the crop rectangle that is located
|
| - * to the left of the original bounding rectangle right edge, relative to the
|
| - * object's original width.
|
| - */
|
| +
|
| + /// The offset specifies the right edge of the crop rectangle that is located
|
| + /// to the left of the original bounding rectangle right edge, relative to
|
| + /// the
|
| + /// object's original width.
|
| core.double rightOffset;
|
| - /**
|
| - * The offset specifies the top edge of the crop rectangle that is located
|
| - * below the original bounding rectangle top edge, relative to the object's
|
| - * original height.
|
| - */
|
| +
|
| + /// The offset specifies the top edge of the crop rectangle that is located
|
| + /// below the original bounding rectangle top edge, relative to the object's
|
| + /// original height.
|
| core.double topOffset;
|
|
|
| CropProperties();
|
| @@ -1754,7 +1795,8 @@ class CropProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (angle != null) {
|
| _json["angle"] = angle;
|
| }
|
| @@ -1774,21 +1816,17 @@ class CropProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * Deletes an object, either pages or
|
| - * page elements, from the
|
| - * presentation.
|
| - */
|
| +/// Deletes an object, either pages or
|
| +/// page elements, from the
|
| +/// presentation.
|
| class DeleteObjectRequest {
|
| - /**
|
| - * The object ID of the page or page element to delete.
|
| - *
|
| - * If after a delete operation a group contains
|
| - * only 1 or no page elements, the group is also deleted.
|
| - *
|
| - * If a placeholder is deleted on a layout, any empty inheriting shapes are
|
| - * also deleted.
|
| - */
|
| + /// The object ID of the page or page element to delete.
|
| + ///
|
| + /// If after a delete operation a group contains
|
| + /// only 1 or no page elements, the group is also deleted.
|
| + ///
|
| + /// If a placeholder is deleted on a layout, any empty inheriting shapes are
|
| + /// also deleted.
|
| core.String objectId;
|
|
|
| DeleteObjectRequest();
|
| @@ -1800,7 +1838,8 @@ class DeleteObjectRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -1808,27 +1847,21 @@ class DeleteObjectRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * 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.
|
| - */
|
| +/// 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.
|
| class DeleteParagraphBulletsRequest {
|
| - /**
|
| - * The optional table cell location if the text to be modified is in a table
|
| - * cell. If present, the object_id must refer to a table.
|
| - */
|
| + /// The optional table cell location if the text to be modified is in a table
|
| + /// cell. If present, the object_id must refer to a table.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * The object ID of the shape or table containing the text to delete bullets
|
| - * from.
|
| - */
|
| +
|
| + /// The object ID of the shape or table containing the text to delete bullets
|
| + /// from.
|
| core.String objectId;
|
| - /**
|
| - * The range of text to delete bullets from, based on TextElement indexes.
|
| - */
|
| +
|
| + /// The range of text to delete bullets from, based on TextElement indexes.
|
| Range textRange;
|
|
|
| DeleteParagraphBulletsRequest();
|
| @@ -1846,7 +1879,8 @@ class DeleteParagraphBulletsRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -1860,17 +1894,16 @@ class DeleteParagraphBulletsRequest {
|
| }
|
| }
|
|
|
| -/** Deletes a column from a table. */
|
| +/// Deletes a column from a table.
|
| class DeleteTableColumnRequest {
|
| - /**
|
| - * The reference table cell location from which a column will be deleted.
|
| - *
|
| - * The column this cell spans will be deleted. If this is a merged cell,
|
| - * multiple columns will be deleted. If no columns remain in the table after
|
| - * this deletion, the whole table is deleted.
|
| - */
|
| + /// The reference table cell location from which a column will be deleted.
|
| + ///
|
| + /// The column this cell spans will be deleted. If this is a merged cell,
|
| + /// multiple columns will be deleted. If no columns remain in the table after
|
| + /// this deletion, the whole table is deleted.
|
| TableCellLocation cellLocation;
|
| - /** The table to delete columns from. */
|
| +
|
| + /// The table to delete columns from.
|
| core.String tableObjectId;
|
|
|
| DeleteTableColumnRequest();
|
| @@ -1885,7 +1918,8 @@ class DeleteTableColumnRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -1896,17 +1930,17 @@ class DeleteTableColumnRequest {
|
| }
|
| }
|
|
|
| -/** Deletes a row from a table. */
|
| +/// Deletes a row from a table.
|
| class DeleteTableRowRequest {
|
| - /**
|
| - * The reference table cell location from which a row will be deleted.
|
| - *
|
| - * The row this cell spans will be deleted. If this is a merged cell, multiple
|
| - * rows will be deleted. If no rows remain in the table after this deletion,
|
| - * the whole table is deleted.
|
| - */
|
| + /// The reference table cell location from which a row will be deleted.
|
| + ///
|
| + /// The row this cell spans will be deleted. If this is a merged cell,
|
| + /// multiple
|
| + /// rows will be deleted. If no rows remain in the table after this deletion,
|
| + /// the whole table is deleted.
|
| TableCellLocation cellLocation;
|
| - /** The table to delete rows from. */
|
| +
|
| + /// The table to delete rows from.
|
| core.String tableObjectId;
|
|
|
| DeleteTableRowRequest();
|
| @@ -1921,7 +1955,8 @@ class DeleteTableRowRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -1932,33 +1967,34 @@ class DeleteTableRowRequest {
|
| }
|
| }
|
|
|
| -/** Deletes text from a shape or a table cell. */
|
| +/// Deletes text from a shape or a table cell.
|
| class DeleteTextRequest {
|
| - /**
|
| - * The optional table cell location if the text is to be deleted from a table
|
| - * cell. If present, the object_id must refer to a table.
|
| - */
|
| + /// The optional table cell location if the text is to be deleted from a
|
| + /// table
|
| + /// cell. If present, the object_id must refer to a table.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * The object ID of the shape or table from which the text will be deleted.
|
| - */
|
| +
|
| + /// The object ID of the shape or table from which the text will be deleted.
|
| core.String objectId;
|
| - /**
|
| - * The range of text to delete, based on TextElement indexes.
|
| - *
|
| - * There is always an implicit newline character at the end of a shape's or
|
| - * table cell's text that cannot be deleted. `Range.Type.ALL` will use the
|
| - * correct bounds, but care must be taken when specifying explicit bounds for
|
| - * range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text
|
| - * is "ABC", followed by an implicit newline, then the maximum value is 2 for
|
| - * `text_range.start_index` and 3 for `text_range.end_index`.
|
| - *
|
| - * Deleting text that crosses a paragraph boundary may result in changes
|
| - * to paragraph styles and lists as the two paragraphs are merged.
|
| - *
|
| - * Ranges that include only one code unit of a surrogate pair are expanded to
|
| - * include both code units.
|
| - */
|
| +
|
| + /// The range of text to delete, based on TextElement indexes.
|
| + ///
|
| + /// There is always an implicit newline character at the end of a shape's or
|
| + /// table cell's text that cannot be deleted. `Range.Type.ALL` will use the
|
| + /// correct bounds, but care must be taken when specifying explicit bounds
|
| + /// for
|
| + /// range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the
|
| + /// text
|
| + /// is "ABC", followed by an implicit newline, then the maximum value is 2
|
| + /// for
|
| + /// `text_range.start_index` and 3 for `text_range.end_index`.
|
| + ///
|
| + /// Deleting text that crosses a paragraph boundary may result in changes
|
| + /// to paragraph styles and lists as the two paragraphs are merged.
|
| + ///
|
| + /// Ranges that include only one code unit of a surrogate pair are expanded
|
| + /// to
|
| + /// include both code units.
|
| Range textRange;
|
|
|
| DeleteTextRequest();
|
| @@ -1976,7 +2012,8 @@ class DeleteTextRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -1990,19 +2027,18 @@ class DeleteTextRequest {
|
| }
|
| }
|
|
|
| -/** A magnitude in a single direction in the specified units. */
|
| +/// A magnitude in a single direction in the specified units.
|
| class Dimension {
|
| - /** The magnitude. */
|
| + /// The magnitude.
|
| core.double magnitude;
|
| - /**
|
| - * The units for magnitude.
|
| - * Possible string values are:
|
| - * - "UNIT_UNSPECIFIED" : The units are unknown.
|
| - * - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a
|
| - * centimeter
|
| - * and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.
|
| - * - "PT" : A point, 1/72 of an inch.
|
| - */
|
| +
|
| + /// The units for magnitude.
|
| + /// Possible string values are:
|
| + /// - "UNIT_UNSPECIFIED" : The units are unknown.
|
| + /// - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a
|
| + /// centimeter
|
| + /// and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.
|
| + /// - "PT" : A point, 1/72 of an inch.
|
| core.String unit;
|
|
|
| Dimension();
|
| @@ -2017,7 +2053,8 @@ class Dimension {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (magnitude != null) {
|
| _json["magnitude"] = magnitude;
|
| }
|
| @@ -2028,36 +2065,35 @@ class Dimension {
|
| }
|
| }
|
|
|
| -/**
|
| - * 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.
|
| - */
|
| +/// 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.
|
| class DuplicateObjectRequest {
|
| - /** The ID of the object to duplicate. */
|
| + /// The ID of the object to duplicate.
|
| core.String objectId;
|
| - /**
|
| - * 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
|
| - * `object_id` 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.
|
| - */
|
| +
|
| + /// 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
|
| + /// `object_id` 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.
|
| core.Map<core.String, core.String> objectIds;
|
|
|
| DuplicateObjectRequest();
|
| @@ -2072,7 +2108,8 @@ class DuplicateObjectRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -2083,9 +2120,9 @@ class DuplicateObjectRequest {
|
| }
|
| }
|
|
|
| -/** The response of duplicating an object. */
|
| +/// The response of duplicating an object.
|
| class DuplicateObjectResponse {
|
| - /** The ID of the new duplicate object. */
|
| + /// The ID of the new duplicate object.
|
| core.String objectId;
|
|
|
| DuplicateObjectResponse();
|
| @@ -2097,7 +2134,8 @@ class DuplicateObjectResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -2105,26 +2143,26 @@ class DuplicateObjectResponse {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing a
|
| - * joined collection of PageElements.
|
| - */
|
| +/// A PageElement kind representing a
|
| +/// joined collection of PageElements.
|
| class Group {
|
| - /**
|
| - * The collection of elements in the group. The minimum size of a group is 2.
|
| - */
|
| + /// The collection of elements in the group. The minimum size of a group is
|
| + /// 2.
|
| core.List<PageElement> children;
|
|
|
| Group();
|
|
|
| Group.fromJson(core.Map _json) {
|
| if (_json.containsKey("children")) {
|
| - children = _json["children"].map((value) => new PageElement.fromJson(value)).toList();
|
| + children = _json["children"]
|
| + .map((value) => new PageElement.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (children != null) {
|
| _json["children"] = children.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -2132,19 +2170,16 @@ class Group {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing an
|
| - * image.
|
| - */
|
| +/// A PageElement kind representing an
|
| +/// image.
|
| class Image {
|
| - /**
|
| - * An URL to an image with a default lifetime of 30 minutes.
|
| - * This URL is tagged with the account of the requester. Anyone with the URL
|
| - * effectively accesses the image as the original requester. Access to the
|
| - * image may be lost if the presentation's sharing settings change.
|
| - */
|
| + /// An URL to an image with a default lifetime of 30 minutes.
|
| + /// This URL is tagged with the account of the requester. Anyone with the URL
|
| + /// effectively accesses the image as the original requester. Access to the
|
| + /// image may be lost if the presentation's sharing settings change.
|
| core.String contentUrl;
|
| - /** The properties of the image. */
|
| +
|
| + /// The properties of the image.
|
| ImageProperties imageProperties;
|
|
|
| Image();
|
| @@ -2159,7 +2194,8 @@ class Image {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (contentUrl != null) {
|
| _json["contentUrl"] = contentUrl;
|
| }
|
| @@ -2170,42 +2206,38 @@ class Image {
|
| }
|
| }
|
|
|
| -/** The properties of the Image. */
|
| +/// The properties of the Image.
|
| class ImageProperties {
|
| - /**
|
| - * The brightness effect of the image. The value should be in the interval
|
| - * [-1.0, 1.0], where 0 means no effect. This property is read-only.
|
| - */
|
| + /// The brightness effect of the image. The value should be in the interval
|
| + /// [-1.0, 1.0], where 0 means no effect. This property is read-only.
|
| core.double brightness;
|
| - /**
|
| - * The contrast effect of the image. The value should be in the interval
|
| - * [-1.0, 1.0], where 0 means no effect. This property is read-only.
|
| - */
|
| +
|
| + /// The contrast effect of the image. The value should be in the interval
|
| + /// [-1.0, 1.0], where 0 means no effect. This property is read-only.
|
| core.double contrast;
|
| - /**
|
| - * The crop properties of the image. If not set, the image is not cropped.
|
| - * This property is read-only.
|
| - */
|
| +
|
| + /// The crop properties of the image. If not set, the image is not cropped.
|
| + /// This property is read-only.
|
| CropProperties cropProperties;
|
| - /** The hyperlink destination of the image. If unset, there is no link. */
|
| +
|
| + /// The hyperlink destination of the image. If unset, there is no link.
|
| Link link;
|
| - /** The outline of the image. If not set, the the image has no outline. */
|
| +
|
| + /// The outline of the image. If not set, the the image has no outline.
|
| Outline outline;
|
| - /**
|
| - * The recolor effect of the image. If not set, the image is not recolored.
|
| - * This property is read-only.
|
| - */
|
| +
|
| + /// The recolor effect of the image. If not set, the image is not recolored.
|
| + /// This property is read-only.
|
| Recolor recolor;
|
| - /**
|
| - * The shadow of the image. If not set, the image has no shadow. This property
|
| - * is read-only.
|
| - */
|
| +
|
| + /// The shadow of the image. If not set, the image has no shadow. This
|
| + /// property
|
| + /// is read-only.
|
| Shadow shadow;
|
| - /**
|
| - * The transparency effect of the image. The value should be in the interval
|
| - * [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
|
| - * This property is read-only.
|
| - */
|
| +
|
| + /// The transparency effect of the image. The value should be in the interval
|
| + /// [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
|
| + /// This property is read-only.
|
| core.double transparency;
|
|
|
| ImageProperties();
|
| @@ -2238,7 +2270,8 @@ class ImageProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (brightness != null) {
|
| _json["brightness"] = brightness;
|
| }
|
| @@ -2267,30 +2300,28 @@ class ImageProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * Inserts columns into a table.
|
| - *
|
| - * Other columns in the table will be resized to fit the new column.
|
| - */
|
| +/// Inserts columns into a table.
|
| +///
|
| +/// Other columns in the table will be resized to fit the new column.
|
| class InsertTableColumnsRequest {
|
| - /**
|
| - * The reference table cell location from which columns will be inserted.
|
| - *
|
| - * A new column will be inserted to the left (or right) of the column where
|
| - * the reference cell is. If the reference cell is a merged cell, a new
|
| - * column will be inserted to the left (or right) of the merged cell.
|
| - */
|
| + /// The reference table cell location from which columns will be inserted.
|
| + ///
|
| + /// A new column will be inserted to the left (or right) of the column where
|
| + /// the reference cell is. If the reference cell is a merged cell, a new
|
| + /// column will be inserted to the left (or right) of the merged cell.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * Whether to insert new columns to the right of the reference cell location.
|
| - *
|
| - * - `True`: insert to the right.
|
| - * - `False`: insert to the left.
|
| - */
|
| +
|
| + /// Whether to insert new columns to the right of the reference cell
|
| + /// location.
|
| + ///
|
| + /// - `True`: insert to the right.
|
| + /// - `False`: insert to the left.
|
| core.bool insertRight;
|
| - /** The number of columns to be inserted. Maximum 20 per request. */
|
| +
|
| + /// The number of columns to be inserted. Maximum 20 per request.
|
| core.int number;
|
| - /** The table to insert columns into. */
|
| +
|
| + /// The table to insert columns into.
|
| core.String tableObjectId;
|
|
|
| InsertTableColumnsRequest();
|
| @@ -2311,7 +2342,8 @@ class InsertTableColumnsRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -2328,26 +2360,25 @@ class InsertTableColumnsRequest {
|
| }
|
| }
|
|
|
| -/** Inserts rows into a table. */
|
| +/// Inserts rows into a table.
|
| class InsertTableRowsRequest {
|
| - /**
|
| - * The reference table cell location from which rows will be inserted.
|
| - *
|
| - * A new row will be inserted above (or below) the row where the reference
|
| - * cell is. If the reference cell is a merged cell, a new row will be
|
| - * inserted above (or below) the merged cell.
|
| - */
|
| + /// The reference table cell location from which rows will be inserted.
|
| + ///
|
| + /// A new row will be inserted above (or below) the row where the reference
|
| + /// cell is. If the reference cell is a merged cell, a new row will be
|
| + /// inserted above (or below) the merged cell.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * Whether to insert new rows below the reference cell location.
|
| - *
|
| - * - `True`: insert below the cell.
|
| - * - `False`: insert above the cell.
|
| - */
|
| +
|
| + /// Whether to insert new rows below the reference cell location.
|
| + ///
|
| + /// - `True`: insert below the cell.
|
| + /// - `False`: insert above the cell.
|
| core.bool insertBelow;
|
| - /** The number of rows to be inserted. Maximum 20 per request. */
|
| +
|
| + /// The number of rows to be inserted. Maximum 20 per request.
|
| core.int number;
|
| - /** The table to insert rows into. */
|
| +
|
| + /// The table to insert rows into.
|
| core.String tableObjectId;
|
|
|
| InsertTableRowsRequest();
|
| @@ -2368,7 +2399,8 @@ class InsertTableRowsRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -2385,42 +2417,43 @@ class InsertTableRowsRequest {
|
| }
|
| }
|
|
|
| -/** Inserts text into a shape or a table cell. */
|
| +/// Inserts text into a shape or a table cell.
|
| class InsertTextRequest {
|
| - /**
|
| - * The optional table cell location if the text is to be inserted into a table
|
| - * cell. If present, the object_id must refer to a table.
|
| - */
|
| + /// The optional table cell location if the text is to be inserted into a
|
| + /// table
|
| + /// cell. If present, the object_id must refer to a table.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * The index where the text will be inserted, in Unicode code units, based
|
| - * on TextElement indexes.
|
| - *
|
| - * The index is zero-based and is computed from the start of the string.
|
| - * The index may be adjusted to prevent insertions inside Unicode grapheme
|
| - * clusters. In these cases, the text will be inserted immediately after the
|
| - * grapheme cluster.
|
| - */
|
| +
|
| + /// The index where the text will be inserted, in Unicode code units, based
|
| + /// on TextElement indexes.
|
| + ///
|
| + /// The index is zero-based and is computed from the start of the string.
|
| + /// The index may be adjusted to prevent insertions inside Unicode grapheme
|
| + /// clusters. In these cases, the text will be inserted immediately after the
|
| + /// grapheme cluster.
|
| core.int insertionIndex;
|
| - /** The object ID of the shape or table where the text will be inserted. */
|
| +
|
| + /// The object ID of the shape or table where the text will be inserted.
|
| core.String objectId;
|
| - /**
|
| - * The text to be inserted.
|
| - *
|
| - * Inserting a newline character will implicitly create a new
|
| - * ParagraphMarker at that index.
|
| - * The paragraph style of the new paragraph will be copied from the paragraph
|
| - * at the current insertion index, including lists and bullets.
|
| - *
|
| - * Text styles for inserted text will be determined automatically, generally
|
| - * preserving the styling of neighboring text. In most cases, the text will be
|
| - * added to the TextRun that exists at the
|
| - * insertion index.
|
| - *
|
| - * Some control characters (U+0000-U+0008, U+000C-U+001F) and characters
|
| - * from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)
|
| - * will be stripped out of the inserted text.
|
| - */
|
| +
|
| + /// The text to be inserted.
|
| + ///
|
| + /// Inserting a newline character will implicitly create a new
|
| + /// ParagraphMarker at that index.
|
| + /// The paragraph style of the new paragraph will be copied from the
|
| + /// paragraph
|
| + /// at the current insertion index, including lists and bullets.
|
| + ///
|
| + /// Text styles for inserted text will be determined automatically, generally
|
| + /// preserving the styling of neighboring text. In most cases, the text will
|
| + /// be
|
| + /// added to the TextRun that exists at the
|
| + /// insertion index.
|
| + ///
|
| + /// Some control characters (U+0000-U+0008, U+000C-U+001F) and characters
|
| + /// from the Unicode Basic Multilingual Plane Private Use Area
|
| + /// (U+E000-U+F8FF)
|
| + /// will be stripped out of the inserted text.
|
| core.String text;
|
|
|
| InsertTextRequest();
|
| @@ -2441,7 +2474,8 @@ class InsertTextRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -2458,36 +2492,31 @@ class InsertTextRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * The user-specified ID mapping for a placeholder that will be created on a
|
| - * slide from a specified layout.
|
| - */
|
| +/// The user-specified ID mapping for a placeholder that will be created on a
|
| +/// slide from a specified layout.
|
| class LayoutPlaceholderIdMapping {
|
| - /**
|
| - * The placeholder on a layout that will be applied to a slide. Only type and
|
| - * index are needed. For example, a
|
| - * predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder
|
| - * with index 0 and a BODY placeholder with index 0.
|
| - */
|
| + /// The placeholder on a layout that will be applied to a slide. Only type
|
| + /// and index are needed. For example, a
|
| + /// predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder
|
| + /// with index 0 and a BODY placeholder with index 0.
|
| Placeholder layoutPlaceholder;
|
| - /**
|
| - * The object ID of the placeholder on a layout that will be applied
|
| - * to a slide.
|
| - */
|
| +
|
| + /// The object ID of the placeholder on a layout that will be applied
|
| + /// to a slide.
|
| core.String layoutPlaceholderObjectId;
|
| - /**
|
| - * A user-supplied object ID for the placeholder identified above that to be
|
| - * created onto a slide.
|
| - *
|
| - * 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.
|
| - */
|
| +
|
| + /// A user-supplied object ID for the placeholder identified above that to be
|
| + /// created onto a slide.
|
| + ///
|
| + /// 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.
|
| core.String objectId;
|
|
|
| LayoutPlaceholderIdMapping();
|
| @@ -2505,7 +2534,8 @@ class LayoutPlaceholderIdMapping {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (layoutPlaceholder != null) {
|
| _json["layoutPlaceholder"] = (layoutPlaceholder).toJson();
|
| }
|
| @@ -2519,16 +2549,16 @@ class LayoutPlaceholderIdMapping {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of Page are only
|
| - * relevant for pages with page_type LAYOUT.
|
| - */
|
| +/// The properties of Page are only
|
| +/// relevant for pages with page_type LAYOUT.
|
| class LayoutProperties {
|
| - /** The human-readable name of the layout. */
|
| + /// The human-readable name of the layout.
|
| core.String displayName;
|
| - /** The object ID of the master that this layout is based on. */
|
| +
|
| + /// The object ID of the master that this layout is based on.
|
| core.String masterObjectId;
|
| - /** The name of the layout. */
|
| +
|
| + /// The name of the layout.
|
| core.String name;
|
|
|
| LayoutProperties();
|
| @@ -2546,7 +2576,8 @@ class LayoutProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (displayName != null) {
|
| _json["displayName"] = displayName;
|
| }
|
| @@ -2560,33 +2591,30 @@ class LayoutProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * Slide layout reference. This may reference either:
|
| - *
|
| - * - A predefined layout
|
| - * - One of the layouts in the presentation.
|
| - */
|
| +/// Slide layout reference. This may reference either:
|
| +///
|
| +/// - A predefined layout
|
| +/// - One of the layouts in the presentation.
|
| class LayoutReference {
|
| - /** Layout ID: the object ID of one of the layouts in the presentation. */
|
| + /// Layout ID: the object ID of one of the layouts in the presentation.
|
| core.String layoutId;
|
| - /**
|
| - * Predefined layout.
|
| - * Possible string values are:
|
| - * - "PREDEFINED_LAYOUT_UNSPECIFIED" : Unspecified layout.
|
| - * - "BLANK" : Blank layout, with no placeholders.
|
| - * - "CAPTION_ONLY" : Layout with a caption at the bottom.
|
| - * - "TITLE" : Layout with a title and a subtitle.
|
| - * - "TITLE_AND_BODY" : Layout with a title and body.
|
| - * - "TITLE_AND_TWO_COLUMNS" : Layout with a title and two columns.
|
| - * - "TITLE_ONLY" : Layout with only a title.
|
| - * - "SECTION_HEADER" : Layout with a section title.
|
| - * - "SECTION_TITLE_AND_DESCRIPTION" : Layout with a title and subtitle on one
|
| - * side and description on the other.
|
| - * - "ONE_COLUMN_TEXT" : Layout with one title and one body, arranged in a
|
| - * single column.
|
| - * - "MAIN_POINT" : Layout with a main point.
|
| - * - "BIG_NUMBER" : Layout with a big number heading.
|
| - */
|
| +
|
| + /// Predefined layout.
|
| + /// Possible string values are:
|
| + /// - "PREDEFINED_LAYOUT_UNSPECIFIED" : Unspecified layout.
|
| + /// - "BLANK" : Blank layout, with no placeholders.
|
| + /// - "CAPTION_ONLY" : Layout with a caption at the bottom.
|
| + /// - "TITLE" : Layout with a title and a subtitle.
|
| + /// - "TITLE_AND_BODY" : Layout with a title and body.
|
| + /// - "TITLE_AND_TWO_COLUMNS" : Layout with a title and two columns.
|
| + /// - "TITLE_ONLY" : Layout with only a title.
|
| + /// - "SECTION_HEADER" : Layout with a section title.
|
| + /// - "SECTION_TITLE_AND_DESCRIPTION" : Layout with a title and subtitle on
|
| + /// one side and description on the other.
|
| + /// - "ONE_COLUMN_TEXT" : Layout with one title and one body, arranged in a
|
| + /// single column.
|
| + /// - "MAIN_POINT" : Layout with a main point.
|
| + /// - "BIG_NUMBER" : Layout with a big number heading.
|
| core.String predefinedLayout;
|
|
|
| LayoutReference();
|
| @@ -2601,7 +2629,8 @@ class LayoutReference {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (layoutId != null) {
|
| _json["layoutId"] = layoutId;
|
| }
|
| @@ -2612,45 +2641,42 @@ class LayoutReference {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing a
|
| - * line, curved connector, or bent connector.
|
| - */
|
| +/// A PageElement kind representing a
|
| +/// line, curved connector, or bent connector.
|
| class Line {
|
| - /** The properties of the line. */
|
| + /// The properties of the line.
|
| LineProperties lineProperties;
|
| - /**
|
| - * The type of the line.
|
| - * Possible string values are:
|
| - * - "TYPE_UNSPECIFIED" : An unspecified line type.
|
| - * - "STRAIGHT_CONNECTOR_1" : Straight connector 1 form. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'straightConnector1'.
|
| - * - "BENT_CONNECTOR_2" : Bent connector 2 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'bentConnector2'.
|
| - * - "BENT_CONNECTOR_3" : Bent connector 3 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'bentConnector3'.
|
| - * - "BENT_CONNECTOR_4" : Bent connector 4 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'bentConnector4'.
|
| - * - "BENT_CONNECTOR_5" : Bent connector 5 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'bentConnector5'.
|
| - * - "CURVED_CONNECTOR_2" : Curved connector 2 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedConnector2'.
|
| - * - "CURVED_CONNECTOR_3" : Curved connector 3 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedConnector3'.
|
| - * - "CURVED_CONNECTOR_4" : Curved connector 4 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedConnector4'.
|
| - * - "CURVED_CONNECTOR_5" : Curved connector 5 form. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedConnector5'.
|
| - */
|
| +
|
| + /// The type of the line.
|
| + /// Possible string values are:
|
| + /// - "TYPE_UNSPECIFIED" : An unspecified line type.
|
| + /// - "STRAIGHT_CONNECTOR_1" : Straight connector 1 form. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'straightConnector1'.
|
| + /// - "BENT_CONNECTOR_2" : Bent connector 2 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'bentConnector2'.
|
| + /// - "BENT_CONNECTOR_3" : Bent connector 3 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'bentConnector3'.
|
| + /// - "BENT_CONNECTOR_4" : Bent connector 4 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'bentConnector4'.
|
| + /// - "BENT_CONNECTOR_5" : Bent connector 5 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'bentConnector5'.
|
| + /// - "CURVED_CONNECTOR_2" : Curved connector 2 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedConnector2'.
|
| + /// - "CURVED_CONNECTOR_3" : Curved connector 3 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedConnector3'.
|
| + /// - "CURVED_CONNECTOR_4" : Curved connector 4 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedConnector4'.
|
| + /// - "CURVED_CONNECTOR_5" : Curved connector 5 form. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedConnector5'.
|
| core.String lineType;
|
|
|
| Line();
|
| @@ -2665,7 +2691,8 @@ class Line {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (lineProperties != null) {
|
| _json["lineProperties"] = (lineProperties).toJson();
|
| }
|
| @@ -2676,9 +2703,9 @@ class Line {
|
| }
|
| }
|
|
|
| -/** The fill of the line. */
|
| +/// The fill of the line.
|
| class LineFill {
|
| - /** Solid color fill. */
|
| + /// Solid color fill.
|
| SolidFill solidFill;
|
|
|
| LineFill();
|
| @@ -2690,7 +2717,8 @@ class LineFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (solidFill != null) {
|
| _json["solidFill"] = (solidFill).toJson();
|
| }
|
| @@ -2698,85 +2726,80 @@ class LineFill {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of the Line.
|
| - *
|
| - * When unset, these fields default to values that match the appearance of
|
| - * new lines created in the Slides editor.
|
| - */
|
| +/// The properties of the Line.
|
| +///
|
| +/// When unset, these fields default to values that match the appearance of
|
| +/// new lines created in the Slides editor.
|
| class LineProperties {
|
| - /**
|
| - * The dash style of the line.
|
| - * Possible string values are:
|
| - * - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style.
|
| - * - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'solid'.
|
| - * This is the default dash style.
|
| - * - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'dot'.
|
| - * - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'dash'.
|
| - * - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376
|
| - * ST_PresetLineDashVal
|
| - * value 'dashDot'.
|
| - * - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376
|
| - * ST_PresetLineDashVal
|
| - * value 'lgDash'.
|
| - * - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to
|
| - * ECMA-376
|
| - * ST_PresetLineDashVal value 'lgDashDot'.
|
| - */
|
| + /// The dash style of the line.
|
| + /// Possible string values are:
|
| + /// - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style.
|
| + /// - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal
|
| + /// value 'solid'.
|
| + /// This is the default dash style.
|
| + /// - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| + /// 'dot'.
|
| + /// - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal
|
| + /// value 'dash'.
|
| + /// - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376
|
| + /// ST_PresetLineDashVal
|
| + /// value 'dashDot'.
|
| + /// - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376
|
| + /// ST_PresetLineDashVal
|
| + /// value 'lgDash'.
|
| + /// - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to
|
| + /// ECMA-376
|
| + /// ST_PresetLineDashVal value 'lgDashDot'.
|
| core.String dashStyle;
|
| - /**
|
| - * The style of the arrow at the end of the line.
|
| - * Possible string values are:
|
| - * - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style.
|
| - * - "NONE" : No arrow.
|
| - * - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376
|
| - * ST_LineEndType value
|
| - * 'stealth'.
|
| - * - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType value
|
| - * 'triangle'.
|
| - * - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType
|
| - * value 'oval'.
|
| - * - "FILL_SQUARE" : Filled square.
|
| - * - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType
|
| - * value 'diamond'.
|
| - * - "OPEN_ARROW" : Hollow arrow.
|
| - * - "OPEN_CIRCLE" : Hollow circle.
|
| - * - "OPEN_SQUARE" : Hollow square.
|
| - * - "OPEN_DIAMOND" : Hollow diamond.
|
| - */
|
| +
|
| + /// The style of the arrow at the end of the line.
|
| + /// Possible string values are:
|
| + /// - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style.
|
| + /// - "NONE" : No arrow.
|
| + /// - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376
|
| + /// ST_LineEndType value
|
| + /// 'stealth'.
|
| + /// - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'triangle'.
|
| + /// - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'oval'.
|
| + /// - "FILL_SQUARE" : Filled square.
|
| + /// - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'diamond'.
|
| + /// - "OPEN_ARROW" : Hollow arrow.
|
| + /// - "OPEN_CIRCLE" : Hollow circle.
|
| + /// - "OPEN_SQUARE" : Hollow square.
|
| + /// - "OPEN_DIAMOND" : Hollow diamond.
|
| core.String endArrow;
|
| - /**
|
| - * The fill of the line. The default line fill matches the defaults for new
|
| - * lines created in the Slides editor.
|
| - */
|
| +
|
| + /// The fill of the line. The default line fill matches the defaults for new
|
| + /// lines created in the Slides editor.
|
| LineFill lineFill;
|
| - /** The hyperlink destination of the line. If unset, there is no link. */
|
| +
|
| + /// The hyperlink destination of the line. If unset, there is no link.
|
| Link link;
|
| - /**
|
| - * The style of the arrow at the beginning of the line.
|
| - * Possible string values are:
|
| - * - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style.
|
| - * - "NONE" : No arrow.
|
| - * - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376
|
| - * ST_LineEndType value
|
| - * 'stealth'.
|
| - * - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType value
|
| - * 'triangle'.
|
| - * - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType
|
| - * value 'oval'.
|
| - * - "FILL_SQUARE" : Filled square.
|
| - * - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType
|
| - * value 'diamond'.
|
| - * - "OPEN_ARROW" : Hollow arrow.
|
| - * - "OPEN_CIRCLE" : Hollow circle.
|
| - * - "OPEN_SQUARE" : Hollow square.
|
| - * - "OPEN_DIAMOND" : Hollow diamond.
|
| - */
|
| +
|
| + /// The style of the arrow at the beginning of the line.
|
| + /// Possible string values are:
|
| + /// - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style.
|
| + /// - "NONE" : No arrow.
|
| + /// - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376
|
| + /// ST_LineEndType value
|
| + /// 'stealth'.
|
| + /// - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'triangle'.
|
| + /// - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'oval'.
|
| + /// - "FILL_SQUARE" : Filled square.
|
| + /// - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType
|
| + /// value 'diamond'.
|
| + /// - "OPEN_ARROW" : Hollow arrow.
|
| + /// - "OPEN_CIRCLE" : Hollow circle.
|
| + /// - "OPEN_SQUARE" : Hollow square.
|
| + /// - "OPEN_DIAMOND" : Hollow diamond.
|
| core.String startArrow;
|
| - /** The thickness of the line. */
|
| +
|
| + /// The thickness of the line.
|
| Dimension weight;
|
|
|
| LineProperties();
|
| @@ -2803,7 +2826,8 @@ class LineProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (dashStyle != null) {
|
| _json["dashStyle"] = dashStyle;
|
| }
|
| @@ -2826,30 +2850,27 @@ class LineProperties {
|
| }
|
| }
|
|
|
| -/** A hypertext link. */
|
| +/// A hypertext link.
|
| class Link {
|
| - /**
|
| - * If set, indicates this is a link to the specific page in this
|
| - * presentation with this ID. A page with this ID may not exist.
|
| - */
|
| + /// If set, indicates this is a link to the specific page in this
|
| + /// presentation with this ID. A page with this ID may not exist.
|
| core.String pageObjectId;
|
| - /**
|
| - * If set, indicates this is a link to a slide in this presentation,
|
| - * addressed by its position.
|
| - * Possible string values are:
|
| - * - "RELATIVE_SLIDE_LINK_UNSPECIFIED" : An unspecified relative slide link.
|
| - * - "NEXT_SLIDE" : A link to the next slide.
|
| - * - "PREVIOUS_SLIDE" : A link to the previous slide.
|
| - * - "FIRST_SLIDE" : A link to the first slide in the presentation.
|
| - * - "LAST_SLIDE" : A link to the last slide in the presentation.
|
| - */
|
| +
|
| + /// If set, indicates this is a link to a slide in this presentation,
|
| + /// addressed by its position.
|
| + /// Possible string values are:
|
| + /// - "RELATIVE_SLIDE_LINK_UNSPECIFIED" : An unspecified relative slide link.
|
| + /// - "NEXT_SLIDE" : A link to the next slide.
|
| + /// - "PREVIOUS_SLIDE" : A link to the previous slide.
|
| + /// - "FIRST_SLIDE" : A link to the first slide in the presentation.
|
| + /// - "LAST_SLIDE" : A link to the last slide in the presentation.
|
| core.String relativeLink;
|
| - /**
|
| - * If set, indicates this is a link to the slide at this zero-based index
|
| - * in the presentation. There may not be a slide at this index.
|
| - */
|
| +
|
| + /// If set, indicates this is a link to the slide at this zero-based index
|
| + /// in the presentation. There may not be a slide at this index.
|
| core.int slideIndex;
|
| - /** If set, indicates this is a link to the external web page at this URL. */
|
| +
|
| + /// If set, indicates this is a link to the external web page at this URL.
|
| core.String url;
|
|
|
| Link();
|
| @@ -2870,7 +2891,8 @@ class Link {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (pageObjectId != null) {
|
| _json["pageObjectId"] = pageObjectId;
|
| }
|
| @@ -2887,19 +2909,16 @@ class Link {
|
| }
|
| }
|
|
|
| -/**
|
| - * A List describes the look and feel of bullets belonging to paragraphs
|
| - * associated with a list. A paragraph that is part of a list has an implicit
|
| - * reference to that list's ID.
|
| - */
|
| +/// A List describes the look and feel of bullets belonging to paragraphs
|
| +/// associated with a list. A paragraph that is part of a list has an implicit
|
| +/// reference to that list's ID.
|
| class List {
|
| - /** The ID of the list. */
|
| + /// The ID of the list.
|
| core.String listId;
|
| - /**
|
| - * A map of nesting levels to the properties of bullets at the associated
|
| - * level. A list has at most nine levels of nesting, so the possible values
|
| - * for the keys of this map are 0 through 8, inclusive.
|
| - */
|
| +
|
| + /// A map of nesting levels to the properties of bullets at the associated
|
| + /// level. A list has at most nine levels of nesting, so the possible values
|
| + /// for the keys of this map are 0 through 8, inclusive.
|
| core.Map<core.String, NestingLevel> nestingLevel;
|
|
|
| List();
|
| @@ -2909,28 +2928,33 @@ class List {
|
| listId = _json["listId"];
|
| }
|
| if (_json.containsKey("nestingLevel")) {
|
| - nestingLevel = commons.mapMap<core.Map<core.String, core.Object>, NestingLevel>(_json["nestingLevel"], (core.Map<core.String, core.Object> item) => new NestingLevel.fromJson(item));
|
| + nestingLevel =
|
| + commons.mapMap<core.Map<core.String, core.Object>, NestingLevel>(
|
| + _json["nestingLevel"],
|
| + (core.Map<core.String, core.Object> item) =>
|
| + new NestingLevel.fromJson(item));
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (listId != null) {
|
| _json["listId"] = listId;
|
| }
|
| if (nestingLevel != null) {
|
| - _json["nestingLevel"] = commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>(nestingLevel, (NestingLevel item) => (item).toJson());
|
| + _json["nestingLevel"] =
|
| + commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>(
|
| + nestingLevel, (NestingLevel item) => (item).toJson());
|
| }
|
| return _json;
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of Page that are only
|
| - * relevant for pages with page_type MASTER.
|
| - */
|
| +/// The properties of Page that are only
|
| +/// relevant for pages with page_type MASTER.
|
| class MasterProperties {
|
| - /** The human-readable name of the master. */
|
| + /// The human-readable name of the master.
|
| core.String displayName;
|
|
|
| MasterProperties();
|
| @@ -2942,7 +2966,8 @@ class MasterProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (displayName != null) {
|
| _json["displayName"] = displayName;
|
| }
|
| @@ -2950,12 +2975,11 @@ class MasterProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * Contains properties describing the look and feel of a list bullet at a given
|
| - * level of nesting.
|
| - */
|
| +/// Contains properties describing the look and feel of a list bullet at a
|
| +/// given
|
| +/// level of nesting.
|
| class NestingLevel {
|
| - /** The style of a bullet at this level of nesting. */
|
| + /// The style of a bullet at this level of nesting.
|
| TextStyle bulletStyle;
|
|
|
| NestingLevel();
|
| @@ -2967,7 +2991,8 @@ class NestingLevel {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (bulletStyle != null) {
|
| _json["bulletStyle"] = (bulletStyle).toJson();
|
| }
|
| @@ -2975,19 +3000,16 @@ class NestingLevel {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of Page that are only
|
| - * relevant for pages with page_type NOTES.
|
| - */
|
| +/// The properties of Page that are only
|
| +/// relevant for pages with page_type NOTES.
|
| class NotesProperties {
|
| - /**
|
| - * The object ID of the shape on this notes page that contains the speaker
|
| - * notes for the corresponding slide.
|
| - * The actual shape may not always exist on the notes page. Inserting text
|
| - * using this object ID will automatically create the shape. In this case, the
|
| - * actual shape may have different object ID. The `GetPresentation` or
|
| - * `GetPage` action will always return the latest object ID.
|
| - */
|
| + /// The object ID of the shape on this notes page that contains the speaker
|
| + /// notes for the corresponding slide.
|
| + /// The actual shape may not always exist on the notes page. Inserting text
|
| + /// using this object ID will automatically create the shape. In this case,
|
| + /// the
|
| + /// actual shape may have different object ID. The `GetPresentation` or
|
| + /// `GetPage` action will always return the latest object ID.
|
| core.String speakerNotesObjectId;
|
|
|
| NotesProperties();
|
| @@ -2999,7 +3021,8 @@ class NotesProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (speakerNotesObjectId != null) {
|
| _json["speakerNotesObjectId"] = speakerNotesObjectId;
|
| }
|
| @@ -3007,33 +3030,32 @@ class NotesProperties {
|
| }
|
| }
|
|
|
| -/** A themeable solid color value. */
|
| +/// A themeable solid color value.
|
| class OpaqueColor {
|
| - /** An opaque RGB color. */
|
| + /// An opaque RGB color.
|
| RgbColor rgbColor;
|
| - /**
|
| - * An opaque theme color.
|
| - * Possible string values are:
|
| - * - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value
|
| - * should not be used.
|
| - * - "DARK1" : Represents the first dark color.
|
| - * - "LIGHT1" : Represents the first light color.
|
| - * - "DARK2" : Represents the second dark color.
|
| - * - "LIGHT2" : Represents the second light color.
|
| - * - "ACCENT1" : Represents the first accent color.
|
| - * - "ACCENT2" : Represents the second accent color.
|
| - * - "ACCENT3" : Represents the third accent color.
|
| - * - "ACCENT4" : Represents the fourth accent color.
|
| - * - "ACCENT5" : Represents the fifth accent color.
|
| - * - "ACCENT6" : Represents the sixth accent color.
|
| - * - "HYPERLINK" : Represents the color to use for hyperlinks.
|
| - * - "FOLLOWED_HYPERLINK" : Represents the color to use for visited
|
| - * hyperlinks.
|
| - * - "TEXT1" : Represents the first text color.
|
| - * - "BACKGROUND1" : Represents the first background color.
|
| - * - "TEXT2" : Represents the second text color.
|
| - * - "BACKGROUND2" : Represents the second background color.
|
| - */
|
| +
|
| + /// An opaque theme color.
|
| + /// Possible string values are:
|
| + /// - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value
|
| + /// should not be used.
|
| + /// - "DARK1" : Represents the first dark color.
|
| + /// - "LIGHT1" : Represents the first light color.
|
| + /// - "DARK2" : Represents the second dark color.
|
| + /// - "LIGHT2" : Represents the second light color.
|
| + /// - "ACCENT1" : Represents the first accent color.
|
| + /// - "ACCENT2" : Represents the second accent color.
|
| + /// - "ACCENT3" : Represents the third accent color.
|
| + /// - "ACCENT4" : Represents the fourth accent color.
|
| + /// - "ACCENT5" : Represents the fifth accent color.
|
| + /// - "ACCENT6" : Represents the sixth accent color.
|
| + /// - "HYPERLINK" : Represents the color to use for hyperlinks.
|
| + /// - "FOLLOWED_HYPERLINK" : Represents the color to use for visited
|
| + /// hyperlinks.
|
| + /// - "TEXT1" : Represents the first text color.
|
| + /// - "BACKGROUND1" : Represents the first background color.
|
| + /// - "TEXT2" : Represents the second text color.
|
| + /// - "BACKGROUND2" : Represents the second background color.
|
| core.String themeColor;
|
|
|
| OpaqueColor();
|
| @@ -3048,7 +3070,8 @@ class OpaqueColor {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (rgbColor != null) {
|
| _json["rgbColor"] = (rgbColor).toJson();
|
| }
|
| @@ -3059,12 +3082,10 @@ class OpaqueColor {
|
| }
|
| }
|
|
|
| -/** A color that can either be fully opaque or fully transparent. */
|
| +/// A color that can either be fully opaque or fully transparent.
|
| class OptionalColor {
|
| - /**
|
| - * If set, this will be used as an opaque color. If unset, this represents
|
| - * a transparent color.
|
| - */
|
| + /// If set, this will be used as an opaque color. If unset, this represents
|
| + /// a transparent color.
|
| OpaqueColor opaqueColor;
|
|
|
| OptionalColor();
|
| @@ -3076,7 +3097,8 @@ class OptionalColor {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (opaqueColor != null) {
|
| _json["opaqueColor"] = (opaqueColor).toJson();
|
| }
|
| @@ -3084,68 +3106,70 @@ class OptionalColor {
|
| }
|
| }
|
|
|
| -/**
|
| - * The outline of a PageElement.
|
| - *
|
| - * If these fields are unset, they may be inherited from a parent placeholder
|
| - * if it exists. If there is no parent, the fields will default to the value
|
| - * used for new page elements created in the Slides editor, which may depend on
|
| - * the page element kind.
|
| - */
|
| +/// The outline of a PageElement.
|
| +///
|
| +/// If these fields are unset, they may be inherited from a parent placeholder
|
| +/// if it exists. If there is no parent, the fields will default to the value
|
| +/// used for new page elements created in the Slides editor, which may depend
|
| +/// on
|
| +/// the page element kind.
|
| class Outline {
|
| - /**
|
| - * The dash style of the outline.
|
| - * Possible string values are:
|
| - * - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style.
|
| - * - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'solid'.
|
| - * This is the default dash style.
|
| - * - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'dot'.
|
| - * - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| - * 'dash'.
|
| - * - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376
|
| - * ST_PresetLineDashVal
|
| - * value 'dashDot'.
|
| - * - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376
|
| - * ST_PresetLineDashVal
|
| - * value 'lgDash'.
|
| - * - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to
|
| - * ECMA-376
|
| - * ST_PresetLineDashVal value 'lgDashDot'.
|
| - */
|
| + /// The dash style of the outline.
|
| + /// Possible string values are:
|
| + /// - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style.
|
| + /// - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal
|
| + /// value 'solid'.
|
| + /// This is the default dash style.
|
| + /// - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value
|
| + /// 'dot'.
|
| + /// - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal
|
| + /// value 'dash'.
|
| + /// - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376
|
| + /// ST_PresetLineDashVal
|
| + /// value 'dashDot'.
|
| + /// - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376
|
| + /// ST_PresetLineDashVal
|
| + /// value 'lgDash'.
|
| + /// - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to
|
| + /// ECMA-376
|
| + /// ST_PresetLineDashVal value 'lgDashDot'.
|
| core.String dashStyle;
|
| - /** The fill of the outline. */
|
| +
|
| + /// The fill of the outline.
|
| OutlineFill outlineFill;
|
| - /**
|
| - * The outline property state.
|
| - *
|
| - * Updating the the outline on a page element will implicitly update this
|
| - * field to`RENDERED`, unless another value is specified in the same request.
|
| - * To have no outline on a page element, set this field to `NOT_RENDERED`. In
|
| - * this case, any other outline fields set in the same request will be
|
| - * ignored.
|
| - * Possible string values are:
|
| - * - "RENDERED" : If a property's state is RENDERED, then the element has the
|
| - * corresponding
|
| - * property when rendered on a page. If the element is a placeholder shape as
|
| - * determined by the placeholder
|
| - * field, and it inherits from a placeholder shape, the corresponding field
|
| - * may be unset, meaning that the property value is inherited from a parent
|
| - * placeholder. If the element does not inherit, then the field will contain
|
| - * the rendered value. This is the default value.
|
| - * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element
|
| - * does not have the
|
| - * corresponding property when rendered on a page. However, the field may
|
| - * still be set so it can be inherited by child shapes. To remove a property
|
| - * from a rendered element, set its property_state to NOT_RENDERED.
|
| - * - "INHERIT" : If a property's state is INHERIT, then the property state
|
| - * uses the value of
|
| - * corresponding `property_state` field on the parent shape. Elements that do
|
| - * not inherit will never have an INHERIT property state.
|
| - */
|
| +
|
| + /// The outline property state.
|
| + ///
|
| + /// Updating the the outline on a page element will implicitly update this
|
| + /// field to`RENDERED`, unless another value is specified in the same
|
| + /// request.
|
| + /// To have no outline on a page element, set this field to `NOT_RENDERED`.
|
| + /// In
|
| + /// this case, any other outline fields set in the same request will be
|
| + /// ignored.
|
| + /// Possible string values are:
|
| + /// - "RENDERED" : If a property's state is RENDERED, then the element has
|
| + /// the corresponding
|
| + /// property when rendered on a page. If the element is a placeholder shape
|
| + /// as
|
| + /// determined by the placeholder
|
| + /// field, and it inherits from a placeholder shape, the corresponding field
|
| + /// may be unset, meaning that the property value is inherited from a parent
|
| + /// placeholder. If the element does not inherit, then the field will contain
|
| + /// the rendered value. This is the default value.
|
| + /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the
|
| + /// element does not have the
|
| + /// corresponding property when rendered on a page. However, the field may
|
| + /// still be set so it can be inherited by child shapes. To remove a property
|
| + /// from a rendered element, set its property_state to NOT_RENDERED.
|
| + /// - "INHERIT" : If a property's state is INHERIT, then the property state
|
| + /// uses the value of
|
| + /// corresponding `property_state` field on the parent shape. Elements that
|
| + /// do
|
| + /// not inherit will never have an INHERIT property state.
|
| core.String propertyState;
|
| - /** The thickness of the outline. */
|
| +
|
| + /// The thickness of the outline.
|
| Dimension weight;
|
|
|
| Outline();
|
| @@ -3166,7 +3190,8 @@ class Outline {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (dashStyle != null) {
|
| _json["dashStyle"] = dashStyle;
|
| }
|
| @@ -3183,9 +3208,9 @@ class Outline {
|
| }
|
| }
|
|
|
| -/** The fill of the outline. */
|
| +/// The fill of the outline.
|
| class OutlineFill {
|
| - /** Solid color fill. */
|
| + /// Solid color fill.
|
| SolidFill solidFill;
|
|
|
| OutlineFill();
|
| @@ -3197,7 +3222,8 @@ class OutlineFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (solidFill != null) {
|
| _json["solidFill"] = (solidFill).toJson();
|
| }
|
| @@ -3205,60 +3231,67 @@ class OutlineFill {
|
| }
|
| }
|
|
|
| -/** A page in a presentation. */
|
| +/// A page in a presentation.
|
| class Page {
|
| - /** Layout specific properties. Only set if page_type = LAYOUT. */
|
| + /// Layout specific properties. Only set if page_type = LAYOUT.
|
| LayoutProperties layoutProperties;
|
| - /** Master specific properties. Only set if page_type = MASTER. */
|
| +
|
| + /// Master specific properties. Only set if page_type = MASTER.
|
| MasterProperties masterProperties;
|
| - /** Notes specific properties. Only set if page_type = NOTES. */
|
| +
|
| + /// Notes specific properties. Only set if page_type = NOTES.
|
| NotesProperties notesProperties;
|
| - /**
|
| - * The object ID for this page. Object IDs used by
|
| - * Page and
|
| - * PageElement share the same namespace.
|
| - */
|
| +
|
| + /// The object ID for this page. Object IDs used by
|
| + /// Page and
|
| + /// PageElement share the same namespace.
|
| core.String objectId;
|
| - /** The page elements rendered on the page. */
|
| +
|
| + /// The page elements rendered on the page.
|
| core.List<PageElement> pageElements;
|
| - /** The properties of the page. */
|
| +
|
| + /// The properties of the page.
|
| PageProperties pageProperties;
|
| - /**
|
| - * The type of the page.
|
| - * Possible string values are:
|
| - * - "SLIDE" : A slide page.
|
| - * - "MASTER" : A master slide page.
|
| - * - "LAYOUT" : A layout page.
|
| - * - "NOTES" : A notes page.
|
| - * - "NOTES_MASTER" : A notes master page.
|
| - */
|
| +
|
| + /// The type of the page.
|
| + /// Possible string values are:
|
| + /// - "SLIDE" : A slide page.
|
| + /// - "MASTER" : A master slide page.
|
| + /// - "LAYOUT" : A layout page.
|
| + /// - "NOTES" : A notes page.
|
| + /// - "NOTES_MASTER" : A notes master page.
|
| core.String pageType;
|
| - /**
|
| - * The revision ID of the presentation containing this page. Can be used in
|
| - * update requests to assert that the presentation revision hasn't changed
|
| - * since the last read operation. Only populated if the user has edit access
|
| - * to the presentation.
|
| - *
|
| - * The format of the revision ID may change over time, so it should be treated
|
| - * opaquely. A returned revision ID is only guaranteed to be valid for 24
|
| - * hours after it has been returned and cannot be shared across users. If the
|
| - * revision ID is unchanged between calls, then the presentation has not
|
| - * changed. Conversely, a changed ID (for the same presentation and user)
|
| - * usually means the presentation has been updated; however, a changed ID can
|
| - * also be due to internal factors such as ID format changes.
|
| - */
|
| +
|
| + /// The revision ID of the presentation containing this page. Can be used in
|
| + /// update requests to assert that the presentation revision hasn't changed
|
| + /// since the last read operation. Only populated if the user has edit access
|
| + /// to the presentation.
|
| + ///
|
| + /// The format of the revision ID may change over time, so it should be
|
| + /// treated
|
| + /// opaquely. A returned revision ID is only guaranteed to be valid for 24
|
| + /// hours after it has been returned and cannot be shared across users. If
|
| + /// the
|
| + /// revision ID is unchanged between calls, then the presentation has not
|
| + /// changed. Conversely, a changed ID (for the same presentation and user)
|
| + /// usually means the presentation has been updated; however, a changed ID
|
| + /// can
|
| + /// also be due to internal factors such as ID format changes.
|
| core.String revisionId;
|
| - /** Slide specific properties. Only set if page_type = SLIDE. */
|
| +
|
| + /// Slide specific properties. Only set if page_type = SLIDE.
|
| SlideProperties slideProperties;
|
|
|
| Page();
|
|
|
| Page.fromJson(core.Map _json) {
|
| if (_json.containsKey("layoutProperties")) {
|
| - layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"]);
|
| + layoutProperties =
|
| + new LayoutProperties.fromJson(_json["layoutProperties"]);
|
| }
|
| if (_json.containsKey("masterProperties")) {
|
| - masterProperties = new MasterProperties.fromJson(_json["masterProperties"]);
|
| + masterProperties =
|
| + new MasterProperties.fromJson(_json["masterProperties"]);
|
| }
|
| if (_json.containsKey("notesProperties")) {
|
| notesProperties = new NotesProperties.fromJson(_json["notesProperties"]);
|
| @@ -3267,7 +3300,9 @@ class Page {
|
| objectId = _json["objectId"];
|
| }
|
| if (_json.containsKey("pageElements")) {
|
| - pageElements = _json["pageElements"].map((value) => new PageElement.fromJson(value)).toList();
|
| + pageElements = _json["pageElements"]
|
| + .map((value) => new PageElement.fromJson(value))
|
| + .toList();
|
| }
|
| if (_json.containsKey("pageProperties")) {
|
| pageProperties = new PageProperties.fromJson(_json["pageProperties"]);
|
| @@ -3284,7 +3319,8 @@ class Page {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (layoutProperties != null) {
|
| _json["layoutProperties"] = (layoutProperties).toJson();
|
| }
|
| @@ -3298,7 +3334,8 @@ class Page {
|
| _json["objectId"] = objectId;
|
| }
|
| if (pageElements != null) {
|
| - _json["pageElements"] = pageElements.map((value) => (value).toJson()).toList();
|
| + _json["pageElements"] =
|
| + pageElements.map((value) => (value).toJson()).toList();
|
| }
|
| if (pageProperties != null) {
|
| _json["pageProperties"] = (pageProperties).toJson();
|
| @@ -3316,38 +3353,40 @@ class Page {
|
| }
|
| }
|
|
|
| -/** The page background fill. */
|
| +/// The page background fill.
|
| class PageBackgroundFill {
|
| - /**
|
| - * The background fill property state.
|
| - *
|
| - * Updating the the fill on a page will implicitly update this field to
|
| - * `RENDERED`, unless another value is specified in the same request. To
|
| - * have no fill on a page, set this field to `NOT_RENDERED`. In this case,
|
| - * any other fill fields set in the same request will be ignored.
|
| - * Possible string values are:
|
| - * - "RENDERED" : If a property's state is RENDERED, then the element has the
|
| - * corresponding
|
| - * property when rendered on a page. If the element is a placeholder shape as
|
| - * determined by the placeholder
|
| - * field, and it inherits from a placeholder shape, the corresponding field
|
| - * may be unset, meaning that the property value is inherited from a parent
|
| - * placeholder. If the element does not inherit, then the field will contain
|
| - * the rendered value. This is the default value.
|
| - * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element
|
| - * does not have the
|
| - * corresponding property when rendered on a page. However, the field may
|
| - * still be set so it can be inherited by child shapes. To remove a property
|
| - * from a rendered element, set its property_state to NOT_RENDERED.
|
| - * - "INHERIT" : If a property's state is INHERIT, then the property state
|
| - * uses the value of
|
| - * corresponding `property_state` field on the parent shape. Elements that do
|
| - * not inherit will never have an INHERIT property state.
|
| - */
|
| + /// The background fill property state.
|
| + ///
|
| + /// Updating the fill on a page will implicitly update this field to
|
| + /// `RENDERED`, unless another value is specified in the same request. To
|
| + /// have no fill on a page, set this field to `NOT_RENDERED`. In this case,
|
| + /// any other fill fields set in the same request will be ignored.
|
| + /// Possible string values are:
|
| + /// - "RENDERED" : If a property's state is RENDERED, then the element has
|
| + /// the corresponding
|
| + /// property when rendered on a page. If the element is a placeholder shape
|
| + /// as
|
| + /// determined by the placeholder
|
| + /// field, and it inherits from a placeholder shape, the corresponding field
|
| + /// may be unset, meaning that the property value is inherited from a parent
|
| + /// placeholder. If the element does not inherit, then the field will contain
|
| + /// the rendered value. This is the default value.
|
| + /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the
|
| + /// element does not have the
|
| + /// corresponding property when rendered on a page. However, the field may
|
| + /// still be set so it can be inherited by child shapes. To remove a property
|
| + /// from a rendered element, set its property_state to NOT_RENDERED.
|
| + /// - "INHERIT" : If a property's state is INHERIT, then the property state
|
| + /// uses the value of
|
| + /// corresponding `property_state` field on the parent shape. Elements that
|
| + /// do
|
| + /// not inherit will never have an INHERIT property state.
|
| core.String propertyState;
|
| - /** Solid color fill. */
|
| +
|
| + /// Solid color fill.
|
| SolidFill solidFill;
|
| - /** Stretched picture fill. */
|
| +
|
| + /// Stretched picture fill.
|
| StretchedPictureFill stretchedPictureFill;
|
|
|
| PageBackgroundFill();
|
| @@ -3360,12 +3399,14 @@ class PageBackgroundFill {
|
| solidFill = new SolidFill.fromJson(_json["solidFill"]);
|
| }
|
| if (_json.containsKey("stretchedPictureFill")) {
|
| - stretchedPictureFill = new StretchedPictureFill.fromJson(_json["stretchedPictureFill"]);
|
| + stretchedPictureFill =
|
| + new StretchedPictureFill.fromJson(_json["stretchedPictureFill"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (propertyState != null) {
|
| _json["propertyState"] = propertyState;
|
| }
|
| @@ -3379,46 +3420,60 @@ class PageBackgroundFill {
|
| }
|
| }
|
|
|
| -/** A visual element rendered on a page. */
|
| +/// A visual element rendered on a page.
|
| class PageElement {
|
| - /**
|
| - * The description of the page element. Combined with title to display alt
|
| - * text.
|
| - */
|
| + /// The description of the page element. Combined with title to display alt
|
| + /// text.
|
| core.String description;
|
| - /** A collection of page elements joined as a single unit. */
|
| +
|
| + /// A collection of page elements joined as a single unit.
|
| Group elementGroup;
|
| - /** An image page element. */
|
| +
|
| + /// An image page element.
|
| Image image;
|
| - /** A line page element. */
|
| +
|
| + /// A line page element.
|
| Line line;
|
| - /**
|
| - * The object ID for this page element. Object IDs used by
|
| - * google.apps.slides.v1.Page and
|
| - * google.apps.slides.v1.PageElement share the same namespace.
|
| - */
|
| +
|
| + /// The object ID for this page element. Object IDs used by
|
| + /// google.apps.slides.v1.Page and
|
| + /// google.apps.slides.v1.PageElement share the same namespace.
|
| core.String objectId;
|
| - /** A generic shape. */
|
| +
|
| + /// A generic shape.
|
| Shape shape;
|
| - /**
|
| - * A linked chart embedded from Google Sheets. Unlinked charts are
|
| - * represented as images.
|
| - */
|
| +
|
| + /// A linked chart embedded from Google Sheets. Unlinked charts are
|
| + /// represented as images.
|
| SheetsChart sheetsChart;
|
| - /** The size of the page element. */
|
| +
|
| + /// The size of the page element.
|
| Size size;
|
| - /** A table page element. */
|
| +
|
| + /// A table page element.
|
| Table table;
|
| - /**
|
| - * The title of the page element. Combined with description to display alt
|
| - * text.
|
| - */
|
| +
|
| + /// The title of the page element. Combined with description to display alt
|
| + /// text.
|
| core.String title;
|
| - /** The transform of the page element. */
|
| +
|
| + /// The transform of the page element.
|
| + ///
|
| + /// The visual appearance of the page element is determined by its absolute
|
| + /// transform. To compute the absolute transform, preconcatenate a page
|
| + /// element's transform with the transforms of all of its parent groups. If
|
| + /// the
|
| + /// page element is not in a group, its absolute transform is the same as the
|
| + /// value in this field.
|
| + ///
|
| + /// The initial transform for the newly created Group is always the identity
|
| + /// transform.
|
| AffineTransform transform;
|
| - /** A video page element. */
|
| +
|
| + /// A video page element.
|
| Video video;
|
| - /** A word art page element. */
|
| +
|
| + /// A word art page element.
|
| WordArt wordArt;
|
|
|
| PageElement();
|
| @@ -3466,7 +3521,8 @@ class PageElement {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (description != null) {
|
| _json["description"] = description;
|
| }
|
| @@ -3510,20 +3566,20 @@ class PageElement {
|
| }
|
| }
|
|
|
| -/**
|
| - * Common properties for a page element.
|
| - *
|
| - * Note: When you initially create a
|
| - * PageElement, the API may modify
|
| - * the values of both `size` and `transform`, but the
|
| - * visual size will be unchanged.
|
| - */
|
| +/// Common properties for a page element.
|
| +///
|
| +/// Note: When you initially create a
|
| +/// PageElement, the API may modify
|
| +/// the values of both `size` and `transform`, but the
|
| +/// visual size will be unchanged.
|
| class PageElementProperties {
|
| - /** The object ID of the page where the element is located. */
|
| + /// The object ID of the page where the element is located.
|
| core.String pageObjectId;
|
| - /** The size of the element. */
|
| +
|
| + /// The size of the element.
|
| Size size;
|
| - /** The transform for the element. */
|
| +
|
| + /// The transform for the element.
|
| AffineTransform transform;
|
|
|
| PageElementProperties();
|
| @@ -3541,7 +3597,8 @@ class PageElementProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (pageObjectId != null) {
|
| _json["pageObjectId"] = pageObjectId;
|
| }
|
| @@ -3555,26 +3612,24 @@ class PageElementProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of the Page.
|
| - *
|
| - * The page will inherit properties from the parent page. Depending on the page
|
| - * type the hierarchy is defined in either
|
| - * SlideProperties or
|
| - * LayoutProperties.
|
| - */
|
| +/// The properties of the Page.
|
| +///
|
| +/// The page will inherit properties from the parent page. Depending on the
|
| +/// page
|
| +/// type the hierarchy is defined in either
|
| +/// SlideProperties or
|
| +/// LayoutProperties.
|
| class PageProperties {
|
| - /**
|
| - * The color scheme of the page. If unset, the color scheme is inherited from
|
| - * a parent page. If the page has no parent, the color scheme uses a default
|
| - * Slides color scheme. This field is read-only.
|
| - */
|
| + /// The color scheme of the page. If unset, the color scheme is inherited
|
| + /// from
|
| + /// a parent page. If the page has no parent, the color scheme uses a default
|
| + /// Slides color scheme. This field is read-only.
|
| ColorScheme colorScheme;
|
| - /**
|
| - * The background fill of the page. If unset, the background fill is inherited
|
| - * from a parent page if it exists. If the page has no parent, then the
|
| - * background fill defaults to the corresponding fill in the Slides editor.
|
| - */
|
| +
|
| + /// The background fill of the page. If unset, the background fill is
|
| + /// inherited
|
| + /// from a parent page if it exists. If the page has no parent, then the
|
| + /// background fill defaults to the corresponding fill in the Slides editor.
|
| PageBackgroundFill pageBackgroundFill;
|
|
|
| PageProperties();
|
| @@ -3584,12 +3639,14 @@ class PageProperties {
|
| colorScheme = new ColorScheme.fromJson(_json["colorScheme"]);
|
| }
|
| if (_json.containsKey("pageBackgroundFill")) {
|
| - pageBackgroundFill = new PageBackgroundFill.fromJson(_json["pageBackgroundFill"]);
|
| + pageBackgroundFill =
|
| + new PageBackgroundFill.fromJson(_json["pageBackgroundFill"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (colorScheme != null) {
|
| _json["colorScheme"] = (colorScheme).toJson();
|
| }
|
| @@ -3600,14 +3657,13 @@ class PageProperties {
|
| }
|
| }
|
|
|
| -/** A TextElement kind that represents the beginning of a new paragraph. */
|
| +/// A TextElement kind that represents the beginning of a new paragraph.
|
| class ParagraphMarker {
|
| - /**
|
| - * The bullet for this paragraph. If not present, the paragraph does not
|
| - * belong to a list.
|
| - */
|
| + /// The bullet for this paragraph. If not present, the paragraph does not
|
| + /// belong to a list.
|
| Bullet bullet;
|
| - /** The paragraph's style */
|
| +
|
| + /// The paragraph's style
|
| ParagraphStyle style;
|
|
|
| ParagraphMarker();
|
| @@ -3622,7 +3678,8 @@ class ParagraphMarker {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (bullet != null) {
|
| _json["bullet"] = (bullet).toJson();
|
| }
|
| @@ -3633,89 +3690,81 @@ class ParagraphMarker {
|
| }
|
| }
|
|
|
| -/**
|
| - * Styles that apply to a whole paragraph.
|
| - *
|
| - * If this text is contained in a shape with a parent placeholder, then these
|
| - * paragraph styles may be
|
| - * inherited from the parent. Which paragraph styles are inherited depend on the
|
| - * nesting level of lists:
|
| - *
|
| - * * A paragraph not in a list will inherit its paragraph style from the
|
| - * paragraph at the 0 nesting level of the list inside the parent placeholder.
|
| - * * A paragraph in a list will inherit its paragraph style from the paragraph
|
| - * at its corresponding nesting level of the list inside the parent
|
| - * placeholder.
|
| - *
|
| - * Inherited paragraph styles are represented as unset fields in this message.
|
| - */
|
| +/// Styles that apply to a whole paragraph.
|
| +///
|
| +/// If this text is contained in a shape with a parent placeholder, then these
|
| +/// paragraph styles may be
|
| +/// inherited from the parent. Which paragraph styles are inherited depend on
|
| +/// the
|
| +/// nesting level of lists:
|
| +///
|
| +/// * A paragraph not in a list will inherit its paragraph style from the
|
| +/// paragraph at the 0 nesting level of the list inside the parent placeholder.
|
| +/// * A paragraph in a list will inherit its paragraph style from the paragraph
|
| +/// at its corresponding nesting level of the list inside the parent
|
| +/// placeholder.
|
| +///
|
| +/// Inherited paragraph styles are represented as unset fields in this message.
|
| class ParagraphStyle {
|
| - /**
|
| - * The text alignment for this paragraph.
|
| - * Possible string values are:
|
| - * - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the
|
| - * parent.
|
| - * - "START" : The paragraph is aligned to the start of the line. Left-aligned
|
| - * for
|
| - * LTR text, right-aligned otherwise.
|
| - * - "CENTER" : The paragraph is centered.
|
| - * - "END" : The paragraph is aligned to the end of the line. Right-aligned
|
| - * for
|
| - * LTR text, left-aligned otherwise.
|
| - * - "JUSTIFIED" : The paragraph is justified.
|
| - */
|
| + /// The text alignment for this paragraph.
|
| + /// Possible string values are:
|
| + /// - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the
|
| + /// parent.
|
| + /// - "START" : The paragraph is aligned to the start of the line.
|
| + /// Left-aligned for
|
| + /// LTR text, right-aligned otherwise.
|
| + /// - "CENTER" : The paragraph is centered.
|
| + /// - "END" : The paragraph is aligned to the end of the line. Right-aligned
|
| + /// for
|
| + /// LTR text, left-aligned otherwise.
|
| + /// - "JUSTIFIED" : The paragraph is justified.
|
| core.String alignment;
|
| - /**
|
| - * The text direction of this paragraph. If unset, the value defaults to
|
| - * LEFT_TO_RIGHT since
|
| - * text direction is not inherited.
|
| - * Possible string values are:
|
| - * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the
|
| - * parent.
|
| - * - "LEFT_TO_RIGHT" : The text goes from left to right.
|
| - * - "RIGHT_TO_LEFT" : The text goes from right to left.
|
| - */
|
| +
|
| + /// The text direction of this paragraph. If unset, the value defaults to
|
| + /// LEFT_TO_RIGHT since
|
| + /// text direction is not inherited.
|
| + /// Possible string values are:
|
| + /// - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the
|
| + /// parent.
|
| + /// - "LEFT_TO_RIGHT" : The text goes from left to right.
|
| + /// - "RIGHT_TO_LEFT" : The text goes from right to left.
|
| core.String direction;
|
| - /**
|
| - * The amount indentation for the paragraph on the side that corresponds to
|
| - * the end of the text, based on the current text direction. If unset, the
|
| - * value is inherited from the parent.
|
| - */
|
| +
|
| + /// The amount indentation for the paragraph on the side that corresponds to
|
| + /// the end of the text, based on the current text direction. If unset, the
|
| + /// value is inherited from the parent.
|
| Dimension indentEnd;
|
| - /**
|
| - * The amount of indentation for the start of the first line of the paragraph.
|
| - * If unset, the value is inherited from the parent.
|
| - */
|
| +
|
| + /// The amount of indentation for the start of the first line of the
|
| + /// paragraph.
|
| + /// If unset, the value is inherited from the parent.
|
| Dimension indentFirstLine;
|
| - /**
|
| - * The amount indentation for the paragraph on the side that corresponds to
|
| - * the start of the text, based on the current text direction. If unset, the
|
| - * value is inherited from the parent.
|
| - */
|
| +
|
| + /// The amount indentation for the paragraph on the side that corresponds to
|
| + /// the start of the text, based on the current text direction. If unset, the
|
| + /// value is inherited from the parent.
|
| Dimension indentStart;
|
| - /**
|
| - * The amount of space between lines, as a percentage of normal, where normal
|
| - * is represented as 100.0. If unset, the value is inherited from the parent.
|
| - */
|
| +
|
| + /// The amount of space between lines, as a percentage of normal, where
|
| + /// normal
|
| + /// is represented as 100.0. If unset, the value is inherited from the
|
| + /// parent.
|
| core.double lineSpacing;
|
| - /**
|
| - * The amount of extra space above the paragraph. If unset, the value is
|
| - * inherited from the parent.
|
| - */
|
| +
|
| + /// The amount of extra space above the paragraph. If unset, the value is
|
| + /// inherited from the parent.
|
| Dimension spaceAbove;
|
| - /**
|
| - * The amount of extra space above the paragraph. If unset, the value is
|
| - * inherited from the parent.
|
| - */
|
| +
|
| + /// The amount of extra space above the paragraph. If unset, the value is
|
| + /// inherited from the parent.
|
| Dimension spaceBelow;
|
| - /**
|
| - * The spacing mode for the paragraph.
|
| - * Possible string values are:
|
| - * - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the
|
| - * parent.
|
| - * - "NEVER_COLLAPSE" : Paragraph spacing is always rendered.
|
| - * - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements.
|
| - */
|
| +
|
| + /// The spacing mode for the paragraph.
|
| + /// Possible string values are:
|
| + /// - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the
|
| + /// parent.
|
| + /// - "NEVER_COLLAPSE" : Paragraph spacing is always rendered.
|
| + /// - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements.
|
| core.String spacingMode;
|
|
|
| ParagraphStyle();
|
| @@ -3751,7 +3800,8 @@ class ParagraphStyle {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (alignment != null) {
|
| _json["alignment"] = alignment;
|
| }
|
| @@ -3783,42 +3833,37 @@ class ParagraphStyle {
|
| }
|
| }
|
|
|
| -/**
|
| - * The placeholder information that uniquely identifies a placeholder shape.
|
| - */
|
| +/// The placeholder information that uniquely identifies a placeholder shape.
|
| class Placeholder {
|
| - /**
|
| - * The index of the placeholder. If the same placeholder types are present in
|
| - * the same page, they would have different index values.
|
| - */
|
| + /// The index of the placeholder. If the same placeholder types are present
|
| + /// in
|
| + /// the same page, they would have different index values.
|
| core.int index;
|
| - /**
|
| - * The object ID of this shape's parent placeholder.
|
| - * If unset, the parent placeholder shape does not exist, so the shape does
|
| - * not inherit properties from any other shape.
|
| - */
|
| +
|
| + /// The object ID of this shape's parent placeholder.
|
| + /// If unset, the parent placeholder shape does not exist, so the shape does
|
| + /// not inherit properties from any other shape.
|
| core.String parentObjectId;
|
| - /**
|
| - * The type of the placeholder.
|
| - * Possible string values are:
|
| - * - "NONE" : Default value, signifies it is not a placeholder.
|
| - * - "BODY" : Body text.
|
| - * - "CHART" : Chart or graph.
|
| - * - "CLIP_ART" : Clip art image.
|
| - * - "CENTERED_TITLE" : Title centered.
|
| - * - "DIAGRAM" : Diagram.
|
| - * - "DATE_AND_TIME" : Date and time.
|
| - * - "FOOTER" : Footer text.
|
| - * - "HEADER" : Header text.
|
| - * - "MEDIA" : Multimedia.
|
| - * - "OBJECT" : Any content type.
|
| - * - "PICTURE" : Picture.
|
| - * - "SLIDE_NUMBER" : Number of a slide.
|
| - * - "SUBTITLE" : Subtitle.
|
| - * - "TABLE" : Table.
|
| - * - "TITLE" : Slide title.
|
| - * - "SLIDE_IMAGE" : Slide image.
|
| - */
|
| +
|
| + /// The type of the placeholder.
|
| + /// Possible string values are:
|
| + /// - "NONE" : Default value, signifies it is not a placeholder.
|
| + /// - "BODY" : Body text.
|
| + /// - "CHART" : Chart or graph.
|
| + /// - "CLIP_ART" : Clip art image.
|
| + /// - "CENTERED_TITLE" : Title centered.
|
| + /// - "DIAGRAM" : Diagram.
|
| + /// - "DATE_AND_TIME" : Date and time.
|
| + /// - "FOOTER" : Footer text.
|
| + /// - "HEADER" : Header text.
|
| + /// - "MEDIA" : Multimedia.
|
| + /// - "OBJECT" : Any content type.
|
| + /// - "PICTURE" : Picture.
|
| + /// - "SLIDE_NUMBER" : Number of a slide.
|
| + /// - "SUBTITLE" : Subtitle.
|
| + /// - "TABLE" : Table.
|
| + /// - "TITLE" : Slide title.
|
| + /// - "SLIDE_IMAGE" : Slide image.
|
| core.String type;
|
|
|
| Placeholder();
|
| @@ -3836,7 +3881,8 @@ class Placeholder {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (index != null) {
|
| _json["index"] = index;
|
| }
|
| @@ -3850,81 +3896,88 @@ class Placeholder {
|
| }
|
| }
|
|
|
| -/** A Google Slides presentation. */
|
| +/// A Google Slides presentation.
|
| class Presentation {
|
| - /**
|
| - * The layouts in the presentation. A layout is a template that determines
|
| - * how content is arranged and styled on the slides that inherit from that
|
| - * layout.
|
| - */
|
| + /// The layouts in the presentation. A layout is a template that determines
|
| + /// how content is arranged and styled on the slides that inherit from that
|
| + /// layout.
|
| core.List<Page> layouts;
|
| - /** The locale of the presentation, as an IETF BCP 47 language tag. */
|
| +
|
| + /// The locale of the presentation, as an IETF BCP 47 language tag.
|
| core.String locale;
|
| - /**
|
| - * The slide masters in the presentation. A slide master contains all common
|
| - * page elements and the common properties for a set of layouts. They serve
|
| - * three purposes:
|
| - *
|
| - * - Placeholder shapes on a master contain the default text styles and shape
|
| - * properties of all placeholder shapes on pages that use that master.
|
| - * - The master page properties define the common page properties inherited by
|
| - * its layouts.
|
| - * - Any other shapes on the master slide will appear on all slides using that
|
| - * master, regardless of their layout.
|
| - */
|
| +
|
| + /// The slide masters in the presentation. A slide master contains all common
|
| + /// page elements and the common properties for a set of layouts. They serve
|
| + /// three purposes:
|
| + ///
|
| + /// - Placeholder shapes on a master contain the default text styles and
|
| + /// shape
|
| + /// properties of all placeholder shapes on pages that use that master.
|
| + /// - The master page properties define the common page properties inherited
|
| + /// by
|
| + /// its layouts.
|
| + /// - Any other shapes on the master slide will appear on all slides using
|
| + /// that
|
| + /// master, regardless of their layout.
|
| core.List<Page> masters;
|
| - /**
|
| - * The notes master in the presentation. It serves three purposes:
|
| - *
|
| - * - Placeholder shapes on a notes master contain the default text styles and
|
| - * shape properties of all placeholder shapes on notes pages. Specifically,
|
| - * a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
|
| - * `BODY` placeholder shape contains the speaker notes.
|
| - * - The notes master page properties define the common page properties
|
| - * inherited by all notes pages.
|
| - * - Any other shapes on the notes master will appear on all notes pages.
|
| - *
|
| - * The notes master is read-only.
|
| - */
|
| +
|
| + /// The notes master in the presentation. It serves three purposes:
|
| + ///
|
| + /// - Placeholder shapes on a notes master contain the default text styles
|
| + /// and
|
| + /// shape properties of all placeholder shapes on notes pages. Specifically,
|
| + /// a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
|
| + /// `BODY` placeholder shape contains the speaker notes.
|
| + /// - The notes master page properties define the common page properties
|
| + /// inherited by all notes pages.
|
| + /// - Any other shapes on the notes master will appear on all notes pages.
|
| + ///
|
| + /// The notes master is read-only.
|
| Page notesMaster;
|
| - /** The size of pages in the presentation. */
|
| +
|
| + /// The size of pages in the presentation.
|
| Size pageSize;
|
| - /** The ID of the presentation. */
|
| +
|
| + /// The ID of the presentation.
|
| core.String presentationId;
|
| - /**
|
| - * The revision ID of the presentation. Can be used in update requests
|
| - * to assert that the presentation revision hasn't changed since the last
|
| - * read operation. Only populated if the user has edit access to the
|
| - * presentation.
|
| - *
|
| - * The format of the revision ID may change over time, so it should be treated
|
| - * opaquely. A returned revision ID is only guaranteed to be valid for 24
|
| - * hours after it has been returned and cannot be shared across users. If the
|
| - * revision ID is unchanged between calls, then the presentation has not
|
| - * changed. Conversely, a changed ID (for the same presentation and user)
|
| - * usually means the presentation has been updated; however, a changed ID can
|
| - * also be due to internal factors such as ID format changes.
|
| - */
|
| +
|
| + /// The revision ID of the presentation. Can be used in update requests
|
| + /// to assert that the presentation revision hasn't changed since the last
|
| + /// read operation. Only populated if the user has edit access to the
|
| + /// presentation.
|
| + ///
|
| + /// The format of the revision ID may change over time, so it should be
|
| + /// treated
|
| + /// opaquely. A returned revision ID is only guaranteed to be valid for 24
|
| + /// hours after it has been returned and cannot be shared across users. If
|
| + /// the
|
| + /// revision ID is unchanged between calls, then the presentation has not
|
| + /// changed. Conversely, a changed ID (for the same presentation and user)
|
| + /// usually means the presentation has been updated; however, a changed ID
|
| + /// can
|
| + /// also be due to internal factors such as ID format changes.
|
| core.String revisionId;
|
| - /**
|
| - * The slides in the presentation.
|
| - * A slide inherits properties from a slide layout.
|
| - */
|
| +
|
| + /// The slides in the presentation.
|
| + /// A slide inherits properties from a slide layout.
|
| core.List<Page> slides;
|
| - /** The title of the presentation. */
|
| +
|
| + /// The title of the presentation.
|
| core.String title;
|
|
|
| Presentation();
|
|
|
| Presentation.fromJson(core.Map _json) {
|
| if (_json.containsKey("layouts")) {
|
| - layouts = _json["layouts"].map((value) => new Page.fromJson(value)).toList();
|
| + layouts =
|
| + _json["layouts"].map((value) => new Page.fromJson(value)).toList();
|
| }
|
| if (_json.containsKey("locale")) {
|
| locale = _json["locale"];
|
| }
|
| if (_json.containsKey("masters")) {
|
| - masters = _json["masters"].map((value) => new Page.fromJson(value)).toList();
|
| + masters =
|
| + _json["masters"].map((value) => new Page.fromJson(value)).toList();
|
| }
|
| if (_json.containsKey("notesMaster")) {
|
| notesMaster = new Page.fromJson(_json["notesMaster"]);
|
| @@ -3939,7 +3992,8 @@ class Presentation {
|
| revisionId = _json["revisionId"];
|
| }
|
| if (_json.containsKey("slides")) {
|
| - slides = _json["slides"].map((value) => new Page.fromJson(value)).toList();
|
| + slides =
|
| + _json["slides"].map((value) => new Page.fromJson(value)).toList();
|
| }
|
| if (_json.containsKey("title")) {
|
| title = _json["title"];
|
| @@ -3947,7 +4001,8 @@ class Presentation {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (layouts != null) {
|
| _json["layouts"] = layouts.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -3979,35 +4034,31 @@ class Presentation {
|
| }
|
| }
|
|
|
| -/**
|
| - * Specifies a contiguous range of an indexed collection, such as characters in
|
| - * text.
|
| - */
|
| +/// Specifies a contiguous range of an indexed collection, such as characters
|
| +/// in
|
| +/// text.
|
| class Range {
|
| - /**
|
| - * The optional zero-based index of the end of the collection.
|
| - * Required for `FIXED_RANGE` ranges.
|
| - */
|
| + /// The optional zero-based index of the end of the collection.
|
| + /// Required for `FIXED_RANGE` ranges.
|
| core.int endIndex;
|
| - /**
|
| - * The optional zero-based index of the beginning of the collection.
|
| - * Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
|
| - */
|
| +
|
| + /// The optional zero-based index of the beginning of the collection.
|
| + /// Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
|
| core.int startIndex;
|
| - /**
|
| - * The type of range.
|
| - * Possible string values are:
|
| - * - "RANGE_TYPE_UNSPECIFIED" : Unspecified range type. This value must not be
|
| - * used.
|
| - * - "FIXED_RANGE" : A fixed range. Both the `start_index` and
|
| - * `end_index` must be specified.
|
| - * - "FROM_START_INDEX" : Starts the range at `start_index` and continues
|
| - * until the
|
| - * end of the collection. The `end_index` must not be specified.
|
| - * - "ALL" : Sets the range to be the whole length of the collection. Both the
|
| - * `start_index` and the `end_index` must not be
|
| - * specified.
|
| - */
|
| +
|
| + /// The type of range.
|
| + /// Possible string values are:
|
| + /// - "RANGE_TYPE_UNSPECIFIED" : Unspecified range type. This value must not
|
| + /// be used.
|
| + /// - "FIXED_RANGE" : A fixed range. Both the `start_index` and
|
| + /// `end_index` must be specified.
|
| + /// - "FROM_START_INDEX" : Starts the range at `start_index` and continues
|
| + /// until the
|
| + /// end of the collection. The `end_index` must not be specified.
|
| + /// - "ALL" : Sets the range to be the whole length of the collection. Both
|
| + /// the
|
| + /// `start_index` and the `end_index` must not be
|
| + /// specified.
|
| core.String type;
|
|
|
| Range();
|
| @@ -4025,7 +4076,8 @@ class Range {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (endIndex != null) {
|
| _json["endIndex"] = endIndex;
|
| }
|
| @@ -4039,93 +4091,91 @@ class Range {
|
| }
|
| }
|
|
|
| -/** A recolor effect applied on an image. */
|
| +/// A recolor effect applied on an image.
|
| class Recolor {
|
| - /**
|
| - * The name of the recolor effect.
|
| - *
|
| - * The name is determined from the `recolor_stops` by matching the gradient
|
| - * against the colors in the page's current color scheme. This property is
|
| - * read-only.
|
| - * Possible string values are:
|
| - * - "NONE" : No recolor effect. The default value.
|
| - * - "LIGHT1" : A recolor effect that lightens the image using the page's
|
| - * first available
|
| - * color from its color scheme.
|
| - * - "LIGHT2" : A recolor effect that lightens the image using the page's
|
| - * second
|
| - * available color from its color scheme.
|
| - * - "LIGHT3" : A recolor effect that lightens the image using the page's
|
| - * third available
|
| - * color from its color scheme.
|
| - * - "LIGHT4" : A recolor effect that lightens the image using the page's
|
| - * forth available
|
| - * color from its color scheme.
|
| - * - "LIGHT5" : A recolor effect that lightens the image using the page's
|
| - * fifth available
|
| - * color from its color scheme.
|
| - * - "LIGHT6" : A recolor effect that lightens the image using the page's
|
| - * sixth available
|
| - * color from its color scheme.
|
| - * - "LIGHT7" : A recolor effect that lightens the image using the page's
|
| - * seventh
|
| - * available color from its color scheme.e.
|
| - * - "LIGHT8" : A recolor effect that lightens the image using the page's
|
| - * eighth
|
| - * available color from its color scheme.
|
| - * - "LIGHT9" : A recolor effect that lightens the image using the page's
|
| - * ninth available
|
| - * color from its color scheme.
|
| - * - "LIGHT10" : A recolor effect that lightens the image using the page's
|
| - * tenth available
|
| - * color from its color scheme.
|
| - * - "DARK1" : A recolor effect that darkens the image using the page's first
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK2" : A recolor effect that darkens the image using the page's second
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK3" : A recolor effect that darkens the image using the page's third
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK4" : A recolor effect that darkens the image using the page's fourth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK5" : A recolor effect that darkens the image using the page's fifth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK6" : A recolor effect that darkens the image using the page's sixth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK7" : A recolor effect that darkens the image using the page's
|
| - * seventh
|
| - * available color from its color scheme.
|
| - * - "DARK8" : A recolor effect that darkens the image using the page's eighth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK9" : A recolor effect that darkens the image using the page's ninth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "DARK10" : A recolor effect that darkens the image using the page's tenth
|
| - * available
|
| - * color from its color scheme.
|
| - * - "GRAYSCALE" : A recolor effect that recolors the image to grayscale.
|
| - * - "NEGATIVE" : A recolor effect that recolors the image to negative
|
| - * grayscale.
|
| - * - "SEPIA" : A recolor effect that recolors the image using the sepia color.
|
| - * - "CUSTOM" : Custom recolor effect. Refer to `recolor_stops` for the
|
| - * concrete
|
| - * gradient.
|
| - */
|
| + /// The name of the recolor effect.
|
| + ///
|
| + /// The name is determined from the `recolor_stops` by matching the gradient
|
| + /// against the colors in the page's current color scheme. This property is
|
| + /// read-only.
|
| + /// Possible string values are:
|
| + /// - "NONE" : No recolor effect. The default value.
|
| + /// - "LIGHT1" : A recolor effect that lightens the image using the page's
|
| + /// first available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT2" : A recolor effect that lightens the image using the page's
|
| + /// second
|
| + /// available color from its color scheme.
|
| + /// - "LIGHT3" : A recolor effect that lightens the image using the page's
|
| + /// third available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT4" : A recolor effect that lightens the image using the page's
|
| + /// forth available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT5" : A recolor effect that lightens the image using the page's
|
| + /// fifth available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT6" : A recolor effect that lightens the image using the page's
|
| + /// sixth available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT7" : A recolor effect that lightens the image using the page's
|
| + /// seventh
|
| + /// available color from its color scheme.e.
|
| + /// - "LIGHT8" : A recolor effect that lightens the image using the page's
|
| + /// eighth
|
| + /// available color from its color scheme.
|
| + /// - "LIGHT9" : A recolor effect that lightens the image using the page's
|
| + /// ninth available
|
| + /// color from its color scheme.
|
| + /// - "LIGHT10" : A recolor effect that lightens the image using the page's
|
| + /// tenth available
|
| + /// color from its color scheme.
|
| + /// - "DARK1" : A recolor effect that darkens the image using the page's
|
| + /// first available
|
| + /// color from its color scheme.
|
| + /// - "DARK2" : A recolor effect that darkens the image using the page's
|
| + /// second available
|
| + /// color from its color scheme.
|
| + /// - "DARK3" : A recolor effect that darkens the image using the page's
|
| + /// third available
|
| + /// color from its color scheme.
|
| + /// - "DARK4" : A recolor effect that darkens the image using the page's
|
| + /// fourth available
|
| + /// color from its color scheme.
|
| + /// - "DARK5" : A recolor effect that darkens the image using the page's
|
| + /// fifth available
|
| + /// color from its color scheme.
|
| + /// - "DARK6" : A recolor effect that darkens the image using the page's
|
| + /// sixth available
|
| + /// color from its color scheme.
|
| + /// - "DARK7" : A recolor effect that darkens the image using the page's
|
| + /// seventh
|
| + /// available color from its color scheme.
|
| + /// - "DARK8" : A recolor effect that darkens the image using the page's
|
| + /// eighth available
|
| + /// color from its color scheme.
|
| + /// - "DARK9" : A recolor effect that darkens the image using the page's
|
| + /// ninth available
|
| + /// color from its color scheme.
|
| + /// - "DARK10" : A recolor effect that darkens the image using the page's
|
| + /// tenth available
|
| + /// color from its color scheme.
|
| + /// - "GRAYSCALE" : A recolor effect that recolors the image to grayscale.
|
| + /// - "NEGATIVE" : A recolor effect that recolors the image to negative
|
| + /// grayscale.
|
| + /// - "SEPIA" : A recolor effect that recolors the image using the sepia
|
| + /// color.
|
| + /// - "CUSTOM" : Custom recolor effect. Refer to `recolor_stops` for the
|
| + /// concrete
|
| + /// gradient.
|
| core.String name;
|
| - /**
|
| - * The recolor effect is represented by a gradient, which is a list of color
|
| - * stops.
|
| - *
|
| - * The colors in the gradient will replace the corresponding colors at
|
| - * the same position in the color palette and apply to the image. This
|
| - * property is read-only.
|
| - */
|
| +
|
| + /// The recolor effect is represented by a gradient, which is a list of color
|
| + /// stops.
|
| + ///
|
| + /// The colors in the gradient will replace the corresponding colors at
|
| + /// the same position in the color palette and apply to the image. This
|
| + /// property is read-only.
|
| core.List<ColorStop> recolorStops;
|
|
|
| Recolor();
|
| @@ -4135,31 +4185,34 @@ class Recolor {
|
| name = _json["name"];
|
| }
|
| if (_json.containsKey("recolorStops")) {
|
| - recolorStops = _json["recolorStops"].map((value) => new ColorStop.fromJson(value)).toList();
|
| + recolorStops = _json["recolorStops"]
|
| + .map((value) => new ColorStop.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (name != null) {
|
| _json["name"] = name;
|
| }
|
| if (recolorStops != null) {
|
| - _json["recolorStops"] = recolorStops.map((value) => (value).toJson()).toList();
|
| + _json["recolorStops"] =
|
| + recolorStops.map((value) => (value).toJson()).toList();
|
| }
|
| return _json;
|
| }
|
| }
|
|
|
| -/**
|
| - * Refreshes an embedded Google Sheets chart by replacing it with the latest
|
| - * version of the chart from Google Sheets.
|
| - *
|
| - * NOTE: Refreshing charts requires at least one of the spreadsheets.readonly,
|
| - * spreadsheets, drive.readonly, or drive OAuth scopes.
|
| - */
|
| +/// Refreshes an embedded Google Sheets chart by replacing it with the latest
|
| +/// version of the chart from Google Sheets.
|
| +///
|
| +/// NOTE: Refreshing charts requires at least one of the
|
| +/// spreadsheets.readonly,
|
| +/// spreadsheets, drive.readonly, or drive OAuth scopes.
|
| class RefreshSheetsChartRequest {
|
| - /** The object ID of the chart to refresh. */
|
| + /// The object ID of the chart to refresh.
|
| core.String objectId;
|
|
|
| RefreshSheetsChartRequest();
|
| @@ -4171,7 +4224,8 @@ class RefreshSheetsChartRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (objectId != null) {
|
| _json["objectId"] = objectId;
|
| }
|
| @@ -4179,46 +4233,42 @@ class RefreshSheetsChartRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * Replaces all shapes that match the given criteria with the provided image.
|
| - */
|
| +/// Replaces all shapes that match the given criteria with the provided image.
|
| class ReplaceAllShapesWithImageRequest {
|
| - /**
|
| - * If set, this request will replace all of the shapes that contain the
|
| - * given text.
|
| - */
|
| + /// If set, this request will replace all of the shapes that contain the
|
| + /// given text.
|
| SubstringMatchCriteria containsText;
|
| - /**
|
| - * 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 in size,
|
| - * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| - * format.
|
| - */
|
| +
|
| + /// 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 in size,
|
| + /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| + /// format.
|
| + ///
|
| + /// The provided URL can be at maximum 2K bytes large.
|
| core.String imageUrl;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| core.List<core.String> pageObjectIds;
|
| - /**
|
| - * The replace method.
|
| - * Possible string values are:
|
| - * - "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.
|
| - */
|
| +
|
| + /// The replace method.
|
| + /// Possible string values are:
|
| + /// - "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.
|
| core.String replaceMethod;
|
|
|
| ReplaceAllShapesWithImageRequest();
|
| @@ -4239,7 +4289,8 @@ class ReplaceAllShapesWithImageRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (containsText != null) {
|
| _json["containsText"] = (containsText).toJson();
|
| }
|
| @@ -4256,9 +4307,9 @@ class ReplaceAllShapesWithImageRequest {
|
| }
|
| }
|
|
|
| -/** The result of replacing shapes with an image. */
|
| +/// The result of replacing shapes with an image.
|
| class ReplaceAllShapesWithImageResponse {
|
| - /** The number of shapes replaced with images. */
|
| + /// The number of shapes replaced with images.
|
| core.int occurrencesChanged;
|
|
|
| ReplaceAllShapesWithImageResponse();
|
| @@ -4270,7 +4321,8 @@ class ReplaceAllShapesWithImageResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (occurrencesChanged != null) {
|
| _json["occurrencesChanged"] = occurrencesChanged;
|
| }
|
| @@ -4278,44 +4330,42 @@ class ReplaceAllShapesWithImageResponse {
|
| }
|
| }
|
|
|
| -/**
|
| - * 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.
|
| - */
|
| +/// 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.
|
| class ReplaceAllShapesWithSheetsChartRequest {
|
| - /** The ID of the specific chart in the Google Sheets spreadsheet. */
|
| + /// The ID of the specific chart in the Google Sheets spreadsheet.
|
| core.int chartId;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| SubstringMatchCriteria containsText;
|
| - /**
|
| - * 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.
|
| - * Possible string values are:
|
| - * - "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.
|
| - */
|
| +
|
| + /// 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.
|
| + /// Possible string values are:
|
| + /// - "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.
|
| core.String linkingMode;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| core.List<core.String> pageObjectIds;
|
| - /** The ID of the Google Sheets spreadsheet that contains the chart. */
|
| +
|
| + /// The ID of the Google Sheets spreadsheet that contains the chart.
|
| core.String spreadsheetId;
|
|
|
| ReplaceAllShapesWithSheetsChartRequest();
|
| @@ -4339,7 +4389,8 @@ class ReplaceAllShapesWithSheetsChartRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (chartId != null) {
|
| _json["chartId"] = chartId;
|
| }
|
| @@ -4359,9 +4410,9 @@ class ReplaceAllShapesWithSheetsChartRequest {
|
| }
|
| }
|
|
|
| -/** The result of replacing shapes with a Google Sheets chart. */
|
| +/// The result of replacing shapes with a Google Sheets chart.
|
| class ReplaceAllShapesWithSheetsChartResponse {
|
| - /** The number of shapes replaced with charts. */
|
| + /// The number of shapes replaced with charts.
|
| core.int occurrencesChanged;
|
|
|
| ReplaceAllShapesWithSheetsChartResponse();
|
| @@ -4373,7 +4424,8 @@ class ReplaceAllShapesWithSheetsChartResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (occurrencesChanged != null) {
|
| _json["occurrencesChanged"] = occurrencesChanged;
|
| }
|
| @@ -4381,19 +4433,20 @@ class ReplaceAllShapesWithSheetsChartResponse {
|
| }
|
| }
|
|
|
| -/** Replaces all instances of text matching a criteria with replace text. */
|
| +/// Replaces all instances of text matching a criteria with replace text.
|
| class ReplaceAllTextRequest {
|
| - /** Finds text in a shape matching this substring. */
|
| + /// Finds text in a shape matching this substring.
|
| SubstringMatchCriteria containsText;
|
| - /**
|
| - * 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 master,
|
| - * or if a page with that object ID doesn't exist in the presentation.
|
| - */
|
| +
|
| + /// 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 master,
|
| + /// or if a page with that object ID doesn't exist in the presentation.
|
| core.List<core.String> pageObjectIds;
|
| - /** The text that will replace the matched text. */
|
| +
|
| + /// The text that will replace the matched text.
|
| core.String replaceText;
|
|
|
| ReplaceAllTextRequest();
|
| @@ -4411,7 +4464,8 @@ class ReplaceAllTextRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (containsText != null) {
|
| _json["containsText"] = (containsText).toJson();
|
| }
|
| @@ -4425,9 +4479,9 @@ class ReplaceAllTextRequest {
|
| }
|
| }
|
|
|
| -/** The result of replacing text. */
|
| +/// The result of replacing text.
|
| class ReplaceAllTextResponse {
|
| - /** The number of occurrences changed by replacing all text. */
|
| + /// The number of occurrences changed by replacing all text.
|
| core.int occurrencesChanged;
|
|
|
| ReplaceAllTextResponse();
|
| @@ -4439,7 +4493,8 @@ class ReplaceAllTextResponse {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (occurrencesChanged != null) {
|
| _json["occurrencesChanged"] = occurrencesChanged;
|
| }
|
| @@ -4447,69 +4502,99 @@ class ReplaceAllTextResponse {
|
| }
|
| }
|
|
|
| -/** A single kind of update to apply to a presentation. */
|
| +/// A single kind of update to apply to a presentation.
|
| class Request {
|
| - /** Creates an image. */
|
| + /// Creates an image.
|
| CreateImageRequest createImage;
|
| - /** Creates a line. */
|
| +
|
| + /// Creates a line.
|
| CreateLineRequest createLine;
|
| - /** Creates bullets for paragraphs. */
|
| +
|
| + /// Creates bullets for paragraphs.
|
| CreateParagraphBulletsRequest createParagraphBullets;
|
| - /** Creates a new shape. */
|
| +
|
| + /// Creates a new shape.
|
| CreateShapeRequest createShape;
|
| - /** Creates an embedded Google Sheets chart. */
|
| +
|
| + /// Creates an embedded Google Sheets chart.
|
| CreateSheetsChartRequest createSheetsChart;
|
| - /** Creates a new slide. */
|
| +
|
| + /// Creates a new slide.
|
| CreateSlideRequest createSlide;
|
| - /** Creates a new table. */
|
| +
|
| + /// Creates a new table.
|
| CreateTableRequest createTable;
|
| - /** Creates a video. */
|
| +
|
| + /// Creates a video.
|
| CreateVideoRequest createVideo;
|
| - /** Deletes a page or page element from the presentation. */
|
| +
|
| + /// Deletes a page or page element from the presentation.
|
| DeleteObjectRequest deleteObject;
|
| - /** Deletes bullets from paragraphs. */
|
| +
|
| + /// Deletes bullets from paragraphs.
|
| DeleteParagraphBulletsRequest deleteParagraphBullets;
|
| - /** Deletes a column from a table. */
|
| +
|
| + /// Deletes a column from a table.
|
| DeleteTableColumnRequest deleteTableColumn;
|
| - /** Deletes a row from a table. */
|
| +
|
| + /// Deletes a row from a table.
|
| DeleteTableRowRequest deleteTableRow;
|
| - /** Deletes text from a shape or a table cell. */
|
| +
|
| + /// Deletes text from a shape or a table cell.
|
| DeleteTextRequest deleteText;
|
| - /** Duplicates a slide or page element. */
|
| +
|
| + /// Duplicates a slide or page element.
|
| DuplicateObjectRequest duplicateObject;
|
| - /** Inserts columns into a table. */
|
| +
|
| + /// Inserts columns into a table.
|
| InsertTableColumnsRequest insertTableColumns;
|
| - /** Inserts rows into a table. */
|
| +
|
| + /// Inserts rows into a table.
|
| InsertTableRowsRequest insertTableRows;
|
| - /** Inserts text into a shape or table cell. */
|
| +
|
| + /// Inserts text into a shape or table cell.
|
| InsertTextRequest insertText;
|
| - /** Refreshes a Google Sheets chart. */
|
| +
|
| + /// Refreshes a Google Sheets chart.
|
| RefreshSheetsChartRequest refreshSheetsChart;
|
| - /** Replaces all shapes matching some criteria with an image. */
|
| +
|
| + /// Replaces all shapes matching some criteria with an image.
|
| ReplaceAllShapesWithImageRequest replaceAllShapesWithImage;
|
| - /** Replaces all shapes matching some criteria with a Google Sheets chart. */
|
| +
|
| + /// Replaces all shapes matching some criteria with a Google Sheets chart.
|
| ReplaceAllShapesWithSheetsChartRequest replaceAllShapesWithSheetsChart;
|
| - /** Replaces all instances of specified text. */
|
| +
|
| + /// Replaces all instances of specified text.
|
| ReplaceAllTextRequest replaceAllText;
|
| - /** Updates the properties of an Image. */
|
| +
|
| + /// Updates the properties of an Image.
|
| UpdateImagePropertiesRequest updateImageProperties;
|
| - /** Updates the properties of a Line. */
|
| +
|
| + /// Updates the properties of a Line.
|
| UpdateLinePropertiesRequest updateLineProperties;
|
| - /** Updates the transform of a page element. */
|
| +
|
| + /// Updates the transform of a page element.
|
| UpdatePageElementTransformRequest updatePageElementTransform;
|
| - /** Updates the properties of a Page. */
|
| +
|
| + /// Updates the properties of a Page.
|
| UpdatePagePropertiesRequest updatePageProperties;
|
| - /** Updates the styling of paragraphs within a Shape or Table. */
|
| +
|
| + /// Updates the styling of paragraphs within a Shape or Table.
|
| UpdateParagraphStyleRequest updateParagraphStyle;
|
| - /** Updates the properties of a Shape. */
|
| +
|
| + /// Updates the properties of a Shape.
|
| UpdateShapePropertiesRequest updateShapeProperties;
|
| - /** Updates the position of a set of slides in the presentation. */
|
| +
|
| + /// Updates the position of a set of slides in the presentation.
|
| UpdateSlidesPositionRequest updateSlidesPosition;
|
| - /** Updates the properties of a TableCell. */
|
| +
|
| + /// Updates the properties of a TableCell.
|
| UpdateTableCellPropertiesRequest updateTableCellProperties;
|
| - /** Updates the styling of text within a Shape or Table. */
|
| +
|
| + /// Updates the styling of text within a Shape or Table.
|
| UpdateTextStyleRequest updateTextStyle;
|
| - /** Updates the properties of a Video. */
|
| +
|
| + /// Updates the properties of a Video.
|
| UpdateVideoPropertiesRequest updateVideoProperties;
|
|
|
| Request();
|
| @@ -4522,13 +4607,15 @@ class Request {
|
| createLine = new CreateLineRequest.fromJson(_json["createLine"]);
|
| }
|
| if (_json.containsKey("createParagraphBullets")) {
|
| - createParagraphBullets = new CreateParagraphBulletsRequest.fromJson(_json["createParagraphBullets"]);
|
| + createParagraphBullets = new CreateParagraphBulletsRequest.fromJson(
|
| + _json["createParagraphBullets"]);
|
| }
|
| if (_json.containsKey("createShape")) {
|
| createShape = new CreateShapeRequest.fromJson(_json["createShape"]);
|
| }
|
| if (_json.containsKey("createSheetsChart")) {
|
| - createSheetsChart = new CreateSheetsChartRequest.fromJson(_json["createSheetsChart"]);
|
| + createSheetsChart =
|
| + new CreateSheetsChartRequest.fromJson(_json["createSheetsChart"]);
|
| }
|
| if (_json.containsKey("createSlide")) {
|
| createSlide = new CreateSlideRequest.fromJson(_json["createSlide"]);
|
| @@ -4543,75 +4630,98 @@ class Request {
|
| deleteObject = new DeleteObjectRequest.fromJson(_json["deleteObject"]);
|
| }
|
| if (_json.containsKey("deleteParagraphBullets")) {
|
| - deleteParagraphBullets = new DeleteParagraphBulletsRequest.fromJson(_json["deleteParagraphBullets"]);
|
| + deleteParagraphBullets = new DeleteParagraphBulletsRequest.fromJson(
|
| + _json["deleteParagraphBullets"]);
|
| }
|
| if (_json.containsKey("deleteTableColumn")) {
|
| - deleteTableColumn = new DeleteTableColumnRequest.fromJson(_json["deleteTableColumn"]);
|
| + deleteTableColumn =
|
| + new DeleteTableColumnRequest.fromJson(_json["deleteTableColumn"]);
|
| }
|
| if (_json.containsKey("deleteTableRow")) {
|
| - deleteTableRow = new DeleteTableRowRequest.fromJson(_json["deleteTableRow"]);
|
| + deleteTableRow =
|
| + new DeleteTableRowRequest.fromJson(_json["deleteTableRow"]);
|
| }
|
| if (_json.containsKey("deleteText")) {
|
| deleteText = new DeleteTextRequest.fromJson(_json["deleteText"]);
|
| }
|
| if (_json.containsKey("duplicateObject")) {
|
| - duplicateObject = new DuplicateObjectRequest.fromJson(_json["duplicateObject"]);
|
| + duplicateObject =
|
| + new DuplicateObjectRequest.fromJson(_json["duplicateObject"]);
|
| }
|
| if (_json.containsKey("insertTableColumns")) {
|
| - insertTableColumns = new InsertTableColumnsRequest.fromJson(_json["insertTableColumns"]);
|
| + insertTableColumns =
|
| + new InsertTableColumnsRequest.fromJson(_json["insertTableColumns"]);
|
| }
|
| if (_json.containsKey("insertTableRows")) {
|
| - insertTableRows = new InsertTableRowsRequest.fromJson(_json["insertTableRows"]);
|
| + insertTableRows =
|
| + new InsertTableRowsRequest.fromJson(_json["insertTableRows"]);
|
| }
|
| if (_json.containsKey("insertText")) {
|
| insertText = new InsertTextRequest.fromJson(_json["insertText"]);
|
| }
|
| if (_json.containsKey("refreshSheetsChart")) {
|
| - refreshSheetsChart = new RefreshSheetsChartRequest.fromJson(_json["refreshSheetsChart"]);
|
| + refreshSheetsChart =
|
| + new RefreshSheetsChartRequest.fromJson(_json["refreshSheetsChart"]);
|
| }
|
| if (_json.containsKey("replaceAllShapesWithImage")) {
|
| - replaceAllShapesWithImage = new ReplaceAllShapesWithImageRequest.fromJson(_json["replaceAllShapesWithImage"]);
|
| + replaceAllShapesWithImage = new ReplaceAllShapesWithImageRequest.fromJson(
|
| + _json["replaceAllShapesWithImage"]);
|
| }
|
| if (_json.containsKey("replaceAllShapesWithSheetsChart")) {
|
| - replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartRequest.fromJson(_json["replaceAllShapesWithSheetsChart"]);
|
| + replaceAllShapesWithSheetsChart =
|
| + new ReplaceAllShapesWithSheetsChartRequest.fromJson(
|
| + _json["replaceAllShapesWithSheetsChart"]);
|
| }
|
| if (_json.containsKey("replaceAllText")) {
|
| - replaceAllText = new ReplaceAllTextRequest.fromJson(_json["replaceAllText"]);
|
| + replaceAllText =
|
| + new ReplaceAllTextRequest.fromJson(_json["replaceAllText"]);
|
| }
|
| if (_json.containsKey("updateImageProperties")) {
|
| - updateImageProperties = new UpdateImagePropertiesRequest.fromJson(_json["updateImageProperties"]);
|
| + updateImageProperties = new UpdateImagePropertiesRequest.fromJson(
|
| + _json["updateImageProperties"]);
|
| }
|
| if (_json.containsKey("updateLineProperties")) {
|
| - updateLineProperties = new UpdateLinePropertiesRequest.fromJson(_json["updateLineProperties"]);
|
| + updateLineProperties = new UpdateLinePropertiesRequest.fromJson(
|
| + _json["updateLineProperties"]);
|
| }
|
| if (_json.containsKey("updatePageElementTransform")) {
|
| - updatePageElementTransform = new UpdatePageElementTransformRequest.fromJson(_json["updatePageElementTransform"]);
|
| + updatePageElementTransform =
|
| + new UpdatePageElementTransformRequest.fromJson(
|
| + _json["updatePageElementTransform"]);
|
| }
|
| if (_json.containsKey("updatePageProperties")) {
|
| - updatePageProperties = new UpdatePagePropertiesRequest.fromJson(_json["updatePageProperties"]);
|
| + updatePageProperties = new UpdatePagePropertiesRequest.fromJson(
|
| + _json["updatePageProperties"]);
|
| }
|
| if (_json.containsKey("updateParagraphStyle")) {
|
| - updateParagraphStyle = new UpdateParagraphStyleRequest.fromJson(_json["updateParagraphStyle"]);
|
| + updateParagraphStyle = new UpdateParagraphStyleRequest.fromJson(
|
| + _json["updateParagraphStyle"]);
|
| }
|
| if (_json.containsKey("updateShapeProperties")) {
|
| - updateShapeProperties = new UpdateShapePropertiesRequest.fromJson(_json["updateShapeProperties"]);
|
| + updateShapeProperties = new UpdateShapePropertiesRequest.fromJson(
|
| + _json["updateShapeProperties"]);
|
| }
|
| if (_json.containsKey("updateSlidesPosition")) {
|
| - updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson(_json["updateSlidesPosition"]);
|
| + updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson(
|
| + _json["updateSlidesPosition"]);
|
| }
|
| if (_json.containsKey("updateTableCellProperties")) {
|
| - updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson(_json["updateTableCellProperties"]);
|
| + updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson(
|
| + _json["updateTableCellProperties"]);
|
| }
|
| if (_json.containsKey("updateTextStyle")) {
|
| - updateTextStyle = new UpdateTextStyleRequest.fromJson(_json["updateTextStyle"]);
|
| + updateTextStyle =
|
| + new UpdateTextStyleRequest.fromJson(_json["updateTextStyle"]);
|
| }
|
| if (_json.containsKey("updateVideoProperties")) {
|
| - updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson(_json["updateVideoProperties"]);
|
| + updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson(
|
| + _json["updateVideoProperties"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (createImage != null) {
|
| _json["createImage"] = (createImage).toJson();
|
| }
|
| @@ -4670,7 +4780,8 @@ class Request {
|
| _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson();
|
| }
|
| if (replaceAllShapesWithSheetsChart != null) {
|
| - _json["replaceAllShapesWithSheetsChart"] = (replaceAllShapesWithSheetsChart).toJson();
|
| + _json["replaceAllShapesWithSheetsChart"] =
|
| + (replaceAllShapesWithSheetsChart).toJson();
|
| }
|
| if (replaceAllText != null) {
|
| _json["replaceAllText"] = (replaceAllText).toJson();
|
| @@ -4682,7 +4793,8 @@ class Request {
|
| _json["updateLineProperties"] = (updateLineProperties).toJson();
|
| }
|
| if (updatePageElementTransform != null) {
|
| - _json["updatePageElementTransform"] = (updatePageElementTransform).toJson();
|
| + _json["updatePageElementTransform"] =
|
| + (updatePageElementTransform).toJson();
|
| }
|
| if (updatePageProperties != null) {
|
| _json["updatePageProperties"] = (updatePageProperties).toJson();
|
| @@ -4709,35 +4821,41 @@ class Request {
|
| }
|
| }
|
|
|
| -/** A single response from an update. */
|
| +/// A single response from an update.
|
| class Response {
|
| - /** The result of creating an image. */
|
| + /// The result of creating an image.
|
| CreateImageResponse createImage;
|
| - /** The result of creating a line. */
|
| +
|
| + /// The result of creating a line.
|
| CreateLineResponse createLine;
|
| - /** The result of creating a shape. */
|
| +
|
| + /// The result of creating a shape.
|
| CreateShapeResponse createShape;
|
| - /** The result of creating a Google Sheets chart. */
|
| +
|
| + /// The result of creating a Google Sheets chart.
|
| CreateSheetsChartResponse createSheetsChart;
|
| - /** The result of creating a slide. */
|
| +
|
| + /// The result of creating a slide.
|
| CreateSlideResponse createSlide;
|
| - /** The result of creating a table. */
|
| +
|
| + /// The result of creating a table.
|
| CreateTableResponse createTable;
|
| - /** The result of creating a video. */
|
| +
|
| + /// The result of creating a video.
|
| CreateVideoResponse createVideo;
|
| - /** The result of duplicating an object. */
|
| +
|
| + /// The result of duplicating an object.
|
| DuplicateObjectResponse duplicateObject;
|
| - /**
|
| - * The result of replacing all shapes matching some criteria with an
|
| - * image.
|
| - */
|
| +
|
| + /// The result of replacing all shapes matching some criteria with an
|
| + /// image.
|
| ReplaceAllShapesWithImageResponse replaceAllShapesWithImage;
|
| - /**
|
| - * The result of replacing all shapes matching some criteria with a Google
|
| - * Sheets chart.
|
| - */
|
| +
|
| + /// The result of replacing all shapes matching some criteria with a Google
|
| + /// Sheets chart.
|
| ReplaceAllShapesWithSheetsChartResponse replaceAllShapesWithSheetsChart;
|
| - /** The result of replacing text. */
|
| +
|
| + /// The result of replacing text.
|
| ReplaceAllTextResponse replaceAllText;
|
|
|
| Response();
|
| @@ -4753,7 +4871,8 @@ class Response {
|
| createShape = new CreateShapeResponse.fromJson(_json["createShape"]);
|
| }
|
| if (_json.containsKey("createSheetsChart")) {
|
| - createSheetsChart = new CreateSheetsChartResponse.fromJson(_json["createSheetsChart"]);
|
| + createSheetsChart =
|
| + new CreateSheetsChartResponse.fromJson(_json["createSheetsChart"]);
|
| }
|
| if (_json.containsKey("createSlide")) {
|
| createSlide = new CreateSlideResponse.fromJson(_json["createSlide"]);
|
| @@ -4765,21 +4884,28 @@ class Response {
|
| createVideo = new CreateVideoResponse.fromJson(_json["createVideo"]);
|
| }
|
| if (_json.containsKey("duplicateObject")) {
|
| - duplicateObject = new DuplicateObjectResponse.fromJson(_json["duplicateObject"]);
|
| + duplicateObject =
|
| + new DuplicateObjectResponse.fromJson(_json["duplicateObject"]);
|
| }
|
| if (_json.containsKey("replaceAllShapesWithImage")) {
|
| - replaceAllShapesWithImage = new ReplaceAllShapesWithImageResponse.fromJson(_json["replaceAllShapesWithImage"]);
|
| + replaceAllShapesWithImage =
|
| + new ReplaceAllShapesWithImageResponse.fromJson(
|
| + _json["replaceAllShapesWithImage"]);
|
| }
|
| if (_json.containsKey("replaceAllShapesWithSheetsChart")) {
|
| - replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartResponse.fromJson(_json["replaceAllShapesWithSheetsChart"]);
|
| + replaceAllShapesWithSheetsChart =
|
| + new ReplaceAllShapesWithSheetsChartResponse.fromJson(
|
| + _json["replaceAllShapesWithSheetsChart"]);
|
| }
|
| if (_json.containsKey("replaceAllText")) {
|
| - replaceAllText = new ReplaceAllTextResponse.fromJson(_json["replaceAllText"]);
|
| + replaceAllText =
|
| + new ReplaceAllTextResponse.fromJson(_json["replaceAllText"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (createImage != null) {
|
| _json["createImage"] = (createImage).toJson();
|
| }
|
| @@ -4808,7 +4934,8 @@ class Response {
|
| _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson();
|
| }
|
| if (replaceAllShapesWithSheetsChart != null) {
|
| - _json["replaceAllShapesWithSheetsChart"] = (replaceAllShapesWithSheetsChart).toJson();
|
| + _json["replaceAllShapesWithSheetsChart"] =
|
| + (replaceAllShapesWithSheetsChart).toJson();
|
| }
|
| if (replaceAllText != null) {
|
| _json["replaceAllText"] = (replaceAllText).toJson();
|
| @@ -4817,13 +4944,15 @@ class Response {
|
| }
|
| }
|
|
|
| -/** An RGB color. */
|
| +/// An RGB color.
|
| class RgbColor {
|
| - /** The blue component of the color, from 0.0 to 1.0. */
|
| + /// The blue component of the color, from 0.0 to 1.0.
|
| core.double blue;
|
| - /** The green component of the color, from 0.0 to 1.0. */
|
| +
|
| + /// The green component of the color, from 0.0 to 1.0.
|
| core.double green;
|
| - /** The red component of the color, from 0.0 to 1.0. */
|
| +
|
| + /// The red component of the color, from 0.0 to 1.0.
|
| core.double red;
|
|
|
| RgbColor();
|
| @@ -4841,7 +4970,8 @@ class RgbColor {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (blue != null) {
|
| _json["blue"] = blue;
|
| }
|
| @@ -4855,80 +4985,81 @@ class RgbColor {
|
| }
|
| }
|
|
|
| -/**
|
| - * The shadow properties of a page element.
|
| - *
|
| - * If these fields are unset, they may be inherited from a parent placeholder
|
| - * if it exists. If there is no parent, the fields will default to the value
|
| - * used for new page elements created in the Slides editor, which may depend on
|
| - * the page element kind.
|
| - */
|
| +/// The shadow properties of a page element.
|
| +///
|
| +/// If these fields are unset, they may be inherited from a parent placeholder
|
| +/// if it exists. If there is no parent, the fields will default to the value
|
| +/// used for new page elements created in the Slides editor, which may depend
|
| +/// on
|
| +/// the page element kind.
|
| class Shadow {
|
| - /**
|
| - * The alignment point of the shadow, that sets the origin for translate,
|
| - * scale and skew of the shadow.
|
| - * Possible string values are:
|
| - * - "RECTANGLE_POSITION_UNSPECIFIED" : Unspecified.
|
| - * - "TOP_LEFT" : Top left.
|
| - * - "TOP_CENTER" : Top center.
|
| - * - "TOP_RIGHT" : Top right.
|
| - * - "LEFT_CENTER" : Left center.
|
| - * - "CENTER" : Center.
|
| - * - "RIGHT_CENTER" : Right center.
|
| - * - "BOTTOM_LEFT" : Bottom left.
|
| - * - "BOTTOM_CENTER" : Bottom center.
|
| - * - "BOTTOM_RIGHT" : Bottom right.
|
| - */
|
| + /// The alignment point of the shadow, that sets the origin for translate,
|
| + /// scale and skew of the shadow.
|
| + /// Possible string values are:
|
| + /// - "RECTANGLE_POSITION_UNSPECIFIED" : Unspecified.
|
| + /// - "TOP_LEFT" : Top left.
|
| + /// - "TOP_CENTER" : Top center.
|
| + /// - "TOP_RIGHT" : Top right.
|
| + /// - "LEFT_CENTER" : Left center.
|
| + /// - "CENTER" : Center.
|
| + /// - "RIGHT_CENTER" : Right center.
|
| + /// - "BOTTOM_LEFT" : Bottom left.
|
| + /// - "BOTTOM_CENTER" : Bottom center.
|
| + /// - "BOTTOM_RIGHT" : Bottom right.
|
| core.String alignment;
|
| - /** The alpha of the shadow's color, from 0.0 to 1.0. */
|
| +
|
| + /// The alpha of the shadow's color, from 0.0 to 1.0.
|
| core.double alpha;
|
| - /**
|
| - * The radius of the shadow blur. The larger the radius, the more diffuse the
|
| - * shadow becomes.
|
| - */
|
| +
|
| + /// The radius of the shadow blur. The larger the radius, the more diffuse
|
| + /// the
|
| + /// shadow becomes.
|
| Dimension blurRadius;
|
| - /** The shadow color value. */
|
| +
|
| + /// The shadow color value.
|
| OpaqueColor color;
|
| - /**
|
| - * The shadow property state.
|
| - *
|
| - * Updating the the shadow on a page element will implicitly update this field
|
| - * to `RENDERED`, unless another value is specified in the same request. To
|
| - * have no shadow on a page element, set this field to `NOT_RENDERED`. In this
|
| - * case, any other shadow fields set in the same request will be ignored.
|
| - * Possible string values are:
|
| - * - "RENDERED" : If a property's state is RENDERED, then the element has the
|
| - * corresponding
|
| - * property when rendered on a page. If the element is a placeholder shape as
|
| - * determined by the placeholder
|
| - * field, and it inherits from a placeholder shape, the corresponding field
|
| - * may be unset, meaning that the property value is inherited from a parent
|
| - * placeholder. If the element does not inherit, then the field will contain
|
| - * the rendered value. This is the default value.
|
| - * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element
|
| - * does not have the
|
| - * corresponding property when rendered on a page. However, the field may
|
| - * still be set so it can be inherited by child shapes. To remove a property
|
| - * from a rendered element, set its property_state to NOT_RENDERED.
|
| - * - "INHERIT" : If a property's state is INHERIT, then the property state
|
| - * uses the value of
|
| - * corresponding `property_state` field on the parent shape. Elements that do
|
| - * not inherit will never have an INHERIT property state.
|
| - */
|
| +
|
| + /// The shadow property state.
|
| + ///
|
| + /// Updating the the shadow on a page element will implicitly update this
|
| + /// field
|
| + /// to `RENDERED`, unless another value is specified in the same request. To
|
| + /// have no shadow on a page element, set this field to `NOT_RENDERED`. In
|
| + /// this
|
| + /// case, any other shadow fields set in the same request will be ignored.
|
| + /// Possible string values are:
|
| + /// - "RENDERED" : If a property's state is RENDERED, then the element has
|
| + /// the corresponding
|
| + /// property when rendered on a page. If the element is a placeholder shape
|
| + /// as
|
| + /// determined by the placeholder
|
| + /// field, and it inherits from a placeholder shape, the corresponding field
|
| + /// may be unset, meaning that the property value is inherited from a parent
|
| + /// placeholder. If the element does not inherit, then the field will contain
|
| + /// the rendered value. This is the default value.
|
| + /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the
|
| + /// element does not have the
|
| + /// corresponding property when rendered on a page. However, the field may
|
| + /// still be set so it can be inherited by child shapes. To remove a property
|
| + /// from a rendered element, set its property_state to NOT_RENDERED.
|
| + /// - "INHERIT" : If a property's state is INHERIT, then the property state
|
| + /// uses the value of
|
| + /// corresponding `property_state` field on the parent shape. Elements that
|
| + /// do
|
| + /// not inherit will never have an INHERIT property state.
|
| core.String propertyState;
|
| - /** Whether the shadow should rotate with the shape. */
|
| +
|
| + /// Whether the shadow should rotate with the shape.
|
| core.bool rotateWithShape;
|
| - /**
|
| - * Transform that encodes the translate, scale, and skew of the shadow,
|
| - * relative to the alignment position.
|
| - */
|
| +
|
| + /// Transform that encodes the translate, scale, and skew of the shadow,
|
| + /// relative to the alignment position.
|
| AffineTransform transform;
|
| - /**
|
| - * The type of the shadow.
|
| - * Possible string values are:
|
| - * - "SHADOW_TYPE_UNSPECIFIED" : Unspecified shadow type.
|
| - * - "OUTER" : Outer shadow.
|
| - */
|
| +
|
| + /// The type of the shadow.
|
| + /// Possible string values are:
|
| + /// - "SHADOW_TYPE_UNSPECIFIED" : Unspecified shadow type.
|
| + /// - "OUTER" : Outer shadow.
|
| core.String type;
|
|
|
| Shadow();
|
| @@ -4961,7 +5092,8 @@ class Shadow {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (alignment != null) {
|
| _json["alignment"] = alignment;
|
| }
|
| @@ -4990,342 +5122,346 @@ class Shadow {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing a
|
| - * generic shape that does not have a more specific classification.
|
| - */
|
| +/// A PageElement kind representing a
|
| +/// generic shape that does not have a more specific classification.
|
| class Shape {
|
| - /**
|
| - * Placeholders are shapes that are inherit from corresponding placeholders on
|
| - * layouts and masters.
|
| - *
|
| - * If set, the shape is a placeholder shape and any inherited properties
|
| - * can be resolved by looking at the parent placeholder identified by the
|
| - * Placeholder.parent_object_id field.
|
| - */
|
| + /// Placeholders are shapes that are inherit from corresponding placeholders
|
| + /// on
|
| + /// layouts and masters.
|
| + ///
|
| + /// If set, the shape is a placeholder shape and any inherited properties
|
| + /// can be resolved by looking at the parent placeholder identified by the
|
| + /// Placeholder.parent_object_id field.
|
| Placeholder placeholder;
|
| - /** The properties of the shape. */
|
| +
|
| + /// The properties of the shape.
|
| ShapeProperties shapeProperties;
|
| - /**
|
| - * The type of the shape.
|
| - * Possible string values are:
|
| - * - "TYPE_UNSPECIFIED" : The shape type that is not predefined.
|
| - * - "TEXT_BOX" : Text box shape.
|
| - * - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rect'.
|
| - * - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'roundRect'
|
| - * - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'
|
| - * - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'
|
| - * - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bentArrow'
|
| - * - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'bentUpArrow'
|
| - * - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'
|
| - * - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'blockArc'
|
| - * - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bracePair'
|
| - * - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'bracketPair'
|
| - * - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'
|
| - * - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'
|
| - * - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'
|
| - * - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'
|
| - * - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'
|
| - * - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'
|
| - * - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedDownArrow'
|
| - * - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedLeftArrow'
|
| - * - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedRightArrow'
|
| - * - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'curvedUpArrow'
|
| - * - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'
|
| - * - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'diagStripe'
|
| - * - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'
|
| - * - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'dodecagon'
|
| - * - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'
|
| - * - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'doubleWave'
|
| - * - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'downArrow'
|
| - * - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'downArrowCallout'
|
| - * - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'foldedCorner'
|
| - * - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'
|
| - * - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'halfFrame'
|
| - * - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'
|
| - * - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'heptagon'
|
| - * - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'
|
| - * - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'homePlate'
|
| - * - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'horizontalScroll'
|
| - * - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'irregularSeal1'
|
| - * - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'irregularSeal2'
|
| - * - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftArrow'
|
| - * - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'leftArrowCallout'
|
| - * - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftBrace'
|
| - * - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'leftBracket'
|
| - * - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'leftRightArrow'
|
| - * - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'leftRightArrowCallout'
|
| - * - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'leftRightUpArrow'
|
| - * - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'leftUpArrow'
|
| - * - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'lightningBolt'
|
| - * - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathDivide'
|
| - * - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathEqual'
|
| - * - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathMinus'
|
| - * - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'mathMultiply'
|
| - * - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'mathNotEqual'
|
| - * - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'mathPlus'
|
| - * - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'
|
| - * - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'noSmoking'
|
| - * - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'notchedRightArrow'
|
| - * - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'
|
| - * - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'parallelogram'
|
| - * - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'pentagon'
|
| - * - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'
|
| - * - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'
|
| - * - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'
|
| - * - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'quadArrow'
|
| - * - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'quadArrowCallout'
|
| - * - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'
|
| - * - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'ribbon2'
|
| - * - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rightArrow'
|
| - * - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'rightArrowCallout'
|
| - * - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'rightBrace'
|
| - * - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'rightBracket'
|
| - * - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'round1Rect'
|
| - * - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'round2DiagRect'
|
| - * - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'round2SameRect'
|
| - * - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'rtTriangle'
|
| - * - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'smileyFace'
|
| - * - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'snip1Rect'
|
| - * - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snip2DiagRect'
|
| - * - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snip2SameRect'
|
| - * - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape.
|
| - * Corresponds to ECMA-376
|
| - * ST_ShapeType 'snipRoundRect'
|
| - * - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star10'
|
| - * - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'star12'
|
| - * - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'star16'
|
| - * - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'star24'
|
| - * - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'star32'
|
| - * - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star4'
|
| - * - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star5'
|
| - * - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star6'
|
| - * - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star7'
|
| - * - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'star8'
|
| - * - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'stripedRightArrow'
|
| - * - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'
|
| - * - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'trapezoid'
|
| - * - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'triangle'
|
| - * - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'upArrow'
|
| - * - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'upArrowCallout'
|
| - * - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'upDownArrow'
|
| - * - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'uturnArrow'
|
| - * - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'verticalScroll'
|
| - * - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'
|
| - * - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'wedgeEllipseCallout'
|
| - * - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'wedgeRectCallout'
|
| - * - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'wedgeRoundRectCallout'
|
| - * - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartAlternateProcess'
|
| - * - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartCollate'
|
| - * - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartConnector'
|
| - * - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDecision'
|
| - * - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'flowChartDelay'
|
| - * - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDisplay'
|
| - * - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartDocument'
|
| - * - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartExtract'
|
| - * - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartInputOutput'
|
| - * - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartInternalStorage'
|
| - * - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticDisk'
|
| - * - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticDrum'
|
| - * - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMagneticTape'
|
| - * - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartManualInput'
|
| - * - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartManualOperation'
|
| - * - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'flowChartMerge'
|
| - * - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartMultidocument'
|
| - * - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartOfflineStorage'
|
| - * - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartOffpageConnector'
|
| - * - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartOnlineStorage'
|
| - * - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartOr'
|
| - * - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape.
|
| - * Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartPredefinedProcess'
|
| - * - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPreparation'
|
| - * - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartProcess'
|
| - * - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPunchedCard'
|
| - * - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to
|
| - * ECMA-376 ST_ShapeType
|
| - * 'flowChartPunchedTape'
|
| - * - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'flowChartSort'
|
| - * - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. Corresponds
|
| - * to ECMA-376 ST_ShapeType
|
| - * 'flowChartSummingJunction'
|
| - * - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'flowChartTerminator'
|
| - * - "ARROW_EAST" : East arrow shape.
|
| - * - "ARROW_NORTH_EAST" : Northeast arrow shape.
|
| - * - "ARROW_NORTH" : North arrow shape.
|
| - * - "SPEECH" : Speech shape.
|
| - * - "STARBURST" : Star burst shape.
|
| - * - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType
|
| - * 'teardrop'
|
| - * - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'ellipseRibbon'
|
| - * - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376
|
| - * ST_ShapeType
|
| - * 'ellipseRibbon2'
|
| - * - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376
|
| - * ST_ShapeType 'cloudCallout'
|
| - * - "CUSTOM" : Custom shape.
|
| - */
|
| +
|
| + /// The type of the shape.
|
| + /// Possible string values are:
|
| + /// - "TYPE_UNSPECIFIED" : The shape type that is not predefined.
|
| + /// - "TEXT_BOX" : Text box shape.
|
| + /// - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rect'.
|
| + /// - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'roundRect'
|
| + /// - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'ellipse'
|
| + /// - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'
|
| + /// - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'bentArrow'
|
| + /// - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'bentUpArrow'
|
| + /// - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'
|
| + /// - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'blockArc'
|
| + /// - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'bracePair'
|
| + /// - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'bracketPair'
|
| + /// - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'
|
| + /// - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'chevron'
|
| + /// - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'
|
| + /// - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'
|
| + /// - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'
|
| + /// - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'
|
| + /// - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedDownArrow'
|
| + /// - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedLeftArrow'
|
| + /// - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'curvedRightArrow'
|
| + /// - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'curvedUpArrow'
|
| + /// - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'decagon'
|
| + /// - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'diagStripe'
|
| + /// - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'diamond'
|
| + /// - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'dodecagon'
|
| + /// - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'
|
| + /// - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'doubleWave'
|
| + /// - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'downArrow'
|
| + /// - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'downArrowCallout'
|
| + /// - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'foldedCorner'
|
| + /// - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'
|
| + /// - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'halfFrame'
|
| + /// - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'
|
| + /// - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'heptagon'
|
| + /// - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'hexagon'
|
| + /// - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'homePlate'
|
| + /// - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'horizontalScroll'
|
| + /// - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'irregularSeal1'
|
| + /// - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'irregularSeal2'
|
| + /// - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftArrow'
|
| + /// - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'leftArrowCallout'
|
| + /// - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftBrace'
|
| + /// - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'leftBracket'
|
| + /// - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'leftRightArrow'
|
| + /// - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'leftRightArrowCallout'
|
| + /// - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'leftRightUpArrow'
|
| + /// - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'leftUpArrow'
|
| + /// - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'lightningBolt'
|
| + /// - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathDivide'
|
| + /// - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathEqual'
|
| + /// - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathMinus'
|
| + /// - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'mathMultiply'
|
| + /// - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'mathNotEqual'
|
| + /// - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'mathPlus'
|
| + /// - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'
|
| + /// - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'noSmoking'
|
| + /// - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'notchedRightArrow'
|
| + /// - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'octagon'
|
| + /// - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'parallelogram'
|
| + /// - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'pentagon'
|
| + /// - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'
|
| + /// - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'
|
| + /// - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'
|
| + /// - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'quadArrow'
|
| + /// - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'quadArrowCallout'
|
| + /// - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'
|
| + /// - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'ribbon2'
|
| + /// - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rightArrow'
|
| + /// - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'rightArrowCallout'
|
| + /// - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'rightBrace'
|
| + /// - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'rightBracket'
|
| + /// - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'round1Rect'
|
| + /// - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle
|
| + /// shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'round2DiagRect'
|
| + /// - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'round2SameRect'
|
| + /// - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'rtTriangle'
|
| + /// - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'smileyFace'
|
| + /// - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'snip1Rect'
|
| + /// - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snip2DiagRect'
|
| + /// - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snip2SameRect'
|
| + /// - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape.
|
| + /// Corresponds to ECMA-376
|
| + /// ST_ShapeType 'snipRoundRect'
|
| + /// - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star10'
|
| + /// - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star12'
|
| + /// - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star16'
|
| + /// - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'star24'
|
| + /// - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'star32'
|
| + /// - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star4'
|
| + /// - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star5'
|
| + /// - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'star6'
|
| + /// - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star7'
|
| + /// - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'star8'
|
| + /// - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'stripedRightArrow'
|
| + /// - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'
|
| + /// - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'trapezoid'
|
| + /// - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'triangle'
|
| + /// - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'upArrow'
|
| + /// - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'upArrowCallout'
|
| + /// - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'upDownArrow'
|
| + /// - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'uturnArrow'
|
| + /// - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'verticalScroll'
|
| + /// - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'
|
| + /// - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'wedgeEllipseCallout'
|
| + /// - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds
|
| + /// to ECMA-376 ST_ShapeType
|
| + /// 'wedgeRectCallout'
|
| + /// - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'wedgeRoundRectCallout'
|
| + /// - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartAlternateProcess'
|
| + /// - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartCollate'
|
| + /// - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartConnector'
|
| + /// - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDecision'
|
| + /// - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartDelay'
|
| + /// - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDisplay'
|
| + /// - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartDocument'
|
| + /// - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartExtract'
|
| + /// - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartInputOutput'
|
| + /// - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartInternalStorage'
|
| + /// - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticDisk'
|
| + /// - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticDrum'
|
| + /// - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMagneticTape'
|
| + /// - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartManualInput'
|
| + /// - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartManualOperation'
|
| + /// - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartMerge'
|
| + /// - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartMultidocument'
|
| + /// - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds
|
| + /// to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOfflineStorage'
|
| + /// - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOffpageConnector'
|
| + /// - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartOnlineStorage'
|
| + /// - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartOr'
|
| + /// - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartPredefinedProcess'
|
| + /// - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPreparation'
|
| + /// - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'flowChartProcess'
|
| + /// - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPunchedCard'
|
| + /// - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartPunchedTape'
|
| + /// - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'flowChartSort'
|
| + /// - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape.
|
| + /// Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'flowChartSummingJunction'
|
| + /// - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to
|
| + /// ECMA-376 ST_ShapeType
|
| + /// 'flowChartTerminator'
|
| + /// - "ARROW_EAST" : East arrow shape.
|
| + /// - "ARROW_NORTH_EAST" : Northeast arrow shape.
|
| + /// - "ARROW_NORTH" : North arrow shape.
|
| + /// - "SPEECH" : Speech shape.
|
| + /// - "STARBURST" : Star burst shape.
|
| + /// - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType
|
| + /// 'teardrop'
|
| + /// - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'ellipseRibbon'
|
| + /// - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType
|
| + /// 'ellipseRibbon2'
|
| + /// - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376
|
| + /// ST_ShapeType 'cloudCallout'
|
| + /// - "CUSTOM" : Custom shape.
|
| core.String shapeType;
|
| - /** The text content of the shape. */
|
| +
|
| + /// The text content of the shape.
|
| TextContent text;
|
|
|
| Shape();
|
| @@ -5346,7 +5482,8 @@ class Shape {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (placeholder != null) {
|
| _json["placeholder"] = (placeholder).toJson();
|
| }
|
| @@ -5363,36 +5500,37 @@ class Shape {
|
| }
|
| }
|
|
|
| -/** The shape background fill. */
|
| +/// The shape background fill.
|
| class ShapeBackgroundFill {
|
| - /**
|
| - * The background fill property state.
|
| - *
|
| - * Updating the the fill on a shape will implicitly update this field to
|
| - * `RENDERED`, unless another value is specified in the same request. To
|
| - * have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
|
| - * any other fill fields set in the same request will be ignored.
|
| - * Possible string values are:
|
| - * - "RENDERED" : If a property's state is RENDERED, then the element has the
|
| - * corresponding
|
| - * property when rendered on a page. If the element is a placeholder shape as
|
| - * determined by the placeholder
|
| - * field, and it inherits from a placeholder shape, the corresponding field
|
| - * may be unset, meaning that the property value is inherited from a parent
|
| - * placeholder. If the element does not inherit, then the field will contain
|
| - * the rendered value. This is the default value.
|
| - * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element
|
| - * does not have the
|
| - * corresponding property when rendered on a page. However, the field may
|
| - * still be set so it can be inherited by child shapes. To remove a property
|
| - * from a rendered element, set its property_state to NOT_RENDERED.
|
| - * - "INHERIT" : If a property's state is INHERIT, then the property state
|
| - * uses the value of
|
| - * corresponding `property_state` field on the parent shape. Elements that do
|
| - * not inherit will never have an INHERIT property state.
|
| - */
|
| + /// The background fill property state.
|
| + ///
|
| + /// Updating the the fill on a shape will implicitly update this field to
|
| + /// `RENDERED`, unless another value is specified in the same request. To
|
| + /// have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
|
| + /// any other fill fields set in the same request will be ignored.
|
| + /// Possible string values are:
|
| + /// - "RENDERED" : If a property's state is RENDERED, then the element has
|
| + /// the corresponding
|
| + /// property when rendered on a page. If the element is a placeholder shape
|
| + /// as
|
| + /// determined by the placeholder
|
| + /// field, and it inherits from a placeholder shape, the corresponding field
|
| + /// may be unset, meaning that the property value is inherited from a parent
|
| + /// placeholder. If the element does not inherit, then the field will contain
|
| + /// the rendered value. This is the default value.
|
| + /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the
|
| + /// element does not have the
|
| + /// corresponding property when rendered on a page. However, the field may
|
| + /// still be set so it can be inherited by child shapes. To remove a property
|
| + /// from a rendered element, set its property_state to NOT_RENDERED.
|
| + /// - "INHERIT" : If a property's state is INHERIT, then the property state
|
| + /// uses the value of
|
| + /// corresponding `property_state` field on the parent shape. Elements that
|
| + /// do
|
| + /// not inherit will never have an INHERIT property state.
|
| core.String propertyState;
|
| - /** Solid color fill. */
|
| +
|
| + /// Solid color fill.
|
| SolidFill solidFill;
|
|
|
| ShapeBackgroundFill();
|
| @@ -5407,7 +5545,8 @@ class ShapeBackgroundFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (propertyState != null) {
|
| _json["propertyState"] = propertyState;
|
| }
|
| @@ -5418,41 +5557,35 @@ class ShapeBackgroundFill {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of a Shape.
|
| - *
|
| - * If the shape is a placeholder shape as determined by the
|
| - * placeholder field, then these
|
| - * properties may be inherited from a parent placeholder shape.
|
| - * Determining the rendered value of the property depends on the corresponding
|
| - * property_state field value.
|
| - */
|
| +/// The properties of a Shape.
|
| +///
|
| +/// If the shape is a placeholder shape as determined by the
|
| +/// placeholder field, then these
|
| +/// properties may be inherited from a parent placeholder shape.
|
| +/// Determining the rendered value of the property depends on the corresponding
|
| +/// property_state field value.
|
| class ShapeProperties {
|
| - /**
|
| - * The hyperlink destination of the shape. If unset, there is no link. Links
|
| - * are not inherited from parent placeholders.
|
| - */
|
| + /// The hyperlink destination of the shape. If unset, there is no link. Links
|
| + /// are not inherited from parent placeholders.
|
| Link link;
|
| - /**
|
| - * The outline of the shape. If unset, the outline is inherited from a
|
| - * parent placeholder if it exists. If the shape has no parent, then the
|
| - * default outline depends on the shape type, matching the defaults for
|
| - * new shapes created in the Slides editor.
|
| - */
|
| +
|
| + /// The outline of the shape. If unset, the outline is inherited from a
|
| + /// parent placeholder if it exists. If the shape has no parent, then the
|
| + /// default outline depends on the shape type, matching the defaults for
|
| + /// new shapes created in the Slides editor.
|
| Outline outline;
|
| - /**
|
| - * The shadow properties of the shape. If unset, the shadow is inherited from
|
| - * a parent placeholder if it exists. If the shape has no parent, then the
|
| - * default shadow matches the defaults for new shapes created in the Slides
|
| - * editor. This property is read-only.
|
| - */
|
| +
|
| + /// The shadow properties of the shape. If unset, the shadow is inherited
|
| + /// from
|
| + /// a parent placeholder if it exists. If the shape has no parent, then the
|
| + /// default shadow matches the defaults for new shapes created in the Slides
|
| + /// editor. This property is read-only.
|
| Shadow shadow;
|
| - /**
|
| - * The background fill of the shape. If unset, the background fill is
|
| - * inherited from a parent placeholder if it exists. If the shape has no
|
| - * parent, then the default background fill depends on the shape type,
|
| - * matching the defaults for new shapes created in the Slides editor.
|
| - */
|
| +
|
| + /// The background fill of the shape. If unset, the background fill is
|
| + /// inherited from a parent placeholder if it exists. If the shape has no
|
| + /// parent, then the default background fill depends on the shape type,
|
| + /// matching the defaults for new shapes created in the Slides editor.
|
| ShapeBackgroundFill shapeBackgroundFill;
|
|
|
| ShapeProperties();
|
| @@ -5468,12 +5601,14 @@ class ShapeProperties {
|
| shadow = new Shadow.fromJson(_json["shadow"]);
|
| }
|
| if (_json.containsKey("shapeBackgroundFill")) {
|
| - shapeBackgroundFill = new ShapeBackgroundFill.fromJson(_json["shapeBackgroundFill"]);
|
| + shapeBackgroundFill =
|
| + new ShapeBackgroundFill.fromJson(_json["shapeBackgroundFill"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (link != null) {
|
| _json["link"] = (link).toJson();
|
| }
|
| @@ -5490,28 +5625,25 @@ class ShapeProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing
|
| - * a linked chart embedded from Google Sheets.
|
| - */
|
| +/// A PageElement kind representing
|
| +/// a linked chart embedded from Google Sheets.
|
| class SheetsChart {
|
| - /**
|
| - * The ID of the specific chart in the Google Sheets spreadsheet that is
|
| - * embedded.
|
| - */
|
| + /// The ID of the specific chart in the Google Sheets spreadsheet that is
|
| + /// embedded.
|
| core.int chartId;
|
| - /**
|
| - * The URL of an image of the embedded chart, with a default lifetime of 30
|
| - * minutes. This URL is tagged with the account of the requester. Anyone with
|
| - * the URL effectively accesses the image as the original requester. Access to
|
| - * the image may be lost if the presentation's sharing settings change.
|
| - */
|
| +
|
| + /// The URL of an image of the embedded chart, with a default lifetime of 30
|
| + /// minutes. This URL is tagged with the account of the requester. Anyone
|
| + /// with
|
| + /// the URL effectively accesses the image as the original requester. Access
|
| + /// to
|
| + /// the image may be lost if the presentation's sharing settings change.
|
| core.String contentUrl;
|
| - /** The properties of the Sheets chart. */
|
| +
|
| + /// The properties of the Sheets chart.
|
| SheetsChartProperties sheetsChartProperties;
|
| - /**
|
| - * The ID of the Google Sheets spreadsheet that contains the source chart.
|
| - */
|
| +
|
| + /// The ID of the Google Sheets spreadsheet that contains the source chart.
|
| core.String spreadsheetId;
|
|
|
| SheetsChart();
|
| @@ -5524,7 +5656,8 @@ class SheetsChart {
|
| contentUrl = _json["contentUrl"];
|
| }
|
| if (_json.containsKey("sheetsChartProperties")) {
|
| - sheetsChartProperties = new SheetsChartProperties.fromJson(_json["sheetsChartProperties"]);
|
| + sheetsChartProperties =
|
| + new SheetsChartProperties.fromJson(_json["sheetsChartProperties"]);
|
| }
|
| if (_json.containsKey("spreadsheetId")) {
|
| spreadsheetId = _json["spreadsheetId"];
|
| @@ -5532,7 +5665,8 @@ class SheetsChart {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (chartId != null) {
|
| _json["chartId"] = chartId;
|
| }
|
| @@ -5549,21 +5683,23 @@ class SheetsChart {
|
| }
|
| }
|
|
|
| -/** The properties of the SheetsChart. */
|
| +/// The properties of the SheetsChart.
|
| class SheetsChartProperties {
|
| - /** The properties of the embedded chart image. */
|
| + /// The properties of the embedded chart image.
|
| ImageProperties chartImageProperties;
|
|
|
| SheetsChartProperties();
|
|
|
| SheetsChartProperties.fromJson(core.Map _json) {
|
| if (_json.containsKey("chartImageProperties")) {
|
| - chartImageProperties = new ImageProperties.fromJson(_json["chartImageProperties"]);
|
| + chartImageProperties =
|
| + new ImageProperties.fromJson(_json["chartImageProperties"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (chartImageProperties != null) {
|
| _json["chartImageProperties"] = (chartImageProperties).toJson();
|
| }
|
| @@ -5571,11 +5707,12 @@ class SheetsChartProperties {
|
| }
|
| }
|
|
|
| -/** A width and height. */
|
| +/// A width and height.
|
| class Size {
|
| - /** The height of the object. */
|
| + /// The height of the object.
|
| Dimension height;
|
| - /** The width of the object. */
|
| +
|
| + /// The width of the object.
|
| Dimension width;
|
|
|
| Size();
|
| @@ -5590,7 +5727,8 @@ class Size {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (height != null) {
|
| _json["height"] = (height).toJson();
|
| }
|
| @@ -5601,26 +5739,25 @@ class Size {
|
| }
|
| }
|
|
|
| -/**
|
| - * The properties of Page that are only
|
| - * relevant for pages with page_type SLIDE.
|
| - */
|
| +/// The properties of Page that are only
|
| +/// relevant for pages with page_type SLIDE.
|
| class SlideProperties {
|
| - /** The object ID of the layout that this slide is based on. */
|
| + /// The object ID of the layout that this slide is based on.
|
| core.String layoutObjectId;
|
| - /** The object ID of the master that this slide is based on. */
|
| +
|
| + /// The object ID of the master that this slide is based on.
|
| core.String masterObjectId;
|
| - /**
|
| - * The notes page that this slide is associated with. It defines the visual
|
| - * appearance of a notes page when printing or exporting slides with speaker
|
| - * notes. A notes page inherits properties from the
|
| - * notes master.
|
| - * The placeholder shape with type BODY on the notes page contains the speaker
|
| - * notes for this slide. The ID of this shape is identified by the
|
| - * speakerNotesObjectId field.
|
| - * The notes page is read-only except for the text content and styles of the
|
| - * speaker notes shape.
|
| - */
|
| +
|
| + /// The notes page that this slide is associated with. It defines the visual
|
| + /// appearance of a notes page when printing or exporting slides with speaker
|
| + /// notes. A notes page inherits properties from the
|
| + /// notes master.
|
| + /// The placeholder shape with type BODY on the notes page contains the
|
| + /// speaker
|
| + /// notes for this slide. The ID of this shape is identified by the
|
| + /// speakerNotesObjectId field.
|
| + /// The notes page is read-only except for the text content and styles of the
|
| + /// speaker notes shape.
|
| Page notesPage;
|
|
|
| SlideProperties();
|
| @@ -5638,7 +5775,8 @@ class SlideProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (layoutObjectId != null) {
|
| _json["layoutObjectId"] = layoutObjectId;
|
| }
|
| @@ -5652,25 +5790,22 @@ class SlideProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * A solid color fill. The page or page element is filled entirely with the
|
| - * specified color value.
|
| - *
|
| - * If any field is unset, its value may be inherited from a parent placeholder
|
| - * if it exists.
|
| - */
|
| +/// A solid color fill. The page or page element is filled entirely with the
|
| +/// specified color value.
|
| +///
|
| +/// If any field is unset, its value may be inherited from a parent placeholder
|
| +/// if it exists.
|
| class SolidFill {
|
| - /**
|
| - * The fraction of this `color` that should be applied to the pixel.
|
| - * That is, the final pixel color is defined by the equation:
|
| - *
|
| - * pixel color = alpha * (color) + (1.0 - alpha) * (background color)
|
| - *
|
| - * This means that a value of 1.0 corresponds to a solid color, whereas
|
| - * a value of 0.0 corresponds to a completely transparent color.
|
| - */
|
| + /// The fraction of this `color` that should be applied to the pixel.
|
| + /// That is, the final pixel color is defined by the equation:
|
| + ///
|
| + /// pixel color = alpha * (color) + (1.0 - alpha) * (background color)
|
| + ///
|
| + /// This means that a value of 1.0 corresponds to a solid color, whereas
|
| + /// a value of 0.0 corresponds to a completely transparent color.
|
| core.double alpha;
|
| - /** The color value of the solid fill. */
|
| +
|
| + /// The color value of the solid fill.
|
| OpaqueColor color;
|
|
|
| SolidFill();
|
| @@ -5685,7 +5820,8 @@ class SolidFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (alpha != null) {
|
| _json["alpha"] = alpha;
|
| }
|
| @@ -5696,28 +5832,28 @@ class SolidFill {
|
| }
|
| }
|
|
|
| -/**
|
| - * The stretched picture fill. The page or page element is filled entirely with
|
| - * the specified picture. The picture is stretched to fit its container.
|
| - */
|
| +/// The stretched picture fill. The page or page element is filled entirely
|
| +/// with
|
| +/// the specified picture. The picture is stretched to fit its container.
|
| class StretchedPictureFill {
|
| - /**
|
| - * Reading the content_url:
|
| - *
|
| - * An URL to a picture with a default lifetime of 30 minutes.
|
| - * This URL is tagged with the account of the requester. Anyone with the URL
|
| - * effectively accesses the picture as the original requester. Access to the
|
| - * picture may be lost if the presentation's sharing settings change.
|
| - *
|
| - * Writing the content_url:
|
| - *
|
| - * The picture is fetched once at insertion time and a copy is stored for
|
| - * display inside the presentation. Pictures must be less than 50MB in size,
|
| - * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| - * format.
|
| - */
|
| + /// Reading the content_url:
|
| + ///
|
| + /// An URL to a picture with a default lifetime of 30 minutes.
|
| + /// This URL is tagged with the account of the requester. Anyone with the URL
|
| + /// effectively accesses the picture as the original requester. Access to the
|
| + /// picture may be lost if the presentation's sharing settings change.
|
| + ///
|
| + /// Writing the content_url:
|
| + ///
|
| + /// The picture is fetched once at insertion time and a copy is stored for
|
| + /// display inside the presentation. Pictures must be less than 50MB in size,
|
| + /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
| + /// format.
|
| + ///
|
| + /// The provided URL can be at maximum 2K bytes large.
|
| core.String contentUrl;
|
| - /** The original size of the picture fill. This field is read-only. */
|
| +
|
| + /// The original size of the picture fill. This field is read-only.
|
| Size size;
|
|
|
| StretchedPictureFill();
|
| @@ -5732,7 +5868,8 @@ class StretchedPictureFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (contentUrl != null) {
|
| _json["contentUrl"] = contentUrl;
|
| }
|
| @@ -5743,16 +5880,15 @@ class StretchedPictureFill {
|
| }
|
| }
|
|
|
| -/** A criteria that matches a specific string of text in a shape or table. */
|
| +/// A criteria that matches a specific string of text in a shape or table.
|
| class SubstringMatchCriteria {
|
| - /**
|
| - * Indicates whether the search should respect case:
|
| - *
|
| - * - `True`: the search is case sensitive.
|
| - * - `False`: the search is case insensitive.
|
| - */
|
| + /// Indicates whether the search should respect case:
|
| + ///
|
| + /// - `True`: the search is case sensitive.
|
| + /// - `False`: the search is case insensitive.
|
| core.bool matchCase;
|
| - /** The text to search for in the shape or table. */
|
| +
|
| + /// The text to search for in the shape or table.
|
| core.String text;
|
|
|
| SubstringMatchCriteria();
|
| @@ -5767,7 +5903,8 @@ class SubstringMatchCriteria {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (matchCase != null) {
|
| _json["matchCase"] = matchCase;
|
| }
|
| @@ -5778,24 +5915,23 @@ class SubstringMatchCriteria {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing a
|
| - * table.
|
| - */
|
| +/// A PageElement kind representing a
|
| +/// table.
|
| class Table {
|
| - /** Number of columns in the table. */
|
| + /// Number of columns in the table.
|
| core.int columns;
|
| - /** Number of rows in the table. */
|
| +
|
| + /// Number of rows in the table.
|
| core.int rows;
|
| - /** Properties of each column. */
|
| +
|
| + /// Properties of each column.
|
| core.List<TableColumnProperties> tableColumns;
|
| - /**
|
| - * Properties and contents of each row.
|
| - *
|
| - * Cells that span multiple rows are contained in only one of these rows and
|
| - * have a row_span greater
|
| - * than 1.
|
| - */
|
| +
|
| + /// Properties and contents of each row.
|
| + ///
|
| + /// Cells that span multiple rows are contained in only one of these rows and
|
| + /// have a row_span greater
|
| + /// than 1.
|
| core.List<TableRow> tableRows;
|
|
|
| Table();
|
| @@ -5808,15 +5944,20 @@ class Table {
|
| rows = _json["rows"];
|
| }
|
| if (_json.containsKey("tableColumns")) {
|
| - tableColumns = _json["tableColumns"].map((value) => new TableColumnProperties.fromJson(value)).toList();
|
| + tableColumns = _json["tableColumns"]
|
| + .map((value) => new TableColumnProperties.fromJson(value))
|
| + .toList();
|
| }
|
| if (_json.containsKey("tableRows")) {
|
| - tableRows = _json["tableRows"].map((value) => new TableRow.fromJson(value)).toList();
|
| + tableRows = _json["tableRows"]
|
| + .map((value) => new TableRow.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columns != null) {
|
| _json["columns"] = columns;
|
| }
|
| @@ -5824,7 +5965,8 @@ class Table {
|
| _json["rows"] = rows;
|
| }
|
| if (tableColumns != null) {
|
| - _json["tableColumns"] = tableColumns.map((value) => (value).toJson()).toList();
|
| + _json["tableColumns"] =
|
| + tableColumns.map((value) => (value).toJson()).toList();
|
| }
|
| if (tableRows != null) {
|
| _json["tableRows"] = tableRows.map((value) => (value).toJson()).toList();
|
| @@ -5833,17 +5975,21 @@ class Table {
|
| }
|
| }
|
|
|
| -/** Properties and contents of each table cell. */
|
| +/// Properties and contents of each table cell.
|
| class TableCell {
|
| - /** Column span of the cell. */
|
| + /// Column span of the cell.
|
| core.int columnSpan;
|
| - /** The location of the cell within the table. */
|
| +
|
| + /// The location of the cell within the table.
|
| TableCellLocation location;
|
| - /** Row span of the cell. */
|
| +
|
| + /// Row span of the cell.
|
| core.int rowSpan;
|
| - /** The properties of the table cell. */
|
| +
|
| + /// The properties of the table cell.
|
| TableCellProperties tableCellProperties;
|
| - /** The text content of the cell. */
|
| +
|
| + /// The text content of the cell.
|
| TextContent text;
|
|
|
| TableCell();
|
| @@ -5859,7 +6005,8 @@ class TableCell {
|
| rowSpan = _json["rowSpan"];
|
| }
|
| if (_json.containsKey("tableCellProperties")) {
|
| - tableCellProperties = new TableCellProperties.fromJson(_json["tableCellProperties"]);
|
| + tableCellProperties =
|
| + new TableCellProperties.fromJson(_json["tableCellProperties"]);
|
| }
|
| if (_json.containsKey("text")) {
|
| text = new TextContent.fromJson(_json["text"]);
|
| @@ -5867,7 +6014,8 @@ class TableCell {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columnSpan != null) {
|
| _json["columnSpan"] = columnSpan;
|
| }
|
| @@ -5887,36 +6035,37 @@ class TableCell {
|
| }
|
| }
|
|
|
| -/** The table cell background fill. */
|
| +/// The table cell background fill.
|
| class TableCellBackgroundFill {
|
| - /**
|
| - * The background fill property state.
|
| - *
|
| - * Updating the the fill on a table cell will implicitly update this field
|
| - * to `RENDERED`, unless another value is specified in the same request. To
|
| - * have no fill on a table cell, set this field to `NOT_RENDERED`. In this
|
| - * case, any other fill fields set in the same request will be ignored.
|
| - * Possible string values are:
|
| - * - "RENDERED" : If a property's state is RENDERED, then the element has the
|
| - * corresponding
|
| - * property when rendered on a page. If the element is a placeholder shape as
|
| - * determined by the placeholder
|
| - * field, and it inherits from a placeholder shape, the corresponding field
|
| - * may be unset, meaning that the property value is inherited from a parent
|
| - * placeholder. If the element does not inherit, then the field will contain
|
| - * the rendered value. This is the default value.
|
| - * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element
|
| - * does not have the
|
| - * corresponding property when rendered on a page. However, the field may
|
| - * still be set so it can be inherited by child shapes. To remove a property
|
| - * from a rendered element, set its property_state to NOT_RENDERED.
|
| - * - "INHERIT" : If a property's state is INHERIT, then the property state
|
| - * uses the value of
|
| - * corresponding `property_state` field on the parent shape. Elements that do
|
| - * not inherit will never have an INHERIT property state.
|
| - */
|
| + /// The background fill property state.
|
| + ///
|
| + /// Updating the the fill on a table cell will implicitly update this field
|
| + /// to `RENDERED`, unless another value is specified in the same request. To
|
| + /// have no fill on a table cell, set this field to `NOT_RENDERED`. In this
|
| + /// case, any other fill fields set in the same request will be ignored.
|
| + /// Possible string values are:
|
| + /// - "RENDERED" : If a property's state is RENDERED, then the element has
|
| + /// the corresponding
|
| + /// property when rendered on a page. If the element is a placeholder shape
|
| + /// as
|
| + /// determined by the placeholder
|
| + /// field, and it inherits from a placeholder shape, the corresponding field
|
| + /// may be unset, meaning that the property value is inherited from a parent
|
| + /// placeholder. If the element does not inherit, then the field will contain
|
| + /// the rendered value. This is the default value.
|
| + /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the
|
| + /// element does not have the
|
| + /// corresponding property when rendered on a page. However, the field may
|
| + /// still be set so it can be inherited by child shapes. To remove a property
|
| + /// from a rendered element, set its property_state to NOT_RENDERED.
|
| + /// - "INHERIT" : If a property's state is INHERIT, then the property state
|
| + /// uses the value of
|
| + /// corresponding `property_state` field on the parent shape. Elements that
|
| + /// do
|
| + /// not inherit will never have an INHERIT property state.
|
| core.String propertyState;
|
| - /** Solid color fill. */
|
| +
|
| + /// Solid color fill.
|
| SolidFill solidFill;
|
|
|
| TableCellBackgroundFill();
|
| @@ -5931,7 +6080,8 @@ class TableCellBackgroundFill {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (propertyState != null) {
|
| _json["propertyState"] = propertyState;
|
| }
|
| @@ -5942,11 +6092,12 @@ class TableCellBackgroundFill {
|
| }
|
| }
|
|
|
| -/** A location of a single table cell within a table. */
|
| +/// A location of a single table cell within a table.
|
| class TableCellLocation {
|
| - /** The 0-based column index. */
|
| + /// The 0-based column index.
|
| core.int columnIndex;
|
| - /** The 0-based row index. */
|
| +
|
| + /// The 0-based row index.
|
| core.int rowIndex;
|
|
|
| TableCellLocation();
|
| @@ -5961,7 +6112,8 @@ class TableCellLocation {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columnIndex != null) {
|
| _json["columnIndex"] = columnIndex;
|
| }
|
| @@ -5972,24 +6124,24 @@ class TableCellLocation {
|
| }
|
| }
|
|
|
| -/** The properties of the TableCell. */
|
| +/// The properties of the TableCell.
|
| class TableCellProperties {
|
| - /**
|
| - * The background fill of the table cell. The default fill matches the fill
|
| - * for newly created table cells in the Slides editor.
|
| - */
|
| + /// The background fill of the table cell. The default fill matches the fill
|
| + /// for newly created table cells in the Slides editor.
|
| TableCellBackgroundFill tableCellBackgroundFill;
|
|
|
| TableCellProperties();
|
|
|
| TableCellProperties.fromJson(core.Map _json) {
|
| if (_json.containsKey("tableCellBackgroundFill")) {
|
| - tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(_json["tableCellBackgroundFill"]);
|
| + tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(
|
| + _json["tableCellBackgroundFill"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (tableCellBackgroundFill != null) {
|
| _json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson();
|
| }
|
| @@ -5997,9 +6149,9 @@ class TableCellProperties {
|
| }
|
| }
|
|
|
| -/** Properties of each column in a table. */
|
| +/// Properties of each column in a table.
|
| class TableColumnProperties {
|
| - /** Width of a column. */
|
| + /// Width of a column.
|
| Dimension columnWidth;
|
|
|
| TableColumnProperties();
|
| @@ -6011,7 +6163,8 @@ class TableColumnProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columnWidth != null) {
|
| _json["columnWidth"] = (columnWidth).toJson();
|
| }
|
| @@ -6019,29 +6172,29 @@ class TableColumnProperties {
|
| }
|
| }
|
|
|
| -/**
|
| - * A table range represents a reference to a subset of a table.
|
| - *
|
| - * It's important to note that the cells specified by a table range do not
|
| - * necessarily form a rectangle. For example, let's say we have a 3 x 3 table
|
| - * where all the cells of the last row are merged together. The table looks
|
| - * like this:
|
| - *
|
| - *
|
| - * [ ]
|
| - *
|
| - * A table range with location = (0, 0), row span = 3 and column span = 2
|
| - * specifies the following cells:
|
| - *
|
| - * x x
|
| - * [ x ]
|
| - */
|
| +/// A table range represents a reference to a subset of a table.
|
| +///
|
| +/// It's important to note that the cells specified by a table range do not
|
| +/// necessarily form a rectangle. For example, let's say we have a 3 x 3 table
|
| +/// where all the cells of the last row are merged together. The table looks
|
| +/// like this:
|
| +///
|
| +///
|
| +/// [ ]
|
| +///
|
| +/// A table range with location = (0, 0), row span = 3 and column span = 2
|
| +/// specifies the following cells:
|
| +///
|
| +/// x x
|
| +/// [ x ]
|
| class TableRange {
|
| - /** The column span of the table range. */
|
| + /// The column span of the table range.
|
| core.int columnSpan;
|
| - /** The starting location of the table range. */
|
| +
|
| + /// The starting location of the table range.
|
| TableCellLocation location;
|
| - /** The row span of the table range. */
|
| +
|
| + /// The row span of the table range.
|
| core.int rowSpan;
|
|
|
| TableRange();
|
| @@ -6059,7 +6212,8 @@ class TableRange {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (columnSpan != null) {
|
| _json["columnSpan"] = columnSpan;
|
| }
|
| @@ -6073,18 +6227,17 @@ class TableRange {
|
| }
|
| }
|
|
|
| -/** Properties and contents of each row in a table. */
|
| +/// Properties and contents of each row in a table.
|
| class TableRow {
|
| - /** Height of a row. */
|
| + /// Height of a row.
|
| Dimension rowHeight;
|
| - /**
|
| - * Properties and contents of each cell.
|
| - *
|
| - * Cells that span multiple columns are represented only once with a
|
| - * column_span greater
|
| - * than 1. As a result, the length of this collection does not always match
|
| - * the number of columns of the entire table.
|
| - */
|
| +
|
| + /// Properties and contents of each cell.
|
| + ///
|
| + /// Cells that span multiple columns are represented only once with a
|
| + /// column_span greater
|
| + /// than 1. As a result, the length of this collection does not always match
|
| + /// the number of columns of the entire table.
|
| core.List<TableCell> tableCells;
|
|
|
| TableRow();
|
| @@ -6094,95 +6247,96 @@ class TableRow {
|
| rowHeight = new Dimension.fromJson(_json["rowHeight"]);
|
| }
|
| if (_json.containsKey("tableCells")) {
|
| - tableCells = _json["tableCells"].map((value) => new TableCell.fromJson(value)).toList();
|
| + tableCells = _json["tableCells"]
|
| + .map((value) => new TableCell.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (rowHeight != null) {
|
| _json["rowHeight"] = (rowHeight).toJson();
|
| }
|
| if (tableCells != null) {
|
| - _json["tableCells"] = tableCells.map((value) => (value).toJson()).toList();
|
| + _json["tableCells"] =
|
| + tableCells.map((value) => (value).toJson()).toList();
|
| }
|
| return _json;
|
| }
|
| }
|
|
|
| -/**
|
| - * The general text content. The text must reside in a compatible shape (e.g.
|
| - * text box or rectangle) or a table cell in a page.
|
| - */
|
| +/// The general text content. The text must reside in a compatible shape (e.g.
|
| +/// text box or rectangle) or a table cell in a page.
|
| class TextContent {
|
| - /** The bulleted lists contained in this text, keyed by list ID. */
|
| + /// The bulleted lists contained in this text, keyed by list ID.
|
| core.Map<core.String, List> lists;
|
| - /**
|
| - * The text contents broken down into its component parts, including styling
|
| - * information. This property is read-only.
|
| - */
|
| +
|
| + /// The text contents broken down into its component parts, including styling
|
| + /// information. This property is read-only.
|
| core.List<TextElement> textElements;
|
|
|
| TextContent();
|
|
|
| TextContent.fromJson(core.Map _json) {
|
| if (_json.containsKey("lists")) {
|
| - lists = commons.mapMap<core.Map<core.String, core.Object>, List>(_json["lists"], (core.Map<core.String, core.Object> item) => new List.fromJson(item));
|
| + lists = commons.mapMap<core.Map<core.String, core.Object>, List>(
|
| + _json["lists"],
|
| + (core.Map<core.String, core.Object> item) => new List.fromJson(item));
|
| }
|
| if (_json.containsKey("textElements")) {
|
| - textElements = _json["textElements"].map((value) => new TextElement.fromJson(value)).toList();
|
| + textElements = _json["textElements"]
|
| + .map((value) => new TextElement.fromJson(value))
|
| + .toList();
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (lists != null) {
|
| - _json["lists"] = commons.mapMap<List, core.Map<core.String, core.Object>>(lists, (List item) => (item).toJson());
|
| + _json["lists"] = commons.mapMap<List, core.Map<core.String, core.Object>>(
|
| + lists, (List item) => (item).toJson());
|
| }
|
| if (textElements != null) {
|
| - _json["textElements"] = textElements.map((value) => (value).toJson()).toList();
|
| + _json["textElements"] =
|
| + textElements.map((value) => (value).toJson()).toList();
|
| }
|
| return _json;
|
| }
|
| }
|
|
|
| -/**
|
| - * A TextElement describes the content of a range of indices in the text content
|
| - * of a Shape or TableCell.
|
| - */
|
| +/// A TextElement describes the content of a range of indices in the text
|
| +/// content
|
| +/// of a Shape or TableCell.
|
| class TextElement {
|
| - /**
|
| - * A TextElement representing a spot in the text that is dynamically
|
| - * replaced with content that can change over time.
|
| - */
|
| + /// A TextElement representing a spot in the text that is dynamically
|
| + /// replaced with content that can change over time.
|
| AutoText autoText;
|
| - /**
|
| - * The zero-based end index of this text element, exclusive, in Unicode code
|
| - * units.
|
| - */
|
| +
|
| + /// The zero-based end index of this text element, exclusive, in Unicode code
|
| + /// units.
|
| core.int endIndex;
|
| - /**
|
| - * A marker representing the beginning of a new paragraph.
|
| - *
|
| - * The `start_index` and `end_index` of this TextElement represent the
|
| - * range of the paragraph. Other TextElements with an index range contained
|
| - * inside this paragraph's range are considered to be part of this
|
| - * paragraph. The range of indices of two separate paragraphs will never
|
| - * overlap.
|
| - */
|
| +
|
| + /// A marker representing the beginning of a new paragraph.
|
| + ///
|
| + /// The `start_index` and `end_index` of this TextElement represent the
|
| + /// range of the paragraph. Other TextElements with an index range contained
|
| + /// inside this paragraph's range are considered to be part of this
|
| + /// paragraph. The range of indices of two separate paragraphs will never
|
| + /// overlap.
|
| ParagraphMarker paragraphMarker;
|
| - /**
|
| - * The zero-based start index of this text element, in Unicode code units.
|
| - */
|
| +
|
| + /// The zero-based start index of this text element, in Unicode code units.
|
| core.int startIndex;
|
| - /**
|
| - * A TextElement representing a run of text where all of the characters
|
| - * in the run have the same TextStyle.
|
| - *
|
| - * The `start_index` and `end_index` of TextRuns will always be fully
|
| - * contained in the index range of a single `paragraph_marker` TextElement.
|
| - * In other words, a TextRun will never span multiple paragraphs.
|
| - */
|
| +
|
| + /// A TextElement representing a run of text where all of the characters
|
| + /// in the run have the same TextStyle.
|
| + ///
|
| + /// The `start_index` and `end_index` of TextRuns will always be fully
|
| + /// contained in the index range of a single `paragraph_marker` TextElement.
|
| + /// In other words, a TextRun will never span multiple paragraphs.
|
| TextRun textRun;
|
|
|
| TextElement();
|
| @@ -6206,7 +6360,8 @@ class TextElement {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (autoText != null) {
|
| _json["autoText"] = (autoText).toJson();
|
| }
|
| @@ -6226,14 +6381,13 @@ class TextElement {
|
| }
|
| }
|
|
|
| -/**
|
| - * A TextElement kind that represents a run of text that all has the same
|
| - * styling.
|
| - */
|
| +/// A TextElement kind that represents a run of text that all has the same
|
| +/// styling.
|
| class TextRun {
|
| - /** The text of this run. */
|
| + /// The text of this run.
|
| core.String content;
|
| - /** The styling applied to this run. */
|
| +
|
| + /// The styling applied to this run.
|
| TextStyle style;
|
|
|
| TextRun();
|
| @@ -6248,7 +6402,8 @@ class TextRun {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (content != null) {
|
| _json["content"] = content;
|
| }
|
| @@ -6259,132 +6414,132 @@ class TextRun {
|
| }
|
| }
|
|
|
| -/**
|
| - * Represents the styling that can be applied to a TextRun.
|
| - *
|
| - * If this text is contained in a shape with a parent placeholder, then these
|
| - * text styles may be
|
| - * inherited from the parent. Which text styles are inherited depend on the
|
| - * nesting level of lists:
|
| - *
|
| - * * A text run in a paragraph that is not in a list will inherit its text style
|
| - * from the the newline character in the paragraph at the 0 nesting level of
|
| - * the list inside the parent placeholder.
|
| - * * A text run in a paragraph that is in a list will inherit its text style
|
| - * from the newline character in the paragraph at its corresponding nesting
|
| - * level of the list inside the parent placeholder.
|
| - *
|
| - * Inherited text styles are represented as unset fields in this message. If
|
| - * text is contained in a shape without a parent placeholder, unsetting these
|
| - * fields will revert the style to a value matching the defaults in the Slides
|
| - * editor.
|
| - */
|
| +/// Represents the styling that can be applied to a TextRun.
|
| +///
|
| +/// If this text is contained in a shape with a parent placeholder, then these
|
| +/// text styles may be
|
| +/// inherited from the parent. Which text styles are inherited depend on the
|
| +/// nesting level of lists:
|
| +///
|
| +/// * A text run in a paragraph that is not in a list will inherit its text
|
| +/// style
|
| +/// from the the newline character in the paragraph at the 0 nesting level of
|
| +/// the list inside the parent placeholder.
|
| +/// * A text run in a paragraph that is in a list will inherit its text style
|
| +/// from the newline character in the paragraph at its corresponding nesting
|
| +/// level of the list inside the parent placeholder.
|
| +///
|
| +/// Inherited text styles are represented as unset fields in this message. If
|
| +/// text is contained in a shape without a parent placeholder, unsetting these
|
| +/// fields will revert the style to a value matching the defaults in the Slides
|
| +/// editor.
|
| class TextStyle {
|
| - /**
|
| - * The background color of the text. If set, the color is either opaque or
|
| - * transparent, depending on if the `opaque_color` field in it is set.
|
| - */
|
| + /// The background color of the text. If set, the color is either opaque or
|
| + /// transparent, depending on if the `opaque_color` field in it is set.
|
| OptionalColor backgroundColor;
|
| - /**
|
| - * The text's vertical offset from its normal position.
|
| - *
|
| - * Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
|
| - * rendered in a smaller font size, computed based on the `font_size` field.
|
| - * The `font_size` itself is not affected by changes in this field.
|
| - * Possible string values are:
|
| - * - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited
|
| - * from the parent.
|
| - * - "NONE" : The text is not vertically offset.
|
| - * - "SUPERSCRIPT" : The text is vertically offset upwards (superscript).
|
| - * - "SUBSCRIPT" : The text is vertically offset downwards (subscript).
|
| - */
|
| +
|
| + /// The text's vertical offset from its normal position.
|
| + ///
|
| + /// Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
|
| + /// rendered in a smaller font size, computed based on the `font_size` field.
|
| + /// The `font_size` itself is not affected by changes in this field.
|
| + /// Possible string values are:
|
| + /// - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited
|
| + /// from the parent.
|
| + /// - "NONE" : The text is not vertically offset.
|
| + /// - "SUPERSCRIPT" : The text is vertically offset upwards (superscript).
|
| + /// - "SUBSCRIPT" : The text is vertically offset downwards (subscript).
|
| core.String baselineOffset;
|
| - /** Whether or not the text is rendered as bold. */
|
| +
|
| + /// Whether or not the text is rendered as bold.
|
| core.bool bold;
|
| - /**
|
| - * The font family of the text.
|
| - *
|
| - * The font family can be any font from the Font menu in Slides or from
|
| - * [Google Fonts] (https://fonts.google.com/). If the font name is
|
| - * unrecognized, the text is rendered in `Arial`.
|
| - *
|
| - * Some fonts can affect the weight of the text. If an update request
|
| - * specifies values for both `font_family` and `bold`, the explicitly-set
|
| - * `bold` value is used.
|
| - */
|
| +
|
| + /// The font family of the text.
|
| + ///
|
| + /// The font family can be any font from the Font menu in Slides or from
|
| + /// [Google Fonts] (https://fonts.google.com/). If the font name is
|
| + /// unrecognized, the text is rendered in `Arial`.
|
| + ///
|
| + /// Some fonts can affect the weight of the text. If an update request
|
| + /// specifies values for both `font_family` and `bold`, the explicitly-set
|
| + /// `bold` value is used.
|
| core.String fontFamily;
|
| - /**
|
| - * The size of the text's font. When read, the `font_size` will specified in
|
| - * points.
|
| - */
|
| +
|
| + /// The size of the text's font. When read, the `font_size` will specified in
|
| + /// points.
|
| Dimension fontSize;
|
| - /**
|
| - * The color of the text itself. If set, the color is either opaque or
|
| - * transparent, depending on if the `opaque_color` field in it is set.
|
| - */
|
| +
|
| + /// The color of the text itself. If set, the color is either opaque or
|
| + /// transparent, depending on if the `opaque_color` field in it is set.
|
| OptionalColor foregroundColor;
|
| - /** Whether or not the text is italicized. */
|
| +
|
| + /// Whether or not the text is italicized.
|
| core.bool italic;
|
| - /**
|
| - * The hyperlink destination of the text. If unset, there is no link. Links
|
| - * are not inherited from parent text.
|
| - *
|
| - * Changing the link in an update request causes some other changes to the
|
| - * text style of the range:
|
| - *
|
| - * * When setting a link, the text foreground color will be set to
|
| - * ThemeColorType.HYPERLINK and the text will
|
| - * be underlined. If these fields are modified in the same
|
| - * request, those values will be used instead of the link defaults.
|
| - * * Setting a link on a text range that overlaps with an existing link will
|
| - * also update the existing link to point to the new URL.
|
| - * * Links are not settable on newline characters. As a result, setting a link
|
| - * on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
|
| - * will separate the newline character(s) into their own text runs. The
|
| - * link will be applied separately to the runs before and after the newline.
|
| - * * Removing a link will update the text style of the range to match the
|
| - * style of the preceding text (or the default text styles if the preceding
|
| - * text is another link) unless different styles are being set in the same
|
| - * request.
|
| - */
|
| +
|
| + /// The hyperlink destination of the text. If unset, there is no link. Links
|
| + /// are not inherited from parent text.
|
| + ///
|
| + /// Changing the link in an update request causes some other changes to the
|
| + /// text style of the range:
|
| + ///
|
| + /// * When setting a link, the text foreground color will be set to
|
| + /// ThemeColorType.HYPERLINK and the text will
|
| + /// be underlined. If these fields are modified in the same
|
| + /// request, those values will be used instead of the link defaults.
|
| + /// * Setting a link on a text range that overlaps with an existing link will
|
| + /// also update the existing link to point to the new URL.
|
| + /// * Links are not settable on newline characters. As a result, setting a
|
| + /// link
|
| + /// on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
|
| + /// will separate the newline character(s) into their own text runs. The
|
| + /// link will be applied separately to the runs before and after the newline.
|
| + /// * Removing a link will update the text style of the range to match the
|
| + /// style of the preceding text (or the default text styles if the preceding
|
| + /// text is another link) unless different styles are being set in the same
|
| + /// request.
|
| Link link;
|
| - /** Whether or not the text is in small capital letters. */
|
| +
|
| + /// Whether or not the text is in small capital letters.
|
| core.bool smallCaps;
|
| - /** Whether or not the text is struck through. */
|
| +
|
| + /// Whether or not the text is struck through.
|
| core.bool strikethrough;
|
| - /** Whether or not the text is underlined. */
|
| +
|
| + /// Whether or not the text is underlined.
|
| core.bool underline;
|
| - /**
|
| - * The font family and rendered weight of the text.
|
| - *
|
| - * This field is an extension of `font_family` meant to support explicit font
|
| - * weights without breaking backwards compatibility. As such, when reading the
|
| - * style of a range of text, the value of `weighted_font_family#font_family`
|
| - * will always be equal to that of `font_family`. However, when writing, if
|
| - * both fields are included in the field mask (either explicitly or through
|
| - * the wildcard `"*"`), their values are reconciled as follows:
|
| - *
|
| - * * If `font_family` is set and `weighted_font_family` is not, the value of
|
| - * `font_family` is applied with weight `400` ("normal").
|
| - * * If both fields are set, the value of `font_family` must match that of
|
| - * `weighted_font_family#font_family`. If so, the font family and weight of
|
| - * `weighted_font_family` is applied. Otherwise, a 400 bad request error is
|
| - * returned.
|
| - * * If `weighted_font_family` is set and `font_family` is not, the font
|
| - * family and weight of `weighted_font_family` is applied.
|
| - * * If neither field is set, the font family and weight of the text inherit
|
| - * from the parent. Note that these properties cannot inherit separately
|
| - * from each other.
|
| - *
|
| - * If an update request specifies values for both `weighted_font_family` and
|
| - * `bold`, the `weighted_font_family` is applied first, then `bold`.
|
| - *
|
| - * If `weighted_font_family#weight` is not set, it defaults to `400`.
|
| - *
|
| - * If `weighted_font_family` is set, then `weighted_font_family#font_family`
|
| - * must also be set with a non-empty value. Otherwise, a 400 bad request error
|
| - * is returned.
|
| - */
|
| +
|
| + /// The font family and rendered weight of the text.
|
| + ///
|
| + /// This field is an extension of `font_family` meant to support explicit
|
| + /// font
|
| + /// weights without breaking backwards compatibility. As such, when reading
|
| + /// the
|
| + /// style of a range of text, the value of `weighted_font_family#font_family`
|
| + /// will always be equal to that of `font_family`. However, when writing, if
|
| + /// both fields are included in the field mask (either explicitly or through
|
| + /// the wildcard `"*"`), their values are reconciled as follows:
|
| + ///
|
| + /// * If `font_family` is set and `weighted_font_family` is not, the value of
|
| + /// `font_family` is applied with weight `400` ("normal").
|
| + /// * If both fields are set, the value of `font_family` must match that of
|
| + /// `weighted_font_family#font_family`. If so, the font family and weight of
|
| + /// `weighted_font_family` is applied. Otherwise, a 400 bad request error is
|
| + /// returned.
|
| + /// * If `weighted_font_family` is set and `font_family` is not, the font
|
| + /// family and weight of `weighted_font_family` is applied.
|
| + /// * If neither field is set, the font family and weight of the text inherit
|
| + /// from the parent. Note that these properties cannot inherit separately
|
| + /// from each other.
|
| + ///
|
| + /// If an update request specifies values for both `weighted_font_family` and
|
| + /// `bold`, the `weighted_font_family` is applied first, then `bold`.
|
| + ///
|
| + /// If `weighted_font_family#weight` is not set, it defaults to `400`.
|
| + ///
|
| + /// If `weighted_font_family` is set, then `weighted_font_family#font_family`
|
| + /// must also be set with a non-empty value. Otherwise, a 400 bad request
|
| + /// error
|
| + /// is returned.
|
| WeightedFontFamily weightedFontFamily;
|
|
|
| TextStyle();
|
| @@ -6424,12 +6579,14 @@ class TextStyle {
|
| underline = _json["underline"];
|
| }
|
| if (_json.containsKey("weightedFontFamily")) {
|
| - weightedFontFamily = new WeightedFontFamily.fromJson(_json["weightedFontFamily"]);
|
| + weightedFontFamily =
|
| + new WeightedFontFamily.fromJson(_json["weightedFontFamily"]);
|
| }
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (backgroundColor != null) {
|
| _json["backgroundColor"] = (backgroundColor).toJson();
|
| }
|
| @@ -6470,33 +6627,32 @@ class TextStyle {
|
| }
|
| }
|
|
|
| -/** A pair mapping a theme color type to the concrete color it represents. */
|
| +/// A pair mapping a theme color type to the concrete color it represents.
|
| class ThemeColorPair {
|
| - /** The concrete color corresponding to the theme color type above. */
|
| + /// The concrete color corresponding to the theme color type above.
|
| RgbColor color;
|
| - /**
|
| - * The type of the theme color.
|
| - * Possible string values are:
|
| - * - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value
|
| - * should not be used.
|
| - * - "DARK1" : Represents the first dark color.
|
| - * - "LIGHT1" : Represents the first light color.
|
| - * - "DARK2" : Represents the second dark color.
|
| - * - "LIGHT2" : Represents the second light color.
|
| - * - "ACCENT1" : Represents the first accent color.
|
| - * - "ACCENT2" : Represents the second accent color.
|
| - * - "ACCENT3" : Represents the third accent color.
|
| - * - "ACCENT4" : Represents the fourth accent color.
|
| - * - "ACCENT5" : Represents the fifth accent color.
|
| - * - "ACCENT6" : Represents the sixth accent color.
|
| - * - "HYPERLINK" : Represents the color to use for hyperlinks.
|
| - * - "FOLLOWED_HYPERLINK" : Represents the color to use for visited
|
| - * hyperlinks.
|
| - * - "TEXT1" : Represents the first text color.
|
| - * - "BACKGROUND1" : Represents the first background color.
|
| - * - "TEXT2" : Represents the second text color.
|
| - * - "BACKGROUND2" : Represents the second background color.
|
| - */
|
| +
|
| + /// The type of the theme color.
|
| + /// Possible string values are:
|
| + /// - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value
|
| + /// should not be used.
|
| + /// - "DARK1" : Represents the first dark color.
|
| + /// - "LIGHT1" : Represents the first light color.
|
| + /// - "DARK2" : Represents the second dark color.
|
| + /// - "LIGHT2" : Represents the second light color.
|
| + /// - "ACCENT1" : Represents the first accent color.
|
| + /// - "ACCENT2" : Represents the second accent color.
|
| + /// - "ACCENT3" : Represents the third accent color.
|
| + /// - "ACCENT4" : Represents the fourth accent color.
|
| + /// - "ACCENT5" : Represents the fifth accent color.
|
| + /// - "ACCENT6" : Represents the sixth accent color.
|
| + /// - "HYPERLINK" : Represents the color to use for hyperlinks.
|
| + /// - "FOLLOWED_HYPERLINK" : Represents the color to use for visited
|
| + /// hyperlinks.
|
| + /// - "TEXT1" : Represents the first text color.
|
| + /// - "BACKGROUND1" : Represents the first background color.
|
| + /// - "TEXT2" : Represents the second text color.
|
| + /// - "BACKGROUND2" : Represents the second background color.
|
| core.String type;
|
|
|
| ThemeColorPair();
|
| @@ -6511,7 +6667,8 @@ class ThemeColorPair {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (color != null) {
|
| _json["color"] = (color).toJson();
|
| }
|
| @@ -6522,22 +6679,22 @@ class ThemeColorPair {
|
| }
|
| }
|
|
|
| -/** The thumbnail of a page. */
|
| +/// The thumbnail of a page.
|
| class Thumbnail {
|
| - /**
|
| - * The content URL of the thumbnail image.
|
| - *
|
| - * The URL to the image has a default lifetime of 30 minutes.
|
| - * This URL is tagged with the account of the requester. Anyone with the URL
|
| - * effectively accesses the image as the original requester. Access to the
|
| - * image may be lost if the presentation's sharing settings change.
|
| - * The mime type of the thumbnail image is the same as specified in the
|
| - * `GetPageThumbnailRequest`.
|
| - */
|
| + /// The content URL of the thumbnail image.
|
| + ///
|
| + /// The URL to the image has a default lifetime of 30 minutes.
|
| + /// This URL is tagged with the account of the requester. Anyone with the URL
|
| + /// effectively accesses the image as the original requester. Access to the
|
| + /// image may be lost if the presentation's sharing settings change.
|
| + /// The mime type of the thumbnail image is the same as specified in the
|
| + /// `GetPageThumbnailRequest`.
|
| core.String contentUrl;
|
| - /** The positive height in pixels of the thumbnail image. */
|
| +
|
| + /// The positive height in pixels of the thumbnail image.
|
| core.int height;
|
| - /** The positive width in pixels of the thumbnail image. */
|
| +
|
| + /// The positive width in pixels of the thumbnail image.
|
| core.int width;
|
|
|
| Thumbnail();
|
| @@ -6555,7 +6712,8 @@ class Thumbnail {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (contentUrl != null) {
|
| _json["contentUrl"] = contentUrl;
|
| }
|
| @@ -6569,25 +6727,25 @@ class Thumbnail {
|
| }
|
| }
|
|
|
| -/** Update the properties of an Image. */
|
| +/// Update the properties of an Image.
|
| class UpdateImagePropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `imageProperties` is
|
| - * implied and should not be specified. A single `"*"` can be used as
|
| - * short-hand for listing every field.
|
| - *
|
| - * For example to update the image outline color, set `fields` to
|
| - * `"outline.outlineFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `imageProperties` is
|
| + /// implied and should not be specified. A single `"*"` can be used as
|
| + /// short-hand for listing every field.
|
| + ///
|
| + /// For example to update the image outline color, set `fields` to
|
| + /// `"outline.outlineFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The image properties to update. */
|
| +
|
| + /// The image properties to update.
|
| ImageProperties imageProperties;
|
| - /** The object ID of the image the updates are applied to. */
|
| +
|
| + /// The object ID of the image the updates are applied to.
|
| core.String objectId;
|
|
|
| UpdateImagePropertiesRequest();
|
| @@ -6605,7 +6763,8 @@ class UpdateImagePropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -6619,25 +6778,25 @@ class UpdateImagePropertiesRequest {
|
| }
|
| }
|
|
|
| -/** Updates the properties of a Line. */
|
| +/// Updates the properties of a Line.
|
| class UpdateLinePropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `lineProperties` is
|
| - * implied and should not be specified. A single `"*"` can be used as
|
| - * short-hand for listing every field.
|
| - *
|
| - * For example to update the line solid fill color, set `fields` to
|
| - * `"lineFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `lineProperties` is
|
| + /// implied and should not be specified. A single `"*"` can be used as
|
| + /// short-hand for listing every field.
|
| + ///
|
| + /// For example to update the line solid fill color, set `fields` to
|
| + /// `"lineFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The line properties to update. */
|
| +
|
| + /// The line properties to update.
|
| LineProperties lineProperties;
|
| - /** The object ID of the line the update is applied to. */
|
| +
|
| + /// The object ID of the line the update is applied to.
|
| core.String objectId;
|
|
|
| UpdateLinePropertiesRequest();
|
| @@ -6655,7 +6814,8 @@ class UpdateLinePropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -6669,22 +6829,26 @@ class UpdateLinePropertiesRequest {
|
| }
|
| }
|
|
|
| -/** Updates the transform of a page element. */
|
| +/// Updates the transform of a page element.
|
| +///
|
| +/// Updating the transform of a group will change the absolute transform of the
|
| +/// page elements in that group, which can change their visual appearance. See
|
| +/// the documentation for PageElement.transform for more details.
|
| class UpdatePageElementTransformRequest {
|
| - /**
|
| - * The apply mode of the transform update.
|
| - * Possible string values are:
|
| - * - "APPLY_MODE_UNSPECIFIED" : Unspecified mode.
|
| - * - "RELATIVE" : Applies the new AffineTransform matrix to the existing one,
|
| - * and
|
| - * replaces the existing one with the resulting concatenation.
|
| - * - "ABSOLUTE" : Replaces the existing AffineTransform matrix with the new
|
| - * one.
|
| - */
|
| + /// The apply mode of the transform update.
|
| + /// Possible string values are:
|
| + /// - "APPLY_MODE_UNSPECIFIED" : Unspecified mode.
|
| + /// - "RELATIVE" : Applies the new AffineTransform matrix to the existing
|
| + /// one, and
|
| + /// replaces the existing one with the resulting concatenation.
|
| + /// - "ABSOLUTE" : Replaces the existing AffineTransform matrix with the new
|
| + /// one.
|
| core.String applyMode;
|
| - /** The object ID of the page element to update. */
|
| +
|
| + /// The object ID of the page element to update.
|
| core.String objectId;
|
| - /** The input transform matrix used to update the page element. */
|
| +
|
| + /// The input transform matrix used to update the page element.
|
| AffineTransform transform;
|
|
|
| UpdatePageElementTransformRequest();
|
| @@ -6702,7 +6866,8 @@ class UpdatePageElementTransformRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (applyMode != null) {
|
| _json["applyMode"] = applyMode;
|
| }
|
| @@ -6716,25 +6881,25 @@ class UpdatePageElementTransformRequest {
|
| }
|
| }
|
|
|
| -/** Updates the properties of a Page. */
|
| +/// Updates the properties of a Page.
|
| class UpdatePagePropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `pageProperties` is
|
| - * implied and should not be specified. A single `"*"` can be used as
|
| - * short-hand for listing every field.
|
| - *
|
| - * For example to update the page background solid fill color, set `fields`
|
| - * to `"pageBackgroundFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `pageProperties` is
|
| + /// implied and should not be specified. A single `"*"` can be used as
|
| + /// short-hand for listing every field.
|
| + ///
|
| + /// For example to update the page background solid fill color, set `fields`
|
| + /// to `"pageBackgroundFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The object ID of the page the update is applied to. */
|
| +
|
| + /// The object ID of the page the update is applied to.
|
| core.String objectId;
|
| - /** The page properties to update. */
|
| +
|
| + /// The page properties to update.
|
| PageProperties pageProperties;
|
|
|
| UpdatePagePropertiesRequest();
|
| @@ -6752,7 +6917,8 @@ class UpdatePagePropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -6766,36 +6932,35 @@ class UpdatePagePropertiesRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * Updates the styling for all of the paragraphs within a Shape or Table that
|
| - * overlap with the given text index range.
|
| - */
|
| +/// Updates the styling for all of the paragraphs within a Shape or Table that
|
| +/// overlap with the given text index range.
|
| class UpdateParagraphStyleRequest {
|
| - /**
|
| - * The location of the cell in the table containing the paragraph(s) to
|
| - * style. If `object_id` refers to a table, `cell_location` must have a value.
|
| - * Otherwise, it must not.
|
| - */
|
| + /// The location of the cell in the table containing the paragraph(s) to
|
| + /// style. If `object_id` refers to a table, `cell_location` must have a
|
| + /// value.
|
| + /// Otherwise, it must not.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| core.String fields;
|
| - /** The object ID of the shape or table with the text to be styled. */
|
| +
|
| + /// The object ID of the shape or table with the text to be styled.
|
| core.String objectId;
|
| - /** The paragraph's style. */
|
| +
|
| + /// The paragraph's style.
|
| ParagraphStyle style;
|
| - /** The range of text containing the paragraph(s) to style. */
|
| +
|
| + /// The range of text containing the paragraph(s) to style.
|
| Range textRange;
|
|
|
| UpdateParagraphStyleRequest();
|
| @@ -6819,7 +6984,8 @@ class UpdateParagraphStyleRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -6839,25 +7005,25 @@ class UpdateParagraphStyleRequest {
|
| }
|
| }
|
|
|
| -/** Update the properties of a Shape. */
|
| +/// Update the properties of a Shape.
|
| class UpdateShapePropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `shapeProperties` is
|
| - * implied and should not be specified. A single `"*"` can be used as
|
| - * short-hand for listing every field.
|
| - *
|
| - * For example to update the shape background solid fill color, set `fields`
|
| - * to `"shapeBackgroundFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `shapeProperties` is
|
| + /// implied and should not be specified. A single `"*"` can be used as
|
| + /// short-hand for listing every field.
|
| + ///
|
| + /// For example to update the shape background solid fill color, set `fields`
|
| + /// to `"shapeBackgroundFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The object ID of the shape the updates are applied to. */
|
| +
|
| + /// The object ID of the shape the updates are applied to.
|
| core.String objectId;
|
| - /** The shape properties to update. */
|
| +
|
| + /// The shape properties to update.
|
| ShapeProperties shapeProperties;
|
|
|
| UpdateShapePropertiesRequest();
|
| @@ -6875,7 +7041,8 @@ class UpdateShapePropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -6889,19 +7056,16 @@ class UpdateShapePropertiesRequest {
|
| }
|
| }
|
|
|
| -/** Updates the position of slides in the presentation. */
|
| +/// Updates the position of slides in the presentation.
|
| class UpdateSlidesPositionRequest {
|
| - /**
|
| - * The index where the slides should be inserted, based on the slide
|
| - * arrangement before the move takes place. Must be between zero and the
|
| - * number of slides in the presentation, inclusive.
|
| - */
|
| + /// The index where the slides should be inserted, based on the slide
|
| + /// arrangement before the move takes place. Must be between zero and the
|
| + /// number of slides in the presentation, inclusive.
|
| core.int insertionIndex;
|
| - /**
|
| - * The IDs of the slides in the presentation that should be moved.
|
| - * The slides in this list must be in existing presentation order, without
|
| - * duplicates.
|
| - */
|
| +
|
| + /// The IDs of the slides in the presentation that should be moved.
|
| + /// The slides in this list must be in existing presentation order, without
|
| + /// duplicates.
|
| core.List<core.String> slideObjectIds;
|
|
|
| UpdateSlidesPositionRequest();
|
| @@ -6916,7 +7080,8 @@ class UpdateSlidesPositionRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (insertionIndex != null) {
|
| _json["insertionIndex"] = insertionIndex;
|
| }
|
| @@ -6927,31 +7092,30 @@ class UpdateSlidesPositionRequest {
|
| }
|
| }
|
|
|
| -/** Update the properties of a TableCell. */
|
| +/// Update the properties of a TableCell.
|
| class UpdateTableCellPropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `tableCellProperties` 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 cell background solid fill color, set
|
| - * `fields` to `"tableCellBackgroundFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `tableCellProperties` 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 cell background solid fill color, set
|
| + /// `fields` to `"tableCellBackgroundFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The object ID of the table. */
|
| +
|
| + /// The object ID of the table.
|
| core.String objectId;
|
| - /** The table cell properties to update. */
|
| +
|
| + /// The table cell properties to update.
|
| TableCellProperties tableCellProperties;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| TableRange tableRange;
|
|
|
| UpdateTableCellPropertiesRequest();
|
| @@ -6964,7 +7128,8 @@ class UpdateTableCellPropertiesRequest {
|
| objectId = _json["objectId"];
|
| }
|
| if (_json.containsKey("tableCellProperties")) {
|
| - tableCellProperties = new TableCellProperties.fromJson(_json["tableCellProperties"]);
|
| + tableCellProperties =
|
| + new TableCellProperties.fromJson(_json["tableCellProperties"]);
|
| }
|
| if (_json.containsKey("tableRange")) {
|
| tableRange = new TableRange.fromJson(_json["tableRange"]);
|
| @@ -6972,7 +7137,8 @@ class UpdateTableCellPropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -6989,51 +7155,46 @@ class UpdateTableCellPropertiesRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * Update the styling of text in a Shape or
|
| - * Table.
|
| - */
|
| +/// Update the styling of text in a Shape or
|
| +/// Table.
|
| class UpdateTextStyleRequest {
|
| - /**
|
| - * The location of the cell in the table containing the text to style. If
|
| - * `object_id` refers to a table, `cell_location` must have a value.
|
| - * Otherwise, it must not.
|
| - */
|
| + /// The location of the cell in the table containing the text to style. If
|
| + /// `object_id` refers to a table, `cell_location` must have a value.
|
| + /// Otherwise, it must not.
|
| TableCellLocation cellLocation;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| core.String fields;
|
| - /** The object ID of the shape or table with the text to be styled. */
|
| +
|
| + /// The object ID of the shape or table with the text to be styled.
|
| core.String objectId;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| TextStyle style;
|
| - /**
|
| - * 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.
|
| - */
|
| +
|
| + /// 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.
|
| Range textRange;
|
|
|
| UpdateTextStyleRequest();
|
| @@ -7057,7 +7218,8 @@ class UpdateTextStyleRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (cellLocation != null) {
|
| _json["cellLocation"] = (cellLocation).toJson();
|
| }
|
| @@ -7077,25 +7239,25 @@ class UpdateTextStyleRequest {
|
| }
|
| }
|
|
|
| -/** Update the properties of a Video. */
|
| +/// Update the properties of a Video.
|
| class UpdateVideoPropertiesRequest {
|
| - /**
|
| - * The fields that should be updated.
|
| - *
|
| - * At least one field must be specified. The root `videoProperties` is
|
| - * implied and should not be specified. A single `"*"` can be used as
|
| - * short-hand for listing every field.
|
| - *
|
| - * For example to update the video outline color, set `fields` to
|
| - * `"outline.outlineFill.solidFill.color"`.
|
| - *
|
| - * To reset a property to its default value, include its field name in the
|
| - * field mask but leave the field itself unset.
|
| - */
|
| + /// The fields that should be updated.
|
| + ///
|
| + /// At least one field must be specified. The root `videoProperties` is
|
| + /// implied and should not be specified. A single `"*"` can be used as
|
| + /// short-hand for listing every field.
|
| + ///
|
| + /// For example to update the video outline color, set `fields` to
|
| + /// `"outline.outlineFill.solidFill.color"`.
|
| + ///
|
| + /// To reset a property to its default value, include its field name in the
|
| + /// field mask but leave the field itself unset.
|
| core.String fields;
|
| - /** The object ID of the video the updates are applied to. */
|
| +
|
| + /// The object ID of the video the updates are applied to.
|
| core.String objectId;
|
| - /** The video properties to update. */
|
| +
|
| + /// The video properties to update.
|
| VideoProperties videoProperties;
|
|
|
| UpdateVideoPropertiesRequest();
|
| @@ -7113,7 +7275,8 @@ class UpdateVideoPropertiesRequest {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fields != null) {
|
| _json["fields"] = fields;
|
| }
|
| @@ -7127,26 +7290,23 @@ class UpdateVideoPropertiesRequest {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing a
|
| - * video.
|
| - */
|
| +/// A PageElement kind representing a
|
| +/// video.
|
| class Video {
|
| - /** The video source's unique identifier for this video. */
|
| + /// The video source's unique identifier for this video.
|
| core.String id;
|
| - /**
|
| - * The video source.
|
| - * Possible string values are:
|
| - * - "SOURCE_UNSPECIFIED" : The video source is unspecified.
|
| - * - "YOUTUBE" : The video source is YouTube.
|
| - */
|
| +
|
| + /// The video source.
|
| + /// Possible string values are:
|
| + /// - "SOURCE_UNSPECIFIED" : The video source is unspecified.
|
| + /// - "YOUTUBE" : The video source is YouTube.
|
| core.String source;
|
| - /**
|
| - * An URL to a video. The URL is valid as long as the source video
|
| - * exists and sharing settings do not change.
|
| - */
|
| +
|
| + /// An URL to a video. The URL is valid as long as the source video
|
| + /// exists and sharing settings do not change.
|
| core.String url;
|
| - /** The properties of the video. */
|
| +
|
| + /// The properties of the video.
|
| VideoProperties videoProperties;
|
|
|
| Video();
|
| @@ -7167,7 +7327,8 @@ class Video {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (id != null) {
|
| _json["id"] = id;
|
| }
|
| @@ -7184,12 +7345,11 @@ class Video {
|
| }
|
| }
|
|
|
| -/** The properties of the Video. */
|
| +/// The properties of the Video.
|
| class VideoProperties {
|
| - /**
|
| - * The outline of the video. The default outline matches the defaults for new
|
| - * videos created in the Slides editor.
|
| - */
|
| + /// The outline of the video. The default outline matches the defaults for
|
| + /// new
|
| + /// videos created in the Slides editor.
|
| Outline outline;
|
|
|
| VideoProperties();
|
| @@ -7201,7 +7361,8 @@ class VideoProperties {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (outline != null) {
|
| _json["outline"] = (outline).toJson();
|
| }
|
| @@ -7209,26 +7370,23 @@ class VideoProperties {
|
| }
|
| }
|
|
|
| -/** Represents a font family and weight used to style a TextRun. */
|
| +/// Represents a font family and weight used to style a TextRun.
|
| class WeightedFontFamily {
|
| - /**
|
| - * The font family of the text.
|
| - *
|
| - * The font family can be any font from the Font menu in Slides or from
|
| - * [Google Fonts] (https://fonts.google.com/). If the font name is
|
| - * unrecognized, the text is rendered in `Arial`.
|
| - */
|
| + /// The font family of the text.
|
| + ///
|
| + /// The font family can be any font from the Font menu in Slides or from
|
| + /// [Google Fonts] (https://fonts.google.com/). If the font name is
|
| + /// unrecognized, the text is rendered in `Arial`.
|
| core.String fontFamily;
|
| - /**
|
| - * The rendered weight of the text. This field can have any value that is a
|
| - * multiple of `100` between `100` and `900`, inclusive. This range
|
| - * corresponds to the numerical values described in the CSS 2.1
|
| - * Specification, [section
|
| - * 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
|
| - * with non-numerical values disallowed. Weights greater than or equal to
|
| - * `700` are considered bold, and weights less than `700`are not bold. The
|
| - * default value is `400` ("normal").
|
| - */
|
| +
|
| + /// The rendered weight of the text. This field can have any value that is a
|
| + /// multiple of `100` between `100` and `900`, inclusive. This range
|
| + /// corresponds to the numerical values described in the CSS 2.1
|
| + /// Specification, [section
|
| + /// 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
|
| + /// with non-numerical values disallowed. Weights greater than or equal to
|
| + /// `700` are considered bold, and weights less than `700`are not bold. The
|
| + /// default value is `400` ("normal").
|
| core.int weight;
|
|
|
| WeightedFontFamily();
|
| @@ -7243,7 +7401,8 @@ class WeightedFontFamily {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (fontFamily != null) {
|
| _json["fontFamily"] = fontFamily;
|
| }
|
| @@ -7254,12 +7413,10 @@ class WeightedFontFamily {
|
| }
|
| }
|
|
|
| -/**
|
| - * A PageElement kind representing
|
| - * word art.
|
| - */
|
| +/// A PageElement kind representing
|
| +/// word art.
|
| class WordArt {
|
| - /** The text rendered as word art. */
|
| + /// The text rendered as word art.
|
| core.String renderedText;
|
|
|
| WordArt();
|
| @@ -7271,7 +7428,8 @@ class WordArt {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (renderedText != null) {
|
| _json["renderedText"] = renderedText;
|
| }
|
| @@ -7279,14 +7437,13 @@ class WordArt {
|
| }
|
| }
|
|
|
| -/** Provides control over how write requests are executed. */
|
| +/// Provides control over how write requests are executed.
|
| class WriteControl {
|
| - /**
|
| - * The revision ID of the presentation required for the write request. If
|
| - * specified and the `required_revision_id` doesn't exactly match the
|
| - * presentation's current `revision_id`, the request will not be processed and
|
| - * will return a 400 bad request error.
|
| - */
|
| + /// The revision ID of the presentation required for the write request. If
|
| + /// specified and the `required_revision_id` doesn't exactly match the
|
| + /// presentation's current `revision_id`, the request will not be processed
|
| + /// and
|
| + /// will return a 400 bad request error.
|
| core.String requiredRevisionId;
|
|
|
| WriteControl();
|
| @@ -7298,7 +7455,8 @@ class WriteControl {
|
| }
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| - final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + final core.Map<core.String, core.Object> _json =
|
| + new core.Map<core.String, core.Object>();
|
| if (requiredRevisionId != null) {
|
| _json["requiredRevisionId"] = requiredRevisionId;
|
| }
|
|
|