Class: Google::Apis::WorkloadmanagerV1::RequirementOverride

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequirementOverride

Returns a new instance of RequirementOverride.



1169
1170
1171
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1169

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#zi_overrideString

Corresponds to the JSON property ziOverride

Returns:

  • (String)


1162
1163
1164
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1162

def zi_override
  @zi_override
end

#zs_overrideString

Corresponds to the JSON property zsOverride

Returns:

  • (String)


1167
1168
1169
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1167

def zs_override
  @zs_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1174
1175
1176
1177
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1174

def update!(**args)
  @zi_override = args[:zi_override] if args.key?(:zi_override)
  @zs_override = args[:zs_override] if args.key?(:zs_override)
end