diff --git a/api_names_out.yaml b/api_names_out.yaml index 8ba9e9a8f..fd041709f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -66756,6 +66756,688 @@ "/dns:v2beta1/key": key "/dns:v2beta1/quotaUser": quota_user "/dns:v2beta1/userIp": user_ip +"/docs:v1/AutoText": auto_text +"/docs:v1/AutoText/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/AutoText/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/AutoText/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/AutoText/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/AutoText/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/AutoText/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/AutoText/textStyle": text_style +"/docs:v1/AutoText/type": type +"/docs:v1/Background": background +"/docs:v1/Background/color": color +"/docs:v1/BackgroundSuggestionState": background_suggestion_state +"/docs:v1/BackgroundSuggestionState/backgroundColorSuggested": background_color_suggested +"/docs:v1/BatchUpdateDocumentRequest": batch_update_document_request +"/docs:v1/BatchUpdateDocumentRequest/requests": requests +"/docs:v1/BatchUpdateDocumentRequest/requests/request": request +"/docs:v1/BatchUpdateDocumentRequest/writeControl": write_control +"/docs:v1/BatchUpdateDocumentResponse": batch_update_document_response +"/docs:v1/BatchUpdateDocumentResponse/documentId": document_id +"/docs:v1/BatchUpdateDocumentResponse/replies": replies +"/docs:v1/BatchUpdateDocumentResponse/replies/reply": reply +"/docs:v1/BatchUpdateDocumentResponse/writeControl": write_control +"/docs:v1/Body": body +"/docs:v1/Body/content": content +"/docs:v1/Body/content/content": content +"/docs:v1/Bullet": bullet +"/docs:v1/Bullet/listId": list_id +"/docs:v1/Bullet/nestingLevel": nesting_level +"/docs:v1/Bullet/textStyle": text_style +"/docs:v1/BulletSuggestionState": bullet_suggestion_state +"/docs:v1/BulletSuggestionState/listIdSuggested": list_id_suggested +"/docs:v1/BulletSuggestionState/nestingLevelSuggested": nesting_level_suggested +"/docs:v1/BulletSuggestionState/textStyleSuggestionState": text_style_suggestion_state +"/docs:v1/Color": color +"/docs:v1/Color/rgbColor": rgb_color +"/docs:v1/ColumnBreak": column_break +"/docs:v1/ColumnBreak/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/ColumnBreak/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/ColumnBreak/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/ColumnBreak/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/ColumnBreak/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/ColumnBreak/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/ColumnBreak/textStyle": text_style +"/docs:v1/CreateNamedRangeRequest": create_named_range_request +"/docs:v1/CreateNamedRangeRequest/name": name +"/docs:v1/CreateNamedRangeRequest/range": range +"/docs:v1/CreateNamedRangeResponse": create_named_range_response +"/docs:v1/CreateNamedRangeResponse/namedRangeId": named_range_id +"/docs:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request +"/docs:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/docs:v1/CreateParagraphBulletsRequest/range": range +"/docs:v1/CropProperties": crop_properties +"/docs:v1/CropProperties/angle": angle +"/docs:v1/CropProperties/offsetBottom": offset_bottom +"/docs:v1/CropProperties/offsetLeft": offset_left +"/docs:v1/CropProperties/offsetRight": offset_right +"/docs:v1/CropProperties/offsetTop": offset_top +"/docs:v1/CropPropertiesSuggestionState": crop_properties_suggestion_state +"/docs:v1/CropPropertiesSuggestionState/angleSuggested": angle_suggested +"/docs:v1/CropPropertiesSuggestionState/offsetBottomSuggested": offset_bottom_suggested +"/docs:v1/CropPropertiesSuggestionState/offsetLeftSuggested": offset_left_suggested +"/docs:v1/CropPropertiesSuggestionState/offsetRightSuggested": offset_right_suggested +"/docs:v1/CropPropertiesSuggestionState/offsetTopSuggested": offset_top_suggested +"/docs:v1/DeleteContentRangeRequest": delete_content_range_request +"/docs:v1/DeleteContentRangeRequest/range": range +"/docs:v1/DeleteNamedRangeRequest": delete_named_range_request +"/docs:v1/DeleteNamedRangeRequest/name": name +"/docs:v1/DeleteNamedRangeRequest/namedRangeId": named_range_id +"/docs:v1/DeleteParagraphBulletsRequest": delete_paragraph_bullets_request +"/docs:v1/DeleteParagraphBulletsRequest/range": range +"/docs:v1/DeletePositionedObjectRequest": delete_positioned_object_request +"/docs:v1/DeletePositionedObjectRequest/objectId": object_id_prop +"/docs:v1/DeleteTableColumnRequest": delete_table_column_request +"/docs:v1/DeleteTableColumnRequest/tableCellLocation": table_cell_location +"/docs:v1/DeleteTableRowRequest": delete_table_row_request +"/docs:v1/DeleteTableRowRequest/tableCellLocation": table_cell_location +"/docs:v1/Dimension": dimension +"/docs:v1/Dimension/magnitude": magnitude +"/docs:v1/Dimension/unit": unit +"/docs:v1/Document": document +"/docs:v1/Document/body": body +"/docs:v1/Document/documentId": document_id +"/docs:v1/Document/documentStyle": document_style +"/docs:v1/Document/footers": footers +"/docs:v1/Document/footers/footer": footer +"/docs:v1/Document/footnotes": footnotes +"/docs:v1/Document/footnotes/footnote": footnote +"/docs:v1/Document/headers": headers +"/docs:v1/Document/headers/header": header +"/docs:v1/Document/inlineObjects": inline_objects +"/docs:v1/Document/inlineObjects/inline_object": inline_object +"/docs:v1/Document/lists": lists +"/docs:v1/Document/lists/list": list +"/docs:v1/Document/namedRanges": named_ranges +"/docs:v1/Document/namedRanges/named_range": named_range +"/docs:v1/Document/namedStyles": named_styles +"/docs:v1/Document/positionedObjects": positioned_objects +"/docs:v1/Document/positionedObjects/positioned_object": positioned_object +"/docs:v1/Document/revisionId": revision_id +"/docs:v1/Document/suggestedDocumentStyleChanges": suggested_document_style_changes +"/docs:v1/Document/suggestedDocumentStyleChanges/suggested_document_style_change": suggested_document_style_change +"/docs:v1/Document/suggestedNamedStylesChanges": suggested_named_styles_changes +"/docs:v1/Document/suggestedNamedStylesChanges/suggested_named_styles_change": suggested_named_styles_change +"/docs:v1/Document/suggestionsViewMode": suggestions_view_mode +"/docs:v1/Document/title": title +"/docs:v1/DocumentStyle": document_style +"/docs:v1/DocumentStyle/background": background +"/docs:v1/DocumentStyle/defaultFooterId": default_footer_id +"/docs:v1/DocumentStyle/defaultHeaderId": default_header_id +"/docs:v1/DocumentStyle/evenPageFooterId": even_page_footer_id +"/docs:v1/DocumentStyle/evenPageHeaderId": even_page_header_id +"/docs:v1/DocumentStyle/firstPageFooterId": first_page_footer_id +"/docs:v1/DocumentStyle/firstPageHeaderId": first_page_header_id +"/docs:v1/DocumentStyle/marginBottom": margin_bottom +"/docs:v1/DocumentStyle/marginLeft": margin_left +"/docs:v1/DocumentStyle/marginRight": margin_right +"/docs:v1/DocumentStyle/marginTop": margin_top +"/docs:v1/DocumentStyle/pageNumberStart": page_number_start +"/docs:v1/DocumentStyle/pageSize": page_size +"/docs:v1/DocumentStyle/useEvenPageHeaderFooter": use_even_page_header_footer +"/docs:v1/DocumentStyle/useFirstPageHeaderFooter": use_first_page_header_footer +"/docs:v1/DocumentStyleSuggestionState": document_style_suggestion_state +"/docs:v1/DocumentStyleSuggestionState/backgroundSuggestionState": background_suggestion_state +"/docs:v1/DocumentStyleSuggestionState/defaultFooterIdSuggested": default_footer_id_suggested +"/docs:v1/DocumentStyleSuggestionState/defaultHeaderIdSuggested": default_header_id_suggested +"/docs:v1/DocumentStyleSuggestionState/evenPageFooterIdSuggested": even_page_footer_id_suggested +"/docs:v1/DocumentStyleSuggestionState/evenPageHeaderIdSuggested": even_page_header_id_suggested +"/docs:v1/DocumentStyleSuggestionState/firstPageFooterIdSuggested": first_page_footer_id_suggested +"/docs:v1/DocumentStyleSuggestionState/firstPageHeaderIdSuggested": first_page_header_id_suggested +"/docs:v1/DocumentStyleSuggestionState/marginBottomSuggested": margin_bottom_suggested +"/docs:v1/DocumentStyleSuggestionState/marginLeftSuggested": margin_left_suggested +"/docs:v1/DocumentStyleSuggestionState/marginRightSuggested": margin_right_suggested +"/docs:v1/DocumentStyleSuggestionState/marginTopSuggested": margin_top_suggested +"/docs:v1/DocumentStyleSuggestionState/pageNumberStartSuggested": page_number_start_suggested +"/docs:v1/DocumentStyleSuggestionState/pageSizeSuggestionState": page_size_suggestion_state +"/docs:v1/DocumentStyleSuggestionState/useEvenPageHeaderFooterSuggested": use_even_page_header_footer_suggested +"/docs:v1/DocumentStyleSuggestionState/useFirstPageHeaderFooterSuggested": use_first_page_header_footer_suggested +"/docs:v1/EmbeddedDrawingProperties": embedded_drawing_properties +"/docs:v1/EmbeddedDrawingPropertiesSuggestionState": embedded_drawing_properties_suggestion_state +"/docs:v1/EmbeddedObject": embedded_object +"/docs:v1/EmbeddedObject/description": description +"/docs:v1/EmbeddedObject/embeddedDrawingProperties": embedded_drawing_properties +"/docs:v1/EmbeddedObject/embeddedObjectBorder": embedded_object_border +"/docs:v1/EmbeddedObject/imageProperties": image_properties +"/docs:v1/EmbeddedObject/linkedContentReference": linked_content_reference +"/docs:v1/EmbeddedObject/marginBottom": margin_bottom +"/docs:v1/EmbeddedObject/marginLeft": margin_left +"/docs:v1/EmbeddedObject/marginRight": margin_right +"/docs:v1/EmbeddedObject/marginTop": margin_top +"/docs:v1/EmbeddedObject/size": size +"/docs:v1/EmbeddedObject/title": title +"/docs:v1/EmbeddedObjectBorder": embedded_object_border +"/docs:v1/EmbeddedObjectBorder/color": color +"/docs:v1/EmbeddedObjectBorder/dashStyle": dash_style +"/docs:v1/EmbeddedObjectBorder/propertyState": property_state +"/docs:v1/EmbeddedObjectBorder/width": width +"/docs:v1/EmbeddedObjectBorderSuggestionState": embedded_object_border_suggestion_state +"/docs:v1/EmbeddedObjectBorderSuggestionState/colorSuggested": color_suggested +"/docs:v1/EmbeddedObjectBorderSuggestionState/dashStyleSuggested": dash_style_suggested +"/docs:v1/EmbeddedObjectBorderSuggestionState/propertyStateSuggested": property_state_suggested +"/docs:v1/EmbeddedObjectBorderSuggestionState/widthSuggested": width_suggested +"/docs:v1/EmbeddedObjectSuggestionState": embedded_object_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/descriptionSuggested": description_suggested +"/docs:v1/EmbeddedObjectSuggestionState/embeddedDrawingPropertiesSuggestionState": embedded_drawing_properties_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/embeddedObjectBorderSuggestionState": embedded_object_border_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/imagePropertiesSuggestionState": image_properties_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/linkedContentReferenceSuggestionState": linked_content_reference_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/marginBottomSuggested": margin_bottom_suggested +"/docs:v1/EmbeddedObjectSuggestionState/marginLeftSuggested": margin_left_suggested +"/docs:v1/EmbeddedObjectSuggestionState/marginRightSuggested": margin_right_suggested +"/docs:v1/EmbeddedObjectSuggestionState/marginTopSuggested": margin_top_suggested +"/docs:v1/EmbeddedObjectSuggestionState/sizeSuggestionState": size_suggestion_state +"/docs:v1/EmbeddedObjectSuggestionState/titleSuggested": title_suggested +"/docs:v1/EndOfSegmentLocation": end_of_segment_location +"/docs:v1/EndOfSegmentLocation/segmentId": segment_id +"/docs:v1/Equation": equation +"/docs:v1/Equation/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/Equation/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/Equation/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/Equation/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/Footer": footer +"/docs:v1/Footer/content": content +"/docs:v1/Footer/content/content": content +"/docs:v1/Footer/footerId": footer_id +"/docs:v1/Footnote": footnote +"/docs:v1/Footnote/content": content +"/docs:v1/Footnote/content/content": content +"/docs:v1/Footnote/footnoteId": footnote_id +"/docs:v1/FootnoteReference": footnote_reference +"/docs:v1/FootnoteReference/footnoteId": footnote_id +"/docs:v1/FootnoteReference/footnoteNumber": footnote_number +"/docs:v1/FootnoteReference/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/FootnoteReference/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/FootnoteReference/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/FootnoteReference/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/FootnoteReference/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/FootnoteReference/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/FootnoteReference/textStyle": text_style +"/docs:v1/Header": header +"/docs:v1/Header/content": content +"/docs:v1/Header/content/content": content +"/docs:v1/Header/headerId": header_id +"/docs:v1/HorizontalRule": horizontal_rule +"/docs:v1/HorizontalRule/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/HorizontalRule/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/HorizontalRule/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/HorizontalRule/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/HorizontalRule/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/HorizontalRule/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/HorizontalRule/textStyle": text_style +"/docs:v1/ImageProperties": image_properties +"/docs:v1/ImageProperties/angle": angle +"/docs:v1/ImageProperties/brightness": brightness +"/docs:v1/ImageProperties/contentUri": content_uri +"/docs:v1/ImageProperties/contrast": contrast +"/docs:v1/ImageProperties/cropProperties": crop_properties +"/docs:v1/ImageProperties/sourceUri": source_uri +"/docs:v1/ImageProperties/transparency": transparency +"/docs:v1/ImagePropertiesSuggestionState": image_properties_suggestion_state +"/docs:v1/ImagePropertiesSuggestionState/angleSuggested": angle_suggested +"/docs:v1/ImagePropertiesSuggestionState/brightnessSuggested": brightness_suggested +"/docs:v1/ImagePropertiesSuggestionState/contentUriSuggested": content_uri_suggested +"/docs:v1/ImagePropertiesSuggestionState/contrastSuggested": contrast_suggested +"/docs:v1/ImagePropertiesSuggestionState/cropPropertiesSuggestionState": crop_properties_suggestion_state +"/docs:v1/ImagePropertiesSuggestionState/sourceUriSuggested": source_uri_suggested +"/docs:v1/ImagePropertiesSuggestionState/transparencySuggested": transparency_suggested +"/docs:v1/InlineObject": inline_object +"/docs:v1/InlineObject/inlineObjectProperties": inline_object_properties +"/docs:v1/InlineObject/objectId": object_id_prop +"/docs:v1/InlineObject/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/InlineObject/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/InlineObject/suggestedInlineObjectPropertiesChanges": suggested_inline_object_properties_changes +"/docs:v1/InlineObject/suggestedInlineObjectPropertiesChanges/suggested_inline_object_properties_change": suggested_inline_object_properties_change +"/docs:v1/InlineObject/suggestedInsertionId": suggested_insertion_id +"/docs:v1/InlineObjectElement": inline_object_element +"/docs:v1/InlineObjectElement/inlineObjectId": inline_object_id +"/docs:v1/InlineObjectElement/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/InlineObjectElement/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/InlineObjectElement/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/InlineObjectElement/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/InlineObjectElement/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/InlineObjectElement/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/InlineObjectElement/textStyle": text_style +"/docs:v1/InlineObjectProperties": inline_object_properties +"/docs:v1/InlineObjectProperties/embeddedObject": embedded_object +"/docs:v1/InlineObjectPropertiesSuggestionState": inline_object_properties_suggestion_state +"/docs:v1/InlineObjectPropertiesSuggestionState/embeddedObjectSuggestionState": embedded_object_suggestion_state +"/docs:v1/InsertInlineImageRequest": insert_inline_image_request +"/docs:v1/InsertInlineImageRequest/endOfSegmentLocation": end_of_segment_location +"/docs:v1/InsertInlineImageRequest/location": location +"/docs:v1/InsertInlineImageRequest/objectSize": object_size +"/docs:v1/InsertInlineImageRequest/uri": uri +"/docs:v1/InsertInlineImageResponse": insert_inline_image_response +"/docs:v1/InsertInlineImageResponse/objectId": object_id_prop +"/docs:v1/InsertInlineSheetsChartResponse": insert_inline_sheets_chart_response +"/docs:v1/InsertInlineSheetsChartResponse/objectId": object_id_prop +"/docs:v1/InsertTableRowRequest": insert_table_row_request +"/docs:v1/InsertTableRowRequest/insertBelow": insert_below +"/docs:v1/InsertTableRowRequest/tableCellLocation": table_cell_location +"/docs:v1/InsertTextRequest": insert_text_request +"/docs:v1/InsertTextRequest/endOfSegmentLocation": end_of_segment_location +"/docs:v1/InsertTextRequest/location": location +"/docs:v1/InsertTextRequest/text": text +"/docs:v1/Link": link +"/docs:v1/Link/bookmarkId": bookmark_id +"/docs:v1/Link/headingId": heading_id +"/docs:v1/Link/url": url +"/docs:v1/LinkedContentReference": linked_content_reference +"/docs:v1/LinkedContentReference/sheetsChartReference": sheets_chart_reference +"/docs:v1/LinkedContentReferenceSuggestionState": linked_content_reference_suggestion_state +"/docs:v1/LinkedContentReferenceSuggestionState/sheetsChartReferenceSuggestionState": sheets_chart_reference_suggestion_state +"/docs:v1/List": list +"/docs:v1/List/listProperties": list_properties +"/docs:v1/List/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/List/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/List/suggestedInsertionId": suggested_insertion_id +"/docs:v1/List/suggestedListPropertiesChanges": suggested_list_properties_changes +"/docs:v1/List/suggestedListPropertiesChanges/suggested_list_properties_change": suggested_list_properties_change +"/docs:v1/ListProperties": list_properties +"/docs:v1/ListProperties/nestingLevels": nesting_levels +"/docs:v1/ListProperties/nestingLevels/nesting_level": nesting_level +"/docs:v1/ListPropertiesSuggestionState": list_properties_suggestion_state +"/docs:v1/ListPropertiesSuggestionState/nestingLevelsSuggestionStates": nesting_levels_suggestion_states +"/docs:v1/ListPropertiesSuggestionState/nestingLevelsSuggestionStates/nesting_levels_suggestion_state": nesting_levels_suggestion_state +"/docs:v1/Location": location +"/docs:v1/Location/index": index +"/docs:v1/Location/segmentId": segment_id +"/docs:v1/NamedRange": named_range +"/docs:v1/NamedRange/name": name +"/docs:v1/NamedRange/namedRangeId": named_range_id +"/docs:v1/NamedRange/ranges": ranges +"/docs:v1/NamedRange/ranges/range": range +"/docs:v1/NamedRanges": named_ranges +"/docs:v1/NamedRanges/name": name +"/docs:v1/NamedRanges/namedRanges": named_ranges +"/docs:v1/NamedRanges/namedRanges/named_range": named_range +"/docs:v1/NamedStyle": named_style +"/docs:v1/NamedStyle/namedStyleType": named_style_type +"/docs:v1/NamedStyle/paragraphStyle": paragraph_style +"/docs:v1/NamedStyle/textStyle": text_style +"/docs:v1/NamedStyleSuggestionState": named_style_suggestion_state +"/docs:v1/NamedStyleSuggestionState/namedStyleType": named_style_type +"/docs:v1/NamedStyleSuggestionState/paragraphStyleSuggestionState": paragraph_style_suggestion_state +"/docs:v1/NamedStyleSuggestionState/textStyleSuggestionState": text_style_suggestion_state +"/docs:v1/NamedStyles": named_styles +"/docs:v1/NamedStyles/styles": styles +"/docs:v1/NamedStyles/styles/style": style +"/docs:v1/NamedStylesSuggestionState": named_styles_suggestion_state +"/docs:v1/NamedStylesSuggestionState/stylesSuggestionStates": styles_suggestion_states +"/docs:v1/NamedStylesSuggestionState/stylesSuggestionStates/styles_suggestion_state": styles_suggestion_state +"/docs:v1/NestingLevel": nesting_level +"/docs:v1/NestingLevel/bulletAlignment": bullet_alignment +"/docs:v1/NestingLevel/glyphFormat": glyph_format +"/docs:v1/NestingLevel/glyphSymbol": glyph_symbol +"/docs:v1/NestingLevel/glyphType": glyph_type +"/docs:v1/NestingLevel/indentFirstLine": indent_first_line +"/docs:v1/NestingLevel/indentStart": indent_start +"/docs:v1/NestingLevel/startNumber": start_number +"/docs:v1/NestingLevel/textStyle": text_style +"/docs:v1/NestingLevelSuggestionState": nesting_level_suggestion_state +"/docs:v1/NestingLevelSuggestionState/bulletAlignmentSuggested": bullet_alignment_suggested +"/docs:v1/NestingLevelSuggestionState/glyphFormatSuggested": glyph_format_suggested +"/docs:v1/NestingLevelSuggestionState/glyphSymbolSuggested": glyph_symbol_suggested +"/docs:v1/NestingLevelSuggestionState/glyphTypeSuggested": glyph_type_suggested +"/docs:v1/NestingLevelSuggestionState/indentFirstLineSuggested": indent_first_line_suggested +"/docs:v1/NestingLevelSuggestionState/indentStartSuggested": indent_start_suggested +"/docs:v1/NestingLevelSuggestionState/startNumberSuggested": start_number_suggested +"/docs:v1/NestingLevelSuggestionState/textStyleSuggestionState": text_style_suggestion_state +"/docs:v1/ObjectReferences": object_references +"/docs:v1/ObjectReferences/objectIds": object_ids +"/docs:v1/ObjectReferences/objectIds/object_id": object_id_prop +"/docs:v1/OptionalColor": optional_color +"/docs:v1/OptionalColor/color": color +"/docs:v1/PageBreak": page_break +"/docs:v1/PageBreak/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/PageBreak/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/PageBreak/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/PageBreak/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/PageBreak/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/PageBreak/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/PageBreak/textStyle": text_style +"/docs:v1/Paragraph": paragraph +"/docs:v1/Paragraph/bullet": bullet +"/docs:v1/Paragraph/elements": elements +"/docs:v1/Paragraph/elements/element": element +"/docs:v1/Paragraph/paragraphStyle": paragraph_style +"/docs:v1/Paragraph/positionedObjectIds": positioned_object_ids +"/docs:v1/Paragraph/positionedObjectIds/positioned_object_id": positioned_object_id +"/docs:v1/Paragraph/suggestedBulletChanges": suggested_bullet_changes +"/docs:v1/Paragraph/suggestedBulletChanges/suggested_bullet_change": suggested_bullet_change +"/docs:v1/Paragraph/suggestedParagraphStyleChanges": suggested_paragraph_style_changes +"/docs:v1/Paragraph/suggestedParagraphStyleChanges/suggested_paragraph_style_change": suggested_paragraph_style_change +"/docs:v1/Paragraph/suggestedPositionedObjectIds": suggested_positioned_object_ids +"/docs:v1/Paragraph/suggestedPositionedObjectIds/suggested_positioned_object_id": suggested_positioned_object_id +"/docs:v1/ParagraphBorder": paragraph_border +"/docs:v1/ParagraphBorder/color": color +"/docs:v1/ParagraphBorder/dashStyle": dash_style +"/docs:v1/ParagraphBorder/padding": padding +"/docs:v1/ParagraphBorder/width": width +"/docs:v1/ParagraphElement": paragraph_element +"/docs:v1/ParagraphElement/autoText": auto_text +"/docs:v1/ParagraphElement/columnBreak": column_break +"/docs:v1/ParagraphElement/endIndex": end_index +"/docs:v1/ParagraphElement/equation": equation +"/docs:v1/ParagraphElement/footnoteReference": footnote_reference +"/docs:v1/ParagraphElement/horizontalRule": horizontal_rule +"/docs:v1/ParagraphElement/inlineObjectElement": inline_object_element +"/docs:v1/ParagraphElement/pageBreak": page_break +"/docs:v1/ParagraphElement/startIndex": start_index +"/docs:v1/ParagraphElement/textRun": text_run +"/docs:v1/ParagraphStyle": paragraph_style +"/docs:v1/ParagraphStyle/alignment": alignment +"/docs:v1/ParagraphStyle/avoidWidowAndOrphan": avoid_widow_and_orphan +"/docs:v1/ParagraphStyle/borderBetween": border_between +"/docs:v1/ParagraphStyle/borderBottom": border_bottom +"/docs:v1/ParagraphStyle/borderLeft": border_left +"/docs:v1/ParagraphStyle/borderRight": border_right +"/docs:v1/ParagraphStyle/borderTop": border_top +"/docs:v1/ParagraphStyle/direction": direction +"/docs:v1/ParagraphStyle/headingId": heading_id +"/docs:v1/ParagraphStyle/indentEnd": indent_end +"/docs:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/docs:v1/ParagraphStyle/indentStart": indent_start +"/docs:v1/ParagraphStyle/keepLinesTogether": keep_lines_together +"/docs:v1/ParagraphStyle/keepWithNext": keep_with_next +"/docs:v1/ParagraphStyle/lineSpacing": line_spacing +"/docs:v1/ParagraphStyle/namedStyleType": named_style_type +"/docs:v1/ParagraphStyle/shading": shading +"/docs:v1/ParagraphStyle/spaceAbove": space_above +"/docs:v1/ParagraphStyle/spaceBelow": space_below +"/docs:v1/ParagraphStyle/spacingMode": spacing_mode +"/docs:v1/ParagraphStyle/tabStops": tab_stops +"/docs:v1/ParagraphStyle/tabStops/tab_stop": tab_stop +"/docs:v1/ParagraphStyleSuggestionState": paragraph_style_suggestion_state +"/docs:v1/ParagraphStyleSuggestionState/alignmentSuggested": alignment_suggested +"/docs:v1/ParagraphStyleSuggestionState/avoidWidowAndOrphanSuggested": avoid_widow_and_orphan_suggested +"/docs:v1/ParagraphStyleSuggestionState/borderBetweenSuggested": border_between_suggested +"/docs:v1/ParagraphStyleSuggestionState/borderBottomSuggested": border_bottom_suggested +"/docs:v1/ParagraphStyleSuggestionState/borderLeftSuggested": border_left_suggested +"/docs:v1/ParagraphStyleSuggestionState/borderRightSuggested": border_right_suggested +"/docs:v1/ParagraphStyleSuggestionState/borderTopSuggested": border_top_suggested +"/docs:v1/ParagraphStyleSuggestionState/directionSuggested": direction_suggested +"/docs:v1/ParagraphStyleSuggestionState/headingIdSuggested": heading_id_suggested +"/docs:v1/ParagraphStyleSuggestionState/indentEndSuggested": indent_end_suggested +"/docs:v1/ParagraphStyleSuggestionState/indentFirstLineSuggested": indent_first_line_suggested +"/docs:v1/ParagraphStyleSuggestionState/indentStartSuggested": indent_start_suggested +"/docs:v1/ParagraphStyleSuggestionState/keepLinesTogetherSuggested": keep_lines_together_suggested +"/docs:v1/ParagraphStyleSuggestionState/keepWithNextSuggested": keep_with_next_suggested +"/docs:v1/ParagraphStyleSuggestionState/lineSpacingSuggested": line_spacing_suggested +"/docs:v1/ParagraphStyleSuggestionState/namedStyleTypeSuggested": named_style_type_suggested +"/docs:v1/ParagraphStyleSuggestionState/shadingSuggestionState": shading_suggestion_state +"/docs:v1/ParagraphStyleSuggestionState/spaceAboveSuggested": space_above_suggested +"/docs:v1/ParagraphStyleSuggestionState/spaceBelowSuggested": space_below_suggested +"/docs:v1/ParagraphStyleSuggestionState/spacingModeSuggested": spacing_mode_suggested +"/docs:v1/PositionedObject": positioned_object +"/docs:v1/PositionedObject/objectId": object_id_prop +"/docs:v1/PositionedObject/positionedObjectProperties": positioned_object_properties +"/docs:v1/PositionedObject/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/PositionedObject/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/PositionedObject/suggestedInsertionId": suggested_insertion_id +"/docs:v1/PositionedObject/suggestedPositionedObjectPropertiesChanges": suggested_positioned_object_properties_changes +"/docs:v1/PositionedObject/suggestedPositionedObjectPropertiesChanges/suggested_positioned_object_properties_change": suggested_positioned_object_properties_change +"/docs:v1/PositionedObjectPositioning": positioned_object_positioning +"/docs:v1/PositionedObjectPositioning/layout": layout +"/docs:v1/PositionedObjectPositioning/leftOffset": left_offset +"/docs:v1/PositionedObjectPositioning/topOffset": top_offset +"/docs:v1/PositionedObjectPositioningSuggestionState": positioned_object_positioning_suggestion_state +"/docs:v1/PositionedObjectPositioningSuggestionState/layoutSuggested": layout_suggested +"/docs:v1/PositionedObjectPositioningSuggestionState/leftOffsetSuggested": left_offset_suggested +"/docs:v1/PositionedObjectPositioningSuggestionState/topOffsetSuggested": top_offset_suggested +"/docs:v1/PositionedObjectProperties": positioned_object_properties +"/docs:v1/PositionedObjectProperties/embeddedObject": embedded_object +"/docs:v1/PositionedObjectProperties/positioning": positioning +"/docs:v1/PositionedObjectPropertiesSuggestionState": positioned_object_properties_suggestion_state +"/docs:v1/PositionedObjectPropertiesSuggestionState/embeddedObjectSuggestionState": embedded_object_suggestion_state +"/docs:v1/PositionedObjectPropertiesSuggestionState/positioningSuggestionState": positioning_suggestion_state +"/docs:v1/Range": range +"/docs:v1/Range/endIndex": end_index +"/docs:v1/Range/segmentId": segment_id +"/docs:v1/Range/startIndex": start_index +"/docs:v1/ReplaceAllTextRequest": replace_all_text_request +"/docs:v1/ReplaceAllTextRequest/containsText": contains_text +"/docs:v1/ReplaceAllTextRequest/replaceText": replace_text +"/docs:v1/ReplaceAllTextResponse": replace_all_text_response +"/docs:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed +"/docs:v1/Request": request +"/docs:v1/Request/createNamedRange": create_named_range +"/docs:v1/Request/createParagraphBullets": create_paragraph_bullets +"/docs:v1/Request/deleteContentRange": delete_content_range +"/docs:v1/Request/deleteNamedRange": delete_named_range +"/docs:v1/Request/deleteParagraphBullets": delete_paragraph_bullets +"/docs:v1/Request/deletePositionedObject": delete_positioned_object +"/docs:v1/Request/deleteTableColumn": delete_table_column +"/docs:v1/Request/deleteTableRow": delete_table_row +"/docs:v1/Request/insertInlineImage": insert_inline_image +"/docs:v1/Request/insertTableRow": insert_table_row +"/docs:v1/Request/insertText": insert_text +"/docs:v1/Request/replaceAllText": replace_all_text +"/docs:v1/Request/updateParagraphStyle": update_paragraph_style +"/docs:v1/Request/updateTextStyle": update_text_style +"/docs:v1/Response": response +"/docs:v1/Response/createNamedRange": create_named_range +"/docs:v1/Response/insertInlineImage": insert_inline_image +"/docs:v1/Response/insertInlineSheetsChart": insert_inline_sheets_chart +"/docs:v1/Response/replaceAllText": replace_all_text +"/docs:v1/RgbColor": rgb_color +"/docs:v1/RgbColor/blue": blue +"/docs:v1/RgbColor/green": green +"/docs:v1/RgbColor/red": red +"/docs:v1/SectionBreak": section_break +"/docs:v1/SectionBreak/sectionStyle": section_style +"/docs:v1/SectionBreak/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/SectionBreak/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/SectionBreak/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/SectionBreak/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/SectionColumnProperties": section_column_properties +"/docs:v1/SectionColumnProperties/paddingEnd": padding_end +"/docs:v1/SectionColumnProperties/width": width +"/docs:v1/SectionStyle": section_style +"/docs:v1/SectionStyle/columnProperties": column_properties +"/docs:v1/SectionStyle/columnProperties/column_property": column_property +"/docs:v1/SectionStyle/columnSeparatorStyle": column_separator_style +"/docs:v1/SectionStyle/contentDirection": content_direction +"/docs:v1/Shading": shading +"/docs:v1/Shading/backgroundColor": background_color +"/docs:v1/ShadingSuggestionState": shading_suggestion_state +"/docs:v1/ShadingSuggestionState/backgroundColorSuggested": background_color_suggested +"/docs:v1/SheetsChartReference": sheets_chart_reference +"/docs:v1/SheetsChartReference/chartId": chart_id +"/docs:v1/SheetsChartReference/spreadsheetId": spreadsheet_id +"/docs:v1/SheetsChartReferenceSuggestionState": sheets_chart_reference_suggestion_state +"/docs:v1/SheetsChartReferenceSuggestionState/chartIdSuggested": chart_id_suggested +"/docs:v1/SheetsChartReferenceSuggestionState/spreadsheetIdSuggested": spreadsheet_id_suggested +"/docs:v1/Size": size +"/docs:v1/Size/height": height +"/docs:v1/Size/width": width +"/docs:v1/SizeSuggestionState": size_suggestion_state +"/docs:v1/SizeSuggestionState/heightSuggested": height_suggested +"/docs:v1/SizeSuggestionState/widthSuggested": width_suggested +"/docs:v1/StructuralElement": structural_element +"/docs:v1/StructuralElement/endIndex": end_index +"/docs:v1/StructuralElement/paragraph": paragraph +"/docs:v1/StructuralElement/sectionBreak": section_break +"/docs:v1/StructuralElement/startIndex": start_index +"/docs:v1/StructuralElement/table": table +"/docs:v1/StructuralElement/tableOfContents": table_of_contents +"/docs:v1/SubstringMatchCriteria": substring_match_criteria +"/docs:v1/SubstringMatchCriteria/matchCase": match_case +"/docs:v1/SubstringMatchCriteria/text": text +"/docs:v1/SuggestedBullet": suggested_bullet +"/docs:v1/SuggestedBullet/bullet": bullet +"/docs:v1/SuggestedBullet/bulletSuggestionState": bullet_suggestion_state +"/docs:v1/SuggestedDocumentStyle": suggested_document_style +"/docs:v1/SuggestedDocumentStyle/documentStyle": document_style +"/docs:v1/SuggestedDocumentStyle/documentStyleSuggestionState": document_style_suggestion_state +"/docs:v1/SuggestedInlineObjectProperties": suggested_inline_object_properties +"/docs:v1/SuggestedInlineObjectProperties/inlineObjectProperties": inline_object_properties +"/docs:v1/SuggestedInlineObjectProperties/inlineObjectPropertiesSuggestionState": inline_object_properties_suggestion_state +"/docs:v1/SuggestedListProperties": suggested_list_properties +"/docs:v1/SuggestedListProperties/listProperties": list_properties +"/docs:v1/SuggestedListProperties/listPropertiesSuggestionState": list_properties_suggestion_state +"/docs:v1/SuggestedNamedStyles": suggested_named_styles +"/docs:v1/SuggestedNamedStyles/namedStyles": named_styles +"/docs:v1/SuggestedNamedStyles/namedStylesSuggestionState": named_styles_suggestion_state +"/docs:v1/SuggestedParagraphStyle": suggested_paragraph_style +"/docs:v1/SuggestedParagraphStyle/paragraphStyle": paragraph_style +"/docs:v1/SuggestedParagraphStyle/paragraphStyleSuggestionState": paragraph_style_suggestion_state +"/docs:v1/SuggestedPositionedObjectProperties": suggested_positioned_object_properties +"/docs:v1/SuggestedPositionedObjectProperties/positionedObjectProperties": positioned_object_properties +"/docs:v1/SuggestedPositionedObjectProperties/positionedObjectPropertiesSuggestionState": positioned_object_properties_suggestion_state +"/docs:v1/SuggestedTableCellStyle": suggested_table_cell_style +"/docs:v1/SuggestedTableCellStyle/tableCellStyle": table_cell_style +"/docs:v1/SuggestedTableCellStyle/tableCellStyleSuggestionState": table_cell_style_suggestion_state +"/docs:v1/SuggestedTableRowStyle": suggested_table_row_style +"/docs:v1/SuggestedTableRowStyle/tableRowStyle": table_row_style +"/docs:v1/SuggestedTableRowStyle/tableRowStyleSuggestionState": table_row_style_suggestion_state +"/docs:v1/SuggestedTextStyle": suggested_text_style +"/docs:v1/SuggestedTextStyle/textStyle": text_style +"/docs:v1/SuggestedTextStyle/textStyleSuggestionState": text_style_suggestion_state +"/docs:v1/TabStop": tab_stop +"/docs:v1/TabStop/alignment": alignment +"/docs:v1/TabStop/offset": offset +"/docs:v1/Table": table +"/docs:v1/Table/columns": columns +"/docs:v1/Table/rows": rows +"/docs:v1/Table/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/Table/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/Table/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/Table/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/Table/tableRows": table_rows +"/docs:v1/Table/tableRows/table_row": table_row +"/docs:v1/Table/tableStyle": table_style +"/docs:v1/TableCell": table_cell +"/docs:v1/TableCell/content": content +"/docs:v1/TableCell/content/content": content +"/docs:v1/TableCell/endIndex": end_index +"/docs:v1/TableCell/startIndex": start_index +"/docs:v1/TableCell/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/TableCell/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/TableCell/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/TableCell/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/TableCell/suggestedTableCellStyleChanges": suggested_table_cell_style_changes +"/docs:v1/TableCell/suggestedTableCellStyleChanges/suggested_table_cell_style_change": suggested_table_cell_style_change +"/docs:v1/TableCell/tableCellStyle": table_cell_style +"/docs:v1/TableCellBorder": table_cell_border +"/docs:v1/TableCellBorder/color": color +"/docs:v1/TableCellBorder/dashStyle": dash_style +"/docs:v1/TableCellBorder/width": width +"/docs:v1/TableCellLocation": table_cell_location +"/docs:v1/TableCellLocation/columnIndex": column_index +"/docs:v1/TableCellLocation/rowIndex": row_index +"/docs:v1/TableCellLocation/tableStartLocation": table_start_location +"/docs:v1/TableCellStyle": table_cell_style +"/docs:v1/TableCellStyle/backgroundColor": background_color +"/docs:v1/TableCellStyle/borderBottom": border_bottom +"/docs:v1/TableCellStyle/borderLeft": border_left +"/docs:v1/TableCellStyle/borderRight": border_right +"/docs:v1/TableCellStyle/borderTop": border_top +"/docs:v1/TableCellStyle/columnSpan": column_span +"/docs:v1/TableCellStyle/contentAlignment": content_alignment +"/docs:v1/TableCellStyle/paddingBottom": padding_bottom +"/docs:v1/TableCellStyle/paddingLeft": padding_left +"/docs:v1/TableCellStyle/paddingRight": padding_right +"/docs:v1/TableCellStyle/paddingTop": padding_top +"/docs:v1/TableCellStyle/rowSpan": row_span +"/docs:v1/TableCellStyleSuggestionState": table_cell_style_suggestion_state +"/docs:v1/TableCellStyleSuggestionState/backgroundColorSuggested": background_color_suggested +"/docs:v1/TableCellStyleSuggestionState/borderBottomSuggested": border_bottom_suggested +"/docs:v1/TableCellStyleSuggestionState/borderLeftSuggested": border_left_suggested +"/docs:v1/TableCellStyleSuggestionState/borderRightSuggested": border_right_suggested +"/docs:v1/TableCellStyleSuggestionState/borderTopSuggested": border_top_suggested +"/docs:v1/TableCellStyleSuggestionState/columnSpanSuggested": column_span_suggested +"/docs:v1/TableCellStyleSuggestionState/contentAlignmentSuggested": content_alignment_suggested +"/docs:v1/TableCellStyleSuggestionState/paddingBottomSuggested": padding_bottom_suggested +"/docs:v1/TableCellStyleSuggestionState/paddingLeftSuggested": padding_left_suggested +"/docs:v1/TableCellStyleSuggestionState/paddingRightSuggested": padding_right_suggested +"/docs:v1/TableCellStyleSuggestionState/paddingTopSuggested": padding_top_suggested +"/docs:v1/TableCellStyleSuggestionState/rowSpanSuggested": row_span_suggested +"/docs:v1/TableColumnProperties": table_column_properties +"/docs:v1/TableColumnProperties/width": width +"/docs:v1/TableColumnProperties/widthType": width_type +"/docs:v1/TableOfContents": table_of_contents +"/docs:v1/TableOfContents/content": content +"/docs:v1/TableOfContents/content/content": content +"/docs:v1/TableOfContents/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/TableOfContents/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/TableOfContents/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/TableOfContents/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/TableRow": table_row +"/docs:v1/TableRow/endIndex": end_index +"/docs:v1/TableRow/startIndex": start_index +"/docs:v1/TableRow/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/TableRow/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/TableRow/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/TableRow/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/TableRow/suggestedTableRowStyleChanges": suggested_table_row_style_changes +"/docs:v1/TableRow/suggestedTableRowStyleChanges/suggested_table_row_style_change": suggested_table_row_style_change +"/docs:v1/TableRow/tableCells": table_cells +"/docs:v1/TableRow/tableCells/table_cell": table_cell +"/docs:v1/TableRow/tableRowStyle": table_row_style +"/docs:v1/TableRowStyle": table_row_style +"/docs:v1/TableRowStyle/minRowHeight": min_row_height +"/docs:v1/TableRowStyleSuggestionState": table_row_style_suggestion_state +"/docs:v1/TableRowStyleSuggestionState/minRowHeightSuggested": min_row_height_suggested +"/docs:v1/TableStyle": table_style +"/docs:v1/TableStyle/tableColumnProperties": table_column_properties +"/docs:v1/TableStyle/tableColumnProperties/table_column_property": table_column_property +"/docs:v1/TextRun": text_run +"/docs:v1/TextRun/content": content +"/docs:v1/TextRun/suggestedDeletionIds": suggested_deletion_ids +"/docs:v1/TextRun/suggestedDeletionIds/suggested_deletion_id": suggested_deletion_id +"/docs:v1/TextRun/suggestedInsertionIds": suggested_insertion_ids +"/docs:v1/TextRun/suggestedInsertionIds/suggested_insertion_id": suggested_insertion_id +"/docs:v1/TextRun/suggestedTextStyleChanges": suggested_text_style_changes +"/docs:v1/TextRun/suggestedTextStyleChanges/suggested_text_style_change": suggested_text_style_change +"/docs:v1/TextRun/textStyle": text_style +"/docs:v1/TextStyle": text_style +"/docs:v1/TextStyle/backgroundColor": background_color +"/docs:v1/TextStyle/baselineOffset": baseline_offset +"/docs:v1/TextStyle/bold": bold +"/docs:v1/TextStyle/fontSize": font_size +"/docs:v1/TextStyle/foregroundColor": foreground_color +"/docs:v1/TextStyle/italic": italic +"/docs:v1/TextStyle/link": link +"/docs:v1/TextStyle/smallCaps": small_caps +"/docs:v1/TextStyle/strikethrough": strikethrough +"/docs:v1/TextStyle/underline": underline +"/docs:v1/TextStyle/weightedFontFamily": weighted_font_family +"/docs:v1/TextStyleSuggestionState": text_style_suggestion_state +"/docs:v1/TextStyleSuggestionState/backgroundColorSuggested": background_color_suggested +"/docs:v1/TextStyleSuggestionState/baselineOffsetSuggested": baseline_offset_suggested +"/docs:v1/TextStyleSuggestionState/boldSuggested": bold_suggested +"/docs:v1/TextStyleSuggestionState/fontSizeSuggested": font_size_suggested +"/docs:v1/TextStyleSuggestionState/foregroundColorSuggested": foreground_color_suggested +"/docs:v1/TextStyleSuggestionState/italicSuggested": italic_suggested +"/docs:v1/TextStyleSuggestionState/linkSuggested": link_suggested +"/docs:v1/TextStyleSuggestionState/smallCapsSuggested": small_caps_suggested +"/docs:v1/TextStyleSuggestionState/strikethroughSuggested": strikethrough_suggested +"/docs:v1/TextStyleSuggestionState/underlineSuggested": underline_suggested +"/docs:v1/TextStyleSuggestionState/weightedFontFamilySuggested": weighted_font_family_suggested +"/docs:v1/UpdateParagraphStyleRequest": update_paragraph_style_request +"/docs:v1/UpdateParagraphStyleRequest/fields": fields +"/docs:v1/UpdateParagraphStyleRequest/paragraphStyle": paragraph_style +"/docs:v1/UpdateParagraphStyleRequest/range": range +"/docs:v1/UpdateTextStyleRequest": update_text_style_request +"/docs:v1/UpdateTextStyleRequest/fields": fields +"/docs:v1/UpdateTextStyleRequest/range": range +"/docs:v1/UpdateTextStyleRequest/textStyle": text_style +"/docs:v1/WeightedFontFamily": weighted_font_family +"/docs:v1/WeightedFontFamily/fontFamily": font_family +"/docs:v1/WeightedFontFamily/weight": weight +"/docs:v1/WriteControl": write_control +"/docs:v1/WriteControl/requiredRevisionId": required_revision_id +"/docs:v1/docs.documents.batchUpdate": batch_update_document +"/docs:v1/docs.documents.batchUpdate/documentId": document_id +"/docs:v1/docs.documents.create": create_document +"/docs:v1/docs.documents.get": get_document +"/docs:v1/docs.documents.get/documentId": document_id +"/docs:v1/docs.documents.get/suggestionsViewMode": suggestions_view_mode +"/docs:v1/fields": fields +"/docs:v1/key": key +"/docs:v1/quotaUser": quota_user "/doubleclickbidmanager:v1/DownloadLineItemsRequest": download_line_items_request "/doubleclickbidmanager:v1/DownloadLineItemsRequest/fileSpec": file_spec "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds": filter_ids diff --git a/generated/google/apis/admin_reports_v1.rb b/generated/google/apis/admin_reports_v1.rb index 981d6617f..5749d65d7 100644 --- a/generated/google/apis/admin_reports_v1.rb +++ b/generated/google/apis/admin_reports_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/reports/ module AdminReportsV1 VERSION = 'ReportsV1' - REVISION = '20181219' + REVISION = '20190117' # View audit reports for your G Suite domain AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly' diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index f6a0ee83b..1af1eafb7 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20190117' + REVISION = '20190123' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index a93c09cba..65000f415 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -534,17 +534,17 @@ module Google class AutoInstallConstraint include Google::Apis::Core::Hashable - # Charging state to constrain on. + # Charging state constraint. # Corresponds to the JSON property `chargingStateConstraint` # @return [String] attr_accessor :charging_state_constraint - # The idle state of the device to constrain on. + # Device idle state constraint. # Corresponds to the JSON property `deviceIdleStateConstraint` # @return [String] attr_accessor :device_idle_state_constraint - # Network type to constrain on. + # Network type constraint. # Corresponds to the JSON property `networkTypeConstraint` # @return [String] attr_accessor :network_type_constraint @@ -565,23 +565,24 @@ module Google class AutoInstallPolicy include Google::Apis::Core::Hashable - # The constraints for the install. Currently there can be at most one constraint. + # Constraints for auto-installing the app. You can specify a maximum of one + # constraint. # Corresponds to the JSON property `autoInstallConstraint` # @return [Array] attr_accessor :auto_install_constraint - # The auto install mode. If unset defaults to "doNotAutoInstall". + # The auto-install mode. If unset defaults to "doNotAutoInstall". # Corresponds to the JSON property `autoInstallMode` # @return [String] attr_accessor :auto_install_mode - # The priority of the install, as an unsigned integer. Lower number means higher - # priority. + # The priority of the install, as an unsigned integer. A lower number means + # higher priority. # Corresponds to the JSON property `autoInstallPriority` # @return [Fixnum] attr_accessor :auto_install_priority - # The minimum version of the app. If a lower version of the app is installed + # The minimum version of the app. If a lower version of the app is installed, # then the app will be auto-updated according to the auto-install constraints, # instead of waiting for the regular auto-update. # Corresponds to the JSON property `minimumVersionCode` diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 98163b63d..cab43672d 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -2146,7 +2146,7 @@ module Google # approved apps will be returned (using the pagination parameters), including # apps that are not available in the store (e.g. unpublished apps). # @param [String] token - # A pagination token is contained in a request''s response when there are more + # A pagination token is contained in a request's response when there are more # products. The token can be used in a subsequent request to obtain more # products, and so forth. This parameter cannot be used in the initial request. # @param [String] fields diff --git a/generated/google/apis/cloudbuild_v1alpha1.rb b/generated/google/apis/cloudbuild_v1alpha1.rb index 5c36a5d18..b5bb4d617 100644 --- a/generated/google/apis/cloudbuild_v1alpha1.rb +++ b/generated/google/apis/cloudbuild_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/cloud-build/docs/ module CloudbuildV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190116' + REVISION = '20190127' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1alpha1/classes.rb b/generated/google/apis/cloudbuild_v1alpha1/classes.rb index 7d38aa89d..c4f8d2b74 100644 --- a/generated/google/apis/cloudbuild_v1alpha1/classes.rb +++ b/generated/google/apis/cloudbuild_v1alpha1/classes.rb @@ -691,7 +691,7 @@ module Google include Google::Apis::Core::Hashable # Network on which the workers are created. - # “default” network is used if empty. + # "default" network is used if empty. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -706,7 +706,7 @@ module Google attr_accessor :project_id # Subnetwork on which the workers are created. - # “default” subnetwork is used if empty. + # "default" subnetwork is used if empty. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -1097,7 +1097,7 @@ module Google # @return [String] attr_accessor :project_id - # List of regions to create the `WorkerPool`. Regions can’t be empty. + # List of regions to create the `WorkerPool`. Regions can't be empty. # If Cloud Build adds a new GCP region in the future, the existing # `WorkerPool` will not be enabled in the new region automatically; # you must add the new region to the `regions` field to enable the diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb new file mode 100644 index 000000000..674794ef1 --- /dev/null +++ b/generated/google/apis/docs_v1.rb @@ -0,0 +1,46 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/docs_v1/service.rb' +require 'google/apis/docs_v1/classes.rb' +require 'google/apis/docs_v1/representations.rb' + +module Google + module Apis + # Google Docs API + # + # An API for creating and editing Google Docs documents. + # + # @see https://developers.google.com/docs/ + module DocsV1 + VERSION = 'V1' + REVISION = '20190125' + + # View and manage your Google Docs documents + AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' + + # View your Google Docs documents + AUTH_DOCUMENTS_READONLY = 'https://www.googleapis.com/auth/documents.readonly' + + # See, edit, create, and delete all of your Google Drive files + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' + + # View and manage Google Drive files and folders that you have opened or created with this app + AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file' + + # See and download all your Google Drive files + AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + end + end +end diff --git a/generated/google/apis/docs_v1/classes.rb b/generated/google/apis/docs_v1/classes.rb new file mode 100644 index 000000000..8e6ac8261 --- /dev/null +++ b/generated/google/apis/docs_v1/classes.rb @@ -0,0 +1,5383 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DocsV1 + + # A ParagraphElement representing a + # spot in the text that is dynamically replaced with content that can change + # over time, like a page number. + class AutoText + include Google::Apis::Core::Hashable + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. An AutoText + # may have multiple insertion IDs if it is a nested suggested change. If + # empty, then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this AutoText, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + # The type of this auto text. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + @type = args[:type] if args.key?(:type) + end + end + + # Represents the background of a document. + class Background + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `color` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + end + end + + # A mask that indicates which of the fields on the base Background have been + # changed in this suggestion. + # For any field set to true, the Backgound has a new suggested value. + class BackgroundSuggestionState + include Google::Apis::Core::Hashable + + # Indicates whether the current background color has been modified in this + # suggestion. + # Corresponds to the JSON property `backgroundColorSuggested` + # @return [Boolean] + attr_accessor :background_color_suggested + alias_method :background_color_suggested?, :background_color_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) + end + end + + # Request message for BatchUpdateDocument. + class BatchUpdateDocumentRequest + include Google::Apis::Core::Hashable + + # A list of updates to apply to the document. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + # Provides control over how write requests are executed. + # Corresponds to the JSON property `writeControl` + # @return [Google::Apis::DocsV1::WriteControl] + attr_accessor :write_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + @write_control = args[:write_control] if args.key?(:write_control) + end + end + + # Response message from a BatchUpdateDocument request. + class BatchUpdateDocumentResponse + include Google::Apis::Core::Hashable + + # The ID of the document to which the updates were applied to. + # Corresponds to the JSON property `documentId` + # @return [String] + attr_accessor :document_id + + # The reply of the updates. This maps 1:1 with the updates, although replies + # to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + # Provides control over how write requests are executed. + # Corresponds to the JSON property `writeControl` + # @return [Google::Apis::DocsV1::WriteControl] + attr_accessor :write_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @document_id = args[:document_id] if args.key?(:document_id) + @replies = args[:replies] if args.key?(:replies) + @write_control = args[:write_control] if args.key?(:write_control) + end + end + + # The document body. + # The body typically contains the full document contents except for + # headers, footers + # and footnotes. + class Body + include Google::Apis::Core::Hashable + + # The contents of the body. + # The indices for the body's content begin at zero. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + end + end + + # Describes the bullet of a paragraph. + class Bullet + include Google::Apis::Core::Hashable + + # The ID of the list this paragraph belongs to. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + # The nesting level of this paragraph in the list. + # Corresponds to the JSON property `nestingLevel` + # @return [Fixnum] + attr_accessor :nesting_level + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_id = args[:list_id] if args.key?(:list_id) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # A mask that indicates which of the fields on the base + # Bullet have been changed in this suggestion. + # For any field set to true, there is a new suggested value. + class BulletSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to the + # list_id. + # Corresponds to the JSON property `listIdSuggested` + # @return [Boolean] + attr_accessor :list_id_suggested + alias_method :list_id_suggested?, :list_id_suggested + + # Indicates if there was a suggested change to the + # nesting_level. + # Corresponds to the JSON property `nestingLevelSuggested` + # @return [Boolean] + attr_accessor :nesting_level_suggested + alias_method :nesting_level_suggested?, :nesting_level_suggested + + # A mask that indicates which of the fields on the base TextStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `textStyleSuggestionState` + # @return [Google::Apis::DocsV1::TextStyleSuggestionState] + attr_accessor :text_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_id_suggested = args[:list_id_suggested] if args.key?(:list_id_suggested) + @nesting_level_suggested = args[:nesting_level_suggested] if args.key?(:nesting_level_suggested) + @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) + end + end + + # A solid color. + class Color + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `rgbColor` + # @return [Google::Apis::DocsV1::RgbColor] + attr_accessor :rgb_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rgb_color = args[:rgb_color] if args.key?(:rgb_color) + end + end + + # A ParagraphElement representing a + # column break. A column break makes the subsequent text start at the top of + # the next column. + class ColumnBreak + include Google::Apis::Core::Hashable + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if + # it is + # a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this ColumnBreak, keyed by suggestion + # ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # Creates a NamedRange referencing the given + # range. + class CreateNamedRangeRequest + include Google::Apis::Core::Hashable + + # The name of the NamedRange. Names do not need to be unique. + # Names must be at least 1 character and no more than 256 characters, + # measured in UTF-16 code units. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @range = args[:range] if args.key?(:range) + end + end + + # The result of creating a named range. + class CreateNamedRangeResponse + include Google::Apis::Core::Hashable + + # The ID of the created named range. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + end + end + + # Creates bullets for all of the paragraphs that overlap with the given 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 + include Google::Apis::Core::Hashable + + # The kinds of bullet glyphs to be used. + # Corresponds to the JSON property `bulletPreset` + # @return [String] + attr_accessor :bullet_preset + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) + @range = args[:range] if args.key?(:range) + end + end + + # The crop properties of an image. + # The crop rectangle is represented using fractional offsets from the original + # content's four edges. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the image's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the image's original bounding rectangle. + # - If all offsets and rotation angle are 0, the image is not cropped. + class CropProperties + include Google::Apis::Core::Hashable + + # The clockwise rotation angle of the crop rectangle around its center, in + # radians. Rotation is applied after the offsets. + # Corresponds to the JSON property `angle` + # @return [Float] + attr_accessor :angle + + # The offset specifies how far inwards the bottom edge of the crop rectangle + # is from the bottom edge of the original content as a fraction of the + # original content's height. + # Corresponds to the JSON property `offsetBottom` + # @return [Float] + attr_accessor :offset_bottom + + # The offset specifies how far inwards the left edge of the crop rectangle is + # from the left edge of the original content as a fraction of the original + # content's width. + # Corresponds to the JSON property `offsetLeft` + # @return [Float] + attr_accessor :offset_left + + # The offset specifies how far inwards the right edge of the crop rectangle + # is from the right edge of the original content as a fraction of the + # original content's width. + # Corresponds to the JSON property `offsetRight` + # @return [Float] + attr_accessor :offset_right + + # The offset specifies how far inwards the top edge of the crop rectangle is + # from the top edge of the original content as a fraction of the original + # content's height. + # Corresponds to the JSON property `offsetTop` + # @return [Float] + attr_accessor :offset_top + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @offset_bottom = args[:offset_bottom] if args.key?(:offset_bottom) + @offset_left = args[:offset_left] if args.key?(:offset_left) + @offset_right = args[:offset_right] if args.key?(:offset_right) + @offset_top = args[:offset_top] if args.key?(:offset_top) + end + end + + # A mask that indicates which of the fields on the base CropProperties have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class CropPropertiesSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to angle. + # Corresponds to the JSON property `angleSuggested` + # @return [Boolean] + attr_accessor :angle_suggested + alias_method :angle_suggested?, :angle_suggested + + # Indicates if there was a suggested change to offset_bottom. + # Corresponds to the JSON property `offsetBottomSuggested` + # @return [Boolean] + attr_accessor :offset_bottom_suggested + alias_method :offset_bottom_suggested?, :offset_bottom_suggested + + # Indicates if there was a suggested change to offset_left. + # Corresponds to the JSON property `offsetLeftSuggested` + # @return [Boolean] + attr_accessor :offset_left_suggested + alias_method :offset_left_suggested?, :offset_left_suggested + + # Indicates if there was a suggested change to offset_right. + # Corresponds to the JSON property `offsetRightSuggested` + # @return [Boolean] + attr_accessor :offset_right_suggested + alias_method :offset_right_suggested?, :offset_right_suggested + + # Indicates if there was a suggested change to offset_top. + # Corresponds to the JSON property `offsetTopSuggested` + # @return [Boolean] + attr_accessor :offset_top_suggested + alias_method :offset_top_suggested?, :offset_top_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle_suggested = args[:angle_suggested] if args.key?(:angle_suggested) + @offset_bottom_suggested = args[:offset_bottom_suggested] if args.key?(:offset_bottom_suggested) + @offset_left_suggested = args[:offset_left_suggested] if args.key?(:offset_left_suggested) + @offset_right_suggested = args[:offset_right_suggested] if args.key?(:offset_right_suggested) + @offset_top_suggested = args[:offset_top_suggested] if args.key?(:offset_top_suggested) + end + end + + # Deletes content from the document. + class DeleteContentRangeRequest + include Google::Apis::Core::Hashable + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Deletes a NamedRange. + class DeleteNamedRangeRequest + include Google::Apis::Core::Hashable + + # The name of the range(s) to delete. All named ranges with the given + # name will be deleted. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the named range to delete. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + end + end + + # Deletes bullets from all of the paragraphs that overlap with the given range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + class DeleteParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Deletes a PositionedObject from the + # document. + class DeletePositionedObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the positioned object to delete. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Deletes a column from a table. + class DeleteTableColumnRequest + include Google::Apis::Core::Hashable + + # Location of a single cell within a table. + # Corresponds to the JSON property `tableCellLocation` + # @return [Google::Apis::DocsV1::TableCellLocation] + attr_accessor :table_cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) + end + end + + # Deletes a row from a table. + class DeleteTableRowRequest + include Google::Apis::Core::Hashable + + # Location of a single cell within a table. + # Corresponds to the JSON property `tableCellLocation` + # @return [Google::Apis::DocsV1::TableCellLocation] + attr_accessor :table_cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) + end + end + + # A magnitude in a single direction in the specified units. + class Dimension + include Google::Apis::Core::Hashable + + # The magnitude. + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + # The units for magnitude. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @magnitude = args[:magnitude] if args.key?(:magnitude) + @unit = args[:unit] if args.key?(:unit) + end + end + + # A Google Docs document. + class Document + include Google::Apis::Core::Hashable + + # The document body. + # The body typically contains the full document contents except for + # headers, footers + # and footnotes. + # Corresponds to the JSON property `body` + # @return [Google::Apis::DocsV1::Body] + attr_accessor :body + + # The ID of the document. + # Corresponds to the JSON property `documentId` + # @return [String] + attr_accessor :document_id + + # The style of the document. + # Corresponds to the JSON property `documentStyle` + # @return [Google::Apis::DocsV1::DocumentStyle] + attr_accessor :document_style + + # The footers in the document, keyed by footer ID. + # Corresponds to the JSON property `footers` + # @return [Hash] + attr_accessor :footers + + # The footnotes in the document, keyed by footnote ID. + # Corresponds to the JSON property `footnotes` + # @return [Hash] + attr_accessor :footnotes + + # The headers in the document, keyed by header ID. + # Corresponds to the JSON property `headers` + # @return [Hash] + attr_accessor :headers + + # The inline objects in the document, keyed by object ID. + # Corresponds to the JSON property `inlineObjects` + # @return [Hash] + attr_accessor :inline_objects + + # The lists in the document, keyed by list ID. + # Corresponds to the JSON property `lists` + # @return [Hash] + attr_accessor :lists + + # The named ranges in the document, keyed by name. + # Corresponds to the JSON property `namedRanges` + # @return [Hash] + attr_accessor :named_ranges + + # The named styles. Paragraphs in the document can inherit their + # TextStyle and + # ParagraphStyle from these named styles. + # Corresponds to the JSON property `namedStyles` + # @return [Google::Apis::DocsV1::NamedStyles] + attr_accessor :named_styles + + # The positioned objects in the document, keyed by object ID. + # Corresponds to the JSON property `positionedObjects` + # @return [Hash] + attr_accessor :positioned_objects + + # The revision ID of the document. Can be used in update requests to specify + # which revision of a document to apply updates to and how the request should + # behave if the document has been edited since that revision. Only populated + # if the user has edit access to the document. + # 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 document has not changed. + # Conversely, a changed ID (for the same document and user) usually means the + # document has been updated; however, a changed ID can also be due to + # internal factors such as ID format changes. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The suggested changes to the style of the document, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedDocumentStyleChanges` + # @return [Hash] + attr_accessor :suggested_document_style_changes + + # The suggested changes to the named styles of the document, keyed by + # suggestion ID. + # Corresponds to the JSON property `suggestedNamedStylesChanges` + # @return [Hash] + attr_accessor :suggested_named_styles_changes + + # The suggestions view mode applied to the document. + # Note: When editing a document, changes must be based on a document with + # SUGGESTIONS_INLINE. + # Corresponds to the JSON property `suggestionsViewMode` + # @return [String] + attr_accessor :suggestions_view_mode + + # The title of the document. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @body = args[:body] if args.key?(:body) + @document_id = args[:document_id] if args.key?(:document_id) + @document_style = args[:document_style] if args.key?(:document_style) + @footers = args[:footers] if args.key?(:footers) + @footnotes = args[:footnotes] if args.key?(:footnotes) + @headers = args[:headers] if args.key?(:headers) + @inline_objects = args[:inline_objects] if args.key?(:inline_objects) + @lists = args[:lists] if args.key?(:lists) + @named_ranges = args[:named_ranges] if args.key?(:named_ranges) + @named_styles = args[:named_styles] if args.key?(:named_styles) + @positioned_objects = args[:positioned_objects] if args.key?(:positioned_objects) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @suggested_document_style_changes = args[:suggested_document_style_changes] if args.key?(:suggested_document_style_changes) + @suggested_named_styles_changes = args[:suggested_named_styles_changes] if args.key?(:suggested_named_styles_changes) + @suggestions_view_mode = args[:suggestions_view_mode] if args.key?(:suggestions_view_mode) + @title = args[:title] if args.key?(:title) + end + end + + # The style of the document. + class DocumentStyle + include Google::Apis::Core::Hashable + + # Represents the background of a document. + # Corresponds to the JSON property `background` + # @return [Google::Apis::DocsV1::Background] + attr_accessor :background + + # The ID of the default footer. If not set, there is no default footer. + # Corresponds to the JSON property `defaultFooterId` + # @return [String] + attr_accessor :default_footer_id + + # The ID of the default header. If not set, there is no default header. + # Corresponds to the JSON property `defaultHeaderId` + # @return [String] + attr_accessor :default_header_id + + # The ID of the footer used only for even pages. The value of + # use_even_page_header_footer determines + # whether to use the default_footer_id or this value for the + # footer on even pages. If not set, there is no even page footer. + # Corresponds to the JSON property `evenPageFooterId` + # @return [String] + attr_accessor :even_page_footer_id + + # The ID of the header used only for even pages. The value of + # use_even_page_header_footer determines + # whether to use the default_header_id or this value for the + # header on even pages. If not set, there is no even page header. + # Corresponds to the JSON property `evenPageHeaderId` + # @return [String] + attr_accessor :even_page_header_id + + # The ID of the footer used only for the first page. If not set then + # a unique footer for the first page does not exist. The value of + # use_first_page_header_footer determines + # whether to use the default_footer_id or this value for the + # footer on the first page. If not set, there is no first page footer. + # Corresponds to the JSON property `firstPageFooterId` + # @return [String] + attr_accessor :first_page_footer_id + + # The ID of the header used only for the first page. If not set then + # a unique header for the first page does not exist. + # The value of use_first_page_header_footer determines + # whether to use the default_header_id or this value for the + # header on the first page. If not set, there is no first page header. + # Corresponds to the JSON property `firstPageHeaderId` + # @return [String] + attr_accessor :first_page_header_id + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginBottom` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_bottom + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginLeft` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_left + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginRight` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_right + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginTop` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_top + + # The page number from which to start counting the number of pages. + # Corresponds to the JSON property `pageNumberStart` + # @return [Fixnum] + attr_accessor :page_number_start + + # A width and height. + # Corresponds to the JSON property `pageSize` + # @return [Google::Apis::DocsV1::Size] + attr_accessor :page_size + + # Indicates whether to use the even page header / footer IDs for the even + # pages. + # Corresponds to the JSON property `useEvenPageHeaderFooter` + # @return [Boolean] + attr_accessor :use_even_page_header_footer + alias_method :use_even_page_header_footer?, :use_even_page_header_footer + + # Indicates whether to use the first page header / footer IDs for the first + # page. + # Corresponds to the JSON property `useFirstPageHeaderFooter` + # @return [Boolean] + attr_accessor :use_first_page_header_footer + alias_method :use_first_page_header_footer?, :use_first_page_header_footer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background = args[:background] if args.key?(:background) + @default_footer_id = args[:default_footer_id] if args.key?(:default_footer_id) + @default_header_id = args[:default_header_id] if args.key?(:default_header_id) + @even_page_footer_id = args[:even_page_footer_id] if args.key?(:even_page_footer_id) + @even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id) + @first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id) + @first_page_header_id = args[:first_page_header_id] if args.key?(:first_page_header_id) + @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom) + @margin_left = args[:margin_left] if args.key?(:margin_left) + @margin_right = args[:margin_right] if args.key?(:margin_right) + @margin_top = args[:margin_top] if args.key?(:margin_top) + @page_number_start = args[:page_number_start] if args.key?(:page_number_start) + @page_size = args[:page_size] if args.key?(:page_size) + @use_even_page_header_footer = args[:use_even_page_header_footer] if args.key?(:use_even_page_header_footer) + @use_first_page_header_footer = args[:use_first_page_header_footer] if args.key?(:use_first_page_header_footer) + end + end + + # A mask that indicates which of the fields on the base DocumentStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class DocumentStyleSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the base Background have been + # changed in this suggestion. + # For any field set to true, the Backgound has a new suggested value. + # Corresponds to the JSON property `backgroundSuggestionState` + # @return [Google::Apis::DocsV1::BackgroundSuggestionState] + attr_accessor :background_suggestion_state + + # Indicates if there was a suggested change to default_footer_id. + # Corresponds to the JSON property `defaultFooterIdSuggested` + # @return [Boolean] + attr_accessor :default_footer_id_suggested + alias_method :default_footer_id_suggested?, :default_footer_id_suggested + + # Indicates if there was a suggested change to default_header_id. + # Corresponds to the JSON property `defaultHeaderIdSuggested` + # @return [Boolean] + attr_accessor :default_header_id_suggested + alias_method :default_header_id_suggested?, :default_header_id_suggested + + # Indicates if there was a suggested change to even_page_footer_id. + # Corresponds to the JSON property `evenPageFooterIdSuggested` + # @return [Boolean] + attr_accessor :even_page_footer_id_suggested + alias_method :even_page_footer_id_suggested?, :even_page_footer_id_suggested + + # Indicates if there was a suggested change to even_page_header_id. + # Corresponds to the JSON property `evenPageHeaderIdSuggested` + # @return [Boolean] + attr_accessor :even_page_header_id_suggested + alias_method :even_page_header_id_suggested?, :even_page_header_id_suggested + + # Indicates if there was a suggested change to first_page_footer_id. + # Corresponds to the JSON property `firstPageFooterIdSuggested` + # @return [Boolean] + attr_accessor :first_page_footer_id_suggested + alias_method :first_page_footer_id_suggested?, :first_page_footer_id_suggested + + # Indicates if there was a suggested change to first_page_header_id. + # Corresponds to the JSON property `firstPageHeaderIdSuggested` + # @return [Boolean] + attr_accessor :first_page_header_id_suggested + alias_method :first_page_header_id_suggested?, :first_page_header_id_suggested + + # Indicates if there was a suggested change to margin_bottom. + # Corresponds to the JSON property `marginBottomSuggested` + # @return [Boolean] + attr_accessor :margin_bottom_suggested + alias_method :margin_bottom_suggested?, :margin_bottom_suggested + + # Indicates if there was a suggested change to margin_left. + # Corresponds to the JSON property `marginLeftSuggested` + # @return [Boolean] + attr_accessor :margin_left_suggested + alias_method :margin_left_suggested?, :margin_left_suggested + + # Indicates if there was a suggested change to margin_right. + # Corresponds to the JSON property `marginRightSuggested` + # @return [Boolean] + attr_accessor :margin_right_suggested + alias_method :margin_right_suggested?, :margin_right_suggested + + # Indicates if there was a suggested change to margin_top. + # Corresponds to the JSON property `marginTopSuggested` + # @return [Boolean] + attr_accessor :margin_top_suggested + alias_method :margin_top_suggested?, :margin_top_suggested + + # Indicates if there was a suggested change to page_number_start. + # Corresponds to the JSON property `pageNumberStartSuggested` + # @return [Boolean] + attr_accessor :page_number_start_suggested + alias_method :page_number_start_suggested?, :page_number_start_suggested + + # A mask that indicates which of the fields on the base Size have been changed + # in this suggestion. + # For any field set to true, the Size has + # a new suggested value. + # Corresponds to the JSON property `pageSizeSuggestionState` + # @return [Google::Apis::DocsV1::SizeSuggestionState] + attr_accessor :page_size_suggestion_state + + # Indicates if there was a suggested change to use_even_page_header_footer. + # Corresponds to the JSON property `useEvenPageHeaderFooterSuggested` + # @return [Boolean] + attr_accessor :use_even_page_header_footer_suggested + alias_method :use_even_page_header_footer_suggested?, :use_even_page_header_footer_suggested + + # Indicates if there was a suggested change to use_first_page_header_footer. + # Corresponds to the JSON property `useFirstPageHeaderFooterSuggested` + # @return [Boolean] + attr_accessor :use_first_page_header_footer_suggested + alias_method :use_first_page_header_footer_suggested?, :use_first_page_header_footer_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_suggestion_state = args[:background_suggestion_state] if args.key?(:background_suggestion_state) + @default_footer_id_suggested = args[:default_footer_id_suggested] if args.key?(:default_footer_id_suggested) + @default_header_id_suggested = args[:default_header_id_suggested] if args.key?(:default_header_id_suggested) + @even_page_footer_id_suggested = args[:even_page_footer_id_suggested] if args.key?(:even_page_footer_id_suggested) + @even_page_header_id_suggested = args[:even_page_header_id_suggested] if args.key?(:even_page_header_id_suggested) + @first_page_footer_id_suggested = args[:first_page_footer_id_suggested] if args.key?(:first_page_footer_id_suggested) + @first_page_header_id_suggested = args[:first_page_header_id_suggested] if args.key?(:first_page_header_id_suggested) + @margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested) + @margin_left_suggested = args[:margin_left_suggested] if args.key?(:margin_left_suggested) + @margin_right_suggested = args[:margin_right_suggested] if args.key?(:margin_right_suggested) + @margin_top_suggested = args[:margin_top_suggested] if args.key?(:margin_top_suggested) + @page_number_start_suggested = args[:page_number_start_suggested] if args.key?(:page_number_start_suggested) + @page_size_suggestion_state = args[:page_size_suggestion_state] if args.key?(:page_size_suggestion_state) + @use_even_page_header_footer_suggested = args[:use_even_page_header_footer_suggested] if args.key?(:use_even_page_header_footer_suggested) + @use_first_page_header_footer_suggested = args[:use_first_page_header_footer_suggested] if args.key?(:use_first_page_header_footer_suggested) + end + end + + # The properties of an embedded drawing. + class EmbeddedDrawingProperties + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A mask that indicates which of the fields on the base + # EmbeddedDrawingProperties + # have been changed in this suggestion. For any field set to true, there is a + # new suggested value. + class EmbeddedDrawingPropertiesSuggestionState + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An embedded object in the document. + class EmbeddedObject + include Google::Apis::Core::Hashable + + # The description of the embedded object. The `title` and `description` are + # both combined to display alt text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The properties of an embedded drawing. + # Corresponds to the JSON property `embeddedDrawingProperties` + # @return [Google::Apis::DocsV1::EmbeddedDrawingProperties] + attr_accessor :embedded_drawing_properties + + # A border around an EmbeddedObject. + # Corresponds to the JSON property `embeddedObjectBorder` + # @return [Google::Apis::DocsV1::EmbeddedObjectBorder] + attr_accessor :embedded_object_border + + # The properties of an image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::DocsV1::ImageProperties] + attr_accessor :image_properties + + # A reference to the external linked source content. + # Corresponds to the JSON property `linkedContentReference` + # @return [Google::Apis::DocsV1::LinkedContentReference] + attr_accessor :linked_content_reference + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginBottom` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_bottom + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginLeft` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_left + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginRight` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_right + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `marginTop` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :margin_top + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::DocsV1::Size] + attr_accessor :size + + # The title of the embedded object. The `title` and `description` are both + # combined to display alt text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @embedded_drawing_properties = args[:embedded_drawing_properties] if args.key?(:embedded_drawing_properties) + @embedded_object_border = args[:embedded_object_border] if args.key?(:embedded_object_border) + @image_properties = args[:image_properties] if args.key?(:image_properties) + @linked_content_reference = args[:linked_content_reference] if args.key?(:linked_content_reference) + @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom) + @margin_left = args[:margin_left] if args.key?(:margin_left) + @margin_right = args[:margin_right] if args.key?(:margin_right) + @margin_top = args[:margin_top] if args.key?(:margin_top) + @size = args[:size] if args.key?(:size) + @title = args[:title] if args.key?(:title) + end + end + + # A border around an EmbeddedObject. + class EmbeddedObjectBorder + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `color` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :color + + # The dash style of the border. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # The property state of the border property. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @property_state = args[:property_state] if args.key?(:property_state) + @width = args[:width] if args.key?(:width) + end + end + + # A mask that indicates which of the fields on the base EmbeddedObjectBorder + # have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + class EmbeddedObjectBorderSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to color. + # Corresponds to the JSON property `colorSuggested` + # @return [Boolean] + attr_accessor :color_suggested + alias_method :color_suggested?, :color_suggested + + # Indicates if there was a suggested change to dash_style. + # Corresponds to the JSON property `dashStyleSuggested` + # @return [Boolean] + attr_accessor :dash_style_suggested + alias_method :dash_style_suggested?, :dash_style_suggested + + # Indicates if there was a suggested change to property_state. + # Corresponds to the JSON property `propertyStateSuggested` + # @return [Boolean] + attr_accessor :property_state_suggested + alias_method :property_state_suggested?, :property_state_suggested + + # Indicates if there was a suggested change to width. + # Corresponds to the JSON property `widthSuggested` + # @return [Boolean] + attr_accessor :width_suggested + alias_method :width_suggested?, :width_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color_suggested = args[:color_suggested] if args.key?(:color_suggested) + @dash_style_suggested = args[:dash_style_suggested] if args.key?(:dash_style_suggested) + @property_state_suggested = args[:property_state_suggested] if args.key?(:property_state_suggested) + @width_suggested = args[:width_suggested] if args.key?(:width_suggested) + end + end + + # A mask that indicates which of the fields on the base EmbeddedObject have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class EmbeddedObjectSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to description. + # Corresponds to the JSON property `descriptionSuggested` + # @return [Boolean] + attr_accessor :description_suggested + alias_method :description_suggested?, :description_suggested + + # A mask that indicates which of the fields on the base + # EmbeddedDrawingProperties + # have been changed in this suggestion. For any field set to true, there is a + # new suggested value. + # Corresponds to the JSON property `embeddedDrawingPropertiesSuggestionState` + # @return [Google::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState] + attr_accessor :embedded_drawing_properties_suggestion_state + + # A mask that indicates which of the fields on the base EmbeddedObjectBorder + # have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `embeddedObjectBorderSuggestionState` + # @return [Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState] + attr_accessor :embedded_object_border_suggestion_state + + # A mask that indicates which of the fields on the base ImageProperties have + # been changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `imagePropertiesSuggestionState` + # @return [Google::Apis::DocsV1::ImagePropertiesSuggestionState] + attr_accessor :image_properties_suggestion_state + + # A mask that indicates which of the fields on the base + # LinkedContentReference have + # been changed in this suggestion. For any field set to true, there is a new + # suggested value. + # Corresponds to the JSON property `linkedContentReferenceSuggestionState` + # @return [Google::Apis::DocsV1::LinkedContentReferenceSuggestionState] + attr_accessor :linked_content_reference_suggestion_state + + # Indicates if there was a suggested change to margin_bottom. + # Corresponds to the JSON property `marginBottomSuggested` + # @return [Boolean] + attr_accessor :margin_bottom_suggested + alias_method :margin_bottom_suggested?, :margin_bottom_suggested + + # Indicates if there was a suggested change to margin_left. + # Corresponds to the JSON property `marginLeftSuggested` + # @return [Boolean] + attr_accessor :margin_left_suggested + alias_method :margin_left_suggested?, :margin_left_suggested + + # Indicates if there was a suggested change to margin_right. + # Corresponds to the JSON property `marginRightSuggested` + # @return [Boolean] + attr_accessor :margin_right_suggested + alias_method :margin_right_suggested?, :margin_right_suggested + + # Indicates if there was a suggested change to margin_top. + # Corresponds to the JSON property `marginTopSuggested` + # @return [Boolean] + attr_accessor :margin_top_suggested + alias_method :margin_top_suggested?, :margin_top_suggested + + # A mask that indicates which of the fields on the base Size have been changed + # in this suggestion. + # For any field set to true, the Size has + # a new suggested value. + # Corresponds to the JSON property `sizeSuggestionState` + # @return [Google::Apis::DocsV1::SizeSuggestionState] + attr_accessor :size_suggestion_state + + # Indicates if there was a suggested change to title. + # Corresponds to the JSON property `titleSuggested` + # @return [Boolean] + attr_accessor :title_suggested + alias_method :title_suggested?, :title_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description_suggested = args[:description_suggested] if args.key?(:description_suggested) + @embedded_drawing_properties_suggestion_state = args[:embedded_drawing_properties_suggestion_state] if args.key?(:embedded_drawing_properties_suggestion_state) + @embedded_object_border_suggestion_state = args[:embedded_object_border_suggestion_state] if args.key?(:embedded_object_border_suggestion_state) + @image_properties_suggestion_state = args[:image_properties_suggestion_state] if args.key?(:image_properties_suggestion_state) + @linked_content_reference_suggestion_state = args[:linked_content_reference_suggestion_state] if args.key?(:linked_content_reference_suggestion_state) + @margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested) + @margin_left_suggested = args[:margin_left_suggested] if args.key?(:margin_left_suggested) + @margin_right_suggested = args[:margin_right_suggested] if args.key?(:margin_right_suggested) + @margin_top_suggested = args[:margin_top_suggested] if args.key?(:margin_top_suggested) + @size_suggestion_state = args[:size_suggestion_state] if args.key?(:size_suggestion_state) + @title_suggested = args[:title_suggested] if args.key?(:title_suggested) + end + end + + # Location at the end of a body, header, footer or footnote. The location is + # immediately before the last newline in the document segment. + class EndOfSegmentLocation + include Google::Apis::Core::Hashable + + # The ID of the header, footer or footnote the location is in. An empty + # segment ID signifies the document's body. + # Corresponds to the JSON property `segmentId` + # @return [String] + attr_accessor :segment_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment_id = args[:segment_id] if args.key?(:segment_id) + end + end + + # A ParagraphElement representing an + # equation. + class Equation + include Google::Apis::Core::Hashable + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A Equation + # may have multiple insertion IDs if it is a nested suggested change. If + # empty, then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + end + end + + # A document footer. + class Footer + include Google::Apis::Core::Hashable + + # The contents of the footer. + # The indices for a footer's content begin at zero. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + # The ID of the footer. + # Corresponds to the JSON property `footerId` + # @return [String] + attr_accessor :footer_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @footer_id = args[:footer_id] if args.key?(:footer_id) + end + end + + # A document footnote. + class Footnote + include Google::Apis::Core::Hashable + + # The contents of the footnote. + # The indices for a footnote's content begin at zero. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + # The ID of the footnote. + # Corresponds to the JSON property `footnoteId` + # @return [String] + attr_accessor :footnote_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @footnote_id = args[:footnote_id] if args.key?(:footnote_id) + end + end + + # A ParagraphElement representing a + # footnote reference. A footnote reference is the inline content rendered with + # a number and is used to identify the footnote. + class FootnoteReference + include Google::Apis::Core::Hashable + + # The ID of the footnote that + # contains the content of this footnote reference. + # Corresponds to the JSON property `footnoteId` + # @return [String] + attr_accessor :footnote_id + + # The rendered number of this footnote. + # Corresponds to the JSON property `footnoteNumber` + # @return [String] + attr_accessor :footnote_number + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A FootnoteReference may have multiple insertion + # IDs if + # it is a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this FootnoteReference, keyed by + # suggestion ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @footnote_id = args[:footnote_id] if args.key?(:footnote_id) + @footnote_number = args[:footnote_number] if args.key?(:footnote_number) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # A document header. + class Header + include Google::Apis::Core::Hashable + + # The contents of the header. + # The indices for a header's content begin at zero. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + # The ID of the header. + # Corresponds to the JSON property `headerId` + # @return [String] + attr_accessor :header_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @header_id = args[:header_id] if args.key?(:header_id) + end + end + + # A ParagraphElement representing a + # horizontal line. + class HorizontalRule + include Google::Apis::Core::Hashable + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs + # if it + # is a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this HorizontalRule, keyed by + # suggestion ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # The properties of an image. + class ImageProperties + include Google::Apis::Core::Hashable + + # The clockwise rotation angle of the image, in radians. + # Corresponds to the JSON property `angle` + # @return [Float] + attr_accessor :angle + + # The brightness effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. + # Corresponds to the JSON property `brightness` + # @return [Float] + attr_accessor :brightness + + # A URI to the image with a default lifetime of 30 minutes. + # This URI is tagged with the account of the requester. Anyone with the URI + # effectively accesses the image as the original requester. Access to the + # image may be lost if the document's sharing settings change. + # Corresponds to the JSON property `contentUri` + # @return [String] + attr_accessor :content_uri + + # The contrast effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. + # Corresponds to the JSON property `contrast` + # @return [Float] + attr_accessor :contrast + + # The crop properties of an image. + # The crop rectangle is represented using fractional offsets from the original + # content's four edges. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the image's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the image's original bounding rectangle. + # - If all offsets and rotation angle are 0, the image is not cropped. + # Corresponds to the JSON property `cropProperties` + # @return [Google::Apis::DocsV1::CropProperties] + attr_accessor :crop_properties + + # The source URI is the URI used to insert the image. The source URI can be + # empty. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + # 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. + # Corresponds to the JSON property `transparency` + # @return [Float] + attr_accessor :transparency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @brightness = args[:brightness] if args.key?(:brightness) + @content_uri = args[:content_uri] if args.key?(:content_uri) + @contrast = args[:contrast] if args.key?(:contrast) + @crop_properties = args[:crop_properties] if args.key?(:crop_properties) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @transparency = args[:transparency] if args.key?(:transparency) + end + end + + # A mask that indicates which of the fields on the base ImageProperties have + # been changed in this suggestion. + # For any field set to true, there is a new suggested value. + class ImagePropertiesSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to angle. + # Corresponds to the JSON property `angleSuggested` + # @return [Boolean] + attr_accessor :angle_suggested + alias_method :angle_suggested?, :angle_suggested + + # Indicates if there was a suggested change to brightness. + # Corresponds to the JSON property `brightnessSuggested` + # @return [Boolean] + attr_accessor :brightness_suggested + alias_method :brightness_suggested?, :brightness_suggested + + # Indicates if there was a suggested change to + # content_uri. + # Corresponds to the JSON property `contentUriSuggested` + # @return [Boolean] + attr_accessor :content_uri_suggested + alias_method :content_uri_suggested?, :content_uri_suggested + + # Indicates if there was a suggested change to contrast. + # Corresponds to the JSON property `contrastSuggested` + # @return [Boolean] + attr_accessor :contrast_suggested + alias_method :contrast_suggested?, :contrast_suggested + + # A mask that indicates which of the fields on the base CropProperties have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `cropPropertiesSuggestionState` + # @return [Google::Apis::DocsV1::CropPropertiesSuggestionState] + attr_accessor :crop_properties_suggestion_state + + # Indicates if there was a suggested change to source_uri. + # Corresponds to the JSON property `sourceUriSuggested` + # @return [Boolean] + attr_accessor :source_uri_suggested + alias_method :source_uri_suggested?, :source_uri_suggested + + # Indicates if there was a suggested change to transparency. + # Corresponds to the JSON property `transparencySuggested` + # @return [Boolean] + attr_accessor :transparency_suggested + alias_method :transparency_suggested?, :transparency_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle_suggested = args[:angle_suggested] if args.key?(:angle_suggested) + @brightness_suggested = args[:brightness_suggested] if args.key?(:brightness_suggested) + @content_uri_suggested = args[:content_uri_suggested] if args.key?(:content_uri_suggested) + @contrast_suggested = args[:contrast_suggested] if args.key?(:contrast_suggested) + @crop_properties_suggestion_state = args[:crop_properties_suggestion_state] if args.key?(:crop_properties_suggestion_state) + @source_uri_suggested = args[:source_uri_suggested] if args.key?(:source_uri_suggested) + @transparency_suggested = args[:transparency_suggested] if args.key?(:transparency_suggested) + end + end + + # An object that appears inline with text. An InlineObject contains + # an EmbeddedObject such as an image. + class InlineObject + include Google::Apis::Core::Hashable + + # Properties of an InlineObject. + # Corresponds to the JSON property `inlineObjectProperties` + # @return [Google::Apis::DocsV1::InlineObjectProperties] + attr_accessor :inline_object_properties + + # The ID of this inline object. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested changes to the inline object properties, keyed by suggestion + # ID. + # Corresponds to the JSON property `suggestedInlineObjectPropertiesChanges` + # @return [Hash] + attr_accessor :suggested_inline_object_properties_changes + + # The suggested insertion ID. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionId` + # @return [String] + attr_accessor :suggested_insertion_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inline_object_properties = args[:inline_object_properties] if args.key?(:inline_object_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_inline_object_properties_changes = args[:suggested_inline_object_properties_changes] if args.key?(:suggested_inline_object_properties_changes) + @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id) + end + end + + # A ParagraphElement that contains + # an InlineObject. + class InlineObjectElement + include Google::Apis::Core::Hashable + + # The ID of the InlineObject this + # element contains. + # Corresponds to the JSON property `inlineObjectId` + # @return [String] + attr_accessor :inline_object_id + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. An InlineObjectElement may have multiple + # insertion IDs + # if it is a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this InlineObject, keyed by suggestion + # ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inline_object_id = args[:inline_object_id] if args.key?(:inline_object_id) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # Properties of an InlineObject. + class InlineObjectProperties + include Google::Apis::Core::Hashable + + # An embedded object in the document. + # Corresponds to the JSON property `embeddedObject` + # @return [Google::Apis::DocsV1::EmbeddedObject] + attr_accessor :embedded_object + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @embedded_object = args[:embedded_object] if args.key?(:embedded_object) + end + end + + # A mask that indicates which of the fields on the base + # InlineObjectProperties have + # been changed in this suggestion. For any field set to true, there is a new + # suggested value. + class InlineObjectPropertiesSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the base EmbeddedObject have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `embeddedObjectSuggestionState` + # @return [Google::Apis::DocsV1::EmbeddedObjectSuggestionState] + attr_accessor :embedded_object_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @embedded_object_suggestion_state = args[:embedded_object_suggestion_state] if args.key?(:embedded_object_suggestion_state) + end + end + + # Inserts an InlineObject containing an + # image at the given location. + class InsertInlineImageRequest + include Google::Apis::Core::Hashable + + # Location at the end of a body, header, footer or footnote. The location is + # immediately before the last newline in the document segment. + # Corresponds to the JSON property `endOfSegmentLocation` + # @return [Google::Apis::DocsV1::EndOfSegmentLocation] + attr_accessor :end_of_segment_location + + # A particular location in the document. + # Corresponds to the JSON property `location` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :location + + # A width and height. + # Corresponds to the JSON property `objectSize` + # @return [Google::Apis::DocsV1::Size] + attr_accessor :object_size + + # The image URI. + # The image is fetched once at insertion time and a copy is stored for + # display inside the document. Images must be less than 50MB in size, cannot + # exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. + # The provided URI can be at most 2 kB in length. The URI itself is saved + # with the image, and exposed via the ImageProperties.content_uri field. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) + @location = args[:location] if args.key?(:location) + @object_size = args[:object_size] if args.key?(:object_size) + @uri = args[:uri] if args.key?(:uri) + end + end + + # The result of inserting an inline image. + class InsertInlineImageResponse + include Google::Apis::Core::Hashable + + # The ID of the created InlineObject. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of inserting an embedded Google Sheets chart. + class InsertInlineSheetsChartResponse + include Google::Apis::Core::Hashable + + # The object ID of the inserted chart. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Inserts an empty row into a table. + class InsertTableRowRequest + include Google::Apis::Core::Hashable + + # Whether to insert new row below the reference cell location. + # - `True`: insert below the cell. + # - `False`: insert above the cell. + # Corresponds to the JSON property `insertBelow` + # @return [Boolean] + attr_accessor :insert_below + alias_method :insert_below?, :insert_below + + # Location of a single cell within a table. + # Corresponds to the JSON property `tableCellLocation` + # @return [Google::Apis::DocsV1::TableCellLocation] + attr_accessor :table_cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert_below = args[:insert_below] if args.key?(:insert_below) + @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) + end + end + + # Inserts text at the specified location. + class InsertTextRequest + include Google::Apis::Core::Hashable + + # Location at the end of a body, header, footer or footnote. The location is + # immediately before the last newline in the document segment. + # Corresponds to the JSON property `endOfSegmentLocation` + # @return [Google::Apis::DocsV1::EndOfSegmentLocation] + attr_accessor :end_of_segment_location + + # A particular location in the document. + # Corresponds to the JSON property `location` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :location + + # The text to be inserted. + # Inserting a newline character will implicitly create a new + # Paragraph 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 style + # for the inserted text will match the text immediately before 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. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) + @location = args[:location] if args.key?(:location) + @text = args[:text] if args.key?(:text) + end + end + + # A reference to another portion of a document or an external URL resource. + class Link + include Google::Apis::Core::Hashable + + # The ID of a bookmark in this document. + # Corresponds to the JSON property `bookmarkId` + # @return [String] + attr_accessor :bookmark_id + + # The ID of a heading in this document. + # Corresponds to the JSON property `headingId` + # @return [String] + attr_accessor :heading_id + + # An external URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bookmark_id = args[:bookmark_id] if args.key?(:bookmark_id) + @heading_id = args[:heading_id] if args.key?(:heading_id) + @url = args[:url] if args.key?(:url) + end + end + + # A reference to the external linked source content. + class LinkedContentReference + include Google::Apis::Core::Hashable + + # A reference to a linked chart embedded from Google Sheets. + # Corresponds to the JSON property `sheetsChartReference` + # @return [Google::Apis::DocsV1::SheetsChartReference] + attr_accessor :sheets_chart_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sheets_chart_reference = args[:sheets_chart_reference] if args.key?(:sheets_chart_reference) + end + end + + # A mask that indicates which of the fields on the base + # LinkedContentReference have + # been changed in this suggestion. For any field set to true, there is a new + # suggested value. + class LinkedContentReferenceSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the base SheetsChartReference + # have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `sheetsChartReferenceSuggestionState` + # @return [Google::Apis::DocsV1::SheetsChartReferenceSuggestionState] + attr_accessor :sheets_chart_reference_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sheets_chart_reference_suggestion_state = args[:sheets_chart_reference_suggestion_state] if args.key?(:sheets_chart_reference_suggestion_state) + end + end + + # A List represents the list attributes for a group of paragraphs that all + # belong to the same list. A paragraph that is part of a list has a reference + # to the list's ID in its bullet. + class List + include Google::Apis::Core::Hashable + + # The properties of a list which describe the look + # and feel of bullets belonging to paragraphs associated with a list. + # Corresponds to the JSON property `listProperties` + # @return [Google::Apis::DocsV1::ListProperties] + attr_accessor :list_properties + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this list. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion ID. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionId` + # @return [String] + attr_accessor :suggested_insertion_id + + # The suggested changes to the list properties, keyed by suggestion + # ID. + # Corresponds to the JSON property `suggestedListPropertiesChanges` + # @return [Hash] + attr_accessor :suggested_list_properties_changes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_properties = args[:list_properties] if args.key?(:list_properties) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id) + @suggested_list_properties_changes = args[:suggested_list_properties_changes] if args.key?(:suggested_list_properties_changes) + end + end + + # The properties of a list which describe the look + # and feel of bullets belonging to paragraphs associated with a list. + class ListProperties + include Google::Apis::Core::Hashable + + # Describes the properties of the bullets at the associated level. + # A list has at most nine levels of nesting with nesting level 0 + # corresponding to the top-most level and nesting level 8 corresponding to + # the most nested level. The nesting levels are returned in ascending order + # with the least nested returned first. + # Corresponds to the JSON property `nestingLevels` + # @return [Array] + attr_accessor :nesting_levels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nesting_levels = args[:nesting_levels] if args.key?(:nesting_levels) + end + end + + # A mask that indicates which of the fields on the base ListProperties have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class ListPropertiesSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the corresponding + # NestingLevel in nesting_levels have been changed in + # this suggestion. + # The nesting level suggestion states are returned in ascending order of the + # nesting level with the least nested returned first. + # Corresponds to the JSON property `nestingLevelsSuggestionStates` + # @return [Array] + attr_accessor :nesting_levels_suggestion_states + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nesting_levels_suggestion_states = args[:nesting_levels_suggestion_states] if args.key?(:nesting_levels_suggestion_states) + end + end + + # A particular location in the document. + class Location + include Google::Apis::Core::Hashable + + # The zero-based index, in UTF-16 code units. + # The index is relative to the beginning of the segment specified by + # segment_id. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The ID of the header, footer or footnote the location is in. An empty + # segment ID signifies the document's body. + # Corresponds to the JSON property `segmentId` + # @return [String] + attr_accessor :segment_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @segment_id = args[:segment_id] if args.key?(:segment_id) + end + end + + # A collection of Ranges with the same named range + # ID. + # Named ranges allow developers to associate parts of a document with an + # arbitrary user-defined label so their contents can be programmatically read + # or edited at a later time. A document may contain multiple named ranges with + # the same name, but every named range has a unique ID. + # A named range is created with a single Range, + # and content inserted inside a named range generally expands that range. + # However, certain document changes can cause the range to be split into + # multiple ranges. + class NamedRange + include Google::Apis::Core::Hashable + + # The name of the named range. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the named range. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + # The ranges that belong to this named range. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @ranges = args[:ranges] if args.key?(:ranges) + end + end + + # A collection of all the NamedRanges in the + # document that share a given name. + class NamedRanges + include Google::Apis::Core::Hashable + + # The name that all the named ranges share. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The NamedRanges that share the same name. + # Corresponds to the JSON property `namedRanges` + # @return [Array] + attr_accessor :named_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @named_ranges = args[:named_ranges] if args.key?(:named_ranges) + end + end + + # A named style. Paragraphs in the document can inherit their + # TextStyle and + # ParagraphStyle from this named style + # when they have the same named style type. + class NamedStyle + include Google::Apis::Core::Hashable + + # The type of this named style. + # Corresponds to the JSON property `namedStyleType` + # @return [String] + attr_accessor :named_style_type + + # Styles that apply to a whole paragraph. + # Inherited paragraph styles are represented as unset fields in this message. + # A paragraph style's parent depends on where the paragraph style is defined: + # * The ParagraphStyle on a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The ParagraphStyle on a named style + # inherits from the normal text named style. + # * The ParagraphStyle of the normal text named style inherits + # from the default paragraph style in the Docs editor. + # * The ParagraphStyle on a Paragraph + # element that is contained in a table may inherit its paragraph style from + # the table style. + # If the paragraph style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `paragraphStyle` + # @return [Google::Apis::DocsV1::ParagraphStyle] + attr_accessor :paragraph_style + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_style_type = args[:named_style_type] if args.key?(:named_style_type) + @paragraph_style = args[:paragraph_style] if args.key?(:paragraph_style) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # A suggestion state of a NamedStyle message. + class NamedStyleSuggestionState + include Google::Apis::Core::Hashable + + # The named style type that this suggestion state corresponds to. + # This field is provided as a convenience for matching the + # NamedStyleSuggestionState with its corresponding NamedStyle. + # Corresponds to the JSON property `namedStyleType` + # @return [String] + attr_accessor :named_style_type + + # A mask that indicates which of the fields on the base ParagraphStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `paragraphStyleSuggestionState` + # @return [Google::Apis::DocsV1::ParagraphStyleSuggestionState] + attr_accessor :paragraph_style_suggestion_state + + # A mask that indicates which of the fields on the base TextStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `textStyleSuggestionState` + # @return [Google::Apis::DocsV1::TextStyleSuggestionState] + attr_accessor :text_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_style_type = args[:named_style_type] if args.key?(:named_style_type) + @paragraph_style_suggestion_state = args[:paragraph_style_suggestion_state] if args.key?(:paragraph_style_suggestion_state) + @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) + end + end + + # The named styles. Paragraphs in the document can inherit their + # TextStyle and + # ParagraphStyle from these named styles. + class NamedStyles + include Google::Apis::Core::Hashable + + # The named styles. + # There is an entry for each of the possible named style types. + # Corresponds to the JSON property `styles` + # @return [Array] + attr_accessor :styles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @styles = args[:styles] if args.key?(:styles) + end + end + + # The suggestion state of a NamedStyles + # message. + class NamedStylesSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the corresponding NamedStyle in + # styles have been changed in this + # suggestion. + # The order of these named style suggestion states match the order of the + # corresponding named style within the named styles suggestion. + # Corresponds to the JSON property `stylesSuggestionStates` + # @return [Array] + attr_accessor :styles_suggestion_states + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @styles_suggestion_states = args[:styles_suggestion_states] if args.key?(:styles_suggestion_states) + end + end + + # Contains properties describing the look and feel of a list bullet at a given + # level of nesting. + class NestingLevel + include Google::Apis::Core::Hashable + + # The alignment of the bullet within the space allotted for rendering the + # bullet. + # Corresponds to the JSON property `bulletAlignment` + # @return [String] + attr_accessor :bullet_alignment + + # The format string used by bullets at this level of nesting. + # The glyph format contains one or more placeholders, and these placeholder + # are replaced with the appropriate values depending on the glyph_type or + # glyph_symbol. The placeholders follow + # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes + # and suffixes. Thus, the glyph format follows the pattern + # `%[nesting_level]`. Note that the prefix and suffix are + # optional and can be arbitrary strings. + # For example, the glyph format `%0.` indicates that the rendered glyph will + # replace the placeholder with the corresponding glyph for nesting level 0 + # followed by a period as the suffix. So a list with a glyph type of + # UPPER_ALPHA and + # glyph format `%0.` at nesting level 0 will result in a list with rendered + # glyphs + #

