
    A                        S r SSKrSSKJrJrJr  SSKJr  SSKJ	r	  SSK
Jr  SSK
Jr  Sr\	R                  " \	R                   R"                  5      \	R$                   " S	 S
\R&                  \	R(                  5      5       5       rg)zACommand to commit conversion workspaces for a database migration.    N)AnyDict	Generator)resource_args)base)command_mixin)flagsd   c                       \ rS rSrSrSSS.r\S\R                  SS4S	 j5       r	S
\R                  S\\\\4   SS4   4S jrSrg)DescribeIssues   zEDescribe issues in a Database Migration Service conversion workspace.zf
        Describe database entity issues in a Database Migration Services conversion workspace.
      z          To describe the database entity issues in a conversion workspace
          in a project and location `us-central1`, run:

              $ {command} my-conversion-workspace --region=us-central1
      )DESCRIPTIONEXAMPLESparserreturnNc                    [         R                  " U S5        [        R                  " U 5        [        R                  " U 5        [
        R                  R                  U [        5        U R                  R                  S5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command. Positional arguments are allowed.
zto describe issuesaF  
          table(
            parentEntity:label=PARENT,
            shortName:label=NAME,
            entityType:label=ENTITY_TYPE,
            issueType:label=ISSUE_TYPE,
            issueSeverity:label=ISSUE_SEVERITY,
            issueCode:label=ISSUE_CODE,
            issueMessage:label=ISSUE_MESSAGE
          )
        N)r   !AddConversionWorkspaceResourceArgcw_flagsAddCommitIdFlagAddUncommittedFlagr   PAGE_SIZE_FLAG
SetDefault_DEFAULT_PAGE_SIZEdisplay_info	AddFormat)r   s    Glib/surface/database_migration/conversion_workspaces/describe_issues.pyArgsDescribeIssues.Args0   sf     33$ V$'""6+=>
!! 
# 
    argsc           	         UR                   R                  R                  5       nU R                  R                  R                  UR                  5       UR                  UR                  U R                  U5      UR                  S5      S9$ )a  Describe the database entity issues for a DMS conversion workspace.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
    with.

Returns:
  A list of database entity issues for the specified conversion workspace
  and arguments.
	page_size)name	commit_iduncommittedfilter_exprr"   )CONCEPTSconversion_workspaceParsecliententitiesr   RelativeNamer$   r%   ExtractBackendFilterGetValue)selfr    conversion_workspace_refs      r   RunDescribeIssues.RunK   su      $}}AAGGI;;..%224..$$--d3--, /  r    )__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodargparseArgumentParserr   	Namespacer   r   strr   r1   __static_attributes__r3   r   r   r   r      sr     N

	
- 8** t  4 c3ht+,r   r   )r8   r;   typingr   r   r   )googlecloudsdk.api_lib.database_migrationr   googlecloudsdk.callioper   Cgooglecloudsdk.command_lib.database_migration.conversion_workspacesr   r	   r   r   ReleaseTracksReleaseTrackGADefaultUniverseOnly ConversionWorkspacesCommandMixinListCommandr   r3   r   r   <module>rJ      sy    H  ' ' C ( ] a  D%%(()B22B  *Br   