
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z1Generated client library for osconfig version v1.    )absolute_import)base_api)osconfig_v1_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# S$\R(                  5      r  " S% S&\R(                  5      r!S'r"U =r#$ ))
OsconfigV1
   z9Generated client library for service osconfig version v1.z https://osconfig.googleapis.com/z%https://osconfig.mtls.googleapis.com/osconfigz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                   > 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        U R5                  U 5      U l        U R9                  U 5      U l        g)zCreate a new osconfig handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__ProjectsLocationsGlobalServiceprojects_locations_global,ProjectsLocationsInstancesInventoriesService(projects_locations_instances_inventories;ProjectsLocationsInstancesOsPolicyAssignmentsReportsService8projects_locations_instances_osPolicyAssignments_reports4ProjectsLocationsInstancesOsPolicyAssignmentsService0projects_locations_instances_osPolicyAssignments5ProjectsLocationsInstancesVulnerabilityReportsService1projects_locations_instances_vulnerabilityReports!ProjectsLocationsInstancesServiceprojects_locations_instances5ProjectsLocationsOsPolicyAssignmentsOperationsService1projects_locations_osPolicyAssignments_operations+ProjectsLocationsOsPolicyAssignmentsService&projects_locations_osPolicyAssignmentsProjectsLocationsServiceprojects_locationsProjectsPatchDeploymentsServiceprojects_patchDeployments'ProjectsPatchJobsInstanceDetailsService"projects_patchJobs_instanceDetailsProjectsPatchJobsServiceprojects_patchJobsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Klib/googlecloudsdk/generated_clients/apis/osconfig/v1/osconfig_v1_client.pyr   OsconfigV1.__init__   sM    
C	*d$'%)3 7+ % - &*%H%H%ND"484e4efj4kD1DH  EE  EE  FJ  EKDA<@<u<uvz<{D9=A=w=wx|=}D:(,(N(Nt(TD%=A=w=wx|=}D:262b2bcg2hD/";;DAD%)%I%I$%OD".2.Z.Z[_.`D+";;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$ ))OsconfigV1.ProjectsLocationsGlobalService8   z9Service class for the projects_locations_global resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr5   clientr7   s     r8   r   2OsconfigV1.ProjectsLocationsGlobalService.__init__=   s"    J55tEfMdr:   c                 D    U R                  S5      nU R                  X1US9$ )a8  GetProjectFeatureSettings returns the VM Manager feature settings for a project.

Args:
  request: (OsconfigProjectsLocationsGlobalGetProjectFeatureSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProjectFeatureSettings) The response message.
GetProjectFeatureSettingsglobal_paramsGetMethodConfig
_RunMethodr5   requestrG   configs       r8   rE   COsconfigV1.ProjectsLocationsGlobalService.GetProjectFeatureSettingsB   s0     ##$?@f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N@v1/projects/{projectsId}/locations/global/projectFeatureSettingsGETz<osconfig.projects.locations.global.getProjectFeatureSettingsname
v1/{+name} ?OsconfigProjectsLocationsGlobalGetProjectFeatureSettingsRequestProjectFeatureSettingsF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r:   r8   <lambda>2OsconfigV1.ProjectsLocationsGlobalService.<lambda>O   s4    h6L6LTPxH"[37r:   c                 D    U R                  S5      nU R                  X1US9$ )a3  UpdateProjectFeatureSettings sets the VM Manager features for a project.

Args:
  request: (OsconfigProjectsLocationsGlobalUpdateProjectFeatureSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProjectFeatureSettings) The response message.
UpdateProjectFeatureSettingsrF   rH   rK   s       r8   ri   FOsconfigV1.ProjectsLocationsGlobalService.UpdateProjectFeatureSettings]   s0     ##$BCf__
  8 8r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrP   PATCHz?osconfig.projects.locations.global.updateProjectFeatureSettingsrR   
