stackit-resourcemanager 0.11.1__tar.gz → 0.12.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/PKG-INFO +1 -1
  2. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/pyproject.toml +1 -1
  3. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/create_folder_payload.py +6 -10
  4. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/create_project_payload.py +6 -5
  5. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/folder_response.py +1 -1
  6. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/get_folder_details_response.py +1 -1
  7. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/get_project_response.py +1 -1
  8. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/list_folders_response_items_inner.py +1 -1
  9. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/list_organizations_response_items_inner.py +1 -1
  10. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/organization_response.py +1 -1
  11. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/partial_update_folder_payload.py +4 -4
  12. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/partial_update_organization_payload.py +4 -4
  13. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/partial_update_project_payload.py +4 -4
  14. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/project.py +1 -1
  15. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/.gitignore +0 -0
  16. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/LICENSE.md +0 -0
  17. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/NOTICE.txt +0 -0
  18. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/README.md +0 -0
  19. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/__init__.py +0 -0
  20. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/api/__init__.py +0 -0
  21. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/api/default_api.py +0 -0
  22. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/api_client.py +0 -0
  23. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/api_response.py +0 -0
  24. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/configuration.py +0 -0
  25. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/exceptions.py +0 -0
  26. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/__init__.py +0 -0
  27. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/error_response.py +0 -0
  28. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/lifecycle_state.py +0 -0
  29. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/list_folders_response.py +0 -0
  30. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/list_organizations_response.py +0 -0
  31. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/list_projects_response.py +0 -0
  32. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/member.py +0 -0
  33. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/parent.py +0 -0
  34. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/models/parent_list_inner.py +0 -0
  35. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/py.typed +0 -0
  36. {stackit_resourcemanager-0.11.1 → stackit_resourcemanager-0.12.0}/src/stackit/resourcemanager/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: stackit-resourcemanager
3
- Version: v0.11.1
3
+ Version: v0.12.0
4
4
  Summary: Resource Manager API
5
5
  Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
6
6
  Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackit-resourcemanager"
3
- version = "v0.11.1"
3
+ version = "v0.12.0"
4
4
  description = "Resource Manager API"
5
5
  authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
6
6
  requires-python = ">=3.10,<4.0"
