You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google/genai/types.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6718,11 +6718,11 @@ class CreateCachedContentConfig(_common.BaseModel):
6718
6718
)
6719
6719
ttl: Optional[str] =Field(
6720
6720
default=None,
6721
-
description="""The TTL for this resource. The expiration time is computed: now + TTL.""",
6721
+
description="""The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s".""",
6722
6722
)
6723
6723
expire_time: Optional[datetime.datetime] =Field(
6724
6724
default=None,
6725
-
description="""Timestamp of when this resource is considered expired.""",
6725
+
description="""Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.""",
6726
6726
)
6727
6727
display_name: Optional[str] =Field(
6728
6728
default=None,
@@ -6758,10 +6758,10 @@ class CreateCachedContentConfigDict(TypedDict, total=False):
6758
6758
"""Used to override HTTP request options."""
6759
6759
6760
6760
ttl: Optional[str]
6761
-
"""The TTL for this resource. The expiration time is computed: now + TTL."""
6761
+
"""The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s"."""
6762
6762
6763
6763
expire_time: Optional[datetime.datetime]
6764
-
"""Timestamp of when this resource is considered expired."""
6764
+
"""Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z."""
6765
6765
6766
6766
display_name: Optional[str]
6767
6767
"""The user-generated meaningful display name of the cached content.
@@ -7052,11 +7052,11 @@ class UpdateCachedContentConfig(_common.BaseModel):
7052
7052
)
7053
7053
ttl: Optional[str] =Field(
7054
7054
default=None,
7055
-
description="""The TTL for this resource. The expiration time is computed: now + TTL.""",
7055
+
description="""The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s".""",
7056
7056
)
7057
7057
expire_time: Optional[datetime.datetime] =Field(
7058
7058
default=None,
7059
-
description="""Timestamp of when this resource is considered expired.""",
7059
+
description="""Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.""",
7060
7060
)
7061
7061
7062
7062
@@ -7067,10 +7067,10 @@ class UpdateCachedContentConfigDict(TypedDict, total=False):
7067
7067
"""Used to override HTTP request options."""
7068
7068
7069
7069
ttl: Optional[str]
7070
-
"""The TTL for this resource. The expiration time is computed: now + TTL."""
7070
+
"""The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s"."""
7071
7071
7072
7072
expire_time: Optional[datetime.datetime]
7073
-
"""Timestamp of when this resource is considered expired."""
7073
+
"""Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z."""
0 commit comments