`A.` + #

`B.` + #

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

`1.` + #

`2.` + #

` 2.1.` + #

` 2.2.` + #

`3.` + # For nesting levels that are ordered, the string that replaces a placeholder + # in the glyph format for a particular paragraph depends on the paragraph's + # order within the list. + # Corresponds to the JSON property `glyphFormat` + # @return [String] + attr_accessor :glyph_format + + # A custom glyph symbol used by bullets when paragraphs at this level of + # nesting are unordered. + # The glyph symbol replaces placeholders within the glyph_format. For example, + # if the + # glyph_symbol is the solid circle corresponding to Unicode U+25cf code + # point and the glyph_format is `%0`, the rendered + # glyph would be the solid circle. + # Corresponds to the JSON property `glyphSymbol` + # @return [String] + attr_accessor :glyph_symbol + + # The type of glyph used by bullets when paragraphs at this level of + # nesting are ordered. + # The glyph type determines the type of glyph used to replace placeholders + # within the glyph_format + # when paragraphs at this level of nesting are ordered. For example, if the + # nesting level is 0, the glyph_format is `%0.` and the glyph + # type is DECIMAL, + # then the rendered glyph would replace the placeholder `%0` in the glyph + # format with a number corresponding to list item's order within the list. + # Corresponds to the JSON property `glyphType` + # @return [String] + attr_accessor :glyph_type + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentFirstLine` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :indent_first_line + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentStart` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :indent_start + + # The number of the first list item at this nesting level. + # A value of 0 is treated as a value of 1 for lettered lists and roman + # numeraled lists, i.e. for values of both 0 and 1, lettered and roman + # numeraled lists will begin at `a` and `i` respectively. + # This value is ignored for nesting levels with unordered glyphs. + # Corresponds to the JSON property `startNumber` + # @return [Fixnum] + attr_accessor :start_number + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_alignment = args[:bullet_alignment] if args.key?(:bullet_alignment) + @glyph_format = args[:glyph_format] if args.key?(:glyph_format) + @glyph_symbol = args[:glyph_symbol] if args.key?(:glyph_symbol) + @glyph_type = args[:glyph_type] if args.key?(:glyph_type) + @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) + @indent_start = args[:indent_start] if args.key?(:indent_start) + @start_number = args[:start_number] if args.key?(:start_number) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # A mask that indicates which of the fields on the base NestingLevel have been + # changed in this suggestion. For + # any field set to true, there is a new suggested value. + class NestingLevelSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to + # bullet_alignment. + # Corresponds to the JSON property `bulletAlignmentSuggested` + # @return [Boolean] + attr_accessor :bullet_alignment_suggested + alias_method :bullet_alignment_suggested?, :bullet_alignment_suggested + + # Indicates if there was a suggested change to + # glyph_format. + # Corresponds to the JSON property `glyphFormatSuggested` + # @return [Boolean] + attr_accessor :glyph_format_suggested + alias_method :glyph_format_suggested?, :glyph_format_suggested + + # Indicates if there was a suggested change to + # glyph_symbol. + # Corresponds to the JSON property `glyphSymbolSuggested` + # @return [Boolean] + attr_accessor :glyph_symbol_suggested + alias_method :glyph_symbol_suggested?, :glyph_symbol_suggested + + # Indicates if there was a suggested change to + # glyph_type. + # Corresponds to the JSON property `glyphTypeSuggested` + # @return [Boolean] + attr_accessor :glyph_type_suggested + alias_method :glyph_type_suggested?, :glyph_type_suggested + + # Indicates if there was a suggested change to + # indent_first_line. + # Corresponds to the JSON property `indentFirstLineSuggested` + # @return [Boolean] + attr_accessor :indent_first_line_suggested + alias_method :indent_first_line_suggested?, :indent_first_line_suggested + + # Indicates if there was a suggested change to + # indent_start. + # Corresponds to the JSON property `indentStartSuggested` + # @return [Boolean] + attr_accessor :indent_start_suggested + alias_method :indent_start_suggested?, :indent_start_suggested + + # Indicates if there was a suggested change to + # start_number. + # Corresponds to the JSON property `startNumberSuggested` + # @return [Boolean] + attr_accessor :start_number_suggested + alias_method :start_number_suggested?, :start_number_suggested + + # A mask that indicates which of the fields on the base TextStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `textStyleSuggestionState` + # @return [Google::Apis::DocsV1::TextStyleSuggestionState] + attr_accessor :text_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_alignment_suggested = args[:bullet_alignment_suggested] if args.key?(:bullet_alignment_suggested) + @glyph_format_suggested = args[:glyph_format_suggested] if args.key?(:glyph_format_suggested) + @glyph_symbol_suggested = args[:glyph_symbol_suggested] if args.key?(:glyph_symbol_suggested) + @glyph_type_suggested = args[:glyph_type_suggested] if args.key?(:glyph_type_suggested) + @indent_first_line_suggested = args[:indent_first_line_suggested] if args.key?(:indent_first_line_suggested) + @indent_start_suggested = args[:indent_start_suggested] if args.key?(:indent_start_suggested) + @start_number_suggested = args[:start_number_suggested] if args.key?(:start_number_suggested) + @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) + end + end + + # A collection of object IDs. + class ObjectReferences + include Google::Apis::Core::Hashable + + # The object IDs. + # Corresponds to the JSON property `objectIds` + # @return [Array] + attr_accessor :object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_ids = args[:object_ids] if args.key?(:object_ids) + end + end + + # A color that can either be fully opaque or fully transparent. + class OptionalColor + include Google::Apis::Core::Hashable + + # A solid color. + # Corresponds to the JSON property `color` + # @return [Google::Apis::DocsV1::Color] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + end + end + + # A ParagraphElement representing a + # page break. A page break makes the subsequent text start at the top of the + # next page. + class PageBreak + include Google::Apis::Core::Hashable + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A PageBreak + # may have multiple insertion IDs if it is a nested suggested change. If + # empty, then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this PageBreak, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # A StructuralElement representing a + # paragraph. A paragraph is a range of content that is terminated with a + # newline character. + class Paragraph + include Google::Apis::Core::Hashable + + # Describes the bullet of a paragraph. + # Corresponds to the JSON property `bullet` + # @return [Google::Apis::DocsV1::Bullet] + attr_accessor :bullet + + # The content of the paragraph broken down into its component parts. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + # Styles that apply to a whole paragraph. + # Inherited paragraph styles are represented as unset fields in this message. + # A paragraph style's parent depends on where the paragraph style is defined: + # * The ParagraphStyle on a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The ParagraphStyle on a named style + # inherits from the normal text named style. + # * The ParagraphStyle of the normal text named style inherits + # from the default paragraph style in the Docs editor. + # * The ParagraphStyle on a Paragraph + # element that is contained in a table may inherit its paragraph style from + # the table style. + # If the paragraph style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `paragraphStyle` + # @return [Google::Apis::DocsV1::ParagraphStyle] + attr_accessor :paragraph_style + + # The IDs of the positioned objects tethered to this paragraph. + # Corresponds to the JSON property `positionedObjectIds` + # @return [Array] + attr_accessor :positioned_object_ids + + # The suggested changes to this paragraph's bullet. + # Corresponds to the JSON property `suggestedBulletChanges` + # @return [Hash] + attr_accessor :suggested_bullet_changes + + # The suggested paragraph style changes to this paragraph, keyed by + # suggestion ID. + # Corresponds to the JSON property `suggestedParagraphStyleChanges` + # @return [Hash] + attr_accessor :suggested_paragraph_style_changes + + # The IDs of the positioned objects that are suggested to be attached to this + # paragraph, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedPositionedObjectIds` + # @return [Hash] + attr_accessor :suggested_positioned_object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet = args[:bullet] if args.key?(:bullet) + @elements = args[:elements] if args.key?(:elements) + @paragraph_style = args[:paragraph_style] if args.key?(:paragraph_style) + @positioned_object_ids = args[:positioned_object_ids] if args.key?(:positioned_object_ids) + @suggested_bullet_changes = args[:suggested_bullet_changes] if args.key?(:suggested_bullet_changes) + @suggested_paragraph_style_changes = args[:suggested_paragraph_style_changes] if args.key?(:suggested_paragraph_style_changes) + @suggested_positioned_object_ids = args[:suggested_positioned_object_ids] if args.key?(:suggested_positioned_object_ids) + end + end + + # A border around a paragraph. + class ParagraphBorder + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `color` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :color + + # The dash style of the border. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `padding` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @padding = args[:padding] if args.key?(:padding) + @width = args[:width] if args.key?(:width) + end + end + + # A ParagraphElement describes content within a + # Paragraph. + class ParagraphElement + include Google::Apis::Core::Hashable + + # A ParagraphElement representing a + # spot in the text that is dynamically replaced with content that can change + # over time, like a page number. + # Corresponds to the JSON property `autoText` + # @return [Google::Apis::DocsV1::AutoText] + attr_accessor :auto_text + + # A ParagraphElement representing a + # column break. A column break makes the subsequent text start at the top of + # the next column. + # Corresponds to the JSON property `columnBreak` + # @return [Google::Apis::DocsV1::ColumnBreak] + attr_accessor :column_break + + # The zero-base end index of this paragraph element, exclusive, in Unicode + # code units of the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # A ParagraphElement representing an + # equation. + # Corresponds to the JSON property `equation` + # @return [Google::Apis::DocsV1::Equation] + attr_accessor :equation + + # A ParagraphElement representing a + # footnote reference. A footnote reference is the inline content rendered with + # a number and is used to identify the footnote. + # Corresponds to the JSON property `footnoteReference` + # @return [Google::Apis::DocsV1::FootnoteReference] + attr_accessor :footnote_reference + + # A ParagraphElement representing a + # horizontal line. + # Corresponds to the JSON property `horizontalRule` + # @return [Google::Apis::DocsV1::HorizontalRule] + attr_accessor :horizontal_rule + + # A ParagraphElement that contains + # an InlineObject. + # Corresponds to the JSON property `inlineObjectElement` + # @return [Google::Apis::DocsV1::InlineObjectElement] + attr_accessor :inline_object_element + + # A ParagraphElement representing a + # page break. A page break makes the subsequent text start at the top of the + # next page. + # Corresponds to the JSON property `pageBreak` + # @return [Google::Apis::DocsV1::PageBreak] + attr_accessor :page_break + + # The zero-based start index of this paragraph element, in Unicode code + # units of the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # A ParagraphElement that represents a + # run of text that all has the same styling. + # Corresponds to the JSON property `textRun` + # @return [Google::Apis::DocsV1::TextRun] + attr_accessor :text_run + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_text = args[:auto_text] if args.key?(:auto_text) + @column_break = args[:column_break] if args.key?(:column_break) + @end_index = args[:end_index] if args.key?(:end_index) + @equation = args[:equation] if args.key?(:equation) + @footnote_reference = args[:footnote_reference] if args.key?(:footnote_reference) + @horizontal_rule = args[:horizontal_rule] if args.key?(:horizontal_rule) + @inline_object_element = args[:inline_object_element] if args.key?(:inline_object_element) + @page_break = args[:page_break] if args.key?(:page_break) + @start_index = args[:start_index] if args.key?(:start_index) + @text_run = args[:text_run] if args.key?(:text_run) + end + end + + # Styles that apply to a whole paragraph. + # Inherited paragraph styles are represented as unset fields in this message. + # A paragraph style's parent depends on where the paragraph style is defined: + # * The ParagraphStyle on a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The ParagraphStyle on a named style + # inherits from the normal text named style. + # * The ParagraphStyle of the normal text named style inherits + # from the default paragraph style in the Docs editor. + # * The ParagraphStyle on a Paragraph + # element that is contained in a table may inherit its paragraph style from + # the table style. + # If the paragraph style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + class ParagraphStyle + include Google::Apis::Core::Hashable + + # The text alignment for this paragraph. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # Whether to avoid widows and orphans for the paragraph. If unset, the value + # is inherited from the parent. + # Corresponds to the JSON property `avoidWidowAndOrphan` + # @return [Boolean] + attr_accessor :avoid_widow_and_orphan + alias_method :avoid_widow_and_orphan?, :avoid_widow_and_orphan + + # A border around a paragraph. + # Corresponds to the JSON property `borderBetween` + # @return [Google::Apis::DocsV1::ParagraphBorder] + attr_accessor :border_between + + # A border around a paragraph. + # Corresponds to the JSON property `borderBottom` + # @return [Google::Apis::DocsV1::ParagraphBorder] + attr_accessor :border_bottom + + # A border around a paragraph. + # Corresponds to the JSON property `borderLeft` + # @return [Google::Apis::DocsV1::ParagraphBorder] + attr_accessor :border_left + + # A border around a paragraph. + # Corresponds to the JSON property `borderRight` + # @return [Google::Apis::DocsV1::ParagraphBorder] + attr_accessor :border_right + + # A border around a paragraph. + # Corresponds to the JSON property `borderTop` + # @return [Google::Apis::DocsV1::ParagraphBorder] + attr_accessor :border_top + + # The text direction of this paragraph. If unset, the value defaults to + # LEFT_TO_RIGHT since + # paragraph direction is not inherited. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # The heading ID of the paragraph. If empty, then this paragraph is not a + # heading. This property is read-only. + # Corresponds to the JSON property `headingId` + # @return [String] + attr_accessor :heading_id + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentEnd` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :indent_end + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentFirstLine` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :indent_first_line + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentStart` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :indent_start + + # Whether all lines of the paragraph should be laid out on the same page or + # column if possible. If unset, the value is inherited from the parent. + # Corresponds to the JSON property `keepLinesTogether` + # @return [Boolean] + attr_accessor :keep_lines_together + alias_method :keep_lines_together?, :keep_lines_together + + # Whether at least a part of this paragraph should be laid out on the same + # page or column as the next paragraph if possible. If unset, the value is + # inherited from the parent. + # Corresponds to the JSON property `keepWithNext` + # @return [Boolean] + attr_accessor :keep_with_next + alias_method :keep_with_next?, :keep_with_next + + # 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. + # Corresponds to the JSON property `lineSpacing` + # @return [Float] + attr_accessor :line_spacing + + # The named style type of the paragraph. + # Since updating the named style type affects other properties within + # ParagraphStyle, the named style type is applied before the other properties + # are updated. + # Corresponds to the JSON property `namedStyleType` + # @return [String] + attr_accessor :named_style_type + + # The shading of a paragraph. + # Corresponds to the JSON property `shading` + # @return [Google::Apis::DocsV1::Shading] + attr_accessor :shading + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceAbove` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :space_above + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceBelow` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :space_below + + # The spacing mode for the paragraph. + # Corresponds to the JSON property `spacingMode` + # @return [String] + attr_accessor :spacing_mode + + # A list of the tab stops for this paragraph. The list of tab stops is not + # inherited. This property is read-only. + # Corresponds to the JSON property `tabStops` + # @return [Array] + attr_accessor :tab_stops + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alignment = args[:alignment] if args.key?(:alignment) + @avoid_widow_and_orphan = args[:avoid_widow_and_orphan] if args.key?(:avoid_widow_and_orphan) + @border_between = args[:border_between] if args.key?(:border_between) + @border_bottom = args[:border_bottom] if args.key?(:border_bottom) + @border_left = args[:border_left] if args.key?(:border_left) + @border_right = args[:border_right] if args.key?(:border_right) + @border_top = args[:border_top] if args.key?(:border_top) + @direction = args[:direction] if args.key?(:direction) + @heading_id = args[:heading_id] if args.key?(:heading_id) + @indent_end = args[:indent_end] if args.key?(:indent_end) + @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) + @indent_start = args[:indent_start] if args.key?(:indent_start) + @keep_lines_together = args[:keep_lines_together] if args.key?(:keep_lines_together) + @keep_with_next = args[:keep_with_next] if args.key?(:keep_with_next) + @line_spacing = args[:line_spacing] if args.key?(:line_spacing) + @named_style_type = args[:named_style_type] if args.key?(:named_style_type) + @shading = args[:shading] if args.key?(:shading) + @space_above = args[:space_above] if args.key?(:space_above) + @space_below = args[:space_below] if args.key?(:space_below) + @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) + @tab_stops = args[:tab_stops] if args.key?(:tab_stops) + end + end + + # A mask that indicates which of the fields on the base ParagraphStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class ParagraphStyleSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to alignment. + # Corresponds to the JSON property `alignmentSuggested` + # @return [Boolean] + attr_accessor :alignment_suggested + alias_method :alignment_suggested?, :alignment_suggested + + # Indicates if there was a suggested change to avoid_widow_and_orphan. + # Corresponds to the JSON property `avoidWidowAndOrphanSuggested` + # @return [Boolean] + attr_accessor :avoid_widow_and_orphan_suggested + alias_method :avoid_widow_and_orphan_suggested?, :avoid_widow_and_orphan_suggested + + # Indicates if there was a suggested change to border_between. + # Corresponds to the JSON property `borderBetweenSuggested` + # @return [Boolean] + attr_accessor :border_between_suggested + alias_method :border_between_suggested?, :border_between_suggested + + # Indicates if there was a suggested change to border_bottom. + # Corresponds to the JSON property `borderBottomSuggested` + # @return [Boolean] + attr_accessor :border_bottom_suggested + alias_method :border_bottom_suggested?, :border_bottom_suggested + + # Indicates if there was a suggested change to border_left. + # Corresponds to the JSON property `borderLeftSuggested` + # @return [Boolean] + attr_accessor :border_left_suggested + alias_method :border_left_suggested?, :border_left_suggested + + # Indicates if there was a suggested change to border_right. + # Corresponds to the JSON property `borderRightSuggested` + # @return [Boolean] + attr_accessor :border_right_suggested + alias_method :border_right_suggested?, :border_right_suggested + + # Indicates if there was a suggested change to border_top. + # Corresponds to the JSON property `borderTopSuggested` + # @return [Boolean] + attr_accessor :border_top_suggested + alias_method :border_top_suggested?, :border_top_suggested + + # Indicates if there was a suggested change to direction. + # Corresponds to the JSON property `directionSuggested` + # @return [Boolean] + attr_accessor :direction_suggested + alias_method :direction_suggested?, :direction_suggested + + # Indicates if there was a suggested change to heading_id. + # Corresponds to the JSON property `headingIdSuggested` + # @return [Boolean] + attr_accessor :heading_id_suggested + alias_method :heading_id_suggested?, :heading_id_suggested + + # Indicates if there was a suggested change to indent_end. + # Corresponds to the JSON property `indentEndSuggested` + # @return [Boolean] + attr_accessor :indent_end_suggested + alias_method :indent_end_suggested?, :indent_end_suggested + + # Indicates if there was a suggested change to indent_first_line. + # Corresponds to the JSON property `indentFirstLineSuggested` + # @return [Boolean] + attr_accessor :indent_first_line_suggested + alias_method :indent_first_line_suggested?, :indent_first_line_suggested + + # Indicates if there was a suggested change to indent_start. + # Corresponds to the JSON property `indentStartSuggested` + # @return [Boolean] + attr_accessor :indent_start_suggested + alias_method :indent_start_suggested?, :indent_start_suggested + + # Indicates if there was a suggested change to keep_lines_together. + # Corresponds to the JSON property `keepLinesTogetherSuggested` + # @return [Boolean] + attr_accessor :keep_lines_together_suggested + alias_method :keep_lines_together_suggested?, :keep_lines_together_suggested + + # Indicates if there was a suggested change to keep_with_next. + # Corresponds to the JSON property `keepWithNextSuggested` + # @return [Boolean] + attr_accessor :keep_with_next_suggested + alias_method :keep_with_next_suggested?, :keep_with_next_suggested + + # Indicates if there was a suggested change to line_spacing. + # Corresponds to the JSON property `lineSpacingSuggested` + # @return [Boolean] + attr_accessor :line_spacing_suggested + alias_method :line_spacing_suggested?, :line_spacing_suggested + + # Indicates if there was a suggested change to named_style_type. + # Corresponds to the JSON property `namedStyleTypeSuggested` + # @return [Boolean] + attr_accessor :named_style_type_suggested + alias_method :named_style_type_suggested?, :named_style_type_suggested + + # A mask that indicates which of the fields on the base Shading have been + # changed in this + # suggested change. For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `shadingSuggestionState` + # @return [Google::Apis::DocsV1::ShadingSuggestionState] + attr_accessor :shading_suggestion_state + + # Indicates if there was a suggested change to space_above. + # Corresponds to the JSON property `spaceAboveSuggested` + # @return [Boolean] + attr_accessor :space_above_suggested + alias_method :space_above_suggested?, :space_above_suggested + + # Indicates if there was a suggested change to space_below. + # Corresponds to the JSON property `spaceBelowSuggested` + # @return [Boolean] + attr_accessor :space_below_suggested + alias_method :space_below_suggested?, :space_below_suggested + + # Indicates if there was a suggested change to spacing_mode. + # Corresponds to the JSON property `spacingModeSuggested` + # @return [Boolean] + attr_accessor :spacing_mode_suggested + alias_method :spacing_mode_suggested?, :spacing_mode_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alignment_suggested = args[:alignment_suggested] if args.key?(:alignment_suggested) + @avoid_widow_and_orphan_suggested = args[:avoid_widow_and_orphan_suggested] if args.key?(:avoid_widow_and_orphan_suggested) + @border_between_suggested = args[:border_between_suggested] if args.key?(:border_between_suggested) + @border_bottom_suggested = args[:border_bottom_suggested] if args.key?(:border_bottom_suggested) + @border_left_suggested = args[:border_left_suggested] if args.key?(:border_left_suggested) + @border_right_suggested = args[:border_right_suggested] if args.key?(:border_right_suggested) + @border_top_suggested = args[:border_top_suggested] if args.key?(:border_top_suggested) + @direction_suggested = args[:direction_suggested] if args.key?(:direction_suggested) + @heading_id_suggested = args[:heading_id_suggested] if args.key?(:heading_id_suggested) + @indent_end_suggested = args[:indent_end_suggested] if args.key?(:indent_end_suggested) + @indent_first_line_suggested = args[:indent_first_line_suggested] if args.key?(:indent_first_line_suggested) + @indent_start_suggested = args[:indent_start_suggested] if args.key?(:indent_start_suggested) + @keep_lines_together_suggested = args[:keep_lines_together_suggested] if args.key?(:keep_lines_together_suggested) + @keep_with_next_suggested = args[:keep_with_next_suggested] if args.key?(:keep_with_next_suggested) + @line_spacing_suggested = args[:line_spacing_suggested] if args.key?(:line_spacing_suggested) + @named_style_type_suggested = args[:named_style_type_suggested] if args.key?(:named_style_type_suggested) + @shading_suggestion_state = args[:shading_suggestion_state] if args.key?(:shading_suggestion_state) + @space_above_suggested = args[:space_above_suggested] if args.key?(:space_above_suggested) + @space_below_suggested = args[:space_below_suggested] if args.key?(:space_below_suggested) + @spacing_mode_suggested = args[:spacing_mode_suggested] if args.key?(:spacing_mode_suggested) + end + end + + # An object that is tethered to a Paragraph + # and positioned relative to the beginning of the paragraph. A PositionedObject + # contains an EmbeddedObject such as an + # image. + class PositionedObject + include Google::Apis::Core::Hashable + + # The ID of this positioned object. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Properties of a PositionedObject. + # Corresponds to the JSON property `positionedObjectProperties` + # @return [Google::Apis::DocsV1::PositionedObjectProperties] + attr_accessor :positioned_object_properties + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion ID. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionId` + # @return [String] + attr_accessor :suggested_insertion_id + + # The suggested changes to the positioned object properties, keyed by + # suggestion ID. + # Corresponds to the JSON property `suggestedPositionedObjectPropertiesChanges` + # @return [Hash] + attr_accessor :suggested_positioned_object_properties_changes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @positioned_object_properties = args[:positioned_object_properties] if args.key?(:positioned_object_properties) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id) + @suggested_positioned_object_properties_changes = args[:suggested_positioned_object_properties_changes] if args.key?(:suggested_positioned_object_properties_changes) + end + end + + # The positioning of a PositionedObject. The positioned object is positioned + # relative to the beginning of the Paragraph + # it is tethered to. + class PositionedObjectPositioning + include Google::Apis::Core::Hashable + + # The layout of this positioned object. + # Corresponds to the JSON property `layout` + # @return [String] + attr_accessor :layout + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `leftOffset` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :left_offset + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `topOffset` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :top_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout = args[:layout] if args.key?(:layout) + @left_offset = args[:left_offset] if args.key?(:left_offset) + @top_offset = args[:top_offset] if args.key?(:top_offset) + end + end + + # A mask that indicates which of the fields on the base + # PositionedObjectPositioning have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + class PositionedObjectPositioningSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to layout. + # Corresponds to the JSON property `layoutSuggested` + # @return [Boolean] + attr_accessor :layout_suggested + alias_method :layout_suggested?, :layout_suggested + + # Indicates if there was a suggested change to left_offset. + # Corresponds to the JSON property `leftOffsetSuggested` + # @return [Boolean] + attr_accessor :left_offset_suggested + alias_method :left_offset_suggested?, :left_offset_suggested + + # Indicates if there was a suggested change to top_offset. + # Corresponds to the JSON property `topOffsetSuggested` + # @return [Boolean] + attr_accessor :top_offset_suggested + alias_method :top_offset_suggested?, :top_offset_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_suggested = args[:layout_suggested] if args.key?(:layout_suggested) + @left_offset_suggested = args[:left_offset_suggested] if args.key?(:left_offset_suggested) + @top_offset_suggested = args[:top_offset_suggested] if args.key?(:top_offset_suggested) + end + end + + # Properties of a PositionedObject. + class PositionedObjectProperties + include Google::Apis::Core::Hashable + + # An embedded object in the document. + # Corresponds to the JSON property `embeddedObject` + # @return [Google::Apis::DocsV1::EmbeddedObject] + attr_accessor :embedded_object + + # The positioning of a PositionedObject. The positioned object is positioned + # relative to the beginning of the Paragraph + # it is tethered to. + # Corresponds to the JSON property `positioning` + # @return [Google::Apis::DocsV1::PositionedObjectPositioning] + attr_accessor :positioning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @embedded_object = args[:embedded_object] if args.key?(:embedded_object) + @positioning = args[:positioning] if args.key?(:positioning) + end + end + + # A mask that indicates which of the fields on the base + # PositionedObjectProperties + # have been changed in this suggestion. For any field set to true, there is a + # new suggested value. + class PositionedObjectPropertiesSuggestionState + include Google::Apis::Core::Hashable + + # A mask that indicates which of the fields on the base EmbeddedObject have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `embeddedObjectSuggestionState` + # @return [Google::Apis::DocsV1::EmbeddedObjectSuggestionState] + attr_accessor :embedded_object_suggestion_state + + # A mask that indicates which of the fields on the base + # PositionedObjectPositioning have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `positioningSuggestionState` + # @return [Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState] + attr_accessor :positioning_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @embedded_object_suggestion_state = args[:embedded_object_suggestion_state] if args.key?(:embedded_object_suggestion_state) + @positioning_suggestion_state = args[:positioning_suggestion_state] if args.key?(:positioning_suggestion_state) + end + end + + # Specifies a contiguous range of text. + class Range + include Google::Apis::Core::Hashable + + # The zero-based end index of this range, exclusive, in Unicode code units of + # the UTF-16 encoding. + # In all current uses, an end index must be provided. This field is an + # Int32Value in order to accommodate future use cases with open-ended ranges. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The ID of the header, footer or footnote that this range is contained in. + # An empty segment ID signifies the document's body. + # Corresponds to the JSON property `segmentId` + # @return [String] + attr_accessor :segment_id + + # The zero-based start index of this range, in Unicode code units of the + # UTF-16 encoding. + # In all current uses, a start index must be provided. This field is an + # Int32Value in order to accommodate future use cases with open-ended ranges. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_index = args[:end_index] if args.key?(:end_index) + @segment_id = args[:segment_id] if args.key?(:segment_id) + @start_index = args[:start_index] if args.key?(:start_index) + end + end + + # Replaces all instances of text matching a criteria with replace text. + class ReplaceAllTextRequest + include Google::Apis::Core::Hashable + + # A criteria that matches a specific string of text in the document. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::DocsV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The text that will replace the matched text. + # Corresponds to the JSON property `replaceText` + # @return [String] + attr_accessor :replace_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @replace_text = args[:replace_text] if args.key?(:replace_text) + end + end + + # The result of replacing text. + class ReplaceAllTextResponse + include Google::Apis::Core::Hashable + + # The number of occurrences changed by replacing all text. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # A single update to apply to a document. + class Request + include Google::Apis::Core::Hashable + + # Creates a NamedRange referencing the given + # range. + # Corresponds to the JSON property `createNamedRange` + # @return [Google::Apis::DocsV1::CreateNamedRangeRequest] + attr_accessor :create_named_range + + # Creates bullets for all of the paragraphs that overlap with the given 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. + # Corresponds to the JSON property `createParagraphBullets` + # @return [Google::Apis::DocsV1::CreateParagraphBulletsRequest] + attr_accessor :create_paragraph_bullets + + # Deletes content from the document. + # Corresponds to the JSON property `deleteContentRange` + # @return [Google::Apis::DocsV1::DeleteContentRangeRequest] + attr_accessor :delete_content_range + + # Deletes a NamedRange. + # Corresponds to the JSON property `deleteNamedRange` + # @return [Google::Apis::DocsV1::DeleteNamedRangeRequest] + attr_accessor :delete_named_range + + # Deletes bullets from all of the paragraphs that overlap with the given range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + # Corresponds to the JSON property `deleteParagraphBullets` + # @return [Google::Apis::DocsV1::DeleteParagraphBulletsRequest] + attr_accessor :delete_paragraph_bullets + + # Deletes a PositionedObject from the + # document. + # Corresponds to the JSON property `deletePositionedObject` + # @return [Google::Apis::DocsV1::DeletePositionedObjectRequest] + attr_accessor :delete_positioned_object + + # Deletes a column from a table. + # Corresponds to the JSON property `deleteTableColumn` + # @return [Google::Apis::DocsV1::DeleteTableColumnRequest] + attr_accessor :delete_table_column + + # Deletes a row from a table. + # Corresponds to the JSON property `deleteTableRow` + # @return [Google::Apis::DocsV1::DeleteTableRowRequest] + attr_accessor :delete_table_row + + # Inserts an InlineObject containing an + # image at the given location. + # Corresponds to the JSON property `insertInlineImage` + # @return [Google::Apis::DocsV1::InsertInlineImageRequest] + attr_accessor :insert_inline_image + + # Inserts an empty row into a table. + # Corresponds to the JSON property `insertTableRow` + # @return [Google::Apis::DocsV1::InsertTableRowRequest] + attr_accessor :insert_table_row + + # Inserts text at the specified location. + # Corresponds to the JSON property `insertText` + # @return [Google::Apis::DocsV1::InsertTextRequest] + attr_accessor :insert_text + + # Replaces all instances of text matching a criteria with replace text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::DocsV1::ReplaceAllTextRequest] + attr_accessor :replace_all_text + + # Update the styling of all paragraphs that overlap with the given range. + # Corresponds to the JSON property `updateParagraphStyle` + # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest] + attr_accessor :update_paragraph_style + + # Update the styling of text. + # Corresponds to the JSON property `updateTextStyle` + # @return [Google::Apis::DocsV1::UpdateTextStyleRequest] + attr_accessor :update_text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_named_range = args[:create_named_range] if args.key?(:create_named_range) + @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) + @delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range) + @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) + @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) + @delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object) + @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) + @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) + @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image) + @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row) + @insert_text = args[:insert_text] if args.key?(:insert_text) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) + @update_text_style = args[:update_text_style] if args.key?(:update_text_style) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of creating a named range. + # Corresponds to the JSON property `createNamedRange` + # @return [Google::Apis::DocsV1::CreateNamedRangeResponse] + attr_accessor :create_named_range + + # The result of inserting an inline image. + # Corresponds to the JSON property `insertInlineImage` + # @return [Google::Apis::DocsV1::InsertInlineImageResponse] + attr_accessor :insert_inline_image + + # The result of inserting an embedded Google Sheets chart. + # Corresponds to the JSON property `insertInlineSheetsChart` + # @return [Google::Apis::DocsV1::InsertInlineSheetsChartResponse] + attr_accessor :insert_inline_sheets_chart + + # The result of replacing text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::DocsV1::ReplaceAllTextResponse] + attr_accessor :replace_all_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_named_range = args[:create_named_range] if args.key?(:create_named_range) + @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image) + @insert_inline_sheets_chart = args[:insert_inline_sheets_chart] if args.key?(:insert_inline_sheets_chart) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + end + end + + # An RGB color. + class RgbColor + include Google::Apis::Core::Hashable + + # The blue component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + # The green component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The red component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blue = args[:blue] if args.key?(:blue) + @green = args[:green] if args.key?(:green) + @red = args[:red] if args.key?(:red) + end + end + + # A StructuralElement representing a + # section break. A section is a range of content which has the same + # SectionStyle. A section break represents + # the start of a new section, and the section style applies to the section + # after the section break. + # The document body always begins with a section break. + class SectionBreak + include Google::Apis::Core::Hashable + + # The styling that applies to a section. + # Corresponds to the JSON property `sectionStyle` + # @return [Google::Apis::DocsV1::SectionStyle] + attr_accessor :section_style + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if + # it is + # a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @section_style = args[:section_style] if args.key?(:section_style) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + end + end + + # Properties that apply to a section's column. + class SectionColumnProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `paddingEnd` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding_end + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @padding_end = args[:padding_end] if args.key?(:padding_end) + @width = args[:width] if args.key?(:width) + end + end + + # The styling that applies to a section. + class SectionStyle + include Google::Apis::Core::Hashable + + # The section's columns properties. + # If empty, the section contains one column with the default properties in + # the Docs editor. + # Corresponds to the JSON property `columnProperties` + # @return [Array] + attr_accessor :column_properties + + # The style of column separators. + # This style can be set even when there is one column in the section. + # Corresponds to the JSON property `columnSeparatorStyle` + # @return [String] + attr_accessor :column_separator_style + + # The content direction of this section. If unset, the value defaults to + # LEFT_TO_RIGHT. + # Corresponds to the JSON property `contentDirection` + # @return [String] + attr_accessor :content_direction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style) + @content_direction = args[:content_direction] if args.key?(:content_direction) + end + end + + # The shading of a paragraph. + class Shading + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :background_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) + end + end + + # A mask that indicates which of the fields on the base Shading have been + # changed in this + # suggested change. For any field set to true, there is a new suggested value. + class ShadingSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to the Shading. + # Corresponds to the JSON property `backgroundColorSuggested` + # @return [Boolean] + attr_accessor :background_color_suggested + alias_method :background_color_suggested?, :background_color_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) + end + end + + # A reference to a linked chart embedded from Google Sheets. + class SheetsChartReference + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet that is + # embedded. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The ID of the Google Sheets spreadsheet that contains the source chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # A mask that indicates which of the fields on the base SheetsChartReference + # have been changed in this + # suggestion. For any field set to true, there is a new suggested value. + class SheetsChartReferenceSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to chart_id. + # Corresponds to the JSON property `chartIdSuggested` + # @return [Boolean] + attr_accessor :chart_id_suggested + alias_method :chart_id_suggested?, :chart_id_suggested + + # Indicates if there was a suggested change to spreadsheet_id. + # Corresponds to the JSON property `spreadsheetIdSuggested` + # @return [Boolean] + attr_accessor :spreadsheet_id_suggested + alias_method :spreadsheet_id_suggested?, :spreadsheet_id_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id_suggested = args[:chart_id_suggested] if args.key?(:chart_id_suggested) + @spreadsheet_id_suggested = args[:spreadsheet_id_suggested] if args.key?(:spreadsheet_id_suggested) + end + end + + # A width and height. + class Size + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `height` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :height + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @width = args[:width] if args.key?(:width) + end + end + + # A mask that indicates which of the fields on the base Size have been changed + # in this suggestion. + # For any field set to true, the Size has + # a new suggested value. + class SizeSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to height. + # Corresponds to the JSON property `heightSuggested` + # @return [Boolean] + attr_accessor :height_suggested + alias_method :height_suggested?, :height_suggested + + # Indicates if there was a suggested change to width. + # Corresponds to the JSON property `widthSuggested` + # @return [Boolean] + attr_accessor :width_suggested + alias_method :width_suggested?, :width_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height_suggested = args[:height_suggested] if args.key?(:height_suggested) + @width_suggested = args[:width_suggested] if args.key?(:width_suggested) + end + end + + # A StructuralElement describes content that provides structure to the + # document. + class StructuralElement + include Google::Apis::Core::Hashable + + # The zero-based end index of this structural element, exclusive, in Unicode + # code units of the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # A StructuralElement representing a + # paragraph. A paragraph is a range of content that is terminated with a + # newline character. + # Corresponds to the JSON property `paragraph` + # @return [Google::Apis::DocsV1::Paragraph] + attr_accessor :paragraph + + # A StructuralElement representing a + # section break. A section is a range of content which has the same + # SectionStyle. A section break represents + # the start of a new section, and the section style applies to the section + # after the section break. + # The document body always begins with a section break. + # Corresponds to the JSON property `sectionBreak` + # @return [Google::Apis::DocsV1::SectionBreak] + attr_accessor :section_break + + # The zero-based start index of this structural element, in Unicode code + # units of the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # A StructuralElement representing a + # table. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DocsV1::Table] + attr_accessor :table + + # A StructuralElement representing + # a table of contents. + # Corresponds to the JSON property `tableOfContents` + # @return [Google::Apis::DocsV1::TableOfContents] + attr_accessor :table_of_contents + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_index = args[:end_index] if args.key?(:end_index) + @paragraph = args[:paragraph] if args.key?(:paragraph) + @section_break = args[:section_break] if args.key?(:section_break) + @start_index = args[:start_index] if args.key?(:start_index) + @table = args[:table] if args.key?(:table) + @table_of_contents = args[:table_of_contents] if args.key?(:table_of_contents) + end + end + + # A criteria that matches a specific string of text in the document. + class SubstringMatchCriteria + include Google::Apis::Core::Hashable + + # Indicates whether the search should respect case: + # - `True`: the search is case sensitive. + # - `False`: the search is case insensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + # The text to search for in the document. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @match_case = args[:match_case] if args.key?(:match_case) + @text = args[:text] if args.key?(:text) + end + end + + # A suggested change to a Bullet. + class SuggestedBullet + include Google::Apis::Core::Hashable + + # Describes the bullet of a paragraph. + # Corresponds to the JSON property `bullet` + # @return [Google::Apis::DocsV1::Bullet] + attr_accessor :bullet + + # A mask that indicates which of the fields on the base + # Bullet have been changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `bulletSuggestionState` + # @return [Google::Apis::DocsV1::BulletSuggestionState] + attr_accessor :bullet_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet = args[:bullet] if args.key?(:bullet) + @bullet_suggestion_state = args[:bullet_suggestion_state] if args.key?(:bullet_suggestion_state) + end + end + + # A suggested change to the DocumentStyle. + class SuggestedDocumentStyle + include Google::Apis::Core::Hashable + + # The style of the document. + # Corresponds to the JSON property `documentStyle` + # @return [Google::Apis::DocsV1::DocumentStyle] + attr_accessor :document_style + + # A mask that indicates which of the fields on the base DocumentStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `documentStyleSuggestionState` + # @return [Google::Apis::DocsV1::DocumentStyleSuggestionState] + attr_accessor :document_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @document_style = args[:document_style] if args.key?(:document_style) + @document_style_suggestion_state = args[:document_style_suggestion_state] if args.key?(:document_style_suggestion_state) + end + end + + # A suggested change to InlineObjectProperties. + class SuggestedInlineObjectProperties + include Google::Apis::Core::Hashable + + # Properties of an InlineObject. + # Corresponds to the JSON property `inlineObjectProperties` + # @return [Google::Apis::DocsV1::InlineObjectProperties] + attr_accessor :inline_object_properties + + # A mask that indicates which of the fields on the base + # InlineObjectProperties have + # been changed in this suggestion. For any field set to true, there is a new + # suggested value. + # Corresponds to the JSON property `inlineObjectPropertiesSuggestionState` + # @return [Google::Apis::DocsV1::InlineObjectPropertiesSuggestionState] + attr_accessor :inline_object_properties_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inline_object_properties = args[:inline_object_properties] if args.key?(:inline_object_properties) + @inline_object_properties_suggestion_state = args[:inline_object_properties_suggestion_state] if args.key?(:inline_object_properties_suggestion_state) + end + end + + # A suggested change to ListProperties. + class SuggestedListProperties + include Google::Apis::Core::Hashable + + # The properties of a list which describe the look + # and feel of bullets belonging to paragraphs associated with a list. + # Corresponds to the JSON property `listProperties` + # @return [Google::Apis::DocsV1::ListProperties] + attr_accessor :list_properties + + # A mask that indicates which of the fields on the base ListProperties have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `listPropertiesSuggestionState` + # @return [Google::Apis::DocsV1::ListPropertiesSuggestionState] + attr_accessor :list_properties_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_properties = args[:list_properties] if args.key?(:list_properties) + @list_properties_suggestion_state = args[:list_properties_suggestion_state] if args.key?(:list_properties_suggestion_state) + end + end + + # A suggested change to the NamedStyles. + class SuggestedNamedStyles + include Google::Apis::Core::Hashable + + # The named styles. Paragraphs in the document can inherit their + # TextStyle and + # ParagraphStyle from these named styles. + # Corresponds to the JSON property `namedStyles` + # @return [Google::Apis::DocsV1::NamedStyles] + attr_accessor :named_styles + + # The suggestion state of a NamedStyles + # message. + # Corresponds to the JSON property `namedStylesSuggestionState` + # @return [Google::Apis::DocsV1::NamedStylesSuggestionState] + attr_accessor :named_styles_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_styles = args[:named_styles] if args.key?(:named_styles) + @named_styles_suggestion_state = args[:named_styles_suggestion_state] if args.key?(:named_styles_suggestion_state) + end + end + + # A suggested change to a + # ParagraphStyle. + class SuggestedParagraphStyle + include Google::Apis::Core::Hashable + + # Styles that apply to a whole paragraph. + # Inherited paragraph styles are represented as unset fields in this message. + # A paragraph style's parent depends on where the paragraph style is defined: + # * The ParagraphStyle on a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The ParagraphStyle on a named style + # inherits from the normal text named style. + # * The ParagraphStyle of the normal text named style inherits + # from the default paragraph style in the Docs editor. + # * The ParagraphStyle on a Paragraph + # element that is contained in a table may inherit its paragraph style from + # the table style. + # If the paragraph style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `paragraphStyle` + # @return [Google::Apis::DocsV1::ParagraphStyle] + attr_accessor :paragraph_style + + # A mask that indicates which of the fields on the base ParagraphStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `paragraphStyleSuggestionState` + # @return [Google::Apis::DocsV1::ParagraphStyleSuggestionState] + attr_accessor :paragraph_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @paragraph_style = args[:paragraph_style] if args.key?(:paragraph_style) + @paragraph_style_suggestion_state = args[:paragraph_style_suggestion_state] if args.key?(:paragraph_style_suggestion_state) + end + end + + # A suggested change to PositionedObjectProperties. + class SuggestedPositionedObjectProperties + include Google::Apis::Core::Hashable + + # Properties of a PositionedObject. + # Corresponds to the JSON property `positionedObjectProperties` + # @return [Google::Apis::DocsV1::PositionedObjectProperties] + attr_accessor :positioned_object_properties + + # A mask that indicates which of the fields on the base + # PositionedObjectProperties + # have been changed in this suggestion. For any field set to true, there is a + # new suggested value. + # Corresponds to the JSON property `positionedObjectPropertiesSuggestionState` + # @return [Google::Apis::DocsV1::PositionedObjectPropertiesSuggestionState] + attr_accessor :positioned_object_properties_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @positioned_object_properties = args[:positioned_object_properties] if args.key?(:positioned_object_properties) + @positioned_object_properties_suggestion_state = args[:positioned_object_properties_suggestion_state] if args.key?(:positioned_object_properties_suggestion_state) + end + end + + # A suggested change to a TableCellStyle. + class SuggestedTableCellStyle + include Google::Apis::Core::Hashable + + # The style of a TableCell. + # Inherited table cell styles are represented as unset fields in this message. + # A table cell style can inherit from the table's style. + # Corresponds to the JSON property `tableCellStyle` + # @return [Google::Apis::DocsV1::TableCellStyle] + attr_accessor :table_cell_style + + # A mask that indicates which of the fields on the base TableCellStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `tableCellStyleSuggestionState` + # @return [Google::Apis::DocsV1::TableCellStyleSuggestionState] + attr_accessor :table_cell_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_style = args[:table_cell_style] if args.key?(:table_cell_style) + @table_cell_style_suggestion_state = args[:table_cell_style_suggestion_state] if args.key?(:table_cell_style_suggestion_state) + end + end + + # A suggested change to a + # TableRowStyle. + class SuggestedTableRowStyle + include Google::Apis::Core::Hashable + + # Styles that apply to a table row. + # Corresponds to the JSON property `tableRowStyle` + # @return [Google::Apis::DocsV1::TableRowStyle] + attr_accessor :table_row_style + + # A mask that indicates which of the fields on the base TableRowStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `tableRowStyleSuggestionState` + # @return [Google::Apis::DocsV1::TableRowStyleSuggestionState] + attr_accessor :table_row_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_row_style = args[:table_row_style] if args.key?(:table_row_style) + @table_row_style_suggestion_state = args[:table_row_style_suggestion_state] if args.key?(:table_row_style_suggestion_state) + end + end + + # A suggested change to a TextStyle. + class SuggestedTextStyle + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + # A mask that indicates which of the fields on the base TextStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + # Corresponds to the JSON property `textStyleSuggestionState` + # @return [Google::Apis::DocsV1::TextStyleSuggestionState] + attr_accessor :text_style_suggestion_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text_style = args[:text_style] if args.key?(:text_style) + @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) + end + end + + # A tab stop within a paragraph. + class TabStop + include Google::Apis::Core::Hashable + + # The alignment of this tab stop. If unset, the value defaults to START. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `offset` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alignment = args[:alignment] if args.key?(:alignment) + @offset = args[:offset] if args.key?(:offset) + end + end + + # A StructuralElement representing a + # table. + class Table + include Google::Apis::Core::Hashable + + # Number of columns in the table. + # It is possible for a table to be non-rectangular, so some rows may have a + # different number of cells. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A Table may have + # multiple insertion IDs if it is a nested suggested change. If empty, then + # this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The contents and style of each row. + # Corresponds to the JSON property `tableRows` + # @return [Array] + attr_accessor :table_rows + + # Styles that apply to a table. + # Corresponds to the JSON property `tableStyle` + # @return [Google::Apis::DocsV1::TableStyle] + attr_accessor :table_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @rows = args[:rows] if args.key?(:rows) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @table_rows = args[:table_rows] if args.key?(:table_rows) + @table_style = args[:table_style] if args.key?(:table_style) + end + end + + # The contents and style of a cell in a Table. + class TableCell + include Google::Apis::Core::Hashable + + # The content of the cell. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + # The zero-based end index of this cell, exclusive, in Unicode code units of + # the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The zero-based start index of this cell, in Unicode code units of the + # UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A TableCell + # may have multiple insertion IDs if it is a nested suggested change. If + # empty, then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested changes to the table cell style, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedTableCellStyleChanges` + # @return [Hash] + attr_accessor :suggested_table_cell_style_changes + + # The style of a TableCell. + # Inherited table cell styles are represented as unset fields in this message. + # A table cell style can inherit from the table's style. + # Corresponds to the JSON property `tableCellStyle` + # @return [Google::Apis::DocsV1::TableCellStyle] + attr_accessor :table_cell_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @end_index = args[:end_index] if args.key?(:end_index) + @start_index = args[:start_index] if args.key?(:start_index) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_table_cell_style_changes = args[:suggested_table_cell_style_changes] if args.key?(:suggested_table_cell_style_changes) + @table_cell_style = args[:table_cell_style] if args.key?(:table_cell_style) + end + end + + # A border around a table cell. + class TableCellBorder + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `color` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :color + + # The dash style of the border. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @width = args[:width] if args.key?(:width) + end + end + + # Location of a single cell within a table. + class TableCellLocation + include Google::Apis::Core::Hashable + + # The zero-based column index. For example, the second column in the table + # has a column index of 1. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + # The zero-based row index. For example, the second row in the table has a + # row index of 1. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + # A particular location in the document. + # Corresponds to the JSON property `tableStartLocation` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :table_start_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_index = args[:column_index] if args.key?(:column_index) + @row_index = args[:row_index] if args.key?(:row_index) + @table_start_location = args[:table_start_location] if args.key?(:table_start_location) + end + end + + # The style of a TableCell. + # Inherited table cell styles are represented as unset fields in this message. + # A table cell style can inherit from the table's style. + class TableCellStyle + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :background_color + + # A border around a table cell. + # Corresponds to the JSON property `borderBottom` + # @return [Google::Apis::DocsV1::TableCellBorder] + attr_accessor :border_bottom + + # A border around a table cell. + # Corresponds to the JSON property `borderLeft` + # @return [Google::Apis::DocsV1::TableCellBorder] + attr_accessor :border_left + + # A border around a table cell. + # Corresponds to the JSON property `borderRight` + # @return [Google::Apis::DocsV1::TableCellBorder] + attr_accessor :border_right + + # A border around a table cell. + # Corresponds to the JSON property `borderTop` + # @return [Google::Apis::DocsV1::TableCellBorder] + attr_accessor :border_top + + # The column span of the cell. This property is read-only. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + # The alignment of the content in the table cell. The default alignment + # matches the alignment for newly created table cells in the Docs editor. + # Corresponds to the JSON property `contentAlignment` + # @return [String] + attr_accessor :content_alignment + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `paddingBottom` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding_bottom + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `paddingLeft` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding_left + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `paddingRight` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding_right + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `paddingTop` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :padding_top + + # The row span of the cell. This property is read-only. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) + @border_bottom = args[:border_bottom] if args.key?(:border_bottom) + @border_left = args[:border_left] if args.key?(:border_left) + @border_right = args[:border_right] if args.key?(:border_right) + @border_top = args[:border_top] if args.key?(:border_top) + @column_span = args[:column_span] if args.key?(:column_span) + @content_alignment = args[:content_alignment] if args.key?(:content_alignment) + @padding_bottom = args[:padding_bottom] if args.key?(:padding_bottom) + @padding_left = args[:padding_left] if args.key?(:padding_left) + @padding_right = args[:padding_right] if args.key?(:padding_right) + @padding_top = args[:padding_top] if args.key?(:padding_top) + @row_span = args[:row_span] if args.key?(:row_span) + end + end + + # A mask that indicates which of the fields on the base TableCellStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class TableCellStyleSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to background_color. + # Corresponds to the JSON property `backgroundColorSuggested` + # @return [Boolean] + attr_accessor :background_color_suggested + alias_method :background_color_suggested?, :background_color_suggested + + # Indicates if there was a suggested change to border_bottom. + # Corresponds to the JSON property `borderBottomSuggested` + # @return [Boolean] + attr_accessor :border_bottom_suggested + alias_method :border_bottom_suggested?, :border_bottom_suggested + + # Indicates if there was a suggested change to border_left. + # Corresponds to the JSON property `borderLeftSuggested` + # @return [Boolean] + attr_accessor :border_left_suggested + alias_method :border_left_suggested?, :border_left_suggested + + # Indicates if there was a suggested change to border_right. + # Corresponds to the JSON property `borderRightSuggested` + # @return [Boolean] + attr_accessor :border_right_suggested + alias_method :border_right_suggested?, :border_right_suggested + + # Indicates if there was a suggested change to border_top. + # Corresponds to the JSON property `borderTopSuggested` + # @return [Boolean] + attr_accessor :border_top_suggested + alias_method :border_top_suggested?, :border_top_suggested + + # Indicates if there was a suggested change to column_span. + # Corresponds to the JSON property `columnSpanSuggested` + # @return [Boolean] + attr_accessor :column_span_suggested + alias_method :column_span_suggested?, :column_span_suggested + + # Indicates if there was a suggested change to content_alignment. + # Corresponds to the JSON property `contentAlignmentSuggested` + # @return [Boolean] + attr_accessor :content_alignment_suggested + alias_method :content_alignment_suggested?, :content_alignment_suggested + + # Indicates if there was a suggested change to padding_bottom. + # Corresponds to the JSON property `paddingBottomSuggested` + # @return [Boolean] + attr_accessor :padding_bottom_suggested + alias_method :padding_bottom_suggested?, :padding_bottom_suggested + + # Indicates if there was a suggested change to padding_left. + # Corresponds to the JSON property `paddingLeftSuggested` + # @return [Boolean] + attr_accessor :padding_left_suggested + alias_method :padding_left_suggested?, :padding_left_suggested + + # Indicates if there was a suggested change to padding_right. + # Corresponds to the JSON property `paddingRightSuggested` + # @return [Boolean] + attr_accessor :padding_right_suggested + alias_method :padding_right_suggested?, :padding_right_suggested + + # Indicates if there was a suggested change to padding_top. + # Corresponds to the JSON property `paddingTopSuggested` + # @return [Boolean] + attr_accessor :padding_top_suggested + alias_method :padding_top_suggested?, :padding_top_suggested + + # Indicates if there was a suggested change to row_span. + # Corresponds to the JSON property `rowSpanSuggested` + # @return [Boolean] + attr_accessor :row_span_suggested + alias_method :row_span_suggested?, :row_span_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) + @border_bottom_suggested = args[:border_bottom_suggested] if args.key?(:border_bottom_suggested) + @border_left_suggested = args[:border_left_suggested] if args.key?(:border_left_suggested) + @border_right_suggested = args[:border_right_suggested] if args.key?(:border_right_suggested) + @border_top_suggested = args[:border_top_suggested] if args.key?(:border_top_suggested) + @column_span_suggested = args[:column_span_suggested] if args.key?(:column_span_suggested) + @content_alignment_suggested = args[:content_alignment_suggested] if args.key?(:content_alignment_suggested) + @padding_bottom_suggested = args[:padding_bottom_suggested] if args.key?(:padding_bottom_suggested) + @padding_left_suggested = args[:padding_left_suggested] if args.key?(:padding_left_suggested) + @padding_right_suggested = args[:padding_right_suggested] if args.key?(:padding_right_suggested) + @padding_top_suggested = args[:padding_top_suggested] if args.key?(:padding_top_suggested) + @row_span_suggested = args[:row_span_suggested] if args.key?(:row_span_suggested) + end + end + + # The properties of a column in a table. + class TableColumnProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :width + + # The width type of the column. + # Corresponds to the JSON property `widthType` + # @return [String] + attr_accessor :width_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @width_type = args[:width_type] if args.key?(:width_type) + end + end + + # A StructuralElement representing + # a table of contents. + class TableOfContents + include Google::Apis::Core::Hashable + + # The content of the table of contents. + # Corresponds to the JSON property `content` + # @return [Array] + attr_accessor :content + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs + # if it + # is a nested suggested change. If empty, then this is not a suggested + # insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + end + end + + # The contents and style of a row in a Table. + class TableRow + include Google::Apis::Core::Hashable + + # The zero-based end index of this row, exclusive, in Unicode code units of + # the UTF-16 encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The zero-based start index of this row, in Unicode code units of the UTF-16 + # encoding. + # Unicode code units of the UTF-16 encoding means that surrogate pairs + # consume two indices. For example, the "GRINNING FACE" emoji would be + # represented as "\uD83D\uDE00" and would consume two indices. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A TableRow + # may have multiple insertion IDs if it is a nested suggested change. If + # empty, then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested style changes to this row, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedTableRowStyleChanges` + # @return [Hash] + attr_accessor :suggested_table_row_style_changes + + # The contents and style of each cell in this row. + # It is possible for a table to be non-rectangular, so some rows may have a + # different number of cells than other rows in the same table. + # Corresponds to the JSON property `tableCells` + # @return [Array] + attr_accessor :table_cells + + # Styles that apply to a table row. + # Corresponds to the JSON property `tableRowStyle` + # @return [Google::Apis::DocsV1::TableRowStyle] + attr_accessor :table_row_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_index = args[:end_index] if args.key?(:end_index) + @start_index = args[:start_index] if args.key?(:start_index) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_table_row_style_changes = args[:suggested_table_row_style_changes] if args.key?(:suggested_table_row_style_changes) + @table_cells = args[:table_cells] if args.key?(:table_cells) + @table_row_style = args[:table_row_style] if args.key?(:table_row_style) + end + end + + # Styles that apply to a table row. + class TableRowStyle + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `minRowHeight` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :min_row_height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_row_height = args[:min_row_height] if args.key?(:min_row_height) + end + end + + # A mask that indicates which of the fields on the base TableRowStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class TableRowStyleSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to min_row_height. + # Corresponds to the JSON property `minRowHeightSuggested` + # @return [Boolean] + attr_accessor :min_row_height_suggested + alias_method :min_row_height_suggested?, :min_row_height_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_row_height_suggested = args[:min_row_height_suggested] if args.key?(:min_row_height_suggested) + end + end + + # Styles that apply to a table. + class TableStyle + include Google::Apis::Core::Hashable + + # The properties of each column. + # Note that in Docs, tables contain rows and rows contain cells, similar to + # HTML. So the properties for a row can be found on the row's + # table_row_style. + # Corresponds to the JSON property `tableColumnProperties` + # @return [Array] + attr_accessor :table_column_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_column_properties = args[:table_column_properties] if args.key?(:table_column_properties) + end + end + + # A ParagraphElement that represents a + # run of text that all has the same styling. + class TextRun + include Google::Apis::Core::Hashable + + # The text of this run. + # Any non-text elements in the run are replaced with the Unicode character + # U+E907. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The suggested deletion IDs. If empty, then there are no suggested deletions + # of this content. + # Corresponds to the JSON property `suggestedDeletionIds` + # @return [Array] + attr_accessor :suggested_deletion_ids + + # The suggested insertion IDs. A TextRun may + # have multiple insertion IDs if it is a nested suggested change. If empty, + # then this is not a suggested insertion. + # Corresponds to the JSON property `suggestedInsertionIds` + # @return [Array] + attr_accessor :suggested_insertion_ids + + # The suggested text style changes to this run, keyed by suggestion ID. + # Corresponds to the JSON property `suggestedTextStyleChanges` + # @return [Hash] + attr_accessor :suggested_text_style_changes + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) + @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) + @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + class TextStyle + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :background_color + + # 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. + # Corresponds to the JSON property `baselineOffset` + # @return [String] + attr_accessor :baseline_offset + + # Whether or not the text is rendered as bold. + # Corresponds to the JSON property `bold` + # @return [Boolean] + attr_accessor :bold + alias_method :bold?, :bold + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `fontSize` + # @return [Google::Apis::DocsV1::Dimension] + attr_accessor :font_size + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `foregroundColor` + # @return [Google::Apis::DocsV1::OptionalColor] + attr_accessor :foreground_color + + # Whether or not the text is italicized. + # Corresponds to the JSON property `italic` + # @return [Boolean] + attr_accessor :italic + alias_method :italic?, :italic + + # A reference to another portion of a document or an external URL resource. + # Corresponds to the JSON property `link` + # @return [Google::Apis::DocsV1::Link] + attr_accessor :link + + # Whether or not the text is in small capital letters. + # Corresponds to the JSON property `smallCaps` + # @return [Boolean] + attr_accessor :small_caps + alias_method :small_caps?, :small_caps + + # Whether or not the text is struck through. + # Corresponds to the JSON property `strikethrough` + # @return [Boolean] + attr_accessor :strikethrough + alias_method :strikethrough?, :strikethrough + + # Whether or not the text is underlined. + # Corresponds to the JSON property `underline` + # @return [Boolean] + attr_accessor :underline + alias_method :underline?, :underline + + # Represents a font family and weight of text. + # Corresponds to the JSON property `weightedFontFamily` + # @return [Google::Apis::DocsV1::WeightedFontFamily] + attr_accessor :weighted_font_family + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) + @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset) + @bold = args[:bold] if args.key?(:bold) + @font_size = args[:font_size] if args.key?(:font_size) + @foreground_color = args[:foreground_color] if args.key?(:foreground_color) + @italic = args[:italic] if args.key?(:italic) + @link = args[:link] if args.key?(:link) + @small_caps = args[:small_caps] if args.key?(:small_caps) + @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @underline = args[:underline] if args.key?(:underline) + @weighted_font_family = args[:weighted_font_family] if args.key?(:weighted_font_family) + end + end + + # A mask that indicates which of the fields on the base TextStyle have been + # changed in this suggestion. + # For any field set to true, there is a new suggested value. + class TextStyleSuggestionState + include Google::Apis::Core::Hashable + + # Indicates if there was a suggested change to background_color. + # Corresponds to the JSON property `backgroundColorSuggested` + # @return [Boolean] + attr_accessor :background_color_suggested + alias_method :background_color_suggested?, :background_color_suggested + + # Indicates if there was a suggested change to baseline_offset. + # Corresponds to the JSON property `baselineOffsetSuggested` + # @return [Boolean] + attr_accessor :baseline_offset_suggested + alias_method :baseline_offset_suggested?, :baseline_offset_suggested + + # Indicates if there was a suggested change to bold. + # Corresponds to the JSON property `boldSuggested` + # @return [Boolean] + attr_accessor :bold_suggested + alias_method :bold_suggested?, :bold_suggested + + # Indicates if there was a suggested change to font_size. + # Corresponds to the JSON property `fontSizeSuggested` + # @return [Boolean] + attr_accessor :font_size_suggested + alias_method :font_size_suggested?, :font_size_suggested + + # Indicates if there was a suggested change to foreground_color. + # Corresponds to the JSON property `foregroundColorSuggested` + # @return [Boolean] + attr_accessor :foreground_color_suggested + alias_method :foreground_color_suggested?, :foreground_color_suggested + + # Indicates if there was a suggested change to italic. + # Corresponds to the JSON property `italicSuggested` + # @return [Boolean] + attr_accessor :italic_suggested + alias_method :italic_suggested?, :italic_suggested + + # Indicates if there was a suggested change to link. + # Corresponds to the JSON property `linkSuggested` + # @return [Boolean] + attr_accessor :link_suggested + alias_method :link_suggested?, :link_suggested + + # Indicates if there was a suggested change to small_caps. + # Corresponds to the JSON property `smallCapsSuggested` + # @return [Boolean] + attr_accessor :small_caps_suggested + alias_method :small_caps_suggested?, :small_caps_suggested + + # Indicates if there was a suggested change to strikethrough. + # Corresponds to the JSON property `strikethroughSuggested` + # @return [Boolean] + attr_accessor :strikethrough_suggested + alias_method :strikethrough_suggested?, :strikethrough_suggested + + # Indicates if there was a suggested change to underline. + # Corresponds to the JSON property `underlineSuggested` + # @return [Boolean] + attr_accessor :underline_suggested + alias_method :underline_suggested?, :underline_suggested + + # Indicates if there was a suggested change to weighted_font_family. + # Corresponds to the JSON property `weightedFontFamilySuggested` + # @return [Boolean] + attr_accessor :weighted_font_family_suggested + alias_method :weighted_font_family_suggested?, :weighted_font_family_suggested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) + @baseline_offset_suggested = args[:baseline_offset_suggested] if args.key?(:baseline_offset_suggested) + @bold_suggested = args[:bold_suggested] if args.key?(:bold_suggested) + @font_size_suggested = args[:font_size_suggested] if args.key?(:font_size_suggested) + @foreground_color_suggested = args[:foreground_color_suggested] if args.key?(:foreground_color_suggested) + @italic_suggested = args[:italic_suggested] if args.key?(:italic_suggested) + @link_suggested = args[:link_suggested] if args.key?(:link_suggested) + @small_caps_suggested = args[:small_caps_suggested] if args.key?(:small_caps_suggested) + @strikethrough_suggested = args[:strikethrough_suggested] if args.key?(:strikethrough_suggested) + @underline_suggested = args[:underline_suggested] if args.key?(:underline_suggested) + @weighted_font_family_suggested = args[:weighted_font_family_suggested] if args.key?(:weighted_font_family_suggested) + end + end + + # Update the styling of all paragraphs that overlap with the given range. + class UpdateParagraphStyleRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `paragraph_style` is implied + # and should not be specified. + # For example, to update the paragraph style's alignment property, 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. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Styles that apply to a whole paragraph. + # Inherited paragraph styles are represented as unset fields in this message. + # A paragraph style's parent depends on where the paragraph style is defined: + # * The ParagraphStyle on a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The ParagraphStyle on a named style + # inherits from the normal text named style. + # * The ParagraphStyle of the normal text named style inherits + # from the default paragraph style in the Docs editor. + # * The ParagraphStyle on a Paragraph + # element that is contained in a table may inherit its paragraph style from + # the table style. + # If the paragraph style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `paragraphStyle` + # @return [Google::Apis::DocsV1::ParagraphStyle] + attr_accessor :paragraph_style + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @paragraph_style = args[:paragraph_style] if args.key?(:paragraph_style) + @range = args[:range] if args.key?(:range) + end + end + + # Update the styling of text. + class UpdateTextStyleRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `text_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. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Specifies a contiguous range of text. + # Corresponds to the JSON property `range` + # @return [Google::Apis::DocsV1::Range] + attr_accessor :range + + # Represents the styling that can be applied to text. + # Inherited text styles are represented as unset fields in this message. A + # text style's parent depends on where the text style is defined: + # * The TextStyle of text in a Paragraph + # inherits from the paragraph's corresponding named style type. + # * The TextStyle on a named style + # inherits from the normal text named style. + # * The TextStyle of the normal text named style inherits + # from the default text style in the Docs editor. + # * The TextStyle on a Paragraph element + # that is contained in a table may inherit its text style from the table + # style. + # If the text style does not inherit from a parent, unsetting fields will + # revert the style to a value matching the defaults in the Docs editor. + # Corresponds to the JSON property `textStyle` + # @return [Google::Apis::DocsV1::TextStyle] + attr_accessor :text_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @range = args[:range] if args.key?(:range) + @text_style = args[:text_style] if args.key?(:text_style) + end + end + + # Represents a font family and weight of text. + class WeightedFontFamily + include Google::Apis::Core::Hashable + + # The font family of the text. + # The font family can be any font from the Font menu in Docs or from + # [Google Fonts] (https://fonts.google.com/). If the font name is + # unrecognized, the text is rendered in `Arial`. + # Corresponds to the JSON property `fontFamily` + # @return [String] + attr_accessor :font_family + + # The weight of the font. 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. + # The default value is `400` ("normal"). + # The font weight makes up just one component of the rendered font weight. + # The rendered weight is determined by a combination of the `weight` and the + # text style's resolved `bold` value, after accounting for inheritance: + # * If the text is bold and the weight is less than `400`, the rendered + # weight is 400. + # * If the text is bold and the weight is greater than or equal to `400` but + # is less than `700`, the rendered weight is `700`. + # * If the weight is greater than or equal to `700`, the rendered weight is + # equal to the weight. + # * If the text is not bold, the rendered weight is equal to the weight. + # Corresponds to the JSON property `weight` + # @return [Fixnum] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @font_family = args[:font_family] if args.key?(:font_family) + @weight = args[:weight] if args.key?(:weight) + end + end + + # Provides control over how write requests are executed. + class WriteControl + include Google::Apis::Core::Hashable + + # The ID of the revision of the document that the write request will be + # applied to. If this is not the latest revision of the document, the + # request will not be processed and will return a 400 bad request error. + # When a required revision ID is returned in a response, it indicates the + # revision ID of the document after the request was applied. + # Corresponds to the JSON property `requiredRevisionId` + # @return [String] + attr_accessor :required_revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) + end + end + end + end +end diff --git a/generated/google/apis/docs_v1/representations.rb b/generated/google/apis/docs_v1/representations.rb new file mode 100644 index 000000000..361bfd589 --- /dev/null +++ b/generated/google/apis/docs_v1/representations.rb @@ -0,0 +1,2209 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DocsV1 + + class AutoText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Background + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackgroundSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateDocumentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateDocumentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Body + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Bullet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BulletSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColumnBreak + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateNamedRangeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropPropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteContentRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeletePositionedObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableColumnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableRowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Document + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DocumentStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DocumentStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedDrawingProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedDrawingPropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObjectBorder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObjectBorderSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObjectSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EndOfSegmentLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Equation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Footer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Footnote + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FootnoteReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Header + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HorizontalRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImagePropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InlineObject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InlineObjectElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InlineObjectProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InlineObjectPropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertInlineImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertInlineImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertInlineSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableRowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LinkedContentReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LinkedContentReferenceSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class List + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedRanges + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedStyles + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedStylesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NestingLevel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NestingLevelSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ObjectReferences + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptionalColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageBreak + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Paragraph + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphBorder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PositionedObject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PositionedObjectPositioning + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PositionedObjectPositioningSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PositionedObjectProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PositionedObjectPropertiesSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Request + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Response + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RgbColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SectionBreak + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SectionColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SectionStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shading + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShadingSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChartReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChartReferenceSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Size + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SizeSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StructuralElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubstringMatchCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedBullet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedDocumentStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedInlineObjectProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedListProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedNamedStyles + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedParagraphStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedPositionedObjectProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedTableCellStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedTableRowStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SuggestedTextStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TabStop + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Table + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCell + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellBorder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableOfContents + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRowStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRowStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextStyleSuggestionState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateParagraphStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTextStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WeightedFontFamily + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteControl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + property :type, as: 'type' + end + end + + class Background + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + end + end + + class BackgroundSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color_suggested, as: 'backgroundColorSuggested' + end + end + + class BatchUpdateDocumentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :requests, as: 'requests', class: Google::Apis::DocsV1::Request, decorator: Google::Apis::DocsV1::Request::Representation + + property :write_control, as: 'writeControl', class: Google::Apis::DocsV1::WriteControl, decorator: Google::Apis::DocsV1::WriteControl::Representation + + end + end + + class BatchUpdateDocumentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :document_id, as: 'documentId' + collection :replies, as: 'replies', class: Google::Apis::DocsV1::Response, decorator: Google::Apis::DocsV1::Response::Representation + + property :write_control, as: 'writeControl', class: Google::Apis::DocsV1::WriteControl, decorator: Google::Apis::DocsV1::WriteControl::Representation + + end + end + + class Body + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + end + end + + class Bullet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_id, as: 'listId' + property :nesting_level, as: 'nestingLevel' + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class BulletSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_id_suggested, as: 'listIdSuggested' + property :nesting_level_suggested, as: 'nestingLevelSuggested' + property :text_style_suggestion_state, as: 'textStyleSuggestionState', class: Google::Apis::DocsV1::TextStyleSuggestionState, decorator: Google::Apis::DocsV1::TextStyleSuggestionState::Representation + + end + end + + class Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rgb_color, as: 'rgbColor', class: Google::Apis::DocsV1::RgbColor, decorator: Google::Apis::DocsV1::RgbColor::Representation + + end + end + + class ColumnBreak + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class CreateNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class CreateNamedRangeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range_id, as: 'namedRangeId' + end + end + + class CreateParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_preset, as: 'bulletPreset' + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class CropProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle, as: 'angle' + property :offset_bottom, as: 'offsetBottom' + property :offset_left, as: 'offsetLeft' + property :offset_right, as: 'offsetRight' + property :offset_top, as: 'offsetTop' + end + end + + class CropPropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle_suggested, as: 'angleSuggested' + property :offset_bottom_suggested, as: 'offsetBottomSuggested' + property :offset_left_suggested, as: 'offsetLeftSuggested' + property :offset_right_suggested, as: 'offsetRightSuggested' + property :offset_top_suggested, as: 'offsetTopSuggested' + end + end + + class DeleteContentRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class DeleteNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :named_range_id, as: 'namedRangeId' + end + end + + class DeleteParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class DeletePositionedObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class DeleteTableColumnRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_cell_location, as: 'tableCellLocation', class: Google::Apis::DocsV1::TableCellLocation, decorator: Google::Apis::DocsV1::TableCellLocation::Representation + + end + end + + class DeleteTableRowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_cell_location, as: 'tableCellLocation', class: Google::Apis::DocsV1::TableCellLocation, decorator: Google::Apis::DocsV1::TableCellLocation::Representation + + end + end + + class Dimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :magnitude, as: 'magnitude' + property :unit, as: 'unit' + end + end + + class Document + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :body, as: 'body', class: Google::Apis::DocsV1::Body, decorator: Google::Apis::DocsV1::Body::Representation + + property :document_id, as: 'documentId' + property :document_style, as: 'documentStyle', class: Google::Apis::DocsV1::DocumentStyle, decorator: Google::Apis::DocsV1::DocumentStyle::Representation + + hash :footers, as: 'footers', class: Google::Apis::DocsV1::Footer, decorator: Google::Apis::DocsV1::Footer::Representation + + hash :footnotes, as: 'footnotes', class: Google::Apis::DocsV1::Footnote, decorator: Google::Apis::DocsV1::Footnote::Representation + + hash :headers, as: 'headers', class: Google::Apis::DocsV1::Header, decorator: Google::Apis::DocsV1::Header::Representation + + hash :inline_objects, as: 'inlineObjects', class: Google::Apis::DocsV1::InlineObject, decorator: Google::Apis::DocsV1::InlineObject::Representation + + hash :lists, as: 'lists', class: Google::Apis::DocsV1::List, decorator: Google::Apis::DocsV1::List::Representation + + hash :named_ranges, as: 'namedRanges', class: Google::Apis::DocsV1::NamedRanges, decorator: Google::Apis::DocsV1::NamedRanges::Representation + + property :named_styles, as: 'namedStyles', class: Google::Apis::DocsV1::NamedStyles, decorator: Google::Apis::DocsV1::NamedStyles::Representation + + hash :positioned_objects, as: 'positionedObjects', class: Google::Apis::DocsV1::PositionedObject, decorator: Google::Apis::DocsV1::PositionedObject::Representation + + property :revision_id, as: 'revisionId' + hash :suggested_document_style_changes, as: 'suggestedDocumentStyleChanges', class: Google::Apis::DocsV1::SuggestedDocumentStyle, decorator: Google::Apis::DocsV1::SuggestedDocumentStyle::Representation + + hash :suggested_named_styles_changes, as: 'suggestedNamedStylesChanges', class: Google::Apis::DocsV1::SuggestedNamedStyles, decorator: Google::Apis::DocsV1::SuggestedNamedStyles::Representation + + property :suggestions_view_mode, as: 'suggestionsViewMode' + property :title, as: 'title' + end + end + + class DocumentStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background, as: 'background', class: Google::Apis::DocsV1::Background, decorator: Google::Apis::DocsV1::Background::Representation + + property :default_footer_id, as: 'defaultFooterId' + property :default_header_id, as: 'defaultHeaderId' + property :even_page_footer_id, as: 'evenPageFooterId' + property :even_page_header_id, as: 'evenPageHeaderId' + property :first_page_footer_id, as: 'firstPageFooterId' + property :first_page_header_id, as: 'firstPageHeaderId' + property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_left, as: 'marginLeft', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_right, as: 'marginRight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_top, as: 'marginTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :page_number_start, as: 'pageNumberStart' + property :page_size, as: 'pageSize', class: Google::Apis::DocsV1::Size, decorator: Google::Apis::DocsV1::Size::Representation + + property :use_even_page_header_footer, as: 'useEvenPageHeaderFooter' + property :use_first_page_header_footer, as: 'useFirstPageHeaderFooter' + end + end + + class DocumentStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_suggestion_state, as: 'backgroundSuggestionState', class: Google::Apis::DocsV1::BackgroundSuggestionState, decorator: Google::Apis::DocsV1::BackgroundSuggestionState::Representation + + property :default_footer_id_suggested, as: 'defaultFooterIdSuggested' + property :default_header_id_suggested, as: 'defaultHeaderIdSuggested' + property :even_page_footer_id_suggested, as: 'evenPageFooterIdSuggested' + property :even_page_header_id_suggested, as: 'evenPageHeaderIdSuggested' + property :first_page_footer_id_suggested, as: 'firstPageFooterIdSuggested' + property :first_page_header_id_suggested, as: 'firstPageHeaderIdSuggested' + property :margin_bottom_suggested, as: 'marginBottomSuggested' + property :margin_left_suggested, as: 'marginLeftSuggested' + property :margin_right_suggested, as: 'marginRightSuggested' + property :margin_top_suggested, as: 'marginTopSuggested' + property :page_number_start_suggested, as: 'pageNumberStartSuggested' + property :page_size_suggestion_state, as: 'pageSizeSuggestionState', class: Google::Apis::DocsV1::SizeSuggestionState, decorator: Google::Apis::DocsV1::SizeSuggestionState::Representation + + property :use_even_page_header_footer_suggested, as: 'useEvenPageHeaderFooterSuggested' + property :use_first_page_header_footer_suggested, as: 'useFirstPageHeaderFooterSuggested' + end + end + + class EmbeddedDrawingProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class EmbeddedDrawingPropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class EmbeddedObject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :embedded_drawing_properties, as: 'embeddedDrawingProperties', class: Google::Apis::DocsV1::EmbeddedDrawingProperties, decorator: Google::Apis::DocsV1::EmbeddedDrawingProperties::Representation + + property :embedded_object_border, as: 'embeddedObjectBorder', class: Google::Apis::DocsV1::EmbeddedObjectBorder, decorator: Google::Apis::DocsV1::EmbeddedObjectBorder::Representation + + property :image_properties, as: 'imageProperties', class: Google::Apis::DocsV1::ImageProperties, decorator: Google::Apis::DocsV1::ImageProperties::Representation + + property :linked_content_reference, as: 'linkedContentReference', class: Google::Apis::DocsV1::LinkedContentReference, decorator: Google::Apis::DocsV1::LinkedContentReference::Representation + + property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_left, as: 'marginLeft', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_right, as: 'marginRight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :margin_top, as: 'marginTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :size, as: 'size', class: Google::Apis::DocsV1::Size, decorator: Google::Apis::DocsV1::Size::Representation + + property :title, as: 'title' + end + end + + class EmbeddedObjectBorder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :dash_style, as: 'dashStyle' + property :property_state, as: 'propertyState' + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class EmbeddedObjectBorderSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color_suggested, as: 'colorSuggested' + property :dash_style_suggested, as: 'dashStyleSuggested' + property :property_state_suggested, as: 'propertyStateSuggested' + property :width_suggested, as: 'widthSuggested' + end + end + + class EmbeddedObjectSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description_suggested, as: 'descriptionSuggested' + property :embedded_drawing_properties_suggestion_state, as: 'embeddedDrawingPropertiesSuggestionState', class: Google::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState, decorator: Google::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState::Representation + + property :embedded_object_border_suggestion_state, as: 'embeddedObjectBorderSuggestionState', class: Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState, decorator: Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState::Representation + + property :image_properties_suggestion_state, as: 'imagePropertiesSuggestionState', class: Google::Apis::DocsV1::ImagePropertiesSuggestionState, decorator: Google::Apis::DocsV1::ImagePropertiesSuggestionState::Representation + + property :linked_content_reference_suggestion_state, as: 'linkedContentReferenceSuggestionState', class: Google::Apis::DocsV1::LinkedContentReferenceSuggestionState, decorator: Google::Apis::DocsV1::LinkedContentReferenceSuggestionState::Representation + + property :margin_bottom_suggested, as: 'marginBottomSuggested' + property :margin_left_suggested, as: 'marginLeftSuggested' + property :margin_right_suggested, as: 'marginRightSuggested' + property :margin_top_suggested, as: 'marginTopSuggested' + property :size_suggestion_state, as: 'sizeSuggestionState', class: Google::Apis::DocsV1::SizeSuggestionState, decorator: Google::Apis::DocsV1::SizeSuggestionState::Representation + + property :title_suggested, as: 'titleSuggested' + end + end + + class EndOfSegmentLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment_id, as: 'segmentId' + end + end + + class Equation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + end + end + + class Footer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + property :footer_id, as: 'footerId' + end + end + + class Footnote + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + property :footnote_id, as: 'footnoteId' + end + end + + class FootnoteReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :footnote_id, as: 'footnoteId' + property :footnote_number, as: 'footnoteNumber' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class Header + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + property :header_id, as: 'headerId' + end + end + + class HorizontalRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle, as: 'angle' + property :brightness, as: 'brightness' + property :content_uri, as: 'contentUri' + property :contrast, as: 'contrast' + property :crop_properties, as: 'cropProperties', class: Google::Apis::DocsV1::CropProperties, decorator: Google::Apis::DocsV1::CropProperties::Representation + + property :source_uri, as: 'sourceUri' + property :transparency, as: 'transparency' + end + end + + class ImagePropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle_suggested, as: 'angleSuggested' + property :brightness_suggested, as: 'brightnessSuggested' + property :content_uri_suggested, as: 'contentUriSuggested' + property :contrast_suggested, as: 'contrastSuggested' + property :crop_properties_suggestion_state, as: 'cropPropertiesSuggestionState', class: Google::Apis::DocsV1::CropPropertiesSuggestionState, decorator: Google::Apis::DocsV1::CropPropertiesSuggestionState::Representation + + property :source_uri_suggested, as: 'sourceUriSuggested' + property :transparency_suggested, as: 'transparencySuggested' + end + end + + class InlineObject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inline_object_properties, as: 'inlineObjectProperties', class: Google::Apis::DocsV1::InlineObjectProperties, decorator: Google::Apis::DocsV1::InlineObjectProperties::Representation + + property :object_id_prop, as: 'objectId' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + hash :suggested_inline_object_properties_changes, as: 'suggestedInlineObjectPropertiesChanges', class: Google::Apis::DocsV1::SuggestedInlineObjectProperties, decorator: Google::Apis::DocsV1::SuggestedInlineObjectProperties::Representation + + property :suggested_insertion_id, as: 'suggestedInsertionId' + end + end + + class InlineObjectElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inline_object_id, as: 'inlineObjectId' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class InlineObjectProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :embedded_object, as: 'embeddedObject', class: Google::Apis::DocsV1::EmbeddedObject, decorator: Google::Apis::DocsV1::EmbeddedObject::Representation + + end + end + + class InlineObjectPropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :embedded_object_suggestion_state, as: 'embeddedObjectSuggestionState', class: Google::Apis::DocsV1::EmbeddedObjectSuggestionState, decorator: Google::Apis::DocsV1::EmbeddedObjectSuggestionState::Representation + + end + end + + class InsertInlineImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation + + property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + property :object_size, as: 'objectSize', class: Google::Apis::DocsV1::Size, decorator: Google::Apis::DocsV1::Size::Representation + + property :uri, as: 'uri' + end + end + + class InsertInlineImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class InsertInlineSheetsChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class InsertTableRowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insert_below, as: 'insertBelow' + property :table_cell_location, as: 'tableCellLocation', class: Google::Apis::DocsV1::TableCellLocation, decorator: Google::Apis::DocsV1::TableCellLocation::Representation + + end + end + + class InsertTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation + + property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + property :text, as: 'text' + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bookmark_id, as: 'bookmarkId' + property :heading_id, as: 'headingId' + property :url, as: 'url' + end + end + + class LinkedContentReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheets_chart_reference, as: 'sheetsChartReference', class: Google::Apis::DocsV1::SheetsChartReference, decorator: Google::Apis::DocsV1::SheetsChartReference::Representation + + end + end + + class LinkedContentReferenceSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheets_chart_reference_suggestion_state, as: 'sheetsChartReferenceSuggestionState', class: Google::Apis::DocsV1::SheetsChartReferenceSuggestionState, decorator: Google::Apis::DocsV1::SheetsChartReferenceSuggestionState::Representation + + end + end + + class List + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_properties, as: 'listProperties', class: Google::Apis::DocsV1::ListProperties, decorator: Google::Apis::DocsV1::ListProperties::Representation + + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + property :suggested_insertion_id, as: 'suggestedInsertionId' + hash :suggested_list_properties_changes, as: 'suggestedListPropertiesChanges', class: Google::Apis::DocsV1::SuggestedListProperties, decorator: Google::Apis::DocsV1::SuggestedListProperties::Representation + + end + end + + class ListProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :nesting_levels, as: 'nestingLevels', class: Google::Apis::DocsV1::NestingLevel, decorator: Google::Apis::DocsV1::NestingLevel::Representation + + end + end + + class ListPropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :nesting_levels_suggestion_states, as: 'nestingLevelsSuggestionStates', class: Google::Apis::DocsV1::NestingLevelSuggestionState, decorator: Google::Apis::DocsV1::NestingLevelSuggestionState::Representation + + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + property :segment_id, as: 'segmentId' + end + end + + class NamedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :named_range_id, as: 'namedRangeId' + collection :ranges, as: 'ranges', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class NamedRanges + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :named_ranges, as: 'namedRanges', class: Google::Apis::DocsV1::NamedRange, decorator: Google::Apis::DocsV1::NamedRange::Representation + + end + end + + class NamedStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_style_type, as: 'namedStyleType' + property :paragraph_style, as: 'paragraphStyle', class: Google::Apis::DocsV1::ParagraphStyle, decorator: Google::Apis::DocsV1::ParagraphStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class NamedStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_style_type, as: 'namedStyleType' + property :paragraph_style_suggestion_state, as: 'paragraphStyleSuggestionState', class: Google::Apis::DocsV1::ParagraphStyleSuggestionState, decorator: Google::Apis::DocsV1::ParagraphStyleSuggestionState::Representation + + property :text_style_suggestion_state, as: 'textStyleSuggestionState', class: Google::Apis::DocsV1::TextStyleSuggestionState, decorator: Google::Apis::DocsV1::TextStyleSuggestionState::Representation + + end + end + + class NamedStyles + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :styles, as: 'styles', class: Google::Apis::DocsV1::NamedStyle, decorator: Google::Apis::DocsV1::NamedStyle::Representation + + end + end + + class NamedStylesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :styles_suggestion_states, as: 'stylesSuggestionStates', class: Google::Apis::DocsV1::NamedStyleSuggestionState, decorator: Google::Apis::DocsV1::NamedStyleSuggestionState::Representation + + end + end + + class NestingLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_alignment, as: 'bulletAlignment' + property :glyph_format, as: 'glyphFormat' + property :glyph_symbol, as: 'glyphSymbol' + property :glyph_type, as: 'glyphType' + property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :indent_start, as: 'indentStart', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :start_number, as: 'startNumber' + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class NestingLevelSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_alignment_suggested, as: 'bulletAlignmentSuggested' + property :glyph_format_suggested, as: 'glyphFormatSuggested' + property :glyph_symbol_suggested, as: 'glyphSymbolSuggested' + property :glyph_type_suggested, as: 'glyphTypeSuggested' + property :indent_first_line_suggested, as: 'indentFirstLineSuggested' + property :indent_start_suggested, as: 'indentStartSuggested' + property :start_number_suggested, as: 'startNumberSuggested' + property :text_style_suggestion_state, as: 'textStyleSuggestionState', class: Google::Apis::DocsV1::TextStyleSuggestionState, decorator: Google::Apis::DocsV1::TextStyleSuggestionState::Representation + + end + end + + class ObjectReferences + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :object_ids, as: 'objectIds' + end + end + + class OptionalColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::DocsV1::Color, decorator: Google::Apis::DocsV1::Color::Representation + + end + end + + class PageBreak + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class Paragraph + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet, as: 'bullet', class: Google::Apis::DocsV1::Bullet, decorator: Google::Apis::DocsV1::Bullet::Representation + + collection :elements, as: 'elements', class: Google::Apis::DocsV1::ParagraphElement, decorator: Google::Apis::DocsV1::ParagraphElement::Representation + + property :paragraph_style, as: 'paragraphStyle', class: Google::Apis::DocsV1::ParagraphStyle, decorator: Google::Apis::DocsV1::ParagraphStyle::Representation + + collection :positioned_object_ids, as: 'positionedObjectIds' + hash :suggested_bullet_changes, as: 'suggestedBulletChanges', class: Google::Apis::DocsV1::SuggestedBullet, decorator: Google::Apis::DocsV1::SuggestedBullet::Representation + + hash :suggested_paragraph_style_changes, as: 'suggestedParagraphStyleChanges', class: Google::Apis::DocsV1::SuggestedParagraphStyle, decorator: Google::Apis::DocsV1::SuggestedParagraphStyle::Representation + + hash :suggested_positioned_object_ids, as: 'suggestedPositionedObjectIds', class: Google::Apis::DocsV1::ObjectReferences, decorator: Google::Apis::DocsV1::ObjectReferences::Representation + + end + end + + class ParagraphBorder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :dash_style, as: 'dashStyle' + property :padding, as: 'padding', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class ParagraphElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_text, as: 'autoText', class: Google::Apis::DocsV1::AutoText, decorator: Google::Apis::DocsV1::AutoText::Representation + + property :column_break, as: 'columnBreak', class: Google::Apis::DocsV1::ColumnBreak, decorator: Google::Apis::DocsV1::ColumnBreak::Representation + + property :end_index, as: 'endIndex' + property :equation, as: 'equation', class: Google::Apis::DocsV1::Equation, decorator: Google::Apis::DocsV1::Equation::Representation + + property :footnote_reference, as: 'footnoteReference', class: Google::Apis::DocsV1::FootnoteReference, decorator: Google::Apis::DocsV1::FootnoteReference::Representation + + property :horizontal_rule, as: 'horizontalRule', class: Google::Apis::DocsV1::HorizontalRule, decorator: Google::Apis::DocsV1::HorizontalRule::Representation + + property :inline_object_element, as: 'inlineObjectElement', class: Google::Apis::DocsV1::InlineObjectElement, decorator: Google::Apis::DocsV1::InlineObjectElement::Representation + + property :page_break, as: 'pageBreak', class: Google::Apis::DocsV1::PageBreak, decorator: Google::Apis::DocsV1::PageBreak::Representation + + property :start_index, as: 'startIndex' + property :text_run, as: 'textRun', class: Google::Apis::DocsV1::TextRun, decorator: Google::Apis::DocsV1::TextRun::Representation + + end + end + + class ParagraphStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment, as: 'alignment' + property :avoid_widow_and_orphan, as: 'avoidWidowAndOrphan' + property :border_between, as: 'borderBetween', class: Google::Apis::DocsV1::ParagraphBorder, decorator: Google::Apis::DocsV1::ParagraphBorder::Representation + + property :border_bottom, as: 'borderBottom', class: Google::Apis::DocsV1::ParagraphBorder, decorator: Google::Apis::DocsV1::ParagraphBorder::Representation + + property :border_left, as: 'borderLeft', class: Google::Apis::DocsV1::ParagraphBorder, decorator: Google::Apis::DocsV1::ParagraphBorder::Representation + + property :border_right, as: 'borderRight', class: Google::Apis::DocsV1::ParagraphBorder, decorator: Google::Apis::DocsV1::ParagraphBorder::Representation + + property :border_top, as: 'borderTop', class: Google::Apis::DocsV1::ParagraphBorder, decorator: Google::Apis::DocsV1::ParagraphBorder::Representation + + property :direction, as: 'direction' + property :heading_id, as: 'headingId' + property :indent_end, as: 'indentEnd', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :indent_start, as: 'indentStart', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :keep_lines_together, as: 'keepLinesTogether' + property :keep_with_next, as: 'keepWithNext' + property :line_spacing, as: 'lineSpacing' + property :named_style_type, as: 'namedStyleType' + property :shading, as: 'shading', class: Google::Apis::DocsV1::Shading, decorator: Google::Apis::DocsV1::Shading::Representation + + property :space_above, as: 'spaceAbove', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :space_below, as: 'spaceBelow', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :spacing_mode, as: 'spacingMode' + collection :tab_stops, as: 'tabStops', class: Google::Apis::DocsV1::TabStop, decorator: Google::Apis::DocsV1::TabStop::Representation + + end + end + + class ParagraphStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment_suggested, as: 'alignmentSuggested' + property :avoid_widow_and_orphan_suggested, as: 'avoidWidowAndOrphanSuggested' + property :border_between_suggested, as: 'borderBetweenSuggested' + property :border_bottom_suggested, as: 'borderBottomSuggested' + property :border_left_suggested, as: 'borderLeftSuggested' + property :border_right_suggested, as: 'borderRightSuggested' + property :border_top_suggested, as: 'borderTopSuggested' + property :direction_suggested, as: 'directionSuggested' + property :heading_id_suggested, as: 'headingIdSuggested' + property :indent_end_suggested, as: 'indentEndSuggested' + property :indent_first_line_suggested, as: 'indentFirstLineSuggested' + property :indent_start_suggested, as: 'indentStartSuggested' + property :keep_lines_together_suggested, as: 'keepLinesTogetherSuggested' + property :keep_with_next_suggested, as: 'keepWithNextSuggested' + property :line_spacing_suggested, as: 'lineSpacingSuggested' + property :named_style_type_suggested, as: 'namedStyleTypeSuggested' + property :shading_suggestion_state, as: 'shadingSuggestionState', class: Google::Apis::DocsV1::ShadingSuggestionState, decorator: Google::Apis::DocsV1::ShadingSuggestionState::Representation + + property :space_above_suggested, as: 'spaceAboveSuggested' + property :space_below_suggested, as: 'spaceBelowSuggested' + property :spacing_mode_suggested, as: 'spacingModeSuggested' + end + end + + class PositionedObject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :positioned_object_properties, as: 'positionedObjectProperties', class: Google::Apis::DocsV1::PositionedObjectProperties, decorator: Google::Apis::DocsV1::PositionedObjectProperties::Representation + + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + property :suggested_insertion_id, as: 'suggestedInsertionId' + hash :suggested_positioned_object_properties_changes, as: 'suggestedPositionedObjectPropertiesChanges', class: Google::Apis::DocsV1::SuggestedPositionedObjectProperties, decorator: Google::Apis::DocsV1::SuggestedPositionedObjectProperties::Representation + + end + end + + class PositionedObjectPositioning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout, as: 'layout' + property :left_offset, as: 'leftOffset', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :top_offset, as: 'topOffset', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class PositionedObjectPositioningSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_suggested, as: 'layoutSuggested' + property :left_offset_suggested, as: 'leftOffsetSuggested' + property :top_offset_suggested, as: 'topOffsetSuggested' + end + end + + class PositionedObjectProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :embedded_object, as: 'embeddedObject', class: Google::Apis::DocsV1::EmbeddedObject, decorator: Google::Apis::DocsV1::EmbeddedObject::Representation + + property :positioning, as: 'positioning', class: Google::Apis::DocsV1::PositionedObjectPositioning, decorator: Google::Apis::DocsV1::PositionedObjectPositioning::Representation + + end + end + + class PositionedObjectPropertiesSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :embedded_object_suggestion_state, as: 'embeddedObjectSuggestionState', class: Google::Apis::DocsV1::EmbeddedObjectSuggestionState, decorator: Google::Apis::DocsV1::EmbeddedObjectSuggestionState::Representation + + property :positioning_suggestion_state, as: 'positioningSuggestionState', class: Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState, decorator: Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState::Representation + + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :segment_id, as: 'segmentId' + property :start_index, as: 'startIndex' + end + end + + class ReplaceAllTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contains_text, as: 'containsText', class: Google::Apis::DocsV1::SubstringMatchCriteria, decorator: Google::Apis::DocsV1::SubstringMatchCriteria::Representation + + property :replace_text, as: 'replaceText' + end + end + + class ReplaceAllTextResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeRequest, decorator: Google::Apis::DocsV1::CreateNamedRangeRequest::Representation + + property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::DocsV1::CreateParagraphBulletsRequest, decorator: Google::Apis::DocsV1::CreateParagraphBulletsRequest::Representation + + property :delete_content_range, as: 'deleteContentRange', class: Google::Apis::DocsV1::DeleteContentRangeRequest, decorator: Google::Apis::DocsV1::DeleteContentRangeRequest::Representation + + property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::DocsV1::DeleteNamedRangeRequest, decorator: Google::Apis::DocsV1::DeleteNamedRangeRequest::Representation + + property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::DocsV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::DocsV1::DeleteParagraphBulletsRequest::Representation + + property :delete_positioned_object, as: 'deletePositionedObject', class: Google::Apis::DocsV1::DeletePositionedObjectRequest, decorator: Google::Apis::DocsV1::DeletePositionedObjectRequest::Representation + + property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::DocsV1::DeleteTableColumnRequest, decorator: Google::Apis::DocsV1::DeleteTableColumnRequest::Representation + + property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation + + property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageRequest, decorator: Google::Apis::DocsV1::InsertInlineImageRequest::Representation + + property :insert_table_row, as: 'insertTableRow', class: Google::Apis::DocsV1::InsertTableRowRequest, decorator: Google::Apis::DocsV1::InsertTableRowRequest::Representation + + property :insert_text, as: 'insertText', class: Google::Apis::DocsV1::InsertTextRequest, decorator: Google::Apis::DocsV1::InsertTextRequest::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextRequest, decorator: Google::Apis::DocsV1::ReplaceAllTextRequest::Representation + + property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation + + property :update_text_style, as: 'updateTextStyle', class: Google::Apis::DocsV1::UpdateTextStyleRequest, decorator: Google::Apis::DocsV1::UpdateTextStyleRequest::Representation + + end + end + + class Response + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeResponse, decorator: Google::Apis::DocsV1::CreateNamedRangeResponse::Representation + + property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageResponse, decorator: Google::Apis::DocsV1::InsertInlineImageResponse::Representation + + property :insert_inline_sheets_chart, as: 'insertInlineSheetsChart', class: Google::Apis::DocsV1::InsertInlineSheetsChartResponse, decorator: Google::Apis::DocsV1::InsertInlineSheetsChartResponse::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextResponse, decorator: Google::Apis::DocsV1::ReplaceAllTextResponse::Representation + + end + end + + class RgbColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class SectionBreak + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :section_style, as: 'sectionStyle', class: Google::Apis::DocsV1::SectionStyle, decorator: Google::Apis::DocsV1::SectionStyle::Representation + + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + end + end + + class SectionColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :padding_end, as: 'paddingEnd', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class SectionStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :column_properties, as: 'columnProperties', class: Google::Apis::DocsV1::SectionColumnProperties, decorator: Google::Apis::DocsV1::SectionColumnProperties::Representation + + property :column_separator_style, as: 'columnSeparatorStyle' + property :content_direction, as: 'contentDirection' + end + end + + class Shading + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + end + end + + class ShadingSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color_suggested, as: 'backgroundColorSuggested' + end + end + + class SheetsChartReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class SheetsChartReferenceSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id_suggested, as: 'chartIdSuggested' + property :spreadsheet_id_suggested, as: 'spreadsheetIdSuggested' + end + end + + class Size + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class SizeSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height_suggested, as: 'heightSuggested' + property :width_suggested, as: 'widthSuggested' + end + end + + class StructuralElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :paragraph, as: 'paragraph', class: Google::Apis::DocsV1::Paragraph, decorator: Google::Apis::DocsV1::Paragraph::Representation + + property :section_break, as: 'sectionBreak', class: Google::Apis::DocsV1::SectionBreak, decorator: Google::Apis::DocsV1::SectionBreak::Representation + + property :start_index, as: 'startIndex' + property :table, as: 'table', class: Google::Apis::DocsV1::Table, decorator: Google::Apis::DocsV1::Table::Representation + + property :table_of_contents, as: 'tableOfContents', class: Google::Apis::DocsV1::TableOfContents, decorator: Google::Apis::DocsV1::TableOfContents::Representation + + end + end + + class SubstringMatchCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match_case, as: 'matchCase' + property :text, as: 'text' + end + end + + class SuggestedBullet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet, as: 'bullet', class: Google::Apis::DocsV1::Bullet, decorator: Google::Apis::DocsV1::Bullet::Representation + + property :bullet_suggestion_state, as: 'bulletSuggestionState', class: Google::Apis::DocsV1::BulletSuggestionState, decorator: Google::Apis::DocsV1::BulletSuggestionState::Representation + + end + end + + class SuggestedDocumentStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :document_style, as: 'documentStyle', class: Google::Apis::DocsV1::DocumentStyle, decorator: Google::Apis::DocsV1::DocumentStyle::Representation + + property :document_style_suggestion_state, as: 'documentStyleSuggestionState', class: Google::Apis::DocsV1::DocumentStyleSuggestionState, decorator: Google::Apis::DocsV1::DocumentStyleSuggestionState::Representation + + end + end + + class SuggestedInlineObjectProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inline_object_properties, as: 'inlineObjectProperties', class: Google::Apis::DocsV1::InlineObjectProperties, decorator: Google::Apis::DocsV1::InlineObjectProperties::Representation + + property :inline_object_properties_suggestion_state, as: 'inlineObjectPropertiesSuggestionState', class: Google::Apis::DocsV1::InlineObjectPropertiesSuggestionState, decorator: Google::Apis::DocsV1::InlineObjectPropertiesSuggestionState::Representation + + end + end + + class SuggestedListProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_properties, as: 'listProperties', class: Google::Apis::DocsV1::ListProperties, decorator: Google::Apis::DocsV1::ListProperties::Representation + + property :list_properties_suggestion_state, as: 'listPropertiesSuggestionState', class: Google::Apis::DocsV1::ListPropertiesSuggestionState, decorator: Google::Apis::DocsV1::ListPropertiesSuggestionState::Representation + + end + end + + class SuggestedNamedStyles + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_styles, as: 'namedStyles', class: Google::Apis::DocsV1::NamedStyles, decorator: Google::Apis::DocsV1::NamedStyles::Representation + + property :named_styles_suggestion_state, as: 'namedStylesSuggestionState', class: Google::Apis::DocsV1::NamedStylesSuggestionState, decorator: Google::Apis::DocsV1::NamedStylesSuggestionState::Representation + + end + end + + class SuggestedParagraphStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :paragraph_style, as: 'paragraphStyle', class: Google::Apis::DocsV1::ParagraphStyle, decorator: Google::Apis::DocsV1::ParagraphStyle::Representation + + property :paragraph_style_suggestion_state, as: 'paragraphStyleSuggestionState', class: Google::Apis::DocsV1::ParagraphStyleSuggestionState, decorator: Google::Apis::DocsV1::ParagraphStyleSuggestionState::Representation + + end + end + + class SuggestedPositionedObjectProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :positioned_object_properties, as: 'positionedObjectProperties', class: Google::Apis::DocsV1::PositionedObjectProperties, decorator: Google::Apis::DocsV1::PositionedObjectProperties::Representation + + property :positioned_object_properties_suggestion_state, as: 'positionedObjectPropertiesSuggestionState', class: Google::Apis::DocsV1::PositionedObjectPropertiesSuggestionState, decorator: Google::Apis::DocsV1::PositionedObjectPropertiesSuggestionState::Representation + + end + end + + class SuggestedTableCellStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_cell_style, as: 'tableCellStyle', class: Google::Apis::DocsV1::TableCellStyle, decorator: Google::Apis::DocsV1::TableCellStyle::Representation + + property :table_cell_style_suggestion_state, as: 'tableCellStyleSuggestionState', class: Google::Apis::DocsV1::TableCellStyleSuggestionState, decorator: Google::Apis::DocsV1::TableCellStyleSuggestionState::Representation + + end + end + + class SuggestedTableRowStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_row_style, as: 'tableRowStyle', class: Google::Apis::DocsV1::TableRowStyle, decorator: Google::Apis::DocsV1::TableRowStyle::Representation + + property :table_row_style_suggestion_state, as: 'tableRowStyleSuggestionState', class: Google::Apis::DocsV1::TableRowStyleSuggestionState, decorator: Google::Apis::DocsV1::TableRowStyleSuggestionState::Representation + + end + end + + class SuggestedTextStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + property :text_style_suggestion_state, as: 'textStyleSuggestionState', class: Google::Apis::DocsV1::TextStyleSuggestionState, decorator: Google::Apis::DocsV1::TextStyleSuggestionState::Representation + + end + end + + class TabStop + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment, as: 'alignment' + property :offset, as: 'offset', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :columns, as: 'columns' + property :rows, as: 'rows' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + collection :table_rows, as: 'tableRows', class: Google::Apis::DocsV1::TableRow, decorator: Google::Apis::DocsV1::TableRow::Representation + + property :table_style, as: 'tableStyle', class: Google::Apis::DocsV1::TableStyle, decorator: Google::Apis::DocsV1::TableStyle::Representation + + end + end + + class TableCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + property :end_index, as: 'endIndex' + property :start_index, as: 'startIndex' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_table_cell_style_changes, as: 'suggestedTableCellStyleChanges', class: Google::Apis::DocsV1::SuggestedTableCellStyle, decorator: Google::Apis::DocsV1::SuggestedTableCellStyle::Representation + + property :table_cell_style, as: 'tableCellStyle', class: Google::Apis::DocsV1::TableCellStyle, decorator: Google::Apis::DocsV1::TableCellStyle::Representation + + end + end + + class TableCellBorder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :dash_style, as: 'dashStyle' + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class TableCellLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_index, as: 'columnIndex' + property :row_index, as: 'rowIndex' + property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + end + end + + class TableCellStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :border_bottom, as: 'borderBottom', class: Google::Apis::DocsV1::TableCellBorder, decorator: Google::Apis::DocsV1::TableCellBorder::Representation + + property :border_left, as: 'borderLeft', class: Google::Apis::DocsV1::TableCellBorder, decorator: Google::Apis::DocsV1::TableCellBorder::Representation + + property :border_right, as: 'borderRight', class: Google::Apis::DocsV1::TableCellBorder, decorator: Google::Apis::DocsV1::TableCellBorder::Representation + + property :border_top, as: 'borderTop', class: Google::Apis::DocsV1::TableCellBorder, decorator: Google::Apis::DocsV1::TableCellBorder::Representation + + property :column_span, as: 'columnSpan' + property :content_alignment, as: 'contentAlignment' + property :padding_bottom, as: 'paddingBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :padding_left, as: 'paddingLeft', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :padding_right, as: 'paddingRight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :padding_top, as: 'paddingTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :row_span, as: 'rowSpan' + end + end + + class TableCellStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color_suggested, as: 'backgroundColorSuggested' + property :border_bottom_suggested, as: 'borderBottomSuggested' + property :border_left_suggested, as: 'borderLeftSuggested' + property :border_right_suggested, as: 'borderRightSuggested' + property :border_top_suggested, as: 'borderTopSuggested' + property :column_span_suggested, as: 'columnSpanSuggested' + property :content_alignment_suggested, as: 'contentAlignmentSuggested' + property :padding_bottom_suggested, as: 'paddingBottomSuggested' + property :padding_left_suggested, as: 'paddingLeftSuggested' + property :padding_right_suggested, as: 'paddingRightSuggested' + property :padding_top_suggested, as: 'paddingTopSuggested' + property :row_span_suggested, as: 'rowSpanSuggested' + end + end + + class TableColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :width_type, as: 'widthType' + end + end + + class TableOfContents + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content, as: 'content', class: Google::Apis::DocsV1::StructuralElement, decorator: Google::Apis::DocsV1::StructuralElement::Representation + + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + end + end + + class TableRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :start_index, as: 'startIndex' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_table_row_style_changes, as: 'suggestedTableRowStyleChanges', class: Google::Apis::DocsV1::SuggestedTableRowStyle, decorator: Google::Apis::DocsV1::SuggestedTableRowStyle::Representation + + collection :table_cells, as: 'tableCells', class: Google::Apis::DocsV1::TableCell, decorator: Google::Apis::DocsV1::TableCell::Representation + + property :table_row_style, as: 'tableRowStyle', class: Google::Apis::DocsV1::TableRowStyle, decorator: Google::Apis::DocsV1::TableRowStyle::Representation + + end + end + + class TableRowStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_row_height, as: 'minRowHeight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + end + end + + class TableRowStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_row_height_suggested, as: 'minRowHeightSuggested' + end + end + + class TableStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :table_column_properties, as: 'tableColumnProperties', class: Google::Apis::DocsV1::TableColumnProperties, decorator: Google::Apis::DocsV1::TableColumnProperties::Representation + + end + end + + class TextRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + collection :suggested_deletion_ids, as: 'suggestedDeletionIds' + collection :suggested_insertion_ids, as: 'suggestedInsertionIds' + hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class TextStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :baseline_offset, as: 'baselineOffset' + property :bold, as: 'bold' + property :font_size, as: 'fontSize', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation + + property :foreground_color, as: 'foregroundColor', class: Google::Apis::DocsV1::OptionalColor, decorator: Google::Apis::DocsV1::OptionalColor::Representation + + property :italic, as: 'italic' + property :link, as: 'link', class: Google::Apis::DocsV1::Link, decorator: Google::Apis::DocsV1::Link::Representation + + property :small_caps, as: 'smallCaps' + property :strikethrough, as: 'strikethrough' + property :underline, as: 'underline' + property :weighted_font_family, as: 'weightedFontFamily', class: Google::Apis::DocsV1::WeightedFontFamily, decorator: Google::Apis::DocsV1::WeightedFontFamily::Representation + + end + end + + class TextStyleSuggestionState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color_suggested, as: 'backgroundColorSuggested' + property :baseline_offset_suggested, as: 'baselineOffsetSuggested' + property :bold_suggested, as: 'boldSuggested' + property :font_size_suggested, as: 'fontSizeSuggested' + property :foreground_color_suggested, as: 'foregroundColorSuggested' + property :italic_suggested, as: 'italicSuggested' + property :link_suggested, as: 'linkSuggested' + property :small_caps_suggested, as: 'smallCapsSuggested' + property :strikethrough_suggested, as: 'strikethroughSuggested' + property :underline_suggested, as: 'underlineSuggested' + property :weighted_font_family_suggested, as: 'weightedFontFamilySuggested' + end + end + + class UpdateParagraphStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :paragraph_style, as: 'paragraphStyle', class: Google::Apis::DocsV1::ParagraphStyle, decorator: Google::Apis::DocsV1::ParagraphStyle::Representation + + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + end + end + + class UpdateTextStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation + + property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation + + end + end + + class WeightedFontFamily + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :font_family, as: 'fontFamily' + property :weight, as: 'weight' + end + end + + class WriteControl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :required_revision_id, as: 'requiredRevisionId' + end + end + end + end +end diff --git a/generated/google/apis/docs_v1/service.rb b/generated/google/apis/docs_v1/service.rb new file mode 100644 index 000000000..f06ac5299 --- /dev/null +++ b/generated/google/apis/docs_v1/service.rb @@ -0,0 +1,176 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DocsV1 + # Google Docs API + # + # An API for creating and editing Google Docs documents. + # + # @example + # require 'google/apis/docs_v1' + # + # Docs = Google::Apis::DocsV1 # Alias the module + # service = Docs::DocsService.new + # + # @see https://developers.google.com/docs/ + class DocsService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + + def initialize + super('https://docs.googleapis.com/', '') + @batch_path = 'batch' + end + + # Applies one or more updates to the document. + # 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 document, the document + # might not exactly reflect your changes: your changes may + # be altered with respect to collaborator changes. If there are no + # collaborators, the document should reflect your changes. In any case, + # the updates in your request are guaranteed to be applied together + # atomically. + # @param [String] document_id + # The ID of the document to update. + # @param [Google::Apis::DocsV1::BatchUpdateDocumentRequest] batch_update_document_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DocsV1::BatchUpdateDocumentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DocsV1::BatchUpdateDocumentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_update_document(document_id, batch_update_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/documents/{documentId}:batchUpdate', options) + command.request_representation = Google::Apis::DocsV1::BatchUpdateDocumentRequest::Representation + command.request_object = batch_update_document_request_object + command.response_representation = Google::Apis::DocsV1::BatchUpdateDocumentResponse::Representation + command.response_class = Google::Apis::DocsV1::BatchUpdateDocumentResponse + command.params['documentId'] = document_id unless document_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a blank document using the title given in the request. Other fields + # in the request, including any provided content, are ignored. + # Returns the created document. + # @param [Google::Apis::DocsV1::Document] document_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DocsV1::Document] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DocsV1::Document] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_document(document_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/documents', options) + command.request_representation = Google::Apis::DocsV1::Document::Representation + command.request_object = document_object + command.response_representation = Google::Apis::DocsV1::Document::Representation + command.response_class = Google::Apis::DocsV1::Document + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest version of the specified document. + # @param [String] document_id + # The ID of the document to retrieve. + # @param [String] suggestions_view_mode + # The suggestions view mode to apply to the document. This allows viewing the + # document with all suggestions inline, accepted or rejected. If one is not + # specified, DEFAULT_FOR_CURRENT_ACCESS is + # used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DocsV1::Document] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DocsV1::Document] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_document(document_id, suggestions_view_mode: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/documents/{documentId}', options) + command.response_representation = Google::Apis::DocsV1::Document::Representation + command.response_class = Google::Apis::DocsV1::Document + command.params['documentId'] = document_id unless document_id.nil? + command.query['suggestionsViewMode'] = suggestions_view_mode unless suggestions_view_mode.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/jobs_v3/classes.rb b/generated/google/apis/jobs_v3/classes.rb index 916c31388..15f999b53 100644 --- a/generated/google/apis/jobs_v3/classes.rb +++ b/generated/google/apis/jobs_v3/classes.rb @@ -147,6 +147,78 @@ module Google end end + # An event issued when an end user interacts with the application that + # implements Cloud Talent Solution. Providing this information improves the + # quality of search and recommendation for the API clients, enabling the + # service to perform optimally. The number of events sent must be consistent + # with other calls, such as job searches, issued to the service by the client. + class ClientEvent + include Google::Apis::Core::Hashable + + # Required. + # The timestamp of the event. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. + # A unique identifier, generated by the client application. This `event_id` + # is used to establish the relationship between different events + # (see parent_event_id). + # Corresponds to the JSON property `eventId` + # @return [String] + attr_accessor :event_id + + # Optional. + # Extra information about this event. Used for storing information with no + # matching field in event payload, for example, user application specific + # context or details. + # At most 20 keys are supported. The maximum total size of all keys and + # values is 2 KB. + # Corresponds to the JSON property `extraInfo` + # @return [Hash] + attr_accessor :extra_info + + # An event issued when a job seeker interacts with the application that + # implements Cloud Talent Solution. + # Corresponds to the JSON property `jobEvent` + # @return [Google::Apis::JobsV3::JobEvent] + attr_accessor :job_event + + # Required except the first event. + # The event_id of an event that resulted in the current event. For example, a + # Job view event usually follows a parent + # impression event: A job seeker first does a + # search where a list of jobs appears + # (impression). The job seeker then selects a + # result and views the description of a particular job (Job + # view). + # Corresponds to the JSON property `parentEventId` + # @return [String] + attr_accessor :parent_event_id + + # Required. + # A unique ID generated in the API responses. It can be found in + # ResponseMetadata.request_id. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @event_id = args[:event_id] if args.key?(:event_id) + @extra_info = args[:extra_info] if args.key?(:extra_info) + @job_event = args[:job_event] if args.key?(:job_event) + @parent_event_id = args[:parent_event_id] if args.key?(:parent_event_id) + @request_id = args[:request_id] if args.key?(:request_id) + end + end + # Input only. # Parameters needed for commute search. class CommuteFilter @@ -682,6 +754,29 @@ module Google end end + # The report event request. + class CreateClientEventRequest + include Google::Apis::Core::Hashable + + # An event issued when an end user interacts with the application that + # implements Cloud Talent Solution. Providing this information improves the + # quality of search and recommendation for the API clients, enabling the + # service to perform optimally. The number of events sent must be consistent + # with other calls, such as job searches, issued to the service by the client. + # Corresponds to the JSON property `clientEvent` + # @return [Google::Apis::JobsV3::ClientEvent] + attr_accessor :client_event + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_event = args[:client_event] if args.key?(:client_event) + end + end + # Input only. # The Request of the CreateCompany method. class CreateCompanyRequest @@ -1211,9 +1306,9 @@ module Google # The job PostingRegion (for example, state, country) throughout which # the job is available. If this field is set, a # LocationFilter in a search query within the job region - # finds this job posting if an exact location match is not specified. - # If this field is set to PostingRegion.NATION_WIDE or - # [PostingRegion.ADMINISTRATIVE_AREA], setting job addresses + # finds this job posting if an exact location match isn't specified. + # If this field is set to PostingRegion.NATION or + # PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses # to the same location level as this field is strongly recommended. # Corresponds to the JSON property `postingRegion` # @return [String] @@ -1355,6 +1450,38 @@ module Google end end + # An event issued when a job seeker interacts with the application that + # implements Cloud Talent Solution. + class JobEvent + include Google::Apis::Core::Hashable + + # Required. + # The job name(s) associated with this event. + # For example, if this is an impression event, + # this field contains the identifiers of all jobs shown to the job seeker. + # If this was a view event, this field contains the + # identifier of the viewed job. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # Required. + # The type of the event (see JobEventType). + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jobs = args[:jobs] if args.key?(:jobs) + @type = args[:type] if args.key?(:type) + end + end + # Input only. # The query required to perform a search query. class JobQuery diff --git a/generated/google/apis/jobs_v3/representations.rb b/generated/google/apis/jobs_v3/representations.rb index 79dd209c7..a7ac53d4b 100644 --- a/generated/google/apis/jobs_v3/representations.rb +++ b/generated/google/apis/jobs_v3/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ClientEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CommuteFilter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CreateClientEventRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CreateCompanyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,6 +202,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class JobEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class JobQuery class Representation < Google::Apis::Core::JsonRepresentation; end @@ -349,6 +367,19 @@ module Google end end + class ClientEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :event_id, as: 'eventId' + hash :extra_info, as: 'extraInfo' + property :job_event, as: 'jobEvent', class: Google::Apis::JobsV3::JobEvent, decorator: Google::Apis::JobsV3::JobEvent::Representation + + property :parent_event_id, as: 'parentEventId' + property :request_id, as: 'requestId' + end + end + class CommuteFilter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -484,6 +515,14 @@ module Google end end + class CreateClientEventRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_event, as: 'clientEvent', class: Google::Apis::JobsV3::ClientEvent, decorator: Google::Apis::JobsV3::ClientEvent::Representation + + end + end + class CreateCompanyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -624,6 +663,14 @@ module Google end end + class JobEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs' + property :type, as: 'type' + end + end + class JobQuery # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/jobs_v3/service.rb b/generated/google/apis/jobs_v3/service.rb index e83256282..7dc9a9aa8 100644 --- a/generated/google/apis/jobs_v3/service.rb +++ b/generated/google/apis/jobs_v3/service.rb @@ -139,6 +139,46 @@ module Google execute_or_queue_command(command, &block) end + # Report events issued when end user interacts with customer's application + # that uses Cloud Talent Solution. You may inspect the created events in + # [self service + # tools](https://console.cloud.google.com/talent-solution/overview). + # [Learn + # more](https://cloud.google.com/talent-solution/job-search/docs/management- + # tools) + # about self service tools. + # @param [String] parent + # Parent project name. + # @param [Google::Apis::JobsV3::CreateClientEventRequest] create_client_event_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::JobsV3::ClientEvent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::JobsV3::ClientEvent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_client_event(parent, create_client_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/clientEvents', options) + command.request_representation = Google::Apis::JobsV3::CreateClientEventRequest::Representation + command.request_object = create_client_event_request_object + command.response_representation = Google::Apis::JobsV3::ClientEvent::Representation + command.response_class = Google::Apis::JobsV3::ClientEvent + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a new company entity. # @param [String] parent # Required. diff --git a/generated/google/apis/remotebuildexecution_v1.rb b/generated/google/apis/remotebuildexecution_v1.rb index 45ff1b539..1ad0af4c0 100644 --- a/generated/google/apis/remotebuildexecution_v1.rb +++ b/generated/google/apis/remotebuildexecution_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1 VERSION = 'V1' - REVISION = '20190116' + REVISION = '20190122' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1/classes.rb b/generated/google/apis/remotebuildexecution_v1/classes.rb index 14512872d..3353d0c49 100644 --- a/generated/google/apis/remotebuildexecution_v1/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1/classes.rb @@ -1894,9 +1894,10 @@ module Google # @return [String] attr_accessor :disk_type - # Required. Machine type of the worker, such as n1-standard-2. + # Required. Machine type of the worker, such as `n1-standard-2`. # See https://cloud.google.com/compute/docs/machine-types for a list of - # supported machine types. + # supported machine types. Note that `f1-micro` and `g1-small` are not yet + # supported. # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 7aa77c745..0b04a69fb 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20190116' + REVISION = '20190122' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index 208dc455b..ee9a9332b 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -1875,9 +1875,10 @@ module Google # @return [String] attr_accessor :disk_type - # Required. Machine type of the worker, such as n1-standard-2. + # Required. Machine type of the worker, such as `n1-standard-2`. # See https://cloud.google.com/compute/docs/machine-types for a list of - # supported machine types. + # supported machine types. Note that `f1-micro` and `g1-small` are not yet + # supported. # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type diff --git a/generated/google/apis/remotebuildexecution_v2.rb b/generated/google/apis/remotebuildexecution_v2.rb index 8def9e351..f18dbbd48 100644 --- a/generated/google/apis/remotebuildexecution_v2.rb +++ b/generated/google/apis/remotebuildexecution_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV2 VERSION = 'V2' - REVISION = '20190116' + REVISION = '20190122' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v2/classes.rb b/generated/google/apis/remotebuildexecution_v2/classes.rb index cce115c42..46414f1ae 100644 --- a/generated/google/apis/remotebuildexecution_v2/classes.rb +++ b/generated/google/apis/remotebuildexecution_v2/classes.rb @@ -2628,9 +2628,10 @@ module Google # @return [String] attr_accessor :disk_type - # Required. Machine type of the worker, such as n1-standard-2. + # Required. Machine type of the worker, such as `n1-standard-2`. # See https://cloud.google.com/compute/docs/machine-types for a list of - # supported machine types. + # supported machine types. Note that `f1-micro` and `g1-small` are not yet + # supported. # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb index 93a08fbab..8a06c65d2 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20190119' + REVISION = '20190125' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index 00d9f900b..a6f23656f 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -70,7 +70,7 @@ module Google end # Request for performing Google Cloud Vision API tasks over a user-provided - # image, with user-requested features. + # image, with user-requested features, and with context information. class AnnotateImageRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/vision_v1p1beta1.rb b/generated/google/apis/vision_v1p1beta1.rb index 670a2d6d5..3f7434dbf 100644 --- a/generated/google/apis/vision_v1p1beta1.rb +++ b/generated/google/apis/vision_v1p1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20190119' + REVISION = '20190125' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1p1beta1/classes.rb b/generated/google/apis/vision_v1p1beta1/classes.rb index 106978c46..5946a32fe 100644 --- a/generated/google/apis/vision_v1p1beta1/classes.rb +++ b/generated/google/apis/vision_v1p1beta1/classes.rb @@ -999,7 +999,7 @@ module Google end # Request for performing Google Cloud Vision API tasks over a user-provided - # image, with user-requested features. + # image, with user-requested features, and with context information. class GoogleCloudVisionV1p1beta1AnnotateImageRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/vision_v1p2beta1.rb b/generated/google/apis/vision_v1p2beta1.rb index 23aa4d47d..9aaa690de 100644 --- a/generated/google/apis/vision_v1p2beta1.rb +++ b/generated/google/apis/vision_v1p2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1p2beta1 VERSION = 'V1p2beta1' - REVISION = '20190119' + REVISION = '20190125' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1p2beta1/classes.rb b/generated/google/apis/vision_v1p2beta1/classes.rb index dce68c729..9696fe914 100644 --- a/generated/google/apis/vision_v1p2beta1/classes.rb +++ b/generated/google/apis/vision_v1p2beta1/classes.rb @@ -2746,7 +2746,7 @@ module Google end # Request for performing Google Cloud Vision API tasks over a user-provided - # image, with user-requested features. + # image, with user-requested features, and with context information. class GoogleCloudVisionV1p2beta1AnnotateImageRequest include Google::Apis::Core::Hashable