Class Trigger
Inheritance
object
Trigger
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Trigger : IDirectResponseSchema
Properties
ActionType
Each dispatcher should use an enum to for the actions that it supports. If a dispatcher has only one action,
this does not need to be set. (It can be expanded later, defining the default behaviour as type 0.) For
purposes such as batching, the type of a trigger is (dispatcher, action_type).
Declaration
[JsonProperty("actionType")]
public virtual long? ActionType { get; set; }
Property Value
BatchTimeUs
Maximum possible delay in micros that can be tolerated so triggers can be batched, which makes processing
more efficient compared to firing triggers individually. Note that the actual fire time will be somewhere in
the timerange interval [fire_time_us, fire_time_us + batch_time_us).
Declaration
[JsonProperty("batchTimeUs")]
public virtual long? BatchTimeUs { get; set; }
Property Value
Dispatcher
Which server should interpret action_type.
Declaration
[JsonProperty("dispatcher")]
public virtual string Dispatcher { get; set; }
Property Value
DispatchId
Must be set for DISPATCHER_STUBBY_DISPATCHER.
Declaration
[JsonProperty("dispatchId")]
public virtual long? DispatchId { get; set; }
Property Value
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
FireTimeUs
Earliest time to fire at in microseconds. The actual time that the trigger will fire will be in the
timerange: [fire_time_us, fire_time_us + batch_time_us).
Declaration
[JsonProperty("fireTimeUs")]
public virtual long? FireTimeUs { get; set; }
Property Value
JobsettedServerSpec
Must be set for DISPATCHER_JOBSETTED_PRIMARY.
Declaration
[JsonProperty("jobsettedServerSpec")]
public virtual JobsettedServerSpec JobsettedServerSpec { get; set; }
Property Value
Key
The trigger key, if applicable.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
RpcOptions
Declaration
[JsonProperty("rpcOptions")]
public virtual RpcOptions RpcOptions { get; set; }
Property Value
SliceFireTimeUs
The slice_fire_time_us is automatically computed and stored as part of the trigger write. It represents the
exact fire time at which the trigger will be queued to fire and will satisfy fire_time_us <
slice_fire_time_us <= fire_time_us + batch_time_us Triggers have an index row in the slice trigger
index with the row prefix matching this time. Note that this field is internal to gmail_cp and is ignored if
set by external clients when adding / updating triggers.
Declaration
[JsonProperty("sliceFireTimeUs")]
public virtual long? SliceFireTimeUs { get; set; }
Property Value
TriggerAction
Trigger action to perform. This should always be set.
Declaration
[JsonProperty("triggerAction")]
public virtual TriggerAction TriggerAction { get; set; }
Property Value
TriggerKey
The TriggerKey will uniquely determine a trigger within a given context. A context is a single message for
message triggers or a single account for account triggers.
Declaration
[JsonProperty("triggerKey")]
public virtual TriggerKey TriggerKey { get; set; }
Property Value
Implements