class Google::Apis::DocsV1::UpdateDocumentStyleRequest

Updates the DocumentStyle.

Attributes

document_style[RW]

The style of the document. Corresponds to the JSON property `documentStyle` @return [Google::Apis::DocsV1::DocumentStyle]

fields[RW]

The fields that should be updated. At least one field must be specified. The root `document_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 background, set `fields` to `“background”`. Corresponds to the JSON property `fields` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 5997
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 6002
def update!(**args)
  @document_style = args[:document_style] if args.key?(:document_style)
  @fields = args[:fields] if args.key?(:fields)
end