
    $                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z9Generated client library for toolresults version v1beta3.    )absolute_import)base_api)toolresults_v1beta3_messagesc                   :  ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     S$U 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S \R(                  5      r " S! S"\R(                  5      rS#r U =r!$ )%ToolresultsV1beta3
   zAGenerated client library for service toolresults version v1beta3.z#https://toolresults.googleapis.com/z(https://toolresults.mtls.googleapis.com/toolresultsz.https://www.googleapis.com/auth/cloud-platformv1beta3	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 D  > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        U R)                  U 5      U l        U R-                  U 5      U l        U R1                  U 5      U l        g)z Create a new toolresults handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__*ProjectsHistoriesExecutionsClustersService&projects_histories_executions_clusters.ProjectsHistoriesExecutionsEnvironmentsService*projects_histories_executions_environments9ProjectsHistoriesExecutionsStepsPerfMetricsSummaryService6projects_histories_executions_steps_perfMetricsSummary>ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService<projects_histories_executions_steps_perfSampleSeries_samples7ProjectsHistoriesExecutionsStepsPerfSampleSeriesService4projects_histories_executions_steps_perfSampleSeries0ProjectsHistoriesExecutionsStepsTestCasesService-projects_histories_executions_steps_testCases1ProjectsHistoriesExecutionsStepsThumbnailsService.projects_histories_executions_steps_thumbnails'ProjectsHistoriesExecutionsStepsService#projects_histories_executions_steps"ProjectsHistoriesExecutionsServiceprojects_histories_executionsProjectsHistoriesServiceprojects_historiesProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               [lib/googlecloudsdk/generated_clients/apis/toolresults/v1beta3/toolresults_v1beta3_client.pyr   ToolresultsV1beta3.__init__   sB    
C	
d,'%)3 7+ - - 372a2abf2gD/6:6i6ijn6oD3BF  CA  CA  BF  CGD?HL  IL  IL  MQ  IRDE@D@|@|  ~B  ACD=9=9n9nos9tD6:>:p:pqu:vD7/3/[/[\`/aD,)-)P)PQU)VD&";;DAD((.DM    c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )=ToolresultsV1beta3.ProjectsHistoriesExecutionsClustersService6   zFService class for the projects_histories_executions_clusters resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr1   clientr3   s     r4   r   FToolresultsV1beta3.ProjectsHistoriesExecutionsClustersService.__init__;   s$    II4YZ`adr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves a single screenshot cluster by its ID.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsClustersGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ScreenshotCluster) The response message.
Getglobal_paramsGetMethodConfig
_RunMethodr1   requestrC   configs       r4   rA   AToolresultsV1beta3.ProjectsHistoriesExecutionsClustersService.Get@   /     ##E*f__
  8 8r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NGETz6toolresults.projects.histories.executions.clusters.get)	projectId	historyIdexecutionId	clusterId)rQ   rP   rO   rN   zltoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId} 8ToolresultsProjectsHistoriesExecutionsClustersGetRequestScreenshotClusterF
http_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r6   r4   <lambda>FToolresultsV1beta3.ProjectsHistoriesExecutionsClustersService.<lambda>M   s0     6 6JMJ ET.!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists Screenshot Clusters Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are created from a set of screenshots. Between any two screenshots, a matching score is calculated based off their metadata that determines how similar they are. Screenshots are placed in the cluster that has screens which have the highest matching scores.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsClustersListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListScreenshotClustersResponse) The response message.
ListrB   rD   rG   s       r4   rf   BToolresultsV1beta3.ProjectsHistoriesExecutionsClustersService.ListZ   /     ##F+f__
  8 8r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   z7toolresults.projects.histories.executions.clusters.listrN   rO   rP   rP   rO   rN   z`toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clustersrR   9ToolresultsProjectsHistoriesExecutionsClustersListRequestListScreenshotClustersResponseFrU   r`   rb   r6   r4   rc   rd   g   s-    !7!7K@=xU;"r6   r<   r;   __name__
