Skip to content

Commit db364ab

Browse files
jaycee-licopybara-github
authored andcommitted
docs: Add docstring for enum classes that are not supported in Gemini or Vertex API
PiperOrigin-RevId: 823652339
1 parent 34996a2 commit db364ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vertexai/_genai/types/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class PairwiseChoice(_common.CaseInSensitiveEnum):
116116

117117

118118
class Strategy(_common.CaseInSensitiveEnum):
119-
"""Optional. This determines which type of scheduling strategy to use."""
119+
"""This determines which type of scheduling strategy to use."""
120120

121121
STRATEGY_UNSPECIFIED = "STRATEGY_UNSPECIFIED"
122122
"""Strategy will default to STANDARD."""
@@ -174,7 +174,7 @@ class AcceleratorType(_common.CaseInSensitiveEnum):
174174

175175

176176
class Type(_common.CaseInSensitiveEnum):
177-
"""Required. Specifies the reservation affinity type."""
177+
"""Specifies the reservation affinity type."""
178178

179179
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED"
180180
"""Default value. This should not be used."""
@@ -227,7 +227,7 @@ class AgentServerMode(_common.CaseInSensitiveEnum):
227227

228228

229229
class ManagedTopicEnum(_common.CaseInSensitiveEnum):
230-
"""Required. The managed topic."""
230+
"""The managed topic."""
231231

232232
MANAGED_TOPIC_ENUM_UNSPECIFIED = "MANAGED_TOPIC_ENUM_UNSPECIFIED"
233233
"""Unspecified topic. This value should not be used."""

0 commit comments

Comments
 (0)