blockReason

Setter for blockReason.

blockReason: Output only. The reason why the prompt was blocked.


Setter for blockReason given a known enum.

blockReason: Output only. The reason why the prompt was blocked.


@CanIgnoreReturnValue()
public GenerateContentResponsePromptFeedback.Builder blockReason(String blockReason)

Setter for blockReason given a string.

blockReason: Output only. The reason why the prompt was blocked.