Skip to content

Commit fde5d26

Browse files
feat: Automated regeneration of AIPlatform client (googleapis#13191)
Auto-created at 2025-03-19 13:22:36 +0000 using the toys pull request generator.
1 parent 16668b1 commit fde5d26

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

clients/ai_platform/lib/google_api/ai_platform/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AIPlatform.V1 do
2020
API client metadata for GoogleApi.AIPlatform.V1.
2121
"""
2222

23-
@discovery_revision "20250304"
23+
@discovery_revision "20250307"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_import_rag_files_config.ex

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ImportRagFilesCon
2323
2424
* `gcsSource` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsSource.t`, *default:* `nil`) - Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory`
2525
* `googleDriveSource` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GoogleDriveSource.t`, *default:* `nil`) - Google Drive location. Supports importing individual files as well as Google Drive folders.
26+
* `importResultBigquerySink` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1BigQueryDestination.t`, *default:* `nil`) - The BigQuery destination to write import result to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table.
27+
* `importResultGcsSink` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsDestination.t`, *default:* `nil`) - The Cloud Storage path to write import result to.
2628
* `jiraSource` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1JiraSource.t`, *default:* `nil`) - Jira queries with their corresponding authentication.
2729
* `maxEmbeddingRequestsPerMin` (*type:* `integer()`, *default:* `nil`) - Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used.
2830
* `partialFailureBigquerySink` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1BigQueryDestination.t`, *default:* `nil`) - The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. Deprecated. Prefer to use `import_result_bq_sink`.
@@ -39,6 +41,10 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ImportRagFilesCon
3941
:gcsSource => GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsSource.t() | nil,
4042
:googleDriveSource =>
4143
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GoogleDriveSource.t() | nil,
44+
:importResultBigquerySink =>
45+
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1BigQueryDestination.t() | nil,
46+
:importResultGcsSink =>
47+
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsDestination.t() | nil,
4248
:jiraSource =>
4349
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1JiraSource.t() | nil,
4450
:maxEmbeddingRequestsPerMin => integer() | nil,
@@ -63,6 +69,14 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ImportRagFilesCon
6369
as: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GoogleDriveSource
6470
)
6571

72+
field(:importResultBigquerySink,
73+
as: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1BigQueryDestination
74+
)
75+
76+
field(:importResultGcsSink,
77+
as: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsDestination
78+
)
79+
6680
field(:jiraSource, as: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1JiraSource)
6781
field(:maxEmbeddingRequestsPerMin)
6882

clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_post_startup_script_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PostStartupScript
2323
2424
* `postStartupScript` (*type:* `String.t`, *default:* `nil`) - Optional. Post startup script to run after runtime is started.
2525
* `postStartupScriptBehavior` (*type:* `String.t`, *default:* `nil`) - Optional. Post startup script behavior that defines download and execution behavior.
26-
* `postStartupScriptUrl` (*type:* `String.t`, *default:* `nil`) - Optional. Post startup script url to download. Example: https://bucket/script.sh
26+
* `postStartupScriptUrl` (*type:* `String.t`, *default:* `nil`) - Optional. Post startup script url to download. Example: `gs://bucket/script.sh`
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_reasoning_engine_spec.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSp
2121
2222
## Attributes
2323
24+
* `agentFramework` (*type:* `String.t`, *default:* `nil`) - Optional. The OSS agent framework used to develop the agent. Currently supported values: "langchain", "langgraph", "ag2", "custom".
2425
* `classMethods` (*type:* `list(map())`, *default:* `nil`) - Optional. Declarations for object class methods in OpenAPI specification format.
2526
* `deploymentSpec` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec.t`, *default:* `nil`) - Optional. The specification of a Reasoning Engine deployment.
26-
* `packageSpec` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec.t`, *default:* `nil`) - Required. User provided package spec of the ReasoningEngine.
27+
* `packageSpec` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec.t`, *default:* `nil`) - Required. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes.
2728
"""
2829

2930
use GoogleApi.Gax.ModelBase
3031

3132
@type t :: %__MODULE__{
33+
:agentFramework => String.t() | nil,
3234
:classMethods => list(map()) | nil,
3335
:deploymentSpec =>
3436
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec.t()
@@ -38,6 +40,7 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ReasoningEngineSp
3840
| nil
3941
}
4042

43+
field(:agentFramework)
4144
field(:classMethods, type: :list)
4245

4346
field(:deploymentSpec,

clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_vertex_ai_search.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexAISearch do
2222
## Attributes
2323
2424
* `datastore` (*type:* `String.t`, *default:* `nil`) - Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
25+
* `engine` (*type:* `String.t`, *default:* `nil`) - Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
30-
:datastore => String.t() | nil
31+
:datastore => String.t() | nil,
32+
:engine => String.t() | nil
3133
}
3234

3335
field(:datastore)
36+
field(:engine)
3437
end
3538

3639
defimpl Poison.Decoder, for: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexAISearch do

0 commit comments

Comments
 (0)