
    	                     2   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                  \R                  R                  \R                  R                  5       " S S\R                  5      5       5       rg	)
z$'logging settings describe' command.    )absolute_import)division)unicode_literals)util)basec                   .    \ rS rSrSr\S 5       rS rSrg)Describe   a  Display the settings for the Cloud Logging Logs Router.

If *kmsKeyName* is present in the output, then CMEK is enabled for your
project, folder, organization or billing-account. You can also find the Logs
Router service account using this command.

## EXAMPLES

To describe the Logs Router settings for a project, run:

  $ {command} --project=[PROJECT_ID]

To describe the Logs Router settings for an organization, run:

  $ {command} --organization=[ORGANIZATION_ID]

  kmsKeyName:
  'projects/my-project/locations/my-location/keyRings/my-keyring/cryptoKeys/key'
  name: 'organizations/[ORGANIZATION_ID]/settings'
  serviceAccountId:
  '[SERVICE_ACCOUNT_ID]@gcp-sa-logging.iam.gserviceaccount.com'
c                 2    [         R                  " U S5        g)z Register flags for this command.zsettings to describeN)r   AddParentArgs)parsers    (lib/surface/logging/settings/describe.pyArgsDescribe.Args8   s     	v56    c                     [         R                  " U5      n[         R                  " 5       R                  R	                  [         R
                  " 5       R                  US95      $ )a  This is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  The settings for the specified project, folder, organizations or
  billing-account.
)name)r   GetParentFromArgs	GetClientprojectsGetSettingsGetMessages!LoggingProjectsGetSettingsRequest)selfargsparent_names      r   RunDescribe.Run=   sP     ((.K>>$$00<<+<NP Pr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r	   r	      s!    . 7 7Pr   r	   N)r$   
__future__r   r   r   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   UniverseCompatibleReleaseTracksReleaseTrackALPHABETAGADescribeCommandr	   r   r   r   <module>r1      s     + '  ' / ( T..33T5F5F5I5I+Pt## +P +Pr   