updateMaskrS   projectFeatureSettingsBOsconfigProjectsLocationsGlobalUpdateProjectFeatureSettingsRequestrV   FrW   rc   re   r:   r8   rf   rg   j   s6    9O9OTSxH"^".^3:r:   r@   r?   )__name__
__module____qualname____firstlineno____doc___NAMEr   rE   method_configri   __static_attributes____classcell__r7   s   @r8   r   r<   8   s3    C'E
8/+82 ..r:   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$ )7OsconfigV1.ProjectsLocationsInstancesInventoriesServicex   zHService class for the projects_locations_instances_inventories resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r   r   r@   rA   s     r8   r   @OsconfigV1.ProjectsLocationsInstancesInventoriesService.__init__}   s#    JCCTSTZ[dr:   c                 D    U R                  S5      nU R                  X1US9$ )aP  Get inventory data for the specified VM instance. If the VM has no associated inventory, the message `NOT_FOUND` is returned.

Args:
  request: (OsconfigProjectsLocationsInstancesInventoriesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Inventory) The response message.
GetrF   rH   rK   s       r8   r   ;OsconfigV1.ProjectsLocationsInstancesInventoriesService.Get   /     ##E*f__
  8 8r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzRv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/inventoryrQ   z5osconfig.projects.locations.instances.inventories.getrR   viewrS   rT   7OsconfigProjectsLocationsInstancesInventoriesGetRequest	InventoryFrW   rc   re   r:   r8   rf   @OsconfigV1.ProjectsLocationsInstancesInventoriesService.<lambda>   s6     6 6fIxHX"S&!r:   c                 D    U R                  S5      nU R                  X1US9$ )a!  List inventory data for all VM instances in the specified zone.

Args:
  request: (OsconfigProjectsLocationsInstancesInventoriesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListInventoriesResponse) The response message.
ListrF   rH   rK   s       r8   r   <OsconfigV1.ProjectsLocationsInstancesInventoriesService.List   /     ##F+f__
  8 8r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzTv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/inventoriesrQ   z6osconfig.projects.locations.instances.inventories.listparent)filterpageSize	pageTokenr   zv1/{+parent}/inventoriesrT   8OsconfigProjectsLocationsInstancesInventoriesListRequestListInventoriesResponseFrW   rc   re   r:   r8   rf   r      s4    !7!7hJ zJ@0T4"r:   rp   r?   rq   rr   rs   rt   ru   rv   r   r   rw   r   rx   ry   rz   s   @r8   r   r|   x   s1    R6E
8C8Dr:   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$ )FOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsReportsService   zXService class for the projects_locations_instances_osPolicyAssignments_reports resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r   r   r@   rA   s     r8   r   OOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsReportsService.__init__   s$    JRRTXbcijdr:   c                 D    U R                  S5      nU R                  X1US9$ )aB  Get the OS policy assignment report for the specified Compute Engine VM instance.

