class Google::Apis::ComputeV1::LocationPolicyLocation
Attributes
preference[RW]
Preference for a given location: ALLOW or DENY. Corresponds to the JSON property `preference` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 17111 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 17116 def update!(**args) @preference = args[:preference] if args.key?(:preference) end