@@ -31,19 +31,15 @@ class CreateFolderPayload(BaseModel):
31
31
  """ # noqa: E501
32
32
 
33
33
  container_parent_id: StrictStr = Field(
34
- description="Identifier of the parent resource container - containerId as well as UUID identifier is supported.",
35
- alias="containerParentId",
34
+ description="Identifier of the parent resource container", alias="containerParentId"
36
35
  )
37
36
  labels: Optional[Dict[str, StrictStr]] = Field(
38
37
  default=None,
39
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
40
- )
41
- members: Optional[Annotated[List[Member], Field(min_length=1)]] = Field(
42
- default=None,
43
- description="The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.",
38
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
44
39
  )
40
+ members: Optional[List[Member]] = Field(default=None, description="The initial members assigned to the folder.")
45
41
  name: Annotated[str, Field(strict=True)] = Field(
46
- description="The name of the folder matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`."
42
+ description="Folder name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`."
47
43
  )
48
44
  __properties: ClassVar[List[str]] = ["containerParentId", "labels", "members", "name"]
49
45
 
@@ -53,9 +49,9 @@ class CreateFolderPayload(BaseModel):
53
49
  if not isinstance(value, str):
54
50
  value = str(value)
55
51
 
56
- if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$", value):
52
+ if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$", value):
57
53
  raise ValueError(
58
- r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$/"
54
+ r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$/"
59
55
  )
60
56
  return value
61
57
 
@@ -38,11 +38,12 @@ class CreateProjectPayload(BaseModel):
38
38
  default=None,
39
39
  description='Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). * Either a `"scope": "PUBLIC"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `"networkArea": "<networkAreaID>"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation.',
40
40
  )
41
- members: Annotated[List[Member], Field(min_length=1)] = Field(
42
- description="The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account."
41
+ members: Optional[List[Member]] = Field(
42
+ default=None,
43
+ description="The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.",
43
44
  )
44
45
  name: Annotated[str, Field(strict=True)] = Field(
45
- description="Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`."
46
+ description="Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`."
46
47
  )
47
48
  __properties: ClassVar[List[str]] = ["containerParentId", "labels", "members", "name"]
48
49
 
@@ -52,9 +53,9 @@ class CreateProjectPayload(BaseModel):
52
53
  if not isinstance(value, str):
53
54
  value = str(value)
54
55
 
55
- if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$", value):
56
+ if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$", value):
56
57
  raise ValueError(
57
- r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$/"
58
+ r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$/"
58
59
  )
59
60
  return value
60
61
 
@@ -37,7 +37,7 @@ class FolderResponse(BaseModel):
37
37
  folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
38
38
  labels: Optional[Dict[str, StrictStr]] = Field(
39
39
  default=None,
40
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
40
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
41
  )
42
42
  name: StrictStr = Field(description="Folder name.")
43
43
  parent: Parent
@@ -38,7 +38,7 @@ class GetFolderDetailsResponse(BaseModel):
38
38
  folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
39
39
  labels: Optional[Dict[str, StrictStr]] = Field(
40
40
  default=None,
41
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
42
42
  )
43
43
  name: StrictStr = Field(description="Folder name.")
44
44
  parent: Parent
@@ -38,7 +38,7 @@ class GetProjectResponse(BaseModel):
38
38
  creation_time: datetime = Field(description="Timestamp at which the project was created.", alias="creationTime")
39
39
  labels: Optional[Dict[str, StrictStr]] = Field(
40
40
  default=None,
41
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
42
42
  )
43
43
  lifecycle_state: LifecycleState = Field(alias="lifecycleState")
44
44
  name: StrictStr = Field(description="Project name.")
@@ -37,7 +37,7 @@ class ListFoldersResponseItemsInner(BaseModel):
37
37
  folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
38
38
  labels: Optional[Dict[str, StrictStr]] = Field(
39
39
  default=None,
40
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
40
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
41
  )
42
42
  name: StrictStr = Field(description="Name of the folder.")
43
43
  parent: Parent
@@ -38,7 +38,7 @@ class ListOrganizationsResponseItemsInner(BaseModel):
38
38
  )
39
39
  labels: Optional[Dict[str, StrictStr]] = Field(
40
40
  default=None,
41
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
42
42
  )
43
43
  lifecycle_state: LifecycleState = Field(alias="lifecycleState")
44
44
  name: StrictStr = Field(description="Name of the organization.")
@@ -38,7 +38,7 @@ class OrganizationResponse(BaseModel):
38
38
  )
39
39
  labels: Optional[Dict[str, StrictStr]] = Field(
40
40
  default=None,
41
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
42
42
  )
43
43
  lifecycle_state: LifecycleState = Field(alias="lifecycleState")
44
44
  name: StrictStr = Field(description="Organization name.")
@@ -35,11 +35,11 @@ class PartialUpdateFolderPayload(BaseModel):
35
35
  )
36
36
  labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
37
37
  default=None,
38
- 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
38
+ 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
39
39
  )
40
40
  name: Optional[Annotated[str, Field(strict=True)]] = Field(
41
41
  default=None,
42
- description="New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.",
42
+ description="New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`.",
43
43
  )
44
44
  __properties: ClassVar[List[str]] = ["containerParentId", "labels", "name"]
45
45
 
@@ -52,9 +52,9 @@ class PartialUpdateFolderPayload(BaseModel):
52
52
  if not isinstance(value, str):
53
53
  value = str(value)
54
54
 
55
- if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$", value):
55
+ if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$", value):
56
56
  raise ValueError(
57
- r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$/"
57
+ r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$/"
58
58
  )
59
59
  return value
60
60
 
@@ -30,11 +30,11 @@ class PartialUpdateOrganizationPayload(BaseModel):
30
30
 
31
31
  labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
32
32
  default=None,
33
- 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
33
+ 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
34
34
  )
35
35
  name: Optional[Annotated[str, Field(strict=True)]] = Field(
36
36
  default=None,
37
- description="The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.",
37
+ description="The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`.",
38
38
  )
39
39
  __properties: ClassVar[List[str]] = ["labels", "name"]
40
40
 
@@ -47,9 +47,9 @@ class PartialUpdateOrganizationPayload(BaseModel):
47
47
  if not isinstance(value, str):
48
48
  value = str(value)
49
49
 
50
- if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$", value):
50
+ if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$", value):
51
51
  raise ValueError(
52
- r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$/"
52
+ r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$/"
53
53
  )
54
54
  return value
55
55
 
@@ -35,11 +35,11 @@ class PartialUpdateProjectPayload(BaseModel):
35
35
  )
36
36
  labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
37
37
  default=None,
38
- 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
38
+ 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 be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
39
39
  )
40
40
  name: Optional[Annotated[str, Field(strict=True)]] = Field(
41
41
  default=None,
42
- description="New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.",
42
+ description="New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`.",
43
43
  )
44
44
  __properties: ClassVar[List[str]] = ["containerParentId", "labels", "name"]
45
45
 
@@ -52,9 +52,9 @@ class PartialUpdateProjectPayload(BaseModel):
52
52
  if not isinstance(value, str):
53
53
  value = str(value)
54
54
 
55
- if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$", value):
55
+ if not re.match(r"^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$", value):
56
56
  raise ValueError(
57
- r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$/"
57
+ r"must validate the regular expression /^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$/"
58
58
  )
59
59
  return value
60
60
 
@@ -37,7 +37,7 @@ class Project(BaseModel):
37
37
  creation_time: datetime = Field(description="Timestamp at which the project was created.", alias="creationTime")
38
38
  labels: Optional[Dict[str, StrictStr]] = Field(
39
39
  default=None,
40
- description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.*',
40
+ description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.*',
41
41
  )
42
42
  lifecycle_state: LifecycleState = Field(alias="lifecycleState")
43
43
  name: StrictStr = Field(description="Project name.")