Args:
  request: (OsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (OSPolicyAssignmentReport) The response message.
r   rF   rH   rK   s       r8   r   JOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsReportsService.Get   r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz{v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reportrQ   zEosconfig.projects.locations.instances.osPolicyAssignments.reports.getrR   rS   rT   FOsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsGetRequestOSPolicyAssignmentReportFrW   rc   re   r:   r8   rf   OOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsReportsService.<lambda>   s7     6 6 PYxH"b5!r:   c                 D    U R                  S5      nU R                  X1US9$ )a[  List OS policy assignment reports for all Compute Engine VM instances in the specified zone.

Args:
  request: (OsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOSPolicyAssignmentReportsResponse) The response message.
r   rF   rH   rK   s       r8   r   KOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsReportsService.List   r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz|v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reportsrQ   zFosconfig.projects.locations.instances.osPolicyAssignments.reports.listr   r   r   r   zv1/{+parent}/reportsrT   GOsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsListRequest%ListOSPolicyAssignmentReportsResponseFrW   rc   re   r:   r8   rf   r      s7    !7!7 QZ zJ8,cB"r:   rp   r?   r   rz   s   @r8   r   r      s1    bFE
8C8Dr:   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )?OsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsService   zPService class for the projects_locations_instances_osPolicyAssignments resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r!   r   r@   rA   s     r8   r   HOsconfigV1.ProjectsLocationsInstancesOsPolicyAssignmentsService.__init__   s#    JKKT[\bcdr:   rp   	rq   rr   rs   rt   ru   rv   r   rx   ry   rz   s   @r8   r!   r      s    Z>E r:   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$ )@OsconfigV1.ProjectsLocationsInstancesVulnerabilityReportsServicei  zQService class for the projects_locations_instances_vulnerabilityReports resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r#   r   r@   rA   s     r8   r   IOsconfigV1.ProjectsLocationsInstancesVulnerabilityReportsService.__init__  #    JLLd\]cddr:   c                 D    U R                  S5      nU R                  X1US9$ )ap  Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.

Args:
  request: (OsconfigProjectsLocationsInstancesVulnerabilityReportsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (VulnerabilityReport) The response message.
r   rF   rH   rK   s       r8   r   DOsconfigV1.ProjectsLocationsInstancesVulnerabilityReportsService.Get  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz\v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/vulnerabilityReportrQ   z>osconfig.projects.locations.instances.vulnerabilityReports.getrR   rS   rT   @OsconfigProjectsLocationsInstancesVulnerabilityReportsGetRequestVulnerabilityReportFrW   rc   re   r:   r8   rf   IOsconfigV1.ProjectsLocationsInstancesVulnerabilityReportsService.<lambda>  s4     6 6pRxH"\0!r:   c                 D    U R                  S5      nU R                  X1US9$ )a:  List vulnerability reports for all VM instances in the specified zone.

Args:
  request: (OsconfigProjectsLocationsInstancesVulnerabilityReportsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListVulnerabilityReportsResponse) The response message.
r   rF   rH   rK   s       r8   r   EOsconfigV1.ProjectsLocationsInstancesVulnerabilityReportsService.List'  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz]v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/vulnerabilityReportsrQ   z?osconfig.projects.locations.instances.vulnerabilityReports.listr   r   z!v1/{+parent}/vulnerabilityReportsrT   AOsconfigProjectsLocationsInstancesVulnerabilityReportsListRequest ListVulnerabilityReportsResponseFrW   rc   re   r:   r8   rf   r   4  s4    !7!7qS zJ89]="r:   rp   r?   r   rz   s   @r8   r#   r     s1    [?E
8C8Dr:   r#   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ ),OsconfigV1.ProjectsLocationsInstancesServiceiB  z<Service class for the projects_locations_instances resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r%   r   r@   rA   s     r8   r   5OsconfigV1.ProjectsLocationsInstancesService.__init__G  s"    J88$HPdr:   rp   r   rz   s   @r8   r%   r   B  s    F*E r:   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$ )@OsconfigV1.ProjectsLocationsOsPolicyAssignmentsOperationsServiceiL  zQService class for the projects_locations_osPolicyAssignments_operations resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r'   r   r@   rA   s     r8   r   IOsconfigV1.ProjectsLocationsOsPolicyAssignmentsOperationsService.__init__Q  r   r:   c                 D    U R                  S5      nU R                  X1US9$ )a&  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
CancelrF   rH   rK   s       r8   r   GOsconfigV1.ProjectsLocationsOsPolicyAssignmentsOperationsService.CancelV  /     ##H-f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz}v1/projects/{projectsId}/locations/{locationsId}/osPolicyAssignments/{osPolicyAssignmentsId}/operations/{operationsId}:cancelPOSTzAosconfig.projects.locations.osPolicyAssignments.operations.cancelrR   v1/{+name}:cancelcancelOperationRequestCOsconfigProjectsLocationsOsPolicyAssignmentsOperationsCancelRequestEmptyFrW   rc   re   r:   r8   rf   IOsconfigV1.ProjectsLocationsOsPolicyAssignmentsOperationsService.<lambda>c  s7    8#9#9 RUxH)._"$r:   c                 D    U R                  S5      nU R                  X1US9$ )aw  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   rF   rH   rK   s       r8   r   DOsconfigV1.ProjectsLocationsOsPolicyAssignmentsOperationsService.Getq  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzvv1/projects/{projectsId}/locations/{locationsId}/osPolicyAssignments/{osPolicyAssignmentsId}/operations/{operationsId}rQ   z>osconfig.projects.locations.osPolicyAssignments.operations.getrR   rS   rT   @OsconfigProjectsLocationsOsPolicyAssignmentsOperationsGetRequest	OperationFrW   rc   re   r:   r8   rf   r   ~  s7     6 6 KRxH"\&!r:   rp   r?   )rq   rr   rs   rt   ru   rv   r   r   rw   r   rx   ry   rz   s   @r8   r'   r   L  s1    [?E
8F8Cr:   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rU =r$ )6OsconfigV1.ProjectsLocationsOsPolicyAssignmentsServicei  zFService class for the projects_locations_osPolicyAssignments resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r)   r   r@   rA   s     r8   r   ?OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.__init__  s#    JBBDRSYZdr:   c                 D    U R                  S5      nU R                  X1US9$ )a  Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
CreaterF   rH   rK   s       r8   r   =OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.Create  r   r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NDv1/projects/{projectsId}/locations/{locationsId}/osPolicyAssignmentsr   z6osconfig.projects.locations.osPolicyAssignments.creater   osPolicyAssignmentId	requestId v1/{+parent}/osPolicyAssignmentsoSPolicyAssignment9OsconfigProjectsLocationsOsPolicyAssignmentsCreateRequestr   FrW   rc   re   r:   r8   rf   ?OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.<lambda>  s9    8#9#9XJ zJ,k:8*U&$r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Delete the OS policy assignment. This method creates a new revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. If the LRO completes and is not cancelled, all revisions associated with the OS policy assignment are deleted. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
DeleterF   rH   rK   s       r8   r   =OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.Delete  r   r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N\v1/projects/{projectsId}/locations/{locationsId}/osPolicyAssignments/{osPolicyAssignmentsId}DELETEz6osconfig.projects.locations.osPolicyAssignments.deleterR   r   rS   rT   9OsconfigProjectsLocationsOsPolicyAssignmentsDeleteRequestr   FrW   rc   re   r:   r8   rf   r     s6    8#9#9pJxH!]"U&$r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID in the `name` parameter.

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (OSPolicyAssignment) The response message.
r   rF   rH   rK   s       r8   r   :OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.Get  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   rQ   z3osconfig.projects.locations.osPolicyAssignments.getrR   rS   rT   6OsconfigProjectsLocationsOsPolicyAssignmentsGetRequestOSPolicyAssignmentFrW   rc   re   r:   r8   rf   r     s4     6 6pGxH"R/!r:   c                 D    U R                  S5      nU R                  X1US9$ )ab  List the OS policy assignments under the parent resource. For each OS policy assignment, the latest revision is returned.

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOSPolicyAssignmentsResponse) The response message.
r   rF   rH   rK   s       r8   r   ;OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.List  r   r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr   rQ   z4osconfig.projects.locations.osPolicyAssignments.listr   r   r   r   rT   7OsconfigProjectsLocationsOsPolicyAssignmentsListRequestListOSPolicyAssignmentsResponseFrW   rc   re   r:   r8   rf   r     s9    !7!7XH zJ +.8S<"r:   c                 D    U R                  S5      nU R                  X1US9$ )aC  List the OS policy assignment revisions for a given OS policy assignment.

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsListRevisionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOSPolicyAssignmentRevisionsResponse) The response message.
ListRevisionsrF   rH   rK   s       r8   r   DOsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.ListRevisions  s/     ##O4f__
  8 8r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzjv1/projects/{projectsId}/locations/{locationsId}/osPolicyAssignments/{osPolicyAssignmentsId}:listRevisionsrQ   z=osconfig.projects.locations.osPolicyAssignments.listRevisionsrR   r   r   zv1/{+name}:listRevisionsrT   @OsconfigProjectsLocationsOsPolicyAssignmentsListRevisionsRequest'ListOSPolicyAssignmentRevisionsResponseFrW   rc   re   r:   r8   rf   r     s9    (*@*@~QxH +.0\D+r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Update an existing OS policy assignment. This method creates a new revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

