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.
2841 2842 2843 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#zi_override ⇒ String
Corresponds to the JSON property ziOverride
2834 2835 2836 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2834 def zi_override @zi_override end |
#zs_override ⇒ String
Corresponds to the JSON property zsOverride
2839 2840 2841 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2839 def zs_override @zs_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2846 2847 2848 2849 |
# File 'lib/google/apis/redis_v1/classes.rb', line 2846 def update!(**args) @zi_override = args[:zi_override] if args.key?(:zi_override) @zs_override = args[:zs_override] if args.key?(:zs_override) end |