Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
Defines whether a feature can be used or what values are accepted.
Instance Attribute Summary collapse
-
#allowed_values ⇒ Array<String>
A list of acceptable values.
-
#policy ⇒ String
The policy of the feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature.
1829 1830 1831 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_values ⇒ Array<String>
A list of acceptable values. Only effective when the policy is RESTRICTED
.
Corresponds to the JSON property allowedValues
1822 1823 1824 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1822 def allowed_values @allowed_values end |
#policy ⇒ String
The policy of the feature.
Corresponds to the JSON property policy
1827 1828 1829 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1827 def policy @policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1834 1835 1836 1837 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1834 def update!(**args) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) @policy = args[:policy] if args.key?(:policy) end |