Skip to content

Commit f0149c8

Browse files
docs(serverless): clarify UpdateContainer and UpdateFunction behavior (#2353)
Co-authored-by: Laure-di <[email protected]>
1 parent 6935ef0 commit f0149c8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages_generated/container/src/v1beta1/api.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ export class API extends ParentAPI {
314314

315315
/**
316316
* Update an existing container. Update the container associated with the specified ID.
317+
318+
When updating a container, the container is automatically redeployed to apply the changes.
319+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
317320
*
318321
* @param request - The request {@link UpdateContainerRequest}
319322
* @returns A Promise of Container

packages_generated/function/src/v1beta1/api.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ export class API extends ParentAPI {
323323

324324
/**
325325
* Update an existing function. Update the function associated with the specified ID.
326+
327+
When updating a function, the function is automatically redeployed to apply the changes.
328+
This behavior can be changed by setting the `redeploy` field to `false` in the request.
326329
*
327330
* @param request - The request {@link UpdateFunctionRequest}
328331
* @returns A Promise of Function

0 commit comments

Comments
 (0)