@scale_target_ref.setter<EOL><INDENT>def scale_target_ref(self, scale_target_ref):<DEDENT>
if scale_target_ref is None:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._scale_target_ref = scale_target_ref<EOL>
Sets the scale_target_ref of this V1HorizontalPodAutoscalerSpec.
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.

:param scale_target_ref: The scale_target_ref of this V1HorizontalPodAutoscalerSpec.
:type: V1CrossVersionObjectReference