File tree Expand file tree Collapse file tree
packages/google-cloud-pubsub/google/pubsub_v1/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515#
16- from typing import Union
17-
1816from .pubsub import (
1917 AcknowledgeRequest ,
2018 AIInference ,
8987 ValidateSchemaResponse ,
9088)
9189
92- TimeoutType = Union [
93- int ,
94- float ,
95- "google.api_core.timeout.ConstantTimeout" ,
96- "google.api_core.timeout.ExponentialTimeout" ,
97- ]
98- """The type of the timeout parameter of publisher client methods."""
99-
10090__all__ = (
101- "TimeoutType" ,
10291 "AcknowledgeRequest" ,
10392 "AIInference" ,
10493 "BigQueryConfig" ,
Original file line number Diff line number Diff line change 1717
1818from typing import MutableMapping , MutableSequence
1919
20+ import google .protobuf .duration_pb2 as duration_pb2 # type: ignore
21+ import google .protobuf .field_mask_pb2 as field_mask_pb2 # type: ignore
22+ import google .protobuf .struct_pb2 as struct_pb2 # type: ignore
23+ import google .protobuf .timestamp_pb2 as timestamp_pb2 # type: ignore
2024import proto # type: ignore
21- from google .protobuf import (
22- duration_pb2 , # type: ignore
23- field_mask_pb2 , # type: ignore
24- struct_pb2 , # type: ignore
25- timestamp_pb2 , # type: ignore
26- )
2725
2826from google .pubsub_v1 .types import schema as gp_schema
2927
Original file line number Diff line number Diff line change 1717
1818from typing import MutableMapping , MutableSequence
1919
20+ import google .protobuf .timestamp_pb2 as timestamp_pb2 # type: ignore
2021import proto # type: ignore
21- from google .protobuf import timestamp_pb2 # type: ignore
2222
2323__protobuf__ = proto .module (
2424 package = "google.pubsub.v1" ,
You can’t perform that action at this time.
0 commit comments