Skip to content

Commit

Permalink
Bump proto-plus-stubs to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru committed Nov 11, 2023
1 parent 780348c commit 1b7d75e
Show file tree
Hide file tree
Showing 2,340 changed files with 21,732 additions and 12,859 deletions.
26 changes: 15 additions & 11 deletions google-stubs/ads/googleads/v13/common/types/ad_asset.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import Any
from collections.abc import Mapping
from typing import Any, TypeVar

import google.protobuf.message
import proto

from google.ads.googleads.v13.common.types.asset_policy import AdAssetPolicySummary
Expand All @@ -10,11 +12,13 @@ from google.ads.googleads.v13.enums.types.served_asset_field_type import (
ServedAssetFieldTypeEnum,
)

_M = TypeVar("_M")

class AdDiscoveryCarouselCardAsset(proto.Message):
asset: str
def __init__(
self,
mapping: Any | None = ...,
self: _M,
mapping: _M | Mapping | google.protobuf.message.Message | None = ...,
*,
ignore_unknown_fields: bool = ...,
asset: str = ...
Expand All @@ -23,8 +27,8 @@ class AdDiscoveryCarouselCardAsset(proto.Message):
class AdImageAsset(proto.Message):
asset: str
def __init__(
self,
mapping: Any | None = ...,
self: _M,
mapping: _M | Mapping | google.protobuf.message.Message | None = ...,
*,
ignore_unknown_fields: bool = ...,
asset: str = ...
Expand All @@ -33,8 +37,8 @@ class AdImageAsset(proto.Message):
class AdMediaBundleAsset(proto.Message):
asset: str
def __init__(
self,
mapping: Any | None = ...,
self: _M,
mapping: _M | Mapping | google.protobuf.message.Message | None = ...,
*,
ignore_unknown_fields: bool = ...,
asset: str = ...
Expand All @@ -46,8 +50,8 @@ class AdTextAsset(proto.Message):
asset_performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel
policy_summary_info: AdAssetPolicySummary
def __init__(
self,
mapping: Any | None = ...,
self: _M,
mapping: _M | Mapping | google.protobuf.message.Message | None = ...,
*,
ignore_unknown_fields: bool = ...,
text: str = ...,
Expand All @@ -59,8 +63,8 @@ class AdTextAsset(proto.Message):
class AdVideoAsset(proto.Message):
asset: str
def __init__(
self,
mapping: Any | None = ...,
self: _M,
mapping: _M | Mapping | google.protobuf.message.Message | None = ...,
*,
ignore_unknown_fields: bool = ...,
asset: str = ...
Expand Down
Loading

0 comments on commit 1b7d75e

Please sign in to comment.