Skip to content
Permalink
Browse files
feat: add OSConfigZonalService API (#116)
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 394704298

Source-Link: googleapis/googleapis@31d2d34

Source-Link: googleapis/googleapis-gen@aa3ce09
  • Loading branch information
gcf-owl-bot committed Sep 3, 2021
1 parent ce674bd commit 72bb90f67be410d981854f9a5f34fd31b1934693
@@ -0,0 +1,10 @@
OsConfigZonalService
--------------------------------------

.. automodule:: google.cloud.osconfig_v1.services.os_config_zonal_service
:members:
:inherited-members:

.. automodule:: google.cloud.osconfig_v1.services.os_config_zonal_service.pagers
:members:
:inherited-members:
@@ -4,3 +4,4 @@ Services for Google Cloud Osconfig v1 API
:maxdepth: 2

os_config_service
os_config_zonal_service
@@ -20,8 +20,18 @@
from google.cloud.osconfig_v1.services.os_config_service.async_client import (
OsConfigServiceAsyncClient,
)
from google.cloud.osconfig_v1.services.os_config_zonal_service.client import (
OsConfigZonalServiceClient,
)
from google.cloud.osconfig_v1.services.os_config_zonal_service.async_client import (
OsConfigZonalServiceAsyncClient,
)

from google.cloud.osconfig_v1.types.inventory import GetInventoryRequest
from google.cloud.osconfig_v1.types.inventory import Inventory
from google.cloud.osconfig_v1.types.inventory import ListInventoriesRequest
from google.cloud.osconfig_v1.types.inventory import ListInventoriesResponse
from google.cloud.osconfig_v1.types.inventory import InventoryView
from google.cloud.osconfig_v1.types.osconfig_common import FixedOrPercent
from google.cloud.osconfig_v1.types.patch_deployments import (
CreatePatchDeploymentRequest,
@@ -63,11 +73,24 @@
from google.cloud.osconfig_v1.types.patch_jobs import WindowsUpdateSettings
from google.cloud.osconfig_v1.types.patch_jobs import YumSettings
from google.cloud.osconfig_v1.types.patch_jobs import ZypperSettings
from google.cloud.osconfig_v1.types.vulnerability import CVSSv3
from google.cloud.osconfig_v1.types.vulnerability import GetVulnerabilityReportRequest
from google.cloud.osconfig_v1.types.vulnerability import ListVulnerabilityReportsRequest
from google.cloud.osconfig_v1.types.vulnerability import (
ListVulnerabilityReportsResponse,
)
from google.cloud.osconfig_v1.types.vulnerability import VulnerabilityReport

__all__ = (
"OsConfigServiceClient",
"OsConfigServiceAsyncClient",
"OsConfigZonalServiceClient",
"OsConfigZonalServiceAsyncClient",
"GetInventoryRequest",
"Inventory",
"ListInventoriesRequest",
"ListInventoriesResponse",
"InventoryView",
"FixedOrPercent",
"CreatePatchDeploymentRequest",
"DeletePatchDeploymentRequest",
@@ -101,4 +124,9 @@
"WindowsUpdateSettings",
"YumSettings",
"ZypperSettings",
"CVSSv3",
"GetVulnerabilityReportRequest",
"ListVulnerabilityReportsRequest",
"ListVulnerabilityReportsResponse",
"VulnerabilityReport",
)
@@ -16,8 +16,14 @@

from .services.os_config_service import OsConfigServiceClient
from .services.os_config_service import OsConfigServiceAsyncClient
from .services.os_config_zonal_service import OsConfigZonalServiceClient
from .services.os_config_zonal_service import OsConfigZonalServiceAsyncClient

from .types.inventory import GetInventoryRequest
from .types.inventory import Inventory
from .types.inventory import ListInventoriesRequest
from .types.inventory import ListInventoriesResponse
from .types.inventory import InventoryView
from .types.osconfig_common import FixedOrPercent
from .types.patch_deployments import CreatePatchDeploymentRequest
from .types.patch_deployments import DeletePatchDeploymentRequest
@@ -51,10 +57,17 @@
from .types.patch_jobs import WindowsUpdateSettings
from .types.patch_jobs import YumSettings
from .types.patch_jobs import ZypperSettings
from .types.vulnerability import CVSSv3
from .types.vulnerability import GetVulnerabilityReportRequest
from .types.vulnerability import ListVulnerabilityReportsRequest
from .types.vulnerability import ListVulnerabilityReportsResponse
from .types.vulnerability import VulnerabilityReport

__all__ = (
"OsConfigServiceAsyncClient",
"OsConfigZonalServiceAsyncClient",
"AptSettings",
"CVSSv3",
"CancelPatchJobRequest",
"CreatePatchDeploymentRequest",
"DeletePatchDeploymentRequest",
@@ -63,27 +76,36 @@
"ExecutePatchJobRequest",
"FixedOrPercent",
"GcsObject",
"GetInventoryRequest",
"GetPatchDeploymentRequest",
"GetPatchJobRequest",
"GetVulnerabilityReportRequest",
"GooSettings",
"Instance",
"Inventory",
"InventoryView",
"ListInventoriesRequest",
"ListInventoriesResponse",
"ListPatchDeploymentsRequest",
"ListPatchDeploymentsResponse",
"ListPatchJobInstanceDetailsRequest",
"ListPatchJobInstanceDetailsResponse",
"ListPatchJobsRequest",
"ListPatchJobsResponse",
"ListVulnerabilityReportsRequest",
"ListVulnerabilityReportsResponse",
"MonthlySchedule",
"OneTimeSchedule",
"OsConfigServiceClient",
"OsConfigZonalServiceClient",
"PatchConfig",
"PatchDeployment",
"PatchInstanceFilter",
"PatchJob",
"PatchJobInstanceDetails",
"PatchRollout",
"RecurringSchedule",
"VulnerabilityReport",
"WeekDayOfMonth",
"WeeklySchedule",
"WindowsUpdateSettings",
@@ -108,6 +108,60 @@
}
}
}
},
"OsConfigZonalService": {
"clients": {
"grpc": {
"libraryClient": "OsConfigZonalServiceClient",
"rpcs": {
"GetInventory": {
"methods": [
"get_inventory"
]
},
"GetVulnerabilityReport": {
"methods": [
"get_vulnerability_report"
]
},
"ListInventories": {
"methods": [
"list_inventories"
]
},
"ListVulnerabilityReports": {
"methods": [
"list_vulnerability_reports"
]
}
}
},
"grpc-async": {
"libraryClient": "OsConfigZonalServiceAsyncClient",
"rpcs": {
"GetInventory": {
"methods": [
"get_inventory"
]
},
"GetVulnerabilityReport": {
"methods": [
"get_vulnerability_report"
]
},
"ListInventories": {
"methods": [
"list_inventories"
]
},
"ListVulnerabilityReports": {
"methods": [
"list_vulnerability_reports"
]
}
}
}
}
}
}
}
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import OsConfigZonalServiceClient
from .async_client import OsConfigZonalServiceAsyncClient

__all__ = (
"OsConfigZonalServiceClient",
"OsConfigZonalServiceAsyncClient",
)
Loading

0 comments on commit 72bb90f

Please sign in to comment.