
                             S r SSKrSSKJr  SSKJr  SSKJr  \R                  " SSSS	9\R                  " \R                  R                  5      \R                   " S
 S\R                  5      5       5       5       r\R                  " SSSS	9\R                  " \R                  R                  \R                  R                  5       " S S\5      5       5       rg)z6List command for gcloud debug logpoints command group.    N)arg_parsers)base)searchFzPThis command is deprecated. Please use `gcloud dataplex entries search` instead.zSThis command has been removed. Please use `gcloud dataplex entries search` instead.)
is_removedwarningerrorc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Search   z5Search Data Catalog for resources that match a query.zF          Search Data Catalog for resources that match a query.
      a            To search project 'my-project' for Data Catalog resources that
          match the simple predicate 'foo':

            $ {command} 'foo' --include-project-ids=my-project

          To search organization '1234' for Data Catalog resources that
          match entities whose names match the predicate 'foo':

            $ {command} 'name:foo' --include-organization-ids=1234
      )DESCRIPTIONEXAMPLESc           	         U R                  SSS9  U R                  S[        R                  " S[        R                  SS9S[
        R                  S	S
9  U R                  S[        R                  " S[        R                  SS9S[
        R                  SS
9  U R                  SS[
        R                  SS9  U R                  SSS9nUR                  SSSS9  UR                  S[        R                  " 5       SSS9  UR                  S[        R                  " 5       SSS9  UR                  S[        R                  " 5       SSS9  g ) Nqueryz            Query string in search query syntax in Data Catalog. For more
            information, see:
            https://cloud.google.com/data-catalog/docs/how-to/search-reference
        )helpz--limit   T)	unlimitedFzU            Maximum number of resources to list. The default is *unlimited*.
        )typerequire_coverage_in_testscategoryr   z--page-sizez            Some services group resource list output into pages. This flag specifies
            the maximum number of resources per page.
        z
--order-bya              Specifies the ordering of results. Defaults to 'relevance'.

            Currently supported case-sensitive choices are:

                *  relevance
                *  last_access_timestamp [asc|desc]: defaults to descending.
                *  last_modified_timestamp [asc|desc]: defaults to descending.

            To order by last modified timestamp ascending, specify:
            `--order-by="last_modified_timestamp desc"`.
        )r   r   r   z'Scope. Control the scope of the search.)requiredz--include-gcp-public-datasets
store_truezn            If True, include Google Cloud Platform public datasets in the search
            results.
        )actionr   z--include-project-idsPROJECTzH            List of Cloud Project IDs to include in the search.
        )r   metavarr   z--include-organization-idsORGANIZATIONzM            List of Cloud Organization IDs to include in the search.
        z--restricted-locationsLOCATIONz8            List of locations to search within.
        )	add_argumentr   
BoundedIntsysmaxsizer   LIST_COMMAND_FLAGSadd_argument_groupArgList)parserscope_groups     "lib/surface/data_catalog/search.pyArgsSearch.Args;   s   
   ##As{{dC"'((   ##As{{dC"'((  	 "'((	  $ ++1D , K '     "	   $  "	      "	      c                 2    Sn[         R                  " X5      $ )Run the search command.v1r   r
   selfargsversion_labels      r&   Run
Search.Run   s    M==--r)    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr'   r2   __static_attributes__r4   r)   r&   r
   r
      s4     >


	-" S Sj.r)   r
   c                   2    \ rS rSr\R
                  rS rSrg)
SearchBeta   c                 2    Sn[         R                  " X5      $ )r+   v1beta1r-   r.   s      r&   r2   SearchBeta.Run   s    M==--r)   r4   N)r5   r6   r7   r8   r
   r9   r2   r<   r4   r)   r&   r>   r>      s     NN'.r)   r>   )r9   r   googlecloudsdk.callioper   r   'googlecloudsdk.command_lib.data_catalogr   	DeprecateReleaseTracksReleaseTrackGADefaultUniverseOnlyCommandr
   ALPHABETAr>   r4   r)   r&   <module>rM      s     =  / ( : 	?	?
 D%%(()m.T\\ m.  *
m.` 	?	?
 D%%++T->->-C-CD. . E
.r)   