Class: Google::Apis::RedisV1::RequirementOverride
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::RequirementOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb
Instance Attribute Summary collapse
-
#zi_override ⇒ String
Corresponds to the JSON property
ziOverride
. -
#zs_override ⇒ String
Corresponds to the JSON property
zsOverride
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequirementOverride
constructor
A new instance of RequirementOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RequirementOverride
Returns a new instance of RequirementOverride.
2825 2826 2827 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#zi_override ⇒ String
Corresponds to the JSON property ziOverride
2818 2819 2820 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2818 def zi_override @zi_override end |
#zs_override ⇒ String
Corresponds to the JSON property zsOverride
2823 2824 2825 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2823 def zs_override @zs_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2830 2831 2832 2833 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2830 def update!(**args) @zi_override = args[:zi_override] if args.key?(:zi_override) @zs_override = args[:zs_override] if args.key?(:zs_override) end |