Class CalendarModeExtensionAdviceResponse
A response that contains the recommended duration for extending a future reservation in calendar mode based on available capacity during the extension period.
Implements
Inherited Members
Namespace: Google.Apis.Compute.beta.Data
Assembly: Google.Apis.Compute.beta.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 is either the end time requested by the caller or the longest alternative with sufficient capacity. If the extension is not possible, this field is empty, and notRecommendedReason is populated instead.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NotRecommendedReason
The reason why the future reservation can't be extended. If a recommendation is provided, whether for the requested end time or an alternative, this field is empty.
Declaration
[JsonProperty("notRecommendedReason")]
public virtual CalendarModeExtensionAdviceResponseNotRecommendedReason NotRecommendedReason { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarModeExtensionAdviceResponseNotRecommendedReason |
RecommendationId
The unique ID of the recommendation, which is a UUID string generated by the API.
Declaration
[JsonProperty("recommendationId")]
public virtual string RecommendationId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |