Skip to content

Commit

Permalink
Add v2.122.0 support (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru authored Mar 16, 2024
1 parent 1016b11 commit a7378e6
Show file tree
Hide file tree
Showing 239 changed files with 19,806 additions and 1,035 deletions.
9 changes: 9 additions & 0 deletions googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ class AuxiliaryMessage(typing_extensions.TypedDict, total=False):
"SEVERITY_UNSPECIFIED", "SEVERITY_INFO", "SEVERITY_WARNING", "SEVERITY_ERROR"
]

@typing.type_check_only
class BacklightInfo(typing_extensions.TypedDict, total=False):
brightness: int
maxBrightness: int
path: str

@typing.type_check_only
class BatchChangeChromeOsDeviceStatusRequest(typing_extensions.TypedDict, total=False):
changeChromeOsDeviceStatusAction: typing_extensions.Literal[
Expand Down Expand Up @@ -192,6 +198,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False):
annotatedLocation: str
annotatedUser: str
autoUpdateExpiration: str
backlightInfo: _list[BacklightInfo]
bootMode: str
cpuInfo: _list[dict[str, typing.Any]]
cpuStatusReports: _list[dict[str, typing.Any]]
Expand Down Expand Up @@ -326,6 +333,7 @@ class DirectoryChromeosdevicesCommand(typing_extensions.TypedDict, total=False):
"REMOTE_POWERWASH",
"DEVICE_START_CRD_SESSION",
"CAPTURE_LOGS",
"FETCH_SUPPORT_PACKET",
]

@typing.type_check_only
Expand All @@ -350,6 +358,7 @@ class DirectoryChromeosdevicesIssueCommandRequest(
"REMOTE_POWERWASH",
"DEVICE_START_CRD_SESSION",
"CAPTURE_LOGS",
"FETCH_SUPPORT_PACKET",
]
payload: str

Expand Down
1 change: 1 addition & 0 deletions googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ReportsResource(googleapiclient.discovery.Resource):
"chrome",
"data_studio",
"keep",
"vault",
],
actorIpAddress: str = ...,
customerId: str = ...,
Expand Down
7 changes: 6 additions & 1 deletion googleapiclient-stubs/_apis/admob/v1beta/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,12 @@ class MediationAbExperiment(typing_extensions.TypedDict, total=False):
treatmentMediationLines: _list[MediationAbExperimentExperimentMediationLine]
treatmentTrafficPercentage: str
variantLeader: typing_extensions.Literal[
"VARIANT_LEADER_UNSPECIFIED", "CONTROL", "TREATMENT"
"VARIANT_LEADER_UNSPECIFIED",
"CONTROL",
"TREATMENT",
"INSUFFICIENT_DATA",
"TOO_EARLY_TO_CALL",
"NO_VARIANT_LEADER",
]

@typing.type_check_only
Expand Down
69 changes: 68 additions & 1 deletion googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,13 @@ class AiplatformResource(googleapiclient.discovery.Resource):
body: GoogleCloudAiplatformV1ExplainRequest = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1ExplainResponseHttpRequest: ...
def generateContent(
self,
*,
model: str,
body: GoogleCloudAiplatformV1GenerateContentRequest = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ...
def get(
self, *, name: str, **kwargs: typing.Any
) -> GoogleCloudAiplatformV1EndpointHttpRequest: ...
Expand Down Expand Up @@ -1054,6 +1061,15 @@ class AiplatformResource(googleapiclient.discovery.Resource):
updateMask: str = ...,
**kwargs: typing.Any
) -> GoogleLongrunningOperationHttpRequest: ...
def searchNearestEntities(
self,
*,
featureView: str,
body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest = ...,
**kwargs: typing.Any
) -> (
GoogleCloudAiplatformV1SearchNearestEntitiesResponseHttpRequest
): ...
def sync(
self,
*,
Expand Down Expand Up @@ -2456,6 +2472,13 @@ class AiplatformResource(googleapiclient.discovery.Resource):
def get(
self, *, name: str, **kwargs: typing.Any
) -> GoogleCloudAiplatformV1ModelHttpRequest: ...
def getIamPolicy(
self,
*,
resource: str,
options_requestedPolicyVersion: int = ...,
**kwargs: typing.Any
) -> GoogleIamV1PolicyHttpRequest: ...
def list(
self,
*,
Expand Down Expand Up @@ -2505,6 +2528,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
updateMask: str = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1ModelHttpRequest: ...
def setIamPolicy(
self,
*,
resource: str,
body: GoogleIamV1SetIamPolicyRequest = ...,
**kwargs: typing.Any
) -> GoogleIamV1PolicyHttpRequest: ...
def testIamPermissions(
self,
*,
resource: str,
permissions: str | _list[str] = ...,
**kwargs: typing.Any
) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ...
def updateExplanationDataset(
self,
*,
Expand Down Expand Up @@ -2751,6 +2788,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
self, *, name: str, timeout: str = ..., **kwargs: typing.Any
) -> GoogleLongrunningOperationHttpRequest: ...

def batchCancel(
self,
*,
parent: str,
body: GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest = ...,
**kwargs: typing.Any
) -> GoogleLongrunningOperationHttpRequest: ...
def batchDelete(
self,
*,
parent: str,
body: GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest = ...,
**kwargs: typing.Any
) -> GoogleLongrunningOperationHttpRequest: ...
def cancel(
self,
*,
Expand All @@ -2764,7 +2815,6 @@ class AiplatformResource(googleapiclient.discovery.Resource):
parent: str,
body: GoogleCloudAiplatformV1PipelineJob = ...,
pipelineJobId: str = ...,
preflightValidations: bool = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1PipelineJobHttpRequest: ...
def delete(
Expand Down Expand Up @@ -2811,6 +2861,13 @@ class AiplatformResource(googleapiclient.discovery.Resource):
body: GoogleCloudAiplatformV1CountTokensRequest = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ...
def generateContent(
self,
*,
model: str,
body: GoogleCloudAiplatformV1GenerateContentRequest = ...,
**kwargs: typing.Any
) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ...
def predict(
self,
*,
Expand Down Expand Up @@ -4801,6 +4858,16 @@ class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRespon
GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse
): ...

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

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

0 comments on commit a7378e6

Please sign in to comment.