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 (`service-PROJECT_NUMBER@gcp-sa-vertex-tune.iam.gserviceaccount.com`, where `PROJECT_NUMBER` is the numeric project number) 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
-