Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -682,7 +682,7 @@ class _CreateApi(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("CreateApi")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"apiId": "",
}

Expand Down Expand Up @@ -782,7 +782,7 @@ class _CreateApiConfig(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("CreateApiConfig")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"apiConfigId": "",
}

Expand Down Expand Up @@ -884,7 +884,7 @@ class _CreateGateway(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("CreateGateway")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"gatewayId": "",
}

Expand Down Expand Up @@ -984,7 +984,7 @@ class _DeleteApi(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("DeleteApi")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1073,7 +1073,7 @@ class _DeleteApiConfig(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("DeleteApiConfig")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1164,7 +1164,7 @@ class _DeleteGateway(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("DeleteGateway")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1253,7 +1253,7 @@ class _GetApi(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("GetApi")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1343,7 +1343,7 @@ class _GetApiConfig(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("GetApiConfig")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1434,7 +1434,7 @@ class _GetGateway(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("GetGateway")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1528,7 +1528,7 @@ class _ListApiConfigs(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("ListApiConfigs")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1620,7 +1620,7 @@ class _ListApis(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("ListApis")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1710,7 +1710,7 @@ class _ListGateways(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("ListGateways")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1800,7 +1800,7 @@ class _UpdateApi(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("UpdateApi")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1898,7 +1898,7 @@ class _UpdateApiConfig(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("UpdateApiConfig")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -1998,7 +1998,7 @@ class _UpdateGateway(ApiGatewayServiceRestStub):
def __hash__(self):
return hash("UpdateGateway")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down
2 changes: 2 additions & 0 deletions google/cloud/apigateway_v1/types/apigateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 field_mask_pb2 # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/apigateway_v1/types/apigateway_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.apigateway.v1",
Expand Down