Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa committed Mar 7, 2024
1 parent 3ad20d2 commit cd20121
Show file tree
Hide file tree
Showing 167 changed files with 43,412 additions and 9,707 deletions.
34 changes: 33 additions & 1 deletion DiscoveryJson/admin_directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240227",
"revision": "20240304",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -4810,6 +4810,30 @@
},
"type": "object"
},
"BacklightInfo": {
"description": "Information about the device's backlights.",
"id": "BacklightInfo",
"properties": {
"brightness": {
"description": "Output only. Current brightness of the backlight, between 0 and max_brightness.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"maxBrightness": {
"description": "Output only. Maximum brightness for the backlight.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"path": {
"description": "Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"BatchChangeChromeOsDeviceStatusRequest": {
"description": "A request for changing the status of a batch of ChromeOS devices.",
"id": "BatchChangeChromeOsDeviceStatusRequest",
Expand Down Expand Up @@ -5383,6 +5407,14 @@
"format": "int64",
"type": "string"
},
"backlightInfo": {
"description": "Output only. Contains backlight information for the device.",
"items": {
"$ref": "BacklightInfo"
},
"readOnly": true,
"type": "array"
},
"bootMode": {
"description": "The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).",
"type": "string"
Expand Down
34 changes: 33 additions & 1 deletion DiscoveryJson/admin_directory_v1.json.original
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240227",
"revision": "20240304",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -4810,6 +4810,30 @@
},
"type": "object"
},
"BacklightInfo": {
"description": "Information about the device's backlights.",
"id": "BacklightInfo",
"properties": {
"brightness": {
"description": "Output only. Current brightness of the backlight, between 0 and max_brightness.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"maxBrightness": {
"description": "Output only. Maximum brightness for the backlight.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"path": {
"description": "Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"BatchChangeChromeOsDeviceStatusRequest": {
"description": "A request for changing the status of a batch of ChromeOS devices.",
"id": "BatchChangeChromeOsDeviceStatusRequest",
Expand Down Expand Up @@ -5383,6 +5407,14 @@
"format": "int64",
"type": "string"
},
"backlightInfo": {
"description": "Output only. Contains backlight information for the device.",
"items": {
"$ref": "BacklightInfo"
},
"readOnly": true,
"type": "array"
},
"bootMode": {
"description": "The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).",
"type": "string"
Expand Down
3 changes: 2 additions & 1 deletion DiscoveryJson/adsense_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"description": "The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/adsense/management/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
Expand Down Expand Up @@ -1844,7 +1845,7 @@
}
}
},
"revision": "20231018",
"revision": "20240306",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
Expand Down
148 changes: 142 additions & 6 deletions DiscoveryJson/aiplatform_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -11620,6 +11620,62 @@
},
"pipelineJobs": {
"methods": {
"batchCancel": {
"description": "Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchCancel",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.pipelineJobs.batchCancel",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/pipelineJobs:batchCancel",
"request": {
"$ref": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"batchDelete": {
"description": "Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchDelete",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.pipelineJobs.batchDelete",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/pipelineJobs:batchDelete",
"request": {
"$ref": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"cancel": {
"description": "Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a PipelineJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and PipelineJob.state is set to `CANCELLED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}:cancel",
Expand Down Expand Up @@ -15562,7 +15618,7 @@
}
}
},
"revision": "20240219",
"revision": "20240229",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionEmbedVideoResponse": {
Expand Down Expand Up @@ -15957,15 +16013,21 @@
"FINISH_REASON_MAX_TOKENS",
"FINISH_REASON_SAFETY",
"FINISH_REASON_RECITATION",
"FINISH_REASON_OTHER"
"FINISH_REASON_OTHER",
"FINISH_REASON_BLOCKLIST",
"FINISH_REASON_PROHIBITED_CONTENT",
"FINISH_REASON_SPII"
],
"enumDescriptions": [
"The finish reason is unspecified.",
"Natural stop point of the model or provided stop sequence.",
"The maximum number of tokens as specified in the request was reached.",
"The token generation was stopped as the response was flagged for safety reasons. NOTE: When streaming the Candidate.content will be empty if content filters blocked the output.",
"The token generation was stopped as the response was flagged for unauthorized citations.",
"All other reasons that stopped the token generation."
"All other reasons that stopped the token generation.",
"The token generation was stopped as the response was flagged for the terms which are included from the terminology blocklist.",
"The token generation was stopped as the response was flagged for the prohibited contents.",
"The token generation was stopped as the response was flagged for Sensitive Personally Identifiable Information (SPII) contents."
],
"type": "string"
},
Expand Down Expand Up @@ -16263,12 +16325,16 @@
"enum": [
"BLOCKED_REASON_UNSPECIFIED",
"SAFETY",
"OTHER"
"OTHER",
"BLOCKLIST",
"PROHIBITED_CONTENT"
],
"enumDescriptions": [
"Unspecified blocked reason.",
"Candidates blocked due to safety.",
"Candidates blocked due to other reason."
"Candidates blocked due to other reason.",
"Candidates blocked due to the terms which are included from the terminology blocklist.",
"Candidates blocked due to prohibited content."
],
"type": "string"
},
Expand Down Expand Up @@ -17003,6 +17069,20 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest": {
"description": "Request message for PipelineService.BatchCancelPipelineJobs.",
"id": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest",
"properties": {
"names": {
"description": "Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata": {
"description": "Details of operations that perform batch create Features.",
"id": "GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata",
Expand Down Expand Up @@ -17119,6 +17199,20 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest": {
"description": "Request message for PipelineService.BatchDeletePipelineJobs.",
"id": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest",
"properties": {
"names": {
"description": "Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest": {
"description": "Request message for ModelService.BatchImportEvaluatedAnnotations",
"id": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest",
Expand Down Expand Up @@ -18916,7 +19010,8 @@
"type": "string"
},
"metadata": {
"description": "Required. Additional information about the DatasetVersion.",
"description": "Required. Output only. Additional information about the DatasetVersion.",
"readOnly": true,
"type": "any"
},
"name": {
Expand Down Expand Up @@ -22085,6 +22180,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1GenieSource": {
"description": "Contains information about the source of the models generated from Generative AI Studio.",
"id": "GoogleCloudAiplatformV1GenieSource",
"properties": {
"baseModelUri": {
"description": "Required. The public base model URI.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GroundingAttribution": {
"description": "Grounding attribution.",
"id": "GoogleCloudAiplatformV1GroundingAttribution",
Expand Down Expand Up @@ -24236,6 +24342,10 @@
"description": "Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models.",
"type": "string"
},
"baseModelSource": {
"$ref": "GoogleCloudAiplatformV1ModelBaseModelSource",
"description": "Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models."
},
"containerSpec": {
"$ref": "GoogleCloudAiplatformV1ModelContainerSpec",
"description": "Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models."
Expand Down Expand Up @@ -24406,6 +24516,21 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelBaseModelSource": {
"description": "User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.",
"id": "GoogleCloudAiplatformV1ModelBaseModelSource",
"properties": {
"genieSource": {
"$ref": "GoogleCloudAiplatformV1GenieSource",
"description": "Information about the base model of Genie models."
},
"modelGardenSource": {
"$ref": "GoogleCloudAiplatformV1ModelGardenSource",
"description": "Source information of Model Garden models."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelContainerSpec": {
"description": "Specification of a container for serving predictions. Some fields in this message correspond to fields in the [Kubernetes Container v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).",
"id": "GoogleCloudAiplatformV1ModelContainerSpec",
Expand Down Expand Up @@ -25013,6 +25138,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelGardenSource": {
"description": "Contains information about the source of the models generated from Model Garden.",
"id": "GoogleCloudAiplatformV1ModelGardenSource",
"properties": {
"publicModelName": {
"description": "Required. The model garden source model resource name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelMonitoringAlertConfig": {
"description": "The alert config for model monitoring.",
"id": "GoogleCloudAiplatformV1ModelMonitoringAlertConfig",
Expand Down

0 comments on commit cd20121

Please sign in to comment.