Skip to content

Commit 7bf0ba2

Browse files
MarkDaoustcopybara-github
authored andcommitted
chore: fix docstring
PiperOrigin-RevId: 925517034
1 parent 4775314 commit 7bf0ba2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

google/genai/tokens.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def create(
153153
uses=10,
154154
expire_time='2025-05-01T00:00:00Z',
155155
)
156-
auth_token = client.tokens.create(config=config)
156+
auth_token = client.auth_tokens.create(config=config)
157157
158158
.. code-block:: python
159159
@@ -162,7 +162,7 @@ def create(
162162
# example, changing `output_audio_transcription` in the Live API
163163
# connection will be ignored by the API.
164164
165-
auth_token = client.tokens.create(
165+
auth_token = client.auth_tokens.create(
166166
config=types.CreateAuthTokenConfig(
167167
uses=10,
168168
live_constrained_parameters=types.LiveEphemeralParameters(
@@ -180,7 +180,7 @@ def create(
180180
# empty, lock LiveConnectConfig with set fields (e.g.
181181
# system_instruction in this example) when using the token in Live API
182182
# sessions.
183-
auth_token = client.tokens.create(
183+
auth_token = client.auth_tokens.create(
184184
config=types.CreateAuthTokenConfig(
185185
uses=10,
186186
live_constrained_parameters=types.LiveEphemeralParameters(
@@ -198,7 +198,7 @@ def create(
198198
# set, lock LiveConnectConfig with set and additional fields (e.g.
199199
# system_instruction, temperature in this example) when using the token
200200
# in Live API sessions.
201-
auth_token = client.tokens.create(
201+
auth_token = client.auth_tokens.create(
202202
config=types.CreateAuthTokenConfig(
203203
uses=10,
204204
live_constrained_parameters=types.LiveEphemeralParameters(

0 commit comments

Comments
 (0)