Compute Engine v1 API - Class LocationPolicyLocation (2.15.0)

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

Inheritance

object > LocationPolicyLocation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LocationPolicyLocation()

public LocationPolicyLocation()

LocationPolicyLocation(LocationPolicyLocation)

public LocationPolicyLocation(LocationPolicyLocation other)
Parameter
NameDescription
otherLocationPolicyLocation

Properties

Constraints

public LocationPolicyLocationConstraints Constraints { get; set; }

Constraints that the caller requires on the result distribution in this zone.

Property Value
TypeDescription
LocationPolicyLocationConstraints

HasPreference

public bool HasPreference { get; }

Gets whether the "preference" field is set

Property Value
TypeDescription
bool

Preference

public string Preference { get; set; }

Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.

Property Value
TypeDescription
string