
                             S r SrSrS rS rg)z Utilities for services commands.z	services/zgroups/c                     U R                  [        5      (       d	  [        U -   n UR                  [        5      (       d	  [        U-   nU  SU 3$ )zConstructs the group resource name.

Args:
  service: The service name.
  group: The group name.

Returns:
  The full group resource name.
/)
startswith_SERVICE_RESOURCE_GROUP_RESOURCE)servicegroups     /lib/googlecloudsdk/command_lib/services/util.pyGetGroupNamer
      sL     
		-	.	.')G			/	*	*e#E9AeW	    c                     [        X5      nUR                  S5      n[        U5      S:H  =(       a    US   S:H  =(       a    US   S:H  $ )zValidates the group name.

Args:
  service: The service name.
  group: The group name.

Returns:
  True if the group name is valid, False otherwise.
r          services   groups)r
   splitlen)r   r   
group_namesplit_group_names       r	   IsValidGroupNamer   '   sV     G+*%%c*	
q  *
1

+*
1

)r   N)__doc__r   r   r
   r    r   r	   <module>r      s!    '   "r   