diff --git a/clients/docs/lib/google_api/docs/v1/metadata.ex b/clients/docs/lib/google_api/docs/v1/metadata.ex index b46942e0ba..a951b950b6 100644 --- a/clients/docs/lib/google_api/docs/v1/metadata.ex +++ b/clients/docs/lib/google_api/docs/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Docs.V1 do API client metadata for GoogleApi.Docs.V1. """ - @discovery_revision "20221004" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/docs/lib/google_api/docs/v1/model/document_style.ex b/clients/docs/lib/google_api/docs/v1/model/document_style.ex index 82c94a86d7..5d4d60569c 100644 --- a/clients/docs/lib/google_api/docs/v1/model/document_style.ex +++ b/clients/docs/lib/google_api/docs/v1/model/document_style.ex @@ -28,6 +28,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyle do * `evenPageHeaderId` (*type:* `String.t`, *default:* `nil`) - 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's no even page header. This property is read-only. * `firstPageFooterId` (*type:* `String.t`, *default:* `nil`) - 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's no first page footer. This property is read-only. * `firstPageHeaderId` (*type:* `String.t`, *default:* `nil`) - 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's no first page header. This property is read-only. + * `flipPageOrientation` (*type:* `boolean()`, *default:* `nil`) - Optional. Indicates whether to flip the dimensions of the page_size, which allows changing the page orientation between portrait and landscape. * `marginBottom` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles. * `marginFooter` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The amount of space between the bottom of the page and the contents of the footer. * `marginHeader` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The amount of space between the top of the page and the contents of the header. @@ -51,6 +52,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyle do :evenPageHeaderId => String.t() | nil, :firstPageFooterId => String.t() | nil, :firstPageHeaderId => String.t() | nil, + :flipPageOrientation => boolean() | nil, :marginBottom => GoogleApi.Docs.V1.Model.Dimension.t() | nil, :marginFooter => GoogleApi.Docs.V1.Model.Dimension.t() | nil, :marginHeader => GoogleApi.Docs.V1.Model.Dimension.t() | nil, @@ -71,6 +73,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyle do field(:evenPageHeaderId) field(:firstPageFooterId) field(:firstPageHeaderId) + field(:flipPageOrientation) field(:marginBottom, as: GoogleApi.Docs.V1.Model.Dimension) field(:marginFooter, as: GoogleApi.Docs.V1.Model.Dimension) field(:marginHeader, as: GoogleApi.Docs.V1.Model.Dimension) diff --git a/clients/docs/lib/google_api/docs/v1/model/document_style_suggestion_state.ex b/clients/docs/lib/google_api/docs/v1/model/document_style_suggestion_state.ex index c3a413dfdb..498c64d894 100644 --- a/clients/docs/lib/google_api/docs/v1/model/document_style_suggestion_state.ex +++ b/clients/docs/lib/google_api/docs/v1/model/document_style_suggestion_state.ex @@ -28,6 +28,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyleSuggestionState do * `evenPageHeaderIdSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to even_page_header_id. * `firstPageFooterIdSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to first_page_footer_id. * `firstPageHeaderIdSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to first_page_header_id. + * `flipPageOrientationSuggested` (*type:* `boolean()`, *default:* `nil`) - Optional. Indicates if there was a suggested change to flip_page_orientation. * `marginBottomSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to margin_bottom. * `marginFooterSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to margin_footer. * `marginHeaderSuggested` (*type:* `boolean()`, *default:* `nil`) - Indicates if there was a suggested change to margin_header. @@ -52,6 +53,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyleSuggestionState do :evenPageHeaderIdSuggested => boolean() | nil, :firstPageFooterIdSuggested => boolean() | nil, :firstPageHeaderIdSuggested => boolean() | nil, + :flipPageOrientationSuggested => boolean() | nil, :marginBottomSuggested => boolean() | nil, :marginFooterSuggested => boolean() | nil, :marginHeaderSuggested => boolean() | nil, @@ -72,6 +74,7 @@ defmodule GoogleApi.Docs.V1.Model.DocumentStyleSuggestionState do field(:evenPageHeaderIdSuggested) field(:firstPageFooterIdSuggested) field(:firstPageHeaderIdSuggested) + field(:flipPageOrientationSuggested) field(:marginBottomSuggested) field(:marginFooterSuggested) field(:marginHeaderSuggested) diff --git a/clients/docs/lib/google_api/docs/v1/model/insert_inline_image_request.ex b/clients/docs/lib/google_api/docs/v1/model/insert_inline_image_request.ex index 0009c06626..242a243f4e 100644 --- a/clients/docs/lib/google_api/docs/v1/model/insert_inline_image_request.ex +++ b/clients/docs/lib/google_api/docs/v1/model/insert_inline_image_request.ex @@ -24,7 +24,7 @@ defmodule GoogleApi.Docs.V1.Model.InsertInlineImageRequest do * `endOfSegmentLocation` (*type:* `GoogleApi.Docs.V1.Model.EndOfSegmentLocation.t`, *default:* `nil`) - Inserts the text at the end of a header, footer or the document body. Inline images cannot be inserted inside a footnote. * `location` (*type:* `GoogleApi.Docs.V1.Model.Location.t`, *default:* `nil`) - Inserts the image at a specific index in the document. The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation. * `objectSize` (*type:* `GoogleApi.Docs.V1.Model.Size.t`, *default:* `nil`) - The size that the image should appear as in the document. This property is optional and the final size of the image in the document is determined by the following rules: * If neither width nor height is specified, then a default size of the image is calculated based on its resolution. * If one dimension is specified then the other dimension is calculated to preserve the aspect ratio of the image. * If both width and height are specified, the image is scaled to fit within the provided dimensions while maintaining its aspect ratio. - * `uri` (*type:* `String.t`, *default:* `nil`) - 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. + * `uri` (*type:* `String.t`, *default:* `nil`) - 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 must be publicly accessible and at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.content_uri field. """ use GoogleApi.Gax.ModelBase diff --git a/clients/docs/lib/google_api/docs/v1/model/section_style.ex b/clients/docs/lib/google_api/docs/v1/model/section_style.ex index f6ab401c3b..532219a9a6 100644 --- a/clients/docs/lib/google_api/docs/v1/model/section_style.ex +++ b/clients/docs/lib/google_api/docs/v1/model/section_style.ex @@ -30,6 +30,7 @@ defmodule GoogleApi.Docs.V1.Model.SectionStyle do * `evenPageHeaderId` (*type:* `String.t`, *default:* `nil`) - The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages use the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only. * `firstPageFooterId` (*type:* `String.t`, *default:* `nil`) - The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If it's false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only. * `firstPageHeaderId` (*type:* `String.t`, *default:* `nil`) - The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If it's false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only. + * `flipPageOrientation` (*type:* `boolean()`, *default:* `nil`) - Optional. Indicates whether to flip the dimensions of DocumentStyle's page_size for this section, which allows changing the page orientation between portrait and landscape. If unset, the value inherits from DocumentStyle's flip_page_orientation. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. * `marginBottom` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The bottom page margin of the section. If unset, the value defaults to margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. * `marginFooter` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The footer margin of the section. If unset, the value defaults to margin_footer from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a footer margin is being respected for this section When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. * `marginHeader` (*type:* `GoogleApi.Docs.V1.Model.Dimension.t`, *default:* `nil`) - The header margin of the section. If unset, the value defaults to margin_header from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a header margin is being respected for this section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. @@ -53,6 +54,7 @@ defmodule GoogleApi.Docs.V1.Model.SectionStyle do :evenPageHeaderId => String.t() | nil, :firstPageFooterId => String.t() | nil, :firstPageHeaderId => String.t() | nil, + :flipPageOrientation => boolean() | nil, :marginBottom => GoogleApi.Docs.V1.Model.Dimension.t() | nil, :marginFooter => GoogleApi.Docs.V1.Model.Dimension.t() | nil, :marginHeader => GoogleApi.Docs.V1.Model.Dimension.t() | nil, @@ -73,6 +75,7 @@ defmodule GoogleApi.Docs.V1.Model.SectionStyle do field(:evenPageHeaderId) field(:firstPageFooterId) field(:firstPageHeaderId) + field(:flipPageOrientation) field(:marginBottom, as: GoogleApi.Docs.V1.Model.Dimension) field(:marginFooter, as: GoogleApi.Docs.V1.Model.Dimension) field(:marginHeader, as: GoogleApi.Docs.V1.Model.Dimension)