Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class Channel(typing_extensions.TypedDict, total=False):
token: str
type: str

@typing.type_check_only
class CustomerIdentity(typing_extensions.TypedDict, total=False):
id: str

@typing.type_check_only
class Date(typing_extensions.TypedDict, total=False):
day: int
Expand Down Expand Up @@ -101,6 +105,11 @@ class FieldValueUserListValue(typing_extensions.TypedDict, total=False):
class FieldValueUserValue(typing_extensions.TypedDict, total=False):
email: str

@typing.type_check_only
class GroupIdentity(typing_extensions.TypedDict, total=False):
groupEmail: str
id: str

@typing.type_check_only
class NestedParameter(typing_extensions.TypedDict, total=False):
boolValue: bool
Expand All @@ -111,6 +120,17 @@ class NestedParameter(typing_extensions.TypedDict, total=False):
name: str
value: str

@typing.type_check_only
class OwnerDetails(typing_extensions.TypedDict, total=False):
ownerIdentity: _list[OwnerIdentity]
ownerType: str

@typing.type_check_only
class OwnerIdentity(typing_extensions.TypedDict, total=False):
customerIdentity: CustomerIdentity
groupIdentity: GroupIdentity
userIdentity: UserIdentity

@typing.type_check_only
class Reason(typing_extensions.TypedDict, total=False):
reasonType: str
Expand All @@ -119,6 +139,7 @@ class Reason(typing_extensions.TypedDict, total=False):
class ResourceDetails(typing_extensions.TypedDict, total=False):
appliedLabels: _list[AppliedLabel]
id: str
ownerDetails: OwnerDetails
relation: str
title: str
type: str
Expand All @@ -138,3 +159,8 @@ class UsageReports(typing_extensions.TypedDict, total=False):
nextPageToken: str
usageReports: _list[UsageReport]
warnings: _list[dict[str, typing.Any]]

@typing.type_check_only
class UserIdentity(typing_extensions.TypedDict, total=False):
id: str
userEmail: str
34 changes: 34 additions & 0 deletions googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,14 @@ class AiplatformResource(googleapiclient.discovery.Resource):
deployedModelId: str = ...,
**kwargs: typing.Any,
) -> GoogleApiHttpBodyHttpRequest: ...
def responses(
self,
*,
endpoint: str,
body: GoogleApiHttpBody = ...,
deployedModelId: str = ...,
**kwargs: typing.Any,
) -> GoogleApiHttpBodyHttpRequest: ...

@typing.type_check_only
class OperationsResource(googleapiclient.discovery.Resource):
Expand Down Expand Up @@ -5134,6 +5142,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
*,
parent: str,
body: GoogleCloudAiplatformV1Memory = ...,
memoryId: str = ...,
**kwargs: typing.Any,
) -> GoogleLongrunningOperationHttpRequest: ...
def delete(
Expand Down Expand Up @@ -5350,6 +5359,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
*,
parent: str,
body: GoogleCloudAiplatformV1Session = ...,
sessionId: str = ...,
**kwargs: typing.Any,
) -> GoogleLongrunningOperationHttpRequest: ...
def delete(
Expand Down Expand Up @@ -6345,6 +6355,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
) -> GoogleLongrunningOperationHttpRequest: ...
def operations(self) -> OperationsResource: ...

def askContexts(
self,
*,
parent: str,
body: GoogleCloudAiplatformV1AskContextsRequest = ...,
**kwargs: typing.Any,
) -> GoogleCloudAiplatformV1AskContextsResponseHttpRequest: ...
def asyncRetrieveContexts(
self,
*,
parent: str,
body: GoogleCloudAiplatformV1AsyncRetrieveContextsRequest = ...,
**kwargs: typing.Any,
) -> GoogleLongrunningOperationHttpRequest: ...
def augmentPrompt(
self,
*,
Expand Down Expand Up @@ -7353,6 +7377,16 @@ class GoogleCloudAiplatformV1ArtifactHttpRequest(googleapiclient.http.HttpReques
num_retries: int = 0,
) -> GoogleCloudAiplatformV1Artifact: ...

@typing.type_check_only
class GoogleCloudAiplatformV1AskContextsResponseHttpRequest(
googleapiclient.http.HttpRequest
):
def execute(
self,
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
num_retries: int = 0,
) -> GoogleCloudAiplatformV1AskContextsResponse: ...

@typing.type_check_only
class GoogleCloudAiplatformV1AugmentPromptResponseHttpRequest(
googleapiclient.http.HttpRequest
Expand Down
Loading
Loading