Compute Engine v1 API - Class FutureResourcesRecommendation (3.22.0)

public sealed class FutureResourcesRecommendation : IMessage<FutureResourcesRecommendation>, IEquatable<FutureResourcesRecommendation>, IDeepCloneable<FutureResourcesRecommendation>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class FutureResourcesRecommendation.

Recommendation for single resources specification, to be created in the future.

Inheritance

object > FutureResourcesRecommendation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

FutureResourcesRecommendation()

public FutureResourcesRecommendation()

FutureResourcesRecommendation(FutureResourcesRecommendation)

public FutureResourcesRecommendation(FutureResourcesRecommendation other)
Parameter
Name Description
other FutureResourcesRecommendation

Properties

EndTime

public string EndTime { get; set; }
Property Value
Type Description
string

HasEndTime

public bool HasEndTime { get; }

Gets whether the "end_time" field is set

Property Value
Type Description
bool

HasLocation

public bool HasLocation { get; }

Gets whether the "location" field is set

Property Value
Type Description
bool

HasRecommendationId

public bool HasRecommendationId { get; }

Gets whether the "recommendation_id" field is set

Property Value
Type Description
bool

HasRecommendationType

public bool HasRecommendationType { get; }

Gets whether the "recommendation_type" field is set

Property Value
Type Description
bool

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
Type Description
bool

Location

public string Location { get; set; }

The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details.

Property Value
Type Description
string

OtherLocations

public MapField<string, FutureResourcesRecommendationOtherLocation> OtherLocations { get; }

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

Property Value
Type Description
MapFieldstringFutureResourcesRecommendationOtherLocation

RecommendationId

public string RecommendationId { get; set; }

Unique id of the recommendation, a UUID string generated by the API.

Property Value
Type Description
string

RecommendationType

public string RecommendationType { get; set; }

Type of recommendation. Currently only FUTURE_RESERVATION is supported. Check the RecommendationType enum for the list of possible values.

Property Value
Type Description
string

StartTime

public string StartTime { get; set; }
Property Value
Type Description
string