diff --git a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py index 2a71d2d..8b2451e 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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 @@ -362,7 +362,7 @@ class _CreateAttestor(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("CreateAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "attestorId": "", } @@ -465,7 +465,7 @@ class _DeleteAttestor(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("DeleteAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -541,7 +541,7 @@ class _GetAttestor(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("GetAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -633,7 +633,7 @@ class _GetPolicy(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("GetPolicy") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -723,7 +723,7 @@ class _ListAttestors(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("ListAttestors") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -813,7 +813,7 @@ class _UpdateAttestor(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("UpdateAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -914,7 +914,7 @@ class _UpdatePolicy(BinauthzManagementServiceV1RestStub): def __hash__(self): return hash("UpdatePolicy") - __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/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py index ee8f0de..3e2e10d 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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 @@ -199,7 +199,7 @@ class _GetSystemPolicy(SystemPolicyV1RestStub): def __hash__(self): return hash("GetSystemPolicy") - __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/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py index f4a8b79..fb96efb 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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 @@ -201,7 +201,7 @@ class _ValidateAttestationOccurrence(ValidationHelperV1RestStub): def __hash__(self): return hash("ValidateAttestationOccurrence") - __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/google/cloud/binaryauthorization_v1/types/resources.py b/google/cloud/binaryauthorization_v1/types/resources.py index 546571e..918e997 100644 --- a/google/cloud/binaryauthorization_v1/types/resources.py +++ b/google/cloud/binaryauthorization_v1/types/resources.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/google/cloud/binaryauthorization_v1/types/service.py b/google/cloud/binaryauthorization_v1/types/service.py index 2ef1287..370103f 100644 --- a/google/cloud/binaryauthorization_v1/types/service.py +++ b/google/cloud/binaryauthorization_v1/types/service.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 grafeas.grafeas_v1.types # type: ignore diff --git a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py index 4025d55..a4956ba 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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 @@ -366,7 +366,7 @@ class _CreateAttestor(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("CreateAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "attestorId": "", } @@ -469,7 +469,7 @@ class _DeleteAttestor(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("DeleteAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -545,7 +545,7 @@ class _GetAttestor(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("GetAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -637,7 +637,7 @@ class _GetPolicy(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("GetPolicy") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -728,7 +728,7 @@ class _ListAttestors(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("ListAttestors") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -818,7 +818,7 @@ class _UpdateAttestor(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("UpdateAttestor") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -919,7 +919,7 @@ class _UpdatePolicy(BinauthzManagementServiceV1Beta1RestStub): def __hash__(self): return hash("UpdatePolicy") - __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/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py index e929ad4..b6f33de 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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 @@ -199,7 +199,7 @@ class _GetSystemPolicy(SystemPolicyV1Beta1RestStub): def __hash__(self): return hash("GetSystemPolicy") - __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/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py b/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py index 3d705d9..1d78587 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py +++ b/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.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/google/cloud/binaryauthorization_v1beta1/types/resources.py b/google/cloud/binaryauthorization_v1beta1/types/resources.py index 90d1dd5..811bda7 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/resources.py +++ b/google/cloud/binaryauthorization_v1beta1/types/resources.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/google/cloud/binaryauthorization_v1beta1/types/service.py b/google/cloud/binaryauthorization_v1beta1/types/service.py index b20e6e1..a8ec8f5 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/service.py +++ b/google/cloud/binaryauthorization_v1beta1/types/service.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