Class FormAction
Inheritance
System.Object
FormAction
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.CloudSearch.v1.dll
public class FormAction : IDirectResponseSchema
Properties
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 |
| System.String |
|
Declaration
public virtual string ETag { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
[JsonProperty("loadIndicator")]
public virtual string LoadIndicator { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
[JsonProperty("parameters")]
public virtual IList<ActionParameter> Parameters { get; set; }
Property Value
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 |
| System.Nullable<System.Boolean> |
|
Implements
Google.Apis.Requests.IDirectResponseSchema