__module____qualname____firstlineno____doc___NAMEr   rA   method_configrf   __static_attributes____classcell__r3   s   @r4   r   r8   6   s1    P4E
8C8Dr6   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )AToolresultsV1beta3.ProjectsHistoriesExecutionsEnvironmentsServicet   zJService class for the projects_histories_executions_environments resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r   r   r<   r=   s     r4   r   JToolresultsV1beta3.ProjectsHistoriesExecutionsEnvironmentsService.__init__y   s$    MMt]^dedr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsEnvironmentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Environment) The response message.
rA   rB   rD   rG   s       r4   rA   EToolresultsV1beta3.ProjectsHistoriesExecutionsEnvironmentsService.Get~   rK   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   z:toolresults.projects.histories.executions.environments.get)rN   rO   rP   environmentId)r   rP   rO   rN   zttoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}rR   <ToolresultsProjectsHistoriesExecutionsEnvironmentsGetRequestEnvironmentFrU   r`   rb   r6   r4   rc   JToolresultsV1beta3.ProjectsHistoriesExecutionsEnvironmentsService.<lambda>   s0     6 6NQN MX(!r6   c                 D    U R                  S5      nU R                  X1US9$ )a$  Lists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsEnvironmentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListEnvironmentsResponse) The response message.
rf   rB   rD   rG   s       r4   rf   FToolresultsV1beta3.ProjectsHistoriesExecutionsEnvironmentsService.List   rh   r6   c                  H    [         R                  " SS/ SQ/ SQSS/SSS	S
SS9
$ )NrM   z;toolresults.projects.histories.executions.environments.listrj   rk   pageSize	pageTokenzdtoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environmentsrR   =ToolresultsProjectsHistoriesExecutionsEnvironmentsListRequestListEnvironmentsResponseFrU   r`   rb   r6   r4   rc   r      s2    !7!7O@= +.|Y5"r6   rn   r;   ro   ry   s   @r4   r   r{   t   s1    T8E
8C8Dr6   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	LToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfMetricsSummaryService   zVService class for the projects_histories_executions_steps_perfMetricsSummary resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r   r   r<   r=   s     r4   r   UToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfMetricsSummaryService.__init__   s%    XXZ^hiopdr6   c                 D    U R                  S5      nU R                  X1US9$ )aw  Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist.

Args:
  request: (PerfMetricsSummary) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PerfMetricsSummary) The response message.
CreaterB   rD   rG   s       r4   r   SToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfMetricsSummaryService.Create   /     ##H-f__
  8 8r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSSS	9
$ )
NPOSTzItoolresults.projects.histories.executions.steps.perfMetricsSummary.createrN   rO   rP   stepIdrP   rO   rN   r   ytoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary	<request>PerfMetricsSummaryFrU   r`   rb   r6   r4   rc   UToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfMetricsSummaryService.<lambda>   s0    8#9#9]JG R!./$r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   r   rv   rw   rx   ry   s   @r4   r   r      s"    `DE
8Fr6   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )QToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService   z\Service class for the projects_histories_executions_steps_perfSampleSeries_samples resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r!   r   r<   r=   s     r4   r   ZToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService.__init__   s%    ]]_cmntudr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BatchCreatePerfSamplesResponse) The response message.
BatchCreaterB   rD   rG   s       r4   r   ]ToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService.BatchCreate   /     ##M2f__
  8 8r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )Nr   zTtoolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreaterN   rO   rP   r   sampleSeriesIdrP   rO   rN   r   r   ztoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreatebatchCreatePerfSamplesRequestTToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateRequestBatchCreatePerfSamplesResponseFrU   r`   rb   r6   r4   rc   ZToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService.<lambda>   s0    (>(>h\Y u5p;)r6   c                 D    U R                  S5      nU R                  X1US9$ )aG  Lists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum size allowed 5000 - The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND - The containing PerfSampleSeries does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListPerfSamplesResponse) The response message.
rf   rB   rD   rG   s       r4   rf   VToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesService.List   rh   r6   c                  H    [         R                  " SS/ SQ/ SQSS/SSS	S
SS9
$ )NrM   zMtoolresults.projects.histories.executions.steps.perfSampleSeries.samples.listr   r   r   r   ztoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samplesrR   MToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListRequestListPerfSamplesResponseFrU   r`   rb   r6   r4   rc   r     s5    !7!7a\Y +. ii4"r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   r   rv   rf   rw   rx   ry   s   @r4   r!   r      s1    fJE
8!K8Dr6   r!   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )JToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesServicei  zTService class for the projects_histories_executions_steps_perfSampleSeries resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r#   r   r<   r=   s     r4   r   SToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesService.__init__  s%    VVX\fgmndr6   c                 D    U R                  S5      nU R                  X1US9$ )av  Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist.

Args:
  request: (PerfSampleSeries) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PerfSampleSeries) The response message.
