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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#71)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

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
  • Loading branch information
gcf-owl-bot[bot] committed May 14, 2021
1 parent fb2e3aa commit 6fbaf4b
Show file tree
Hide file tree
Showing 25 changed files with 927 additions and 828 deletions.
1 change: 0 additions & 1 deletion docs/osconfig_v1/os_config_service.rst
Expand Up @@ -5,7 +5,6 @@ OsConfigService
:members:
:inherited-members:


.. automodule:: google.cloud.osconfig_v1.services.os_config_service.pagers
:members:
:inherited-members:
38 changes: 19 additions & 19 deletions google/cloud/osconfig/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.osconfig_v1.services.os_config_service.async_client import (
OsConfigServiceAsyncClient,
)
from google.cloud.osconfig_v1.services.os_config_service.client import (
OsConfigServiceClient,
)
from google.cloud.osconfig_v1.services.os_config_service.async_client import (
OsConfigServiceAsyncClient,
)

from google.cloud.osconfig_v1.types.inventory import Inventory
from google.cloud.osconfig_v1.types.osconfig_common import FixedOrPercent
from google.cloud.osconfig_v1.types.patch_deployments import (
Expand Down Expand Up @@ -65,39 +65,39 @@
from google.cloud.osconfig_v1.types.patch_jobs import ZypperSettings

__all__ = (
"AptSettings",
"CancelPatchJobRequest",
"OsConfigServiceClient",
"OsConfigServiceAsyncClient",
"Inventory",
"FixedOrPercent",
"CreatePatchDeploymentRequest",
"DeletePatchDeploymentRequest",
"GetPatchDeploymentRequest",
"ListPatchDeploymentsRequest",
"ListPatchDeploymentsResponse",
"MonthlySchedule",
"OneTimeSchedule",
"PatchDeployment",
"RecurringSchedule",
"WeekDayOfMonth",
"WeeklySchedule",
"AptSettings",
"CancelPatchJobRequest",
"ExecStep",
"ExecStepConfig",
"ExecutePatchJobRequest",
"FixedOrPercent",
"GcsObject",
"GetPatchDeploymentRequest",
"GetPatchJobRequest",
"GooSettings",
"Instance",
"Inventory",
"ListPatchDeploymentsRequest",
"ListPatchDeploymentsResponse",
"ListPatchJobInstanceDetailsRequest",
"ListPatchJobInstanceDetailsResponse",
"ListPatchJobsRequest",
"ListPatchJobsResponse",
"MonthlySchedule",
"OneTimeSchedule",
"OsConfigServiceAsyncClient",
"OsConfigServiceClient",
"PatchConfig",
"PatchDeployment",
"PatchInstanceFilter",
"PatchJob",
"PatchJobInstanceDetails",
"PatchRollout",
"RecurringSchedule",
"WeekDayOfMonth",
"WeeklySchedule",
"WindowsUpdateSettings",
"YumSettings",
"ZypperSettings",
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/osconfig_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.os_config_service import OsConfigServiceClient
from .services.os_config_service import OsConfigServiceAsyncClient

from .types.inventory import Inventory
from .types.osconfig_common import FixedOrPercent
from .types.patch_deployments import CreatePatchDeploymentRequest
Expand Down Expand Up @@ -51,8 +52,8 @@
from .types.patch_jobs import YumSettings
from .types.patch_jobs import ZypperSettings


__all__ = (
"OsConfigServiceAsyncClient",
"AptSettings",
"CancelPatchJobRequest",
"CreatePatchDeploymentRequest",
Expand All @@ -75,6 +76,7 @@
"ListPatchJobsResponse",
"MonthlySchedule",
"OneTimeSchedule",
"OsConfigServiceClient",
"PatchConfig",
"PatchDeployment",
"PatchInstanceFilter",
Expand All @@ -87,5 +89,4 @@
"WindowsUpdateSettings",
"YumSettings",
"ZypperSettings",
"OsConfigServiceClient",
)
113 changes: 113 additions & 0 deletions google/cloud/osconfig_v1/gapic_metadata.json
@@ -0,0 +1,113 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.osconfig_v1",
"protoPackage": "google.cloud.osconfig.v1",
"schema": "1.0",
"services": {
"OsConfigService": {
"clients": {
"grpc": {
"libraryClient": "OsConfigServiceClient",
"rpcs": {
"CancelPatchJob": {
"methods": [
"cancel_patch_job"
]
},
"CreatePatchDeployment": {
"methods": [
"create_patch_deployment"
]
},
"DeletePatchDeployment": {
"methods": [
"delete_patch_deployment"
]
},
"ExecutePatchJob": {
"methods": [
"execute_patch_job"
]
},
"GetPatchDeployment": {
"methods": [
"get_patch_deployment"
]
},
"GetPatchJob": {
"methods": [
"get_patch_job"
]
},
"ListPatchDeployments": {
"methods": [
"list_patch_deployments"
]
},
"ListPatchJobInstanceDetails": {
"methods": [
"list_patch_job_instance_details"
]
},
"ListPatchJobs": {
"methods": [
"list_patch_jobs"
]
}
}
},
"grpc-async": {
"libraryClient": "OsConfigServiceAsyncClient",
"rpcs": {
"CancelPatchJob": {
"methods": [
"cancel_patch_job"
]
},
"CreatePatchDeployment": {
"methods": [
"create_patch_deployment"
]
},
"DeletePatchDeployment": {
"methods": [
"delete_patch_deployment"
]
},
"ExecutePatchJob": {
"methods": [
"execute_patch_job"
]
},
"GetPatchDeployment": {
"methods": [
"get_patch_deployment"
]
},
"GetPatchJob": {
"methods": [
"get_patch_job"
]
},
"ListPatchDeployments": {
"methods": [
"list_patch_deployments"
]
},
"ListPatchJobInstanceDetails": {
"methods": [
"list_patch_job_instance_details"
]
},
"ListPatchJobs": {
"methods": [
"list_patch_jobs"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/osconfig_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import OsConfigServiceClient
from .async_client import OsConfigServiceAsyncClient

Expand Down

0 comments on commit 6fbaf4b

Please sign in to comment.