Skip to content

Commit faf99f6

Browse files
committed
Regenerate stubs
1 parent 79e4c63 commit faf99f6

File tree

66 files changed

+2081
-2279
lines changed

Some content is hidden

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

66 files changed

+2081
-2279
lines changed

googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,9 @@ class DirectoryResource(googleapiclient.discovery.Resource):
646646
customFieldMask: str = ...,
647647
customer: str = ...,
648648
domain: str = ...,
649+
event: typing_extensions.Literal[
650+
"eventUndefined", "add", "delete", "makeAdmin", "undelete", "update"
651+
] = ...,
649652
maxResults: int = ...,
650653
orderBy: typing_extensions.Literal[
651654
"orderByUndefined", "email", "familyName", "givenName"

googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -401,14 +401,7 @@ class OrgUnits(typing_extensions.TypedDict, total=False):
401401
organizationUnits: typing.List[OrgUnit]
402402

403403
@typing.type_check_only
404-
class Privilege(typing_extensions.TypedDict, total=False):
405-
childPrivileges: typing.List[Privilege]
406-
etag: str
407-
isOuScopable: bool
408-
kind: str
409-
privilegeName: str
410-
serviceId: str
411-
serviceName: str
404+
class Privilege(typing.Dict[str, typing.Any]): ...
412405

413406
@typing.type_check_only
414407
class Privileges(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/adsense/v1_4/schemas.pyi

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@ import typing
22

33
import typing_extensions
44
@typing.type_check_only
5-
class Account(typing_extensions.TypedDict, total=False):
6-
creation_time: str
7-
id: str
8-
kind: str
9-
name: str
10-
premium: bool
11-
subAccounts: typing.List[Account]
12-
timezone: str
5+
class Account(typing.Dict[str, typing.Any]): ...
136

147
@typing.type_check_only
158
class Accounts(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/analyticsdata/v1alpha/schemas.pyi

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,10 @@ class Filter(typing_extensions.TypedDict, total=False):
113113
stringFilter: StringFilter
114114

115115
@typing.type_check_only
116-
class FilterExpression(typing_extensions.TypedDict, total=False):
117-
andGroup: FilterExpressionList
118-
filter: Filter
119-
notExpression: FilterExpression
120-
orGroup: FilterExpressionList
116+
class FilterExpression(typing.Dict[str, typing.Any]): ...
121117

122118
@typing.type_check_only
123-
class FilterExpressionList(typing_extensions.TypedDict, total=False):
124-
expressions: typing.List[FilterExpression]
119+
class FilterExpressionList(typing.Dict[str, typing.Any]): ...
125120

126121
@typing.type_check_only
127122
class InListFilter(typing_extensions.TypedDict, total=False):
@@ -264,18 +259,7 @@ class Row(typing_extensions.TypedDict, total=False):
264259
metricValues: typing.List[MetricValue]
265260

266261
@typing.type_check_only
267-
class RunPivotReportRequest(typing_extensions.TypedDict, total=False):
268-
cohortSpec: CohortSpec
269-
currencyCode: str
270-
dateRanges: typing.List[DateRange]
271-
dimensionFilter: FilterExpression
272-
dimensions: typing.List[Dimension]
273-
entity: Entity
274-
keepEmptyRows: bool
275-
metricFilter: FilterExpression
276-
metrics: typing.List[Metric]
277-
pivots: typing.List[Pivot]
278-
returnPropertyQuota: bool
262+
class RunPivotReportRequest(typing.Dict[str, typing.Any]): ...
279263

280264
@typing.type_check_only
281265
class RunPivotReportResponse(typing_extensions.TypedDict, total=False):
@@ -310,21 +294,7 @@ class RunRealtimeReportResponse(typing_extensions.TypedDict, total=False):
310294
totals: typing.List[Row]
311295

312296
@typing.type_check_only
313-
class RunReportRequest(typing_extensions.TypedDict, total=False):
314-
cohortSpec: CohortSpec
315-
currencyCode: str
316-
dateRanges: typing.List[DateRange]
317-
dimensionFilter: FilterExpression
318-
dimensions: typing.List[Dimension]
319-
entity: Entity
320-
keepEmptyRows: bool
321-
limit: str
322-
metricAggregations: typing.List[str]
323-
metricFilter: FilterExpression
324-
metrics: typing.List[Metric]
325-
offset: str
326-
orderBys: typing.List[OrderBy]
327-
returnPropertyQuota: bool
297+
class RunReportRequest(typing.Dict[str, typing.Any]): ...
328298

329299
@typing.type_check_only
330300
class RunReportResponse(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi

Lines changed: 5 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,7 @@ class AppRestrictionsSchemaChangeEvent(typing_extensions.TypedDict, total=False)
5252
productId: str
5353

5454
@typing.type_check_only
55-
class AppRestrictionsSchemaRestriction(typing_extensions.TypedDict, total=False):
56-
defaultValue: AppRestrictionsSchemaRestrictionRestrictionValue
57-
description: str
58-
entry: typing.List[str]
59-
entryValue: typing.List[str]
60-
key: str
61-
nestedRestriction: typing.List[AppRestrictionsSchemaRestriction]
62-
restrictionType: typing_extensions.Literal[
63-
"bool",
64-
"string",
65-
"integer",
66-
"choice",
67-
"multiselect",
68-
"hidden",
69-
"bundle",
70-
"bundleArray",
71-
]
72-
title: str
55+
class AppRestrictionsSchemaRestriction(typing.Dict[str, typing.Any]): ...
7356

7457
@typing.type_check_only
7558
class AppRestrictionsSchemaRestrictionRestrictionValue(
@@ -296,18 +279,10 @@ class ManagedConfigurationsSettingsListResponse(
296279
managedConfigurationsSettings: typing.List[ManagedConfigurationsSettings]
297280

298281
@typing.type_check_only
299-
class ManagedProperty(typing_extensions.TypedDict, total=False):
300-
key: str
301-
valueBool: bool
302-
valueBundle: ManagedPropertyBundle
303-
valueBundleArray: typing.List[ManagedPropertyBundle]
304-
valueInteger: int
305-
valueString: str
306-
valueStringArray: typing.List[str]
282+
class ManagedProperty(typing.Dict[str, typing.Any]): ...
307283

308284
@typing.type_check_only
309-
class ManagedPropertyBundle(typing_extensions.TypedDict, total=False):
310-
managedProperty: typing.List[ManagedProperty]
285+
class ManagedPropertyBundle(typing.Dict[str, typing.Any]): ...
311286

312287
@typing.type_check_only
313288
class NewDeviceEvent(typing_extensions.TypedDict, total=False):
@@ -365,18 +340,7 @@ class Permission(typing_extensions.TypedDict, total=False):
365340
permissionId: str
366341

367342
@typing.type_check_only
368-
class Policy(typing_extensions.TypedDict, total=False):
369-
autoUpdatePolicy: typing_extensions.Literal[
370-
"autoUpdatePolicyUnspecified", "choiceToTheUser", "never", "wifiOnly", "always"
371-
]
372-
deviceReportPolicy: typing_extensions.Literal[
373-
"deviceReportPolicyUnspecified", "deviceReportDisabled", "deviceReportEnabled"
374-
]
375-
maintenanceWindow: MaintenanceWindow
376-
productAvailabilityPolicy: typing_extensions.Literal[
377-
"productAvailabilityPolicyUnspecified", "whitelist", "all"
378-
]
379-
productPolicy: typing.List[ProductPolicy]
343+
class Policy(typing.Dict[str, typing.Any]): ...
380344

381345
@typing.type_check_only
382346
class Product(typing_extensions.TypedDict, total=False):
@@ -434,18 +398,7 @@ class ProductPermissions(typing_extensions.TypedDict, total=False):
434398
productId: str
435399

436400
@typing.type_check_only
437-
class ProductPolicy(typing_extensions.TypedDict, total=False):
438-
autoInstallPolicy: AutoInstallPolicy
439-
autoUpdateMode: typing_extensions.Literal[
440-
"autoUpdateModeUnspecified",
441-
"autoUpdateDefault",
442-
"autoUpdatePostponed",
443-
"autoUpdateHighPriority",
444-
]
445-
managedConfiguration: ManagedConfiguration
446-
productId: str
447-
trackIds: typing.List[str]
448-
tracks: typing.List[str]
401+
class ProductPolicy(typing.Dict[str, typing.Any]): ...
449402

450403
@typing.type_check_only
451404
class ProductSet(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -404,24 +404,7 @@ class ManagedConfigurationTemplate(typing_extensions.TypedDict, total=False):
404404
templateId: str
405405

406406
@typing.type_check_only
407-
class ManagedProperty(typing_extensions.TypedDict, total=False):
408-
defaultValue: typing.Any
409-
description: str
410-
entries: typing.List[ManagedPropertyEntry]
411-
key: str
412-
nestedProperties: typing.List[ManagedProperty]
413-
title: str
414-
type: typing_extensions.Literal[
415-
"MANAGED_PROPERTY_TYPE_UNSPECIFIED",
416-
"BOOL",
417-
"STRING",
418-
"INTEGER",
419-
"CHOICE",
420-
"MULTISELECT",
421-
"HIDDEN",
422-
"BUNDLE",
423-
"BUNDLE_ARRAY",
424-
]
407+
class ManagedProperty(typing.Dict[str, typing.Any]): ...
425408

426409
@typing.type_check_only
427410
class ManagedPropertyEntry(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/apigee/v1/resources.pyi

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,40 @@ class ApigeeResource(googleapiclient.discovery.Resource):
808808
body: GoogleCloudApigeeV1TargetServer = ...,
809809
**kwargs: typing.Any
810810
) -> GoogleCloudApigeeV1TargetServerHttpRequest: ...
811+
@typing.type_check_only
812+
class TraceConfigResource(googleapiclient.discovery.Resource):
813+
@typing.type_check_only
814+
class OverridesResource(googleapiclient.discovery.Resource):
815+
def create(
816+
self,
817+
*,
818+
parent: str,
819+
body: GoogleCloudApigeeV1TraceConfigOverride = ...,
820+
**kwargs: typing.Any
821+
) -> GoogleCloudApigeeV1TraceConfigOverrideHttpRequest: ...
822+
def delete(
823+
self, *, name: str, **kwargs: typing.Any
824+
) -> GoogleProtobufEmptyHttpRequest: ...
825+
def get(
826+
self, *, name: str, **kwargs: typing.Any
827+
) -> GoogleCloudApigeeV1TraceConfigOverrideHttpRequest: ...
828+
def list(
829+
self,
830+
*,
831+
parent: str,
832+
pageSize: int = ...,
833+
pageToken: str = ...,
834+
**kwargs: typing.Any
835+
) -> GoogleCloudApigeeV1ListTraceConfigOverridesResponseHttpRequest: ...
836+
def patch(
837+
self,
838+
*,
839+
name: str,
840+
body: GoogleCloudApigeeV1TraceConfigOverride = ...,
841+
updateMask: str = ...,
842+
**kwargs: typing.Any
843+
) -> GoogleCloudApigeeV1TraceConfigOverrideHttpRequest: ...
844+
def overrides(self) -> OverridesResource: ...
811845
def create(
812846
self,
813847
*,
@@ -835,6 +869,9 @@ class ApigeeResource(googleapiclient.discovery.Resource):
835869
options_requestedPolicyVersion: int = ...,
836870
**kwargs: typing.Any
837871
) -> GoogleIamV1PolicyHttpRequest: ...
872+
def getTraceConfig(
873+
self, *, name: str, **kwargs: typing.Any
874+
) -> GoogleCloudApigeeV1TraceConfigHttpRequest: ...
838875
def setIamPolicy(
839876
self,
840877
*,
@@ -882,6 +919,14 @@ class ApigeeResource(googleapiclient.discovery.Resource):
882919
body: GoogleCloudApigeeV1Environment = ...,
883920
**kwargs: typing.Any
884921
) -> GoogleCloudApigeeV1EnvironmentHttpRequest: ...
922+
def updateTraceConfig(
923+
self,
924+
*,
925+
name: str,
926+
body: GoogleCloudApigeeV1TraceConfig = ...,
927+
updateMask: str = ...,
928+
**kwargs: typing.Any
929+
) -> GoogleCloudApigeeV1TraceConfigHttpRequest: ...
885930
def analytics(self) -> AnalyticsResource: ...
886931
def apis(self) -> ApisResource: ...
887932
def caches(self) -> CachesResource: ...
@@ -896,6 +941,7 @@ class ApigeeResource(googleapiclient.discovery.Resource):
896941
def sharedflows(self) -> SharedflowsResource: ...
897942
def stats(self) -> StatsResource: ...
898943
def targetservers(self) -> TargetserversResource: ...
944+
def traceConfig(self) -> TraceConfigResource: ...
899945
@typing.type_check_only
900946
class HostQueriesResource(googleapiclient.discovery.Resource):
901947
def create(
@@ -1914,6 +1960,18 @@ class GoogleCloudApigeeV1ListSharedFlowsResponseHttpRequest(
19141960
num_retries: int = ...,
19151961
) -> GoogleCloudApigeeV1ListSharedFlowsResponse: ...
19161962

1963+
@typing.type_check_only
1964+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponseHttpRequest(
1965+
googleapiclient.http.HttpRequest
1966+
):
1967+
def execute(
1968+
self,
1969+
http: typing.Optional[
1970+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
1971+
] = ...,
1972+
num_retries: int = ...,
1973+
) -> GoogleCloudApigeeV1ListTraceConfigOverridesResponse: ...
1974+
19171975
@typing.type_check_only
19181976
class GoogleCloudApigeeV1NatAddressHttpRequest(googleapiclient.http.HttpRequest):
19191977
def execute(
@@ -2060,6 +2118,28 @@ class GoogleCloudApigeeV1TestDatastoreResponseHttpRequest(
20602118
num_retries: int = ...,
20612119
) -> GoogleCloudApigeeV1TestDatastoreResponse: ...
20622120

2121+
@typing.type_check_only
2122+
class GoogleCloudApigeeV1TraceConfigHttpRequest(googleapiclient.http.HttpRequest):
2123+
def execute(
2124+
self,
2125+
http: typing.Optional[
2126+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
2127+
] = ...,
2128+
num_retries: int = ...,
2129+
) -> GoogleCloudApigeeV1TraceConfig: ...
2130+
2131+
@typing.type_check_only
2132+
class GoogleCloudApigeeV1TraceConfigOverrideHttpRequest(
2133+
googleapiclient.http.HttpRequest
2134+
):
2135+
def execute(
2136+
self,
2137+
http: typing.Optional[
2138+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
2139+
] = ...,
2140+
num_retries: int = ...,
2141+
) -> GoogleCloudApigeeV1TraceConfigOverride: ...
2142+
20632143
@typing.type_check_only
20642144
class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest):
20652145
def execute(

googleapiclient-stubs/_apis/apigee/v1/schemas.pyi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,13 @@ class GoogleCloudApigeeV1ListSharedFlowsResponse(
778778
):
779779
sharedFlows: typing.List[GoogleCloudApigeeV1SharedFlow]
780780

781+
@typing.type_check_only
782+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse(
783+
typing_extensions.TypedDict, total=False
784+
):
785+
nextPageToken: str
786+
traceConfigOverrides: typing.List[GoogleCloudApigeeV1TraceConfigOverride]
787+
781788
@typing.type_check_only
782789
class GoogleCloudApigeeV1Metadata(typing_extensions.TypedDict, total=False):
783790
errors: typing.List[str]
@@ -1192,6 +1199,23 @@ class GoogleCloudApigeeV1TlsInfoConfig(typing_extensions.TypedDict, total=False)
11921199
protocols: typing.List[str]
11931200
trustStore: str
11941201

1202+
@typing.type_check_only
1203+
class GoogleCloudApigeeV1TraceConfig(typing_extensions.TypedDict, total=False):
1204+
endpoint: str
1205+
exporter: typing_extensions.Literal["EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE"]
1206+
samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig
1207+
1208+
@typing.type_check_only
1209+
class GoogleCloudApigeeV1TraceConfigOverride(typing_extensions.TypedDict, total=False):
1210+
apiProxy: str
1211+
name: str
1212+
samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig
1213+
1214+
@typing.type_check_only
1215+
class GoogleCloudApigeeV1TraceSamplingConfig(typing_extensions.TypedDict, total=False):
1216+
sampler: typing_extensions.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"]
1217+
samplingRate: float
1218+
11951219
@typing.type_check_only
11961220
class GoogleCloudApigeeV1UpdateError(typing_extensions.TypedDict, total=False):
11971221
code: typing_extensions.Literal[

0 commit comments

Comments
 (0)