Skip to content

Commit 538d95c

Browse files
committed
Update stubs
1 parent 0c285ea commit 538d95c

106 files changed

Lines changed: 4758 additions & 771 deletions

File tree

Some content is hidden

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

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ class Channel(typing_extensions.TypedDict, total=False):
5656
token: str
5757
type: str
5858

59+
@typing.type_check_only
60+
class CustomerIdentity(typing_extensions.TypedDict, total=False):
61+
id: str
62+
5963
@typing.type_check_only
6064
class Date(typing_extensions.TypedDict, total=False):
6165
day: int
@@ -101,6 +105,11 @@ class FieldValueUserListValue(typing_extensions.TypedDict, total=False):
101105
class FieldValueUserValue(typing_extensions.TypedDict, total=False):
102106
email: str
103107

108+
@typing.type_check_only
109+
class GroupIdentity(typing_extensions.TypedDict, total=False):
110+
groupEmail: str
111+
id: str
112+
104113
@typing.type_check_only
105114
class NestedParameter(typing_extensions.TypedDict, total=False):
106115
boolValue: bool
@@ -111,6 +120,17 @@ class NestedParameter(typing_extensions.TypedDict, total=False):
111120
name: str
112121
value: str
113122

123+
@typing.type_check_only
124+
class OwnerDetails(typing_extensions.TypedDict, total=False):
125+
ownerIdentity: _list[OwnerIdentity]
126+
ownerType: str
127+
128+
@typing.type_check_only
129+
class OwnerIdentity(typing_extensions.TypedDict, total=False):
130+
customerIdentity: CustomerIdentity
131+
groupIdentity: GroupIdentity
132+
userIdentity: UserIdentity
133+
114134
@typing.type_check_only
115135
class Reason(typing_extensions.TypedDict, total=False):
116136
reasonType: str
@@ -119,6 +139,7 @@ class Reason(typing_extensions.TypedDict, total=False):
119139
class ResourceDetails(typing_extensions.TypedDict, total=False):
120140
appliedLabels: _list[AppliedLabel]
121141
id: str
142+
ownerDetails: OwnerDetails
122143
relation: str
123144
title: str
124145
type: str
@@ -138,3 +159,8 @@ class UsageReports(typing_extensions.TypedDict, total=False):
138159
nextPageToken: str
139160
usageReports: _list[UsageReport]
140161
warnings: _list[dict[str, typing.Any]]
162+
163+
@typing.type_check_only
164+
class UserIdentity(typing_extensions.TypedDict, total=False):
165+
id: str
166+
userEmail: str

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,6 +2100,14 @@ class AiplatformResource(googleapiclient.discovery.Resource):
21002100
deployedModelId: str = ...,
21012101
**kwargs: typing.Any,
21022102
) -> GoogleApiHttpBodyHttpRequest: ...
2103+
def responses(
2104+
self,
2105+
*,
2106+
endpoint: str,
2107+
body: GoogleApiHttpBody = ...,
2108+
deployedModelId: str = ...,
2109+
**kwargs: typing.Any,
2110+
) -> GoogleApiHttpBodyHttpRequest: ...
21032111

21042112
@typing.type_check_only
21052113
class OperationsResource(googleapiclient.discovery.Resource):
@@ -5134,6 +5142,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
51345142
*,
51355143
parent: str,
51365144
body: GoogleCloudAiplatformV1Memory = ...,
5145+
memoryId: str = ...,
51375146
**kwargs: typing.Any,
51385147
) -> GoogleLongrunningOperationHttpRequest: ...
51395148
def delete(
@@ -5350,6 +5359,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
53505359
*,
53515360
parent: str,
53525361
body: GoogleCloudAiplatformV1Session = ...,
5362+
sessionId: str = ...,
53535363
**kwargs: typing.Any,
53545364
) -> GoogleLongrunningOperationHttpRequest: ...
53555365
def delete(
@@ -6345,6 +6355,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
63456355
) -> GoogleLongrunningOperationHttpRequest: ...
63466356
def operations(self) -> OperationsResource: ...
63476357

6358+
def askContexts(
6359+
self,
6360+
*,
6361+
parent: str,
6362+
body: GoogleCloudAiplatformV1AskContextsRequest = ...,
6363+
**kwargs: typing.Any,
6364+
) -> GoogleCloudAiplatformV1AskContextsResponseHttpRequest: ...
6365+
def asyncRetrieveContexts(
6366+
self,
6367+
*,
6368+
parent: str,
6369+
body: GoogleCloudAiplatformV1AsyncRetrieveContextsRequest = ...,
6370+
**kwargs: typing.Any,
6371+
) -> GoogleLongrunningOperationHttpRequest: ...
63486372
def augmentPrompt(
63496373
self,
63506374
*,
@@ -7353,6 +7377,16 @@ class GoogleCloudAiplatformV1ArtifactHttpRequest(googleapiclient.http.HttpReques
73537377
num_retries: int = 0,
73547378
) -> GoogleCloudAiplatformV1Artifact: ...
73557379

7380+
@typing.type_check_only
7381+
class GoogleCloudAiplatformV1AskContextsResponseHttpRequest(
7382+
googleapiclient.http.HttpRequest
7383+
):
7384+
def execute(
7385+
self,
7386+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
7387+
num_retries: int = 0,
7388+
) -> GoogleCloudAiplatformV1AskContextsResponse: ...
7389+
73567390
@typing.type_check_only
73577391
class GoogleCloudAiplatformV1AugmentPromptResponseHttpRequest(
73587392
googleapiclient.http.HttpRequest

0 commit comments

Comments
 (0)