
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	c m
c mc mc mZ ddlm	c m
c mc mc mZ d Zd Zd	 Zd
 Zy)z8Declarative hooks for TelcoAutomation surface arguments.    )absolute_import)division)unicode_literals)baseNc                    |j                   }|rt        |      }|j                  |_        |j                  |_        |j                  |_        |j                  |_        |j                  |_	        |j                  |_        |j                  |_        t        |      |_        |j                   |j                  _        ||j$                  j&                  _        d|j$                  j&                  _        |S )z3Update request to add management config parameters.N)full_management_config!GetVersionedFullMaanagementConfignetworksubnetmaster_ipv4_cidr_blockmasterIpv4CidrBlockcluster_cidr_blockclusterCidrBlockservices_cidr_blockservicesCidrBlockcluster_named_rangeclusterNamedRangeservices_named_rangeservicesNamedRange*GetVersionedMasterAuthorizedNetworksConfigmasterAuthorizedNetworksConfigcidr_blocks
cidrBlocksorchestrationClustermanagementConfigfullManagementConfigstandardManagementConfig)
unused_refargsrequestfullmanagementconfigfullmanagementconfigobjects        8lib/googlecloudsdk/command_lib/telco_automation/hooks.pyUpdateRequestWithInputr$      s    44!B4!H)-&(,%595P5P2262I2I/373K3K0373K3K0484M4M1248 = 	 ==H 	#   11F 	   11J 
.    c                 r    t        |       }|dk(  rt        j                         S t        j                         S Nv1alpha1)GetApiVersionAlphaConfigFullManagementConfigGAConfigr   versions     r#   r	   r	   5   s2    $'
++--((**r%   c                 r    t        |       }|dk(  rt        j                         S t        j                         S r'   )r)   r*   MasterAuthorizedNetworksConfigr,   r-   s     r#   r   r   =   s2    $'
55772244r%   c                     t        | d      r6| j                  j                         t        j                  j                  k(  ryy)Ncalliope_commandv1r(   )hasattrr2   ReleaseTrackcalliope_baseGA)r   s    r#   r)   r)   E   s6    d&'



,
,
.-2L2L2O2O
Or%   )__doc__
__future__r   r   r   googlecloudsdk.callioper   r6   Tgooglecloudsdk.generated_clients.apis.telcoautomation.v1.telcoautomation_v1_messagesgenerated_clientsapistelcoautomationr3   telcoautomation_v1_messagesr,   `googlecloudsdk.generated_clients.apis.telcoautomation.v1alpha1.telcoautomation_v1alpha1_messagesr(   !telcoautomation_v1alpha1_messagesr*   r$   r	   r   r)    r%   r#   <module>rC      s<    ? &  ' 9 g g g v v v6+5r%   