
    6	                     n   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
  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\R0                  5      5       5       rg)z1`gcloud dataplex entries update-aspects` command.    )absolute_import)division)unicode_literals)entry)
exceptions)base)parser_arguments)parser_extensions)flags)resource_argsc                       \ rS rSrSrSS0r\S\R                  4S j5       r	\
R                  " S5      S\R                  4S	 j5       rS
rg)UpdateAspects   z+Add or update aspects for a Dataplex Entry.EXAMPLESaA  
          To add or update aspects for the Dataplex entry `entry1` within the entry group `entry-group1` in location `us-central1` from the YAML/JSON file, run:

            $ {command} entry1 --project=test-project --location=us-central1 --entry-group entry-group1 --aspects=path-to-a-file-with-aspects.json

          parserc                 ^    [         R                  " U 5        [        R                  " U SS SS9  g )NaspectsT)update_aspects_nameremove_aspects_namerequired)r   AddEntryResourceArgr   AddAspectFlags)r   s    .lib/surface/dataplex/entries/update_aspects.pyArgsUpdateAspects.Args/   s*    %%f-	% 	    z-Status code: {status_code}. {status_message}.argsc                 ,    [         R                  " USS9$ )Nr   )update_aspects_arg_name)	entry_apiUpdate)selfr   s     r   RunUpdateAspects.Run:   s    
 D)DDr    N)__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr	   ArgumentInterceptorr   gcloud_exception CatchHTTPErrorRaiseHTTPExceptionr
   	Namespacer#   __static_attributes__r%   r   r   r   r      sm    
 4  - #77   445E'11 EEr   r   N)r*   
__future__r   r   r   googlecloudsdk.api_lib.dataplexr   r    googlecloudsdk.api_lib.utilr   r.   googlecloudsdk.callioper   r	   r
   #googlecloudsdk.command_lib.dataplexr   r   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHABETAGAUpdateCommandr   r%   r   r   <module>r>      s    8 &  ' > F ( 4 5 5 = T..33T5F5F5I5IED&& E Er   