Class: Google::Apis::ServiceusageV1::AddEnableRulesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::AddEnableRulesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb
Overview
The response message of AddEnableRules
method.
Instance Attribute Summary collapse
-
#added_values ⇒ Array<String>
The values added to the parent consumer policy.
-
#parent ⇒ String
The parent consumer policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddEnableRulesResponse
constructor
A new instance of AddEnableRulesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddEnableRulesResponse
Returns a new instance of AddEnableRulesResponse.
54 55 56 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_values ⇒ Array<String>
The values added to the parent consumer policy.
Corresponds to the JSON property addedValues
45 46 47 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 45 def added_values @added_values end |
#parent ⇒ String
The parent consumer policy. It can be projects/12345/consumerPolicies/default
, or folders/12345/consumerPolicies/default
, or organizations/12345/
consumerPolicies/default
.
Corresponds to the JSON property parent
52 53 54 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 52 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59 60 61 62 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 59 def update!(**args) @added_values = args[:added_values] if args.key?(:added_values) @parent = args[:parent] if args.key?(:parent) end |