diff --git a/packages_generated/container/src/v1beta1/marshalling.gen.ts b/packages_generated/container/src/v1beta1/marshalling.gen.ts index 65eb78aaf..efd595db4 100644 --- a/packages_generated/container/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/container/src/v1beta1/marshalling.gen.ts @@ -163,6 +163,7 @@ export const unmarshalContainer = (data: unknown): Container => { unmarshalSecretHashedValue, ), status: data.status, + tags: data.tags, timeout: data.timeout, updatedAt: unmarshalDate(data.updated_at), } as Container @@ -511,6 +512,7 @@ export const marshalCreateContainerRequest = ( marshalSecret(elt, defaults), ) : undefined, + tags: request.tags, timeout: request.timeout, }) @@ -664,6 +666,7 @@ export const marshalUpdateContainerRequest = ( marshalSecret(elt, defaults), ) : undefined, + tags: request.tags, timeout: request.timeout, }) diff --git a/packages_generated/container/src/v1beta1/types.gen.ts b/packages_generated/container/src/v1beta1/types.gen.ts index 6dd7020a8..0cb543a3b 100644 --- a/packages_generated/container/src/v1beta1/types.gen.ts +++ b/packages_generated/container/src/v1beta1/types.gen.ts @@ -364,6 +364,10 @@ export interface Container { * Region in which the container will be deployed. */ region: ScwRegion + /** + * List of tags applied to the Serverless Container. + */ + tags: string[] } export interface Cron { @@ -470,7 +474,7 @@ export interface Namespace { */ region: ScwRegion /** - * [ALPHA] List of tags applied to the Serverless Container Namespace. + * List of tags applied to the Serverless Container Namespace. */ tags: string[] /** @@ -666,6 +670,10 @@ export type CreateContainerRequest = { * Health check configuration of the container. */ healthCheck?: ContainerHealthCheckSpec + /** + * Tags of the Serverless Container. + */ + tags?: string[] } export type CreateCronRequest = { @@ -732,7 +740,7 @@ export type CreateNamespaceRequest = { */ secretEnvironmentVariables?: Secret[] /** - * [ALPHA] Tags of the Serverless Container Namespace. + * Tags of the Serverless Container Namespace. */ tags?: string[] } @@ -1261,6 +1269,10 @@ export type UpdateContainerRequest = { * Health check configuration of the container. */ healthCheck?: ContainerHealthCheckSpec + /** + * Tags of the Serverless Container. + */ + tags?: string[] } export type UpdateCronRequest = { @@ -1312,7 +1324,7 @@ export type UpdateNamespaceRequest = { */ secretEnvironmentVariables?: Secret[] /** - * [ALPHA] Tags of the Serverless Container Namespace. + * Tags of the Serverless Container Namespace. */ tags?: string[] } diff --git a/packages_generated/function/src/v1beta1/marshalling.gen.ts b/packages_generated/function/src/v1beta1/marshalling.gen.ts index 0cc160d06..c70050644 100644 --- a/packages_generated/function/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/function/src/v1beta1/marshalling.gen.ts @@ -127,6 +127,7 @@ export const unmarshalFunction = (data: unknown): Function => { unmarshalSecretHashedValue, ), status: data.status, + tags: data.tags, timeout: data.timeout, updatedAt: unmarshalDate(data.updated_at), } as Function @@ -459,6 +460,7 @@ export const marshalCreateFunctionRequest = ( marshalSecret(elt, defaults), ) : undefined, + tags: request.tags, timeout: request.timeout, }) @@ -592,6 +594,7 @@ export const marshalUpdateFunctionRequest = ( marshalSecret(elt, defaults), ) : undefined, + tags: request.tags, timeout: request.timeout, }) diff --git a/packages_generated/function/src/v1beta1/types.gen.ts b/packages_generated/function/src/v1beta1/types.gen.ts index caed29232..2be7aed15 100644 --- a/packages_generated/function/src/v1beta1/types.gen.ts +++ b/packages_generated/function/src/v1beta1/types.gen.ts @@ -405,6 +405,10 @@ export interface Function { * Last date when the function was successfully deployed and set to ready. */ readyAt?: Date + /** + * List of tags applied to the Serverless Function. + */ + tags: string[] } export interface Namespace { @@ -457,7 +461,7 @@ export interface Namespace { */ region: ScwRegion /** - * [ALPHA] List of tags applied to the Serverless Function Namespace. + * List of tags applied to the Serverless Function Namespace. */ tags: string[] /** @@ -661,6 +665,10 @@ export type CreateFunctionRequest = { * Execution environment of the function. */ sandbox?: FunctionSandbox + /** + * Tags of the Serverless Function. + */ + tags?: string[] } export type CreateNamespaceRequest = { @@ -686,7 +694,7 @@ export type CreateNamespaceRequest = { */ secretEnvironmentVariables?: Secret[] /** - * [ALPHA] Tags of the Serverless Function Namespace. + * Tags of the Serverless Function Namespace. */ tags?: string[] } @@ -1270,6 +1278,10 @@ export type UpdateFunctionRequest = { * Execution environment of the function. */ sandbox?: FunctionSandbox + /** + * Tags of the Serverless Function. + */ + tags?: string[] } export type UpdateNamespaceRequest = { @@ -1294,7 +1306,7 @@ export type UpdateNamespaceRequest = { */ secretEnvironmentVariables?: Secret[] /** - * [ALPHA] Tags of the Serverless Function Namespace. + * Tags of the Serverless Function Namespace. */ tags?: string[] }