google-apis-aiplatform_v1beta1 0.66.0 → 0.67.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 +104 -2
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +46 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +119 -6
- 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: 67e0e82bf6ecf57613c576a7bf7157bdbc577570c2e98e3eac36ea5b7d339f69
|
|
4
|
+
data.tar.gz: 33b63c36782e7ff414d92a500bcf71624aae8c309ca96f59f7d48637d173a249
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b686cb2a0aeee7d32fcc0ba109a70ce3480d8804300fba70202d5e95f6f4cc21dff738db088e30aa1becff09371e635a1bf51d94d8415e6cdd736baa6834651d
|
|
7
|
+
data.tar.gz: 43029b575e4d8d3002b8bd6d8d811bf15735b3de32e652169c50273ca4999bb8f4c4da18aa537605de684914df407809d81a9af0f9214834bfacc47ab88e60d8
|
data/CHANGELOG.md
CHANGED
|
@@ -1871,7 +1871,8 @@ module Google
|
|
|
1871
1871
|
# Required. The resource metric name. Supported metrics: * For Online Prediction:
|
|
1872
1872
|
# * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `
|
|
1873
1873
|
# aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.
|
|
1874
|
-
# googleapis.com/prediction/online/request_count`
|
|
1874
|
+
# googleapis.com/prediction/online/request_count` * `pubsub.googleapis.com/
|
|
1875
|
+
# subscription/num_undelivered_messages`
|
|
1875
1876
|
# Corresponds to the JSON property `metricName`
|
|
1876
1877
|
# @return [String]
|
|
1877
1878
|
attr_accessor :metric_name
|
|
@@ -32370,6 +32371,34 @@ module Google
|
|
|
32370
32371
|
end
|
|
32371
32372
|
end
|
|
32372
32373
|
|
|
32374
|
+
# Request message for MemoryBankService.PurgeMemories.
|
|
32375
|
+
class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest
|
|
32376
|
+
include Google::Apis::Core::Hashable
|
|
32377
|
+
|
|
32378
|
+
# Required. The standard list filter to determine which memories to purge. More
|
|
32379
|
+
# detail in [AIP-160](https://google.aip.dev/160).
|
|
32380
|
+
# Corresponds to the JSON property `filter`
|
|
32381
|
+
# @return [String]
|
|
32382
|
+
attr_accessor :filter
|
|
32383
|
+
|
|
32384
|
+
# Optional. If true, the memories will actually be purged. If false, the purge
|
|
32385
|
+
# request will be validated but not executed.
|
|
32386
|
+
# Corresponds to the JSON property `force`
|
|
32387
|
+
# @return [Boolean]
|
|
32388
|
+
attr_accessor :force
|
|
32389
|
+
alias_method :force?, :force
|
|
32390
|
+
|
|
32391
|
+
def initialize(**args)
|
|
32392
|
+
update!(**args)
|
|
32393
|
+
end
|
|
32394
|
+
|
|
32395
|
+
# Update properties of this object
|
|
32396
|
+
def update!(**args)
|
|
32397
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
32398
|
+
@force = args[:force] if args.key?(:force)
|
|
32399
|
+
end
|
|
32400
|
+
end
|
|
32401
|
+
|
|
32373
32402
|
# The spec of a Python packaged code.
|
|
32374
32403
|
class GoogleCloudAiplatformV1beta1PythonPackageSpec
|
|
32375
32404
|
include Google::Apis::Core::Hashable
|
|
@@ -36343,7 +36372,9 @@ module Google
|
|
|
36343
36372
|
|
|
36344
36373
|
# Optional. The standard list filter that will be applied to the retrieved
|
|
36345
36374
|
# memories. More detail in [AIP-160](https://google.aip.dev/160). Supported
|
|
36346
|
-
# fields: * `fact` * `create_time` * `update_time`
|
|
36375
|
+
# fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.
|
|
36376
|
+
# custom_memory_topic_label: "example topic" OR topics.managed_memory_topic:
|
|
36377
|
+
# USER_PREFERENCES`)
|
|
36347
36378
|
# Corresponds to the JSON property `filter`
|
|
36348
36379
|
# @return [String]
|
|
36349
36380
|
attr_accessor :filter
|
|
@@ -40864,6 +40895,71 @@ module Google
|
|
|
40864
40895
|
end
|
|
40865
40896
|
end
|
|
40866
40897
|
|
|
40898
|
+
# Defines data for an application builder.
|
|
40899
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData
|
|
40900
|
+
include Google::Apis::Core::Hashable
|
|
40901
|
+
|
|
40902
|
+
# Serialized state of the code repository. This string will typically contain a
|
|
40903
|
+
# JSON representation of the UI's CodeRepositoryService state (files, folders,
|
|
40904
|
+
# content, and any metadata). The UI is responsible for serialization and
|
|
40905
|
+
# deserialization.
|
|
40906
|
+
# Corresponds to the JSON property `codeRepositoryState`
|
|
40907
|
+
# @return [String]
|
|
40908
|
+
attr_accessor :code_repository_state
|
|
40909
|
+
|
|
40910
|
+
# Linked resources attached to the application by the user.
|
|
40911
|
+
# Corresponds to the JSON property `linkedResources`
|
|
40912
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource>]
|
|
40913
|
+
attr_accessor :linked_resources
|
|
40914
|
+
|
|
40915
|
+
def initialize(**args)
|
|
40916
|
+
update!(**args)
|
|
40917
|
+
end
|
|
40918
|
+
|
|
40919
|
+
# Update properties of this object
|
|
40920
|
+
def update!(**args)
|
|
40921
|
+
@code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
|
|
40922
|
+
@linked_resources = args[:linked_resources] if args.key?(:linked_resources)
|
|
40923
|
+
end
|
|
40924
|
+
end
|
|
40925
|
+
|
|
40926
|
+
# A linked resource attached to the application by the user.
|
|
40927
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource
|
|
40928
|
+
include Google::Apis::Core::Hashable
|
|
40929
|
+
|
|
40930
|
+
# A user-friendly name for the data source shown in the UI.
|
|
40931
|
+
# Corresponds to the JSON property `displayName`
|
|
40932
|
+
# @return [String]
|
|
40933
|
+
attr_accessor :display_name
|
|
40934
|
+
|
|
40935
|
+
# The unique resource name of the data source. The format is determined by the '
|
|
40936
|
+
# type' field. For type "SAVED_PROMPT": projects/`project`/locations/`location`/
|
|
40937
|
+
# datasets/`dataset` For type "AI_AGENT": projects/`project`/locations/`location`
|
|
40938
|
+
# /agents/`agent`
|
|
40939
|
+
# Corresponds to the JSON property `name`
|
|
40940
|
+
# @return [String]
|
|
40941
|
+
attr_accessor :name
|
|
40942
|
+
|
|
40943
|
+
# The type of the linked resource. e.g., "SAVED_PROMPT", "AI_AGENT" This string
|
|
40944
|
+
# corresponds to the name of the LinkedResourceType enum member. See: google3/
|
|
40945
|
+
# cloud/console/web/ai/platform/llm/prompts/build/services/
|
|
40946
|
+
# specs_repository_service/linked_resources/linked_resource.ts
|
|
40947
|
+
# Corresponds to the JSON property `type`
|
|
40948
|
+
# @return [String]
|
|
40949
|
+
attr_accessor :type
|
|
40950
|
+
|
|
40951
|
+
def initialize(**args)
|
|
40952
|
+
update!(**args)
|
|
40953
|
+
end
|
|
40954
|
+
|
|
40955
|
+
# Update properties of this object
|
|
40956
|
+
def update!(**args)
|
|
40957
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
40958
|
+
@name = args[:name] if args.key?(:name)
|
|
40959
|
+
@type = args[:type] if args.key?(:type)
|
|
40960
|
+
end
|
|
40961
|
+
end
|
|
40962
|
+
|
|
40867
40963
|
# Prompt variation that embeds preambles to prompt string.
|
|
40868
40964
|
class GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt
|
|
40869
40965
|
include Google::Apis::Core::Hashable
|
|
@@ -41017,6 +41113,11 @@ module Google
|
|
|
41017
41113
|
class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt
|
|
41018
41114
|
include Google::Apis::Core::Hashable
|
|
41019
41115
|
|
|
41116
|
+
# Defines data for an application builder.
|
|
41117
|
+
# Corresponds to the JSON property `appBuilderData`
|
|
41118
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData]
|
|
41119
|
+
attr_accessor :app_builder_data
|
|
41120
|
+
|
|
41020
41121
|
# The structured data content of a message. A Content message contains a `role`
|
|
41021
41122
|
# field, which indicates the producer of the content, and a `parts` field, which
|
|
41022
41123
|
# contains the multi-part data of the message.
|
|
@@ -41067,6 +41168,7 @@ module Google
|
|
|
41067
41168
|
|
|
41068
41169
|
# Update properties of this object
|
|
41069
41170
|
def update!(**args)
|
|
41171
|
+
@app_builder_data = args[:app_builder_data] if args.key?(:app_builder_data)
|
|
41070
41172
|
@context = args[:context] if args.key?(:context)
|
|
41071
41173
|
@examples = args[:examples] if args.key?(:examples)
|
|
41072
41174
|
@infill_prefix = args[:infill_prefix] if args.key?(:infill_prefix)
|
|
@@ -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.67.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 = "20251114"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -5260,6 +5260,12 @@ module Google
|
|
|
5260
5260
|
include Google::Apis::Core::JsonObjectSupport
|
|
5261
5261
|
end
|
|
5262
5262
|
|
|
5263
|
+
class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest
|
|
5264
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5265
|
+
|
|
5266
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5267
|
+
end
|
|
5268
|
+
|
|
5263
5269
|
class GoogleCloudAiplatformV1beta1PythonPackageSpec
|
|
5264
5270
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5265
5271
|
|
|
@@ -6754,6 +6760,18 @@ module Google
|
|
|
6754
6760
|
include Google::Apis::Core::JsonObjectSupport
|
|
6755
6761
|
end
|
|
6756
6762
|
|
|
6763
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData
|
|
6764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6765
|
+
|
|
6766
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6767
|
+
end
|
|
6768
|
+
|
|
6769
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource
|
|
6770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6771
|
+
|
|
6772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6773
|
+
end
|
|
6774
|
+
|
|
6757
6775
|
class GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt
|
|
6758
6776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6759
6777
|
|
|
@@ -18250,6 +18268,14 @@ module Google
|
|
|
18250
18268
|
end
|
|
18251
18269
|
end
|
|
18252
18270
|
|
|
18271
|
+
class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest
|
|
18272
|
+
# @private
|
|
18273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18274
|
+
property :filter, as: 'filter'
|
|
18275
|
+
property :force, as: 'force'
|
|
18276
|
+
end
|
|
18277
|
+
end
|
|
18278
|
+
|
|
18253
18279
|
class GoogleCloudAiplatformV1beta1PythonPackageSpec
|
|
18254
18280
|
# @private
|
|
18255
18281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20700,6 +20726,24 @@ module Google
|
|
|
20700
20726
|
end
|
|
20701
20727
|
end
|
|
20702
20728
|
|
|
20729
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData
|
|
20730
|
+
# @private
|
|
20731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20732
|
+
property :code_repository_state, as: 'codeRepositoryState'
|
|
20733
|
+
collection :linked_resources, as: 'linkedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource::Representation
|
|
20734
|
+
|
|
20735
|
+
end
|
|
20736
|
+
end
|
|
20737
|
+
|
|
20738
|
+
class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource
|
|
20739
|
+
# @private
|
|
20740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20741
|
+
property :display_name, as: 'displayName'
|
|
20742
|
+
property :name, as: 'name'
|
|
20743
|
+
property :type, as: 'type'
|
|
20744
|
+
end
|
|
20745
|
+
end
|
|
20746
|
+
|
|
20703
20747
|
class GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt
|
|
20704
20748
|
# @private
|
|
20705
20749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20754,6 +20798,8 @@ module Google
|
|
|
20754
20798
|
class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt
|
|
20755
20799
|
# @private
|
|
20756
20800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20801
|
+
property :app_builder_data, as: 'appBuilderData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData::Representation
|
|
20802
|
+
|
|
20757
20803
|
property :context, as: 'context', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
|
20758
20804
|
|
|
20759
20805
|
collection :examples, as: 'examples', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList::Representation
|
|
@@ -14816,6 +14816,45 @@ module Google
|
|
|
14816
14816
|
execute_or_queue_command(command, &block)
|
|
14817
14817
|
end
|
|
14818
14818
|
|
|
14819
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
14820
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
14821
|
+
# will be specified in the request.
|
|
14822
|
+
# @param [String] endpoint
|
|
14823
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
|
14824
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
|
14825
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
|
|
14826
|
+
# @param [String] deployed_model_id
|
|
14827
|
+
# ID of the DeployedModel that serves the invoke request.
|
|
14828
|
+
# @param [String] fields
|
|
14829
|
+
# Selector specifying which fields to include in a partial response.
|
|
14830
|
+
# @param [String] quota_user
|
|
14831
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14832
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14833
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14834
|
+
# Request-specific options
|
|
14835
|
+
#
|
|
14836
|
+
# @yield [result, err] Result & error if block supplied
|
|
14837
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
|
14838
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14839
|
+
#
|
|
14840
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
|
14841
|
+
#
|
|
14842
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14843
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14844
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14845
|
+
def inference_project_location_endpoint_google_science(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
14846
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/science/inference', options)
|
|
14847
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
|
14848
|
+
command.request_object = google_api_http_body_object
|
|
14849
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
|
14850
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
|
14851
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
|
14852
|
+
command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
|
14853
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14855
|
+
execute_or_queue_command(command, &block)
|
|
14856
|
+
end
|
|
14857
|
+
|
|
14819
14858
|
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
14820
14859
|
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
14821
14860
|
# will be specified in the request.
|
|
@@ -33022,8 +33061,9 @@ module Google
|
|
|
33022
33061
|
# reasoning_engine``
|
|
33023
33062
|
# @param [String] filter
|
|
33024
33063
|
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
|
33025
|
-
# aip.dev/160). Supported fields
|
|
33026
|
-
#
|
|
33064
|
+
# aip.dev/160). Supported fields: * `scope` (as a JSON string with equality
|
|
33065
|
+
# match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic"
|
|
33066
|
+
# OR topics.managed_memory_topic: USER_PREFERENCES`)
|
|
33027
33067
|
# @param [String] order_by
|
|
33028
33068
|
# Optional. The standard list order by string. If not specified, the default
|
|
33029
33069
|
# order is `create_time desc`. If specified, the default sorting order of
|
|
@@ -33102,6 +33142,41 @@ module Google
|
|
|
33102
33142
|
execute_or_queue_command(command, &block)
|
|
33103
33143
|
end
|
|
33104
33144
|
|
|
33145
|
+
# Purge memories.
|
|
33146
|
+
# @param [String] parent
|
|
33147
|
+
# Required. The resource name of the ReasoningEngine to purge memories from.
|
|
33148
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
33149
|
+
# reasoning_engine``
|
|
33150
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeMemoriesRequest] google_cloud_aiplatform_v1beta1_purge_memories_request_object
|
|
33151
|
+
# @param [String] fields
|
|
33152
|
+
# Selector specifying which fields to include in a partial response.
|
|
33153
|
+
# @param [String] quota_user
|
|
33154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
33155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
33156
|
+
# @param [Google::Apis::RequestOptions] options
|
|
33157
|
+
# Request-specific options
|
|
33158
|
+
#
|
|
33159
|
+
# @yield [result, err] Result & error if block supplied
|
|
33160
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
33161
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
33162
|
+
#
|
|
33163
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
33164
|
+
#
|
|
33165
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
33166
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
33167
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
33168
|
+
def purge_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_purge_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
33169
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:purge', options)
|
|
33170
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeMemoriesRequest::Representation
|
|
33171
|
+
command.request_object = google_cloud_aiplatform_v1beta1_purge_memories_request_object
|
|
33172
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
33173
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
33174
|
+
command.params['parent'] = parent unless parent.nil?
|
|
33175
|
+
command.query['fields'] = fields unless fields.nil?
|
|
33176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
33177
|
+
execute_or_queue_command(command, &block)
|
|
33178
|
+
end
|
|
33179
|
+
|
|
33105
33180
|
# Retrieve memories.
|
|
33106
33181
|
# @param [String] parent
|
|
33107
33182
|
# Required. The resource name of the ReasoningEngine to retrieve memories from.
|
|
@@ -34135,7 +34210,8 @@ module Google
|
|
|
34135
34210
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
34136
34211
|
# @param [String] filter
|
|
34137
34212
|
# Optional. The standard list filter. Supported fields: * `display_name` * `
|
|
34138
|
-
# user_id` Example: `display_name="abc"`, `user_id="123"
|
|
34213
|
+
# user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.
|
|
34214
|
+
# key="value"`.
|
|
34139
34215
|
# @param [String] order_by
|
|
34140
34216
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
34141
34217
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
|
@@ -40726,8 +40802,9 @@ module Google
|
|
|
40726
40802
|
# reasoning_engine``
|
|
40727
40803
|
# @param [String] filter
|
|
40728
40804
|
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
|
40729
|
-
# aip.dev/160). Supported fields
|
|
40730
|
-
#
|
|
40805
|
+
# aip.dev/160). Supported fields: * `scope` (as a JSON string with equality
|
|
40806
|
+
# match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic"
|
|
40807
|
+
# OR topics.managed_memory_topic: USER_PREFERENCES`)
|
|
40731
40808
|
# @param [String] order_by
|
|
40732
40809
|
# Optional. The standard list order by string. If not specified, the default
|
|
40733
40810
|
# order is `create_time desc`. If specified, the default sorting order of
|
|
@@ -40806,6 +40883,41 @@ module Google
|
|
|
40806
40883
|
execute_or_queue_command(command, &block)
|
|
40807
40884
|
end
|
|
40808
40885
|
|
|
40886
|
+
# Purge memories.
|
|
40887
|
+
# @param [String] parent
|
|
40888
|
+
# Required. The resource name of the ReasoningEngine to purge memories from.
|
|
40889
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
40890
|
+
# reasoning_engine``
|
|
40891
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeMemoriesRequest] google_cloud_aiplatform_v1beta1_purge_memories_request_object
|
|
40892
|
+
# @param [String] fields
|
|
40893
|
+
# Selector specifying which fields to include in a partial response.
|
|
40894
|
+
# @param [String] quota_user
|
|
40895
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
40896
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
40897
|
+
# @param [Google::Apis::RequestOptions] options
|
|
40898
|
+
# Request-specific options
|
|
40899
|
+
#
|
|
40900
|
+
# @yield [result, err] Result & error if block supplied
|
|
40901
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
40902
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
40903
|
+
#
|
|
40904
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
40905
|
+
#
|
|
40906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
40907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
40908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
40909
|
+
def purge_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_purge_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
40910
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:purge', options)
|
|
40911
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeMemoriesRequest::Representation
|
|
40912
|
+
command.request_object = google_cloud_aiplatform_v1beta1_purge_memories_request_object
|
|
40913
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
40914
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
40915
|
+
command.params['parent'] = parent unless parent.nil?
|
|
40916
|
+
command.query['fields'] = fields unless fields.nil?
|
|
40917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
40918
|
+
execute_or_queue_command(command, &block)
|
|
40919
|
+
end
|
|
40920
|
+
|
|
40809
40921
|
# Retrieve memories.
|
|
40810
40922
|
# @param [String] parent
|
|
40811
40923
|
# Required. The resource name of the ReasoningEngine to retrieve memories from.
|
|
@@ -41839,7 +41951,8 @@ module Google
|
|
|
41839
41951
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
41840
41952
|
# @param [String] filter
|
|
41841
41953
|
# Optional. The standard list filter. Supported fields: * `display_name` * `
|
|
41842
|
-
# user_id` Example: `display_name="abc"`, `user_id="123"
|
|
41954
|
+
# user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.
|
|
41955
|
+
# key="value"`.
|
|
41843
41956
|
# @param [String] order_by
|
|
41844
41957
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
41845
41958
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
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.67.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.67.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:
|