r   rB   rD   rG   s       r4   r   QToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesService.Create  r   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSSS	9
$ )
Nr   zGtoolresults.projects.histories.executions.steps.perfSampleSeries.creater   r   wtoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeriesr   PerfSampleSeriesFrU   r`   rb   r6   r4   rc   SToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesService.<lambda>+  s0    8#9#9[JG P!,-$r6   c                 D    U R                  S5      nU R                  X1US9$ )al  Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PerfSampleSeries) The response message.
rA   rB   rD   rG   s       r4   rA   NToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesService.Get8  rK   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   zDtoolresults.projects.histories.executions.steps.perfSampleSeries.getr   r   ztoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}rR   EToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesGetRequestr   FrU   r`   rb   r6   r4   rc   r   E  s0     6 6X\Y aa-!r6   c                 D    U R                  S5      nU R                  X1US9$ )a;  Lists PerfSampleSeries for a given Step. The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting PerfSampleSeries are sorted by ids. May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListPerfSampleSeriesResponse) The response message.
rf   rB   rD   rG   s       r4   rf   OToolresultsV1beta3.ProjectsHistoriesExecutionsStepsPerfSampleSeriesService.ListR  rh   r6   c                  F    [         R                  " SS/ SQ/ SQS/SSSS	S
S9
$ )NrM   zEtoolresults.projects.histories.executions.steps.perfSampleSeries.listr   r   filterr   rR   FToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesListRequestListPerfSampleSeriesResponseFrU   r`   rb   r6   r4   rc   r   _  s2    !7!7YJGZ Pb9"r6   rn   r;   rp   rq   rr   rs   rt   ru   r   r   rv   rA   rf   rw   rx   ry   s   @r4   r#   r     s@    ^BE
8F8C8Dr6   r#   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )CToolresultsV1beta3.ProjectsHistoriesExecutionsStepsTestCasesServiceil  zMService class for the projects_histories_executions_steps_testCases resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r%   r   r<   r=   s     r4   r   LToolresultsV1beta3.ProjectsHistoriesExecutionsStepsTestCasesService.__init__q  s%    OOQU_`fgdr6   c                 D    U R                  S5      nU R                  X1US9$ )a$  Gets details of a Test Case for a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Test Case does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsTestCasesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestCase) The response message.
rA   rB   rD   rG   s       r4   rA   GToolresultsV1beta3.ProjectsHistoriesExecutionsStepsTestCasesService.Getv  rK   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   z=toolresults.projects.histories.executions.steps.testCases.get)rN   rO   rP   r   
testCaseId)rP   rO   rN   r   r   z}toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}rR   >ToolresultsProjectsHistoriesExecutionsStepsTestCasesGetRequestTestCaseFrU   r`   rb   r6   r4   rc   LToolresultsV1beta3.ProjectsHistoriesExecutionsStepsTestCasesService.<lambda>  s0     6 6QXU VZ%!r6   c                 D    U R                  S5      nU R                  X1US9$ )a*  Lists Test Cases attached to a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Step does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsTestCasesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListTestCasesResponse) The response message.
rf   rB   rD   rG   s       r4   rf   HToolresultsV1beta3.ProjectsHistoriesExecutionsStepsTestCasesService.List  rh   r6   c                  H    [         R                  " SS/ SQ/ SQSS/SSS	S
SS9
$ )NrM   z>toolresults.projects.histories.executions.steps.testCases.listr   r   r   r   zptoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCasesrR   ?ToolresultsProjectsHistoriesExecutionsStepsTestCasesListRequestListTestCasesResponseFrU   r`   rb   r6   r4   rc   r     s5    !7!7RJG +. I[2"r6   rn   r;   ro   ry   s   @r4   r%   r   l  s1    W;E
8C8Dr6   r%   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	DToolresultsV1beta3.ProjectsHistoriesExecutionsStepsThumbnailsServicei  zNService class for the projects_histories_executions_steps_thumbnails resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r'   r   r<   r=   s     r4   r   MToolresultsV1beta3.ProjectsHistoriesExecutionsStepsThumbnailsService.__init__  s%    PPRV`aghdr6   c                 D    U R                  S5      nU R                  X1US9$ )a;  Lists thumbnails of images attached to a step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsThumbnailsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListStepThumbnailsResponse) The response message.
rf   rB   rD   rG   s       r4   rf   IToolresultsV1beta3.ProjectsHistoriesExecutionsStepsThumbnailsService.List  rh   r6   c                  H    [         R                  " SS/ SQ/ SQSS/SSS	S
SS9
$ )NrM   z?toolresults.projects.histories.executions.steps.thumbnails.listr   r   r   r   zqtoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnailsrR   @ToolresultsProjectsHistoriesExecutionsStepsThumbnailsListRequestListStepThumbnailsResponseFrU   r`   rb   r6   r4   rc   MToolresultsV1beta3.ProjectsHistoriesExecutionsStepsThumbnailsService.<lambda>  s5    !7!7SJG +. J\7"r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   rf   rv   rw   rx   ry   s   @r4   r'   r     s"    X<E
8Dr6   r'   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ ):ToolresultsV1beta3.ProjectsHistoriesExecutionsStepsServicei  zCService class for the projects_histories_executions_steps resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r)   r   r<   r=   s     r4   r   CToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.__init__  s$    FFVW]^dr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists accessibility clusters for a given Step May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if the locale format is incorrect - NOT_FOUND - if the containing Step does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsAccessibilityClustersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListStepAccessibilityClustersResponse) The response message.
AccessibilityClustersrB   rD   rG   s       r4   r   PToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.AccessibilityClusters  0     ##$;<f__
  8 8r6   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nztoolresults/v1beta3/projects/{projectsId}/histories/{historiesId}/executions/{executionsId}/steps/{stepsId}:accessibilityClustersrM   zEtoolresults.projects.histories.executions.steps.accessibilityClustersnamelocalez1toolresults/v1beta3/{+name}:accessibilityClustersrR   GToolresultsProjectsHistoriesExecutionsStepsAccessibilityClustersRequest%ListStepAccessibilityClustersResponseF)	flat_pathrV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   rb   r6   r4   rc   CToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.<lambda>  s9    (2H2H VYxHZIcB3r6   c                 D    U R                  S5      nU R                  X1US9$ )a3  Creates a Step. The returned Step will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Step) The response message.
r   rB   rD   rG   s       r4   r   AToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.Create  r   r6   c                  F    [         R                  " SS/ SQ/ SQS/SSSS	S
S9
$ )Nr   z6toolresults.projects.histories.executions.steps.createrj   rk   	requestId]toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/stepsstep8ToolresultsProjectsHistoriesExecutionsStepsCreateRequestStepFrU   r`   rb   r6   r4   rc   r      s/    8#9#9J@=!]uT!$r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets a Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Step) The response message.
rA   rB   rD   rG   s       r4   rA   >ToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.Get  rK   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   z3toolresults.projects.histories.executions.steps.getr   r   ftoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}rR   5ToolresultsProjectsHistoriesExecutionsStepsGetRequestr   FrU   r`   rb   r6   r4   rc   r     s-     6 6GJG~Q!!r6   c                 D    U R                  S5      nU R                  X1US9$ )ay  Retrieves a PerfMetricsSummary. May return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PerfMetricsSummary) The response message.
GetPerfMetricsSummaryrB   rD   rG   s       r4   r  PToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.GetPerfMetricsSummary'  r   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   zEtoolresults.projects.histories.executions.steps.getPerfMetricsSummaryr   r   r   rR   GToolresultsProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryRequestr   FrU   r`   rb   r6   r4   rc   r   4  s0    (2H2HYJG Rc/3r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists Steps for a given Execution. The steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListStepsResponse) The response message.
rf   rB   rD   rG   s       r4   rf   ?ToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.ListA  rh   r6   c                  H    [         R                  " SS/ SQ/ SQSS/SSS	S
SS9
$ )NrM   z4toolresults.projects.histories.executions.steps.listrj   rk   r   r   r   rR   6ToolresultsProjectsHistoriesExecutionsStepsListRequestListStepsResponseFrU   r`   rb   r6   r4   rc   r   N  s2    !7!7H@= +.uR."r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates an existing Step with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to upload a duplicate xml file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Step) The response message.
PatchrB   rD   rG   s       r4   r  @ToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.Patch[  /     ##G,f__
  8 8r6   c                  F    [         R                  " SS/ SQ/ SQS/SSSS	S
S9
$ )NPATCHz5toolresults.projects.histories.executions.steps.patchr   r   r   r   r   7ToolresultsProjectsHistoriesExecutionsStepsPatchRequestr   FrU   r`   rb   r6   r4   rc   r   h  s/    ("8"8IJG!]~S!#r6   c                 D    U R                  S5      nU R                  X1US9$ )am  Publish xml files to an existing Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal, e.g. try to upload a duplicate xml file or a file too large. - NOT_FOUND - if the containing Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsStepsPublishXunitXmlFilesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Step) The response message.
PublishXunitXmlFilesrB   rD   rG   s       r4   r  OToolresultsV1beta3.ProjectsHistoriesExecutionsStepsService.PublishXunitXmlFilesu  s0     ##$:;f__
  8 8r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )Nr   zDtoolresults.projects.histories.executions.steps.publishXunitXmlFilesr   r   z{toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFilespublishXunitXmlFilesRequestFToolresultsProjectsHistoriesExecutionsStepsPublishXunitXmlFilesRequestr   FrU   r`   rb   r6   r4   rc   r     s0    1G1GXJG T3b!2r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   r   rv   r   rA   r  rf   r  r  rw   rx   ry   s   @r4   r)   r     s    M1E
8+'8F8C8+'8D8E8*&&r6   r)   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )5ToolresultsV1beta3.ProjectsHistoriesExecutionsServicei  z=Service class for the projects_histories_executions resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r+   r   r<   r=   s     r4   r   >ToolresultsV1beta3.ProjectsHistoriesExecutionsService.__init__  s$    AA4QRXYdr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Execution) The response message.
r   rB   rD   rG   s       r4   r   <ToolresultsV1beta3.ProjectsHistoriesExecutionsService.Create  r   r6   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )Nr   z0toolresults.projects.histories.executions.createrN   rO   r   Itoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions	execution3ToolresultsProjectsHistoriesExecutionsCreateRequest	ExecutionFrU   r`   rb   r6   r4   rc   >ToolresultsV1beta3.ProjectsHistoriesExecutionsService.<lambda>  s9    8#9#9D#[1 +.!]a!O&$r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Execution) The response message.
rA   rB   rD   rG   s       r4   rA   9ToolresultsV1beta3.ProjectsHistoriesExecutionsService.Get  rK   r6   c                  D    [         R                  " SS/ SQ/ SQ/ SSSSS	S
9
$ )NrM   z-toolresults.projects.histories.executions.getrj   rk   Wtoolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}rR   0ToolresultsProjectsHistoriesExecutionsGetRequestr!  FrU   r`   rb   r6   r4   rc   r"    s-     6 6A@=oL&!r6   c                 D    U R                  S5      nU R                  X1US9$ )az  Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListExecutionsResponse) The response message.
rf   rB   rD   rG   s       r4   rf   :ToolresultsV1beta3.ProjectsHistoriesExecutionsService.List  rh   r6   c                  H    [         R                  " SSSS/SS/SS/SSS	S
SS9
$ )NrM   z.toolresults.projects.histories.executions.listrN   rO   r   r   r  rR   1ToolresultsProjectsHistoriesExecutionsListRequestListExecutionsResponseFrU   r`   rb   r6   r4   rc   r"    s<    !7!7B#[1 +. +.aM3"r6   c                 D    U R                  S5      nU R                  X1US9$ )a:  Updates an existing Execution with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist.

