google-apis-aiplatform_v1 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 762ba7e7b8af479155ad480eae311263b64b24b380670179c5f0ae08f6c29dec
|
4
|
+
data.tar.gz: 2f73bc60683be92f1ae5e0e3feec10d2986016135f5789e1d94277fc4f862e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53223e4367c41f8045115f029d37295c930c5b9737f4e2af94dacd284114dc18f54360db465f67f478794c751e95077d8fec29e2ac0fa835f26d600f4a2ddce5
|
7
|
+
data.tar.gz: c18404c032cd30f9b9859b9ee7d279741ed3666496dc1e78b2cc0ef7dedc46a4e122107ce9e6c2b2c92c7790452f4b2644a2c707d3adb864d98ff1d2147a21be
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.55.0 (2025-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250529
|
6
|
+
|
7
|
+
### v0.54.0 (2025-06-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250527
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.53.0 (2025-05-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250519
|
@@ -3391,8 +3391,9 @@ module Google
|
|
3391
3391
|
end
|
3392
3392
|
end
|
3393
3393
|
|
3394
|
-
# Result of executing the [ExecutableCode].
|
3395
|
-
# the [
|
3394
|
+
# Result of executing the [ExecutableCode]. Only generated when using the [
|
3395
|
+
# CodeExecution] tool, and always follows a `part` containing the [
|
3396
|
+
# ExecutableCode].
|
3396
3397
|
class GoogleCloudAiplatformV1CodeExecutionResult
|
3397
3398
|
include Google::Apis::Core::Hashable
|
3398
3399
|
|
@@ -3512,6 +3513,34 @@ module Google
|
|
3512
3513
|
end
|
3513
3514
|
end
|
3514
3515
|
|
3516
|
+
# Colab image of the runtime.
|
3517
|
+
class GoogleCloudAiplatformV1ColabImage
|
3518
|
+
include Google::Apis::Core::Hashable
|
3519
|
+
|
3520
|
+
# Output only. A human-readable description of the specified colab image release,
|
3521
|
+
# populated by the system. Example: "Python 3.10", "Latest - current Python 3.
|
3522
|
+
# 11"
|
3523
|
+
# Corresponds to the JSON property `description`
|
3524
|
+
# @return [String]
|
3525
|
+
attr_accessor :description
|
3526
|
+
|
3527
|
+
# Optional. The release name of the NotebookRuntime Colab image, e.g. "py310".
|
3528
|
+
# If not specified, detault to the latest release.
|
3529
|
+
# Corresponds to the JSON property `releaseName`
|
3530
|
+
# @return [String]
|
3531
|
+
attr_accessor :release_name
|
3532
|
+
|
3533
|
+
def initialize(**args)
|
3534
|
+
update!(**args)
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
# Update properties of this object
|
3538
|
+
def update!(**args)
|
3539
|
+
@description = args[:description] if args.key?(:description)
|
3540
|
+
@release_name = args[:release_name] if args.key?(:release_name)
|
3541
|
+
end
|
3542
|
+
end
|
3543
|
+
|
3515
3544
|
# Input for Comet metric.
|
3516
3545
|
class GoogleCloudAiplatformV1CometInput
|
3517
3546
|
include Google::Apis::Core::Hashable
|
@@ -5093,6 +5122,11 @@ module Google
|
|
5093
5122
|
# @return [String]
|
5094
5123
|
attr_accessor :protected_artifact_location_id
|
5095
5124
|
|
5125
|
+
# Configuration for PSC-I.
|
5126
|
+
# Corresponds to the JSON property `pscInterfaceConfig`
|
5127
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig]
|
5128
|
+
attr_accessor :psc_interface_config
|
5129
|
+
|
5096
5130
|
# Optional. A list of names for the reserved ip ranges under the VPC network
|
5097
5131
|
# that can be used for this job. If set, we will deploy the job within the
|
5098
5132
|
# provided ip ranges. Otherwise, the job will be deployed to any ip ranges under
|
@@ -5143,6 +5177,7 @@ module Google
|
|
5143
5177
|
@network = args[:network] if args.key?(:network)
|
5144
5178
|
@persistent_resource_id = args[:persistent_resource_id] if args.key?(:persistent_resource_id)
|
5145
5179
|
@protected_artifact_location_id = args[:protected_artifact_location_id] if args.key?(:protected_artifact_location_id)
|
5180
|
+
@psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
|
5146
5181
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
5147
5182
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
5148
5183
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -8157,8 +8192,9 @@ module Google
|
|
8157
8192
|
end
|
8158
8193
|
|
8159
8194
|
# Code generated by the model that is meant to be executed, and the result
|
8160
|
-
# returned to the model. Generated when using the [
|
8161
|
-
#
|
8195
|
+
# returned to the model. Generated when using the [CodeExecution] tool, in which
|
8196
|
+
# the code will be automatically executed, and a corresponding [
|
8197
|
+
# CodeExecutionResult] will also be generated.
|
8162
8198
|
class GoogleCloudAiplatformV1ExecutableCode
|
8163
8199
|
include Google::Apis::Core::Hashable
|
8164
8200
|
|
@@ -12017,6 +12053,16 @@ module Google
|
|
12017
12053
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
12018
12054
|
attr_accessor :parameters
|
12019
12055
|
|
12056
|
+
# Optional. Describes the parameters to the function in JSON Schema format. The
|
12057
|
+
# schema must describe an object where the properties are the parameters to the
|
12058
|
+
# function. For example: ``` ` "type": "object", "properties": ` "name": ` "type"
|
12059
|
+
# : "string" `, "age": ` "type": "integer" ` `, "additionalProperties": false, "
|
12060
|
+
# required": ["name", "age"], "propertyOrdering": ["name", "age"] ` ``` This
|
12061
|
+
# field is mutually exclusive with `parameters`.
|
12062
|
+
# Corresponds to the JSON property `parametersJsonSchema`
|
12063
|
+
# @return [Object]
|
12064
|
+
attr_accessor :parameters_json_schema
|
12065
|
+
|
12020
12066
|
# Schema is used to define the format of input/output data. Represents a select
|
12021
12067
|
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
12022
12068
|
# schema-object). More fields may be added in the future as needed.
|
@@ -12024,6 +12070,13 @@ module Google
|
|
12024
12070
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
12025
12071
|
attr_accessor :response
|
12026
12072
|
|
12073
|
+
# Optional. Describes the output from this function in JSON Schema format. The
|
12074
|
+
# value specified by the schema is the response value of the function. This
|
12075
|
+
# field is mutually exclusive with `response`.
|
12076
|
+
# Corresponds to the JSON property `responseJsonSchema`
|
12077
|
+
# @return [Object]
|
12078
|
+
attr_accessor :response_json_schema
|
12079
|
+
|
12027
12080
|
def initialize(**args)
|
12028
12081
|
update!(**args)
|
12029
12082
|
end
|
@@ -12033,7 +12086,9 @@ module Google
|
|
12033
12086
|
@description = args[:description] if args.key?(:description)
|
12034
12087
|
@name = args[:name] if args.key?(:name)
|
12035
12088
|
@parameters = args[:parameters] if args.key?(:parameters)
|
12089
|
+
@parameters_json_schema = args[:parameters_json_schema] if args.key?(:parameters_json_schema)
|
12036
12090
|
@response = args[:response] if args.key?(:response)
|
12091
|
+
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
|
12037
12092
|
end
|
12038
12093
|
end
|
12039
12094
|
|
@@ -12480,6 +12535,13 @@ module Google
|
|
12480
12535
|
# @return [Fixnum]
|
12481
12536
|
attr_accessor :candidate_count
|
12482
12537
|
|
12538
|
+
# Optional. If enabled, the model will detect emotions and adapt its responses
|
12539
|
+
# accordingly.
|
12540
|
+
# Corresponds to the JSON property `enableAffectiveDialog`
|
12541
|
+
# @return [Boolean]
|
12542
|
+
attr_accessor :enable_affective_dialog
|
12543
|
+
alias_method :enable_affective_dialog?, :enable_affective_dialog
|
12544
|
+
|
12483
12545
|
# Optional. Frequency penalties.
|
12484
12546
|
# Corresponds to the JSON property `frequencyPenalty`
|
12485
12547
|
# @return [Float]
|
@@ -12505,6 +12567,23 @@ module Google
|
|
12505
12567
|
# @return [Float]
|
12506
12568
|
attr_accessor :presence_penalty
|
12507
12569
|
|
12570
|
+
# Optional. Output schema of the generated response. This is an alternative to `
|
12571
|
+
# response_schema` that accepts [JSON Schema](https://json-schema.org/). If set,
|
12572
|
+
# `response_schema` must be omitted, but `response_mime_type` is required. While
|
12573
|
+
# the full JSON Schema may be sent, not all features are supported. Specifically,
|
12574
|
+
# only the following properties are supported: - `$id` - `$defs` - `$ref` - `$
|
12575
|
+
# anchor` - `type` - `format` - `title` - `description` - `enum` (for strings
|
12576
|
+
# and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` -
|
12577
|
+
# `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties`
|
12578
|
+
# - `additionalProperties` - `required` The non-standard `propertyOrdering`
|
12579
|
+
# property may also be set. Cyclic references are unrolled to a limited degree
|
12580
|
+
# and, as such, may only be used within non-required properties. (Nullable
|
12581
|
+
# properties are not sufficient.) If `$ref` is set on a sub-schema, no other
|
12582
|
+
# properties, except for than those starting as a `$`, may be set.
|
12583
|
+
# Corresponds to the JSON property `responseJsonSchema`
|
12584
|
+
# @return [Object]
|
12585
|
+
attr_accessor :response_json_schema
|
12586
|
+
|
12508
12587
|
# Optional. If true, export the logprobs results in response.
|
12509
12588
|
# Corresponds to the JSON property `responseLogprobs`
|
12510
12589
|
# @return [Boolean]
|
@@ -12580,11 +12659,13 @@ module Google
|
|
12580
12659
|
def update!(**args)
|
12581
12660
|
@audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
|
12582
12661
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
12662
|
+
@enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
|
12583
12663
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
12584
12664
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
12585
12665
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
12586
12666
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
12587
12667
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
12668
|
+
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
|
12588
12669
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
12589
12670
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
12590
12671
|
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
|
@@ -20494,6 +20575,11 @@ module Google
|
|
20494
20575
|
class GoogleCloudAiplatformV1NotebookSoftwareConfig
|
20495
20576
|
include Google::Apis::Core::Hashable
|
20496
20577
|
|
20578
|
+
# Colab image of the runtime.
|
20579
|
+
# Corresponds to the JSON property `colabImage`
|
20580
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage]
|
20581
|
+
attr_accessor :colab_image
|
20582
|
+
|
20497
20583
|
# Optional. Environment variables to be passed to the container. Maximum limit
|
20498
20584
|
# is 100.
|
20499
20585
|
# Corresponds to the JSON property `env`
|
@@ -20511,6 +20597,7 @@ module Google
|
|
20511
20597
|
|
20512
20598
|
# Update properties of this object
|
20513
20599
|
def update!(**args)
|
20600
|
+
@colab_image = args[:colab_image] if args.key?(:colab_image)
|
20514
20601
|
@env = args[:env] if args.key?(:env)
|
20515
20602
|
@post_startup_script_config = args[:post_startup_script_config] if args.key?(:post_startup_script_config)
|
20516
20603
|
end
|
@@ -20540,6 +20627,18 @@ module Google
|
|
20540
20627
|
class GoogleCloudAiplatformV1PscAutomationConfig
|
20541
20628
|
include Google::Apis::Core::Hashable
|
20542
20629
|
|
20630
|
+
# Output only. Forwarding rule created by the PSC service automation. Note for
|
20631
|
+
# Vector search, use IndexPrivateEndpoint instead.
|
20632
|
+
# Corresponds to the JSON property `forwardingRule`
|
20633
|
+
# @return [String]
|
20634
|
+
attr_accessor :forwarding_rule
|
20635
|
+
|
20636
|
+
# Output only. IP address rule created by the PSC service automation. Note for
|
20637
|
+
# Vector search, use IndexPrivateEndpoint instead.
|
20638
|
+
# Corresponds to the JSON property `ipAddress`
|
20639
|
+
# @return [String]
|
20640
|
+
attr_accessor :ip_address
|
20641
|
+
|
20543
20642
|
# Required. The full name of the Google Compute Engine [network](https://cloud.
|
20544
20643
|
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
|
20545
20644
|
# cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
|
@@ -20560,6 +20659,8 @@ module Google
|
|
20560
20659
|
|
20561
20660
|
# Update properties of this object
|
20562
20661
|
def update!(**args)
|
20662
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
20663
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
20563
20664
|
@network = args[:network] if args.key?(:network)
|
20564
20665
|
@project_id = args[:project_id] if args.key?(:project_id)
|
20565
20666
|
end
|
@@ -20952,15 +21053,17 @@ module Google
|
|
20952
21053
|
class GoogleCloudAiplatformV1Part
|
20953
21054
|
include Google::Apis::Core::Hashable
|
20954
21055
|
|
20955
|
-
# Result of executing the [ExecutableCode].
|
20956
|
-
# the [
|
21056
|
+
# Result of executing the [ExecutableCode]. Only generated when using the [
|
21057
|
+
# CodeExecution] tool, and always follows a `part` containing the [
|
21058
|
+
# ExecutableCode].
|
20957
21059
|
# Corresponds to the JSON property `codeExecutionResult`
|
20958
21060
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult]
|
20959
21061
|
attr_accessor :code_execution_result
|
20960
21062
|
|
20961
21063
|
# Code generated by the model that is meant to be executed, and the result
|
20962
|
-
# returned to the model. Generated when using the [
|
20963
|
-
#
|
21064
|
+
# returned to the model. Generated when using the [CodeExecution] tool, in which
|
21065
|
+
# the code will be automatically executed, and a corresponding [
|
21066
|
+
# CodeExecutionResult] will also be generated.
|
20964
21067
|
# Corresponds to the JSON property `executableCode`
|
20965
21068
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExecutableCode]
|
20966
21069
|
attr_accessor :executable_code
|
@@ -21138,6 +21241,11 @@ module Google
|
|
21138
21241
|
# @return [String]
|
21139
21242
|
attr_accessor :network
|
21140
21243
|
|
21244
|
+
# Configuration for PSC-I.
|
21245
|
+
# Corresponds to the JSON property `pscInterfaceConfig`
|
21246
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig]
|
21247
|
+
attr_accessor :psc_interface_config
|
21248
|
+
|
21141
21249
|
# Optional. A list of names for the reserved IP ranges under the VPC network
|
21142
21250
|
# that can be used for this persistent resource. If set, we will deploy the
|
21143
21251
|
# persistent resource within the provided IP ranges. Otherwise, the persistent
|
@@ -21205,6 +21313,7 @@ module Google
|
|
21205
21313
|
@labels = args[:labels] if args.key?(:labels)
|
21206
21314
|
@name = args[:name] if args.key?(:name)
|
21207
21315
|
@network = args[:network] if args.key?(:network)
|
21316
|
+
@psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
|
21208
21317
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
21209
21318
|
@resource_pools = args[:resource_pools] if args.key?(:resource_pools)
|
21210
21319
|
@resource_runtime = args[:resource_runtime] if args.key?(:resource_runtime)
|
@@ -21299,6 +21408,11 @@ module Google
|
|
21299
21408
|
attr_accessor :preflight_validations
|
21300
21409
|
alias_method :preflight_validations?, :preflight_validations
|
21301
21410
|
|
21411
|
+
# Configuration for PSC-I.
|
21412
|
+
# Corresponds to the JSON property `pscInterfaceConfig`
|
21413
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig]
|
21414
|
+
attr_accessor :psc_interface_config
|
21415
|
+
|
21302
21416
|
# A list of names for the reserved ip ranges under the VPC network that can be
|
21303
21417
|
# used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
|
21304
21418
|
# s workload within the provided ip ranges. Otherwise, the job will be deployed
|
@@ -21374,6 +21488,7 @@ module Google
|
|
21374
21488
|
@network = args[:network] if args.key?(:network)
|
21375
21489
|
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
21376
21490
|
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
21491
|
+
@psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
|
21377
21492
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
21378
21493
|
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
21379
21494
|
@schedule_name = args[:schedule_name] if args.key?(:schedule_name)
|
@@ -22555,6 +22670,30 @@ module Google
|
|
22555
22670
|
end
|
22556
22671
|
end
|
22557
22672
|
|
22673
|
+
# Configuration for PSC-I.
|
22674
|
+
class GoogleCloudAiplatformV1PscInterfaceConfig
|
22675
|
+
include Google::Apis::Core::Hashable
|
22676
|
+
|
22677
|
+
# Optional. The name of the Compute Engine [network attachment](https://cloud.
|
22678
|
+
# google.com/vpc/docs/about-network-attachments) to attach to the resource
|
22679
|
+
# within the region and user project. To specify this field, you must have
|
22680
|
+
# already [created a network attachment] (https://cloud.google.com/vpc/docs/
|
22681
|
+
# create-manage-network-attachments#create-network-attachments). This field is
|
22682
|
+
# only used for resources using PSC-I.
|
22683
|
+
# Corresponds to the JSON property `networkAttachment`
|
22684
|
+
# @return [String]
|
22685
|
+
attr_accessor :network_attachment
|
22686
|
+
|
22687
|
+
def initialize(**args)
|
22688
|
+
update!(**args)
|
22689
|
+
end
|
22690
|
+
|
22691
|
+
# Update properties of this object
|
22692
|
+
def update!(**args)
|
22693
|
+
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
22694
|
+
end
|
22695
|
+
end
|
22696
|
+
|
22558
22697
|
# A Model Garden Publisher Model.
|
22559
22698
|
class GoogleCloudAiplatformV1PublisherModel
|
22560
22699
|
include Google::Apis::Core::Hashable
|
@@ -36145,14 +36284,16 @@ module Google
|
|
36145
36284
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters]
|
36146
36285
|
attr_accessor :hyper_parameters
|
36147
36286
|
|
36148
|
-
# Required.
|
36149
|
-
#
|
36287
|
+
# Required. Training dataset used for tuning. The dataset can be specified as
|
36288
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
36289
|
+
# Vertex Multimodal Dataset.
|
36150
36290
|
# Corresponds to the JSON property `trainingDatasetUri`
|
36151
36291
|
# @return [String]
|
36152
36292
|
attr_accessor :training_dataset_uri
|
36153
36293
|
|
36154
|
-
# Optional.
|
36155
|
-
#
|
36294
|
+
# Optional. Validation dataset used for tuning. The dataset can be specified as
|
36295
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
36296
|
+
# Vertex Multimodal Dataset.
|
36156
36297
|
# Corresponds to the JSON property `validationDatasetUri`
|
36157
36298
|
# @return [String]
|
36158
36299
|
attr_accessor :validation_dataset_uri
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250529"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -670,6 +670,12 @@ module Google
|
|
670
670
|
include Google::Apis::Core::JsonObjectSupport
|
671
671
|
end
|
672
672
|
|
673
|
+
class GoogleCloudAiplatformV1ColabImage
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
673
679
|
class GoogleCloudAiplatformV1CometInput
|
674
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
681
|
|
@@ -3616,6 +3622,12 @@ module Google
|
|
3616
3622
|
include Google::Apis::Core::JsonObjectSupport
|
3617
3623
|
end
|
3618
3624
|
|
3625
|
+
class GoogleCloudAiplatformV1PscInterfaceConfig
|
3626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3627
|
+
|
3628
|
+
include Google::Apis::Core::JsonObjectSupport
|
3629
|
+
end
|
3630
|
+
|
3619
3631
|
class GoogleCloudAiplatformV1PublisherModel
|
3620
3632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3621
3633
|
|
@@ -7900,6 +7912,14 @@ module Google
|
|
7900
7912
|
end
|
7901
7913
|
end
|
7902
7914
|
|
7915
|
+
class GoogleCloudAiplatformV1ColabImage
|
7916
|
+
# @private
|
7917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7918
|
+
property :description, as: 'description'
|
7919
|
+
property :release_name, as: 'releaseName'
|
7920
|
+
end
|
7921
|
+
end
|
7922
|
+
|
7903
7923
|
class GoogleCloudAiplatformV1CometInput
|
7904
7924
|
# @private
|
7905
7925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8389,6 +8409,8 @@ module Google
|
|
8389
8409
|
property :network, as: 'network'
|
8390
8410
|
property :persistent_resource_id, as: 'persistentResourceId'
|
8391
8411
|
property :protected_artifact_location_id, as: 'protectedArtifactLocationId'
|
8412
|
+
property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig::Representation
|
8413
|
+
|
8392
8414
|
collection :reserved_ip_ranges, as: 'reservedIpRanges'
|
8393
8415
|
property :scheduling, as: 'scheduling', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Scheduling, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Scheduling::Representation
|
8394
8416
|
|
@@ -10263,8 +10285,10 @@ module Google
|
|
10263
10285
|
property :name, as: 'name'
|
10264
10286
|
property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
10265
10287
|
|
10288
|
+
property :parameters_json_schema, as: 'parametersJsonSchema'
|
10266
10289
|
property :response, as: 'response', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
10267
10290
|
|
10291
|
+
property :response_json_schema, as: 'responseJsonSchema'
|
10268
10292
|
end
|
10269
10293
|
end
|
10270
10294
|
|
@@ -10396,11 +10420,13 @@ module Google
|
|
10396
10420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10397
10421
|
property :audio_timestamp, as: 'audioTimestamp'
|
10398
10422
|
property :candidate_count, as: 'candidateCount'
|
10423
|
+
property :enable_affective_dialog, as: 'enableAffectiveDialog'
|
10399
10424
|
property :frequency_penalty, as: 'frequencyPenalty'
|
10400
10425
|
property :logprobs, as: 'logprobs'
|
10401
10426
|
property :max_output_tokens, as: 'maxOutputTokens'
|
10402
10427
|
property :media_resolution, as: 'mediaResolution'
|
10403
10428
|
property :presence_penalty, as: 'presencePenalty'
|
10429
|
+
property :response_json_schema, as: 'responseJsonSchema'
|
10404
10430
|
property :response_logprobs, as: 'responseLogprobs'
|
10405
10431
|
property :response_mime_type, as: 'responseMimeType'
|
10406
10432
|
collection :response_modalities, as: 'responseModalities'
|
@@ -12639,6 +12665,8 @@ module Google
|
|
12639
12665
|
class GoogleCloudAiplatformV1NotebookSoftwareConfig
|
12640
12666
|
# @private
|
12641
12667
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12668
|
+
property :colab_image, as: 'colabImage', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage::Representation
|
12669
|
+
|
12642
12670
|
collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
|
12643
12671
|
|
12644
12672
|
property :post_startup_script_config, as: 'postStartupScriptConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PostStartupScriptConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PostStartupScriptConfig::Representation
|
@@ -12657,6 +12685,8 @@ module Google
|
|
12657
12685
|
class GoogleCloudAiplatformV1PscAutomationConfig
|
12658
12686
|
# @private
|
12659
12687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12688
|
+
property :forwarding_rule, as: 'forwardingRule'
|
12689
|
+
property :ip_address, as: 'ipAddress'
|
12660
12690
|
property :network, as: 'network'
|
12661
12691
|
property :project_id, as: 'projectId'
|
12662
12692
|
end
|
@@ -12833,6 +12863,8 @@ module Google
|
|
12833
12863
|
hash :labels, as: 'labels'
|
12834
12864
|
property :name, as: 'name'
|
12835
12865
|
property :network, as: 'network'
|
12866
|
+
property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig::Representation
|
12867
|
+
|
12836
12868
|
collection :reserved_ip_ranges, as: 'reservedIpRanges'
|
12837
12869
|
collection :resource_pools, as: 'resourcePools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourcePool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourcePool::Representation
|
12838
12870
|
|
@@ -12865,6 +12897,8 @@ module Google
|
|
12865
12897
|
property :network, as: 'network'
|
12866
12898
|
hash :pipeline_spec, as: 'pipelineSpec'
|
12867
12899
|
property :preflight_validations, as: 'preflightValidations'
|
12900
|
+
property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig::Representation
|
12901
|
+
|
12868
12902
|
collection :reserved_ip_ranges, as: 'reservedIpRanges'
|
12869
12903
|
property :runtime_config, as: 'runtimeConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfig::Representation
|
12870
12904
|
|
@@ -13203,6 +13237,13 @@ module Google
|
|
13203
13237
|
end
|
13204
13238
|
end
|
13205
13239
|
|
13240
|
+
class GoogleCloudAiplatformV1PscInterfaceConfig
|
13241
|
+
# @private
|
13242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13243
|
+
property :network_attachment, as: 'networkAttachment'
|
13244
|
+
end
|
13245
|
+
end
|
13246
|
+
|
13206
13247
|
class GoogleCloudAiplatformV1PublisherModel
|
13207
13248
|
# @private
|
13208
13249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -649,6 +649,41 @@ module Google
|
|
649
649
|
execute_or_queue_command(command, &block)
|
650
650
|
end
|
651
651
|
|
652
|
+
# Fetch an asynchronous online prediction operation.
|
653
|
+
# @param [String] endpoint
|
654
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
655
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
656
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
657
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchPredictOperationRequest] google_cloud_aiplatform_v1_fetch_predict_operation_request_object
|
658
|
+
# @param [String] fields
|
659
|
+
# Selector specifying which fields to include in a partial response.
|
660
|
+
# @param [String] quota_user
|
661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
663
|
+
# @param [Google::Apis::RequestOptions] options
|
664
|
+
# Request-specific options
|
665
|
+
#
|
666
|
+
# @yield [result, err] Result & error if block supplied
|
667
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
668
|
+
# @yieldparam err [StandardError] error object if request failed
|
669
|
+
#
|
670
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
671
|
+
#
|
672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
675
|
+
def fetch_endpoint_predict_operation(endpoint, google_cloud_aiplatform_v1_fetch_predict_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
676
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:fetchPredictOperation', options)
|
677
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchPredictOperationRequest::Representation
|
678
|
+
command.request_object = google_cloud_aiplatform_v1_fetch_predict_operation_request_object
|
679
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
680
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
681
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
682
|
+
command.query['fields'] = fields unless fields.nil?
|
683
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
684
|
+
execute_or_queue_command(command, &block)
|
685
|
+
end
|
686
|
+
|
652
687
|
# Generate content with multimodal inputs.
|
653
688
|
# @param [String] model
|
654
689
|
# Required. The fully qualified name of the publisher model or tuned model
|
@@ -719,6 +754,41 @@ module Google
|
|
719
754
|
execute_or_queue_command(command, &block)
|
720
755
|
end
|
721
756
|
|
757
|
+
#
|
758
|
+
# @param [String] endpoint
|
759
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
760
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
761
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
762
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictLongRunningRequest] google_cloud_aiplatform_v1_predict_long_running_request_object
|
763
|
+
# @param [String] fields
|
764
|
+
# Selector specifying which fields to include in a partial response.
|
765
|
+
# @param [String] quota_user
|
766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
768
|
+
# @param [Google::Apis::RequestOptions] options
|
769
|
+
# Request-specific options
|
770
|
+
#
|
771
|
+
# @yield [result, err] Result & error if block supplied
|
772
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
773
|
+
# @yieldparam err [StandardError] error object if request failed
|
774
|
+
#
|
775
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
776
|
+
#
|
777
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
778
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
779
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
780
|
+
def predict_endpoint_long_running(endpoint, google_cloud_aiplatform_v1_predict_long_running_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
781
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:predictLongRunning', options)
|
782
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictLongRunningRequest::Representation
|
783
|
+
command.request_object = google_cloud_aiplatform_v1_predict_long_running_request_object
|
784
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
785
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
786
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
787
|
+
command.query['fields'] = fields unless fields.nil?
|
788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
789
|
+
execute_or_queue_command(command, &block)
|
790
|
+
end
|
791
|
+
|
722
792
|
# Generate content with multimodal inputs with streaming support.
|
723
793
|
# @param [String] model
|
724
794
|
# Required. The fully qualified name of the publisher model or tuned model
|
@@ -23181,6 +23251,41 @@ module Google
|
|
23181
23251
|
execute_or_queue_command(command, &block)
|
23182
23252
|
end
|
23183
23253
|
|
23254
|
+
# Fetch an asynchronous online prediction operation.
|
23255
|
+
# @param [String] endpoint
|
23256
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
23257
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
23258
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
23259
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchPredictOperationRequest] google_cloud_aiplatform_v1_fetch_predict_operation_request_object
|
23260
|
+
# @param [String] fields
|
23261
|
+
# Selector specifying which fields to include in a partial response.
|
23262
|
+
# @param [String] quota_user
|
23263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23265
|
+
# @param [Google::Apis::RequestOptions] options
|
23266
|
+
# Request-specific options
|
23267
|
+
#
|
23268
|
+
# @yield [result, err] Result & error if block supplied
|
23269
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
23270
|
+
# @yieldparam err [StandardError] error object if request failed
|
23271
|
+
#
|
23272
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
23273
|
+
#
|
23274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23277
|
+
def fetch_publisher_model_predict_operation(endpoint, google_cloud_aiplatform_v1_fetch_predict_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23278
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:fetchPredictOperation', options)
|
23279
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchPredictOperationRequest::Representation
|
23280
|
+
command.request_object = google_cloud_aiplatform_v1_fetch_predict_operation_request_object
|
23281
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
23282
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
23283
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
23284
|
+
command.query['fields'] = fields unless fields.nil?
|
23285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23286
|
+
execute_or_queue_command(command, &block)
|
23287
|
+
end
|
23288
|
+
|
23184
23289
|
# Generate content with multimodal inputs.
|
23185
23290
|
# @param [String] model
|
23186
23291
|
# Required. The fully qualified name of the publisher model or tuned model
|
@@ -23296,6 +23401,41 @@ module Google
|
|
23296
23401
|
execute_or_queue_command(command, &block)
|
23297
23402
|
end
|
23298
23403
|
|
23404
|
+
#
|
23405
|
+
# @param [String] endpoint
|
23406
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
23407
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
23408
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
23409
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictLongRunningRequest] google_cloud_aiplatform_v1_predict_long_running_request_object
|
23410
|
+
# @param [String] fields
|
23411
|
+
# Selector specifying which fields to include in a partial response.
|
23412
|
+
# @param [String] quota_user
|
23413
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23414
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23415
|
+
# @param [Google::Apis::RequestOptions] options
|
23416
|
+
# Request-specific options
|
23417
|
+
#
|
23418
|
+
# @yield [result, err] Result & error if block supplied
|
23419
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
23420
|
+
# @yieldparam err [StandardError] error object if request failed
|
23421
|
+
#
|
23422
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
23423
|
+
#
|
23424
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23425
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23426
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23427
|
+
def predict_publisher_model_long_running(endpoint, google_cloud_aiplatform_v1_predict_long_running_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23428
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:predictLongRunning', options)
|
23429
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictLongRunningRequest::Representation
|
23430
|
+
command.request_object = google_cloud_aiplatform_v1_predict_long_running_request_object
|
23431
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
23432
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
23433
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
23434
|
+
command.query['fields'] = fields unless fields.nil?
|
23435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23436
|
+
execute_or_queue_command(command, &block)
|
23437
|
+
end
|
23438
|
+
|
23299
23439
|
# Generate content with multimodal inputs with streaming support.
|
23300
23440
|
# @param [String] model
|
23301
23441
|
# Required. The fully qualified name of the publisher model or tuned model
|
@@ -23331,6 +23471,253 @@ module Google
|
|
23331
23471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23332
23472
|
execute_or_queue_command(command, &block)
|
23333
23473
|
end
|
23474
|
+
|
23475
|
+
# Creates a reasoning engine.
|
23476
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
|
23477
|
+
# @param [String] parent
|
23478
|
+
# Required. The resource name of the Location to create the ReasoningEngine in.
|
23479
|
+
# Format: `projects/`project`/locations/`location``
|
23480
|
+
# @param [String] fields
|
23481
|
+
# Selector specifying which fields to include in a partial response.
|
23482
|
+
# @param [String] quota_user
|
23483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23485
|
+
# @param [Google::Apis::RequestOptions] options
|
23486
|
+
# Request-specific options
|
23487
|
+
#
|
23488
|
+
# @yield [result, err] Result & error if block supplied
|
23489
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
23490
|
+
# @yieldparam err [StandardError] error object if request failed
|
23491
|
+
#
|
23492
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
23493
|
+
#
|
23494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23497
|
+
def create_reasoning_engine(google_cloud_aiplatform_v1_reasoning_engine_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23498
|
+
command = make_simple_command(:post, 'v1/reasoningEngines', options)
|
23499
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine::Representation
|
23500
|
+
command.request_object = google_cloud_aiplatform_v1_reasoning_engine_object
|
23501
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
23502
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
23503
|
+
command.query['parent'] = parent unless parent.nil?
|
23504
|
+
command.query['fields'] = fields unless fields.nil?
|
23505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23506
|
+
execute_or_queue_command(command, &block)
|
23507
|
+
end
|
23508
|
+
|
23509
|
+
# Deletes a reasoning engine.
|
23510
|
+
# @param [String] name
|
23511
|
+
# Required. The name of the ReasoningEngine resource to be deleted. Format: `
|
23512
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
23513
|
+
# @param [Boolean] force
|
23514
|
+
# Optional. If set to true, child resources of this reasoning engine will also
|
23515
|
+
# be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error
|
23516
|
+
# when the reasoning engine has undeleted child resources.
|
23517
|
+
# @param [String] fields
|
23518
|
+
# Selector specifying which fields to include in a partial response.
|
23519
|
+
# @param [String] quota_user
|
23520
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23521
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23522
|
+
# @param [Google::Apis::RequestOptions] options
|
23523
|
+
# Request-specific options
|
23524
|
+
#
|
23525
|
+
# @yield [result, err] Result & error if block supplied
|
23526
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
23527
|
+
# @yieldparam err [StandardError] error object if request failed
|
23528
|
+
#
|
23529
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
23530
|
+
#
|
23531
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23532
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23533
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23534
|
+
def delete_reasoning_engine(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23535
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
23536
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
23537
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
23538
|
+
command.params['name'] = name unless name.nil?
|
23539
|
+
command.query['force'] = force unless force.nil?
|
23540
|
+
command.query['fields'] = fields unless fields.nil?
|
23541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23542
|
+
execute_or_queue_command(command, &block)
|
23543
|
+
end
|
23544
|
+
|
23545
|
+
# Gets a reasoning engine.
|
23546
|
+
# @param [String] name
|
23547
|
+
# Required. The name of the ReasoningEngine resource. Format: `projects/`project`
|
23548
|
+
# /locations/`location`/reasoningEngines/`reasoning_engine``
|
23549
|
+
# @param [String] fields
|
23550
|
+
# Selector specifying which fields to include in a partial response.
|
23551
|
+
# @param [String] quota_user
|
23552
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23553
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23554
|
+
# @param [Google::Apis::RequestOptions] options
|
23555
|
+
# Request-specific options
|
23556
|
+
#
|
23557
|
+
# @yield [result, err] Result & error if block supplied
|
23558
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] parsed result object
|
23559
|
+
# @yieldparam err [StandardError] error object if request failed
|
23560
|
+
#
|
23561
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine]
|
23562
|
+
#
|
23563
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23564
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23565
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23566
|
+
def get_reasoning_engine(name, fields: nil, quota_user: nil, options: nil, &block)
|
23567
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
23568
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine::Representation
|
23569
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine
|
23570
|
+
command.params['name'] = name unless name.nil?
|
23571
|
+
command.query['fields'] = fields unless fields.nil?
|
23572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23573
|
+
execute_or_queue_command(command, &block)
|
23574
|
+
end
|
23575
|
+
|
23576
|
+
# Lists reasoning engines in a location.
|
23577
|
+
# @param [String] filter
|
23578
|
+
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
23579
|
+
# aip.dev/160).
|
23580
|
+
# @param [Fixnum] page_size
|
23581
|
+
# Optional. The standard list page size.
|
23582
|
+
# @param [String] page_token
|
23583
|
+
# Optional. The standard list page token.
|
23584
|
+
# @param [String] parent
|
23585
|
+
# Required. The resource name of the Location to list the ReasoningEngines from.
|
23586
|
+
# Format: `projects/`project`/locations/`location``
|
23587
|
+
# @param [String] fields
|
23588
|
+
# Selector specifying which fields to include in a partial response.
|
23589
|
+
# @param [String] quota_user
|
23590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23592
|
+
# @param [Google::Apis::RequestOptions] options
|
23593
|
+
# Request-specific options
|
23594
|
+
#
|
23595
|
+
# @yield [result, err] Result & error if block supplied
|
23596
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListReasoningEnginesResponse] parsed result object
|
23597
|
+
# @yieldparam err [StandardError] error object if request failed
|
23598
|
+
#
|
23599
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListReasoningEnginesResponse]
|
23600
|
+
#
|
23601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23604
|
+
def list_reasoning_engines(filter: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23605
|
+
command = make_simple_command(:get, 'v1/reasoningEngines', options)
|
23606
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListReasoningEnginesResponse::Representation
|
23607
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListReasoningEnginesResponse
|
23608
|
+
command.query['filter'] = filter unless filter.nil?
|
23609
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
23610
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
23611
|
+
command.query['parent'] = parent unless parent.nil?
|
23612
|
+
command.query['fields'] = fields unless fields.nil?
|
23613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23614
|
+
execute_or_queue_command(command, &block)
|
23615
|
+
end
|
23616
|
+
|
23617
|
+
# Updates a reasoning engine.
|
23618
|
+
# @param [String] name
|
23619
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
23620
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
23621
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
|
23622
|
+
# @param [String] update_mask
|
23623
|
+
# Optional. Mask specifying which fields to update.
|
23624
|
+
# @param [String] fields
|
23625
|
+
# Selector specifying which fields to include in a partial response.
|
23626
|
+
# @param [String] quota_user
|
23627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23629
|
+
# @param [Google::Apis::RequestOptions] options
|
23630
|
+
# Request-specific options
|
23631
|
+
#
|
23632
|
+
# @yield [result, err] Result & error if block supplied
|
23633
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
23634
|
+
# @yieldparam err [StandardError] error object if request failed
|
23635
|
+
#
|
23636
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
23637
|
+
#
|
23638
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23639
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23640
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23641
|
+
def patch_reasoning_engine(name, google_cloud_aiplatform_v1_reasoning_engine_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23642
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
23643
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine::Representation
|
23644
|
+
command.request_object = google_cloud_aiplatform_v1_reasoning_engine_object
|
23645
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
23646
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
23647
|
+
command.params['name'] = name unless name.nil?
|
23648
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
23649
|
+
command.query['fields'] = fields unless fields.nil?
|
23650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23651
|
+
execute_or_queue_command(command, &block)
|
23652
|
+
end
|
23653
|
+
|
23654
|
+
# Queries using a reasoning engine.
|
23655
|
+
# @param [String] name
|
23656
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
23657
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
23658
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineRequest] google_cloud_aiplatform_v1_query_reasoning_engine_request_object
|
23659
|
+
# @param [String] fields
|
23660
|
+
# Selector specifying which fields to include in a partial response.
|
23661
|
+
# @param [String] quota_user
|
23662
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23663
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23664
|
+
# @param [Google::Apis::RequestOptions] options
|
23665
|
+
# Request-specific options
|
23666
|
+
#
|
23667
|
+
# @yield [result, err] Result & error if block supplied
|
23668
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineResponse] parsed result object
|
23669
|
+
# @yieldparam err [StandardError] error object if request failed
|
23670
|
+
#
|
23671
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineResponse]
|
23672
|
+
#
|
23673
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23674
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23675
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23676
|
+
def query_reasoning_engine(name, google_cloud_aiplatform_v1_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23677
|
+
command = make_simple_command(:post, 'v1/{+name}:query', options)
|
23678
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineRequest::Representation
|
23679
|
+
command.request_object = google_cloud_aiplatform_v1_query_reasoning_engine_request_object
|
23680
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineResponse::Representation
|
23681
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryReasoningEngineResponse
|
23682
|
+
command.params['name'] = name unless name.nil?
|
23683
|
+
command.query['fields'] = fields unless fields.nil?
|
23684
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23685
|
+
execute_or_queue_command(command, &block)
|
23686
|
+
end
|
23687
|
+
|
23688
|
+
# Streams queries using a reasoning engine.
|
23689
|
+
# @param [String] name
|
23690
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
23691
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
23692
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest] google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
23693
|
+
# @param [String] fields
|
23694
|
+
# Selector specifying which fields to include in a partial response.
|
23695
|
+
# @param [String] quota_user
|
23696
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23697
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23698
|
+
# @param [Google::Apis::RequestOptions] options
|
23699
|
+
# Request-specific options
|
23700
|
+
#
|
23701
|
+
# @yield [result, err] Result & error if block supplied
|
23702
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
23703
|
+
# @yieldparam err [StandardError] error object if request failed
|
23704
|
+
#
|
23705
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
23706
|
+
#
|
23707
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23708
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23709
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23710
|
+
def stream_reasoning_engine_query(name, google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23711
|
+
command = make_simple_command(:post, 'v1/{+name}:streamQuery', options)
|
23712
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest::Representation
|
23713
|
+
command.request_object = google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
23714
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
23715
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
23716
|
+
command.params['name'] = name unless name.nil?
|
23717
|
+
command.query['fields'] = fields unless fields.nil?
|
23718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23719
|
+
execute_or_queue_command(command, &block)
|
23720
|
+
end
|
23334
23721
|
|
23335
23722
|
protected
|
23336
23723
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.55.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|