@@ -609,7 +609,12 @@ def create_or_update_cluster(
609609 self ,
610610 project_id : StrictStr ,
611611 region : StrictStr ,
612- cluster_name : StrictStr ,
612+ cluster_name : Annotated [
613+ StrictStr ,
614+ Field (
615+ description = "Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long."
616+ ),
617+ ],
613618 create_or_update_cluster_payload : CreateOrUpdateClusterPayload ,
614619 _request_timeout : Union [
615620 None ,
@@ -629,7 +634,7 @@ def create_or_update_cluster(
629634 :type project_id: str
630635 :param region: (required)
631636 :type region: str
632- :param cluster_name: (required)
637+ :param cluster_name: Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long. (required)
633638 :type cluster_name: str
634639 :param create_or_update_cluster_payload: (required)
635640 :type create_or_update_cluster_payload: CreateOrUpdateClusterPayload
@@ -684,7 +689,12 @@ def create_or_update_cluster_with_http_info(
684689 self ,
685690 project_id : StrictStr ,
686691 region : StrictStr ,
687- cluster_name : StrictStr ,
692+ cluster_name : Annotated [
693+ StrictStr ,
694+ Field (
695+ description = "Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long."
696+ ),
697+ ],
688698 create_or_update_cluster_payload : CreateOrUpdateClusterPayload ,
689699 _request_timeout : Union [
690700 None ,
@@ -704,7 +714,7 @@ def create_or_update_cluster_with_http_info(
704714 :type project_id: str
705715 :param region: (required)
706716 :type region: str
707- :param cluster_name: (required)
717+ :param cluster_name: Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long. (required)
708718 :type cluster_name: str
709719 :param create_or_update_cluster_payload: (required)
710720 :type create_or_update_cluster_payload: CreateOrUpdateClusterPayload
@@ -759,7 +769,12 @@ def create_or_update_cluster_without_preload_content(
759769 self ,
760770 project_id : StrictStr ,
761771 region : StrictStr ,
762- cluster_name : StrictStr ,
772+ cluster_name : Annotated [
773+ StrictStr ,
774+ Field (
775+ description = "Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long."
776+ ),
777+ ],
763778 create_or_update_cluster_payload : CreateOrUpdateClusterPayload ,
764779 _request_timeout : Union [
765780 None ,
@@ -779,7 +794,7 @@ def create_or_update_cluster_without_preload_content(
779794 :type project_id: str
780795 :param region: (required)
781796 :type region: str
782- :param cluster_name: (required)
797+ :param cluster_name: Use lowercase alphanumeric characters or -, must start and end with an alphanumeric character, and be between 1 and 11 characters long. (required)
783798 :type cluster_name: str
784799 :param create_or_update_cluster_payload: (required)
785800 :type create_or_update_cluster_payload: CreateOrUpdateClusterPayload
0 commit comments