Args:
  request: (ToolresultsProjectsHistoriesExecutionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Execution) The response message.
r  rB   rD   rG   s       r4   r  ;ToolresultsV1beta3.ProjectsHistoriesExecutionsService.Patch  r  r6   c                  F    [         R                  " SS/ SQ/ SQS/SSSS	S
S9
$ )Nr  z/toolresults.projects.histories.executions.patchrj   rk   r   r&  r  2ToolresultsProjectsHistoriesExecutionsPatchRequestr!  FrU   r`   rb   r6   r4   rc   r"    s/    ("8"8C@=!]o!N&#r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   r   rv   rA   rf   r  rw   rx   ry   s   @r4   r+   r    sO    G+E
8F8C8D8Er6   r+   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )+ToolresultsV1beta3.ProjectsHistoriesServicei  z2Service class for the projects_histories resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r-   r   r<   r=   s     r4   r   4ToolresultsV1beta3.ProjectsHistoriesService.__init__  s#    77GOdr6   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist.

Args:
  request: (ToolresultsProjectsHistoriesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (History) The response message.
r   rB   rD   rG   s       r4   r   2ToolresultsV1beta3.ProjectsHistoriesService.Create  r   r6   c                  B    [         R                  " SSS/S/S/SSSSS	S
9
$ )Nr   z%toolresults.projects.histories.createrN   r   2toolresults/v1beta3/projects/{projectId}/historieshistory)ToolresultsProjectsHistoriesCreateRequestHistoryFrU   r`   rb   r6   r4   rc   4ToolresultsV1beta3.ProjectsHistoriesService.<lambda>  s3    8#9#99#} M!]JE$$r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist.

