@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 V2beta2HorizontalPodAutoscalerSpec.
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

:param scale_target_ref: The scale_target_ref of this V2beta2HorizontalPodAutoscalerSpec.
:type: V2beta2CrossVersionObjectReference