
                             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Z ej                   ej                  ej                  j                         G d dej                                      Zy	)
z$Command to get the billing metadata.    )clients)base)	constants)flags)parsingc                   &    e Zd ZdZed        Zd Zy)Describea~  Get the billing metadata for a specific resource.

  Get the billing metadata for a given Google Cloud resource,
  including the associated billing account, cost-related settings, and
  other relevant information.

  ## EXAMPLES

  To get the details of a billing metadata for organization `123`, run:

    $ {command} --organization=123

  To get the details of a billing metadata for project `456`, run:

    $ {command} --project=456

  You can also specify the parent more generally for organizations:

    $ {command} --parent=organizations/123

  Or you can specify the parent for projects:

    $ {command} --parent=projects/123
  c                 N    t        j                  d      j                  |        y )NT)required)r   CreateFlagForParentAddToParser)parsers    3lib/surface/scc/manage/billing_metadata/describe.pyArgszDescribe.Args4   s    	t,88@    c                     t        j                  |t        j                  j                        }t        j                         }|j                  |      S )N)r   GetModuleNamePathFromArgsr   CustomModuleTypeBILLING_METADATAr   BillingMetadataClientGet)selfargsnameclients       r   RunzDescribe.Run8   sB    ,,i((99D **,F::dr   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r	   r	      s"    2 A Ar   r	   N)r    2googlecloudsdk.api_lib.scc.manage.billing_metadatar   googlecloudsdk.callioper   %googlecloudsdk.command_lib.scc.manager   r   r   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHADescribeCommandr	   r"   r   r   <module>r+      sa    + F ( ; 7 9 D%%++,%t## % - %r   