google-apis-aiplatform_v1 0.74.0 → 0.76.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 +8 -0
- data/lib/google/apis/aiplatform_v1/classes.rb +1758 -136
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +707 -18
- data/lib/google/apis/aiplatform_v1/service.rb +4120 -1832
- metadata +2 -2
|
@@ -929,6 +929,19 @@ module Google
|
|
|
929
929
|
end
|
|
930
930
|
end
|
|
931
931
|
|
|
932
|
+
# Response message for SessionService.AppendEvent.
|
|
933
|
+
class GoogleCloudAiplatformV1AppendEventResponse
|
|
934
|
+
include Google::Apis::Core::Hashable
|
|
935
|
+
|
|
936
|
+
def initialize(**args)
|
|
937
|
+
update!(**args)
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# Update properties of this object
|
|
941
|
+
def update!(**args)
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
932
945
|
# Instance of a general artifact.
|
|
933
946
|
class GoogleCloudAiplatformV1Artifact
|
|
934
947
|
include Google::Apis::Core::Hashable
|
|
@@ -2052,8 +2065,8 @@ module Google
|
|
|
2052
2065
|
# @return [String]
|
|
2053
2066
|
attr_accessor :display_name
|
|
2054
2067
|
|
|
2055
|
-
# Represents a customer-managed encryption key
|
|
2056
|
-
#
|
|
2068
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
2069
|
+
# to a Vertex AI resource.
|
|
2057
2070
|
# Corresponds to the JSON property `encryptionSpec`
|
|
2058
2071
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
2059
2072
|
attr_accessor :encryption_spec
|
|
@@ -2122,14 +2135,14 @@ module Google
|
|
|
2122
2135
|
|
|
2123
2136
|
# The name of the Model resource that produces the predictions via this job,
|
|
2124
2137
|
# must share the same ancestor Location. Starting this job has no impact on any
|
|
2125
|
-
# existing deployments of the Model and their resources. Exactly one of model
|
|
2126
|
-
#
|
|
2127
|
-
# version id or version alias to specify the version. Example: `
|
|
2128
|
-
# project`/locations/`location`/models/`model`@2` or `projects/`
|
|
2129
|
-
# locations/`location`/models/`model`@golden` if no version is
|
|
2130
|
-
# default version will be deployed. The model resource could also
|
|
2131
|
-
# model. Example: `publishers/`publisher`/models/`model`` or `
|
|
2132
|
-
# locations/`location`/publishers/`publisher`/models/`model``
|
|
2138
|
+
# existing deployments of the Model and their resources. Exactly one of model,
|
|
2139
|
+
# unmanaged_container_model, or endpoint must be set. The model resource name
|
|
2140
|
+
# may contain version id or version alias to specify the version. Example: `
|
|
2141
|
+
# projects/`project`/locations/`location`/models/`model`@2` or `projects/`
|
|
2142
|
+
# project`/locations/`location`/models/`model`@golden` if no version is
|
|
2143
|
+
# specified, the default version will be deployed. The model resource could also
|
|
2144
|
+
# be a publisher model. Example: `publishers/`publisher`/models/`model`` or `
|
|
2145
|
+
# projects/`project`/locations/`location`/publishers/`publisher`/models/`model``
|
|
2133
2146
|
# Corresponds to the JSON property `model`
|
|
2134
2147
|
# @return [String]
|
|
2135
2148
|
attr_accessor :model
|
|
@@ -2953,8 +2966,8 @@ module Google
|
|
|
2953
2966
|
# @return [String]
|
|
2954
2967
|
attr_accessor :display_name
|
|
2955
2968
|
|
|
2956
|
-
# Represents a customer-managed encryption key
|
|
2957
|
-
#
|
|
2969
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
2970
|
+
# to a Vertex AI resource.
|
|
2958
2971
|
# Corresponds to the JSON property `encryptionSpec`
|
|
2959
2972
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
2960
2973
|
attr_accessor :encryption_spec
|
|
@@ -3463,6 +3476,40 @@ module Google
|
|
|
3463
3476
|
end
|
|
3464
3477
|
end
|
|
3465
3478
|
|
|
3479
|
+
# Container for bytes-encoded data such as video frame, audio sample, or a
|
|
3480
|
+
# complete binary/text data.
|
|
3481
|
+
class GoogleCloudAiplatformV1Chunk
|
|
3482
|
+
include Google::Apis::Core::Hashable
|
|
3483
|
+
|
|
3484
|
+
# Required. The data in the chunk.
|
|
3485
|
+
# Corresponds to the JSON property `data`
|
|
3486
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
3487
|
+
# @return [String]
|
|
3488
|
+
attr_accessor :data
|
|
3489
|
+
|
|
3490
|
+
# Metadata for a chunk.
|
|
3491
|
+
# Corresponds to the JSON property `metadata`
|
|
3492
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metadata]
|
|
3493
|
+
attr_accessor :metadata
|
|
3494
|
+
|
|
3495
|
+
# Required. Mime type of the chunk data. See https://www.iana.org/assignments/
|
|
3496
|
+
# media-types/media-types.xhtml for the full list.
|
|
3497
|
+
# Corresponds to the JSON property `mimeType`
|
|
3498
|
+
# @return [String]
|
|
3499
|
+
attr_accessor :mime_type
|
|
3500
|
+
|
|
3501
|
+
def initialize(**args)
|
|
3502
|
+
update!(**args)
|
|
3503
|
+
end
|
|
3504
|
+
|
|
3505
|
+
# Update properties of this object
|
|
3506
|
+
def update!(**args)
|
|
3507
|
+
@data = args[:data] if args.key?(:data)
|
|
3508
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
3509
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
3510
|
+
end
|
|
3511
|
+
end
|
|
3512
|
+
|
|
3466
3513
|
# A citation for a piece of generatedcontent.
|
|
3467
3514
|
class GoogleCloudAiplatformV1Citation
|
|
3468
3515
|
include Google::Apis::Core::Hashable
|
|
@@ -4234,8 +4281,8 @@ module Google
|
|
|
4234
4281
|
class GoogleCloudAiplatformV1CopyModelRequest
|
|
4235
4282
|
include Google::Apis::Core::Hashable
|
|
4236
4283
|
|
|
4237
|
-
# Represents a customer-managed encryption key
|
|
4238
|
-
#
|
|
4284
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
4285
|
+
# to a Vertex AI resource.
|
|
4239
4286
|
# Corresponds to the JSON property `encryptionSpec`
|
|
4240
4287
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
4241
4288
|
attr_accessor :encryption_spec
|
|
@@ -5175,8 +5222,8 @@ module Google
|
|
|
5175
5222
|
# @return [String]
|
|
5176
5223
|
attr_accessor :display_name
|
|
5177
5224
|
|
|
5178
|
-
# Represents a customer-managed encryption key
|
|
5179
|
-
#
|
|
5225
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
5226
|
+
# to a Vertex AI resource.
|
|
5180
5227
|
# Corresponds to the JSON property `encryptionSpec`
|
|
5181
5228
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
5182
5229
|
attr_accessor :encryption_spec
|
|
@@ -5623,8 +5670,8 @@ module Google
|
|
|
5623
5670
|
# @return [String]
|
|
5624
5671
|
attr_accessor :display_name
|
|
5625
5672
|
|
|
5626
|
-
# Represents a customer-managed encryption key
|
|
5627
|
-
#
|
|
5673
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
5674
|
+
# to a Vertex AI resource.
|
|
5628
5675
|
# Corresponds to the JSON property `encryptionSpec`
|
|
5629
5676
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
5630
5677
|
attr_accessor :encryption_spec
|
|
@@ -5755,8 +5802,8 @@ module Google
|
|
|
5755
5802
|
# @return [String]
|
|
5756
5803
|
attr_accessor :display_name
|
|
5757
5804
|
|
|
5758
|
-
# Represents a customer-managed encryption key
|
|
5759
|
-
#
|
|
5805
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
5806
|
+
# to a Vertex AI resource.
|
|
5760
5807
|
# Corresponds to the JSON property `encryptionSpec`
|
|
5761
5808
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
5762
5809
|
attr_accessor :encryption_spec
|
|
@@ -7287,8 +7334,8 @@ module Google
|
|
|
7287
7334
|
attr_accessor :disable_container_logging
|
|
7288
7335
|
alias_method :disable_container_logging?, :disable_container_logging
|
|
7289
7336
|
|
|
7290
|
-
# Represents a customer-managed encryption key
|
|
7291
|
-
#
|
|
7337
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
7338
|
+
# to a Vertex AI resource.
|
|
7292
7339
|
# Corresponds to the JSON property `encryptionSpec`
|
|
7293
7340
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
7294
7341
|
attr_accessor :encryption_spec
|
|
@@ -7686,15 +7733,15 @@ module Google
|
|
|
7686
7733
|
end
|
|
7687
7734
|
end
|
|
7688
7735
|
|
|
7689
|
-
# Represents a customer-managed encryption key
|
|
7690
|
-
#
|
|
7736
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
7737
|
+
# to a Vertex AI resource.
|
|
7691
7738
|
class GoogleCloudAiplatformV1EncryptionSpec
|
|
7692
7739
|
include Google::Apis::Core::Hashable
|
|
7693
7740
|
|
|
7694
|
-
# Required.
|
|
7695
|
-
# key
|
|
7696
|
-
#
|
|
7697
|
-
#
|
|
7741
|
+
# Required. Resource name of the Cloud KMS key used to protect the resource. The
|
|
7742
|
+
# Cloud KMS key must be in the same region as the resource. It must have the
|
|
7743
|
+
# format `projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/
|
|
7744
|
+
# `crypto_key``.
|
|
7698
7745
|
# Corresponds to the JSON property `kmsKeyName`
|
|
7699
7746
|
# @return [String]
|
|
7700
7747
|
attr_accessor :kms_key_name
|
|
@@ -7769,8 +7816,8 @@ module Google
|
|
|
7769
7816
|
attr_accessor :enable_private_service_connect
|
|
7770
7817
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
7771
7818
|
|
|
7772
|
-
# Represents a customer-managed encryption key
|
|
7773
|
-
#
|
|
7819
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
7820
|
+
# to a Vertex AI resource.
|
|
7774
7821
|
# Corresponds to the JSON property `encryptionSpec`
|
|
7775
7822
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
7776
7823
|
attr_accessor :encryption_spec
|
|
@@ -8149,6 +8196,12 @@ module Google
|
|
|
8149
8196
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationDataset]
|
|
8150
8197
|
attr_accessor :dataset
|
|
8151
8198
|
|
|
8199
|
+
# Required. The resource name of the Location to evaluate the dataset. Format: `
|
|
8200
|
+
# projects/`project`/locations/`location``
|
|
8201
|
+
# Corresponds to the JSON property `location`
|
|
8202
|
+
# @return [String]
|
|
8203
|
+
attr_accessor :location
|
|
8204
|
+
|
|
8152
8205
|
# Required. The metrics used for evaluation.
|
|
8153
8206
|
# Corresponds to the JSON property `metrics`
|
|
8154
8207
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric>]
|
|
@@ -8167,6 +8220,7 @@ module Google
|
|
|
8167
8220
|
def update!(**args)
|
|
8168
8221
|
@autorater_config = args[:autorater_config] if args.key?(:autorater_config)
|
|
8169
8222
|
@dataset = args[:dataset] if args.key?(:dataset)
|
|
8223
|
+
@location = args[:location] if args.key?(:location)
|
|
8170
8224
|
@metrics = args[:metrics] if args.key?(:metrics)
|
|
8171
8225
|
@output_config = args[:output_config] if args.key?(:output_config)
|
|
8172
8226
|
end
|
|
@@ -8224,6 +8278,12 @@ module Google
|
|
|
8224
8278
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstance]
|
|
8225
8279
|
attr_accessor :instance
|
|
8226
8280
|
|
|
8281
|
+
# Required. The resource name of the Location to evaluate the instances. Format:
|
|
8282
|
+
# `projects/`project`/locations/`location``
|
|
8283
|
+
# Corresponds to the JSON property `location`
|
|
8284
|
+
# @return [String]
|
|
8285
|
+
attr_accessor :location
|
|
8286
|
+
|
|
8227
8287
|
# The metrics used for evaluation. Currently, we only support evaluating a
|
|
8228
8288
|
# single metric. If multiple metrics are provided, only the first one will be
|
|
8229
8289
|
# evaluated.
|
|
@@ -8371,6 +8431,7 @@ module Google
|
|
|
8371
8431
|
@fulfillment_input = args[:fulfillment_input] if args.key?(:fulfillment_input)
|
|
8372
8432
|
@groundedness_input = args[:groundedness_input] if args.key?(:groundedness_input)
|
|
8373
8433
|
@instance = args[:instance] if args.key?(:instance)
|
|
8434
|
+
@location = args[:location] if args.key?(:location)
|
|
8374
8435
|
@metrics = args[:metrics] if args.key?(:metrics)
|
|
8375
8436
|
@metricx_input = args[:metricx_input] if args.key?(:metricx_input)
|
|
8376
8437
|
@pairwise_metric_input = args[:pairwise_metric_input] if args.key?(:pairwise_metric_input)
|
|
@@ -9909,6 +9970,130 @@ module Google
|
|
|
9909
9970
|
end
|
|
9910
9971
|
end
|
|
9911
9972
|
|
|
9973
|
+
# Actions are parts of events that are executed by the agent.
|
|
9974
|
+
class GoogleCloudAiplatformV1EventActions
|
|
9975
|
+
include Google::Apis::Core::Hashable
|
|
9976
|
+
|
|
9977
|
+
# Optional. Indicates that the event is updating an artifact. key is the
|
|
9978
|
+
# filename, value is the version.
|
|
9979
|
+
# Corresponds to the JSON property `artifactDelta`
|
|
9980
|
+
# @return [Hash<String,Fixnum>]
|
|
9981
|
+
attr_accessor :artifact_delta
|
|
9982
|
+
|
|
9983
|
+
# Optional. The agent is escalating to a higher level agent.
|
|
9984
|
+
# Corresponds to the JSON property `escalate`
|
|
9985
|
+
# @return [Boolean]
|
|
9986
|
+
attr_accessor :escalate
|
|
9987
|
+
alias_method :escalate?, :escalate
|
|
9988
|
+
|
|
9989
|
+
# Optional. Will only be set by a tool response indicating tool request euc.
|
|
9990
|
+
# Struct key is the function call id since one function call response (from
|
|
9991
|
+
# model) could correspond to multiple function calls. Struct value is the
|
|
9992
|
+
# required auth config, which can be another struct.
|
|
9993
|
+
# Corresponds to the JSON property `requestedAuthConfigs`
|
|
9994
|
+
# @return [Hash<String,Object>]
|
|
9995
|
+
attr_accessor :requested_auth_configs
|
|
9996
|
+
|
|
9997
|
+
# Optional. If true, it won't call model to summarize function response. Only
|
|
9998
|
+
# used for function_response event.
|
|
9999
|
+
# Corresponds to the JSON property `skipSummarization`
|
|
10000
|
+
# @return [Boolean]
|
|
10001
|
+
attr_accessor :skip_summarization
|
|
10002
|
+
alias_method :skip_summarization?, :skip_summarization
|
|
10003
|
+
|
|
10004
|
+
# Optional. Indicates that the event is updating the state with the given delta.
|
|
10005
|
+
# Corresponds to the JSON property `stateDelta`
|
|
10006
|
+
# @return [Hash<String,Object>]
|
|
10007
|
+
attr_accessor :state_delta
|
|
10008
|
+
|
|
10009
|
+
# Optional. If set, the event transfers to the specified agent.
|
|
10010
|
+
# Corresponds to the JSON property `transferAgent`
|
|
10011
|
+
# @return [String]
|
|
10012
|
+
attr_accessor :transfer_agent
|
|
10013
|
+
|
|
10014
|
+
def initialize(**args)
|
|
10015
|
+
update!(**args)
|
|
10016
|
+
end
|
|
10017
|
+
|
|
10018
|
+
# Update properties of this object
|
|
10019
|
+
def update!(**args)
|
|
10020
|
+
@artifact_delta = args[:artifact_delta] if args.key?(:artifact_delta)
|
|
10021
|
+
@escalate = args[:escalate] if args.key?(:escalate)
|
|
10022
|
+
@requested_auth_configs = args[:requested_auth_configs] if args.key?(:requested_auth_configs)
|
|
10023
|
+
@skip_summarization = args[:skip_summarization] if args.key?(:skip_summarization)
|
|
10024
|
+
@state_delta = args[:state_delta] if args.key?(:state_delta)
|
|
10025
|
+
@transfer_agent = args[:transfer_agent] if args.key?(:transfer_agent)
|
|
10026
|
+
end
|
|
10027
|
+
end
|
|
10028
|
+
|
|
10029
|
+
# Metadata relating to a LLM response event.
|
|
10030
|
+
class GoogleCloudAiplatformV1EventMetadata
|
|
10031
|
+
include Google::Apis::Core::Hashable
|
|
10032
|
+
|
|
10033
|
+
# Optional. The branch of the event. The format is like agent_1.agent_2.agent_3,
|
|
10034
|
+
# where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3.
|
|
10035
|
+
# Branch is used when multiple child agents shouldn't see their siblings'
|
|
10036
|
+
# conversation history.
|
|
10037
|
+
# Corresponds to the JSON property `branch`
|
|
10038
|
+
# @return [String]
|
|
10039
|
+
attr_accessor :branch
|
|
10040
|
+
|
|
10041
|
+
# The custom metadata of the LlmResponse.
|
|
10042
|
+
# Corresponds to the JSON property `customMetadata`
|
|
10043
|
+
# @return [Hash<String,Object>]
|
|
10044
|
+
attr_accessor :custom_metadata
|
|
10045
|
+
|
|
10046
|
+
# Information about the sources that support the content of a response. When
|
|
10047
|
+
# grounding is enabled, the model returns citations for claims in the response.
|
|
10048
|
+
# This object contains the retrieved sources.
|
|
10049
|
+
# Corresponds to the JSON property `groundingMetadata`
|
|
10050
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata]
|
|
10051
|
+
attr_accessor :grounding_metadata
|
|
10052
|
+
|
|
10053
|
+
# Optional. Flag indicating that LLM was interrupted when generating the content.
|
|
10054
|
+
# Usually it's due to user interruption during a bidi streaming.
|
|
10055
|
+
# Corresponds to the JSON property `interrupted`
|
|
10056
|
+
# @return [Boolean]
|
|
10057
|
+
attr_accessor :interrupted
|
|
10058
|
+
alias_method :interrupted?, :interrupted
|
|
10059
|
+
|
|
10060
|
+
# Optional. Set of ids of the long running function calls. Agent client will
|
|
10061
|
+
# know from this field about which function call is long running. Only valid for
|
|
10062
|
+
# function call event.
|
|
10063
|
+
# Corresponds to the JSON property `longRunningToolIds`
|
|
10064
|
+
# @return [Array<String>]
|
|
10065
|
+
attr_accessor :long_running_tool_ids
|
|
10066
|
+
|
|
10067
|
+
# Optional. Indicates whether the text content is part of a unfinished text
|
|
10068
|
+
# stream. Only used for streaming mode and when the content is plain text.
|
|
10069
|
+
# Corresponds to the JSON property `partial`
|
|
10070
|
+
# @return [Boolean]
|
|
10071
|
+
attr_accessor :partial
|
|
10072
|
+
alias_method :partial?, :partial
|
|
10073
|
+
|
|
10074
|
+
# Optional. Indicates whether the response from the model is complete. Only used
|
|
10075
|
+
# for streaming mode.
|
|
10076
|
+
# Corresponds to the JSON property `turnComplete`
|
|
10077
|
+
# @return [Boolean]
|
|
10078
|
+
attr_accessor :turn_complete
|
|
10079
|
+
alias_method :turn_complete?, :turn_complete
|
|
10080
|
+
|
|
10081
|
+
def initialize(**args)
|
|
10082
|
+
update!(**args)
|
|
10083
|
+
end
|
|
10084
|
+
|
|
10085
|
+
# Update properties of this object
|
|
10086
|
+
def update!(**args)
|
|
10087
|
+
@branch = args[:branch] if args.key?(:branch)
|
|
10088
|
+
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
|
10089
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
|
10090
|
+
@interrupted = args[:interrupted] if args.key?(:interrupted)
|
|
10091
|
+
@long_running_tool_ids = args[:long_running_tool_ids] if args.key?(:long_running_tool_ids)
|
|
10092
|
+
@partial = args[:partial] if args.key?(:partial)
|
|
10093
|
+
@turn_complete = args[:turn_complete] if args.key?(:turn_complete)
|
|
10094
|
+
end
|
|
10095
|
+
end
|
|
10096
|
+
|
|
9912
10097
|
# Input for exact match metric.
|
|
9913
10098
|
class GoogleCloudAiplatformV1ExactMatchInput
|
|
9914
10099
|
include Google::Apis::Core::Hashable
|
|
@@ -10182,6 +10367,82 @@ module Google
|
|
|
10182
10367
|
end
|
|
10183
10368
|
end
|
|
10184
10369
|
|
|
10370
|
+
# Request message for SandboxEnvironmentExecutionService.ExecuteCode.
|
|
10371
|
+
class GoogleCloudAiplatformV1ExecuteCodeRequest
|
|
10372
|
+
include Google::Apis::Core::Hashable
|
|
10373
|
+
|
|
10374
|
+
# Required. The inputs used for the stateless code execution.
|
|
10375
|
+
# Corresponds to the JSON property `inputs`
|
|
10376
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Chunk>]
|
|
10377
|
+
attr_accessor :inputs
|
|
10378
|
+
|
|
10379
|
+
def initialize(**args)
|
|
10380
|
+
update!(**args)
|
|
10381
|
+
end
|
|
10382
|
+
|
|
10383
|
+
# Update properties of this object
|
|
10384
|
+
def update!(**args)
|
|
10385
|
+
@inputs = args[:inputs] if args.key?(:inputs)
|
|
10386
|
+
end
|
|
10387
|
+
end
|
|
10388
|
+
|
|
10389
|
+
# Response message for SandboxEnvironmentExecutionService.ExecuteCode.
|
|
10390
|
+
class GoogleCloudAiplatformV1ExecuteCodeResponse
|
|
10391
|
+
include Google::Apis::Core::Hashable
|
|
10392
|
+
|
|
10393
|
+
# The outputs from the sandbox environment.
|
|
10394
|
+
# Corresponds to the JSON property `outputs`
|
|
10395
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Chunk>]
|
|
10396
|
+
attr_accessor :outputs
|
|
10397
|
+
|
|
10398
|
+
def initialize(**args)
|
|
10399
|
+
update!(**args)
|
|
10400
|
+
end
|
|
10401
|
+
|
|
10402
|
+
# Update properties of this object
|
|
10403
|
+
def update!(**args)
|
|
10404
|
+
@outputs = args[:outputs] if args.key?(:outputs)
|
|
10405
|
+
end
|
|
10406
|
+
end
|
|
10407
|
+
|
|
10408
|
+
# Request message for SandboxEnvironmentExecutionService.Execute.
|
|
10409
|
+
class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest
|
|
10410
|
+
include Google::Apis::Core::Hashable
|
|
10411
|
+
|
|
10412
|
+
# Required. The inputs to the sandbox environment.
|
|
10413
|
+
# Corresponds to the JSON property `inputs`
|
|
10414
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Chunk>]
|
|
10415
|
+
attr_accessor :inputs
|
|
10416
|
+
|
|
10417
|
+
def initialize(**args)
|
|
10418
|
+
update!(**args)
|
|
10419
|
+
end
|
|
10420
|
+
|
|
10421
|
+
# Update properties of this object
|
|
10422
|
+
def update!(**args)
|
|
10423
|
+
@inputs = args[:inputs] if args.key?(:inputs)
|
|
10424
|
+
end
|
|
10425
|
+
end
|
|
10426
|
+
|
|
10427
|
+
# Response message for SandboxEnvironmentExecutionService.Execute.
|
|
10428
|
+
class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse
|
|
10429
|
+
include Google::Apis::Core::Hashable
|
|
10430
|
+
|
|
10431
|
+
# The outputs from the sandbox environment.
|
|
10432
|
+
# Corresponds to the JSON property `outputs`
|
|
10433
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Chunk>]
|
|
10434
|
+
attr_accessor :outputs
|
|
10435
|
+
|
|
10436
|
+
def initialize(**args)
|
|
10437
|
+
update!(**args)
|
|
10438
|
+
end
|
|
10439
|
+
|
|
10440
|
+
# Update properties of this object
|
|
10441
|
+
def update!(**args)
|
|
10442
|
+
@outputs = args[:outputs] if args.key?(:outputs)
|
|
10443
|
+
end
|
|
10444
|
+
end
|
|
10445
|
+
|
|
10185
10446
|
# Instance of a general execution.
|
|
10186
10447
|
class GoogleCloudAiplatformV1Execution
|
|
10187
10448
|
include Google::Apis::Core::Hashable
|
|
@@ -12006,8 +12267,8 @@ module Google
|
|
|
12006
12267
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint]
|
|
12007
12268
|
attr_accessor :dedicated_serving_endpoint
|
|
12008
12269
|
|
|
12009
|
-
# Represents a customer-managed encryption key
|
|
12010
|
-
#
|
|
12270
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
12271
|
+
# to a Vertex AI resource.
|
|
12011
12272
|
# Corresponds to the JSON property `encryptionSpec`
|
|
12012
12273
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
12013
12274
|
attr_accessor :encryption_spec
|
|
@@ -12105,6 +12366,13 @@ module Google
|
|
|
12105
12366
|
attr_accessor :enable_direct_bigtable_access
|
|
12106
12367
|
alias_method :enable_direct_bigtable_access?, :enable_direct_bigtable_access
|
|
12107
12368
|
|
|
12369
|
+
# Optional. The zone where the underlying Bigtable cluster for the primary
|
|
12370
|
+
# Bigtable instance will be provisioned. Only the zone must be provided. For
|
|
12371
|
+
# example, only "us-central1-a" should be provided.
|
|
12372
|
+
# Corresponds to the JSON property `zone`
|
|
12373
|
+
# @return [String]
|
|
12374
|
+
attr_accessor :zone
|
|
12375
|
+
|
|
12108
12376
|
def initialize(**args)
|
|
12109
12377
|
update!(**args)
|
|
12110
12378
|
end
|
|
@@ -12114,6 +12382,7 @@ module Google
|
|
|
12114
12382
|
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
|
12115
12383
|
@bigtable_metadata = args[:bigtable_metadata] if args.key?(:bigtable_metadata)
|
|
12116
12384
|
@enable_direct_bigtable_access = args[:enable_direct_bigtable_access] if args.key?(:enable_direct_bigtable_access)
|
|
12385
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
12117
12386
|
end
|
|
12118
12387
|
end
|
|
12119
12388
|
|
|
@@ -13181,8 +13450,8 @@ module Google
|
|
|
13181
13450
|
# @return [String]
|
|
13182
13451
|
attr_accessor :create_time
|
|
13183
13452
|
|
|
13184
|
-
# Represents a customer-managed encryption key
|
|
13185
|
-
#
|
|
13453
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
13454
|
+
# to a Vertex AI resource.
|
|
13186
13455
|
# Corresponds to the JSON property `encryptionSpec`
|
|
13187
13456
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
13188
13457
|
attr_accessor :encryption_spec
|
|
@@ -14235,9 +14504,8 @@ module Google
|
|
|
14235
14504
|
# @return [String]
|
|
14236
14505
|
attr_accessor :name
|
|
14237
14506
|
|
|
14238
|
-
#
|
|
14239
|
-
#
|
|
14240
|
-
# schema-object). More fields may be added in the future as needed.
|
|
14507
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
14508
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
14241
14509
|
# Corresponds to the JSON property `parameters`
|
|
14242
14510
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
|
14243
14511
|
attr_accessor :parameters
|
|
@@ -14252,9 +14520,8 @@ module Google
|
|
|
14252
14520
|
# @return [Object]
|
|
14253
14521
|
attr_accessor :parameters_json_schema
|
|
14254
14522
|
|
|
14255
|
-
#
|
|
14256
|
-
#
|
|
14257
|
-
# schema-object). More fields may be added in the future as needed.
|
|
14523
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
14524
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
14258
14525
|
# Corresponds to the JSON property `response`
|
|
14259
14526
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
|
14260
14527
|
attr_accessor :response
|
|
@@ -14897,6 +15164,12 @@ module Google
|
|
|
14897
15164
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
|
|
14898
15165
|
attr_accessor :contents
|
|
14899
15166
|
|
|
15167
|
+
# Required. The resource name of the Location to generate rubrics from. Format: `
|
|
15168
|
+
# projects/`project`/locations/`location``
|
|
15169
|
+
# Corresponds to the JSON property `location`
|
|
15170
|
+
# @return [String]
|
|
15171
|
+
attr_accessor :location
|
|
15172
|
+
|
|
14900
15173
|
# The spec for a pre-defined metric.
|
|
14901
15174
|
# Corresponds to the JSON property `predefinedRubricGenerationSpec`
|
|
14902
15175
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec]
|
|
@@ -14915,6 +15188,7 @@ module Google
|
|
|
14915
15188
|
def update!(**args)
|
|
14916
15189
|
@agent_config = args[:agent_config] if args.key?(:agent_config)
|
|
14917
15190
|
@contents = args[:contents] if args.key?(:contents)
|
|
15191
|
+
@location = args[:location] if args.key?(:location)
|
|
14918
15192
|
@predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
|
|
14919
15193
|
@rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
|
|
14920
15194
|
end
|
|
@@ -14939,6 +15213,224 @@ module Google
|
|
|
14939
15213
|
end
|
|
14940
15214
|
end
|
|
14941
15215
|
|
|
15216
|
+
# Request message for MemoryBankService.GenerateMemories. Maximum size is 8 MB.
|
|
15217
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequest
|
|
15218
|
+
include Google::Apis::Core::Hashable
|
|
15219
|
+
|
|
15220
|
+
# Defines a direct source of content from which to generate the memories.
|
|
15221
|
+
# Corresponds to the JSON property `directContentsSource`
|
|
15222
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource]
|
|
15223
|
+
attr_accessor :direct_contents_source
|
|
15224
|
+
|
|
15225
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
|
15226
|
+
# with consolidation.
|
|
15227
|
+
# Corresponds to the JSON property `directMemoriesSource`
|
|
15228
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource]
|
|
15229
|
+
attr_accessor :direct_memories_source
|
|
15230
|
+
|
|
15231
|
+
# Optional. If true, generated memories will not be consolidated with existing
|
|
15232
|
+
# memories; all generated memories will be added as new memories regardless of
|
|
15233
|
+
# whether they are duplicates of or contradictory to existing memories. By
|
|
15234
|
+
# default, memory consolidation is enabled.
|
|
15235
|
+
# Corresponds to the JSON property `disableConsolidation`
|
|
15236
|
+
# @return [Boolean]
|
|
15237
|
+
attr_accessor :disable_consolidation
|
|
15238
|
+
alias_method :disable_consolidation?, :disable_consolidation
|
|
15239
|
+
|
|
15240
|
+
# Optional. If true, no revisions will be created for this request.
|
|
15241
|
+
# Corresponds to the JSON property `disableMemoryRevisions`
|
|
15242
|
+
# @return [Boolean]
|
|
15243
|
+
attr_accessor :disable_memory_revisions
|
|
15244
|
+
alias_method :disable_memory_revisions?, :disable_memory_revisions
|
|
15245
|
+
|
|
15246
|
+
# Optional. User-provided metadata for the generated memories. This is not
|
|
15247
|
+
# generated by Memory Bank.
|
|
15248
|
+
# Corresponds to the JSON property `metadata`
|
|
15249
|
+
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryMetadataValue>]
|
|
15250
|
+
attr_accessor :metadata
|
|
15251
|
+
|
|
15252
|
+
# Optional. The strategy to use when applying metadata to existing memories.
|
|
15253
|
+
# Corresponds to the JSON property `metadataMergeStrategy`
|
|
15254
|
+
# @return [String]
|
|
15255
|
+
attr_accessor :metadata_merge_strategy
|
|
15256
|
+
|
|
15257
|
+
# Optional. Timestamp of when the revision is considered expired. If not set,
|
|
15258
|
+
# the memory revision will be kept until manually deleted.
|
|
15259
|
+
# Corresponds to the JSON property `revisionExpireTime`
|
|
15260
|
+
# @return [String]
|
|
15261
|
+
attr_accessor :revision_expire_time
|
|
15262
|
+
|
|
15263
|
+
# Optional. Labels to be applied to the generated memory revisions. For example,
|
|
15264
|
+
# you can use this to label a revision with its data source.
|
|
15265
|
+
# Corresponds to the JSON property `revisionLabels`
|
|
15266
|
+
# @return [Hash<String,String>]
|
|
15267
|
+
attr_accessor :revision_labels
|
|
15268
|
+
|
|
15269
|
+
# Optional. The TTL for the revision. The expiration time is computed: now + TTL.
|
|
15270
|
+
# Corresponds to the JSON property `revisionTtl`
|
|
15271
|
+
# @return [String]
|
|
15272
|
+
attr_accessor :revision_ttl
|
|
15273
|
+
|
|
15274
|
+
# Optional. The scope of the memories that should be generated. Memories will be
|
|
15275
|
+
# consolidated across memories with the same scope. Must be provided unless the
|
|
15276
|
+
# scope is defined in the source content. If `scope` is provided, it will
|
|
15277
|
+
# override the scope defined in the source content. Scope values cannot contain
|
|
15278
|
+
# the wildcard character '*'.
|
|
15279
|
+
# Corresponds to the JSON property `scope`
|
|
15280
|
+
# @return [Hash<String,String>]
|
|
15281
|
+
attr_accessor :scope
|
|
15282
|
+
|
|
15283
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
|
15284
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
|
15285
|
+
# : sesison.user_id`).
|
|
15286
|
+
# Corresponds to the JSON property `vertexSessionSource`
|
|
15287
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource]
|
|
15288
|
+
attr_accessor :vertex_session_source
|
|
15289
|
+
|
|
15290
|
+
def initialize(**args)
|
|
15291
|
+
update!(**args)
|
|
15292
|
+
end
|
|
15293
|
+
|
|
15294
|
+
# Update properties of this object
|
|
15295
|
+
def update!(**args)
|
|
15296
|
+
@direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
|
|
15297
|
+
@direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
|
|
15298
|
+
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
|
15299
|
+
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
15300
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
15301
|
+
@metadata_merge_strategy = args[:metadata_merge_strategy] if args.key?(:metadata_merge_strategy)
|
|
15302
|
+
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
15303
|
+
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
15304
|
+
@revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
|
|
15305
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
15306
|
+
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
|
15307
|
+
end
|
|
15308
|
+
end
|
|
15309
|
+
|
|
15310
|
+
# Defines a direct source of content from which to generate the memories.
|
|
15311
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource
|
|
15312
|
+
include Google::Apis::Core::Hashable
|
|
15313
|
+
|
|
15314
|
+
# Required. The source content (i.e. chat history) to generate memories from.
|
|
15315
|
+
# Corresponds to the JSON property `events`
|
|
15316
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent>]
|
|
15317
|
+
attr_accessor :events
|
|
15318
|
+
|
|
15319
|
+
def initialize(**args)
|
|
15320
|
+
update!(**args)
|
|
15321
|
+
end
|
|
15322
|
+
|
|
15323
|
+
# Update properties of this object
|
|
15324
|
+
def update!(**args)
|
|
15325
|
+
@events = args[:events] if args.key?(:events)
|
|
15326
|
+
end
|
|
15327
|
+
end
|
|
15328
|
+
|
|
15329
|
+
# A single piece of conversation from which to generate memories.
|
|
15330
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent
|
|
15331
|
+
include Google::Apis::Core::Hashable
|
|
15332
|
+
|
|
15333
|
+
# The structured data content of a message. A Content message contains a `role`
|
|
15334
|
+
# field, which indicates the producer of the content, and a `parts` field, which
|
|
15335
|
+
# contains the multi-part data of the message.
|
|
15336
|
+
# Corresponds to the JSON property `content`
|
|
15337
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
|
|
15338
|
+
attr_accessor :content
|
|
15339
|
+
|
|
15340
|
+
def initialize(**args)
|
|
15341
|
+
update!(**args)
|
|
15342
|
+
end
|
|
15343
|
+
|
|
15344
|
+
# Update properties of this object
|
|
15345
|
+
def update!(**args)
|
|
15346
|
+
@content = args[:content] if args.key?(:content)
|
|
15347
|
+
end
|
|
15348
|
+
end
|
|
15349
|
+
|
|
15350
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
|
15351
|
+
# with consolidation.
|
|
15352
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource
|
|
15353
|
+
include Google::Apis::Core::Hashable
|
|
15354
|
+
|
|
15355
|
+
# Required. The direct memories to upload to Memory Bank. At most 5 direct
|
|
15356
|
+
# memories are allowed per request.
|
|
15357
|
+
# Corresponds to the JSON property `directMemories`
|
|
15358
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory>]
|
|
15359
|
+
attr_accessor :direct_memories
|
|
15360
|
+
|
|
15361
|
+
def initialize(**args)
|
|
15362
|
+
update!(**args)
|
|
15363
|
+
end
|
|
15364
|
+
|
|
15365
|
+
# Update properties of this object
|
|
15366
|
+
def update!(**args)
|
|
15367
|
+
@direct_memories = args[:direct_memories] if args.key?(:direct_memories)
|
|
15368
|
+
end
|
|
15369
|
+
end
|
|
15370
|
+
|
|
15371
|
+
# A direct memory to upload to Memory Bank.
|
|
15372
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
|
|
15373
|
+
include Google::Apis::Core::Hashable
|
|
15374
|
+
|
|
15375
|
+
# Required. The fact to consolidate with existing memories.
|
|
15376
|
+
# Corresponds to the JSON property `fact`
|
|
15377
|
+
# @return [String]
|
|
15378
|
+
attr_accessor :fact
|
|
15379
|
+
|
|
15380
|
+
# Optional. The topics that the consolidated memories should be associated with.
|
|
15381
|
+
# Corresponds to the JSON property `topics`
|
|
15382
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>]
|
|
15383
|
+
attr_accessor :topics
|
|
15384
|
+
|
|
15385
|
+
def initialize(**args)
|
|
15386
|
+
update!(**args)
|
|
15387
|
+
end
|
|
15388
|
+
|
|
15389
|
+
# Update properties of this object
|
|
15390
|
+
def update!(**args)
|
|
15391
|
+
@fact = args[:fact] if args.key?(:fact)
|
|
15392
|
+
@topics = args[:topics] if args.key?(:topics)
|
|
15393
|
+
end
|
|
15394
|
+
end
|
|
15395
|
+
|
|
15396
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
|
15397
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
|
15398
|
+
# : sesison.user_id`).
|
|
15399
|
+
class GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource
|
|
15400
|
+
include Google::Apis::Core::Hashable
|
|
15401
|
+
|
|
15402
|
+
# Optional. End time (exclusive) of the time range. If not set, the end time is
|
|
15403
|
+
# unbounded.
|
|
15404
|
+
# Corresponds to the JSON property `endTime`
|
|
15405
|
+
# @return [String]
|
|
15406
|
+
attr_accessor :end_time
|
|
15407
|
+
|
|
15408
|
+
# Required. The resource name of the Session to generate memories for. Format: `
|
|
15409
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
|
15410
|
+
# sessions/`session``
|
|
15411
|
+
# Corresponds to the JSON property `session`
|
|
15412
|
+
# @return [String]
|
|
15413
|
+
attr_accessor :session
|
|
15414
|
+
|
|
15415
|
+
# Optional. Time range to define which session events should be used to generate
|
|
15416
|
+
# memories. Start time (inclusive) of the time range. If not set, the start time
|
|
15417
|
+
# is unbounded.
|
|
15418
|
+
# Corresponds to the JSON property `startTime`
|
|
15419
|
+
# @return [String]
|
|
15420
|
+
attr_accessor :start_time
|
|
15421
|
+
|
|
15422
|
+
def initialize(**args)
|
|
15423
|
+
update!(**args)
|
|
15424
|
+
end
|
|
15425
|
+
|
|
15426
|
+
# Update properties of this object
|
|
15427
|
+
def update!(**args)
|
|
15428
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
15429
|
+
@session = args[:session] if args.key?(:session)
|
|
15430
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
15431
|
+
end
|
|
15432
|
+
end
|
|
15433
|
+
|
|
14942
15434
|
# Request message for DataFoundryService.GenerateSyntheticData.
|
|
14943
15435
|
class GoogleCloudAiplatformV1GenerateSyntheticDataRequest
|
|
14944
15436
|
include Google::Apis::Core::Hashable
|
|
@@ -15174,9 +15666,8 @@ module Google
|
|
|
15174
15666
|
# @return [Array<String>]
|
|
15175
15667
|
attr_accessor :response_modalities
|
|
15176
15668
|
|
|
15177
|
-
#
|
|
15178
|
-
#
|
|
15179
|
-
# schema-object). More fields may be added in the future as needed.
|
|
15669
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
15670
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
15180
15671
|
# Corresponds to the JSON property `responseSchema`
|
|
15181
15672
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
|
15182
15673
|
attr_accessor :response_schema
|
|
@@ -16003,8 +16494,8 @@ module Google
|
|
|
16003
16494
|
# @return [String]
|
|
16004
16495
|
attr_accessor :display_name
|
|
16005
16496
|
|
|
16006
|
-
# Represents a customer-managed encryption key
|
|
16007
|
-
#
|
|
16497
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
16498
|
+
# to a Vertex AI resource.
|
|
16008
16499
|
# Corresponds to the JSON property `encryptionSpec`
|
|
16009
16500
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
16010
16501
|
attr_accessor :encryption_spec
|
|
@@ -16701,8 +17192,8 @@ module Google
|
|
|
16701
17192
|
# @return [String]
|
|
16702
17193
|
attr_accessor :display_name
|
|
16703
17194
|
|
|
16704
|
-
# Represents a customer-managed encryption key
|
|
16705
|
-
#
|
|
17195
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
17196
|
+
# to a Vertex AI resource.
|
|
16706
17197
|
# Corresponds to the JSON property `encryptionSpec`
|
|
16707
17198
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
16708
17199
|
attr_accessor :encryption_spec
|
|
@@ -17027,8 +17518,8 @@ module Google
|
|
|
17027
17518
|
attr_accessor :enable_private_service_connect
|
|
17028
17519
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
17029
17520
|
|
|
17030
|
-
# Represents a customer-managed encryption key
|
|
17031
|
-
#
|
|
17521
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
17522
|
+
# to a Vertex AI resource.
|
|
17032
17523
|
# Corresponds to the JSON property `encryptionSpec`
|
|
17033
17524
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
17034
17525
|
attr_accessor :encryption_spec
|
|
@@ -17395,6 +17886,25 @@ module Google
|
|
|
17395
17886
|
end
|
|
17396
17887
|
end
|
|
17397
17888
|
|
|
17889
|
+
# An extracted memory that is the intermediate result before consolidation.
|
|
17890
|
+
class GoogleCloudAiplatformV1IntermediateExtractedMemory
|
|
17891
|
+
include Google::Apis::Core::Hashable
|
|
17892
|
+
|
|
17893
|
+
# Output only. The fact of the extracted memory.
|
|
17894
|
+
# Corresponds to the JSON property `fact`
|
|
17895
|
+
# @return [String]
|
|
17896
|
+
attr_accessor :fact
|
|
17897
|
+
|
|
17898
|
+
def initialize(**args)
|
|
17899
|
+
update!(**args)
|
|
17900
|
+
end
|
|
17901
|
+
|
|
17902
|
+
# Update properties of this object
|
|
17903
|
+
def update!(**args)
|
|
17904
|
+
@fact = args[:fact] if args.key?(:fact)
|
|
17905
|
+
end
|
|
17906
|
+
end
|
|
17907
|
+
|
|
17398
17908
|
# Request message for PredictionService.Invoke.
|
|
17399
17909
|
class GoogleCloudAiplatformV1InvokeRequest
|
|
17400
17910
|
include Google::Apis::Core::Hashable
|
|
@@ -18017,6 +18527,32 @@ module Google
|
|
|
18017
18527
|
end
|
|
18018
18528
|
end
|
|
18019
18529
|
|
|
18530
|
+
# Response message for SessionService.ListEvents.
|
|
18531
|
+
class GoogleCloudAiplatformV1ListEventsResponse
|
|
18532
|
+
include Google::Apis::Core::Hashable
|
|
18533
|
+
|
|
18534
|
+
# A token, which can be sent as ListEventsRequest.page_token to retrieve the
|
|
18535
|
+
# next page. Absence of this field indicates there are no subsequent pages.
|
|
18536
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
18537
|
+
# @return [String]
|
|
18538
|
+
attr_accessor :next_page_token
|
|
18539
|
+
|
|
18540
|
+
# A list of events matching the request. Ordered by timestamp in ascending order.
|
|
18541
|
+
# Corresponds to the JSON property `sessionEvents`
|
|
18542
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SessionEvent>]
|
|
18543
|
+
attr_accessor :session_events
|
|
18544
|
+
|
|
18545
|
+
def initialize(**args)
|
|
18546
|
+
update!(**args)
|
|
18547
|
+
end
|
|
18548
|
+
|
|
18549
|
+
# Update properties of this object
|
|
18550
|
+
def update!(**args)
|
|
18551
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
18552
|
+
@session_events = args[:session_events] if args.key?(:session_events)
|
|
18553
|
+
end
|
|
18554
|
+
end
|
|
18555
|
+
|
|
18020
18556
|
# Response message for MetadataService.ListExecutions.
|
|
18021
18557
|
class GoogleCloudAiplatformV1ListExecutionsResponse
|
|
18022
18558
|
include Google::Apis::Core::Hashable
|
|
@@ -18281,6 +18817,58 @@ module Google
|
|
|
18281
18817
|
end
|
|
18282
18818
|
end
|
|
18283
18819
|
|
|
18820
|
+
# Response message for MemoryBankService.ListMemories.
|
|
18821
|
+
class GoogleCloudAiplatformV1ListMemoriesResponse
|
|
18822
|
+
include Google::Apis::Core::Hashable
|
|
18823
|
+
|
|
18824
|
+
# List of Memories in the requested page.
|
|
18825
|
+
# Corresponds to the JSON property `memories`
|
|
18826
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory>]
|
|
18827
|
+
attr_accessor :memories
|
|
18828
|
+
|
|
18829
|
+
# A token to retrieve the next page of results. Pass to ListMemoriesRequest.
|
|
18830
|
+
# page_token to obtain that page.
|
|
18831
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
18832
|
+
# @return [String]
|
|
18833
|
+
attr_accessor :next_page_token
|
|
18834
|
+
|
|
18835
|
+
def initialize(**args)
|
|
18836
|
+
update!(**args)
|
|
18837
|
+
end
|
|
18838
|
+
|
|
18839
|
+
# Update properties of this object
|
|
18840
|
+
def update!(**args)
|
|
18841
|
+
@memories = args[:memories] if args.key?(:memories)
|
|
18842
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
18843
|
+
end
|
|
18844
|
+
end
|
|
18845
|
+
|
|
18846
|
+
# Response message for MemoryBankService.ListMemoryRevisions.
|
|
18847
|
+
class GoogleCloudAiplatformV1ListMemoryRevisionsResponse
|
|
18848
|
+
include Google::Apis::Core::Hashable
|
|
18849
|
+
|
|
18850
|
+
# The list of Memory Revisions in the request page.
|
|
18851
|
+
# Corresponds to the JSON property `memoryRevisions`
|
|
18852
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryRevision>]
|
|
18853
|
+
attr_accessor :memory_revisions
|
|
18854
|
+
|
|
18855
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
18856
|
+
# field is omitted, there are no subsequent pages.
|
|
18857
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
18858
|
+
# @return [String]
|
|
18859
|
+
attr_accessor :next_page_token
|
|
18860
|
+
|
|
18861
|
+
def initialize(**args)
|
|
18862
|
+
update!(**args)
|
|
18863
|
+
end
|
|
18864
|
+
|
|
18865
|
+
# Update properties of this object
|
|
18866
|
+
def update!(**args)
|
|
18867
|
+
@memory_revisions = args[:memory_revisions] if args.key?(:memory_revisions)
|
|
18868
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
18869
|
+
end
|
|
18870
|
+
end
|
|
18871
|
+
|
|
18284
18872
|
# Response message for MetadataService.ListMetadataSchemas.
|
|
18285
18873
|
class GoogleCloudAiplatformV1ListMetadataSchemasResponse
|
|
18286
18874
|
include Google::Apis::Core::Hashable
|
|
@@ -18786,6 +19374,33 @@ module Google
|
|
|
18786
19374
|
end
|
|
18787
19375
|
end
|
|
18788
19376
|
|
|
19377
|
+
# Response message for SandboxEnvironmentService.ListSandboxEnvironments.
|
|
19378
|
+
class GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse
|
|
19379
|
+
include Google::Apis::Core::Hashable
|
|
19380
|
+
|
|
19381
|
+
# A token, which can be sent as ListSandboxEnvironmentsRequest.page_token to
|
|
19382
|
+
# retrieve the next page. Absence of this field indicates there are no
|
|
19383
|
+
# subsequent pages.
|
|
19384
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
19385
|
+
# @return [String]
|
|
19386
|
+
attr_accessor :next_page_token
|
|
19387
|
+
|
|
19388
|
+
# The SandboxEnvironments matching the request.
|
|
19389
|
+
# Corresponds to the JSON property `sandboxEnvironments`
|
|
19390
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironment>]
|
|
19391
|
+
attr_accessor :sandbox_environments
|
|
19392
|
+
|
|
19393
|
+
def initialize(**args)
|
|
19394
|
+
update!(**args)
|
|
19395
|
+
end
|
|
19396
|
+
|
|
19397
|
+
# Update properties of this object
|
|
19398
|
+
def update!(**args)
|
|
19399
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
19400
|
+
@sandbox_environments = args[:sandbox_environments] if args.key?(:sandbox_environments)
|
|
19401
|
+
end
|
|
19402
|
+
end
|
|
19403
|
+
|
|
18789
19404
|
# Response message for DatasetService.ListSavedQueries.
|
|
18790
19405
|
class GoogleCloudAiplatformV1ListSavedQueriesResponse
|
|
18791
19406
|
include Google::Apis::Core::Hashable
|
|
@@ -18837,6 +19452,32 @@ module Google
|
|
|
18837
19452
|
end
|
|
18838
19453
|
end
|
|
18839
19454
|
|
|
19455
|
+
# Response message for SessionService.ListSessions.
|
|
19456
|
+
class GoogleCloudAiplatformV1ListSessionsResponse
|
|
19457
|
+
include Google::Apis::Core::Hashable
|
|
19458
|
+
|
|
19459
|
+
# A token, which can be sent as ListSessionsRequest.page_token to retrieve the
|
|
19460
|
+
# next page. Absence of this field indicates there are no subsequent pages.
|
|
19461
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
19462
|
+
# @return [String]
|
|
19463
|
+
attr_accessor :next_page_token
|
|
19464
|
+
|
|
19465
|
+
# A list of sessions matching the request.
|
|
19466
|
+
# Corresponds to the JSON property `sessions`
|
|
19467
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Session>]
|
|
19468
|
+
attr_accessor :sessions
|
|
19469
|
+
|
|
19470
|
+
def initialize(**args)
|
|
19471
|
+
update!(**args)
|
|
19472
|
+
end
|
|
19473
|
+
|
|
19474
|
+
# Update properties of this object
|
|
19475
|
+
def update!(**args)
|
|
19476
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
19477
|
+
@sessions = args[:sessions] if args.key?(:sessions)
|
|
19478
|
+
end
|
|
19479
|
+
end
|
|
19480
|
+
|
|
18840
19481
|
# Response message for SpecialistPoolService.ListSpecialistPools.
|
|
18841
19482
|
class GoogleCloudAiplatformV1ListSpecialistPoolsResponse
|
|
18842
19483
|
include Google::Apis::Core::Hashable
|
|
@@ -19224,7 +19865,20 @@ module Google
|
|
|
19224
19865
|
class GoogleCloudAiplatformV1MachineSpec
|
|
19225
19866
|
include Google::Apis::Core::Hashable
|
|
19226
19867
|
|
|
19227
|
-
# The number of accelerators to attach to the machine.
|
|
19868
|
+
# The number of accelerators to attach to the machine. For accelerator optimized
|
|
19869
|
+
# machine types (https://cloud.google.com/compute/docs/accelerator-optimized-
|
|
19870
|
+
# machines), One may set the accelerator_count from 1 to N for machine with N
|
|
19871
|
+
# GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-
|
|
19872
|
+
# schedule the replicas of the model into the same VM to save cost. For example,
|
|
19873
|
+
# if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set
|
|
19874
|
+
# accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex
|
|
19875
|
+
# will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save
|
|
19876
|
+
# cost. When co-scheduling, CPU, memory and storage on the VM will be
|
|
19877
|
+
# distributed to replicas on the VM. For example, one can expect a co-scheduled
|
|
19878
|
+
# replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU,
|
|
19879
|
+
# memory and storage of the VM. Note that the feature is not compatible with
|
|
19880
|
+
# multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-
|
|
19881
|
+
# scheduling will not be enabled.
|
|
19228
19882
|
# Corresponds to the JSON property `acceleratorCount`
|
|
19229
19883
|
# @return [Fixnum]
|
|
19230
19884
|
attr_accessor :accelerator_count
|
|
@@ -19235,6 +19889,19 @@ module Google
|
|
|
19235
19889
|
# @return [String]
|
|
19236
19890
|
attr_accessor :accelerator_type
|
|
19237
19891
|
|
|
19892
|
+
# Optional. Immutable. The Nvidia GPU partition size. When specified, the
|
|
19893
|
+
# requested accelerators will be partitioned into smaller GPU partitions. For
|
|
19894
|
+
# example, if the request is for 8 units of NVIDIA A100 GPUs, and
|
|
19895
|
+
# gpu_partition_size="1g.10gb", the service will create 8 * 7 = 56 partitioned
|
|
19896
|
+
# MIG instances. The partition size must be a value supported by the requested
|
|
19897
|
+
# accelerator. Refer to [Nvidia GPU Partitioning](https://cloud.google.com/
|
|
19898
|
+
# kubernetes-engine/docs/how-to/gpus-multi#multi-instance_gpu_partitions) for
|
|
19899
|
+
# the available partition sizes. If set, the accelerator_count should be set to
|
|
19900
|
+
# 1.
|
|
19901
|
+
# Corresponds to the JSON property `gpuPartitionSize`
|
|
19902
|
+
# @return [String]
|
|
19903
|
+
attr_accessor :gpu_partition_size
|
|
19904
|
+
|
|
19238
19905
|
# Immutable. The type of the machine. See the [list of machine types supported
|
|
19239
19906
|
# for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-
|
|
19240
19907
|
# compute#machine-types) See the [list of machine types supported for custom
|
|
@@ -19267,6 +19934,7 @@ module Google
|
|
|
19267
19934
|
def update!(**args)
|
|
19268
19935
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
|
19269
19936
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
|
19937
|
+
@gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
|
|
19270
19938
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
19271
19939
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
|
19272
19940
|
@tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
|
|
@@ -19358,10 +20026,134 @@ module Google
|
|
|
19358
20026
|
end
|
|
19359
20027
|
end
|
|
19360
20028
|
|
|
20029
|
+
# A memory.
|
|
20030
|
+
class GoogleCloudAiplatformV1Memory
|
|
20031
|
+
include Google::Apis::Core::Hashable
|
|
20032
|
+
|
|
20033
|
+
# Output only. Timestamp when this Memory was created.
|
|
20034
|
+
# Corresponds to the JSON property `createTime`
|
|
20035
|
+
# @return [String]
|
|
20036
|
+
attr_accessor :create_time
|
|
20037
|
+
|
|
20038
|
+
# Optional. Description of the Memory.
|
|
20039
|
+
# Corresponds to the JSON property `description`
|
|
20040
|
+
# @return [String]
|
|
20041
|
+
attr_accessor :description
|
|
20042
|
+
|
|
20043
|
+
# Optional. Input only. If true, no revision will be created for this request.
|
|
20044
|
+
# Corresponds to the JSON property `disableMemoryRevisions`
|
|
20045
|
+
# @return [Boolean]
|
|
20046
|
+
attr_accessor :disable_memory_revisions
|
|
20047
|
+
alias_method :disable_memory_revisions?, :disable_memory_revisions
|
|
20048
|
+
|
|
20049
|
+
# Optional. Display name of the Memory.
|
|
20050
|
+
# Corresponds to the JSON property `displayName`
|
|
20051
|
+
# @return [String]
|
|
20052
|
+
attr_accessor :display_name
|
|
20053
|
+
|
|
20054
|
+
# Optional. Timestamp of when this resource is considered expired. This is *
|
|
20055
|
+
# always* provided on output when `expiration` is set on input, regardless of
|
|
20056
|
+
# whether `expire_time` or `ttl` was provided.
|
|
20057
|
+
# Corresponds to the JSON property `expireTime`
|
|
20058
|
+
# @return [String]
|
|
20059
|
+
attr_accessor :expire_time
|
|
20060
|
+
|
|
20061
|
+
# Required. Semantic knowledge extracted from the source content.
|
|
20062
|
+
# Corresponds to the JSON property `fact`
|
|
20063
|
+
# @return [String]
|
|
20064
|
+
attr_accessor :fact
|
|
20065
|
+
|
|
20066
|
+
# Optional. User-provided metadata for the Memory. This information was provided
|
|
20067
|
+
# when creating, updating, or generating the Memory. It was not generated by
|
|
20068
|
+
# Memory Bank.
|
|
20069
|
+
# Corresponds to the JSON property `metadata`
|
|
20070
|
+
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryMetadataValue>]
|
|
20071
|
+
attr_accessor :metadata
|
|
20072
|
+
|
|
20073
|
+
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
|
20074
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
|
20075
|
+
# Corresponds to the JSON property `name`
|
|
20076
|
+
# @return [String]
|
|
20077
|
+
attr_accessor :name
|
|
20078
|
+
|
|
20079
|
+
# Optional. Input only. Timestamp of when the revision is considered expired. If
|
|
20080
|
+
# not set, the memory revision will be kept until manually deleted.
|
|
20081
|
+
# Corresponds to the JSON property `revisionExpireTime`
|
|
20082
|
+
# @return [String]
|
|
20083
|
+
attr_accessor :revision_expire_time
|
|
20084
|
+
|
|
20085
|
+
# Optional. Input only. The labels to apply to the Memory Revision created as a
|
|
20086
|
+
# result of this request.
|
|
20087
|
+
# Corresponds to the JSON property `revisionLabels`
|
|
20088
|
+
# @return [Hash<String,String>]
|
|
20089
|
+
attr_accessor :revision_labels
|
|
20090
|
+
|
|
20091
|
+
# Optional. Input only. The TTL for the revision. The expiration time is
|
|
20092
|
+
# computed: now + TTL.
|
|
20093
|
+
# Corresponds to the JSON property `revisionTtl`
|
|
20094
|
+
# @return [String]
|
|
20095
|
+
attr_accessor :revision_ttl
|
|
20096
|
+
|
|
20097
|
+
# Required. Immutable. The scope of the Memory. Memories are isolated within
|
|
20098
|
+
# their scope. The scope is defined when creating or generating memories. Scope
|
|
20099
|
+
# values cannot contain the wildcard character '*'.
|
|
20100
|
+
# Corresponds to the JSON property `scope`
|
|
20101
|
+
# @return [Hash<String,String>]
|
|
20102
|
+
attr_accessor :scope
|
|
20103
|
+
|
|
20104
|
+
# Optional. The Topics of the Memory.
|
|
20105
|
+
# Corresponds to the JSON property `topics`
|
|
20106
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>]
|
|
20107
|
+
attr_accessor :topics
|
|
20108
|
+
|
|
20109
|
+
# Optional. Input only. The TTL for this resource. The expiration time is
|
|
20110
|
+
# computed: now + TTL.
|
|
20111
|
+
# Corresponds to the JSON property `ttl`
|
|
20112
|
+
# @return [String]
|
|
20113
|
+
attr_accessor :ttl
|
|
20114
|
+
|
|
20115
|
+
# Output only. Timestamp when this Memory was most recently updated.
|
|
20116
|
+
# Corresponds to the JSON property `updateTime`
|
|
20117
|
+
# @return [String]
|
|
20118
|
+
attr_accessor :update_time
|
|
20119
|
+
|
|
20120
|
+
def initialize(**args)
|
|
20121
|
+
update!(**args)
|
|
20122
|
+
end
|
|
20123
|
+
|
|
20124
|
+
# Update properties of this object
|
|
20125
|
+
def update!(**args)
|
|
20126
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
20127
|
+
@description = args[:description] if args.key?(:description)
|
|
20128
|
+
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
20129
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
20130
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
20131
|
+
@fact = args[:fact] if args.key?(:fact)
|
|
20132
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
20133
|
+
@name = args[:name] if args.key?(:name)
|
|
20134
|
+
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
20135
|
+
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
20136
|
+
@revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
|
|
20137
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
20138
|
+
@topics = args[:topics] if args.key?(:topics)
|
|
20139
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
20140
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
20141
|
+
end
|
|
20142
|
+
end
|
|
20143
|
+
|
|
19361
20144
|
# Configuration for organizing memories for a particular scope.
|
|
19362
20145
|
class GoogleCloudAiplatformV1MemoryBankCustomizationConfig
|
|
19363
20146
|
include Google::Apis::Core::Hashable
|
|
19364
20147
|
|
|
20148
|
+
# Optional. If true, then the memories will be generated in the third person (i.
|
|
20149
|
+
# e. "The user generates memories with Memory Bank."). By default, the memories
|
|
20150
|
+
# will be generated in the first person (i.e. "I generate memories with Memory
|
|
20151
|
+
# Bank.")
|
|
20152
|
+
# Corresponds to the JSON property `enableThirdPersonMemories`
|
|
20153
|
+
# @return [Boolean]
|
|
20154
|
+
attr_accessor :enable_third_person_memories
|
|
20155
|
+
alias_method :enable_third_person_memories?, :enable_third_person_memories
|
|
20156
|
+
|
|
19365
20157
|
# Optional. Examples of how to generate memories for a particular scope.
|
|
19366
20158
|
# Corresponds to the JSON property `generateMemoriesExamples`
|
|
19367
20159
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample>]
|
|
@@ -19389,6 +20181,7 @@ module Google
|
|
|
19389
20181
|
|
|
19390
20182
|
# Update properties of this object
|
|
19391
20183
|
def update!(**args)
|
|
20184
|
+
@enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
|
|
19392
20185
|
@generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
|
|
19393
20186
|
@memory_topics = args[:memory_topics] if args.key?(:memory_topics)
|
|
19394
20187
|
@scope_keys = args[:scope_keys] if args.key?(:scope_keys)
|
|
@@ -19562,6 +20355,159 @@ module Google
|
|
|
19562
20355
|
end
|
|
19563
20356
|
end
|
|
19564
20357
|
|
|
20358
|
+
# A conjunction of filters that will be combined using AND logic.
|
|
20359
|
+
class GoogleCloudAiplatformV1MemoryConjunctionFilter
|
|
20360
|
+
include Google::Apis::Core::Hashable
|
|
20361
|
+
|
|
20362
|
+
# Filters that will combined using AND logic.
|
|
20363
|
+
# Corresponds to the JSON property `filters`
|
|
20364
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryFilter>]
|
|
20365
|
+
attr_accessor :filters
|
|
20366
|
+
|
|
20367
|
+
def initialize(**args)
|
|
20368
|
+
update!(**args)
|
|
20369
|
+
end
|
|
20370
|
+
|
|
20371
|
+
# Update properties of this object
|
|
20372
|
+
def update!(**args)
|
|
20373
|
+
@filters = args[:filters] if args.key?(:filters)
|
|
20374
|
+
end
|
|
20375
|
+
end
|
|
20376
|
+
|
|
20377
|
+
# Filter to apply when retrieving memories.
|
|
20378
|
+
class GoogleCloudAiplatformV1MemoryFilter
|
|
20379
|
+
include Google::Apis::Core::Hashable
|
|
20380
|
+
|
|
20381
|
+
# Key of the filter. For example, "author" would apply to `metadata` entries
|
|
20382
|
+
# with the key "author".
|
|
20383
|
+
# Corresponds to the JSON property `key`
|
|
20384
|
+
# @return [String]
|
|
20385
|
+
attr_accessor :key
|
|
20386
|
+
|
|
20387
|
+
# If true, the filter will be negated.
|
|
20388
|
+
# Corresponds to the JSON property `negate`
|
|
20389
|
+
# @return [Boolean]
|
|
20390
|
+
attr_accessor :negate
|
|
20391
|
+
alias_method :negate?, :negate
|
|
20392
|
+
|
|
20393
|
+
# Operator to apply to the filter. If not set, then EQUAL will be used.
|
|
20394
|
+
# Corresponds to the JSON property `op`
|
|
20395
|
+
# @return [String]
|
|
20396
|
+
attr_accessor :op
|
|
20397
|
+
|
|
20398
|
+
# Memory metadata.
|
|
20399
|
+
# Corresponds to the JSON property `value`
|
|
20400
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryMetadataValue]
|
|
20401
|
+
attr_accessor :value
|
|
20402
|
+
|
|
20403
|
+
def initialize(**args)
|
|
20404
|
+
update!(**args)
|
|
20405
|
+
end
|
|
20406
|
+
|
|
20407
|
+
# Update properties of this object
|
|
20408
|
+
def update!(**args)
|
|
20409
|
+
@key = args[:key] if args.key?(:key)
|
|
20410
|
+
@negate = args[:negate] if args.key?(:negate)
|
|
20411
|
+
@op = args[:op] if args.key?(:op)
|
|
20412
|
+
@value = args[:value] if args.key?(:value)
|
|
20413
|
+
end
|
|
20414
|
+
end
|
|
20415
|
+
|
|
20416
|
+
# Memory metadata.
|
|
20417
|
+
class GoogleCloudAiplatformV1MemoryMetadataValue
|
|
20418
|
+
include Google::Apis::Core::Hashable
|
|
20419
|
+
|
|
20420
|
+
# Boolean value.
|
|
20421
|
+
# Corresponds to the JSON property `boolValue`
|
|
20422
|
+
# @return [Boolean]
|
|
20423
|
+
attr_accessor :bool_value
|
|
20424
|
+
alias_method :bool_value?, :bool_value
|
|
20425
|
+
|
|
20426
|
+
# Double value.
|
|
20427
|
+
# Corresponds to the JSON property `doubleValue`
|
|
20428
|
+
# @return [Float]
|
|
20429
|
+
attr_accessor :double_value
|
|
20430
|
+
|
|
20431
|
+
# String value.
|
|
20432
|
+
# Corresponds to the JSON property `stringValue`
|
|
20433
|
+
# @return [String]
|
|
20434
|
+
attr_accessor :string_value
|
|
20435
|
+
|
|
20436
|
+
# Timestamp value. When filtering on timestamp values, only the seconds field
|
|
20437
|
+
# will be compared.
|
|
20438
|
+
# Corresponds to the JSON property `timestampValue`
|
|
20439
|
+
# @return [String]
|
|
20440
|
+
attr_accessor :timestamp_value
|
|
20441
|
+
|
|
20442
|
+
def initialize(**args)
|
|
20443
|
+
update!(**args)
|
|
20444
|
+
end
|
|
20445
|
+
|
|
20446
|
+
# Update properties of this object
|
|
20447
|
+
def update!(**args)
|
|
20448
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
|
20449
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
20450
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
20451
|
+
@timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
|
|
20452
|
+
end
|
|
20453
|
+
end
|
|
20454
|
+
|
|
20455
|
+
# A revision of a Memory.
|
|
20456
|
+
class GoogleCloudAiplatformV1MemoryRevision
|
|
20457
|
+
include Google::Apis::Core::Hashable
|
|
20458
|
+
|
|
20459
|
+
# Output only. Timestamp when this Memory Revision was created.
|
|
20460
|
+
# Corresponds to the JSON property `createTime`
|
|
20461
|
+
# @return [String]
|
|
20462
|
+
attr_accessor :create_time
|
|
20463
|
+
|
|
20464
|
+
# Output only. Timestamp of when this resource is considered expired.
|
|
20465
|
+
# Corresponds to the JSON property `expireTime`
|
|
20466
|
+
# @return [String]
|
|
20467
|
+
attr_accessor :expire_time
|
|
20468
|
+
|
|
20469
|
+
# Output only. The extracted memories from the source content before
|
|
20470
|
+
# consolidation when the memory was updated via GenerateMemories. This
|
|
20471
|
+
# information was used to modify an existing Memory via Consolidation.
|
|
20472
|
+
# Corresponds to the JSON property `extractedMemories`
|
|
20473
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IntermediateExtractedMemory>]
|
|
20474
|
+
attr_accessor :extracted_memories
|
|
20475
|
+
|
|
20476
|
+
# Output only. The fact of the Memory Revision. This corresponds to the `fact`
|
|
20477
|
+
# field of the parent Memory at the time of revision creation.
|
|
20478
|
+
# Corresponds to the JSON property `fact`
|
|
20479
|
+
# @return [String]
|
|
20480
|
+
attr_accessor :fact
|
|
20481
|
+
|
|
20482
|
+
# Output only. The labels of the Memory Revision. These labels are applied to
|
|
20483
|
+
# the MemoryRevision when it is created based on `GenerateMemoriesRequest.
|
|
20484
|
+
# revision_labels`.
|
|
20485
|
+
# Corresponds to the JSON property `labels`
|
|
20486
|
+
# @return [Hash<String,String>]
|
|
20487
|
+
attr_accessor :labels
|
|
20488
|
+
|
|
20489
|
+
# Identifier. The resource name of the Memory Revision. Format: `projects/`
|
|
20490
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
|
|
20491
|
+
# memory`/revisions/`memory_revision``
|
|
20492
|
+
# Corresponds to the JSON property `name`
|
|
20493
|
+
# @return [String]
|
|
20494
|
+
attr_accessor :name
|
|
20495
|
+
|
|
20496
|
+
def initialize(**args)
|
|
20497
|
+
update!(**args)
|
|
20498
|
+
end
|
|
20499
|
+
|
|
20500
|
+
# Update properties of this object
|
|
20501
|
+
def update!(**args)
|
|
20502
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
20503
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
20504
|
+
@extracted_memories = args[:extracted_memories] if args.key?(:extracted_memories)
|
|
20505
|
+
@fact = args[:fact] if args.key?(:fact)
|
|
20506
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
20507
|
+
@name = args[:name] if args.key?(:name)
|
|
20508
|
+
end
|
|
20509
|
+
end
|
|
20510
|
+
|
|
19565
20511
|
# A memory topic identifier. This will be used to label a Memory and to restrict
|
|
19566
20512
|
# which topics are eligible for generation or retrieval.
|
|
19567
20513
|
class GoogleCloudAiplatformV1MemoryTopicId
|
|
@@ -19614,6 +20560,27 @@ module Google
|
|
|
19614
20560
|
end
|
|
19615
20561
|
end
|
|
19616
20562
|
|
|
20563
|
+
# Metadata for a chunk.
|
|
20564
|
+
class GoogleCloudAiplatformV1Metadata
|
|
20565
|
+
include Google::Apis::Core::Hashable
|
|
20566
|
+
|
|
20567
|
+
# Optional. Attributes attached to the data. The keys have semantic conventions
|
|
20568
|
+
# and the consumers of the attributes should know how to deserialize the value
|
|
20569
|
+
# bytes based on the keys.
|
|
20570
|
+
# Corresponds to the JSON property `attributes`
|
|
20571
|
+
# @return [Hash<String,String>]
|
|
20572
|
+
attr_accessor :attributes
|
|
20573
|
+
|
|
20574
|
+
def initialize(**args)
|
|
20575
|
+
update!(**args)
|
|
20576
|
+
end
|
|
20577
|
+
|
|
20578
|
+
# Update properties of this object
|
|
20579
|
+
def update!(**args)
|
|
20580
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
20581
|
+
end
|
|
20582
|
+
end
|
|
20583
|
+
|
|
19617
20584
|
# Instance of a general MetadataSchema.
|
|
19618
20585
|
class GoogleCloudAiplatformV1MetadataSchema
|
|
19619
20586
|
include Google::Apis::Core::Hashable
|
|
@@ -19689,8 +20656,8 @@ module Google
|
|
|
19689
20656
|
# @return [String]
|
|
19690
20657
|
attr_accessor :description
|
|
19691
20658
|
|
|
19692
|
-
# Represents a customer-managed encryption key
|
|
19693
|
-
#
|
|
20659
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
20660
|
+
# to a Vertex AI resource.
|
|
19694
20661
|
# Corresponds to the JSON property `encryptionSpec`
|
|
19695
20662
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
19696
20663
|
attr_accessor :encryption_spec
|
|
@@ -20488,8 +21455,8 @@ module Google
|
|
|
20488
21455
|
# @return [String]
|
|
20489
21456
|
attr_accessor :display_name
|
|
20490
21457
|
|
|
20491
|
-
# Represents a customer-managed encryption key
|
|
20492
|
-
#
|
|
21458
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
21459
|
+
# to a Vertex AI resource.
|
|
20493
21460
|
# Corresponds to the JSON property `encryptionSpec`
|
|
20494
21461
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
20495
21462
|
attr_accessor :encryption_spec
|
|
@@ -21162,8 +22129,8 @@ module Google
|
|
|
21162
22129
|
attr_accessor :enable_monitoring_pipeline_logs
|
|
21163
22130
|
alias_method :enable_monitoring_pipeline_logs?, :enable_monitoring_pipeline_logs
|
|
21164
22131
|
|
|
21165
|
-
# Represents a customer-managed encryption key
|
|
21166
|
-
#
|
|
22132
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
22133
|
+
# to a Vertex AI resource.
|
|
21167
22134
|
# Corresponds to the JSON property `encryptionSpec`
|
|
21168
22135
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
21169
22136
|
attr_accessor :encryption_spec
|
|
@@ -22437,8 +23404,8 @@ module Google
|
|
|
22437
23404
|
attr_accessor :enable_restricted_image_training
|
|
22438
23405
|
alias_method :enable_restricted_image_training?, :enable_restricted_image_training
|
|
22439
23406
|
|
|
22440
|
-
# Represents a customer-managed encryption key
|
|
22441
|
-
#
|
|
23407
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
23408
|
+
# to a Vertex AI resource.
|
|
22442
23409
|
# Corresponds to the JSON property `encryptionSpec`
|
|
22443
23410
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
22444
23411
|
attr_accessor :encryption_spec
|
|
@@ -23358,8 +24325,8 @@ module Google
|
|
|
23358
24325
|
# @return [String]
|
|
23359
24326
|
attr_accessor :display_name
|
|
23360
24327
|
|
|
23361
|
-
# Represents a customer-managed encryption key
|
|
23362
|
-
#
|
|
24328
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24329
|
+
# to a Vertex AI resource.
|
|
23363
24330
|
# Corresponds to the JSON property `encryptionSpec`
|
|
23364
24331
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
23365
24332
|
attr_accessor :encryption_spec
|
|
@@ -23689,8 +24656,8 @@ module Google
|
|
|
23689
24656
|
# @return [String]
|
|
23690
24657
|
attr_accessor :display_name
|
|
23691
24658
|
|
|
23692
|
-
# Represents a customer-managed encryption key
|
|
23693
|
-
#
|
|
24659
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24660
|
+
# to a Vertex AI resource.
|
|
23694
24661
|
# Corresponds to the JSON property `encryptionSpec`
|
|
23695
24662
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
23696
24663
|
attr_accessor :encryption_spec
|
|
@@ -23903,8 +24870,8 @@ module Google
|
|
|
23903
24870
|
# @return [String]
|
|
23904
24871
|
attr_accessor :display_name
|
|
23905
24872
|
|
|
23906
|
-
# Represents a customer-managed encryption key
|
|
23907
|
-
#
|
|
24873
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24874
|
+
# to a Vertex AI resource.
|
|
23908
24875
|
# Corresponds to the JSON property `encryptionSpec`
|
|
23909
24876
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
23910
24877
|
attr_accessor :encryption_spec
|
|
@@ -24816,8 +25783,8 @@ module Google
|
|
|
24816
25783
|
# @return [String]
|
|
24817
25784
|
attr_accessor :display_name
|
|
24818
25785
|
|
|
24819
|
-
# Represents a customer-managed encryption key
|
|
24820
|
-
#
|
|
25786
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
25787
|
+
# to a Vertex AI resource.
|
|
24821
25788
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24822
25789
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
24823
25790
|
attr_accessor :encryption_spec
|
|
@@ -24959,8 +25926,8 @@ module Google
|
|
|
24959
25926
|
# @return [String]
|
|
24960
25927
|
attr_accessor :display_name
|
|
24961
25928
|
|
|
24962
|
-
# Represents a customer-managed encryption key
|
|
24963
|
-
#
|
|
25929
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
25930
|
+
# to a Vertex AI resource.
|
|
24964
25931
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24965
25932
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
24966
25933
|
attr_accessor :encryption_spec
|
|
@@ -27304,6 +28271,34 @@ module Google
|
|
|
27304
28271
|
end
|
|
27305
28272
|
end
|
|
27306
28273
|
|
|
28274
|
+
# Request message for MemoryBankService.PurgeMemories.
|
|
28275
|
+
class GoogleCloudAiplatformV1PurgeMemoriesRequest
|
|
28276
|
+
include Google::Apis::Core::Hashable
|
|
28277
|
+
|
|
28278
|
+
# Required. The standard list filter to determine which memories to purge. More
|
|
28279
|
+
# detail in [AIP-160](https://google.aip.dev/160).
|
|
28280
|
+
# Corresponds to the JSON property `filter`
|
|
28281
|
+
# @return [String]
|
|
28282
|
+
attr_accessor :filter
|
|
28283
|
+
|
|
28284
|
+
# Optional. If true, the memories will actually be purged. If false, the purge
|
|
28285
|
+
# request will be validated but not executed.
|
|
28286
|
+
# Corresponds to the JSON property `force`
|
|
28287
|
+
# @return [Boolean]
|
|
28288
|
+
attr_accessor :force
|
|
28289
|
+
alias_method :force?, :force
|
|
28290
|
+
|
|
28291
|
+
def initialize(**args)
|
|
28292
|
+
update!(**args)
|
|
28293
|
+
end
|
|
28294
|
+
|
|
28295
|
+
# Update properties of this object
|
|
28296
|
+
def update!(**args)
|
|
28297
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
28298
|
+
@force = args[:force] if args.key?(:force)
|
|
28299
|
+
end
|
|
28300
|
+
end
|
|
28301
|
+
|
|
27307
28302
|
# The spec of a Python packaged code.
|
|
27308
28303
|
class GoogleCloudAiplatformV1PythonPackageSpec
|
|
27309
28304
|
include Google::Apis::Core::Hashable
|
|
@@ -28072,8 +29067,8 @@ module Google
|
|
|
28072
29067
|
# @return [String]
|
|
28073
29068
|
attr_accessor :display_name
|
|
28074
29069
|
|
|
28075
|
-
# Represents a customer-managed encryption key
|
|
28076
|
-
#
|
|
29070
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
29071
|
+
# to a Vertex AI resource.
|
|
28077
29072
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28078
29073
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
28079
29074
|
attr_accessor :encryption_spec
|
|
@@ -29357,8 +30352,8 @@ module Google
|
|
|
29357
30352
|
# @return [String]
|
|
29358
30353
|
attr_accessor :display_name
|
|
29359
30354
|
|
|
29360
|
-
# Represents a customer-managed encryption key
|
|
29361
|
-
#
|
|
30355
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
30356
|
+
# to a Vertex AI resource.
|
|
29362
30357
|
# Corresponds to the JSON property `encryptionSpec`
|
|
29363
30358
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
29364
30359
|
attr_accessor :encryption_spec
|
|
@@ -29610,6 +30605,23 @@ module Google
|
|
|
29610
30605
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec]
|
|
29611
30606
|
attr_accessor :deployment_spec
|
|
29612
30607
|
|
|
30608
|
+
# Output only. The identity to use for the Reasoning Engine. It can contain one
|
|
30609
|
+
# of the following values: * service-`project`@gcp-sa-aiplatform-re.googleapis.
|
|
30610
|
+
# com (for SERVICE_AGENT identity type) * `name`@`project`.gserviceaccount.com (
|
|
30611
|
+
# for SERVICE_ACCOUNT identity type) * agents.global.`org`.system.id.goog/
|
|
30612
|
+
# resources/aiplatform/projects/`project`/locations/`location`/reasoningEngines/`
|
|
30613
|
+
# reasoning_engine` (for AGENT_IDENTITY identity type)
|
|
30614
|
+
# Corresponds to the JSON property `effectiveIdentity`
|
|
30615
|
+
# @return [String]
|
|
30616
|
+
attr_accessor :effective_identity
|
|
30617
|
+
|
|
30618
|
+
# Optional. The identity type to use for the Reasoning Engine. If not specified,
|
|
30619
|
+
# the `service_account` field will be used if set, otherwise the default Vertex
|
|
30620
|
+
# AI Reasoning Engine Service Agent in the project will be used.
|
|
30621
|
+
# Corresponds to the JSON property `identityType`
|
|
30622
|
+
# @return [String]
|
|
30623
|
+
attr_accessor :identity_type
|
|
30624
|
+
|
|
29613
30625
|
# User-provided package specification, containing pickled object and package
|
|
29614
30626
|
# requirements.
|
|
29615
30627
|
# Corresponds to the JSON property `packageSpec`
|
|
@@ -29639,6 +30651,8 @@ module Google
|
|
|
29639
30651
|
@agent_framework = args[:agent_framework] if args.key?(:agent_framework)
|
|
29640
30652
|
@class_methods = args[:class_methods] if args.key?(:class_methods)
|
|
29641
30653
|
@deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
|
|
30654
|
+
@effective_identity = args[:effective_identity] if args.key?(:effective_identity)
|
|
30655
|
+
@identity_type = args[:identity_type] if args.key?(:identity_type)
|
|
29642
30656
|
@package_spec = args[:package_spec] if args.key?(:package_spec)
|
|
29643
30657
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
29644
30658
|
@source_code_spec = args[:source_code_spec] if args.key?(:source_code_spec)
|
|
@@ -29757,6 +30771,12 @@ module Google
|
|
|
29757
30771
|
class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec
|
|
29758
30772
|
include Google::Apis::Core::Hashable
|
|
29759
30773
|
|
|
30774
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
30775
|
+
# Developer Connect service.
|
|
30776
|
+
# Corresponds to the JSON property `developerConnectSource`
|
|
30777
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource]
|
|
30778
|
+
attr_accessor :developer_connect_source
|
|
30779
|
+
|
|
29760
30780
|
# Specifies source code provided as a byte stream.
|
|
29761
30781
|
# Corresponds to the JSON property `inlineSource`
|
|
29762
30782
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource]
|
|
@@ -29773,16 +30793,74 @@ module Google
|
|
|
29773
30793
|
|
|
29774
30794
|
# Update properties of this object
|
|
29775
30795
|
def update!(**args)
|
|
30796
|
+
@developer_connect_source = args[:developer_connect_source] if args.key?(:developer_connect_source)
|
|
29776
30797
|
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
|
29777
30798
|
@python_spec = args[:python_spec] if args.key?(:python_spec)
|
|
29778
30799
|
end
|
|
29779
30800
|
end
|
|
29780
30801
|
|
|
30802
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
30803
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
30804
|
+
# and directory to use.
|
|
30805
|
+
class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
|
|
30806
|
+
include Google::Apis::Core::Hashable
|
|
30807
|
+
|
|
30808
|
+
# Required. Directory, relative to the source root, in which to run the build.
|
|
30809
|
+
# Corresponds to the JSON property `dir`
|
|
30810
|
+
# @return [String]
|
|
30811
|
+
attr_accessor :dir
|
|
30812
|
+
|
|
30813
|
+
# Required. The Developer Connect Git repository link, formatted as `projects/*/
|
|
30814
|
+
# locations/*/connections/*/gitRepositoryLink/*`.
|
|
30815
|
+
# Corresponds to the JSON property `gitRepositoryLink`
|
|
30816
|
+
# @return [String]
|
|
30817
|
+
attr_accessor :git_repository_link
|
|
30818
|
+
|
|
30819
|
+
# Required. The revision to fetch from the Git repository such as a branch, a
|
|
30820
|
+
# tag, a commit SHA, or any Git ref.
|
|
30821
|
+
# Corresponds to the JSON property `revision`
|
|
30822
|
+
# @return [String]
|
|
30823
|
+
attr_accessor :revision
|
|
30824
|
+
|
|
30825
|
+
def initialize(**args)
|
|
30826
|
+
update!(**args)
|
|
30827
|
+
end
|
|
30828
|
+
|
|
30829
|
+
# Update properties of this object
|
|
30830
|
+
def update!(**args)
|
|
30831
|
+
@dir = args[:dir] if args.key?(:dir)
|
|
30832
|
+
@git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
|
|
30833
|
+
@revision = args[:revision] if args.key?(:revision)
|
|
30834
|
+
end
|
|
30835
|
+
end
|
|
30836
|
+
|
|
30837
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
30838
|
+
# Developer Connect service.
|
|
30839
|
+
class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
|
|
30840
|
+
include Google::Apis::Core::Hashable
|
|
30841
|
+
|
|
30842
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
30843
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
30844
|
+
# and directory to use.
|
|
30845
|
+
# Corresponds to the JSON property `config`
|
|
30846
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig]
|
|
30847
|
+
attr_accessor :config
|
|
30848
|
+
|
|
30849
|
+
def initialize(**args)
|
|
30850
|
+
update!(**args)
|
|
30851
|
+
end
|
|
30852
|
+
|
|
30853
|
+
# Update properties of this object
|
|
30854
|
+
def update!(**args)
|
|
30855
|
+
@config = args[:config] if args.key?(:config)
|
|
30856
|
+
end
|
|
30857
|
+
end
|
|
30858
|
+
|
|
29781
30859
|
# Specifies source code provided as a byte stream.
|
|
29782
30860
|
class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource
|
|
29783
30861
|
include Google::Apis::Core::Hashable
|
|
29784
30862
|
|
|
29785
|
-
# Required. Input only. The application source code archive
|
|
30863
|
+
# Required. Input only. The application source code archive. It must be a
|
|
29786
30864
|
# compressed tarball (.tar.gz) file.
|
|
29787
30865
|
# Corresponds to the JSON property `sourceArchive`
|
|
29788
30866
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -29806,13 +30884,15 @@ module Google
|
|
|
29806
30884
|
# Optional. The Python module to load as the entrypoint, specified as a fully
|
|
29807
30885
|
# qualified module name. For example: path.to.agent. If not specified, defaults
|
|
29808
30886
|
# to "agent". The project root will be added to Python sys.path, allowing
|
|
29809
|
-
# imports to be specified relative to the root.
|
|
30887
|
+
# imports to be specified relative to the root. This field should not be set if
|
|
30888
|
+
# the source is `agent_config_source`.
|
|
29810
30889
|
# Corresponds to the JSON property `entrypointModule`
|
|
29811
30890
|
# @return [String]
|
|
29812
30891
|
attr_accessor :entrypoint_module
|
|
29813
30892
|
|
|
29814
30893
|
# Optional. The name of the callable object within the `entrypoint_module` to
|
|
29815
|
-
# use as the application If not specified, defaults to "root_agent".
|
|
30894
|
+
# use as the application If not specified, defaults to "root_agent". This field
|
|
30895
|
+
# should not be set if the source is `agent_config_source`.
|
|
29816
30896
|
# Corresponds to the JSON property `entrypointObject`
|
|
29817
30897
|
# @return [String]
|
|
29818
30898
|
attr_accessor :entrypoint_object
|
|
@@ -29988,9 +31068,9 @@ module Google
|
|
|
29988
31068
|
class GoogleCloudAiplatformV1ReplicatedVoiceConfig
|
|
29989
31069
|
include Google::Apis::Core::Hashable
|
|
29990
31070
|
|
|
29991
|
-
# Optional. The mimetype of the voice sample.
|
|
29992
|
-
# is
|
|
29993
|
-
# sampling rate.
|
|
31071
|
+
# Optional. The mimetype of the voice sample. The only currently supported value
|
|
31072
|
+
# is `audio/wav`. This represents 16-bit signed little-endian wav data, with a
|
|
31073
|
+
# 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
|
|
29994
31074
|
# Corresponds to the JSON property `mimeType`
|
|
29995
31075
|
# @return [String]
|
|
29996
31076
|
attr_accessor :mime_type
|
|
@@ -30451,6 +31531,192 @@ module Google
|
|
|
30451
31531
|
end
|
|
30452
31532
|
end
|
|
30453
31533
|
|
|
31534
|
+
# Request message for MemoryBankService.RetrieveMemories.
|
|
31535
|
+
class GoogleCloudAiplatformV1RetrieveMemoriesRequest
|
|
31536
|
+
include Google::Apis::Core::Hashable
|
|
31537
|
+
|
|
31538
|
+
# Optional. The standard list filter that will be applied to the retrieved
|
|
31539
|
+
# memories. More detail in [AIP-160](https://google.aip.dev/160). Supported
|
|
31540
|
+
# fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.
|
|
31541
|
+
# custom_memory_topic_label: "example topic" OR topics.managed_memory_topic:
|
|
31542
|
+
# USER_PREFERENCES`)
|
|
31543
|
+
# Corresponds to the JSON property `filter`
|
|
31544
|
+
# @return [String]
|
|
31545
|
+
attr_accessor :filter
|
|
31546
|
+
|
|
31547
|
+
# Optional. Metadata filters that will be applied to the retrieved memories' `
|
|
31548
|
+
# metadata` using OR logic. Filters are defined using disjunctive normal form (
|
|
31549
|
+
# OR of ANDs). For example: `filter_groups: [`filters: [`key: "author", value: `
|
|
31550
|
+
# string_value: "agent 123"`, op: EQUAL`]`, `filters: [`key: "label", value: `
|
|
31551
|
+
# string_value: "travel"`, op: EQUAL`, `key: "author", value: `string_value: "
|
|
31552
|
+
# agent 321"`, op: EQUAL`]`]` would be equivalent to the logical expression: `(
|
|
31553
|
+
# metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata.
|
|
31554
|
+
# author = "agent 321"))`.
|
|
31555
|
+
# Corresponds to the JSON property `filterGroups`
|
|
31556
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryConjunctionFilter>]
|
|
31557
|
+
attr_accessor :filter_groups
|
|
31558
|
+
|
|
31559
|
+
# Required. The scope of the memories to retrieve. A memory must have exactly
|
|
31560
|
+
# the same scope (`Memory.scope`) as the scope provided here to be retrieved (
|
|
31561
|
+
# same keys and values). Order does not matter, but it is case-sensitive.
|
|
31562
|
+
# Corresponds to the JSON property `scope`
|
|
31563
|
+
# @return [Hash<String,String>]
|
|
31564
|
+
attr_accessor :scope
|
|
31565
|
+
|
|
31566
|
+
# Parameters for semantic similarity search based retrieval.
|
|
31567
|
+
# Corresponds to the JSON property `similaritySearchParams`
|
|
31568
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams]
|
|
31569
|
+
attr_accessor :similarity_search_params
|
|
31570
|
+
|
|
31571
|
+
# Parameters for simple (non-similarity search) retrieval.
|
|
31572
|
+
# Corresponds to the JSON property `simpleRetrievalParams`
|
|
31573
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams]
|
|
31574
|
+
attr_accessor :simple_retrieval_params
|
|
31575
|
+
|
|
31576
|
+
def initialize(**args)
|
|
31577
|
+
update!(**args)
|
|
31578
|
+
end
|
|
31579
|
+
|
|
31580
|
+
# Update properties of this object
|
|
31581
|
+
def update!(**args)
|
|
31582
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
31583
|
+
@filter_groups = args[:filter_groups] if args.key?(:filter_groups)
|
|
31584
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
31585
|
+
@similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
|
|
31586
|
+
@simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
|
|
31587
|
+
end
|
|
31588
|
+
end
|
|
31589
|
+
|
|
31590
|
+
# Parameters for semantic similarity search based retrieval.
|
|
31591
|
+
class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams
|
|
31592
|
+
include Google::Apis::Core::Hashable
|
|
31593
|
+
|
|
31594
|
+
# Required. Query to use for similarity search retrieval. If provided, then the
|
|
31595
|
+
# parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.
|
|
31596
|
+
# SimilaritySearchConfig set.
|
|
31597
|
+
# Corresponds to the JSON property `searchQuery`
|
|
31598
|
+
# @return [String]
|
|
31599
|
+
attr_accessor :search_query
|
|
31600
|
+
|
|
31601
|
+
# Optional. The maximum number of memories to return. The service may return
|
|
31602
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
|
31603
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
|
31604
|
+
# Corresponds to the JSON property `topK`
|
|
31605
|
+
# @return [Fixnum]
|
|
31606
|
+
attr_accessor :top_k
|
|
31607
|
+
|
|
31608
|
+
def initialize(**args)
|
|
31609
|
+
update!(**args)
|
|
31610
|
+
end
|
|
31611
|
+
|
|
31612
|
+
# Update properties of this object
|
|
31613
|
+
def update!(**args)
|
|
31614
|
+
@search_query = args[:search_query] if args.key?(:search_query)
|
|
31615
|
+
@top_k = args[:top_k] if args.key?(:top_k)
|
|
31616
|
+
end
|
|
31617
|
+
end
|
|
31618
|
+
|
|
31619
|
+
# Parameters for simple (non-similarity search) retrieval.
|
|
31620
|
+
class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams
|
|
31621
|
+
include Google::Apis::Core::Hashable
|
|
31622
|
+
|
|
31623
|
+
# Optional. The maximum number of memories to return. The service may return
|
|
31624
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
|
31625
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
|
31626
|
+
# Corresponds to the JSON property `pageSize`
|
|
31627
|
+
# @return [Fixnum]
|
|
31628
|
+
attr_accessor :page_size
|
|
31629
|
+
|
|
31630
|
+
# Optional. A page token, received from a previous `RetrieveMemories` call.
|
|
31631
|
+
# Provide this to retrieve the subsequent page.
|
|
31632
|
+
# Corresponds to the JSON property `pageToken`
|
|
31633
|
+
# @return [String]
|
|
31634
|
+
attr_accessor :page_token
|
|
31635
|
+
|
|
31636
|
+
def initialize(**args)
|
|
31637
|
+
update!(**args)
|
|
31638
|
+
end
|
|
31639
|
+
|
|
31640
|
+
# Update properties of this object
|
|
31641
|
+
def update!(**args)
|
|
31642
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
|
31643
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
31644
|
+
end
|
|
31645
|
+
end
|
|
31646
|
+
|
|
31647
|
+
# Response message for MemoryBankService.RetrieveMemories.
|
|
31648
|
+
class GoogleCloudAiplatformV1RetrieveMemoriesResponse
|
|
31649
|
+
include Google::Apis::Core::Hashable
|
|
31650
|
+
|
|
31651
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
31652
|
+
# field is omitted, there are no subsequent pages. This token is not set if
|
|
31653
|
+
# similarity search was used for retrieval.
|
|
31654
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
31655
|
+
# @return [String]
|
|
31656
|
+
attr_accessor :next_page_token
|
|
31657
|
+
|
|
31658
|
+
# The retrieved memories.
|
|
31659
|
+
# Corresponds to the JSON property `retrievedMemories`
|
|
31660
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory>]
|
|
31661
|
+
attr_accessor :retrieved_memories
|
|
31662
|
+
|
|
31663
|
+
def initialize(**args)
|
|
31664
|
+
update!(**args)
|
|
31665
|
+
end
|
|
31666
|
+
|
|
31667
|
+
# Update properties of this object
|
|
31668
|
+
def update!(**args)
|
|
31669
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
31670
|
+
@retrieved_memories = args[:retrieved_memories] if args.key?(:retrieved_memories)
|
|
31671
|
+
end
|
|
31672
|
+
end
|
|
31673
|
+
|
|
31674
|
+
# A retrieved memory.
|
|
31675
|
+
class GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory
|
|
31676
|
+
include Google::Apis::Core::Hashable
|
|
31677
|
+
|
|
31678
|
+
# The distance between the query and the retrieved Memory. Smaller values
|
|
31679
|
+
# indicate more similar memories. This is only set if similarity search was used
|
|
31680
|
+
# for retrieval.
|
|
31681
|
+
# Corresponds to the JSON property `distance`
|
|
31682
|
+
# @return [Float]
|
|
31683
|
+
attr_accessor :distance
|
|
31684
|
+
|
|
31685
|
+
# A memory.
|
|
31686
|
+
# Corresponds to the JSON property `memory`
|
|
31687
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory]
|
|
31688
|
+
attr_accessor :memory
|
|
31689
|
+
|
|
31690
|
+
def initialize(**args)
|
|
31691
|
+
update!(**args)
|
|
31692
|
+
end
|
|
31693
|
+
|
|
31694
|
+
# Update properties of this object
|
|
31695
|
+
def update!(**args)
|
|
31696
|
+
@distance = args[:distance] if args.key?(:distance)
|
|
31697
|
+
@memory = args[:memory] if args.key?(:memory)
|
|
31698
|
+
end
|
|
31699
|
+
end
|
|
31700
|
+
|
|
31701
|
+
# Request message for MemoryBankService.RollbackMemory.
|
|
31702
|
+
class GoogleCloudAiplatformV1RollbackMemoryRequest
|
|
31703
|
+
include Google::Apis::Core::Hashable
|
|
31704
|
+
|
|
31705
|
+
# Required. The ID of the revision to rollback to.
|
|
31706
|
+
# Corresponds to the JSON property `targetRevisionId`
|
|
31707
|
+
# @return [Fixnum]
|
|
31708
|
+
attr_accessor :target_revision_id
|
|
31709
|
+
|
|
31710
|
+
def initialize(**args)
|
|
31711
|
+
update!(**args)
|
|
31712
|
+
end
|
|
31713
|
+
|
|
31714
|
+
# Update properties of this object
|
|
31715
|
+
def update!(**args)
|
|
31716
|
+
@target_revision_id = args[:target_revision_id] if args.key?(:target_revision_id)
|
|
31717
|
+
end
|
|
31718
|
+
end
|
|
31719
|
+
|
|
30454
31720
|
# Input for rouge metric.
|
|
30455
31721
|
class GoogleCloudAiplatformV1RougeInput
|
|
30456
31722
|
include Google::Apis::Core::Hashable
|
|
@@ -31161,6 +32427,153 @@ module Google
|
|
|
31161
32427
|
end
|
|
31162
32428
|
end
|
|
31163
32429
|
|
|
32430
|
+
# SandboxEnvironment is a containerized environment that provides a customizable
|
|
32431
|
+
# secure execution runtime for AI agents.
|
|
32432
|
+
class GoogleCloudAiplatformV1SandboxEnvironment
|
|
32433
|
+
include Google::Apis::Core::Hashable
|
|
32434
|
+
|
|
32435
|
+
# The connection information of the SandboxEnvironment.
|
|
32436
|
+
# Corresponds to the JSON property `connectionInfo`
|
|
32437
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo]
|
|
32438
|
+
attr_accessor :connection_info
|
|
32439
|
+
|
|
32440
|
+
# Output only. The timestamp when this SandboxEnvironment was created.
|
|
32441
|
+
# Corresponds to the JSON property `createTime`
|
|
32442
|
+
# @return [String]
|
|
32443
|
+
attr_accessor :create_time
|
|
32444
|
+
|
|
32445
|
+
# Required. The display name of the SandboxEnvironment.
|
|
32446
|
+
# Corresponds to the JSON property `displayName`
|
|
32447
|
+
# @return [String]
|
|
32448
|
+
attr_accessor :display_name
|
|
32449
|
+
|
|
32450
|
+
# Optional. Timestamp in UTC of when this SandboxEnvironment is considered
|
|
32451
|
+
# expired. This is *always* provided on output, regardless of what `expiration`
|
|
32452
|
+
# was sent on input.
|
|
32453
|
+
# Corresponds to the JSON property `expireTime`
|
|
32454
|
+
# @return [String]
|
|
32455
|
+
attr_accessor :expire_time
|
|
32456
|
+
|
|
32457
|
+
# Identifier. The name of the SandboxEnvironment.
|
|
32458
|
+
# Corresponds to the JSON property `name`
|
|
32459
|
+
# @return [String]
|
|
32460
|
+
attr_accessor :name
|
|
32461
|
+
|
|
32462
|
+
# The specification of a SandboxEnvironment.
|
|
32463
|
+
# Corresponds to the JSON property `spec`
|
|
32464
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpec]
|
|
32465
|
+
attr_accessor :spec
|
|
32466
|
+
|
|
32467
|
+
# Output only. The runtime state of the SandboxEnvironment.
|
|
32468
|
+
# Corresponds to the JSON property `state`
|
|
32469
|
+
# @return [String]
|
|
32470
|
+
attr_accessor :state
|
|
32471
|
+
|
|
32472
|
+
# Optional. Input only. The TTL for the sandbox environment. The expiration time
|
|
32473
|
+
# is computed: now + TTL.
|
|
32474
|
+
# Corresponds to the JSON property `ttl`
|
|
32475
|
+
# @return [String]
|
|
32476
|
+
attr_accessor :ttl
|
|
32477
|
+
|
|
32478
|
+
# Output only. The timestamp when this SandboxEnvironment was most recently
|
|
32479
|
+
# updated.
|
|
32480
|
+
# Corresponds to the JSON property `updateTime`
|
|
32481
|
+
# @return [String]
|
|
32482
|
+
attr_accessor :update_time
|
|
32483
|
+
|
|
32484
|
+
def initialize(**args)
|
|
32485
|
+
update!(**args)
|
|
32486
|
+
end
|
|
32487
|
+
|
|
32488
|
+
# Update properties of this object
|
|
32489
|
+
def update!(**args)
|
|
32490
|
+
@connection_info = args[:connection_info] if args.key?(:connection_info)
|
|
32491
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
32492
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
32493
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
32494
|
+
@name = args[:name] if args.key?(:name)
|
|
32495
|
+
@spec = args[:spec] if args.key?(:spec)
|
|
32496
|
+
@state = args[:state] if args.key?(:state)
|
|
32497
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
32498
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
32499
|
+
end
|
|
32500
|
+
end
|
|
32501
|
+
|
|
32502
|
+
# The connection information of the SandboxEnvironment.
|
|
32503
|
+
class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo
|
|
32504
|
+
include Google::Apis::Core::Hashable
|
|
32505
|
+
|
|
32506
|
+
# Output only. The hostname of the load balancer.
|
|
32507
|
+
# Corresponds to the JSON property `loadBalancerHostname`
|
|
32508
|
+
# @return [String]
|
|
32509
|
+
attr_accessor :load_balancer_hostname
|
|
32510
|
+
|
|
32511
|
+
# Output only. The IP address of the load balancer.
|
|
32512
|
+
# Corresponds to the JSON property `loadBalancerIp`
|
|
32513
|
+
# @return [String]
|
|
32514
|
+
attr_accessor :load_balancer_ip
|
|
32515
|
+
|
|
32516
|
+
# Output only. The internal IP address of the SandboxEnvironment.
|
|
32517
|
+
# Corresponds to the JSON property `sandboxInternalIp`
|
|
32518
|
+
# @return [String]
|
|
32519
|
+
attr_accessor :sandbox_internal_ip
|
|
32520
|
+
|
|
32521
|
+
def initialize(**args)
|
|
32522
|
+
update!(**args)
|
|
32523
|
+
end
|
|
32524
|
+
|
|
32525
|
+
# Update properties of this object
|
|
32526
|
+
def update!(**args)
|
|
32527
|
+
@load_balancer_hostname = args[:load_balancer_hostname] if args.key?(:load_balancer_hostname)
|
|
32528
|
+
@load_balancer_ip = args[:load_balancer_ip] if args.key?(:load_balancer_ip)
|
|
32529
|
+
@sandbox_internal_ip = args[:sandbox_internal_ip] if args.key?(:sandbox_internal_ip)
|
|
32530
|
+
end
|
|
32531
|
+
end
|
|
32532
|
+
|
|
32533
|
+
# The specification of a SandboxEnvironment.
|
|
32534
|
+
class GoogleCloudAiplatformV1SandboxEnvironmentSpec
|
|
32535
|
+
include Google::Apis::Core::Hashable
|
|
32536
|
+
|
|
32537
|
+
# The code execution environment with customized settings.
|
|
32538
|
+
# Corresponds to the JSON property `codeExecutionEnvironment`
|
|
32539
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment]
|
|
32540
|
+
attr_accessor :code_execution_environment
|
|
32541
|
+
|
|
32542
|
+
def initialize(**args)
|
|
32543
|
+
update!(**args)
|
|
32544
|
+
end
|
|
32545
|
+
|
|
32546
|
+
# Update properties of this object
|
|
32547
|
+
def update!(**args)
|
|
32548
|
+
@code_execution_environment = args[:code_execution_environment] if args.key?(:code_execution_environment)
|
|
32549
|
+
end
|
|
32550
|
+
end
|
|
32551
|
+
|
|
32552
|
+
# The code execution environment with customized settings.
|
|
32553
|
+
class GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment
|
|
32554
|
+
include Google::Apis::Core::Hashable
|
|
32555
|
+
|
|
32556
|
+
# The coding language supported in this environment.
|
|
32557
|
+
# Corresponds to the JSON property `codeLanguage`
|
|
32558
|
+
# @return [String]
|
|
32559
|
+
attr_accessor :code_language
|
|
32560
|
+
|
|
32561
|
+
# The machine config of the code execution environment.
|
|
32562
|
+
# Corresponds to the JSON property `machineConfig`
|
|
32563
|
+
# @return [String]
|
|
32564
|
+
attr_accessor :machine_config
|
|
32565
|
+
|
|
32566
|
+
def initialize(**args)
|
|
32567
|
+
update!(**args)
|
|
32568
|
+
end
|
|
32569
|
+
|
|
32570
|
+
# Update properties of this object
|
|
32571
|
+
def update!(**args)
|
|
32572
|
+
@code_language = args[:code_language] if args.key?(:code_language)
|
|
32573
|
+
@machine_config = args[:machine_config] if args.key?(:machine_config)
|
|
32574
|
+
end
|
|
32575
|
+
end
|
|
32576
|
+
|
|
31164
32577
|
# A SavedQuery is a view of the dataset. It references a subset of annotations
|
|
31165
32578
|
# by problem type and filters.
|
|
31166
32579
|
class GoogleCloudAiplatformV1SavedQuery
|
|
@@ -31492,154 +32905,166 @@ module Google
|
|
|
31492
32905
|
end
|
|
31493
32906
|
end
|
|
31494
32907
|
|
|
31495
|
-
#
|
|
31496
|
-
#
|
|
31497
|
-
# schema-object). More fields may be added in the future as needed.
|
|
32908
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
32909
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
31498
32910
|
class GoogleCloudAiplatformV1Schema
|
|
31499
32911
|
include Google::Apis::Core::Hashable
|
|
31500
32912
|
|
|
31501
|
-
# Optional.
|
|
31502
|
-
# additional properties
|
|
32913
|
+
# Optional. If `type` is `OBJECT`, specifies how to handle properties not
|
|
32914
|
+
# defined in `properties`. If it is a boolean `false`, no additional properties
|
|
32915
|
+
# are allowed. If it is a schema, additional properties are allowed if they
|
|
32916
|
+
# conform to the schema.
|
|
31503
32917
|
# Corresponds to the JSON property `additionalProperties`
|
|
31504
32918
|
# @return [Object]
|
|
31505
32919
|
attr_accessor :additional_properties
|
|
31506
32920
|
|
|
31507
|
-
# Optional. The
|
|
31508
|
-
# subschemas in
|
|
32921
|
+
# Optional. The instance must be valid against any (one or more) of the
|
|
32922
|
+
# subschemas listed in `any_of`.
|
|
31509
32923
|
# Corresponds to the JSON property `anyOf`
|
|
31510
32924
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
|
31511
32925
|
attr_accessor :any_of
|
|
31512
32926
|
|
|
31513
|
-
# Optional. Default value
|
|
32927
|
+
# Optional. Default value to use if the field is not specified.
|
|
31514
32928
|
# Corresponds to the JSON property `default`
|
|
31515
32929
|
# @return [Object]
|
|
31516
32930
|
attr_accessor :default
|
|
31517
32931
|
|
|
31518
|
-
# Optional.
|
|
31519
|
-
# the schema.
|
|
32932
|
+
# Optional. `defs` provides a map of schema definitions that can be reused by `
|
|
32933
|
+
# ref` elsewhere in the schema. Only allowed at root level of the schema.
|
|
31520
32934
|
# Corresponds to the JSON property `defs`
|
|
31521
32935
|
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
|
31522
32936
|
attr_accessor :defs
|
|
31523
32937
|
|
|
31524
|
-
# Optional.
|
|
32938
|
+
# Optional. Description of the schema.
|
|
31525
32939
|
# Corresponds to the JSON property `description`
|
|
31526
32940
|
# @return [String]
|
|
31527
32941
|
attr_accessor :description
|
|
31528
32942
|
|
|
31529
|
-
# Optional. Possible values of the
|
|
31530
|
-
#
|
|
31531
|
-
#
|
|
31532
|
-
#
|
|
32943
|
+
# Optional. Possible values of the field. This field can be used to restrict a
|
|
32944
|
+
# value to a fixed set of values. To mark a field as an enum, set `format` to `
|
|
32945
|
+
# enum` and provide the list of possible values in `enum`. For example: 1. To
|
|
32946
|
+
# define directions: ``type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH",
|
|
32947
|
+
# "WEST"]`` 2. To define apartment numbers: ``type:INTEGER, format:enum, enum:["
|
|
32948
|
+
# 101", "201", "301"]``
|
|
31533
32949
|
# Corresponds to the JSON property `enum`
|
|
31534
32950
|
# @return [Array<String>]
|
|
31535
32951
|
attr_accessor :enum
|
|
31536
32952
|
|
|
31537
|
-
# Optional. Example of
|
|
31538
|
-
# root.
|
|
32953
|
+
# Optional. Example of an instance of this schema.
|
|
31539
32954
|
# Corresponds to the JSON property `example`
|
|
31540
32955
|
# @return [Object]
|
|
31541
32956
|
attr_accessor :example
|
|
31542
32957
|
|
|
31543
|
-
# Optional. The format of the data.
|
|
31544
|
-
#
|
|
31545
|
-
#
|
|
32958
|
+
# Optional. The format of the data. For `NUMBER` type, format can be `float` or `
|
|
32959
|
+
# double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING`
|
|
32960
|
+
# type, format can be `email`, `byte`, `date`, `date-time`, `password`, and
|
|
32961
|
+
# other formats to further refine the data type.
|
|
31546
32962
|
# Corresponds to the JSON property `format`
|
|
31547
32963
|
# @return [String]
|
|
31548
32964
|
attr_accessor :format
|
|
31549
32965
|
|
|
31550
|
-
#
|
|
31551
|
-
#
|
|
31552
|
-
# schema-object). More fields may be added in the future as needed.
|
|
32966
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
32967
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
31553
32968
|
# Corresponds to the JSON property `items`
|
|
31554
32969
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
|
31555
32970
|
attr_accessor :items
|
|
31556
32971
|
|
|
31557
|
-
# Optional.
|
|
32972
|
+
# Optional. If type is `ARRAY`, `max_items` specifies the maximum number of
|
|
32973
|
+
# items in an array.
|
|
31558
32974
|
# Corresponds to the JSON property `maxItems`
|
|
31559
32975
|
# @return [Fixnum]
|
|
31560
32976
|
attr_accessor :max_items
|
|
31561
32977
|
|
|
31562
|
-
# Optional.
|
|
32978
|
+
# Optional. If type is `STRING`, `max_length` specifies the maximum length of
|
|
32979
|
+
# the string.
|
|
31563
32980
|
# Corresponds to the JSON property `maxLength`
|
|
31564
32981
|
# @return [Fixnum]
|
|
31565
32982
|
attr_accessor :max_length
|
|
31566
32983
|
|
|
31567
|
-
# Optional.
|
|
32984
|
+
# Optional. If type is `OBJECT`, `max_properties` specifies the maximum number
|
|
32985
|
+
# of properties that can be provided.
|
|
31568
32986
|
# Corresponds to the JSON property `maxProperties`
|
|
31569
32987
|
# @return [Fixnum]
|
|
31570
32988
|
attr_accessor :max_properties
|
|
31571
32989
|
|
|
31572
|
-
# Optional.
|
|
32990
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum
|
|
32991
|
+
# allowed value.
|
|
31573
32992
|
# Corresponds to the JSON property `maximum`
|
|
31574
32993
|
# @return [Float]
|
|
31575
32994
|
attr_accessor :maximum
|
|
31576
32995
|
|
|
31577
|
-
# Optional.
|
|
32996
|
+
# Optional. If type is `ARRAY`, `min_items` specifies the minimum number of
|
|
32997
|
+
# items in an array.
|
|
31578
32998
|
# Corresponds to the JSON property `minItems`
|
|
31579
32999
|
# @return [Fixnum]
|
|
31580
33000
|
attr_accessor :min_items
|
|
31581
33001
|
|
|
31582
|
-
# Optional.
|
|
33002
|
+
# Optional. If type is `STRING`, `min_length` specifies the minimum length of
|
|
33003
|
+
# the string.
|
|
31583
33004
|
# Corresponds to the JSON property `minLength`
|
|
31584
33005
|
# @return [Fixnum]
|
|
31585
33006
|
attr_accessor :min_length
|
|
31586
33007
|
|
|
31587
|
-
# Optional.
|
|
33008
|
+
# Optional. If type is `OBJECT`, `min_properties` specifies the minimum number
|
|
33009
|
+
# of properties that can be provided.
|
|
31588
33010
|
# Corresponds to the JSON property `minProperties`
|
|
31589
33011
|
# @return [Fixnum]
|
|
31590
33012
|
attr_accessor :min_properties
|
|
31591
33013
|
|
|
31592
|
-
# Optional.
|
|
31593
|
-
#
|
|
33014
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum
|
|
33015
|
+
# allowed value.
|
|
31594
33016
|
# Corresponds to the JSON property `minimum`
|
|
31595
33017
|
# @return [Float]
|
|
31596
33018
|
attr_accessor :minimum
|
|
31597
33019
|
|
|
31598
|
-
# Optional. Indicates if the value
|
|
33020
|
+
# Optional. Indicates if the value of this field can be null.
|
|
31599
33021
|
# Corresponds to the JSON property `nullable`
|
|
31600
33022
|
# @return [Boolean]
|
|
31601
33023
|
attr_accessor :nullable
|
|
31602
33024
|
alias_method :nullable?, :nullable
|
|
31603
33025
|
|
|
31604
|
-
# Optional.
|
|
31605
|
-
#
|
|
33026
|
+
# Optional. If type is `STRING`, `pattern` specifies a regular expression that
|
|
33027
|
+
# the string must match.
|
|
31606
33028
|
# Corresponds to the JSON property `pattern`
|
|
31607
33029
|
# @return [String]
|
|
31608
33030
|
attr_accessor :pattern
|
|
31609
33031
|
|
|
31610
|
-
# Optional.
|
|
33032
|
+
# Optional. If type is `OBJECT`, `properties` is a map of property names to
|
|
33033
|
+
# schema definitions for each property of the object.
|
|
31611
33034
|
# Corresponds to the JSON property `properties`
|
|
31612
33035
|
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
|
31613
33036
|
attr_accessor :properties
|
|
31614
33037
|
|
|
31615
|
-
# Optional.
|
|
31616
|
-
#
|
|
33038
|
+
# Optional. Order of properties displayed or used where order matters. This is
|
|
33039
|
+
# not a standard field in OpenAPI specification, but can be used to control the
|
|
33040
|
+
# order of properties.
|
|
31617
33041
|
# Corresponds to the JSON property `propertyOrdering`
|
|
31618
33042
|
# @return [Array<String>]
|
|
31619
33043
|
attr_accessor :property_ordering
|
|
31620
33044
|
|
|
31621
|
-
# Optional. Allows
|
|
31622
|
-
# a valid reference to a
|
|
31623
|
-
# schema defines a reference to a schema node named "Pet": type:
|
|
31624
|
-
# properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
31625
|
-
# type: string The value of the "pet" property is a reference to the
|
|
31626
|
-
# named "Pet". See details in https://json-schema.org/understanding-
|
|
31627
|
-
# structuring
|
|
33045
|
+
# Optional. Allows referencing another schema definition to use in place of this
|
|
33046
|
+
# schema. The value must be a valid reference to a schema in `defs`. For example,
|
|
33047
|
+
# the following schema defines a reference to a schema node named "Pet": type:
|
|
33048
|
+
# object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
33049
|
+
# name: type: string The value of the "pet" property is a reference to the
|
|
33050
|
+
# schema node named "Pet". See details in https://json-schema.org/understanding-
|
|
33051
|
+
# json-schema/structuring
|
|
31628
33052
|
# Corresponds to the JSON property `ref`
|
|
31629
33053
|
# @return [String]
|
|
31630
33054
|
attr_accessor :ref
|
|
31631
33055
|
|
|
31632
|
-
# Optional.
|
|
33056
|
+
# Optional. If type is `OBJECT`, `required` lists the names of properties that
|
|
33057
|
+
# must be present.
|
|
31633
33058
|
# Corresponds to the JSON property `required`
|
|
31634
33059
|
# @return [Array<String>]
|
|
31635
33060
|
attr_accessor :required
|
|
31636
33061
|
|
|
31637
|
-
# Optional.
|
|
33062
|
+
# Optional. Title for the schema.
|
|
31638
33063
|
# Corresponds to the JSON property `title`
|
|
31639
33064
|
# @return [String]
|
|
31640
33065
|
attr_accessor :title
|
|
31641
33066
|
|
|
31642
|
-
# Optional.
|
|
33067
|
+
# Optional. Data type of the schema field.
|
|
31643
33068
|
# Corresponds to the JSON property `type`
|
|
31644
33069
|
# @return [String]
|
|
31645
33070
|
attr_accessor :type
|
|
@@ -34422,6 +35847,11 @@ module Google
|
|
|
34422
35847
|
# @return [String]
|
|
34423
35848
|
attr_accessor :code_repository_state
|
|
34424
35849
|
|
|
35850
|
+
# Optional. Framework used to build the application.
|
|
35851
|
+
# Corresponds to the JSON property `framework`
|
|
35852
|
+
# @return [String]
|
|
35853
|
+
attr_accessor :framework
|
|
35854
|
+
|
|
34425
35855
|
# Linked resources attached to the application by the user.
|
|
34426
35856
|
# Corresponds to the JSON property `linkedResources`
|
|
34427
35857
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource>]
|
|
@@ -34434,6 +35864,7 @@ module Google
|
|
|
34434
35864
|
# Update properties of this object
|
|
34435
35865
|
def update!(**args)
|
|
34436
35866
|
@code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
|
|
35867
|
+
@framework = args[:framework] if args.key?(:framework)
|
|
34437
35868
|
@linked_resources = args[:linked_resources] if args.key?(:linked_resources)
|
|
34438
35869
|
end
|
|
34439
35870
|
end
|
|
@@ -38142,17 +39573,19 @@ module Google
|
|
|
38142
39573
|
end
|
|
38143
39574
|
end
|
|
38144
39575
|
|
|
38145
|
-
#
|
|
38146
|
-
#
|
|
39576
|
+
# Represents a 2D point in the image. Vertex coordinates are normalized to be
|
|
39577
|
+
# relative to the original image dimensions and range from 0 to 1. The origin of
|
|
39578
|
+
# the coordinate system (0,0) is the top-left corner of the image. x increases
|
|
39579
|
+
# to the right, and y increases to the bottom.
|
|
38147
39580
|
class GoogleCloudAiplatformV1SchemaVertex
|
|
38148
39581
|
include Google::Apis::Core::Hashable
|
|
38149
39582
|
|
|
38150
|
-
# X coordinate.
|
|
39583
|
+
# X coordinate of the vertex, normalized to [0.0, 1.0].
|
|
38151
39584
|
# Corresponds to the JSON property `x`
|
|
38152
39585
|
# @return [Float]
|
|
38153
39586
|
attr_accessor :x
|
|
38154
39587
|
|
|
38155
|
-
# Y coordinate.
|
|
39588
|
+
# Y coordinate of the vertex, normalized to [0.0, 1.0].
|
|
38156
39589
|
# Corresponds to the JSON property `y`
|
|
38157
39590
|
# @return [Float]
|
|
38158
39591
|
attr_accessor :y
|
|
@@ -38830,6 +40263,152 @@ module Google
|
|
|
38830
40263
|
end
|
|
38831
40264
|
end
|
|
38832
40265
|
|
|
40266
|
+
# A session contains a set of actions between users and Vertex agents.
|
|
40267
|
+
class GoogleCloudAiplatformV1Session
|
|
40268
|
+
include Google::Apis::Core::Hashable
|
|
40269
|
+
|
|
40270
|
+
# Output only. Timestamp when the session was created.
|
|
40271
|
+
# Corresponds to the JSON property `createTime`
|
|
40272
|
+
# @return [String]
|
|
40273
|
+
attr_accessor :create_time
|
|
40274
|
+
|
|
40275
|
+
# Optional. The display name of the session.
|
|
40276
|
+
# Corresponds to the JSON property `displayName`
|
|
40277
|
+
# @return [String]
|
|
40278
|
+
attr_accessor :display_name
|
|
40279
|
+
|
|
40280
|
+
# Optional. Timestamp of when this session is considered expired. This is *
|
|
40281
|
+
# always* provided on output, regardless of what was sent on input. The minimum
|
|
40282
|
+
# value is 24 hours from the time of creation.
|
|
40283
|
+
# Corresponds to the JSON property `expireTime`
|
|
40284
|
+
# @return [String]
|
|
40285
|
+
attr_accessor :expire_time
|
|
40286
|
+
|
|
40287
|
+
# The labels with user-defined metadata to organize your Sessions. Label keys
|
|
40288
|
+
# and values can be no longer than 64 characters (Unicode codepoints), can only
|
|
40289
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
|
40290
|
+
# International characters are allowed. See https://goo.gl/xmQnxf for more
|
|
40291
|
+
# information and examples of labels.
|
|
40292
|
+
# Corresponds to the JSON property `labels`
|
|
40293
|
+
# @return [Hash<String,String>]
|
|
40294
|
+
attr_accessor :labels
|
|
40295
|
+
|
|
40296
|
+
# Identifier. The resource name of the session. Format: 'projects/`project`/
|
|
40297
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
|
|
40298
|
+
# Corresponds to the JSON property `name`
|
|
40299
|
+
# @return [String]
|
|
40300
|
+
attr_accessor :name
|
|
40301
|
+
|
|
40302
|
+
# Optional. Session specific memory which stores key conversation points.
|
|
40303
|
+
# Corresponds to the JSON property `sessionState`
|
|
40304
|
+
# @return [Hash<String,Object>]
|
|
40305
|
+
attr_accessor :session_state
|
|
40306
|
+
|
|
40307
|
+
# Optional. Input only. The TTL for this session. The minimum value is 24 hours.
|
|
40308
|
+
# Corresponds to the JSON property `ttl`
|
|
40309
|
+
# @return [String]
|
|
40310
|
+
attr_accessor :ttl
|
|
40311
|
+
|
|
40312
|
+
# Output only. Timestamp when the session was updated.
|
|
40313
|
+
# Corresponds to the JSON property `updateTime`
|
|
40314
|
+
# @return [String]
|
|
40315
|
+
attr_accessor :update_time
|
|
40316
|
+
|
|
40317
|
+
# Required. Immutable. String id provided by the user
|
|
40318
|
+
# Corresponds to the JSON property `userId`
|
|
40319
|
+
# @return [String]
|
|
40320
|
+
attr_accessor :user_id
|
|
40321
|
+
|
|
40322
|
+
def initialize(**args)
|
|
40323
|
+
update!(**args)
|
|
40324
|
+
end
|
|
40325
|
+
|
|
40326
|
+
# Update properties of this object
|
|
40327
|
+
def update!(**args)
|
|
40328
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
40329
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
40330
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
40331
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
40332
|
+
@name = args[:name] if args.key?(:name)
|
|
40333
|
+
@session_state = args[:session_state] if args.key?(:session_state)
|
|
40334
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
40335
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
40336
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
|
40337
|
+
end
|
|
40338
|
+
end
|
|
40339
|
+
|
|
40340
|
+
# An event represents a message from either the user or agent.
|
|
40341
|
+
class GoogleCloudAiplatformV1SessionEvent
|
|
40342
|
+
include Google::Apis::Core::Hashable
|
|
40343
|
+
|
|
40344
|
+
# Actions are parts of events that are executed by the agent.
|
|
40345
|
+
# Corresponds to the JSON property `actions`
|
|
40346
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EventActions]
|
|
40347
|
+
attr_accessor :actions
|
|
40348
|
+
|
|
40349
|
+
# Required. The name of the agent that sent the event, or user.
|
|
40350
|
+
# Corresponds to the JSON property `author`
|
|
40351
|
+
# @return [String]
|
|
40352
|
+
attr_accessor :author
|
|
40353
|
+
|
|
40354
|
+
# The structured data content of a message. A Content message contains a `role`
|
|
40355
|
+
# field, which indicates the producer of the content, and a `parts` field, which
|
|
40356
|
+
# contains the multi-part data of the message.
|
|
40357
|
+
# Corresponds to the JSON property `content`
|
|
40358
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
|
|
40359
|
+
attr_accessor :content
|
|
40360
|
+
|
|
40361
|
+
# Optional. Error code if the response is an error. Code varies by model.
|
|
40362
|
+
# Corresponds to the JSON property `errorCode`
|
|
40363
|
+
# @return [String]
|
|
40364
|
+
attr_accessor :error_code
|
|
40365
|
+
|
|
40366
|
+
# Optional. Error message if the response is an error.
|
|
40367
|
+
# Corresponds to the JSON property `errorMessage`
|
|
40368
|
+
# @return [String]
|
|
40369
|
+
attr_accessor :error_message
|
|
40370
|
+
|
|
40371
|
+
# Metadata relating to a LLM response event.
|
|
40372
|
+
# Corresponds to the JSON property `eventMetadata`
|
|
40373
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EventMetadata]
|
|
40374
|
+
attr_accessor :event_metadata
|
|
40375
|
+
|
|
40376
|
+
# Required. The invocation id of the event, multiple events can have the same
|
|
40377
|
+
# invocation id.
|
|
40378
|
+
# Corresponds to the JSON property `invocationId`
|
|
40379
|
+
# @return [String]
|
|
40380
|
+
attr_accessor :invocation_id
|
|
40381
|
+
|
|
40382
|
+
# Identifier. The resource name of the event. Format:`projects/`project`/
|
|
40383
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`/
|
|
40384
|
+
# events/`event``.
|
|
40385
|
+
# Corresponds to the JSON property `name`
|
|
40386
|
+
# @return [String]
|
|
40387
|
+
attr_accessor :name
|
|
40388
|
+
|
|
40389
|
+
# Required. Timestamp when the event was created on client side.
|
|
40390
|
+
# Corresponds to the JSON property `timestamp`
|
|
40391
|
+
# @return [String]
|
|
40392
|
+
attr_accessor :timestamp
|
|
40393
|
+
|
|
40394
|
+
def initialize(**args)
|
|
40395
|
+
update!(**args)
|
|
40396
|
+
end
|
|
40397
|
+
|
|
40398
|
+
# Update properties of this object
|
|
40399
|
+
def update!(**args)
|
|
40400
|
+
@actions = args[:actions] if args.key?(:actions)
|
|
40401
|
+
@author = args[:author] if args.key?(:author)
|
|
40402
|
+
@content = args[:content] if args.key?(:content)
|
|
40403
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
|
40404
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
|
40405
|
+
@event_metadata = args[:event_metadata] if args.key?(:event_metadata)
|
|
40406
|
+
@invocation_id = args[:invocation_id] if args.key?(:invocation_id)
|
|
40407
|
+
@name = args[:name] if args.key?(:name)
|
|
40408
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
40409
|
+
end
|
|
40410
|
+
end
|
|
40411
|
+
|
|
38833
40412
|
# The SharePointSources to pass to ImportRagFiles.
|
|
38834
40413
|
class GoogleCloudAiplatformV1SharePointSources
|
|
38835
40414
|
include Google::Apis::Core::Hashable
|
|
@@ -41303,8 +42882,8 @@ module Google
|
|
|
41303
42882
|
# @return [String]
|
|
41304
42883
|
attr_accessor :display_name
|
|
41305
42884
|
|
|
41306
|
-
# Represents a customer-managed encryption key
|
|
41307
|
-
#
|
|
42885
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
42886
|
+
# to a Vertex AI resource.
|
|
41308
42887
|
# Corresponds to the JSON property `encryptionSpec`
|
|
41309
42888
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
41310
42889
|
attr_accessor :encryption_spec
|
|
@@ -41943,6 +43522,12 @@ module Google
|
|
|
41943
43522
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
|
|
41944
43523
|
attr_accessor :google_search_retrieval
|
|
41945
43524
|
|
|
43525
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
43526
|
+
# grounding.
|
|
43527
|
+
# Corresponds to the JSON property `parallelAiSearch`
|
|
43528
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParallelAiSearch]
|
|
43529
|
+
attr_accessor :parallel_ai_search
|
|
43530
|
+
|
|
41946
43531
|
# Defines a retrieval tool that model can call to access external knowledge.
|
|
41947
43532
|
# Corresponds to the JSON property `retrieval`
|
|
41948
43533
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
|
|
@@ -41966,6 +43551,7 @@ module Google
|
|
|
41966
43551
|
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
|
41967
43552
|
@google_search = args[:google_search] if args.key?(:google_search)
|
|
41968
43553
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
|
43554
|
+
@parallel_ai_search = args[:parallel_ai_search] if args.key?(:parallel_ai_search)
|
|
41969
43555
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
|
41970
43556
|
@url_context = args[:url_context] if args.key?(:url_context)
|
|
41971
43557
|
end
|
|
@@ -42296,6 +43882,42 @@ module Google
|
|
|
42296
43882
|
end
|
|
42297
43883
|
end
|
|
42298
43884
|
|
|
43885
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
43886
|
+
# grounding.
|
|
43887
|
+
class GoogleCloudAiplatformV1ToolParallelAiSearch
|
|
43888
|
+
include Google::Apis::Core::Hashable
|
|
43889
|
+
|
|
43890
|
+
# Optional. The API key for ParallelAiSearch. If an API key is not provided, the
|
|
43891
|
+
# system will attempt to verify access by checking for an active Parallel.ai
|
|
43892
|
+
# subscription through the Google Cloud Marketplace. See https://docs.parallel.
|
|
43893
|
+
# ai/search/search-quickstart for more details.
|
|
43894
|
+
# Corresponds to the JSON property `apiKey`
|
|
43895
|
+
# @return [String]
|
|
43896
|
+
attr_accessor :api_key
|
|
43897
|
+
|
|
43898
|
+
# Optional. Custom configs for ParallelAiSearch. This field can be used to pass
|
|
43899
|
+
# any parameter from the Parallel.ai Search API. See the Parallel.ai
|
|
43900
|
+
# documentation for the full list of available parameters and their usage: https:
|
|
43901
|
+
# //docs.parallel.ai/api-reference/search-beta/search Currently only `
|
|
43902
|
+
# source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set
|
|
43903
|
+
# via this field. For example: ` "source_policy": ` "include_domains": ["google.
|
|
43904
|
+
# com", "wikipedia.org"], "exclude_domains": ["example.com"] `, "fetch_policy": `
|
|
43905
|
+
# "max_age_seconds": 3600 ` `
|
|
43906
|
+
# Corresponds to the JSON property `customConfigs`
|
|
43907
|
+
# @return [Hash<String,Object>]
|
|
43908
|
+
attr_accessor :custom_configs
|
|
43909
|
+
|
|
43910
|
+
def initialize(**args)
|
|
43911
|
+
update!(**args)
|
|
43912
|
+
end
|
|
43913
|
+
|
|
43914
|
+
# Update properties of this object
|
|
43915
|
+
def update!(**args)
|
|
43916
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
|
43917
|
+
@custom_configs = args[:custom_configs] if args.key?(:custom_configs)
|
|
43918
|
+
end
|
|
43919
|
+
end
|
|
43920
|
+
|
|
42299
43921
|
# Input for tool parameter key value match metric.
|
|
42300
43922
|
class GoogleCloudAiplatformV1ToolParameterKvMatchInput
|
|
42301
43923
|
include Google::Apis::Core::Hashable
|
|
@@ -42544,8 +44166,8 @@ module Google
|
|
|
42544
44166
|
# @return [String]
|
|
42545
44167
|
attr_accessor :display_name
|
|
42546
44168
|
|
|
42547
|
-
# Represents a customer-managed encryption key
|
|
42548
|
-
#
|
|
44169
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
44170
|
+
# to a Vertex AI resource.
|
|
42549
44171
|
# Corresponds to the JSON property `encryptionSpec`
|
|
42550
44172
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
42551
44173
|
attr_accessor :encryption_spec
|
|
@@ -43637,8 +45259,8 @@ module Google
|
|
|
43637
45259
|
# @return [String]
|
|
43638
45260
|
attr_accessor :description
|
|
43639
45261
|
|
|
43640
|
-
# Represents a customer-managed encryption key
|
|
43641
|
-
#
|
|
45262
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
45263
|
+
# to a Vertex AI resource.
|
|
43642
45264
|
# Corresponds to the JSON property `encryptionSpec`
|
|
43643
45265
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
43644
45266
|
attr_accessor :encryption_spec
|