Package com.google.genai.types
Class ReinforcementTuningCloudRunRewardScorer.Builder
java.lang.Object
com.google.genai.types.ReinforcementTuningCloudRunRewardScorer.Builder
- Enclosing class:
- ReinforcementTuningCloudRunRewardScorer
Builder for ReinforcementTuningCloudRunRewardScorer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of cloudRunUri field.cloudRunUri(String cloudRunUri) Setter for cloudRunUri.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudRunUri
Setter for cloudRunUri.cloudRunUri: URI of the Cloud Run service that will be used to compute the reward. The [Vertex AI Secure Fine Tuning Service Agent](https://docs.cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent) (`service-@gcp-sa-vertex-tune.iam.gserviceaccount.com`) must be granted the permission (e.g. by granting `roles/run.invoker` in IAM) to invoke the Cloud Run service.
-
clearCloudRunUri
Clears the value of cloudRunUri field. -
build
-