Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 16, 2024
1 parent cb2481e commit cb3f24b
Show file tree
Hide file tree
Showing 38 changed files with 31,921 additions and 907 deletions.
235 changes: 232 additions & 3 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4466,6 +4466,34 @@
"resources": {
"features": {
"methods": {
"batchCreate": {
"description": "Creates a batch of Features in a given FeatureGroup.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features:batchCreate",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.featureGroups.features.batchCreate",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/features:batchCreate",
"request": {
"$ref": "GoogleCloudAiplatformV1BatchCreateFeaturesRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a new Feature in a given FeatureGroup.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features",
Expand Down Expand Up @@ -17846,7 +17874,7 @@
}
}
},
"revision": "20241001",
"revision": "20241007",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -17897,6 +17925,10 @@
"$ref": "CloudAiLargeModelsVisionImageRAIScores",
"description": "RAI scores for generated image."
},
"imageSize": {
"$ref": "CloudAiLargeModelsVisionImageImageSize",
"description": "Image size. The size of the image. Can be self reported, or computed from the image bytes."
},
"raiInfo": {
"$ref": "CloudAiLargeModelsVisionRaiInfo",
"description": "RAI info for image."
Expand All @@ -17916,6 +17948,25 @@
},
"type": "object"
},
"CloudAiLargeModelsVisionImageImageSize": {
"description": "Image size.",
"id": "CloudAiLargeModelsVisionImageImageSize",
"properties": {
"channels": {
"format": "int32",
"type": "integer"
},
"height": {
"format": "int32",
"type": "integer"
},
"width": {
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"CloudAiLargeModelsVisionImageRAIScores": {
"description": "RAI scores for generated image returned.",
"id": "CloudAiLargeModelsVisionImageRAIScores",
Expand Down Expand Up @@ -20496,6 +20547,10 @@
"description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations",
"type": "string"
},
"pscInterfaceConfig": {
"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig",
"description": "Optional. Configuration for PSC-I for CustomJob."
},
"reservedIpRanges": {
"description": "Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].",
"items": {
Expand Down Expand Up @@ -23839,6 +23894,10 @@
"description": "Configuration for Sync. Only one option is set.",
"id": "GoogleCloudAiplatformV1FeatureViewSyncConfig",
"properties": {
"continuous": {
"description": "Optional. If true, syncs the FeatureView in a continuous manner to Online Store.",
"type": "boolean"
},
"cron": {
"description": "Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".",
"type": "string"
Expand Down Expand Up @@ -24732,6 +24791,10 @@
"description": "Generation config.",
"id": "GoogleCloudAiplatformV1GenerationConfig",
"properties": {
"audioTimestamp": {
"description": "Optional. If enabled, audio timestamp will be included in the request to the model.",
"type": "boolean"
},
"candidateCount": {
"description": "Optional. Number of candidates to generate.",
"format": "int32",
Expand Down Expand Up @@ -30943,6 +31006,12 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1PscInterfaceConfig": {
"description": "Configuration for PSC-I.",
"id": "GoogleCloudAiplatformV1PscInterfaceConfig",
"properties": {},
"type": "object"
},
"GoogleCloudAiplatformV1PublisherModel": {
"description": "A Model Garden Publisher Model.",
"id": "GoogleCloudAiplatformV1PublisherModel",
Expand Down Expand Up @@ -32988,7 +33057,7 @@
"type": "string"
},
"enum": {
"description": "Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:[\"EAST\", NORTH\", \"SOUTH\", \"WEST\"]}",
"description": "Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:[\"EAST\", NORTH\", \"SOUTH\", \"WEST\"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -34898,6 +34967,162 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptApiSchema": {
"description": "The A2 schema of a prompt.",
"id": "GoogleCloudAiplatformV1SchemaPromptApiSchema",
"properties": {
"apiSchemaVersion": {
"description": "The Schema version that represents changes to the API behavior.",
"type": "string"
},
"executions": {
"description": "A list of execution instances for constructing a ready-to-use prompt.",
"items": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution"
},
"type": "array"
},
"multimodalPrompt": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt",
"description": "Multimodal prompt which embeds preambles to prompt string."
},
"structuredPrompt": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt",
"description": "The prompt variation that stores preambles in separate fields."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution": {
"description": "A prompt instance's parameters set that contains a set of variable values.",
"id": "GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution",
"properties": {
"arguments": {
"additionalProperties": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue"
},
"description": "Maps variable names to their value.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue": {
"description": "The value of a variable in prompt.",
"id": "GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue",
"properties": {
"partList": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPartList",
"description": "The parts of the variable value."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt": {
"description": "Prompt variation that embeds preambles to prompt string.",
"id": "GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt",
"properties": {
"promptMessage": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage",
"description": "The prompt message."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptSpecPartList": {
"description": "A list of elements and information that make up a portion of prompt.",
"id": "GoogleCloudAiplatformV1SchemaPromptSpecPartList",
"properties": {
"parts": {
"description": "A list of elements that can be part of a prompt.",
"items": {
"$ref": "GoogleCloudAiplatformV1Part"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage": {
"description": "The prompt message that aligns with the prompt message in google.cloud.aiplatform.master.GenerateContentRequest.",
"id": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage",
"properties": {
"contents": {
"description": "The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.",
"items": {
"$ref": "GoogleCloudAiplatformV1Content"
},
"type": "array"
},
"generationConfig": {
"$ref": "GoogleCloudAiplatformV1GenerationConfig",
"description": "Generation config."
},
"model": {
"description": "The model name.",
"type": "string"
},
"safetySettings": {
"description": "Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.",
"items": {
"$ref": "GoogleCloudAiplatformV1SafetySetting"
},
"type": "array"
},
"systemInstruction": {
"$ref": "GoogleCloudAiplatformV1Content",
"description": "The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph."
},
"toolConfig": {
"$ref": "GoogleCloudAiplatformV1ToolConfig",
"description": "Tool config. This config is shared for all tools provided in the request."
},
"tools": {
"description": "A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.",
"items": {
"$ref": "GoogleCloudAiplatformV1Tool"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt": {
"description": "Prompt variation that stores preambles in separate fields.",
"id": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt",
"properties": {
"context": {
"$ref": "GoogleCloudAiplatformV1Content",
"description": "Preamble: The context of the prompt."
},
"examples": {
"description": "Preamble: A set of examples for expected model response.",
"items": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPartList"
},
"type": "array"
},
"inputPrefixes": {
"description": "Preamble: The input prefixes before each example input.",
"items": {
"type": "string"
},
"type": "array"
},
"outputPrefixes": {
"description": "Preamble: The output prefixes before each example output.",
"items": {
"type": "string"
},
"type": "array"
},
"promptMessage": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage",
"description": "The prompt message."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaTablesDatasetMetadata": {
"description": "The metadata of Datasets that contain tables data.",
"id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadata",
Expand Down Expand Up @@ -35039,6 +35264,10 @@
"description": "User-created prompt note. Note size limit is 2KB.",
"type": "string"
},
"promptApiSchema": {
"$ref": "GoogleCloudAiplatformV1SchemaPromptApiSchema",
"description": "The API schema of the prompt to support both UI and SDK usages."
},
"promptType": {
"description": "Type of the prompt dataset.",
"type": "string"
Expand Down Expand Up @@ -39220,7 +39449,7 @@
"id": "GoogleCloudAiplatformV1ToolParameterKVMatchSpec",
"properties": {
"useStrictStringMatch": {
"description": "Optional. Whether to use STRCIT string match on parameter values.",
"description": "Optional. Whether to use STRICT string match on parameter values.",
"type": "boolean"
}
},
Expand Down
Loading

0 comments on commit cb3f24b

Please sign in to comment.