Args:
  request: (OsconfigProjectsLocationsOsPolicyAssignmentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
PatchrF   rH   rK   s       r8   r   <OsconfigV1.ProjectsLocationsOsPolicyAssignmentsService.Patch  /     ##G,f__
  8 8r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   rl   z5osconfig.projects.locations.osPolicyAssignments.patchrR   )allowMissingr   rm   rS   r   8OsconfigProjectsLocationsOsPolicyAssignmentsPatchRequestr   FrW   rc   re   r:   r8   rf   r   *  s4    ("8"8pIxH@"*T&#r:   rp   r?   )rq   rr   rs   rt   ru   rv   r   r   rw   r   r   r   r   r   rx   ry   rz   s   @r8   r)   r     sm    P4E
8F8F8C8D8#M8Er:   r)   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )#OsconfigV1.ProjectsLocationsServicei8  z2Service class for the projects_locations resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r+   r   r@   rA   s     r8   r   ,OsconfigV1.ProjectsLocationsService.__init__=  "    J//?Gdr:   rp   r   rz   s   @r8   r+   r  8  s    < E r:   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$ )*OsconfigV1.ProjectsPatchDeploymentsServiceiB  z9Service class for the projects_patchDeployments resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r-   r   r@   rA   s     r8   r   3OsconfigV1.ProjectsPatchDeploymentsService.__init__G  s"    J66FvNdr:   c                 D    U R                  S5      nU R                  X1US9$ )zCreate an OS Config patch deployment.

Args:
  request: (OsconfigProjectsPatchDeploymentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchDeployment) The response message.
r   rF   rH   rK   s       r8   r   1OsconfigV1.ProjectsPatchDeploymentsService.CreateL  r   r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N)v1/projects/{projectsId}/patchDeploymentsr   z)osconfig.projects.patchDeployments.creater   patchDeploymentIdv1/{+parent}/patchDeploymentspatchDeployment-OsconfigProjectsPatchDeploymentsCreateRequestPatchDeploymentFrW   rc   re   r:   r8   rf   3OsconfigV1.ProjectsPatchDeploymentsService.<lambda>Y  s7    8#9#9== zJ)*5'I,$r:   c                 D    U R                  S5      nU R                  X1US9$ )zDelete an OS Config patch deployment.

