diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_service/transports/rest.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_service/transports/rest.py index 89e17dec0624..83285661118b 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_service/transports/rest.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_service/transports/rest.py @@ -17,7 +17,7 @@ import dataclasses import json # type: ignore import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union import warnings from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming @@ -544,7 +544,7 @@ class _CancelPatchJob(OsConfigServiceRestStub): def __hash__(self): return hash("CancelPatchJob") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -651,7 +651,7 @@ class _CreatePatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("CreatePatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "patchDeploymentId": "", } @@ -758,7 +758,7 @@ class _DeletePatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("DeletePatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -836,7 +836,7 @@ class _ExecutePatchJob(OsConfigServiceRestStub): def __hash__(self): return hash("ExecutePatchJob") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -946,7 +946,7 @@ class _GetPatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("GetPatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1042,7 +1042,7 @@ class _GetPatchJob(OsConfigServiceRestStub): def __hash__(self): return hash("GetPatchJob") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1140,7 +1140,7 @@ class _ListPatchDeployments(OsConfigServiceRestStub): def __hash__(self): return hash("ListPatchDeployments") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1232,7 +1232,7 @@ class _ListPatchJobInstanceDetails(OsConfigServiceRestStub): def __hash__(self): return hash("ListPatchJobInstanceDetails") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1325,7 +1325,7 @@ class _ListPatchJobs(OsConfigServiceRestStub): def __hash__(self): return hash("ListPatchJobs") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1415,7 +1415,7 @@ class _PausePatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("PausePatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1520,7 +1520,7 @@ class _ResumePatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("ResumePatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1625,7 +1625,7 @@ class _UpdatePatchDeployment(OsConfigServiceRestStub): def __hash__(self): return hash("UpdatePatchDeployment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_zonal_service/transports/rest.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_zonal_service/transports/rest.py index 7d92285a1ac8..7a8681f2516c 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_zonal_service/transports/rest.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/services/os_config_zonal_service/transports/rest.py @@ -17,7 +17,7 @@ import dataclasses import json # type: ignore import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union import warnings from google.api_core import ( @@ -620,7 +620,7 @@ class _CreateOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("CreateOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "osPolicyAssignmentId": "", } @@ -725,7 +725,7 @@ class _DeleteOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("DeleteOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -819,7 +819,7 @@ class _GetInventory(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetInventory") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -917,7 +917,7 @@ class _GetOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1019,7 +1019,7 @@ class _GetOSPolicyAssignmentReport(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetOSPolicyAssignmentReport") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1116,7 +1116,7 @@ class _GetVulnerabilityReport(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetVulnerabilityReport") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1213,7 +1213,7 @@ class _ListInventories(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListInventories") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1307,7 +1307,7 @@ class _ListOSPolicyAssignmentReports(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignmentReports") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1409,7 +1409,7 @@ class _ListOSPolicyAssignmentRevisions(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignmentRevisions") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1509,7 +1509,7 @@ class _ListOSPolicyAssignments(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignments") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1604,7 +1604,7 @@ class _ListVulnerabilityReports(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListVulnerabilityReports") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1699,7 +1699,7 @@ class _UpdateOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("UpdateOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/inventory.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/inventory.py index 7c6e7783a75d..b276631cad8b 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/inventory.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/inventory.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy.py index 4ad6b3cad34d..d7c67a62d097 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignment_reports.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignment_reports.py index e44fddfaa28b..bd5d8e99f7b4 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignment_reports.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignment_reports.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignments.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignments.py index aa69da82b30f..bc4157c1bc84 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignments.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/os_policy_assignments.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_common.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_common.py index 5035589a02f0..cdde644fc781 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_common.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_common.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_service.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_service.py index beb1044cfe81..d2d61f702480 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_service.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_service.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # - +import proto # type: ignore __protobuf__ = proto.module( package="google.cloud.osconfig.v1", diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_zonal_service.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_zonal_service.py index beb1044cfe81..d2d61f702480 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_zonal_service.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/osconfig_zonal_service.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # - +import proto # type: ignore __protobuf__ = proto.module( package="google.cloud.osconfig.v1", diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_deployments.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_deployments.py index cbb8d36ef88b..1a938c0e2396 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_deployments.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_deployments.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_jobs.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_jobs.py index 2899f51516c0..38a70ad41224 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_jobs.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/patch_jobs.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/vulnerability.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/vulnerability.py index 97abf3599edd..dd0fdb4e30f0 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/vulnerability.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1/types/vulnerability.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/services/os_config_zonal_service/transports/rest.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/services/os_config_zonal_service/transports/rest.py index 9ac87e2713f2..b6550a359bfe 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/services/os_config_zonal_service/transports/rest.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/services/os_config_zonal_service/transports/rest.py @@ -17,7 +17,7 @@ import dataclasses import json # type: ignore import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union import warnings from google.api_core import ( @@ -690,7 +690,7 @@ class _CreateOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("CreateOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "osPolicyAssignmentId": "", } @@ -795,7 +795,7 @@ class _DeleteOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("DeleteOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -889,7 +889,7 @@ class _GetInstanceOSPoliciesCompliance(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetInstanceOSPoliciesCompliance") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1003,7 +1003,7 @@ class _GetInventory(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetInventory") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1101,7 +1101,7 @@ class _GetOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1203,7 +1203,7 @@ class _GetOSPolicyAssignmentReport(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetOSPolicyAssignmentReport") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1300,7 +1300,7 @@ class _GetVulnerabilityReport(OsConfigZonalServiceRestStub): def __hash__(self): return hash("GetVulnerabilityReport") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1397,7 +1397,7 @@ class _ListInstanceOSPoliciesCompliances(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListInstanceOSPoliciesCompliances") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1501,7 +1501,7 @@ class _ListInventories(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListInventories") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1595,7 +1595,7 @@ class _ListOSPolicyAssignmentReports(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignmentReports") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1697,7 +1697,7 @@ class _ListOSPolicyAssignmentRevisions(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignmentRevisions") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1797,7 +1797,7 @@ class _ListOSPolicyAssignments(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListOSPolicyAssignments") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1892,7 +1892,7 @@ class _ListVulnerabilityReports(OsConfigZonalServiceRestStub): def __hash__(self): return hash("ListVulnerabilityReports") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1987,7 +1987,7 @@ class _UpdateOSPolicyAssignment(OsConfigZonalServiceRestStub): def __hash__(self): return hash("UpdateOSPolicyAssignment") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/config_common.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/config_common.py index 545c4a7ce31c..1e453d89ef86 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/config_common.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/config_common.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/instance_os_policies_compliance.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/instance_os_policies_compliance.py index 3c90a3593266..06756a4f0a62 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/instance_os_policies_compliance.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/instance_os_policies_compliance.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/inventory.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/inventory.py index d05631ed457c..78fa32f19947 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/inventory.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/inventory.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy.py index d263dfa960a2..bd775071ad16 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignment_reports.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignment_reports.py index 6ae1d789cf01..e2df60bc9a41 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignment_reports.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignment_reports.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignments.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignments.py index cad9ec1c7caa..16a19bf9dd29 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignments.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/os_policy_assignments.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_common.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_common.py index d434363b6835..cee196f7f971 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_common.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_common.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_zonal_service.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_zonal_service.py index 559df739d004..94b850ba9278 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_zonal_service.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/osconfig_zonal_service.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # - +import proto # type: ignore __protobuf__ = proto.module( package="google.cloud.osconfig.v1alpha", diff --git a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/vulnerability.py b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/vulnerability.py index f42ea070405f..567d47cba51b 100644 --- a/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/vulnerability.py +++ b/packages/google-cloud-os-config/google/cloud/osconfig_v1alpha/types/vulnerability.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import timestamp_pb2 # type: ignore diff --git a/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1.json b/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1.json index ab059d01223d..99230c1f96c0 100644 --- a/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1.json +++ b/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-os-config", - "version": "1.15.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1alpha.json b/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1alpha.json index 076559449f89..0ae2360ae3ee 100644 --- a/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1alpha.json +++ b/packages/google-cloud-os-config/samples/generated_samples/snippet_metadata_google.cloud.osconfig.v1alpha.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-os-config", - "version": "1.15.0" + "version": "0.1.0" }, "snippets": [ {