GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrenceRecurrenceEnd
Table of Contents ▼
Jump to a specific part of the page:
Description
The end of the recurrence can be represented in one of three ways. 1. An abstract DateTime. (inclusive) 2. An absolute timestamp, in milliseconds from UTC epoch. 3. A number of occurrences. Exactly one of the fields [end_date_time, end_millis, num_occurrences] in this message must be set. Repeating tasks for which the user did not specify an end date are automatically given a reasonable end conditions by the system and auto_renew will be set to true. Similarly, if the user- provided end date is too far in the future to reasonably create all instances, the server will set an auto_renew_until end condition.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
autoRenew
(type:boolean()
, default:nil
)
- Should be used in cases where the size of the recurrence is infinite (no end date specified), in which case we rely on an offline process to extend. Set by server only, setting it on a new recurrence will throw an exception. -
autoRenewUntil
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDateTimeAnnotation
, default:nil
)
- Used in cases where the recurrence is too large to create in a single transaction. In this case we create a manageable number of instances initially and rely on an offline process to continually extend the recurrence until this date. Set by server only, setting it on a new recurrence will throw an exception. -
endDateTime
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDateTimeAnnotation
, default:nil
)
- -
endMillis
(type:String.t
, default:nil
)
- Deprecated - prefer end_date_time.absolute_time_ms. -
numOccurrences
(type:integer()
, default:nil
)
- Note that auto-renewing is not supported in conjunction with num_occurrences. Therefore we impose a hard limit of 1000 when using this field.
Type
autoRenew: boolean() | nil,
autoRenewUntil: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDateTimeAnnotation.t() | nil,
endDateTime: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDateTimeAnnotation.t() | nil,
endMillis: String.t() | nil,
numOccurrences: integer() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrenceRecurrenceEnd