Show / Hide Table of Contents

Class UpdateDropdownDefinitionPropertiesRequest

Updates the properties of a DropdownDefinition.

Inheritance
object
UpdateDropdownDefinitionPropertiesRequest
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 UpdateDropdownDefinitionPropertiesRequest : IDirectResponseSchema

Properties

DropdownDefinitionId

The ID of the DropdownDefinition to update.

Declaration
[JsonProperty("dropdownDefinitionId")]
public virtual string DropdownDefinitionId { get; set; }
Property Value
Type Description
string

DropdownDefinitionProperties

The properties to update.

Declaration
[JsonProperty("dropdownDefinitionProperties")]
public virtual DropdownDefinitionProperties DropdownDefinitionProperties { get; set; }
Property Value
Type Description
DropdownDefinitionProperties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Fields

The fields that should be updated. At least one field must be specified. The root dropdown_definition_properties is implied and should not be specified. A single "*" can be used as short-hand for listing every field. When dropdown_definition_properties.options is included in the field mask, the full, complete list of desired options must be provided in dropdown_definition_properties.options.

Declaration
[JsonProperty("fields")]
public virtual object Fields { get; set; }
Property Value
Type Description
object

SelectedOptionIdReplacements

A map of option IDs to their replacements, used to automatically reassign orphaned Dropdown chips when an option is deleted. The keys are the IDs of the options being deleted, and the values are the IDs of their replacement options. If an option being deleted is selected in one or more Dropdown chips in the document, a replacement entry for that option must be provided in this map, and the replacement option ID must exist in the updated DropdownDefinition. If a replacement is required but not provided, a 400 bad request error is returned. Options being deleted that are not selected in any Dropdown chips do not require a replacement. For example, if option A is being replaced by option B, the map should be {"A": "B"}.

Declaration
[JsonProperty("selectedOptionIdReplacements")]
public virtual IDictionary<string, string> SelectedOptionIdReplacements { get; set; }
Property Value
Type Description
IDictionary<string, string>

TabId

The ID of the tab that contains the dropdown definition to update. When omitted, the request is applied to the first tab. In a document containing a single tab: - If provided, must match the singular tab's ID. - If omitted, the request applies to the singular tab. In a document containing multiple tabs: - If provided, the request applies to the specified tab. - If omitted, the request applies to the first tab in the document.

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