Args:
  request: (OsconfigProjectsPatchDeploymentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
r   rF   rH   rK   s       r8   r   1OsconfigV1.ProjectsPatchDeploymentsService.Deleteg  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N>v1/projects/{projectsId}/patchDeployments/{patchDeploymentsId}r   z)osconfig.projects.patchDeployments.deleterR   rS   rT   -OsconfigProjectsPatchDeploymentsDeleteRequestr   FrW   rc   re   r:   r8   rf   r  t  s4    8#9#9R=xH"I"$r:   c                 D    U R                  S5      nU R                  X1US9$ )zGet an OS Config patch deployment.

Args:
  request: (OsconfigProjectsPatchDeploymentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchDeployment) The response message.
r   rF   rH   rK   s       r8   r   .OsconfigV1.ProjectsPatchDeploymentsService.Get  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  rQ   z&osconfig.projects.patchDeployments.getrR   rS   rT   *OsconfigProjectsPatchDeploymentsGetRequestr  FrW   rc   re   r:   r8   rf   r    s4     6 6R:xH"F,!r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Get a page of OS Config patch deployments.

Args:
  request: (OsconfigProjectsPatchDeploymentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListPatchDeploymentsResponse) The response message.
r   rF   rH   rK   s       r8   r   /OsconfigV1.ProjectsPatchDeploymentsService.List  r   r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rQ   z'osconfig.projects.patchDeployments.listr   r   r   r  rT   +OsconfigProjectsPatchDeploymentsListRequestListPatchDeploymentsResponseFrW   rc   re   r:   r8   rf   r    s9    !7!7=; zJ +.5G9"r:   c                 D    U R                  S5      nU R                  X1US9$ )zUpdate an OS Config patch deployment.

