Content-Length: 954255 | pFad | http://github.com/googleapis/google-cloud-python/commit/3121cc12ee2cdbb013ab89039dc39aa529bf6dc2

81 feat: add support for field generate_omitted_as_internal in selective… · googleapis/google-cloud-python@3121cc1 · GitHub
Skip to content

Commit 3121cc1

Browse files
feat: add support for field generate_omitted_as_internal in selective gapic generation
PiperOrigin-RevId: 721375937 Source-Link: googleapis/googleapis@78733bf Source-Link: googleapis/googleapis-gen@a1335fa Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlYXBpcy1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiJhMTMzNWZhOTQ2Mzk5NzlhMzgzMWUwNjAzNWFhYzQ0YTI0ZmRhY2M0In0=
1 parent d2df42f commit 3121cc1

File tree

124 files changed

+4529
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+4529
-0
lines changed

owl-bot-staging/googleapis-common-protos/api-py/google/api/annotations_pb2.py

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from google.api import http_pb2 as _http_pb2
2+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
3+
from google.protobuf import descriptor as _descriptor
4+
from typing import ClassVar as _ClassVar
5+
6+
DESCRIPTOR: _descriptor.FileDescriptor
7+
HTTP_FIELD_NUMBER: _ClassVar[int]
8+
http: _descriptor.FieldDescriptor

owl-bot-staging/googleapis-common-protos/api-py/google/api/auth_pb2.py

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
from google.protobuf.internal import containers as _containers
2+
from google.protobuf import descriptor as _descriptor
3+
from google.protobuf import message as _message
4+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
5+
6+
DESCRIPTOR: _descriptor.FileDescriptor
7+
8+
class Authentication(_message.Message):
9+
__slots__ = ("rules", "providers")
10+
RULES_FIELD_NUMBER: _ClassVar[int]
11+
PROVIDERS_FIELD_NUMBER: _ClassVar[int]
12+
rules: _containers.RepeatedCompositeFieldContainer[AuthenticationRule]
13+
providers: _containers.RepeatedCompositeFieldContainer[AuthProvider]
14+
def __init__(self, rules: _Optional[_Iterable[_Union[AuthenticationRule, _Mapping]]] = ..., providers: _Optional[_Iterable[_Union[AuthProvider, _Mapping]]] = ...) -> None: ...
15+
16+
class AuthenticationRule(_message.Message):
17+
__slots__ = ("selector", "oauth", "allow_without_credential", "requirements")
18+
SELECTOR_FIELD_NUMBER: _ClassVar[int]
19+
OAUTH_FIELD_NUMBER: _ClassVar[int]
20+
ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER: _ClassVar[int]
21+
REQUIREMENTS_FIELD_NUMBER: _ClassVar[int]
22+
selector: str
23+
oauth: OAuthRequirements
24+
allow_without_credential: bool
25+
requirements: _containers.RepeatedCompositeFieldContainer[AuthRequirement]
26+
def __init__(self, selector: _Optional[str] = ..., oauth: _Optional[_Union[OAuthRequirements, _Mapping]] = ..., allow_without_credential: bool = ..., requirements: _Optional[_Iterable[_Union[AuthRequirement, _Mapping]]] = ...) -> None: ...
27+
28+
class JwtLocation(_message.Message):
29+
__slots__ = ("header", "query", "cookie", "value_prefix")
30+
HEADER_FIELD_NUMBER: _ClassVar[int]
31+
QUERY_FIELD_NUMBER: _ClassVar[int]
32+
COOKIE_FIELD_NUMBER: _ClassVar[int]
33+
VALUE_PREFIX_FIELD_NUMBER: _ClassVar[int]
34+
header: str
35+
query: str
36+
cookie: str
37+
value_prefix: str
38+
def __init__(self, header: _Optional[str] = ..., query: _Optional[str] = ..., cookie: _Optional[str] = ..., value_prefix: _Optional[str] = ...) -> None: ...
39+
40+
class AuthProvider(_message.Message):
41+
__slots__ = ("id", "issuer", "jwks_uri", "audiences", "authorization_url", "jwt_locations")
42+
ID_FIELD_NUMBER: _ClassVar[int]
43+
ISSUER_FIELD_NUMBER: _ClassVar[int]
44+
JWKS_URI_FIELD_NUMBER: _ClassVar[int]
45+
AUDIENCES_FIELD_NUMBER: _ClassVar[int]
46+
AUTHORIZATION_URL_FIELD_NUMBER: _ClassVar[int]
47+
JWT_LOCATIONS_FIELD_NUMBER: _ClassVar[int]
48+
id: str
49+
issuer: str
50+
jwks_uri: str
51+
audiences: str
52+
authorization_url: str
53+
jwt_locations: _containers.RepeatedCompositeFieldContainer[JwtLocation]
54+
def __init__(self, id: _Optional[str] = ..., issuer: _Optional[str] = ..., jwks_uri: _Optional[str] = ..., audiences: _Optional[str] = ..., authorization_url: _Optional[str] = ..., jwt_locations: _Optional[_Iterable[_Union[JwtLocation, _Mapping]]] = ...) -> None: ...
55+
56+
class OAuthRequirements(_message.Message):
57+
__slots__ = ("canonical_scopes",)
58+
CANONICAL_SCOPES_FIELD_NUMBER: _ClassVar[int]
59+
canonical_scopes: str
60+
def __init__(self, canonical_scopes: _Optional[str] = ...) -> None: ...
61+
62+
class AuthRequirement(_message.Message):
63+
__slots__ = ("provider_id", "audiences")
64+
PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
65+
AUDIENCES_FIELD_NUMBER: _ClassVar[int]
66+
provider_id: str
67+
audiences: str
68+
def __init__(self, provider_id: _Optional[str] = ..., audiences: _Optional[str] = ...) -> None: ...