Args:
  request: (ToolresultsProjectsHistoriesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (History) The response message.
rA   rB   rD   rG   s       r4   rA   /ToolresultsV1beta3.ProjectsHistoriesService.Get%  rK   r6   c                  D    [         R                  " SSSS/SS// SSSSS	S
9
$ )NrM   z"toolresults.projects.histories.getrN   rO   z>toolresults/v1beta3/projects/{projectId}/histories/{historyId}rR   &ToolresultsProjectsHistoriesGetRequestr;  FrU   r`   rb   r6   r4   rc   r<  2  s7     6 66#[1 +.VB$!r6   c                 D    U R                  S5      nU R                  X1US9$ )ae  Lists Histories for a given Project. The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist.

Args:
  request: (ToolresultsProjectsHistoriesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListHistoriesResponse) The response message.
rf   rB   rD   rG   s       r4   rf   0ToolresultsV1beta3.ProjectsHistoriesService.List?  rh   r6   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )NrM   z#toolresults.projects.histories.listrN   )filterByNamer   r   r8  rR   'ToolresultsProjectsHistoriesListRequestListHistoriesResponseFrU   r`   rb   r6   r4   rc   r<  L  s1    !7!77#} M>JC2"r6   rn   r;   r   ry   s   @r4   r-   r2    s@    < E
8F8C8Dr6   r-   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )"ToolresultsV1beta3.ProjectsServiceiY  z(Service class for the projects resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r/   r   r<   r=   s     r4   r   +ToolresultsV1beta3.ProjectsService.__init__^  s#    ..>vFdr6   c                 D    U R                  S5      nU R                  X1US9$ )au  Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project.

Args:
  request: (ToolresultsProjectsGetSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProjectSettings) The response message.
GetSettingsrB   rD   rG   s       r4   rL  .ToolresultsV1beta3.ProjectsService.GetSettingsc  r   r6   c                  @    [         R                  " SSS/S// SSSSSS	9
$ )
NrM   z toolresults.projects.getSettingsrN   z1toolresults/v1beta3/projects/{projectId}/settingsrR   %ToolresultsProjectsGetSettingsRequestProjectSettingsFrU   r`   rb   r6   r4   rc   +ToolresultsV1beta3.ProjectsService.<lambda>p  s1    (>(>4#} MIA,)r6   c                 D    U R                  S5      nU R                  X1US9$ )a
  Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage.

Args:
  request: (ToolresultsProjectsInitializeSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProjectSettings) The response message.
InitializeSettingsrB   rD   rG   s       r4   rS  5ToolresultsV1beta3.ProjectsService.InitializeSettings}  s0     ##$89f__
  8 8r6   c                  @    [         R                  " SSS/S// SSSSSS	9
$ )
Nr   z'toolresults.projects.initializeSettingsrN   z;toolresults/v1beta3/projects/{projectId}:initializeSettingsrR   ,ToolresultsProjectsInitializeSettingsRequestrP  FrU   r`   rb   r6   r4   rc   rQ    s1    x/E/E;#} MSH,0r6   rn   r;   )rp   rq   rr   rs   rt   ru   r   rL  rv   rS  rw   rx   ry   s   @r4   r/   rH  Y  s2    2E
8!K8($$r6   r/   )r0   r.   r,   r   r   r*   r    r$   r"   r&   r(   )rR   NTNNFFNNNN)"rp   rq   rr   rs   rt   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   r#   r%   r'   r)   r+   r-   r/   rw   rx   ry   s   @r4   r   r   
   s7   I/2(<-(=>'(*"."++,()-6:/4<@?C	/6<83J3J <|<x7N7N <|"(BYBY "H<xG^G^ <|V@W@W Vp<9P9P <|"(:Q:Q "H0G0G Bp8+B+B pdV!8!8 Vp<// < <r6   r   N)
rt   
__future__r   apitools.base.pyr   9googlecloudsdk.generated_clients.apis.toolresults.v1beta3r   rW  BaseApiClientr   rb   r6   r4   <module>rh     s'    ? ' % nK// Kr6   