google-apis-aiplatform_v1beta1 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1179 -120
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +514 -2
- data/lib/google/apis/aiplatform_v1beta1/service.rb +327 -7
- metadata +3 -3
@@ -1844,6 +1844,222 @@ module Google
|
|
1844
1844
|
end
|
1845
1845
|
end
|
1846
1846
|
|
1847
|
+
# Auth configuration to run the extension.
|
1848
|
+
class GoogleCloudAiplatformV1beta1AuthConfig
|
1849
|
+
include Google::Apis::Core::Hashable
|
1850
|
+
|
1851
|
+
# Config for authentication with API key.
|
1852
|
+
# Corresponds to the JSON property `apiKeyConfig`
|
1853
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig]
|
1854
|
+
attr_accessor :api_key_config
|
1855
|
+
|
1856
|
+
# Type of auth scheme.
|
1857
|
+
# Corresponds to the JSON property `authType`
|
1858
|
+
# @return [String]
|
1859
|
+
attr_accessor :auth_type
|
1860
|
+
|
1861
|
+
# Config for Google Service Account Authentication.
|
1862
|
+
# Corresponds to the JSON property `googleServiceAccountConfig`
|
1863
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig]
|
1864
|
+
attr_accessor :google_service_account_config
|
1865
|
+
|
1866
|
+
# Config for HTTP Basic Authentication.
|
1867
|
+
# Corresponds to the JSON property `httpBasicAuthConfig`
|
1868
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig]
|
1869
|
+
attr_accessor :http_basic_auth_config
|
1870
|
+
|
1871
|
+
# Empty message, used to indicate no authentication for an endpoint.
|
1872
|
+
# Corresponds to the JSON property `noAuth`
|
1873
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigNoAuth]
|
1874
|
+
attr_accessor :no_auth
|
1875
|
+
|
1876
|
+
# Config for user oauth.
|
1877
|
+
# Corresponds to the JSON property `oauthConfig`
|
1878
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig]
|
1879
|
+
attr_accessor :oauth_config
|
1880
|
+
|
1881
|
+
# Config for user OIDC auth.
|
1882
|
+
# Corresponds to the JSON property `oidcConfig`
|
1883
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig]
|
1884
|
+
attr_accessor :oidc_config
|
1885
|
+
|
1886
|
+
def initialize(**args)
|
1887
|
+
update!(**args)
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Update properties of this object
|
1891
|
+
def update!(**args)
|
1892
|
+
@api_key_config = args[:api_key_config] if args.key?(:api_key_config)
|
1893
|
+
@auth_type = args[:auth_type] if args.key?(:auth_type)
|
1894
|
+
@google_service_account_config = args[:google_service_account_config] if args.key?(:google_service_account_config)
|
1895
|
+
@http_basic_auth_config = args[:http_basic_auth_config] if args.key?(:http_basic_auth_config)
|
1896
|
+
@no_auth = args[:no_auth] if args.key?(:no_auth)
|
1897
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
1898
|
+
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
1899
|
+
end
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
# Config for authentication with API key.
|
1903
|
+
class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
|
1904
|
+
include Google::Apis::Core::Hashable
|
1905
|
+
|
1906
|
+
# Required. The name of the SecretManager secret version resource storing the
|
1907
|
+
# API key. Format: `projects/`project`/secrets/`secrete`/versions/`version`` -
|
1908
|
+
# If specified, the `secretmanager.versions.access` permission should be granted
|
1909
|
+
# to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/
|
1910
|
+
# general/access-control#service-agents) on the specified resource.
|
1911
|
+
# Corresponds to the JSON property `apiKeySecret`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :api_key_secret
|
1914
|
+
|
1915
|
+
# Required. The location of the API key.
|
1916
|
+
# Corresponds to the JSON property `httpElementLocation`
|
1917
|
+
# @return [String]
|
1918
|
+
attr_accessor :http_element_location
|
1919
|
+
|
1920
|
+
# Required. The parameter name of the API key. E.g. If the API request is "https:
|
1921
|
+
# //example.com/act?api_key=", "api_key" would be the parameter name.
|
1922
|
+
# Corresponds to the JSON property `name`
|
1923
|
+
# @return [String]
|
1924
|
+
attr_accessor :name
|
1925
|
+
|
1926
|
+
def initialize(**args)
|
1927
|
+
update!(**args)
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
# Update properties of this object
|
1931
|
+
def update!(**args)
|
1932
|
+
@api_key_secret = args[:api_key_secret] if args.key?(:api_key_secret)
|
1933
|
+
@http_element_location = args[:http_element_location] if args.key?(:http_element_location)
|
1934
|
+
@name = args[:name] if args.key?(:name)
|
1935
|
+
end
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
# Config for Google Service Account Authentication.
|
1939
|
+
class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
|
1940
|
+
include Google::Apis::Core::Hashable
|
1941
|
+
|
1942
|
+
# Optional. The service account that the extension execution service runs as. -
|
1943
|
+
# If the service account is specified, the `iam.serviceAccounts.getAccessToken`
|
1944
|
+
# permission should be granted to Vertex AI Extension Service Agent (https://
|
1945
|
+
# cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
|
1946
|
+
# specified service account. - If not specified, the Vertex AI Extension Service
|
1947
|
+
# Agent will be used to execute the Extension.
|
1948
|
+
# Corresponds to the JSON property `serviceAccount`
|
1949
|
+
# @return [String]
|
1950
|
+
attr_accessor :service_account
|
1951
|
+
|
1952
|
+
def initialize(**args)
|
1953
|
+
update!(**args)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Update properties of this object
|
1957
|
+
def update!(**args)
|
1958
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# Config for HTTP Basic Authentication.
|
1963
|
+
class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
|
1964
|
+
include Google::Apis::Core::Hashable
|
1965
|
+
|
1966
|
+
# Required. The name of the SecretManager secret version resource storing the
|
1967
|
+
# base64 encoded credentials. Format: `projects/`project`/secrets/`secrete`/
|
1968
|
+
# versions/`version`` - If specified, the `secretmanager.versions.access`
|
1969
|
+
# permission should be granted to Vertex AI Extension Service Agent (https://
|
1970
|
+
# cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
|
1971
|
+
# specified resource.
|
1972
|
+
# Corresponds to the JSON property `credentialSecret`
|
1973
|
+
# @return [String]
|
1974
|
+
attr_accessor :credential_secret
|
1975
|
+
|
1976
|
+
def initialize(**args)
|
1977
|
+
update!(**args)
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
# Update properties of this object
|
1981
|
+
def update!(**args)
|
1982
|
+
@credential_secret = args[:credential_secret] if args.key?(:credential_secret)
|
1983
|
+
end
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# Empty message, used to indicate no authentication for an endpoint.
|
1987
|
+
class GoogleCloudAiplatformV1beta1AuthConfigNoAuth
|
1988
|
+
include Google::Apis::Core::Hashable
|
1989
|
+
|
1990
|
+
def initialize(**args)
|
1991
|
+
update!(**args)
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
# Update properties of this object
|
1995
|
+
def update!(**args)
|
1996
|
+
end
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
# Config for user oauth.
|
2000
|
+
class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
|
2001
|
+
include Google::Apis::Core::Hashable
|
2002
|
+
|
2003
|
+
# Access token for extension endpoint. Only used to propagate token from [[
|
2004
|
+
# ExecuteExtensionRequest.runtime_auth_config]] at request time.
|
2005
|
+
# Corresponds to the JSON property `accessToken`
|
2006
|
+
# @return [String]
|
2007
|
+
attr_accessor :access_token
|
2008
|
+
|
2009
|
+
# The service account used to generate access tokens for executing the Extension.
|
2010
|
+
# - If the service account is specified, the `iam.serviceAccounts.
|
2011
|
+
# getAccessToken` permission should be granted to Vertex AI Extension Service
|
2012
|
+
# Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-
|
2013
|
+
# agents) on the provided service account.
|
2014
|
+
# Corresponds to the JSON property `serviceAccount`
|
2015
|
+
# @return [String]
|
2016
|
+
attr_accessor :service_account
|
2017
|
+
|
2018
|
+
def initialize(**args)
|
2019
|
+
update!(**args)
|
2020
|
+
end
|
2021
|
+
|
2022
|
+
# Update properties of this object
|
2023
|
+
def update!(**args)
|
2024
|
+
@access_token = args[:access_token] if args.key?(:access_token)
|
2025
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# Config for user OIDC auth.
|
2030
|
+
class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
|
2031
|
+
include Google::Apis::Core::Hashable
|
2032
|
+
|
2033
|
+
# OpenID Connect formatted ID token for extension endpoint. Only used to
|
2034
|
+
# propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at
|
2035
|
+
# request time.
|
2036
|
+
# Corresponds to the JSON property `idToken`
|
2037
|
+
# @return [String]
|
2038
|
+
attr_accessor :id_token
|
2039
|
+
|
2040
|
+
# The service account used to generate an OpenID Connect (OIDC)-compatible JWT
|
2041
|
+
# token signed by the Google OIDC Provider (accounts.google.com) for extension
|
2042
|
+
# endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-
|
2043
|
+
# direct#sa-credentials-oidc). - The audience for the token will be set to the
|
2044
|
+
# URL in the server url defined in the OpenApi spec. - If the service account is
|
2045
|
+
# provided, the service account should grant `iam.serviceAccounts.getOpenIdToken`
|
2046
|
+
# permission to Vertex AI Extension Service Agent (https://cloud.google.com/
|
2047
|
+
# vertex-ai/docs/general/access-control#service-agents).
|
2048
|
+
# Corresponds to the JSON property `serviceAccount`
|
2049
|
+
# @return [String]
|
2050
|
+
attr_accessor :service_account
|
2051
|
+
|
2052
|
+
def initialize(**args)
|
2053
|
+
update!(**args)
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
# Update properties of this object
|
2057
|
+
def update!(**args)
|
2058
|
+
@id_token = args[:id_token] if args.key?(:id_token)
|
2059
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2060
|
+
end
|
2061
|
+
end
|
2062
|
+
|
1847
2063
|
# A description of resources that to large degree are decided by Vertex AI, and
|
1848
2064
|
# require only a modest additional configuration. Each Model supporting these
|
1849
2065
|
# resources documents its specific guidelines.
|
@@ -3223,6 +3439,26 @@ module Google
|
|
3223
3439
|
end
|
3224
3440
|
end
|
3225
3441
|
|
3442
|
+
# Placeholder for all checkpoint related data. Any data needed to restore a
|
3443
|
+
# request and more go/vertex-extension-query-operation
|
3444
|
+
class GoogleCloudAiplatformV1beta1CheckPoint
|
3445
|
+
include Google::Apis::Core::Hashable
|
3446
|
+
|
3447
|
+
# Required. encoded checkpoint
|
3448
|
+
# Corresponds to the JSON property `content`
|
3449
|
+
# @return [String]
|
3450
|
+
attr_accessor :content
|
3451
|
+
|
3452
|
+
def initialize(**args)
|
3453
|
+
update!(**args)
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# Update properties of this object
|
3457
|
+
def update!(**args)
|
3458
|
+
@content = args[:content] if args.key?(:content)
|
3459
|
+
end
|
3460
|
+
end
|
3461
|
+
|
3226
3462
|
# This message will be placed in the metadata field of a google.longrunning.
|
3227
3463
|
# Operation associated with a CheckTrialEarlyStoppingState request.
|
3228
3464
|
class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata
|
@@ -6219,11 +6455,6 @@ module Google
|
|
6219
6455
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
6220
6456
|
attr_accessor :predict_request_response_logging_config
|
6221
6457
|
|
6222
|
-
# Represents configuration for private service connect.
|
6223
|
-
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6224
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
|
6225
|
-
attr_accessor :private_service_connect_config
|
6226
|
-
|
6227
6458
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
6228
6459
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
6229
6460
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -6256,7 +6487,6 @@ module Google
|
|
6256
6487
|
@name = args[:name] if args.key?(:name)
|
6257
6488
|
@network = args[:network] if args.key?(:network)
|
6258
6489
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
6259
|
-
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6260
6490
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
6261
6491
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6262
6492
|
end
|
@@ -6764,6 +6994,61 @@ module Google
|
|
6764
6994
|
end
|
6765
6995
|
end
|
6766
6996
|
|
6997
|
+
# Request message for ExtensionExecutionService.ExecuteExtension.
|
6998
|
+
class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest
|
6999
|
+
include Google::Apis::Core::Hashable
|
7000
|
+
|
7001
|
+
# Required. The desired ID of the operation to be executed in this extension as
|
7002
|
+
# defined in ExtensionOperation.operation_id.
|
7003
|
+
# Corresponds to the JSON property `operationId`
|
7004
|
+
# @return [String]
|
7005
|
+
attr_accessor :operation_id
|
7006
|
+
|
7007
|
+
# Optional. Request parameters that will be used for executing this operation.
|
7008
|
+
# The struct should be in a form of map with param name as the key and actual
|
7009
|
+
# param value as the value. E.g. If this operation requires a param "name" to be
|
7010
|
+
# set to "abc". you can set this to something like `"name": "abc"`.
|
7011
|
+
# Corresponds to the JSON property `operationParams`
|
7012
|
+
# @return [Hash<String,Object>]
|
7013
|
+
attr_accessor :operation_params
|
7014
|
+
|
7015
|
+
# Auth configuration to run the extension.
|
7016
|
+
# Corresponds to the JSON property `runtimeAuthConfig`
|
7017
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig]
|
7018
|
+
attr_accessor :runtime_auth_config
|
7019
|
+
|
7020
|
+
def initialize(**args)
|
7021
|
+
update!(**args)
|
7022
|
+
end
|
7023
|
+
|
7024
|
+
# Update properties of this object
|
7025
|
+
def update!(**args)
|
7026
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
7027
|
+
@operation_params = args[:operation_params] if args.key?(:operation_params)
|
7028
|
+
@runtime_auth_config = args[:runtime_auth_config] if args.key?(:runtime_auth_config)
|
7029
|
+
end
|
7030
|
+
end
|
7031
|
+
|
7032
|
+
# Response message for ExtensionExecutionService.ExecuteExtension.
|
7033
|
+
class GoogleCloudAiplatformV1beta1ExecuteExtensionResponse
|
7034
|
+
include Google::Apis::Core::Hashable
|
7035
|
+
|
7036
|
+
# Response content from the extension. The content should be conformant to the
|
7037
|
+
# response.content schema in the extension's manifest/OpenAPI spec.
|
7038
|
+
# Corresponds to the JSON property `content`
|
7039
|
+
# @return [String]
|
7040
|
+
attr_accessor :content
|
7041
|
+
|
7042
|
+
def initialize(**args)
|
7043
|
+
update!(**args)
|
7044
|
+
end
|
7045
|
+
|
7046
|
+
# Update properties of this object
|
7047
|
+
def update!(**args)
|
7048
|
+
@content = args[:content] if args.key?(:content)
|
7049
|
+
end
|
7050
|
+
end
|
7051
|
+
|
6767
7052
|
# Instance of a general execution.
|
6768
7053
|
class GoogleCloudAiplatformV1beta1Execution
|
6769
7054
|
include Google::Apis::Core::Hashable
|
@@ -6859,6 +7144,88 @@ module Google
|
|
6859
7144
|
end
|
6860
7145
|
end
|
6861
7146
|
|
7147
|
+
# Execution plan for a request.
|
7148
|
+
class GoogleCloudAiplatformV1beta1ExecutionPlan
|
7149
|
+
include Google::Apis::Core::Hashable
|
7150
|
+
|
7151
|
+
# Required. Sequence of steps to execute a request.
|
7152
|
+
# Corresponds to the JSON property `steps`
|
7153
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutionPlanStep>]
|
7154
|
+
attr_accessor :steps
|
7155
|
+
|
7156
|
+
def initialize(**args)
|
7157
|
+
update!(**args)
|
7158
|
+
end
|
7159
|
+
|
7160
|
+
# Update properties of this object
|
7161
|
+
def update!(**args)
|
7162
|
+
@steps = args[:steps] if args.key?(:steps)
|
7163
|
+
end
|
7164
|
+
end
|
7165
|
+
|
7166
|
+
# Single step in query execution plan.
|
7167
|
+
class GoogleCloudAiplatformV1beta1ExecutionPlanStep
|
7168
|
+
include Google::Apis::Core::Hashable
|
7169
|
+
|
7170
|
+
# Extension execution step.
|
7171
|
+
# Corresponds to the JSON property `extensionExecution`
|
7172
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutionPlanStepExtensionExecution]
|
7173
|
+
attr_accessor :extension_execution
|
7174
|
+
|
7175
|
+
# Respond to user step.
|
7176
|
+
# Corresponds to the JSON property `respondToUser`
|
7177
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutionPlanStepRespondToUser]
|
7178
|
+
attr_accessor :respond_to_user
|
7179
|
+
|
7180
|
+
def initialize(**args)
|
7181
|
+
update!(**args)
|
7182
|
+
end
|
7183
|
+
|
7184
|
+
# Update properties of this object
|
7185
|
+
def update!(**args)
|
7186
|
+
@extension_execution = args[:extension_execution] if args.key?(:extension_execution)
|
7187
|
+
@respond_to_user = args[:respond_to_user] if args.key?(:respond_to_user)
|
7188
|
+
end
|
7189
|
+
end
|
7190
|
+
|
7191
|
+
# Extension execution step.
|
7192
|
+
class GoogleCloudAiplatformV1beta1ExecutionPlanStepExtensionExecution
|
7193
|
+
include Google::Apis::Core::Hashable
|
7194
|
+
|
7195
|
+
# Required. extension resource name
|
7196
|
+
# Corresponds to the JSON property `extension`
|
7197
|
+
# @return [String]
|
7198
|
+
attr_accessor :extension
|
7199
|
+
|
7200
|
+
# Required. the operation id
|
7201
|
+
# Corresponds to the JSON property `operationId`
|
7202
|
+
# @return [String]
|
7203
|
+
attr_accessor :operation_id
|
7204
|
+
|
7205
|
+
def initialize(**args)
|
7206
|
+
update!(**args)
|
7207
|
+
end
|
7208
|
+
|
7209
|
+
# Update properties of this object
|
7210
|
+
def update!(**args)
|
7211
|
+
@extension = args[:extension] if args.key?(:extension)
|
7212
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
7213
|
+
end
|
7214
|
+
end
|
7215
|
+
|
7216
|
+
# Respond to user step.
|
7217
|
+
class GoogleCloudAiplatformV1beta1ExecutionPlanStepRespondToUser
|
7218
|
+
include Google::Apis::Core::Hashable
|
7219
|
+
|
7220
|
+
def initialize(**args)
|
7221
|
+
update!(**args)
|
7222
|
+
end
|
7223
|
+
|
7224
|
+
# Update properties of this object
|
7225
|
+
def update!(**args)
|
7226
|
+
end
|
7227
|
+
end
|
7228
|
+
|
6862
7229
|
# Request message for PredictionService.Explain.
|
6863
7230
|
class GoogleCloudAiplatformV1beta1ExplainRequest
|
6864
7231
|
include Google::Apis::Core::Hashable
|
@@ -7926,13 +8293,176 @@ module Google
|
|
7926
8293
|
# @return [Fixnum]
|
7927
8294
|
attr_accessor :page_size
|
7928
8295
|
|
7929
|
-
# A page token, received from a previous ExportTensorboardTimeSeriesData call.
|
7930
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
7931
|
-
# parameters provided to ExportTensorboardTimeSeriesData must match the call
|
7932
|
-
# that provided the page token.
|
7933
|
-
# Corresponds to the JSON property `pageToken`
|
8296
|
+
# A page token, received from a previous ExportTensorboardTimeSeriesData call.
|
8297
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
8298
|
+
# parameters provided to ExportTensorboardTimeSeriesData must match the call
|
8299
|
+
# that provided the page token.
|
8300
|
+
# Corresponds to the JSON property `pageToken`
|
8301
|
+
# @return [String]
|
8302
|
+
attr_accessor :page_token
|
8303
|
+
|
8304
|
+
def initialize(**args)
|
8305
|
+
update!(**args)
|
8306
|
+
end
|
8307
|
+
|
8308
|
+
# Update properties of this object
|
8309
|
+
def update!(**args)
|
8310
|
+
@filter = args[:filter] if args.key?(:filter)
|
8311
|
+
@order_by = args[:order_by] if args.key?(:order_by)
|
8312
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
8313
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
8314
|
+
end
|
8315
|
+
end
|
8316
|
+
|
8317
|
+
# Response message for TensorboardService.ExportTensorboardTimeSeriesData.
|
8318
|
+
class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse
|
8319
|
+
include Google::Apis::Core::Hashable
|
8320
|
+
|
8321
|
+
# A token, which can be sent as page_token to retrieve the next page. If this
|
8322
|
+
# field is omitted, there are no subsequent pages.
|
8323
|
+
# Corresponds to the JSON property `nextPageToken`
|
8324
|
+
# @return [String]
|
8325
|
+
attr_accessor :next_page_token
|
8326
|
+
|
8327
|
+
# The returned time series data points.
|
8328
|
+
# Corresponds to the JSON property `timeSeriesDataPoints`
|
8329
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TimeSeriesDataPoint>]
|
8330
|
+
attr_accessor :time_series_data_points
|
8331
|
+
|
8332
|
+
def initialize(**args)
|
8333
|
+
update!(**args)
|
8334
|
+
end
|
8335
|
+
|
8336
|
+
# Update properties of this object
|
8337
|
+
def update!(**args)
|
8338
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8339
|
+
@time_series_data_points = args[:time_series_data_points] if args.key?(:time_series_data_points)
|
8340
|
+
end
|
8341
|
+
end
|
8342
|
+
|
8343
|
+
# Extensions are tools for large language models to access external data, run
|
8344
|
+
# computations, etc.
|
8345
|
+
class GoogleCloudAiplatformV1beta1Extension
|
8346
|
+
include Google::Apis::Core::Hashable
|
8347
|
+
|
8348
|
+
# Output only. Timestamp when this Extension was created.
|
8349
|
+
# Corresponds to the JSON property `createTime`
|
8350
|
+
# @return [String]
|
8351
|
+
attr_accessor :create_time
|
8352
|
+
|
8353
|
+
# Optional. The description of the Extension.
|
8354
|
+
# Corresponds to the JSON property `description`
|
8355
|
+
# @return [String]
|
8356
|
+
attr_accessor :description
|
8357
|
+
|
8358
|
+
# Required. The display name of the Extension. The name can be up to 128
|
8359
|
+
# characters long and can consist of any UTF-8 characters.
|
8360
|
+
# Corresponds to the JSON property `displayName`
|
8361
|
+
# @return [String]
|
8362
|
+
attr_accessor :display_name
|
8363
|
+
|
8364
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
8365
|
+
# blind "overwrite" update happens.
|
8366
|
+
# Corresponds to the JSON property `etag`
|
8367
|
+
# @return [String]
|
8368
|
+
attr_accessor :etag
|
8369
|
+
|
8370
|
+
# Output only. Supported operations.
|
8371
|
+
# Corresponds to the JSON property `extensionOperations`
|
8372
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionOperation>]
|
8373
|
+
attr_accessor :extension_operations
|
8374
|
+
|
8375
|
+
# Manifest spec of an Extension needed for runtime execution.
|
8376
|
+
# Corresponds to the JSON property `manifest`
|
8377
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionManifest]
|
8378
|
+
attr_accessor :manifest
|
8379
|
+
|
8380
|
+
# Identifier. The resource name of the Extension.
|
8381
|
+
# Corresponds to the JSON property `name`
|
8382
|
+
# @return [String]
|
8383
|
+
attr_accessor :name
|
8384
|
+
|
8385
|
+
# Optional. Examples to illustrate the usage of the extension as a tool.
|
8386
|
+
# Corresponds to the JSON property `toolUseExamples`
|
8387
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolUseExample>]
|
8388
|
+
attr_accessor :tool_use_examples
|
8389
|
+
|
8390
|
+
# Output only. Timestamp when this Extension was most recently updated.
|
8391
|
+
# Corresponds to the JSON property `updateTime`
|
8392
|
+
# @return [String]
|
8393
|
+
attr_accessor :update_time
|
8394
|
+
|
8395
|
+
def initialize(**args)
|
8396
|
+
update!(**args)
|
8397
|
+
end
|
8398
|
+
|
8399
|
+
# Update properties of this object
|
8400
|
+
def update!(**args)
|
8401
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8402
|
+
@description = args[:description] if args.key?(:description)
|
8403
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
8404
|
+
@etag = args[:etag] if args.key?(:etag)
|
8405
|
+
@extension_operations = args[:extension_operations] if args.key?(:extension_operations)
|
8406
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
8407
|
+
@name = args[:name] if args.key?(:name)
|
8408
|
+
@tool_use_examples = args[:tool_use_examples] if args.key?(:tool_use_examples)
|
8409
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8410
|
+
end
|
8411
|
+
end
|
8412
|
+
|
8413
|
+
# Manifest spec of an Extension needed for runtime execution.
|
8414
|
+
class GoogleCloudAiplatformV1beta1ExtensionManifest
|
8415
|
+
include Google::Apis::Core::Hashable
|
8416
|
+
|
8417
|
+
# The API specification shown to the LLM.
|
8418
|
+
# Corresponds to the JSON property `apiSpec`
|
8419
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec]
|
8420
|
+
attr_accessor :api_spec
|
8421
|
+
|
8422
|
+
# Auth configuration to run the extension.
|
8423
|
+
# Corresponds to the JSON property `authConfig`
|
8424
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig]
|
8425
|
+
attr_accessor :auth_config
|
8426
|
+
|
8427
|
+
# Required. The natural language description shown to the LLM. It should
|
8428
|
+
# describe the usage of the extension, and is essential for the LLM to perform
|
8429
|
+
# reasoning.
|
8430
|
+
# Corresponds to the JSON property `description`
|
8431
|
+
# @return [String]
|
8432
|
+
attr_accessor :description
|
8433
|
+
|
8434
|
+
# Required. Extension name shown to the LLM. The name can be up to 128
|
8435
|
+
# characters long.
|
8436
|
+
# Corresponds to the JSON property `name`
|
8437
|
+
# @return [String]
|
8438
|
+
attr_accessor :name
|
8439
|
+
|
8440
|
+
def initialize(**args)
|
8441
|
+
update!(**args)
|
8442
|
+
end
|
8443
|
+
|
8444
|
+
# Update properties of this object
|
8445
|
+
def update!(**args)
|
8446
|
+
@api_spec = args[:api_spec] if args.key?(:api_spec)
|
8447
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
8448
|
+
@description = args[:description] if args.key?(:description)
|
8449
|
+
@name = args[:name] if args.key?(:name)
|
8450
|
+
end
|
8451
|
+
end
|
8452
|
+
|
8453
|
+
# The API specification shown to the LLM.
|
8454
|
+
class GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec
|
8455
|
+
include Google::Apis::Core::Hashable
|
8456
|
+
|
8457
|
+
# Cloud Storage URI pointing to the OpenAPI spec.
|
8458
|
+
# Corresponds to the JSON property `openApiGcsUri`
|
7934
8459
|
# @return [String]
|
7935
|
-
attr_accessor :
|
8460
|
+
attr_accessor :open_api_gcs_uri
|
8461
|
+
|
8462
|
+
# The API spec in Open API standard and YAML format.
|
8463
|
+
# Corresponds to the JSON property `openApiYaml`
|
8464
|
+
# @return [String]
|
8465
|
+
attr_accessor :open_api_yaml
|
7936
8466
|
|
7937
8467
|
def initialize(**args)
|
7938
8468
|
update!(**args)
|
@@ -7940,27 +8470,31 @@ module Google
|
|
7940
8470
|
|
7941
8471
|
# Update properties of this object
|
7942
8472
|
def update!(**args)
|
7943
|
-
@
|
7944
|
-
@
|
7945
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
7946
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
8473
|
+
@open_api_gcs_uri = args[:open_api_gcs_uri] if args.key?(:open_api_gcs_uri)
|
8474
|
+
@open_api_yaml = args[:open_api_yaml] if args.key?(:open_api_yaml)
|
7947
8475
|
end
|
7948
8476
|
end
|
7949
8477
|
|
7950
|
-
#
|
7951
|
-
class
|
8478
|
+
# Operation of an extension.
|
8479
|
+
class GoogleCloudAiplatformV1beta1ExtensionOperation
|
7952
8480
|
include Google::Apis::Core::Hashable
|
7953
8481
|
|
7954
|
-
#
|
7955
|
-
#
|
7956
|
-
#
|
7957
|
-
#
|
7958
|
-
|
8482
|
+
# Structured representation of a function declaration as defined by the [OpenAPI
|
8483
|
+
# 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this
|
8484
|
+
# declaration are the function name and parameters. This FunctionDeclaration is
|
8485
|
+
# a representation of a block of code that can be used as a `Tool` by the model
|
8486
|
+
# and executed by the client.
|
8487
|
+
# Corresponds to the JSON property `functionDeclaration`
|
8488
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration]
|
8489
|
+
attr_accessor :function_declaration
|
7959
8490
|
|
7960
|
-
#
|
7961
|
-
#
|
7962
|
-
#
|
7963
|
-
|
8491
|
+
# Operation ID that uniquely identifies the operations among the extension. See:
|
8492
|
+
# "Operation Object" in https://swagger.io/specification/. This field is parsed
|
8493
|
+
# from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec,
|
8494
|
+
# we will generate one from the HTTP method and path.
|
8495
|
+
# Corresponds to the JSON property `operationId`
|
8496
|
+
# @return [String]
|
8497
|
+
attr_accessor :operation_id
|
7964
8498
|
|
7965
8499
|
def initialize(**args)
|
7966
8500
|
update!(**args)
|
@@ -7968,8 +8502,8 @@ module Google
|
|
7968
8502
|
|
7969
8503
|
# Update properties of this object
|
7970
8504
|
def update!(**args)
|
7971
|
-
@
|
7972
|
-
@
|
8505
|
+
@function_declaration = args[:function_declaration] if args.key?(:function_declaration)
|
8506
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
7973
8507
|
end
|
7974
8508
|
end
|
7975
8509
|
|
@@ -9068,9 +9602,11 @@ module Google
|
|
9068
9602
|
attr_accessor :brute_force_config
|
9069
9603
|
|
9070
9604
|
# Optional. Column of crowding. This column contains crowding attribute which is
|
9071
|
-
# a constraint on a neighbor list produced by
|
9072
|
-
#
|
9073
|
-
#
|
9605
|
+
# a constraint on a neighbor list produced by FeatureOnlineStoreService.
|
9606
|
+
# SearchNearestEntities to diversify search results. If NearestNeighborQuery.
|
9607
|
+
# per_crowding_attribute_neighbor_count is set to K in
|
9608
|
+
# SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of
|
9609
|
+
# the same crowding attribute are returned in the response.
|
9074
9610
|
# Corresponds to the JSON property `crowdingColumn`
|
9075
9611
|
# @return [String]
|
9076
9612
|
attr_accessor :crowding_column
|
@@ -9498,6 +10034,11 @@ module Google
|
|
9498
10034
|
class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse
|
9499
10035
|
include Google::Apis::Core::Hashable
|
9500
10036
|
|
10037
|
+
# Lookup key for a feature view.
|
10038
|
+
# Corresponds to the JSON property `dataKey`
|
10039
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey]
|
10040
|
+
attr_accessor :data_key
|
10041
|
+
|
9501
10042
|
# Response structure in the format of key (feature name) and (feature) value
|
9502
10043
|
# pair.
|
9503
10044
|
# Corresponds to the JSON property `keyValues`
|
@@ -9515,6 +10056,7 @@ module Google
|
|
9515
10056
|
|
9516
10057
|
# Update properties of this object
|
9517
10058
|
def update!(**args)
|
10059
|
+
@data_key = args[:data_key] if args.key?(:data_key)
|
9518
10060
|
@key_values = args[:key_values] if args.key?(:key_values)
|
9519
10061
|
@proto_struct = args[:proto_struct] if args.key?(:proto_struct)
|
9520
10062
|
end
|
@@ -9881,8 +10423,8 @@ module Google
|
|
9881
10423
|
attr_accessor :description
|
9882
10424
|
|
9883
10425
|
# Required. The name of the function to call. Must start with a letter or an
|
9884
|
-
# underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes,
|
9885
|
-
# maximum length of 64.
|
10426
|
+
# underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes,
|
10427
|
+
# with a maximum length of 64.
|
9886
10428
|
# Corresponds to the JSON property `name`
|
9887
10429
|
# @return [String]
|
9888
10430
|
attr_accessor :name
|
@@ -11945,6 +12487,32 @@ module Google
|
|
11945
12487
|
end
|
11946
12488
|
end
|
11947
12489
|
|
12490
|
+
# Response message for ExtensionRegistryService.ListExtensions
|
12491
|
+
class GoogleCloudAiplatformV1beta1ListExtensionsResponse
|
12492
|
+
include Google::Apis::Core::Hashable
|
12493
|
+
|
12494
|
+
# List of Extension in the requested page.
|
12495
|
+
# Corresponds to the JSON property `extensions`
|
12496
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension>]
|
12497
|
+
attr_accessor :extensions
|
12498
|
+
|
12499
|
+
# A token to retrieve the next page of results. Pass to ListExtensionsRequest.
|
12500
|
+
# page_token to obtain that page.
|
12501
|
+
# Corresponds to the JSON property `nextPageToken`
|
12502
|
+
# @return [String]
|
12503
|
+
attr_accessor :next_page_token
|
12504
|
+
|
12505
|
+
def initialize(**args)
|
12506
|
+
update!(**args)
|
12507
|
+
end
|
12508
|
+
|
12509
|
+
# Update properties of this object
|
12510
|
+
def update!(**args)
|
12511
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
12512
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12513
|
+
end
|
12514
|
+
end
|
12515
|
+
|
11948
12516
|
# Response message for FeatureRegistryService.ListFeatureGroups.
|
11949
12517
|
class GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse
|
11950
12518
|
include Google::Apis::Core::Hashable
|
@@ -17861,6 +18429,11 @@ module Google
|
|
17861
18429
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
|
17862
18430
|
attr_accessor :deploy_gke
|
17863
18431
|
|
18432
|
+
# Multiple setups to deploy the PublisherModel.
|
18433
|
+
# Corresponds to the JSON property `multiDeployVertex`
|
18434
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex]
|
18435
|
+
attr_accessor :multi_deploy_vertex
|
18436
|
+
|
17864
18437
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
17865
18438
|
# europe-west2, global, etc..
|
17866
18439
|
# Corresponds to the JSON property `openEvaluationPipeline`
|
@@ -17927,6 +18500,7 @@ module Google
|
|
17927
18500
|
@create_application = args[:create_application] if args.key?(:create_application)
|
17928
18501
|
@deploy = args[:deploy] if args.key?(:deploy)
|
17929
18502
|
@deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
|
18503
|
+
@multi_deploy_vertex = args[:multi_deploy_vertex] if args.key?(:multi_deploy_vertex)
|
17930
18504
|
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
17931
18505
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
17932
18506
|
@open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
|
@@ -18036,6 +18610,25 @@ module Google
|
|
18036
18610
|
end
|
18037
18611
|
end
|
18038
18612
|
|
18613
|
+
# Multiple setups to deploy the PublisherModel.
|
18614
|
+
class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex
|
18615
|
+
include Google::Apis::Core::Hashable
|
18616
|
+
|
18617
|
+
# Optional. One click deployment configurations.
|
18618
|
+
# Corresponds to the JSON property `multiDeployVertex`
|
18619
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy>]
|
18620
|
+
attr_accessor :multi_deploy_vertex
|
18621
|
+
|
18622
|
+
def initialize(**args)
|
18623
|
+
update!(**args)
|
18624
|
+
end
|
18625
|
+
|
18626
|
+
# Update properties of this object
|
18627
|
+
def update!(**args)
|
18628
|
+
@multi_deploy_vertex = args[:multi_deploy_vertex] if args.key?(:multi_deploy_vertex)
|
18629
|
+
end
|
18630
|
+
end
|
18631
|
+
|
18039
18632
|
# Open fine tuning pipelines.
|
18040
18633
|
class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
|
18041
18634
|
include Google::Apis::Core::Hashable
|
@@ -18425,27 +19018,247 @@ module Google
|
|
18425
19018
|
|
18426
19019
|
# Update properties of this object
|
18427
19020
|
def update!(**args)
|
18428
|
-
@filter = args[:filter] if args.key?(:filter)
|
18429
|
-
@force = args[:force] if args.key?(:force)
|
19021
|
+
@filter = args[:filter] if args.key?(:filter)
|
19022
|
+
@force = args[:force] if args.key?(:force)
|
19023
|
+
end
|
19024
|
+
end
|
19025
|
+
|
19026
|
+
# Response message for MetadataService.PurgeExecutions.
|
19027
|
+
class GoogleCloudAiplatformV1beta1PurgeExecutionsResponse
|
19028
|
+
include Google::Apis::Core::Hashable
|
19029
|
+
|
19030
|
+
# The number of Executions that this request deleted (or, if `force` is false,
|
19031
|
+
# the number of Executions that will be deleted). This can be an estimate.
|
19032
|
+
# Corresponds to the JSON property `purgeCount`
|
19033
|
+
# @return [Fixnum]
|
19034
|
+
attr_accessor :purge_count
|
19035
|
+
|
19036
|
+
# A sample of the Execution names that will be deleted. Only populated if `force`
|
19037
|
+
# is set to false. The maximum number of samples is 100 (it is possible to
|
19038
|
+
# return fewer).
|
19039
|
+
# Corresponds to the JSON property `purgeSample`
|
19040
|
+
# @return [Array<String>]
|
19041
|
+
attr_accessor :purge_sample
|
19042
|
+
|
19043
|
+
def initialize(**args)
|
19044
|
+
update!(**args)
|
19045
|
+
end
|
19046
|
+
|
19047
|
+
# Update properties of this object
|
19048
|
+
def update!(**args)
|
19049
|
+
@purge_count = args[:purge_count] if args.key?(:purge_count)
|
19050
|
+
@purge_sample = args[:purge_sample] if args.key?(:purge_sample)
|
19051
|
+
end
|
19052
|
+
end
|
19053
|
+
|
19054
|
+
# The spec of a Python packaged code.
|
19055
|
+
class GoogleCloudAiplatformV1beta1PythonPackageSpec
|
19056
|
+
include Google::Apis::Core::Hashable
|
19057
|
+
|
19058
|
+
# Command line arguments to be passed to the Python task.
|
19059
|
+
# Corresponds to the JSON property `args`
|
19060
|
+
# @return [Array<String>]
|
19061
|
+
attr_accessor :args
|
19062
|
+
|
19063
|
+
# Environment variables to be passed to the python module. Maximum limit is 100.
|
19064
|
+
# Corresponds to the JSON property `env`
|
19065
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar>]
|
19066
|
+
attr_accessor :env
|
19067
|
+
|
19068
|
+
# Required. The URI of a container image in Artifact Registry that will run the
|
19069
|
+
# provided Python package. Vertex AI provides a wide range of executor images
|
19070
|
+
# with pre-installed packages to meet users' various use cases. See the list of [
|
19071
|
+
# pre-built containers for training](https://cloud.google.com/vertex-ai/docs/
|
19072
|
+
# training/pre-built-containers). You must use an image from this list.
|
19073
|
+
# Corresponds to the JSON property `executorImageUri`
|
19074
|
+
# @return [String]
|
19075
|
+
attr_accessor :executor_image_uri
|
19076
|
+
|
19077
|
+
# Required. The Google Cloud Storage location of the Python package files which
|
19078
|
+
# are the training program and its dependent packages. The maximum number of
|
19079
|
+
# package URIs is 100.
|
19080
|
+
# Corresponds to the JSON property `packageUris`
|
19081
|
+
# @return [Array<String>]
|
19082
|
+
attr_accessor :package_uris
|
19083
|
+
|
19084
|
+
# Required. The Python module name to run after installing the packages.
|
19085
|
+
# Corresponds to the JSON property `pythonModule`
|
19086
|
+
# @return [String]
|
19087
|
+
attr_accessor :python_module
|
19088
|
+
|
19089
|
+
def initialize(**args)
|
19090
|
+
update!(**args)
|
19091
|
+
end
|
19092
|
+
|
19093
|
+
# Update properties of this object
|
19094
|
+
def update!(**args)
|
19095
|
+
@args = args[:args] if args.key?(:args)
|
19096
|
+
@env = args[:env] if args.key?(:env)
|
19097
|
+
@executor_image_uri = args[:executor_image_uri] if args.key?(:executor_image_uri)
|
19098
|
+
@package_uris = args[:package_uris] if args.key?(:package_uris)
|
19099
|
+
@python_module = args[:python_module] if args.key?(:python_module)
|
19100
|
+
end
|
19101
|
+
end
|
19102
|
+
|
19103
|
+
# Response message for QueryDeployedModels method.
|
19104
|
+
class GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse
|
19105
|
+
include Google::Apis::Core::Hashable
|
19106
|
+
|
19107
|
+
# References to the DeployedModels that share the specified
|
19108
|
+
# deploymentResourcePool.
|
19109
|
+
# Corresponds to the JSON property `deployedModelRefs`
|
19110
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModelRef>]
|
19111
|
+
attr_accessor :deployed_model_refs
|
19112
|
+
|
19113
|
+
# DEPRECATED Use deployed_model_refs instead.
|
19114
|
+
# Corresponds to the JSON property `deployedModels`
|
19115
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModel>]
|
19116
|
+
attr_accessor :deployed_models
|
19117
|
+
|
19118
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
19119
|
+
# field is omitted, there are no subsequent pages.
|
19120
|
+
# Corresponds to the JSON property `nextPageToken`
|
19121
|
+
# @return [String]
|
19122
|
+
attr_accessor :next_page_token
|
19123
|
+
|
19124
|
+
# The total number of DeployedModels on this DeploymentResourcePool.
|
19125
|
+
# Corresponds to the JSON property `totalDeployedModelCount`
|
19126
|
+
# @return [Fixnum]
|
19127
|
+
attr_accessor :total_deployed_model_count
|
19128
|
+
|
19129
|
+
# The total number of Endpoints that have DeployedModels on this
|
19130
|
+
# DeploymentResourcePool.
|
19131
|
+
# Corresponds to the JSON property `totalEndpointCount`
|
19132
|
+
# @return [Fixnum]
|
19133
|
+
attr_accessor :total_endpoint_count
|
19134
|
+
|
19135
|
+
def initialize(**args)
|
19136
|
+
update!(**args)
|
19137
|
+
end
|
19138
|
+
|
19139
|
+
# Update properties of this object
|
19140
|
+
def update!(**args)
|
19141
|
+
@deployed_model_refs = args[:deployed_model_refs] if args.key?(:deployed_model_refs)
|
19142
|
+
@deployed_models = args[:deployed_models] if args.key?(:deployed_models)
|
19143
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
19144
|
+
@total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
|
19145
|
+
@total_endpoint_count = args[:total_endpoint_count] if args.key?(:total_endpoint_count)
|
19146
|
+
end
|
19147
|
+
end
|
19148
|
+
|
19149
|
+
# Request message for ExtensionExecutionService.QueryExtension.
|
19150
|
+
class GoogleCloudAiplatformV1beta1QueryExtensionRequest
|
19151
|
+
include Google::Apis::Core::Hashable
|
19152
|
+
|
19153
|
+
# Required. The content of the current conversation with the model. For single-
|
19154
|
+
# turn queries, this is a single instance. For multi-turn queries, this is a
|
19155
|
+
# repeated field that contains conversation history + latest request.
|
19156
|
+
# Corresponds to the JSON property `contents`
|
19157
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
19158
|
+
attr_accessor :contents
|
19159
|
+
|
19160
|
+
# User provided query message.
|
19161
|
+
# Corresponds to the JSON property `query`
|
19162
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryRequestQuery]
|
19163
|
+
attr_accessor :query
|
19164
|
+
|
19165
|
+
# Optional. Experiment control on whether to use function call.
|
19166
|
+
# Corresponds to the JSON property `useFunctionCall`
|
19167
|
+
# @return [Boolean]
|
19168
|
+
attr_accessor :use_function_call
|
19169
|
+
alias_method :use_function_call?, :use_function_call
|
19170
|
+
|
19171
|
+
def initialize(**args)
|
19172
|
+
update!(**args)
|
19173
|
+
end
|
19174
|
+
|
19175
|
+
# Update properties of this object
|
19176
|
+
def update!(**args)
|
19177
|
+
@contents = args[:contents] if args.key?(:contents)
|
19178
|
+
@query = args[:query] if args.key?(:query)
|
19179
|
+
@use_function_call = args[:use_function_call] if args.key?(:use_function_call)
|
19180
|
+
end
|
19181
|
+
end
|
19182
|
+
|
19183
|
+
# Response message for ExtensionExecutionService.QueryExtension.
|
19184
|
+
class GoogleCloudAiplatformV1beta1QueryExtensionResponse
|
19185
|
+
include Google::Apis::Core::Hashable
|
19186
|
+
|
19187
|
+
# Failure message if any.
|
19188
|
+
# Corresponds to the JSON property `failureMessage`
|
19189
|
+
# @return [String]
|
19190
|
+
attr_accessor :failure_message
|
19191
|
+
|
19192
|
+
# Metadata for response
|
19193
|
+
# Corresponds to the JSON property `metadata`
|
19194
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseResponseMetadata]
|
19195
|
+
attr_accessor :metadata
|
19196
|
+
|
19197
|
+
#
|
19198
|
+
# Corresponds to the JSON property `queryResponseMetadata`
|
19199
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata]
|
19200
|
+
attr_accessor :query_response_metadata
|
19201
|
+
|
19202
|
+
# Response to the user's query.
|
19203
|
+
# Corresponds to the JSON property `response`
|
19204
|
+
# @return [String]
|
19205
|
+
attr_accessor :response
|
19206
|
+
|
19207
|
+
# Steps of extension or LLM interaction, can contain function call, function
|
19208
|
+
# response, or text response. The last step contains the final response to the
|
19209
|
+
# query.
|
19210
|
+
# Corresponds to the JSON property `steps`
|
19211
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
19212
|
+
attr_accessor :steps
|
19213
|
+
|
19214
|
+
def initialize(**args)
|
19215
|
+
update!(**args)
|
19216
|
+
end
|
19217
|
+
|
19218
|
+
# Update properties of this object
|
19219
|
+
def update!(**args)
|
19220
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
19221
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
19222
|
+
@query_response_metadata = args[:query_response_metadata] if args.key?(:query_response_metadata)
|
19223
|
+
@response = args[:response] if args.key?(:response)
|
19224
|
+
@steps = args[:steps] if args.key?(:steps)
|
19225
|
+
end
|
19226
|
+
end
|
19227
|
+
|
19228
|
+
# User provided query message.
|
19229
|
+
class GoogleCloudAiplatformV1beta1QueryRequestQuery
|
19230
|
+
include Google::Apis::Core::Hashable
|
19231
|
+
|
19232
|
+
# Required. The query from user.
|
19233
|
+
# Corresponds to the JSON property `query`
|
19234
|
+
# @return [String]
|
19235
|
+
attr_accessor :query
|
19236
|
+
|
19237
|
+
def initialize(**args)
|
19238
|
+
update!(**args)
|
19239
|
+
end
|
19240
|
+
|
19241
|
+
# Update properties of this object
|
19242
|
+
def update!(**args)
|
19243
|
+
@query = args[:query] if args.key?(:query)
|
18430
19244
|
end
|
18431
19245
|
end
|
18432
19246
|
|
18433
|
-
#
|
18434
|
-
class
|
19247
|
+
#
|
19248
|
+
class GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata
|
18435
19249
|
include Google::Apis::Core::Hashable
|
18436
19250
|
|
18437
|
-
#
|
18438
|
-
#
|
18439
|
-
#
|
18440
|
-
|
18441
|
-
attr_accessor :purge_count
|
19251
|
+
# ReAgent execution steps.
|
19252
|
+
# Corresponds to the JSON property `steps`
|
19253
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps>]
|
19254
|
+
attr_accessor :steps
|
18442
19255
|
|
18443
|
-
#
|
18444
|
-
#
|
18445
|
-
#
|
18446
|
-
#
|
18447
|
-
|
18448
|
-
|
19256
|
+
# Whether the reasoning agent used creativity (instead of extensions provided)
|
19257
|
+
# to build the response.
|
19258
|
+
# Corresponds to the JSON property `useCreativity`
|
19259
|
+
# @return [Boolean]
|
19260
|
+
attr_accessor :use_creativity
|
19261
|
+
alias_method :use_creativity?, :use_creativity
|
18449
19262
|
|
18450
19263
|
def initialize(**args)
|
18451
19264
|
update!(**args)
|
@@ -18453,45 +19266,46 @@ module Google
|
|
18453
19266
|
|
18454
19267
|
# Update properties of this object
|
18455
19268
|
def update!(**args)
|
18456
|
-
@
|
18457
|
-
@
|
19269
|
+
@steps = args[:steps] if args.key?(:steps)
|
19270
|
+
@use_creativity = args[:use_creativity] if args.key?(:use_creativity)
|
18458
19271
|
end
|
18459
19272
|
end
|
18460
19273
|
|
18461
|
-
#
|
18462
|
-
class
|
19274
|
+
# ReAgent execution steps.
|
19275
|
+
class GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
|
18463
19276
|
include Google::Apis::Core::Hashable
|
18464
19277
|
|
18465
|
-
#
|
18466
|
-
# Corresponds to the JSON property `
|
18467
|
-
# @return [
|
18468
|
-
attr_accessor :
|
19278
|
+
# Error messages from the extension or during response parsing.
|
19279
|
+
# Corresponds to the JSON property `error`
|
19280
|
+
# @return [String]
|
19281
|
+
attr_accessor :error
|
18469
19282
|
|
18470
|
-
#
|
18471
|
-
# Corresponds to the JSON property `
|
18472
|
-
# @return [
|
18473
|
-
attr_accessor :
|
19283
|
+
# Planner's instruction to the extension.
|
19284
|
+
# Corresponds to the JSON property `extensionInstruction`
|
19285
|
+
# @return [String]
|
19286
|
+
attr_accessor :extension_instruction
|
18474
19287
|
|
18475
|
-
#
|
18476
|
-
#
|
18477
|
-
# with pre-installed packages to meet users' various use cases. See the list of [
|
18478
|
-
# pre-built containers for training](https://cloud.google.com/vertex-ai/docs/
|
18479
|
-
# training/pre-built-containers). You must use an image from this list.
|
18480
|
-
# Corresponds to the JSON property `executorImageUri`
|
19288
|
+
# Planner's choice of extension to invoke.
|
19289
|
+
# Corresponds to the JSON property `extensionInvoked`
|
18481
19290
|
# @return [String]
|
18482
|
-
attr_accessor :
|
19291
|
+
attr_accessor :extension_invoked
|
18483
19292
|
|
18484
|
-
#
|
18485
|
-
#
|
18486
|
-
#
|
18487
|
-
|
18488
|
-
# @return [Array<String>]
|
18489
|
-
attr_accessor :package_uris
|
19293
|
+
# Response of the extension.
|
19294
|
+
# Corresponds to the JSON property `response`
|
19295
|
+
# @return [String]
|
19296
|
+
attr_accessor :response
|
18490
19297
|
|
18491
|
-
#
|
18492
|
-
#
|
19298
|
+
# When set to False, either the extension fails to execute or the response
|
19299
|
+
# cannot be summarized.
|
19300
|
+
# Corresponds to the JSON property `success`
|
19301
|
+
# @return [Boolean]
|
19302
|
+
attr_accessor :success
|
19303
|
+
alias_method :success?, :success
|
19304
|
+
|
19305
|
+
# Planner's thought.
|
19306
|
+
# Corresponds to the JSON property `thought`
|
18493
19307
|
# @return [String]
|
18494
|
-
attr_accessor :
|
19308
|
+
attr_accessor :thought
|
18495
19309
|
|
18496
19310
|
def initialize(**args)
|
18497
19311
|
update!(**args)
|
@@ -18499,45 +19313,34 @@ module Google
|
|
18499
19313
|
|
18500
19314
|
# Update properties of this object
|
18501
19315
|
def update!(**args)
|
18502
|
-
@
|
18503
|
-
@
|
18504
|
-
@
|
18505
|
-
@
|
18506
|
-
@
|
19316
|
+
@error = args[:error] if args.key?(:error)
|
19317
|
+
@extension_instruction = args[:extension_instruction] if args.key?(:extension_instruction)
|
19318
|
+
@extension_invoked = args[:extension_invoked] if args.key?(:extension_invoked)
|
19319
|
+
@response = args[:response] if args.key?(:response)
|
19320
|
+
@success = args[:success] if args.key?(:success)
|
19321
|
+
@thought = args[:thought] if args.key?(:thought)
|
18507
19322
|
end
|
18508
19323
|
end
|
18509
19324
|
|
18510
|
-
#
|
18511
|
-
class
|
19325
|
+
# Metadata for response
|
19326
|
+
class GoogleCloudAiplatformV1beta1QueryResponseResponseMetadata
|
18512
19327
|
include Google::Apis::Core::Hashable
|
18513
19328
|
|
18514
|
-
#
|
18515
|
-
#
|
18516
|
-
# Corresponds to the JSON property `
|
18517
|
-
# @return [
|
18518
|
-
attr_accessor :
|
18519
|
-
|
18520
|
-
# DEPRECATED Use deployed_model_refs instead.
|
18521
|
-
# Corresponds to the JSON property `deployedModels`
|
18522
|
-
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModel>]
|
18523
|
-
attr_accessor :deployed_models
|
18524
|
-
|
18525
|
-
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
18526
|
-
# field is omitted, there are no subsequent pages.
|
18527
|
-
# Corresponds to the JSON property `nextPageToken`
|
18528
|
-
# @return [String]
|
18529
|
-
attr_accessor :next_page_token
|
19329
|
+
# Placeholder for all checkpoint related data. Any data needed to restore a
|
19330
|
+
# request and more go/vertex-extension-query-operation
|
19331
|
+
# Corresponds to the JSON property `checkpoint`
|
19332
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPoint]
|
19333
|
+
attr_accessor :checkpoint
|
18530
19334
|
|
18531
|
-
#
|
18532
|
-
# Corresponds to the JSON property `
|
18533
|
-
# @return [
|
18534
|
-
attr_accessor :
|
19335
|
+
# Execution plan for a request.
|
19336
|
+
# Corresponds to the JSON property `executionPlan`
|
19337
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutionPlan]
|
19338
|
+
attr_accessor :execution_plan
|
18535
19339
|
|
18536
|
-
#
|
18537
|
-
#
|
18538
|
-
#
|
18539
|
-
|
18540
|
-
attr_accessor :total_endpoint_count
|
19340
|
+
# To surface the v2 flow output.
|
19341
|
+
# Corresponds to the JSON property `flowOutputs`
|
19342
|
+
# @return [Hash<String,Object>]
|
19343
|
+
attr_accessor :flow_outputs
|
18541
19344
|
|
18542
19345
|
def initialize(**args)
|
18543
19346
|
update!(**args)
|
@@ -18545,11 +19348,9 @@ module Google
|
|
18545
19348
|
|
18546
19349
|
# Update properties of this object
|
18547
19350
|
def update!(**args)
|
18548
|
-
@
|
18549
|
-
@
|
18550
|
-
@
|
18551
|
-
@total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
|
18552
|
-
@total_endpoint_count = args[:total_endpoint_count] if args.key?(:total_endpoint_count)
|
19351
|
+
@checkpoint = args[:checkpoint] if args.key?(:checkpoint)
|
19352
|
+
@execution_plan = args[:execution_plan] if args.key?(:execution_plan)
|
19353
|
+
@flow_outputs = args[:flow_outputs] if args.key?(:flow_outputs)
|
18553
19354
|
end
|
18554
19355
|
end
|
18555
19356
|
|
@@ -18975,6 +19776,44 @@ module Google
|
|
18975
19776
|
end
|
18976
19777
|
end
|
18977
19778
|
|
19779
|
+
# Details of operations that perform reboot PersistentResource.
|
19780
|
+
class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata
|
19781
|
+
include Google::Apis::Core::Hashable
|
19782
|
+
|
19783
|
+
# Generic Metadata shared by all operations.
|
19784
|
+
# Corresponds to the JSON property `genericMetadata`
|
19785
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
19786
|
+
attr_accessor :generic_metadata
|
19787
|
+
|
19788
|
+
# Progress Message for Reboot LRO
|
19789
|
+
# Corresponds to the JSON property `progressMessage`
|
19790
|
+
# @return [String]
|
19791
|
+
attr_accessor :progress_message
|
19792
|
+
|
19793
|
+
def initialize(**args)
|
19794
|
+
update!(**args)
|
19795
|
+
end
|
19796
|
+
|
19797
|
+
# Update properties of this object
|
19798
|
+
def update!(**args)
|
19799
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
19800
|
+
@progress_message = args[:progress_message] if args.key?(:progress_message)
|
19801
|
+
end
|
19802
|
+
end
|
19803
|
+
|
19804
|
+
# Request message for PersistentResourceService.RebootPersistentResource.
|
19805
|
+
class GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest
|
19806
|
+
include Google::Apis::Core::Hashable
|
19807
|
+
|
19808
|
+
def initialize(**args)
|
19809
|
+
update!(**args)
|
19810
|
+
end
|
19811
|
+
|
19812
|
+
# Update properties of this object
|
19813
|
+
def update!(**args)
|
19814
|
+
end
|
19815
|
+
end
|
19816
|
+
|
18978
19817
|
# Request message for MetadataService.DeleteContextChildrenRequest.
|
18979
19818
|
class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
|
18980
19819
|
include Google::Apis::Core::Hashable
|
@@ -19457,6 +20296,12 @@ module Google
|
|
19457
20296
|
# @return [String]
|
19458
20297
|
attr_accessor :category
|
19459
20298
|
|
20299
|
+
# Optional. Specify if the threshold is used for probability or severity score.
|
20300
|
+
# If not specified, the threshold is used for probability score.
|
20301
|
+
# Corresponds to the JSON property `method`
|
20302
|
+
# @return [String]
|
20303
|
+
attr_accessor :method_prop
|
20304
|
+
|
19460
20305
|
# Required. The harm block threshold.
|
19461
20306
|
# Corresponds to the JSON property `threshold`
|
19462
20307
|
# @return [String]
|
@@ -19469,6 +20314,7 @@ module Google
|
|
19469
20314
|
# Update properties of this object
|
19470
20315
|
def update!(**args)
|
19471
20316
|
@category = args[:category] if args.key?(:category)
|
20317
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
19472
20318
|
@threshold = args[:threshold] if args.key?(:threshold)
|
19473
20319
|
end
|
19474
20320
|
end
|
@@ -19883,6 +20729,11 @@ module Google
|
|
19883
20729
|
class GoogleCloudAiplatformV1beta1Schema
|
19884
20730
|
include Google::Apis::Core::Hashable
|
19885
20731
|
|
20732
|
+
# Optional. Default value of the data.
|
20733
|
+
# Corresponds to the JSON property `default`
|
20734
|
+
# @return [Object]
|
20735
|
+
attr_accessor :default
|
20736
|
+
|
19886
20737
|
# Optional. The description of the data.
|
19887
20738
|
# Corresponds to the JSON property `description`
|
19888
20739
|
# @return [String]
|
@@ -19901,8 +20752,9 @@ module Google
|
|
19901
20752
|
# @return [Object]
|
19902
20753
|
attr_accessor :example
|
19903
20754
|
|
19904
|
-
# Optional. The format of the data. Supported formats: for NUMBER type: float,
|
19905
|
-
# double for INTEGER type: int32, int64
|
20755
|
+
# Optional. The format of the data. Supported formats: for NUMBER type: "float",
|
20756
|
+
# "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte",
|
20757
|
+
# etc
|
19906
20758
|
# Corresponds to the JSON property `format`
|
19907
20759
|
# @return [String]
|
19908
20760
|
attr_accessor :format
|
@@ -19914,13 +20766,60 @@ module Google
|
|
19914
20766
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
19915
20767
|
attr_accessor :items
|
19916
20768
|
|
20769
|
+
# Optional. Maximum number of the elements for Type.ARRAY.
|
20770
|
+
# Corresponds to the JSON property `maxItems`
|
20771
|
+
# @return [Fixnum]
|
20772
|
+
attr_accessor :max_items
|
20773
|
+
|
20774
|
+
# Optional. Maximum length of the Type.STRING
|
20775
|
+
# Corresponds to the JSON property `maxLength`
|
20776
|
+
# @return [Fixnum]
|
20777
|
+
attr_accessor :max_length
|
20778
|
+
|
20779
|
+
# Optional. Maximum number of the properties for Type.OBJECT.
|
20780
|
+
# Corresponds to the JSON property `maxProperties`
|
20781
|
+
# @return [Fixnum]
|
20782
|
+
attr_accessor :max_properties
|
20783
|
+
|
20784
|
+
# Optional. Maximum value of the Type.INTEGER and Type.NUMBER
|
20785
|
+
# Corresponds to the JSON property `maximum`
|
20786
|
+
# @return [Float]
|
20787
|
+
attr_accessor :maximum
|
20788
|
+
|
20789
|
+
# Optional. Minimum number of the elements for Type.ARRAY.
|
20790
|
+
# Corresponds to the JSON property `minItems`
|
20791
|
+
# @return [Fixnum]
|
20792
|
+
attr_accessor :min_items
|
20793
|
+
|
20794
|
+
# Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
|
20795
|
+
# Corresponds to the JSON property `minLength`
|
20796
|
+
# @return [Fixnum]
|
20797
|
+
attr_accessor :min_length
|
20798
|
+
|
20799
|
+
# Optional. Minimum number of the properties for Type.OBJECT.
|
20800
|
+
# Corresponds to the JSON property `minProperties`
|
20801
|
+
# @return [Fixnum]
|
20802
|
+
attr_accessor :min_properties
|
20803
|
+
|
20804
|
+
# Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.
|
20805
|
+
# INTEGER and Type.NUMBER
|
20806
|
+
# Corresponds to the JSON property `minimum`
|
20807
|
+
# @return [Float]
|
20808
|
+
attr_accessor :minimum
|
20809
|
+
|
19917
20810
|
# Optional. Indicates if the value may be null.
|
19918
20811
|
# Corresponds to the JSON property `nullable`
|
19919
20812
|
# @return [Boolean]
|
19920
20813
|
attr_accessor :nullable
|
19921
20814
|
alias_method :nullable?, :nullable
|
19922
20815
|
|
19923
|
-
# Optional.
|
20816
|
+
# Optional. Pattern of the Type.STRING to restrict a string to a regular
|
20817
|
+
# expression.
|
20818
|
+
# Corresponds to the JSON property `pattern`
|
20819
|
+
# @return [String]
|
20820
|
+
attr_accessor :pattern
|
20821
|
+
|
20822
|
+
# Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
|
19924
20823
|
# Corresponds to the JSON property `properties`
|
19925
20824
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
19926
20825
|
attr_accessor :properties
|
@@ -19930,6 +20829,11 @@ module Google
|
|
19930
20829
|
# @return [Array<String>]
|
19931
20830
|
attr_accessor :required
|
19932
20831
|
|
20832
|
+
# Optional. The title of the Schema.
|
20833
|
+
# Corresponds to the JSON property `title`
|
20834
|
+
# @return [String]
|
20835
|
+
attr_accessor :title
|
20836
|
+
|
19933
20837
|
# Optional. The type of the data.
|
19934
20838
|
# Corresponds to the JSON property `type`
|
19935
20839
|
# @return [String]
|
@@ -19941,14 +20845,25 @@ module Google
|
|
19941
20845
|
|
19942
20846
|
# Update properties of this object
|
19943
20847
|
def update!(**args)
|
20848
|
+
@default = args[:default] if args.key?(:default)
|
19944
20849
|
@description = args[:description] if args.key?(:description)
|
19945
20850
|
@enum = args[:enum] if args.key?(:enum)
|
19946
20851
|
@example = args[:example] if args.key?(:example)
|
19947
20852
|
@format = args[:format] if args.key?(:format)
|
19948
20853
|
@items = args[:items] if args.key?(:items)
|
20854
|
+
@max_items = args[:max_items] if args.key?(:max_items)
|
20855
|
+
@max_length = args[:max_length] if args.key?(:max_length)
|
20856
|
+
@max_properties = args[:max_properties] if args.key?(:max_properties)
|
20857
|
+
@maximum = args[:maximum] if args.key?(:maximum)
|
20858
|
+
@min_items = args[:min_items] if args.key?(:min_items)
|
20859
|
+
@min_length = args[:min_length] if args.key?(:min_length)
|
20860
|
+
@min_properties = args[:min_properties] if args.key?(:min_properties)
|
20861
|
+
@minimum = args[:minimum] if args.key?(:minimum)
|
19949
20862
|
@nullable = args[:nullable] if args.key?(:nullable)
|
20863
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
19950
20864
|
@properties = args[:properties] if args.key?(:properties)
|
19951
20865
|
@required = args[:required] if args.key?(:required)
|
20866
|
+
@title = args[:title] if args.key?(:title)
|
19952
20867
|
@type = args[:type] if args.key?(:type)
|
19953
20868
|
end
|
19954
20869
|
end
|
@@ -26410,6 +27325,69 @@ module Google
|
|
26410
27325
|
end
|
26411
27326
|
end
|
26412
27327
|
|
27328
|
+
# Request message for FeatureOnlineStoreService.StreamingFetchFeatureValues. For
|
27329
|
+
# the entities requested, all features under the requested feature view will be
|
27330
|
+
# returned.
|
27331
|
+
class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest
|
27332
|
+
include Google::Apis::Core::Hashable
|
27333
|
+
|
27334
|
+
# Specify response data format. If not set, KeyValue format will be used.
|
27335
|
+
# Corresponds to the JSON property `dataFormat`
|
27336
|
+
# @return [String]
|
27337
|
+
attr_accessor :data_format
|
27338
|
+
|
27339
|
+
#
|
27340
|
+
# Corresponds to the JSON property `dataKeys`
|
27341
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey>]
|
27342
|
+
attr_accessor :data_keys
|
27343
|
+
|
27344
|
+
def initialize(**args)
|
27345
|
+
update!(**args)
|
27346
|
+
end
|
27347
|
+
|
27348
|
+
# Update properties of this object
|
27349
|
+
def update!(**args)
|
27350
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
27351
|
+
@data_keys = args[:data_keys] if args.key?(:data_keys)
|
27352
|
+
end
|
27353
|
+
end
|
27354
|
+
|
27355
|
+
# Response message for FeatureOnlineStoreService.StreamingFetchFeatureValues.
|
27356
|
+
class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse
|
27357
|
+
include Google::Apis::Core::Hashable
|
27358
|
+
|
27359
|
+
#
|
27360
|
+
# Corresponds to the JSON property `data`
|
27361
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse>]
|
27362
|
+
attr_accessor :data
|
27363
|
+
|
27364
|
+
#
|
27365
|
+
# Corresponds to the JSON property `dataKeysWithError`
|
27366
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey>]
|
27367
|
+
attr_accessor :data_keys_with_error
|
27368
|
+
|
27369
|
+
# The `Status` type defines a logical error model that is suitable for different
|
27370
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
27371
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
27372
|
+
# data: error code, error message, and error details. You can find out more
|
27373
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
27374
|
+
# //cloud.google.com/apis/design/errors).
|
27375
|
+
# Corresponds to the JSON property `status`
|
27376
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
|
27377
|
+
attr_accessor :status
|
27378
|
+
|
27379
|
+
def initialize(**args)
|
27380
|
+
update!(**args)
|
27381
|
+
end
|
27382
|
+
|
27383
|
+
# Update properties of this object
|
27384
|
+
def update!(**args)
|
27385
|
+
@data = args[:data] if args.key?(:data)
|
27386
|
+
@data_keys_with_error = args[:data_keys_with_error] if args.key?(:data_keys_with_error)
|
27387
|
+
@status = args[:status] if args.key?(:status)
|
27388
|
+
end
|
27389
|
+
end
|
27390
|
+
|
26413
27391
|
# Request message for PredictionService.StreamingPredict. The first message must
|
26414
27392
|
# contain endpoint field and optionally input. The subsequent messages must
|
26415
27393
|
# contain input.
|
@@ -28229,6 +29207,86 @@ module Google
|
|
28229
29207
|
end
|
28230
29208
|
end
|
28231
29209
|
|
29210
|
+
# A single example of the tool usage.
|
29211
|
+
class GoogleCloudAiplatformV1beta1ToolUseExample
|
29212
|
+
include Google::Apis::Core::Hashable
|
29213
|
+
|
29214
|
+
# Required. The display name for example.
|
29215
|
+
# Corresponds to the JSON property `displayName`
|
29216
|
+
# @return [String]
|
29217
|
+
attr_accessor :display_name
|
29218
|
+
|
29219
|
+
# Identifies one operation of the extension.
|
29220
|
+
# Corresponds to the JSON property `extensionOperation`
|
29221
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation]
|
29222
|
+
attr_accessor :extension_operation
|
29223
|
+
|
29224
|
+
# Function name to call.
|
29225
|
+
# Corresponds to the JSON property `functionName`
|
29226
|
+
# @return [String]
|
29227
|
+
attr_accessor :function_name
|
29228
|
+
|
29229
|
+
# Required. Query that should be routed to this tool.
|
29230
|
+
# Corresponds to the JSON property `query`
|
29231
|
+
# @return [String]
|
29232
|
+
attr_accessor :query
|
29233
|
+
|
29234
|
+
# Request parameters used for executing this tool.
|
29235
|
+
# Corresponds to the JSON property `requestParams`
|
29236
|
+
# @return [Hash<String,Object>]
|
29237
|
+
attr_accessor :request_params
|
29238
|
+
|
29239
|
+
# Response parameters generated by this tool.
|
29240
|
+
# Corresponds to the JSON property `responseParams`
|
29241
|
+
# @return [Hash<String,Object>]
|
29242
|
+
attr_accessor :response_params
|
29243
|
+
|
29244
|
+
# Summary of the tool response to the user query.
|
29245
|
+
# Corresponds to the JSON property `responseSummary`
|
29246
|
+
# @return [String]
|
29247
|
+
attr_accessor :response_summary
|
29248
|
+
|
29249
|
+
def initialize(**args)
|
29250
|
+
update!(**args)
|
29251
|
+
end
|
29252
|
+
|
29253
|
+
# Update properties of this object
|
29254
|
+
def update!(**args)
|
29255
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
29256
|
+
@extension_operation = args[:extension_operation] if args.key?(:extension_operation)
|
29257
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
29258
|
+
@query = args[:query] if args.key?(:query)
|
29259
|
+
@request_params = args[:request_params] if args.key?(:request_params)
|
29260
|
+
@response_params = args[:response_params] if args.key?(:response_params)
|
29261
|
+
@response_summary = args[:response_summary] if args.key?(:response_summary)
|
29262
|
+
end
|
29263
|
+
end
|
29264
|
+
|
29265
|
+
# Identifies one operation of the extension.
|
29266
|
+
class GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation
|
29267
|
+
include Google::Apis::Core::Hashable
|
29268
|
+
|
29269
|
+
# Resource name of the extension.
|
29270
|
+
# Corresponds to the JSON property `extension`
|
29271
|
+
# @return [String]
|
29272
|
+
attr_accessor :extension
|
29273
|
+
|
29274
|
+
# Required. Operation ID of the extension.
|
29275
|
+
# Corresponds to the JSON property `operationId`
|
29276
|
+
# @return [String]
|
29277
|
+
attr_accessor :operation_id
|
29278
|
+
|
29279
|
+
def initialize(**args)
|
29280
|
+
update!(**args)
|
29281
|
+
end
|
29282
|
+
|
29283
|
+
# Update properties of this object
|
29284
|
+
def update!(**args)
|
29285
|
+
@extension = args[:extension] if args.key?(:extension)
|
29286
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
29287
|
+
end
|
29288
|
+
end
|
29289
|
+
|
28232
29290
|
# CMLE training config. For every active learning labeling iteration, system
|
28233
29291
|
# will train a machine learning model on CMLE. The trained model will be used by
|
28234
29292
|
# data sampling algorithm to select DataItems.
|
@@ -29261,8 +30319,9 @@ module Google
|
|
29261
30319
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
29262
30320
|
include Google::Apis::Core::Hashable
|
29263
30321
|
|
29264
|
-
# Required. Fully-qualified Vertex AI Search's datastore resource ID.
|
29265
|
-
#
|
30322
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. Format:
|
30323
|
+
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
30324
|
+
# dataStore`
|
29266
30325
|
# Corresponds to the JSON property `datastore`
|
29267
30326
|
# @return [String]
|
29268
30327
|
attr_accessor :datastore
|
@@ -31511,7 +32570,7 @@ module Google
|
|
31511
32570
|
include Google::Apis::Core::Hashable
|
31512
32571
|
|
31513
32572
|
# Index in the prediction output where the citation ends (exclusive). Must be >
|
31514
|
-
# start_index and
|
32573
|
+
# start_index and <= len(output).
|
31515
32574
|
# Corresponds to the JSON property `endIndex`
|
31516
32575
|
# @return [Fixnum]
|
31517
32576
|
attr_accessor :end_index
|