class Google::Apis::ComputeBeta::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_beta/classes.rb, line 18120 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_beta/classes.rb, line 18125 def update!(**args) @preference = args[:preference] if args.key?(:preference) end