Class: Google::Apis::RedisV1::RequirementOverride

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_overrideString

Corresponds to the JSON property ziOverride

Returns:

  • (String)


2834
2835
2836
# File 'lib/google/apis/redis_v1/classes.rb', line 2834

def zi_override
  @zi_override
end

#zs_overrideString

Corresponds to the JSON property zsOverride

Returns:

  • (String)


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