Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
chore: use gapic-generator-python 0.63.2 (#165)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 431037888

Source-Link: googleapis/googleapis@b3397f5

Source-Link: googleapis/googleapis-gen@510b54e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTEwYjU0ZTFjZGVmZDUzMTczOTg0ZGYxNjY0NTA4MTMwOGZlODk3ZSJ9

feat: Add item that is affected by vulnerability
feat: Add GetOsPolicyAssignmentReport and analogous List rpc method
feat: Add Inventory to InstanceFilter
feat: Add existing os_policy_assignment_reports.proto
fix: Mark methods as deprecated
docs: add generated snippets

PiperOrigin-RevId: 430730865

Source-Link: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9


PiperOrigin-RevId: 427792504

Source-Link: googleapis/googleapis@55b9e1e

Source-Link: googleapis/googleapis-gen@bf4e86b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Feb 26, 2022
1 parent 9cc0914 commit eb6bbb7
Show file tree
Hide file tree
Showing 217 changed files with 6,785 additions and 567 deletions.
2 changes: 1 addition & 1 deletion google/cloud/osconfig/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/osconfig_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/osconfig_v1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
50 changes: 28 additions & 22 deletions google/cloud/osconfig_v1/services/os_config_service/async_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -228,7 +228,7 @@ async def execute_patch_job(
job.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -244,7 +244,7 @@ def sample_execute_patch_job():
# Make the request
response = client.execute_patch_job(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -308,7 +308,7 @@ async def get_patch_job(
of completed jobs.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -324,7 +324,7 @@ def sample_get_patch_job():
# Make the request
response = client.get_patch_job(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -407,7 +407,7 @@ async def cancel_patch_job(
Canceled patch jobs cannot be restarted.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -423,7 +423,7 @@ def sample_cancel_patch_job():
# Make the request
response = client.cancel_patch_job(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -483,7 +483,7 @@ async def list_patch_jobs(
) -> pagers.ListPatchJobsAsyncPager:
r"""Get a list of patch jobs.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -498,6 +498,8 @@ def sample_list_patch_jobs():
# Make the request
page_result = client.list_patch_jobs(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -579,7 +581,7 @@ async def list_patch_job_instance_details(
) -> pagers.ListPatchJobInstanceDetailsAsyncPager:
r"""Get a list of instance details for a given patch job.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -594,6 +596,8 @@ def sample_list_patch_job_instance_details():
# Make the request
page_result = client.list_patch_job_instance_details(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -679,7 +683,7 @@ async def create_patch_deployment(
) -> patch_deployments.PatchDeployment:
r"""Create an OS Config patch deployment.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -696,7 +700,7 @@ def sample_create_patch_deployment():
# Make the request
response = client.create_patch_deployment(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -799,7 +803,7 @@ async def get_patch_deployment(
) -> patch_deployments.PatchDeployment:
r"""Get an OS Config patch deployment.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -815,7 +819,7 @@ def sample_get_patch_deployment():
# Make the request
response = client.get_patch_deployment(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -893,7 +897,7 @@ async def list_patch_deployments(
) -> pagers.ListPatchDeploymentsAsyncPager:
r"""Get a page of OS Config patch deployments.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -908,6 +912,8 @@ def sample_list_patch_deployments():
# Make the request
page_result = client.list_patch_deployments(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -991,7 +997,7 @@ async def delete_patch_deployment(
) -> None:
r"""Delete an OS Config patch deployment.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -1005,7 +1011,7 @@ def sample_delete_patch_deployment():
)
# Make the request
response = client.delete_patch_deployment(request=request)
client.delete_patch_deployment(request=request)
Args:
request (Union[google.cloud.osconfig_v1.types.DeletePatchDeploymentRequest, dict]):
Expand Down Expand Up @@ -1072,7 +1078,7 @@ async def update_patch_deployment(
) -> patch_deployments.PatchDeployment:
r"""Update an OS Config patch deployment.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -1087,7 +1093,7 @@ def sample_update_patch_deployment():
# Make the request
response = client.update_patch_deployment(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -1180,7 +1186,7 @@ async def pause_patch_deployment(
jobs.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -1196,7 +1202,7 @@ def sample_pause_patch_deployment():
# Make the request
response = client.pause_patch_deployment(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -1277,7 +1283,7 @@ async def resume_patch_deployment(
patch jobs.
.. code-block::
.. code-block:: python
from google.cloud import osconfig_v1
Expand All @@ -1293,7 +1299,7 @@ def sample_resume_patch_deployment():
# Make the request
response = client.resume_patch_deployment(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down
Loading

0 comments on commit eb6bbb7

Please sign in to comment.