-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
api:gemini-apiIssues related to Gemini APIIssues related to Gemini APIpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
DisplayName is marked as optional, yet it is required in API.
type CreateBatchJobConfig struct {
// Optional. Used to override HTTP request options.
HTTPOptions *HTTPOptions `json:"httpOptions,omitempty"`
// Optional. The user-defined name of this BatchJob.
DisplayName string `json:"displayName,omitempty"`
...
Error 400, Message: List of found errors: 1.Field: batch_prediction_job.display_name; Message: Required field is not set. , Status: INVALID_ARGUMENT, Details: [map[@type:type.googleapis.com/google.rpc.BadRequest fieldViolations:[map[description:Required field is not set. field:batch_prediction_job.display_name]]]]
Metadata
Metadata
Assignees
Labels
api:gemini-apiIssues related to Gemini APIIssues related to Gemini APIpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.