
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  \R                  \R                  " \R                  R                  5       " S S\R                  5      5       5       rg	)
zIImplementation of gcloud Procurement consumer free trials create command.    )absolute_import)division)unicode_literals)apis)basec                   .    \ rS rSrSr\S 5       rS rSrg)Create   z4Creates the Free Trial resource from the Create API.c                 H    U R                  SSSS9  U R                  SSSS9  g)zfRegister flags for this command.

Args:
  parser: argparse.ArgumentParser to register arguments with.
z--provider-idTz0ID of the provider to which the product belongs.)requiredhelpz--product-external-namez1Product external name to offer the free trial of.N)add_argument)parsers    ?lib/surface/commerce_procurement/consumer/free_trials/create.pyArgsCreate.Args   s@     ?  A !@  B    c                 j    [         R                  R                  UR                  UR                  5      $ )zRuns the command.

Args:
  args: The arguments that were provided to this command invocation.

Returns:
  A Free Trial operation.
)r   
FreeTrialsr	   provider_idproduct_external_name)selfargss     r   Run
Create.Run.   s'     ??!!$"2"2D4N4NOOr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r	   r	      s!     =B B	Pr   r	   N)r!   
__future__r   r   r   +googlecloudsdk.api_lib.commerce_procurementr   googlecloudsdk.callioper   HiddenReleaseTracksReleaseTrackALPHACommandr	   r   r   r   <module>r,      s_    P &  ' < ( D%%++,PT\\ P - Pr   