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
Name Description
other LocationPolicyLocation

Properties

Constraints

public LocationPolicyLocationConstraints Constraints { get; set; }

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

Property Value
Type Description
LocationPolicyLocationConstraints

HasPreference

public bool HasPreference { get; }

Gets whether the "preference" field is set

Property Value
Type Description
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
Type Description
string