Args:
  request: (OsconfigProjectsPatchDeploymentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchDeployment) The response message.
r   rF   rH   rK   s       r8   r   0OsconfigV1.ProjectsPatchDeploymentsService.Patch  r   r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  rl   z(osconfig.projects.patchDeployments.patchrR   rm   rS   r  ,OsconfigProjectsPatchDeploymentsPatchRequestr  FrW   rc   re   r:   r8   rf   r    s6    ("8"8R<xH"^"'H,#r:   c                 D    U R                  S5      nU R                  X1US9$ )a9  Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Args:
  request: (OsconfigProjectsPatchDeploymentsPauseRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchDeployment) The response message.
PauserF   rH   rK   s       r8   r'  0OsconfigV1.ProjectsPatchDeploymentsService.Pause  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzDv1/projects/{projectsId}/patchDeployments/{patchDeploymentsId}:pauser   z(osconfig.projects.patchDeployments.pauserR   zv1/{+name}:pausepausePatchDeploymentRequest,OsconfigProjectsPatchDeploymentsPauseRequestr  FrW   rc   re   r:   r8   rf   r    s4    ("8"8X<xH(3H,#r:   c                 D    U R                  S5      nU R                  X1US9$ )aD  Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Args:
  request: (OsconfigProjectsPatchDeploymentsResumeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchDeployment) The response message.
ResumerF   rH   rK   s       r8   r-  1OsconfigV1.ProjectsPatchDeploymentsService.Resume  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzEv1/projects/{projectsId}/patchDeployments/{patchDeploymentsId}:resumer   z)osconfig.projects.patchDeployments.resumerR   zv1/{+name}:resumeresumePatchDeploymentRequest-OsconfigProjectsPatchDeploymentsResumeRequestr  FrW   rc   re   r:   r8   rf   r    s4    8#9#9Y=xH)4I,$r:   rp   r?   )rq   rr   rs   rt   ru   rv   r   r   rw   r   r   r   r   r'  r-  rx   ry   rz   s   @r8   r-   r  B  s|    C'E
8F8F8C8D8E8E8Fr:   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
$ )	2OsconfigV1.ProjectsPatchJobsInstanceDetailsServicei	  zBService class for the projects_patchJobs_instanceDetails resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r/   r   r@   rA   s     r8   r   ;OsconfigV1.ProjectsPatchJobsInstanceDetailsService.__init__  s"    J>>NvVdr:   c                 D    U R                  S5      nU R                  X1US9$ )a  Get a list of instance details for a given patch job.

Args:
  request: (OsconfigProjectsPatchJobsInstanceDetailsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListPatchJobInstanceDetailsResponse) The response message.
r   rF   rH   rK   s       r8   r   7OsconfigV1.ProjectsPatchJobsInstanceDetailsService.List  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz@v1/projects/{projectsId}/patchJobs/{patchJobsId}/instanceDetailsrQ   z0osconfig.projects.patchJobs.instanceDetails.listr   r   zv1/{+parent}/instanceDetailsrT   3OsconfigProjectsPatchJobsInstanceDetailsListRequest#ListPatchJobInstanceDetailsResponseFrW   rc   re   r:   r8   rf   ;OsconfigV1.ProjectsPatchJobsInstanceDetailsService.<lambda>   s4    !7!7TD zJ84O@"r:   rp   r?   )rq   rr   rs   rt   ru   rv   r   r   rw   rx   ry   rz   s   @r8   r/   r3  	  s"    L0E
8Dr:   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$ )#OsconfigV1.ProjectsPatchJobsServicei.  z2Service class for the projects_patchJobs resource.r2   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r1   r   r@   rA   s     r8   r   ,OsconfigV1.ProjectsPatchJobsService.__init__3  r  r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Args:
  request: (OsconfigProjectsPatchJobsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchJob) The response message.
r   rF   rH   rK   s       r8   r   *OsconfigV1.ProjectsPatchJobsService.Cancel8  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz7v1/projects/{projectsId}/patchJobs/{patchJobsId}:cancelr   z"osconfig.projects.patchJobs.cancelrR   r   cancelPatchJobRequest&OsconfigProjectsPatchJobsCancelRequestPatchJobFrW   rc   re   r:   r8   rf   ,OsconfigV1.ProjectsPatchJobsService.<lambda>E  s4    8#9#9K6xH)-B%$r:   c                 D    U R                  S5      nU R                  X1US9$ )zPatch VM instances by creating and running a patch job.

Args:
  request: (OsconfigProjectsPatchJobsExecuteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchJob) The response message.
ExecuterF   rH   rK   s       r8   rH  +OsconfigV1.ProjectsPatchJobsService.ExecuteS  s/     ##I.f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz*v1/projects/{projectsId}/patchJobs:executer   z#osconfig.projects.patchJobs.executer   zv1/{+parent}/patchJobs:executeexecutePatchJobRequest'OsconfigProjectsPatchJobsExecuteRequestrE  FrW   rc   re   r:   r8   rf   rF  `  s4    H$:$:>7 zJ6.C%%r:   c                 D    U R                  S5      nU R                  X1US9$ )a8  Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

Args:
  request: (OsconfigProjectsPatchJobsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PatchJob) The response message.
r   rF   rH   rK   s       r8   r   'OsconfigV1.ProjectsPatchJobsService.Getn  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz0v1/projects/{projectsId}/patchJobs/{patchJobsId}rQ   zosconfig.projects.patchJobs.getrR   rS   rT   #OsconfigProjectsPatchJobsGetRequestrE  FrW   rc   re   r:   r8   rf   rF  {  s4     6 6D3xH"?%!r:   c                 D    U R                  S5      nU R                  X1US9$ )zGet a list of patch jobs.

Args:
  request: (OsconfigProjectsPatchJobsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListPatchJobsResponse) The response message.
r   rF   rH   rK   s       r8   r   (OsconfigV1.ProjectsPatchJobsService.List  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz"v1/projects/{projectsId}/patchJobsrQ   z osconfig.projects.patchJobs.listr   r   zv1/{+parent}/patchJobsrT   $OsconfigProjectsPatchJobsListRequestListPatchJobsResponseFrW   rc   re   r:   r8   rf   rF    s4    !7!764 zJ8.@2"r:   rp   r?   )rq   rr   rs   rt   ru   rv   r   r   rw   rH  r   r   rx   ry   rz   s   @r8   r1   r=  .  sO    < E
8F8G8C8Dr:   r1   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )OsconfigV1.ProjectsServicei  z(Service class for the projects resource.r4   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r3   r   r@   rA   s     r8   r   #OsconfigV1.ProjectsService.__init__  s"    J&&6v>dr:   rp   r   rz   s   @r8   r3   rW    s    2E r:   r3   )r4   r,   r   r&   r   r"   r    r$   r*   r(   r.   r2   r0   )rT   NTNNFFNNNN)$rq   rr   rs   rt   ru   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/   r1   r3   rx   ry   rz   s   @r8   r   r   
   sX   A//(9-(=>'(*"."+#,()-6:/4<@?C	/:>x'>'> >@>X5L5L >@>HD[D[ >@X=T=T >h>U>U >@(*A*A >h>U>U >@jH4K4K jX!8!8 E(?(? EN#0G0G #Jt!8!8 tl//  r:   r   N)
ru   
__future__r   apitools.base.pyr   1googlecloudsdk.generated_clients.apis.osconfig.v1r   rZ  BaseApiClientr   re   r:   r8   <module>rk     s'    7 ' % ^b'' br:   