owl-bot-staging/googleapis-common-protos/api-py/google/api/backend_pb2.py

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
from google.protobuf.internal import containers as _containers
2+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3+
from google.protobuf import descriptor as _descriptor
4+
from google.protobuf import message as _message
5+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
6+
7+
DESCRIPTOR: _descriptor.FileDescriptor
8+
9+
class Backend(_message.Message):
10+
__slots__ = ("rules",)
11+
RULES_FIELD_NUMBER: _ClassVar[int]
12+
rules: _containers.RepeatedCompositeFieldContainer[BackendRule]
13+
def __init__(self, rules: _Optional[_Iterable[_Union[BackendRule, _Mapping]]] = ...) -> None: ...
14+
15+
class BackendRule(_message.Message):
16+
__slots__ = ("selector", "address", "deadline", "min_deadline", "operation_deadline", "path_translation", "jwt_audience", "disable_auth", "protocol", "overrides_by_request_protocol")
17+
class PathTranslation(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
18+
__slots__ = ()
19+
PATH_TRANSLATION_UNSPECIFIED: _ClassVar[BackendRule.PathTranslation]
20+
CONSTANT_ADDRESS: _ClassVar[BackendRule.PathTranslation]
21+
APPEND_PATH_TO_ADDRESS: _ClassVar[BackendRule.PathTranslation]
22+
PATH_TRANSLATION_UNSPECIFIED: BackendRule.PathTranslation
23+
CONSTANT_ADDRESS: BackendRule.PathTranslation
24+
APPEND_PATH_TO_ADDRESS: BackendRule.PathTranslation
25+
class OverridesByRequestProtocolEntry(_message.Message):
26+
__slots__ = ("key", "value")
27+
KEY_FIELD_NUMBER: _ClassVar[int]
28+
VALUE_FIELD_NUMBER: _ClassVar[int]
29+
key: str
30+
value: BackendRule
31+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[BackendRule, _Mapping]] = ...) -> None: ...
32+
SELECTOR_FIELD_NUMBER: _ClassVar[int]
33+
ADDRESS_FIELD_NUMBER: _ClassVar[int]
34+
DEADLINE_FIELD_NUMBER: _ClassVar[int]
35+
MIN_DEADLINE_FIELD_NUMBER: _ClassVar[int]
36+
OPERATION_DEADLINE_FIELD_NUMBER: _ClassVar[int]
37+
PATH_TRANSLATION_FIELD_NUMBER: _ClassVar[int]
38+
JWT_AUDIENCE_FIELD_NUMBER: _ClassVar[int]
39+
DISABLE_AUTH_FIELD_NUMBER: _ClassVar[int]
40+
PROTOCOL_FIELD_NUMBER: _ClassVar[int]
41+
OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER: _ClassVar[int]
42+
selector: str
43+
address: str
44+
deadline: float
45+
min_deadline: float
46+
operation_deadline: float
47+
path_translation: BackendRule.PathTranslation
48+
jwt_audience: str
49+
disable_auth: bool
50+
protocol: str
51+
overrides_by_request_protocol: _containers.MessageMap[str, BackendRule]
52+
def __init__(self, selector: _Optional[str] = ..., address: _Optional[str] = ..., deadline: _Optional[float] = ..., min_deadline: _Optional[float] = ..., operation_deadline: _Optional[float] = ..., path_translation: _Optional[_Union[BackendRule.PathTranslation, str]] = ..., jwt_audience: _Optional[str] = ..., disable_auth: bool = ..., protocol: _Optional[str] = ..., overrides_by_request_protocol: _Optional[_Mapping[str, BackendRule]] = ...) -> None: ...

owl-bot-staging/googleapis-common-protos/api-py/google/api/billing_pb2.py

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from google.protobuf.internal import containers as _containers
2+
from google.protobuf import descriptor as _descriptor
3+
from google.protobuf import message as _message
4+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
5+
6+
DESCRIPTOR: _descriptor.FileDescriptor
7+
8+
class Billing(_message.Message):
9+
__slots__ = ("consumer_destinations",)
10+
class BillingDestination(_message.Message):
11+
__slots__ = ("monitored_resource", "metrics")
12+
MONITORED_RESOURCE_FIELD_NUMBER: _ClassVar[int]
13+
METRICS_FIELD_NUMBER: _ClassVar[int]
14+
monitored_resource: str
15+
metrics: _containers.RepeatedScalarFieldContainer[str]
16+
def __init__(self, monitored_resource: _Optional[str] = ..., metrics: _Optional[_Iterable[str]] = ...) -> None: ...
17+
CONSUMER_DESTINATIONS_FIELD_NUMBER: _ClassVar[int]
18+
consumer_destinations: _containers.RepeatedCompositeFieldContainer[Billing.BillingDestination]
19+
def __init__(self, consumer_destinations: _Optional[_Iterable[_Union[Billing.BillingDestination, _Mapping]]] = ...) -> None: ...

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/3121cc12ee2cdbb013ab89039dc39aa529bf6dc2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy