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

Commit 6fbaf4b

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#71)
PiperOrigin-RevId: 373649163 Source-Link: googleapis/googleapis@7e1b14e Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3 fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py
1 parent fb2e3aa commit 6fbaf4b

File tree

25 files changed

+927
-828
lines changed

25 files changed

+927
-828
lines changed

docs/osconfig_v1/os_config_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ OsConfigService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.osconfig_v1.services.os_config_service.pagers
109
:members:
1110
:inherited-members:

google/cloud/osconfig/__init__.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,12 +14,13 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.osconfig_v1.services.os_config_service.async_client import (
19-
OsConfigServiceAsyncClient,
20-
)
2117
from google.cloud.osconfig_v1.services.os_config_service.client import (
2218
OsConfigServiceClient,
2319
)
20+
from google.cloud.osconfig_v1.services.os_config_service.async_client import (
21+
OsConfigServiceAsyncClient,
22+
)
23+
2424
from google.cloud.osconfig_v1.types.inventory import Inventory
2525
from google.cloud.osconfig_v1.types.osconfig_common import FixedOrPercent
2626
from google.cloud.osconfig_v1.types.patch_deployments import (
@@ -65,39 +65,39 @@
6565
from google.cloud.osconfig_v1.types.patch_jobs import ZypperSettings
6666

6767
__all__ = (
68-
"AptSettings",
69-
"CancelPatchJobRequest",
68+
"OsConfigServiceClient",
69+
"OsConfigServiceAsyncClient",
70+
"Inventory",
71+
"FixedOrPercent",
7072
"CreatePatchDeploymentRequest",
7173
"DeletePatchDeploymentRequest",
74+
"GetPatchDeploymentRequest",
75+
"ListPatchDeploymentsRequest",
76+
"ListPatchDeploymentsResponse",
77+
"MonthlySchedule",
78+
"OneTimeSchedule",
79+
"PatchDeployment",
80+
"RecurringSchedule",
81+
"WeekDayOfMonth",
82+
"WeeklySchedule",
83+
"AptSettings",
84+
"CancelPatchJobRequest",
7285
"ExecStep",
7386
"ExecStepConfig",
7487
"ExecutePatchJobRequest",
75-
"FixedOrPercent",
7688
"GcsObject",
77-
"GetPatchDeploymentRequest",
7889
"GetPatchJobRequest",
7990
"GooSettings",
8091
"Instance",
81-
"Inventory",
82-
"ListPatchDeploymentsRequest",
83-
"ListPatchDeploymentsResponse",
8492
"ListPatchJobInstanceDetailsRequest",
8593
"ListPatchJobInstanceDetailsResponse",
8694
"ListPatchJobsRequest",
8795
"ListPatchJobsResponse",
88-
"MonthlySchedule",
89-
"OneTimeSchedule",
90-
"OsConfigServiceAsyncClient",
91-
"OsConfigServiceClient",
9296
"PatchConfig",
93-
"PatchDeployment",
9497
"PatchInstanceFilter",
9598
"PatchJob",
9699
"PatchJobInstanceDetails",
97100
"PatchRollout",
98-
"RecurringSchedule",
99-
"WeekDayOfMonth",
100-
"WeeklySchedule",
101101
"WindowsUpdateSettings",
102102
"YumSettings",
103103
"ZypperSettings",

google/cloud/osconfig_v1/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +15,8 @@
1615
#
1716

1817
from .services.os_config_service import OsConfigServiceClient
18+
from .services.os_config_service import OsConfigServiceAsyncClient
19+
1920
from .types.inventory import Inventory
2021
from .types.osconfig_common import FixedOrPercent
2122
from .types.patch_deployments import CreatePatchDeploymentRequest
@@ -51,8 +52,8 @@
5152
from .types.patch_jobs import YumSettings
5253
from .types.patch_jobs import ZypperSettings
5354

54-
5555
__all__ = (
56+
"OsConfigServiceAsyncClient",
5657
"AptSettings",
5758
"CancelPatchJobRequest",
5859
"CreatePatchDeploymentRequest",
@@ -75,6 +76,7 @@
7576
"ListPatchJobsResponse",
7677
"MonthlySchedule",
7778
"OneTimeSchedule",
79+
"OsConfigServiceClient",
7880
"PatchConfig",
7981
"PatchDeployment",
8082
"PatchInstanceFilter",
@@ -87,5 +89,4 @@
8789
"WindowsUpdateSettings",
8890
"YumSettings",
8991
"ZypperSettings",
90-
"OsConfigServiceClient",
9192
)
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.osconfig_v1",
5+
"protoPackage": "google.cloud.osconfig.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"OsConfigService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "OsConfigServiceClient",
12+
"rpcs": {
13+
"CancelPatchJob": {
14+
"methods": [
15+
"cancel_patch_job"
16+
]
17+
},
18+
"CreatePatchDeployment": {
19+
"methods": [
20+
"create_patch_deployment"
21+
]
22+
},
23+
"DeletePatchDeployment": {
24+
"methods": [
25+
"delete_patch_deployment"
26+
]
27+
},
28+
"ExecutePatchJob": {
29+
"methods": [
30+
"execute_patch_job"
31+
]
32+
},
33+
"GetPatchDeployment": {
34+
"methods": [
35+
"get_patch_deployment"
36+
]
37+
},
38+
"GetPatchJob": {
39+
"methods": [
40+
"get_patch_job"
41+
]
42+
},
43+
"ListPatchDeployments": {
44+
"methods": [
45+
"list_patch_deployments"
46+
]
47+
},
48+
"ListPatchJobInstanceDetails": {
49+
"methods": [
50+
"list_patch_job_instance_details"
51+
]
52+
},
53+
"ListPatchJobs": {
54+
"methods": [
55+
"list_patch_jobs"
56+
]
57+
}
58+
}
59+
},
60+
"grpc-async": {
61+
"libraryClient": "OsConfigServiceAsyncClient",
62+
"rpcs": {
63+
"CancelPatchJob": {
64+
"methods": [
65+
"cancel_patch_job"
66+
]
67+
},
68+
"CreatePatchDeployment": {
69+
"methods": [
70+
"create_patch_deployment"
71+
]
72+
},
73+
"DeletePatchDeployment": {
74+
"methods": [
75+
"delete_patch_deployment"
76+
]
77+
},
78+
"ExecutePatchJob": {
79+
"methods": [
80+
"execute_patch_job"
81+
]
82+
},
83+
"GetPatchDeployment": {
84+
"methods": [
85+
"get_patch_deployment"
86+
]
87+
},
88+
"GetPatchJob": {
89+
"methods": [
90+
"get_patch_job"
91+
]
92+
},
93+
"ListPatchDeployments": {
94+
"methods": [
95+
"list_patch_deployments"
96+
]
97+
},
98+
"ListPatchJobInstanceDetails": {
99+
"methods": [
100+
"list_patch_job_instance_details"
101+
]
102+
},
103+
"ListPatchJobs": {
104+
"methods": [
105+
"list_patch_jobs"
106+
]
107+
}
108+
}
109+
}
110+
}
111+
}
112+
}
113+
}

google/cloud/osconfig_v1/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

google/cloud/osconfig_v1/services/os_config_service/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import OsConfigServiceClient
1917
from .async_client import OsConfigServiceAsyncClient
2018

0 commit comments

Comments
 (0)