Show / Hide Table of Contents

Class UpdateNamedStyleRequest

Updates a named style.

Inheritance
object
UpdateNamedStyleRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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_styleis 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, setfieldsto include"text_style"and"text_style.bold". To update the paragraph style's alignment property, set fieldsto 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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX