Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/resourcemanager/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f22dd14374388602d895c8892b3e5b110dc16582
9ff2efb2c9614ebfffa878f0a99f82ee15fd4b9d
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class PartialUpdateFolderPayload(BaseModel):
description="New parent identifier for the resource container - containerId as well as UUID identifier is supported.",
alias="containerParentId",
)
labels: Optional[Dict[str, StrictStr]] = Field(
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
default=None,
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class PartialUpdateOrganizationPayload(BaseModel):
PartialUpdateOrganizationPayload
""" # noqa: E501

labels: Optional[Dict[str, StrictStr]] = Field(
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
default=None,
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class PartialUpdateProjectPayload(BaseModel):
description="New parent identifier for the resource container - containerId as well as UUID identifier is supported.",
alias="containerParentId",
)
labels: Optional[Dict[str, StrictStr]] = Field(
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
default=None,
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None,
Expand Down
Loading