Class CalendarModeExtensionAdviceResponse
A response containing the recommended duration to extend a Future Reservation in CALENDAR mode based on the available capacity during the extension period.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class CalendarModeExtensionAdviceResponse : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
EndTimeRaw
The recommended end time for the extension, which will either be the end time requested by the caller or the longest alternative for which there is sufficient capacity. If extension is not possible, this field will be empty, and not_recommended_reason will be populated instead.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NotRecommendedReason
Information regarding the reason why the Future Reservation cannot be extended at all. If a recommendation is provided, whether that is the requested end time or an alternative, this field will be empty.
Declaration
[JsonProperty("notRecommendedReason")]
public virtual CalendarModeExtensionAdviceResponseNotRecommendedReason NotRecommendedReason { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarModeExtensionAdviceResponseNotRecommendedReason |
RecommendationId
Unique id of the recommendation, a UUID string generated by the API.
Declaration
[JsonProperty("recommendationId")]
public virtual string RecommendationId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |