google-apis-aiplatform_v1beta1 0.76.0 → 0.77.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +198 -59
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +51 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +420 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 071b77465628bd55716a5a7473ed222350887bcdfa2a6ba9d9364e2b4b881f54
|
|
4
|
+
data.tar.gz: 3dafff9a57b9273c06256720be81e35e3900d584fcbc9f862ea49ad92b9af4b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a38ef77a22e66d53a30e8d6a0d0a84a1266e5989998b1d34882193495a75a299d16ede0d68d3e107f6dc0413aec20b942b58ab73a6372f4eab0226512dfaea9
|
|
7
|
+
data.tar.gz: ea88aed7626b92502aa9271b14e9c3dd9b85a528af24a706b6047ff5455e4e2a0912b5203d043d3fdf2f9903302490c00e4f00b1e7ce22559e478eae1ca7e9c4
|
data/CHANGELOG.md
CHANGED
|
@@ -4500,9 +4500,8 @@ module Google
|
|
|
4500
4500
|
end
|
|
4501
4501
|
end
|
|
4502
4502
|
|
|
4503
|
-
# Result of executing the
|
|
4504
|
-
#
|
|
4505
|
-
# ExecutableCode].
|
|
4503
|
+
# Result of executing the ExecutableCode. Generated only when the `CodeExecution`
|
|
4504
|
+
# tool is used.
|
|
4506
4505
|
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
|
4507
4506
|
include Google::Apis::Core::Hashable
|
|
4508
4507
|
|
|
@@ -7063,6 +7062,28 @@ module Google
|
|
|
7063
7062
|
end
|
|
7064
7063
|
end
|
|
7065
7064
|
|
|
7065
|
+
# Defines a custom dataset-level aggregation.
|
|
7066
|
+
class GoogleCloudAiplatformV1beta1DatasetCustomMetric
|
|
7067
|
+
include Google::Apis::Core::Hashable
|
|
7068
|
+
|
|
7069
|
+
# Optional. A display name for this custom summary metric. Used to prefix keys
|
|
7070
|
+
# in the output summaryMetrics map. If not provided, a default name like "
|
|
7071
|
+
# dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated
|
|
7072
|
+
# based on the order in the repeated field.
|
|
7073
|
+
# Corresponds to the JSON property `displayName`
|
|
7074
|
+
# @return [String]
|
|
7075
|
+
attr_accessor :display_name
|
|
7076
|
+
|
|
7077
|
+
def initialize(**args)
|
|
7078
|
+
update!(**args)
|
|
7079
|
+
end
|
|
7080
|
+
|
|
7081
|
+
# Update properties of this object
|
|
7082
|
+
def update!(**args)
|
|
7083
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
7084
|
+
end
|
|
7085
|
+
end
|
|
7086
|
+
|
|
7066
7087
|
# Distribution computed over a tuning dataset.
|
|
7067
7088
|
class GoogleCloudAiplatformV1beta1DatasetDistribution
|
|
7068
7089
|
include Google::Apis::Core::Hashable
|
|
@@ -9133,6 +9154,11 @@ module Google
|
|
|
9133
9154
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
|
9134
9155
|
attr_accessor :content
|
|
9135
9156
|
|
|
9157
|
+
# Configurations for the EmbedContent API.
|
|
9158
|
+
# Corresponds to the JSON property `embedContentConfig`
|
|
9159
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig]
|
|
9160
|
+
attr_accessor :embed_content_config
|
|
9161
|
+
|
|
9136
9162
|
# Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
|
|
9137
9163
|
# instead. Reduced dimension for the output embedding. If set, excessive values
|
|
9138
9164
|
# in the output embedding are truncated from the end.
|
|
@@ -9160,6 +9186,63 @@ module Google
|
|
|
9160
9186
|
def update!(**args)
|
|
9161
9187
|
@auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
|
|
9162
9188
|
@content = args[:content] if args.key?(:content)
|
|
9189
|
+
@embed_content_config = args[:embed_content_config] if args.key?(:embed_content_config)
|
|
9190
|
+
@output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
|
|
9191
|
+
@task_type = args[:task_type] if args.key?(:task_type)
|
|
9192
|
+
@title = args[:title] if args.key?(:title)
|
|
9193
|
+
end
|
|
9194
|
+
end
|
|
9195
|
+
|
|
9196
|
+
# Configurations for the EmbedContent API.
|
|
9197
|
+
class GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig
|
|
9198
|
+
include Google::Apis::Core::Hashable
|
|
9199
|
+
|
|
9200
|
+
# Optional. Whether to extract audio from video content.
|
|
9201
|
+
# Corresponds to the JSON property `audioTrackExtraction`
|
|
9202
|
+
# @return [Boolean]
|
|
9203
|
+
attr_accessor :audio_track_extraction
|
|
9204
|
+
alias_method :audio_track_extraction?, :audio_track_extraction
|
|
9205
|
+
|
|
9206
|
+
# Optional. Whether to silently truncate the input content if it's longer than
|
|
9207
|
+
# the maximum sequence length. Only applicable to text-only embedding models.
|
|
9208
|
+
# Corresponds to the JSON property `autoTruncate`
|
|
9209
|
+
# @return [Boolean]
|
|
9210
|
+
attr_accessor :auto_truncate
|
|
9211
|
+
alias_method :auto_truncate?, :auto_truncate
|
|
9212
|
+
|
|
9213
|
+
# Optional. Whether to enable OCR for document content.
|
|
9214
|
+
# Corresponds to the JSON property `documentOcr`
|
|
9215
|
+
# @return [Boolean]
|
|
9216
|
+
attr_accessor :document_ocr
|
|
9217
|
+
alias_method :document_ocr?, :document_ocr
|
|
9218
|
+
|
|
9219
|
+
# Optional. Reduced dimension for the output embedding. If set, excessive values
|
|
9220
|
+
# in the output embedding are truncated from the end.
|
|
9221
|
+
# Corresponds to the JSON property `outputDimensionality`
|
|
9222
|
+
# @return [Fixnum]
|
|
9223
|
+
attr_accessor :output_dimensionality
|
|
9224
|
+
|
|
9225
|
+
# Optional. The task type of the embedding. Only applicable to text-only
|
|
9226
|
+
# embedding models.
|
|
9227
|
+
# Corresponds to the JSON property `taskType`
|
|
9228
|
+
# @return [String]
|
|
9229
|
+
attr_accessor :task_type
|
|
9230
|
+
|
|
9231
|
+
# Optional. The title for the text. Only applicable to text-only embedding
|
|
9232
|
+
# models.
|
|
9233
|
+
# Corresponds to the JSON property `title`
|
|
9234
|
+
# @return [String]
|
|
9235
|
+
attr_accessor :title
|
|
9236
|
+
|
|
9237
|
+
def initialize(**args)
|
|
9238
|
+
update!(**args)
|
|
9239
|
+
end
|
|
9240
|
+
|
|
9241
|
+
# Update properties of this object
|
|
9242
|
+
def update!(**args)
|
|
9243
|
+
@audio_track_extraction = args[:audio_track_extraction] if args.key?(:audio_track_extraction)
|
|
9244
|
+
@auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
|
|
9245
|
+
@document_ocr = args[:document_ocr] if args.key?(:document_ocr)
|
|
9163
9246
|
@output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
|
|
9164
9247
|
@task_type = args[:task_type] if args.key?(:task_type)
|
|
9165
9248
|
@title = args[:title] if args.key?(:title)
|
|
@@ -11284,6 +11367,11 @@ module Google
|
|
|
11284
11367
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig]
|
|
11285
11368
|
attr_accessor :autorater_config
|
|
11286
11369
|
|
|
11370
|
+
# Optional. Specifications for custom dataset-level aggregations.
|
|
11371
|
+
# Corresponds to the JSON property `datasetCustomMetrics`
|
|
11372
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetCustomMetric>]
|
|
11373
|
+
attr_accessor :dataset_custom_metrics
|
|
11374
|
+
|
|
11287
11375
|
# Required. The metrics to be calculated in the evaluation run.
|
|
11288
11376
|
# Corresponds to the JSON property `metrics`
|
|
11289
11377
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunMetric>]
|
|
@@ -11317,6 +11405,7 @@ module Google
|
|
|
11317
11405
|
# Update properties of this object
|
|
11318
11406
|
def update!(**args)
|
|
11319
11407
|
@autorater_config = args[:autorater_config] if args.key?(:autorater_config)
|
|
11408
|
+
@dataset_custom_metrics = args[:dataset_custom_metrics] if args.key?(:dataset_custom_metrics)
|
|
11320
11409
|
@metrics = args[:metrics] if args.key?(:metrics)
|
|
11321
11410
|
@output_config = args[:output_config] if args.key?(:output_config)
|
|
11322
11411
|
@prompt_template = args[:prompt_template] if args.key?(:prompt_template)
|
|
@@ -11431,9 +11520,12 @@ module Google
|
|
|
11431
11520
|
attr_accessor :generation_config
|
|
11432
11521
|
|
|
11433
11522
|
# Optional. The fully qualified name of the publisher model or endpoint to use.
|
|
11523
|
+
# Anthropic and Llama third-party models are also supported through Model Garden.
|
|
11434
11524
|
# Publisher model format: `projects/`project`/locations/`location`/publishers/*/
|
|
11435
|
-
# models/*`
|
|
11436
|
-
#
|
|
11525
|
+
# models/*` Third-party model format: `projects/`project`/locations/`location`/
|
|
11526
|
+
# publishers/anthropic/models/`model`` `projects/`project`/locations/`location`/
|
|
11527
|
+
# publishers/llama/models/`model`` Endpoint format: `projects/`project`/
|
|
11528
|
+
# locations/`location`/endpoints/`endpoint``
|
|
11437
11529
|
# Corresponds to the JSON property `model`
|
|
11438
11530
|
# @return [String]
|
|
11439
11531
|
attr_accessor :model
|
|
@@ -12361,9 +12453,9 @@ module Google
|
|
|
12361
12453
|
end
|
|
12362
12454
|
|
|
12363
12455
|
# Code generated by the model that is meant to be executed, and the result
|
|
12364
|
-
# returned to the model. Generated when using the
|
|
12365
|
-
# the code will be automatically executed, and a corresponding
|
|
12366
|
-
# CodeExecutionResult
|
|
12456
|
+
# returned to the model. Generated when using the `CodeExecution` tool, in which
|
|
12457
|
+
# the code will be automatically executed, and a corresponding
|
|
12458
|
+
# CodeExecutionResult will also be generated.
|
|
12367
12459
|
class GoogleCloudAiplatformV1beta1ExecutableCode
|
|
12368
12460
|
include Google::Apis::Core::Hashable
|
|
12369
12461
|
|
|
@@ -17367,14 +17459,14 @@ module Google
|
|
|
17367
17459
|
end
|
|
17368
17460
|
end
|
|
17369
17461
|
|
|
17370
|
-
# A predicted
|
|
17371
|
-
# representing the
|
|
17462
|
+
# A predicted FunctionCall returned from the model that contains a string
|
|
17463
|
+
# representing the FunctionDeclaration.name and a structured JSON object
|
|
17372
17464
|
# containing the parameters and their values.
|
|
17373
17465
|
class GoogleCloudAiplatformV1beta1FunctionCall
|
|
17374
17466
|
include Google::Apis::Core::Hashable
|
|
17375
17467
|
|
|
17376
|
-
# Optional. The function parameters and values in JSON object format. See
|
|
17377
|
-
# FunctionDeclaration.parameters
|
|
17468
|
+
# Optional. The function parameters and values in JSON object format. See
|
|
17469
|
+
# FunctionDeclaration.parameters for parameter details.
|
|
17378
17470
|
# Corresponds to the JSON property `args`
|
|
17379
17471
|
# @return [Hash<String,Object>]
|
|
17380
17472
|
attr_accessor :args
|
|
@@ -17385,7 +17477,7 @@ module Google
|
|
|
17385
17477
|
# @return [String]
|
|
17386
17478
|
attr_accessor :id
|
|
17387
17479
|
|
|
17388
|
-
# Optional. The name of the function to call. Matches
|
|
17480
|
+
# Optional. The name of the function to call. Matches FunctionDeclaration.name.
|
|
17389
17481
|
# Corresponds to the JSON property `name`
|
|
17390
17482
|
# @return [String]
|
|
17391
17483
|
attr_accessor :name
|
|
@@ -17422,8 +17514,8 @@ module Google
|
|
|
17422
17514
|
include Google::Apis::Core::Hashable
|
|
17423
17515
|
|
|
17424
17516
|
# Optional. Function names to call. Only set when the Mode is ANY. Function
|
|
17425
|
-
# names should match
|
|
17426
|
-
#
|
|
17517
|
+
# names should match FunctionDeclaration.name. With mode set to ANY, model will
|
|
17518
|
+
# predict a function call from the set of function names provided.
|
|
17427
17519
|
# Corresponds to the JSON property `allowedFunctionNames`
|
|
17428
17520
|
# @return [Array<String>]
|
|
17429
17521
|
attr_accessor :allowed_function_names
|
|
@@ -17435,7 +17527,7 @@ module Google
|
|
|
17435
17527
|
|
|
17436
17528
|
# Optional. When set to true, arguments of a single function call will be
|
|
17437
17529
|
# streamed out in multiple parts/contents/responses. Partial parameter results
|
|
17438
|
-
# will be returned in the
|
|
17530
|
+
# will be returned in the `FunctionCall.partial_args` field.
|
|
17439
17531
|
# Corresponds to the JSON property `streamFunctionCallArguments`
|
|
17440
17532
|
# @return [Boolean]
|
|
17441
17533
|
attr_accessor :stream_function_call_arguments
|
|
@@ -17518,10 +17610,10 @@ module Google
|
|
|
17518
17610
|
end
|
|
17519
17611
|
end
|
|
17520
17612
|
|
|
17521
|
-
# The result output from a
|
|
17522
|
-
#
|
|
17523
|
-
#
|
|
17524
|
-
#
|
|
17613
|
+
# The result output from a FunctionCall that contains a string representing the
|
|
17614
|
+
# FunctionDeclaration.name and a structured JSON object containing any output
|
|
17615
|
+
# from the function is used as context to the model. This should contain the
|
|
17616
|
+
# result of a `FunctionCall` made based on model prediction.
|
|
17525
17617
|
class GoogleCloudAiplatformV1beta1FunctionResponse
|
|
17526
17618
|
include Google::Apis::Core::Hashable
|
|
17527
17619
|
|
|
@@ -17531,8 +17623,8 @@ module Google
|
|
|
17531
17623
|
# @return [String]
|
|
17532
17624
|
attr_accessor :id
|
|
17533
17625
|
|
|
17534
|
-
# Required. The name of the function to call. Matches
|
|
17535
|
-
# and
|
|
17626
|
+
# Required. The name of the function to call. Matches FunctionDeclaration.name
|
|
17627
|
+
# and FunctionCall.name.
|
|
17536
17628
|
# Corresponds to the JSON property `name`
|
|
17537
17629
|
# @return [String]
|
|
17538
17630
|
attr_accessor :name
|
|
@@ -18625,28 +18717,32 @@ module Google
|
|
|
18625
18717
|
end
|
|
18626
18718
|
end
|
|
18627
18719
|
|
|
18628
|
-
# Request message for DataFoundryService.GenerateSyntheticData.
|
|
18720
|
+
# Request message for DataFoundryService.GenerateSyntheticData. It contains the
|
|
18721
|
+
# settings and information needed to generate synthetic data.
|
|
18629
18722
|
class GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest
|
|
18630
18723
|
include Google::Apis::Core::Hashable
|
|
18631
18724
|
|
|
18632
18725
|
# Required. The number of synthetic examples to generate. For this stateless API,
|
|
18633
|
-
#
|
|
18726
|
+
# you can generate up to 50 examples in a single request.
|
|
18634
18727
|
# Corresponds to the JSON property `count`
|
|
18635
18728
|
# @return [Fixnum]
|
|
18636
18729
|
attr_accessor :count
|
|
18637
18730
|
|
|
18638
|
-
# Optional. A list of few-shot examples
|
|
18639
|
-
# format.
|
|
18731
|
+
# Optional. A list of few-shot examples that help the model understand the
|
|
18732
|
+
# desired style, tone, and format of the generated synthetic data. Providing
|
|
18733
|
+
# these few-shot examples can significantly improve the quality and relevance of
|
|
18734
|
+
# the output.
|
|
18640
18735
|
# Corresponds to the JSON property `examples`
|
|
18641
18736
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticExample>]
|
|
18642
18737
|
attr_accessor :examples
|
|
18643
18738
|
|
|
18644
|
-
# Required.
|
|
18739
|
+
# Required. Defines the schema of each synthetic example to be generated,
|
|
18740
|
+
# defined by a list of fields.
|
|
18645
18741
|
# Corresponds to the JSON property `outputFieldSpecs`
|
|
18646
18742
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputFieldSpec>]
|
|
18647
18743
|
attr_accessor :output_field_specs
|
|
18648
18744
|
|
|
18649
|
-
# Defines a generation strategy based on a
|
|
18745
|
+
# Defines a generation strategy based on a general task description.
|
|
18650
18746
|
# Corresponds to the JSON property `taskDescription`
|
|
18651
18747
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskDescriptionStrategy]
|
|
18652
18748
|
attr_accessor :task_description
|
|
@@ -18664,11 +18760,13 @@ module Google
|
|
|
18664
18760
|
end
|
|
18665
18761
|
end
|
|
18666
18762
|
|
|
18667
|
-
# The response
|
|
18763
|
+
# The response message for the `GenerateSyntheticData` method, containing the
|
|
18764
|
+
# synthetic examples generated by the Gen AI evaluation service.
|
|
18668
18765
|
class GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse
|
|
18669
18766
|
include Google::Apis::Core::Hashable
|
|
18670
18767
|
|
|
18671
|
-
# A list of generated synthetic examples
|
|
18768
|
+
# A list of generated synthetic examples, each containing a complete synthetic
|
|
18769
|
+
# data instance generated based on your request.
|
|
18672
18770
|
# Corresponds to the JSON property `syntheticExamples`
|
|
18673
18771
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyntheticExample>]
|
|
18674
18772
|
attr_accessor :synthetic_examples
|
|
@@ -23974,10 +24072,15 @@ module Google
|
|
|
23974
24072
|
end
|
|
23975
24073
|
end
|
|
23976
24074
|
|
|
23977
|
-
#
|
|
24075
|
+
# Represents configuration for organizing memories for a particular scope.
|
|
23978
24076
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
|
|
23979
24077
|
include Google::Apis::Core::Hashable
|
|
23980
24078
|
|
|
24079
|
+
# Represents configuration for customizing how memories are consolidated.
|
|
24080
|
+
# Corresponds to the JSON property `consolidationConfig`
|
|
24081
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig]
|
|
24082
|
+
attr_accessor :consolidation_config
|
|
24083
|
+
|
|
23981
24084
|
# Optional. If true, then the memories will be generated in the third person (i.
|
|
23982
24085
|
# e. "The user generates memories with Memory Bank."). By default, the memories
|
|
23983
24086
|
# will be generated in the first person (i.e. "I generate memories with Memory
|
|
@@ -24014,6 +24117,7 @@ module Google
|
|
|
24014
24117
|
|
|
24015
24118
|
# Update properties of this object
|
|
24016
24119
|
def update!(**args)
|
|
24120
|
+
@consolidation_config = args[:consolidation_config] if args.key?(:consolidation_config)
|
|
24017
24121
|
@enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
|
|
24018
24122
|
@generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
|
|
24019
24123
|
@memory_topics = args[:memory_topics] if args.key?(:memory_topics)
|
|
@@ -24021,6 +24125,27 @@ module Google
|
|
|
24021
24125
|
end
|
|
24022
24126
|
end
|
|
24023
24127
|
|
|
24128
|
+
# Represents configuration for customizing how memories are consolidated.
|
|
24129
|
+
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig
|
|
24130
|
+
include Google::Apis::Core::Hashable
|
|
24131
|
+
|
|
24132
|
+
# Optional. The maximum number of revisions to consider for each candidate
|
|
24133
|
+
# memory. If not set, then the default value (1) will be used, which means that
|
|
24134
|
+
# only the latest revision will be considered.
|
|
24135
|
+
# Corresponds to the JSON property `revisionsPerCandidateCount`
|
|
24136
|
+
# @return [Fixnum]
|
|
24137
|
+
attr_accessor :revisions_per_candidate_count
|
|
24138
|
+
|
|
24139
|
+
def initialize(**args)
|
|
24140
|
+
update!(**args)
|
|
24141
|
+
end
|
|
24142
|
+
|
|
24143
|
+
# Update properties of this object
|
|
24144
|
+
def update!(**args)
|
|
24145
|
+
@revisions_per_candidate_count = args[:revisions_per_candidate_count] if args.key?(:revisions_per_candidate_count)
|
|
24146
|
+
end
|
|
24147
|
+
end
|
|
24148
|
+
|
|
24024
24149
|
# An example of how to generate memories for a particular scope.
|
|
24025
24150
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample
|
|
24026
24151
|
include Google::Apis::Core::Hashable
|
|
@@ -30217,11 +30342,14 @@ module Google
|
|
|
30217
30342
|
end
|
|
30218
30343
|
end
|
|
30219
30344
|
|
|
30220
|
-
#
|
|
30345
|
+
# Specifies the properties of a single field that are included in each generated
|
|
30346
|
+
# synthetic example. This helps the model understand what kind of data to
|
|
30347
|
+
# generate for each field.
|
|
30221
30348
|
class GoogleCloudAiplatformV1beta1OutputFieldSpec
|
|
30222
30349
|
include Google::Apis::Core::Hashable
|
|
30223
30350
|
|
|
30224
|
-
# Required. The name of the
|
|
30351
|
+
# Required. The name of this field in the generated synthetic data, such as "
|
|
30352
|
+
# email_subject" or "customer_review".
|
|
30225
30353
|
# Corresponds to the JSON property `fieldName`
|
|
30226
30354
|
# @return [String]
|
|
30227
30355
|
attr_accessor :field_name
|
|
@@ -30231,10 +30359,11 @@ module Google
|
|
|
30231
30359
|
# @return [String]
|
|
30232
30360
|
attr_accessor :field_type
|
|
30233
30361
|
|
|
30234
|
-
# Optional.
|
|
30235
|
-
#
|
|
30236
|
-
#
|
|
30237
|
-
# field
|
|
30362
|
+
# Optional. Specific instructions for the large language model on how to
|
|
30363
|
+
# generate content for this particular field. While the LLM can sometimes infer
|
|
30364
|
+
# content from the field name, providing explicit guidance is preferred. For
|
|
30365
|
+
# example, for a field named "review", the guidance could be "A positive review
|
|
30366
|
+
# about a coffee maker."
|
|
30238
30367
|
# Corresponds to the JSON property `guidance`
|
|
30239
30368
|
# @return [String]
|
|
30240
30369
|
attr_accessor :guidance
|
|
@@ -30711,17 +30840,16 @@ module Google
|
|
|
30711
30840
|
class GoogleCloudAiplatformV1beta1Part
|
|
30712
30841
|
include Google::Apis::Core::Hashable
|
|
30713
30842
|
|
|
30714
|
-
# Result of executing the
|
|
30715
|
-
#
|
|
30716
|
-
# ExecutableCode].
|
|
30843
|
+
# Result of executing the ExecutableCode. Generated only when the `CodeExecution`
|
|
30844
|
+
# tool is used.
|
|
30717
30845
|
# Corresponds to the JSON property `codeExecutionResult`
|
|
30718
30846
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CodeExecutionResult]
|
|
30719
30847
|
attr_accessor :code_execution_result
|
|
30720
30848
|
|
|
30721
30849
|
# Code generated by the model that is meant to be executed, and the result
|
|
30722
|
-
# returned to the model. Generated when using the
|
|
30723
|
-
# the code will be automatically executed, and a corresponding
|
|
30724
|
-
# CodeExecutionResult
|
|
30850
|
+
# returned to the model. Generated when using the `CodeExecution` tool, in which
|
|
30851
|
+
# the code will be automatically executed, and a corresponding
|
|
30852
|
+
# CodeExecutionResult will also be generated.
|
|
30725
30853
|
# Corresponds to the JSON property `executableCode`
|
|
30726
30854
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutableCode]
|
|
30727
30855
|
attr_accessor :executable_code
|
|
@@ -30733,17 +30861,17 @@ module Google
|
|
|
30733
30861
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FileData]
|
|
30734
30862
|
attr_accessor :file_data
|
|
30735
30863
|
|
|
30736
|
-
# A predicted
|
|
30737
|
-
# representing the
|
|
30864
|
+
# A predicted FunctionCall returned from the model that contains a string
|
|
30865
|
+
# representing the FunctionDeclaration.name and a structured JSON object
|
|
30738
30866
|
# containing the parameters and their values.
|
|
30739
30867
|
# Corresponds to the JSON property `functionCall`
|
|
30740
30868
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCall]
|
|
30741
30869
|
attr_accessor :function_call
|
|
30742
30870
|
|
|
30743
|
-
# The result output from a
|
|
30744
|
-
#
|
|
30745
|
-
#
|
|
30746
|
-
#
|
|
30871
|
+
# The result output from a FunctionCall that contains a string representing the
|
|
30872
|
+
# FunctionDeclaration.name and a structured JSON object containing any output
|
|
30873
|
+
# from the function is used as context to the model. This should contain the
|
|
30874
|
+
# result of a `FunctionCall` made based on model prediction.
|
|
30747
30875
|
# Corresponds to the JSON property `functionResponse`
|
|
30748
30876
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponse]
|
|
30749
30877
|
attr_accessor :function_response
|
|
@@ -33000,7 +33128,7 @@ module Google
|
|
|
33000
33128
|
# @return [String]
|
|
33001
33129
|
attr_accessor :launch_stage
|
|
33002
33130
|
|
|
33003
|
-
# Output only. The resource name of the PublisherModel.
|
|
33131
|
+
# Output only. Identifier. The resource name of the PublisherModel.
|
|
33004
33132
|
# Corresponds to the JSON property `name`
|
|
33005
33133
|
# @return [String]
|
|
33006
33134
|
attr_accessor :name
|
|
@@ -47579,6 +47707,11 @@ module Google
|
|
|
47579
47707
|
# @return [String]
|
|
47580
47708
|
attr_accessor :name
|
|
47581
47709
|
|
|
47710
|
+
# Optional. Weakly typed raw event data in proto struct format.
|
|
47711
|
+
# Corresponds to the JSON property `rawEvent`
|
|
47712
|
+
# @return [Hash<String,Object>]
|
|
47713
|
+
attr_accessor :raw_event
|
|
47714
|
+
|
|
47582
47715
|
# Required. Timestamp when the event was created on client side.
|
|
47583
47716
|
# Corresponds to the JSON property `timestamp`
|
|
47584
47717
|
# @return [String]
|
|
@@ -47598,6 +47731,7 @@ module Google
|
|
|
47598
47731
|
@event_metadata = args[:event_metadata] if args.key?(:event_metadata)
|
|
47599
47732
|
@invocation_id = args[:invocation_id] if args.key?(:invocation_id)
|
|
47600
47733
|
@name = args[:name] if args.key?(:name)
|
|
47734
|
+
@raw_event = args[:raw_event] if args.key?(:raw_event)
|
|
47601
47735
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
47602
47736
|
end
|
|
47603
47737
|
end
|
|
@@ -50230,9 +50364,11 @@ module Google
|
|
|
50230
50364
|
end
|
|
50231
50365
|
end
|
|
50232
50366
|
|
|
50233
|
-
#
|
|
50234
|
-
#
|
|
50235
|
-
# examples
|
|
50367
|
+
# A single instance of generated synthetic data. Each example is made up of one
|
|
50368
|
+
# or more named fields, as defined in `OutputFieldSpec`. These examples are used
|
|
50369
|
+
# as few-shot examples to show the model what you want (in `
|
|
50370
|
+
# GenerateSyntheticDataRequest.examples`) and to return generated examples in
|
|
50371
|
+
# the response (in `GenerateSyntheticDataResponse.synthetic_examples`).
|
|
50236
50372
|
class GoogleCloudAiplatformV1beta1SyntheticExample
|
|
50237
50373
|
include Google::Apis::Core::Hashable
|
|
50238
50374
|
|
|
@@ -50251,7 +50387,8 @@ module Google
|
|
|
50251
50387
|
end
|
|
50252
50388
|
end
|
|
50253
50389
|
|
|
50254
|
-
# Represents a single named field within a
|
|
50390
|
+
# Represents a single named field within a synthetic example, consisting of a
|
|
50391
|
+
# name and the actual content.
|
|
50255
50392
|
class GoogleCloudAiplatformV1beta1SyntheticField
|
|
50256
50393
|
include Google::Apis::Core::Hashable
|
|
50257
50394
|
|
|
@@ -50262,7 +50399,8 @@ module Google
|
|
|
50262
50399
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
|
50263
50400
|
attr_accessor :content
|
|
50264
50401
|
|
|
50265
|
-
# Optional. The name of the field
|
|
50402
|
+
# Optional. The name of the specific field, such as "product_name" or "
|
|
50403
|
+
# review_text".
|
|
50266
50404
|
# Corresponds to the JSON property `fieldName`
|
|
50267
50405
|
# @return [String]
|
|
50268
50406
|
attr_accessor :field_name
|
|
@@ -50297,11 +50435,12 @@ module Google
|
|
|
50297
50435
|
end
|
|
50298
50436
|
end
|
|
50299
50437
|
|
|
50300
|
-
# Defines a generation strategy based on a
|
|
50438
|
+
# Defines a generation strategy based on a general task description.
|
|
50301
50439
|
class GoogleCloudAiplatformV1beta1TaskDescriptionStrategy
|
|
50302
50440
|
include Google::Apis::Core::Hashable
|
|
50303
50441
|
|
|
50304
|
-
# Required. A
|
|
50442
|
+
# Required. A general description of the type of synthetic data you want to
|
|
50443
|
+
# generate. For example, "Generate customer reviews for a new smartphone."
|
|
50305
50444
|
# Corresponds to the JSON property `taskDescription`
|
|
50306
50445
|
# @return [String]
|
|
50307
50446
|
attr_accessor :task_description
|
|
@@ -51041,7 +51180,7 @@ module Google
|
|
|
51041
51180
|
include Google::Apis::Core::Hashable
|
|
51042
51181
|
|
|
51043
51182
|
# Tool that executes code generated by the model, and automatically returns the
|
|
51044
|
-
# result to the model. See also
|
|
51183
|
+
# result to the model. See also ExecutableCode and CodeExecutionResult, which
|
|
51045
51184
|
# are input and output to this tool.
|
|
51046
51185
|
# Corresponds to the JSON property `codeExecution`
|
|
51047
51186
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
|
@@ -51246,7 +51385,7 @@ module Google
|
|
|
51246
51385
|
end
|
|
51247
51386
|
|
|
51248
51387
|
# Tool that executes code generated by the model, and automatically returns the
|
|
51249
|
-
# result to the model. See also
|
|
51388
|
+
# result to the model. See also ExecutableCode and CodeExecutionResult, which
|
|
51250
51389
|
# are input and output to this tool.
|
|
51251
51390
|
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
|
51252
51391
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AiplatformV1beta1
|
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.77.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260309"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1294,6 +1294,12 @@ module Google
|
|
|
1294
1294
|
include Google::Apis::Core::JsonObjectSupport
|
|
1295
1295
|
end
|
|
1296
1296
|
|
|
1297
|
+
class GoogleCloudAiplatformV1beta1DatasetCustomMetric
|
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1299
|
+
|
|
1300
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1301
|
+
end
|
|
1302
|
+
|
|
1297
1303
|
class GoogleCloudAiplatformV1beta1DatasetDistribution
|
|
1298
1304
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1299
1305
|
|
|
@@ -1600,6 +1606,12 @@ module Google
|
|
|
1600
1606
|
include Google::Apis::Core::JsonObjectSupport
|
|
1601
1607
|
end
|
|
1602
1608
|
|
|
1609
|
+
class GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig
|
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1611
|
+
|
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1603
1615
|
class GoogleCloudAiplatformV1beta1EmbedContentResponse
|
|
1604
1616
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1605
1617
|
|
|
@@ -3976,6 +3988,12 @@ module Google
|
|
|
3976
3988
|
include Google::Apis::Core::JsonObjectSupport
|
|
3977
3989
|
end
|
|
3978
3990
|
|
|
3991
|
+
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig
|
|
3992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3993
|
+
|
|
3994
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3995
|
+
end
|
|
3996
|
+
|
|
3979
3997
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample
|
|
3980
3998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3981
3999
|
|
|
@@ -11444,6 +11462,13 @@ module Google
|
|
|
11444
11462
|
end
|
|
11445
11463
|
end
|
|
11446
11464
|
|
|
11465
|
+
class GoogleCloudAiplatformV1beta1DatasetCustomMetric
|
|
11466
|
+
# @private
|
|
11467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11468
|
+
property :display_name, as: 'displayName'
|
|
11469
|
+
end
|
|
11470
|
+
end
|
|
11471
|
+
|
|
11447
11472
|
class GoogleCloudAiplatformV1beta1DatasetDistribution
|
|
11448
11473
|
# @private
|
|
11449
11474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11993,6 +12018,20 @@ module Google
|
|
|
11993
12018
|
property :auto_truncate, as: 'autoTruncate'
|
|
11994
12019
|
property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
|
11995
12020
|
|
|
12021
|
+
property :embed_content_config, as: 'embedContentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig::Representation
|
|
12022
|
+
|
|
12023
|
+
property :output_dimensionality, as: 'outputDimensionality'
|
|
12024
|
+
property :task_type, as: 'taskType'
|
|
12025
|
+
property :title, as: 'title'
|
|
12026
|
+
end
|
|
12027
|
+
end
|
|
12028
|
+
|
|
12029
|
+
class GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig
|
|
12030
|
+
# @private
|
|
12031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12032
|
+
property :audio_track_extraction, as: 'audioTrackExtraction'
|
|
12033
|
+
property :auto_truncate, as: 'autoTruncate'
|
|
12034
|
+
property :document_ocr, as: 'documentOcr'
|
|
11996
12035
|
property :output_dimensionality, as: 'outputDimensionality'
|
|
11997
12036
|
property :task_type, as: 'taskType'
|
|
11998
12037
|
property :title, as: 'title'
|
|
@@ -12621,6 +12660,8 @@ module Google
|
|
|
12621
12660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12622
12661
|
property :autorater_config, as: 'autoraterConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig::Representation
|
|
12623
12662
|
|
|
12663
|
+
collection :dataset_custom_metrics, as: 'datasetCustomMetrics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetCustomMetric, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetCustomMetric::Representation
|
|
12664
|
+
|
|
12624
12665
|
collection :metrics, as: 'metrics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunMetric, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunMetric::Representation
|
|
12625
12666
|
|
|
12626
12667
|
property :output_config, as: 'outputConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig::Representation
|
|
@@ -16256,6 +16297,8 @@ module Google
|
|
|
16256
16297
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
|
|
16257
16298
|
# @private
|
|
16258
16299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
16300
|
+
property :consolidation_config, as: 'consolidationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig::Representation
|
|
16301
|
+
|
|
16259
16302
|
property :enable_third_person_memories, as: 'enableThirdPersonMemories'
|
|
16260
16303
|
collection :generate_memories_examples, as: 'generateMemoriesExamples', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample::Representation
|
|
16261
16304
|
|
|
@@ -16265,6 +16308,13 @@ module Google
|
|
|
16265
16308
|
end
|
|
16266
16309
|
end
|
|
16267
16310
|
|
|
16311
|
+
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig
|
|
16312
|
+
# @private
|
|
16313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
16314
|
+
property :revisions_per_candidate_count, as: 'revisionsPerCandidateCount'
|
|
16315
|
+
end
|
|
16316
|
+
end
|
|
16317
|
+
|
|
16268
16318
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample
|
|
16269
16319
|
# @private
|
|
16270
16320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -22888,6 +22938,7 @@ module Google
|
|
|
22888
22938
|
|
|
22889
22939
|
property :invocation_id, as: 'invocationId'
|
|
22890
22940
|
property :name, as: 'name'
|
|
22941
|
+
hash :raw_event, as: 'rawEvent'
|
|
22891
22942
|
property :timestamp, as: 'timestamp'
|
|
22892
22943
|
end
|
|
22893
22944
|
end
|
|
@@ -9769,10 +9769,11 @@ module Google
|
|
|
9769
9769
|
execute_or_queue_command(command, &block)
|
|
9770
9770
|
end
|
|
9771
9771
|
|
|
9772
|
-
# Generates synthetic data based on
|
|
9772
|
+
# Generates synthetic (artificial) data based on a description
|
|
9773
9773
|
# @param [String] location
|
|
9774
|
-
# Required. The
|
|
9775
|
-
# project`/locations/`
|
|
9774
|
+
# Required. The geographic location where the synthetic data generation request
|
|
9775
|
+
# is processed. This should be in the format `projects/`project`/locations/`
|
|
9776
|
+
# location``. For example, `projects/my-project/locations/us-central1`.
|
|
9776
9777
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest] google_cloud_aiplatform_v1beta1_generate_synthetic_data_request_object
|
|
9777
9778
|
# @param [String] fields
|
|
9778
9779
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -34230,6 +34231,12 @@ module Google
|
|
|
34230
34231
|
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
34231
34232
|
# reasoning_engine``
|
|
34232
34233
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
|
34234
|
+
# @param [String] memory_id
|
|
34235
|
+
# Optional. The user defined ID to use for memory, which will become the final
|
|
34236
|
+
# component of the memory resource name. If not provided, Vertex AI will
|
|
34237
|
+
# generate a value for this ID. This value may be up to 63 characters, and valid
|
|
34238
|
+
# characters are `[a-z0-9-]`. The first character must be a letter, and the last
|
|
34239
|
+
# character must be a letter or number.
|
|
34233
34240
|
# @param [String] fields
|
|
34234
34241
|
# Selector specifying which fields to include in a partial response.
|
|
34235
34242
|
# @param [String] quota_user
|
|
@@ -34247,13 +34254,14 @@ module Google
|
|
|
34247
34254
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34248
34255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34249
34256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34250
|
-
def create_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34257
|
+
def create_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, memory_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34251
34258
|
command = make_simple_command(:post, 'v1beta1/{+parent}/memories', options)
|
|
34252
34259
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
|
34253
34260
|
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
|
34254
34261
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
34255
34262
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
34256
34263
|
command.params['parent'] = parent unless parent.nil?
|
|
34264
|
+
command.query['memoryId'] = memory_id unless memory_id.nil?
|
|
34257
34265
|
command.query['fields'] = fields unless fields.nil?
|
|
34258
34266
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34259
34267
|
execute_or_queue_command(command, &block)
|
|
@@ -35008,6 +35016,198 @@ module Google
|
|
|
35008
35016
|
execute_or_queue_command(command, &block)
|
|
35009
35017
|
end
|
|
35010
35018
|
|
|
35019
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
35020
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
35021
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
35022
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
35023
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
35024
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
35025
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
35026
|
+
# , corresponding to `Code.CANCELLED`.
|
|
35027
|
+
# @param [String] name
|
|
35028
|
+
# The name of the operation resource to be cancelled.
|
|
35029
|
+
# @param [String] fields
|
|
35030
|
+
# Selector specifying which fields to include in a partial response.
|
|
35031
|
+
# @param [String] quota_user
|
|
35032
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
35033
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
35034
|
+
# @param [Google::Apis::RequestOptions] options
|
|
35035
|
+
# Request-specific options
|
|
35036
|
+
#
|
|
35037
|
+
# @yield [result, err] Result & error if block supplied
|
|
35038
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
35039
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
35040
|
+
#
|
|
35041
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
35042
|
+
#
|
|
35043
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35044
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35045
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35046
|
+
def cancel_project_location_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
35047
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
|
35048
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
35049
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
35050
|
+
command.params['name'] = name unless name.nil?
|
|
35051
|
+
command.query['fields'] = fields unless fields.nil?
|
|
35052
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35053
|
+
execute_or_queue_command(command, &block)
|
|
35054
|
+
end
|
|
35055
|
+
|
|
35056
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
35057
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
35058
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
35059
|
+
# UNIMPLEMENTED`.
|
|
35060
|
+
# @param [String] name
|
|
35061
|
+
# The name of the operation resource to be deleted.
|
|
35062
|
+
# @param [String] fields
|
|
35063
|
+
# Selector specifying which fields to include in a partial response.
|
|
35064
|
+
# @param [String] quota_user
|
|
35065
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
35066
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
35067
|
+
# @param [Google::Apis::RequestOptions] options
|
|
35068
|
+
# Request-specific options
|
|
35069
|
+
#
|
|
35070
|
+
# @yield [result, err] Result & error if block supplied
|
|
35071
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
35072
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
35073
|
+
#
|
|
35074
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
35075
|
+
#
|
|
35076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35079
|
+
def delete_project_location_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
35080
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
35081
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
35082
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
35083
|
+
command.params['name'] = name unless name.nil?
|
|
35084
|
+
command.query['fields'] = fields unless fields.nil?
|
|
35085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35086
|
+
execute_or_queue_command(command, &block)
|
|
35087
|
+
end
|
|
35088
|
+
|
|
35089
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
35090
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
35091
|
+
# @param [String] name
|
|
35092
|
+
# The name of the operation resource.
|
|
35093
|
+
# @param [String] fields
|
|
35094
|
+
# Selector specifying which fields to include in a partial response.
|
|
35095
|
+
# @param [String] quota_user
|
|
35096
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
35097
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
35098
|
+
# @param [Google::Apis::RequestOptions] options
|
|
35099
|
+
# Request-specific options
|
|
35100
|
+
#
|
|
35101
|
+
# @yield [result, err] Result & error if block supplied
|
|
35102
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
35103
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
35104
|
+
#
|
|
35105
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
35106
|
+
#
|
|
35107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35110
|
+
def get_project_location_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
35111
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
35112
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
35113
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
35114
|
+
command.params['name'] = name unless name.nil?
|
|
35115
|
+
command.query['fields'] = fields unless fields.nil?
|
|
35116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35117
|
+
execute_or_queue_command(command, &block)
|
|
35118
|
+
end
|
|
35119
|
+
|
|
35120
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
35121
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
35122
|
+
# @param [String] name
|
|
35123
|
+
# The name of the operation's parent resource.
|
|
35124
|
+
# @param [String] filter
|
|
35125
|
+
# The standard list filter.
|
|
35126
|
+
# @param [Fixnum] page_size
|
|
35127
|
+
# The standard list page size.
|
|
35128
|
+
# @param [String] page_token
|
|
35129
|
+
# The standard list page token.
|
|
35130
|
+
# @param [Boolean] return_partial_success
|
|
35131
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
35132
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
35133
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
35134
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
35135
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
35136
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
35137
|
+
# documentation.
|
|
35138
|
+
# @param [String] fields
|
|
35139
|
+
# Selector specifying which fields to include in a partial response.
|
|
35140
|
+
# @param [String] quota_user
|
|
35141
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
35142
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
35143
|
+
# @param [Google::Apis::RequestOptions] options
|
|
35144
|
+
# Request-specific options
|
|
35145
|
+
#
|
|
35146
|
+
# @yield [result, err] Result & error if block supplied
|
|
35147
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
35148
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
35149
|
+
#
|
|
35150
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
|
35151
|
+
#
|
|
35152
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35153
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35154
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35155
|
+
def list_project_location_reasoning_engine_runtime_revision_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
35156
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
|
35157
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
|
35158
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
|
35159
|
+
command.params['name'] = name unless name.nil?
|
|
35160
|
+
command.query['filter'] = filter unless filter.nil?
|
|
35161
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
35162
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
35163
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
35164
|
+
command.query['fields'] = fields unless fields.nil?
|
|
35165
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35166
|
+
execute_or_queue_command(command, &block)
|
|
35167
|
+
end
|
|
35168
|
+
|
|
35169
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
35170
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
35171
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
35172
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
35173
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
35174
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
35175
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
35176
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
35177
|
+
# @param [String] name
|
|
35178
|
+
# The name of the operation resource to wait on.
|
|
35179
|
+
# @param [String] timeout
|
|
35180
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
35181
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
35182
|
+
# context deadline is also specified, the shorter one will be used.
|
|
35183
|
+
# @param [String] fields
|
|
35184
|
+
# Selector specifying which fields to include in a partial response.
|
|
35185
|
+
# @param [String] quota_user
|
|
35186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
35187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
35188
|
+
# @param [Google::Apis::RequestOptions] options
|
|
35189
|
+
# Request-specific options
|
|
35190
|
+
#
|
|
35191
|
+
# @yield [result, err] Result & error if block supplied
|
|
35192
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
35193
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
35194
|
+
#
|
|
35195
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
35196
|
+
#
|
|
35197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35200
|
+
def wait_project_location_reasoning_engine_runtime_revision_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
35201
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
|
35202
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
35203
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
35204
|
+
command.params['name'] = name unless name.nil?
|
|
35205
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
35206
|
+
command.query['fields'] = fields unless fields.nil?
|
|
35207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35208
|
+
execute_or_queue_command(command, &block)
|
|
35209
|
+
end
|
|
35210
|
+
|
|
35011
35211
|
# Creates a SandboxEnvironment in a given reasoning engine.
|
|
35012
35212
|
# @param [String] parent
|
|
35013
35213
|
# Required. The resource name of the reasoning engine to create the
|
|
@@ -35419,6 +35619,12 @@ module Google
|
|
|
35419
35619
|
# Required. The resource name of the location to create the session in. Format: `
|
|
35420
35620
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
35421
35621
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
|
35622
|
+
# @param [String] session_id
|
|
35623
|
+
# Optional. The user defined ID to use for session, which will become the final
|
|
35624
|
+
# component of the session resource name. If not provided, Vertex AI will
|
|
35625
|
+
# generate a value for this ID. This value may be up to 63 characters, and valid
|
|
35626
|
+
# characters are `[a-z0-9-]`. The first character must be a letter, and the last
|
|
35627
|
+
# character must be a letter or number.
|
|
35422
35628
|
# @param [String] fields
|
|
35423
35629
|
# Selector specifying which fields to include in a partial response.
|
|
35424
35630
|
# @param [String] quota_user
|
|
@@ -35436,13 +35642,14 @@ module Google
|
|
|
35436
35642
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
35437
35643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
35438
35644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
35439
|
-
def create_project_location_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
35645
|
+
def create_project_location_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, session_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
35440
35646
|
command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
|
|
35441
35647
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
|
35442
35648
|
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
|
35443
35649
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
35444
35650
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
35445
35651
|
command.params['parent'] = parent unless parent.nil?
|
|
35652
|
+
command.query['sessionId'] = session_id unless session_id.nil?
|
|
35446
35653
|
command.query['fields'] = fields unless fields.nil?
|
|
35447
35654
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
35448
35655
|
execute_or_queue_command(command, &block)
|
|
@@ -42182,6 +42389,12 @@ module Google
|
|
|
42182
42389
|
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
42183
42390
|
# reasoning_engine``
|
|
42184
42391
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
|
42392
|
+
# @param [String] memory_id
|
|
42393
|
+
# Optional. The user defined ID to use for memory, which will become the final
|
|
42394
|
+
# component of the memory resource name. If not provided, Vertex AI will
|
|
42395
|
+
# generate a value for this ID. This value may be up to 63 characters, and valid
|
|
42396
|
+
# characters are `[a-z0-9-]`. The first character must be a letter, and the last
|
|
42397
|
+
# character must be a letter or number.
|
|
42185
42398
|
# @param [String] fields
|
|
42186
42399
|
# Selector specifying which fields to include in a partial response.
|
|
42187
42400
|
# @param [String] quota_user
|
|
@@ -42199,13 +42412,14 @@ module Google
|
|
|
42199
42412
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
42200
42413
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
42201
42414
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
42202
|
-
def create_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
42415
|
+
def create_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, memory_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
42203
42416
|
command = make_simple_command(:post, 'v1beta1/{+parent}/memories', options)
|
|
42204
42417
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
|
42205
42418
|
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
|
42206
42419
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
42207
42420
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
42208
42421
|
command.params['parent'] = parent unless parent.nil?
|
|
42422
|
+
command.query['memoryId'] = memory_id unless memory_id.nil?
|
|
42209
42423
|
command.query['fields'] = fields unless fields.nil?
|
|
42210
42424
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
42211
42425
|
execute_or_queue_command(command, &block)
|
|
@@ -42960,6 +43174,198 @@ module Google
|
|
|
42960
43174
|
execute_or_queue_command(command, &block)
|
|
42961
43175
|
end
|
|
42962
43176
|
|
|
43177
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
43178
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
43179
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
43180
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
43181
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
43182
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
43183
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
43184
|
+
# , corresponding to `Code.CANCELLED`.
|
|
43185
|
+
# @param [String] name
|
|
43186
|
+
# The name of the operation resource to be cancelled.
|
|
43187
|
+
# @param [String] fields
|
|
43188
|
+
# Selector specifying which fields to include in a partial response.
|
|
43189
|
+
# @param [String] quota_user
|
|
43190
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43191
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43192
|
+
# @param [Google::Apis::RequestOptions] options
|
|
43193
|
+
# Request-specific options
|
|
43194
|
+
#
|
|
43195
|
+
# @yield [result, err] Result & error if block supplied
|
|
43196
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
43197
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
43198
|
+
#
|
|
43199
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
43200
|
+
#
|
|
43201
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43202
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43203
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43204
|
+
def cancel_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
43205
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
|
43206
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
43207
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
43208
|
+
command.params['name'] = name unless name.nil?
|
|
43209
|
+
command.query['fields'] = fields unless fields.nil?
|
|
43210
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43211
|
+
execute_or_queue_command(command, &block)
|
|
43212
|
+
end
|
|
43213
|
+
|
|
43214
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
43215
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
43216
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
43217
|
+
# UNIMPLEMENTED`.
|
|
43218
|
+
# @param [String] name
|
|
43219
|
+
# The name of the operation resource to be deleted.
|
|
43220
|
+
# @param [String] fields
|
|
43221
|
+
# Selector specifying which fields to include in a partial response.
|
|
43222
|
+
# @param [String] quota_user
|
|
43223
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43224
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43225
|
+
# @param [Google::Apis::RequestOptions] options
|
|
43226
|
+
# Request-specific options
|
|
43227
|
+
#
|
|
43228
|
+
# @yield [result, err] Result & error if block supplied
|
|
43229
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
43230
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
43231
|
+
#
|
|
43232
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
43233
|
+
#
|
|
43234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43237
|
+
def delete_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
43238
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
43239
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
43240
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
43241
|
+
command.params['name'] = name unless name.nil?
|
|
43242
|
+
command.query['fields'] = fields unless fields.nil?
|
|
43243
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43244
|
+
execute_or_queue_command(command, &block)
|
|
43245
|
+
end
|
|
43246
|
+
|
|
43247
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
43248
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
43249
|
+
# @param [String] name
|
|
43250
|
+
# The name of the operation resource.
|
|
43251
|
+
# @param [String] fields
|
|
43252
|
+
# Selector specifying which fields to include in a partial response.
|
|
43253
|
+
# @param [String] quota_user
|
|
43254
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43255
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43256
|
+
# @param [Google::Apis::RequestOptions] options
|
|
43257
|
+
# Request-specific options
|
|
43258
|
+
#
|
|
43259
|
+
# @yield [result, err] Result & error if block supplied
|
|
43260
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
43261
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
43262
|
+
#
|
|
43263
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
43264
|
+
#
|
|
43265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43268
|
+
def get_reasoning_engine_runtime_revision_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
43269
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
43270
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
43271
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
43272
|
+
command.params['name'] = name unless name.nil?
|
|
43273
|
+
command.query['fields'] = fields unless fields.nil?
|
|
43274
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43275
|
+
execute_or_queue_command(command, &block)
|
|
43276
|
+
end
|
|
43277
|
+
|
|
43278
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
43279
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
43280
|
+
# @param [String] name
|
|
43281
|
+
# The name of the operation's parent resource.
|
|
43282
|
+
# @param [String] filter
|
|
43283
|
+
# The standard list filter.
|
|
43284
|
+
# @param [Fixnum] page_size
|
|
43285
|
+
# The standard list page size.
|
|
43286
|
+
# @param [String] page_token
|
|
43287
|
+
# The standard list page token.
|
|
43288
|
+
# @param [Boolean] return_partial_success
|
|
43289
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
43290
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
43291
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
43292
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
43293
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
43294
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
43295
|
+
# documentation.
|
|
43296
|
+
# @param [String] fields
|
|
43297
|
+
# Selector specifying which fields to include in a partial response.
|
|
43298
|
+
# @param [String] quota_user
|
|
43299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43301
|
+
# @param [Google::Apis::RequestOptions] options
|
|
43302
|
+
# Request-specific options
|
|
43303
|
+
#
|
|
43304
|
+
# @yield [result, err] Result & error if block supplied
|
|
43305
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
43306
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
43307
|
+
#
|
|
43308
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
|
43309
|
+
#
|
|
43310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43313
|
+
def list_reasoning_engine_runtime_revision_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
43314
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
|
43315
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
|
43316
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
|
43317
|
+
command.params['name'] = name unless name.nil?
|
|
43318
|
+
command.query['filter'] = filter unless filter.nil?
|
|
43319
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
43320
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
43321
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
43322
|
+
command.query['fields'] = fields unless fields.nil?
|
|
43323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43324
|
+
execute_or_queue_command(command, &block)
|
|
43325
|
+
end
|
|
43326
|
+
|
|
43327
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
43328
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
43329
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
43330
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
43331
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
43332
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
43333
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
43334
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
43335
|
+
# @param [String] name
|
|
43336
|
+
# The name of the operation resource to wait on.
|
|
43337
|
+
# @param [String] timeout
|
|
43338
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
43339
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
43340
|
+
# context deadline is also specified, the shorter one will be used.
|
|
43341
|
+
# @param [String] fields
|
|
43342
|
+
# Selector specifying which fields to include in a partial response.
|
|
43343
|
+
# @param [String] quota_user
|
|
43344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43346
|
+
# @param [Google::Apis::RequestOptions] options
|
|
43347
|
+
# Request-specific options
|
|
43348
|
+
#
|
|
43349
|
+
# @yield [result, err] Result & error if block supplied
|
|
43350
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
43351
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
43352
|
+
#
|
|
43353
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
43354
|
+
#
|
|
43355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43358
|
+
def wait_reasoning_engine_runtime_revision_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
43359
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
|
43360
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
43361
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
43362
|
+
command.params['name'] = name unless name.nil?
|
|
43363
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
43364
|
+
command.query['fields'] = fields unless fields.nil?
|
|
43365
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43366
|
+
execute_or_queue_command(command, &block)
|
|
43367
|
+
end
|
|
43368
|
+
|
|
42963
43369
|
# Creates a SandboxEnvironment in a given reasoning engine.
|
|
42964
43370
|
# @param [String] parent
|
|
42965
43371
|
# Required. The resource name of the reasoning engine to create the
|
|
@@ -43371,6 +43777,12 @@ module Google
|
|
|
43371
43777
|
# Required. The resource name of the location to create the session in. Format: `
|
|
43372
43778
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
43373
43779
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
|
43780
|
+
# @param [String] session_id
|
|
43781
|
+
# Optional. The user defined ID to use for session, which will become the final
|
|
43782
|
+
# component of the session resource name. If not provided, Vertex AI will
|
|
43783
|
+
# generate a value for this ID. This value may be up to 63 characters, and valid
|
|
43784
|
+
# characters are `[a-z0-9-]`. The first character must be a letter, and the last
|
|
43785
|
+
# character must be a letter or number.
|
|
43374
43786
|
# @param [String] fields
|
|
43375
43787
|
# Selector specifying which fields to include in a partial response.
|
|
43376
43788
|
# @param [String] quota_user
|
|
@@ -43388,13 +43800,14 @@ module Google
|
|
|
43388
43800
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
43389
43801
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
43390
43802
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
43391
|
-
def create_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
43803
|
+
def create_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, session_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
43392
43804
|
command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
|
|
43393
43805
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
|
43394
43806
|
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
|
43395
43807
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
43396
43808
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
43397
43809
|
command.params['parent'] = parent unless parent.nil?
|
|
43810
|
+
command.query['sessionId'] = session_id unless session_id.nil?
|
|
43398
43811
|
command.query['fields'] = fields unless fields.nil?
|
|
43399
43812
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
43400
43813
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.77.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_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.77.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|