Show / Hide Table of Contents

Class FormAction

Inheritance
object
FormAction
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.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class FormAction : IDirectResponseSchema

Properties

ActionMethodName

Apps script function that should be invoked in the developer's apps script when the containing element is clicked/activated.

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

ETag

The ETag of the item.

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

LoadIndicator

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

Parameters

Declaration
[JsonProperty("parameters")]
public virtual IList<ActionParameter> Parameters { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<T><ActionParameter>

PersistValues

Indicates whether form values persist after the action. When false, the Apps Script is responsible for persisting values, by setting any form field values using the formInputs in the event. Disabling this behavior can be used if the add-on needs the ability to clear form fields, for example, as with persistent values, there is no means for clearing existing values. When disabling persistent values, it is strongly recommended that the add-on use LoadIndicator.SPINNER for all events, as this locks the UI to ensure no changes are made by the user while the action is being processed. When using LoadIndicator.NONE for any of the actions, persistent values are recommended, as it ensures that any changes made by the user after form / on change actions are sent to the server are not overwritten by the response. Persistent values disabled by default. While we recommend persistent values be used in the typical use case, we do not enable by default, as doing so would change the current behavior of existing add-ons in prod.

Declaration
[JsonProperty("persistValues")]
public virtual bool? PersistValues { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX