class Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Attributes
allowed_values[RW]
A list of acceptable values. Only effective when the policy is `RESTRICTED`. Corresponds to the JSON property `allowedValues` @return [Array<String>]
policy[RW]
The policy of the feature. Corresponds to the JSON property `policy` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2701 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2706 def update!(**args) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) @policy = args[:policy] if args.key?(:policy) end