Class LocationPolicyLocation (1.0.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

HasPreference

public bool HasPreference { get; }

Gets whether the "preference" field is set

Property Value
TypeDescription
Boolean

Preference

public string Preference { get; set; }

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

Property Value
TypeDescription
String