Class UpdateNamedStyleRequest
Updates a named style.
Implements
Inherited Members
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class UpdateNamedStyleRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fields
The NamedStyle fields that should be updated. At least named_style_type must be specified. The root
named_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 include "text_style" and
"text_style.bold". To update the paragraph style's alignment property, set fields to include
"paragraph_style" and "paragraph_style.alignment". To reset a property to its default value, include its
field name in the field mask but leave the field itself unset. Specifying "text_style" or
"paragraph_style" with an empty TextStyle or ParagraphStyle will reset all of its nested fields.
Declaration
[JsonProperty("fields")]
public virtual object Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
NamedStyle
The document style to update.
Declaration
[JsonProperty("namedStyle")]
public virtual NamedStyle NamedStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| NamedStyle |
TabId
The document tab to update. By default, the update is applied to the first tab.
Declaration
[JsonProperty("tabId")]
public virtual string TabId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |