Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
The values allowed for a ListPolicy.
Instance Attribute Summary collapse
-
#allowed_values ⇒ Array<String>
List of values allowed at this resource.
-
#denied_values ⇒ Array<String>
List of values denied at this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues
constructor
A new instance of GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues
Returns a new instance of GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues.
563 564 565 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_values ⇒ Array<String>
List of values allowed at this resource.
Corresponds to the JSON property allowedValues
556 557 558 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 556 def allowed_values @allowed_values end |
#denied_values ⇒ Array<String>
List of values denied at this resource.
Corresponds to the JSON property deniedValues
561 562 563 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 561 def denied_values @denied_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 568 def update!(**args) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) @denied_values = args[:denied_values] if args.key?(:denied_values) end |