google-apis-aiplatform_v1beta1 0.20.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 +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1256 -123
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +549 -2
- data/lib/google/apis/aiplatform_v1beta1/service.rb +578 -10
- metadata +3 -3
@@ -777,6 +777,11 @@ module Google
|
|
777
777
|
class CloudAiNlLlmProtoServicePart
|
778
778
|
include Google::Apis::Core::Hashable
|
779
779
|
|
780
|
+
# Metadata describes the original input document content.
|
781
|
+
# Corresponds to the JSON property `documentMetadata`
|
782
|
+
# @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartDocumentMetadata]
|
783
|
+
attr_accessor :document_metadata
|
784
|
+
|
780
785
|
# Represents file data.
|
781
786
|
# Corresponds to the JSON property `fileData`
|
782
787
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData]
|
@@ -813,6 +818,7 @@ module Google
|
|
813
818
|
|
814
819
|
# Update properties of this object
|
815
820
|
def update!(**args)
|
821
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
816
822
|
@file_data = args[:file_data] if args.key?(:file_data)
|
817
823
|
@function_call = args[:function_call] if args.key?(:function_call)
|
818
824
|
@function_response = args[:function_response] if args.key?(:function_response)
|
@@ -854,6 +860,32 @@ module Google
|
|
854
860
|
end
|
855
861
|
end
|
856
862
|
|
863
|
+
# Metadata describes the original input document content.
|
864
|
+
class CloudAiNlLlmProtoServicePartDocumentMetadata
|
865
|
+
include Google::Apis::Core::Hashable
|
866
|
+
|
867
|
+
# Represents arbitrary blob data input.
|
868
|
+
# Corresponds to the JSON property `originalDocumentBlob`
|
869
|
+
# @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob]
|
870
|
+
attr_accessor :original_document_blob
|
871
|
+
|
872
|
+
# The (1-indexed) page number of the image in the original document. The first
|
873
|
+
# page carries the original document content and mime type.
|
874
|
+
# Corresponds to the JSON property `pageNumber`
|
875
|
+
# @return [Fixnum]
|
876
|
+
attr_accessor :page_number
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@original_document_blob = args[:original_document_blob] if args.key?(:original_document_blob)
|
885
|
+
@page_number = args[:page_number] if args.key?(:page_number)
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
857
889
|
# Represents file data.
|
858
890
|
class CloudAiNlLlmProtoServicePartFileData
|
859
891
|
include Google::Apis::Core::Hashable
|
@@ -1028,6 +1060,11 @@ module Google
|
|
1028
1060
|
attr_accessor :flagged
|
1029
1061
|
alias_method :flagged?, :flagged
|
1030
1062
|
|
1063
|
+
# The influential terms that could potentially block the response.
|
1064
|
+
# Corresponds to the JSON property `influentialTerms`
|
1065
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm>]
|
1066
|
+
attr_accessor :influential_terms
|
1067
|
+
|
1031
1068
|
# The RAI category.
|
1032
1069
|
# Corresponds to the JSON property `raiCategory`
|
1033
1070
|
# @return [String]
|
@@ -1046,11 +1083,49 @@ module Google
|
|
1046
1083
|
def update!(**args)
|
1047
1084
|
@confidence = args[:confidence] if args.key?(:confidence)
|
1048
1085
|
@flagged = args[:flagged] if args.key?(:flagged)
|
1086
|
+
@influential_terms = args[:influential_terms] if args.key?(:influential_terms)
|
1049
1087
|
@rai_category = args[:rai_category] if args.key?(:rai_category)
|
1050
1088
|
@score = args[:score] if args.key?(:score)
|
1051
1089
|
end
|
1052
1090
|
end
|
1053
1091
|
|
1092
|
+
# The influential term that could potentially block the response.
|
1093
|
+
class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
|
1094
|
+
include Google::Apis::Core::Hashable
|
1095
|
+
|
1096
|
+
# The beginning offset of the influential term.
|
1097
|
+
# Corresponds to the JSON property `beginOffset`
|
1098
|
+
# @return [Fixnum]
|
1099
|
+
attr_accessor :begin_offset
|
1100
|
+
|
1101
|
+
# The confidence score of the influential term.
|
1102
|
+
# Corresponds to the JSON property `confidence`
|
1103
|
+
# @return [Float]
|
1104
|
+
attr_accessor :confidence
|
1105
|
+
|
1106
|
+
# The source of the influential term, prompt or response.
|
1107
|
+
# Corresponds to the JSON property `source`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :source
|
1110
|
+
|
1111
|
+
# The influential term.
|
1112
|
+
# Corresponds to the JSON property `term`
|
1113
|
+
# @return [String]
|
1114
|
+
attr_accessor :term
|
1115
|
+
|
1116
|
+
def initialize(**args)
|
1117
|
+
update!(**args)
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# Update properties of this object
|
1121
|
+
def update!(**args)
|
1122
|
+
@begin_offset = args[:begin_offset] if args.key?(:begin_offset)
|
1123
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1124
|
+
@source = args[:source] if args.key?(:source)
|
1125
|
+
@term = args[:term] if args.key?(:term)
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1054
1129
|
# Safety rating corresponding to the generated content.
|
1055
1130
|
class CloudAiNlLlmProtoServiceSafetyRating
|
1056
1131
|
include Google::Apis::Core::Hashable
|
@@ -1769,6 +1844,222 @@ module Google
|
|
1769
1844
|
end
|
1770
1845
|
end
|
1771
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
|
+
|
1772
2063
|
# A description of resources that to large degree are decided by Vertex AI, and
|
1773
2064
|
# require only a modest additional configuration. Each Model supporting these
|
1774
2065
|
# resources documents its specific guidelines.
|
@@ -3148,6 +3439,26 @@ module Google
|
|
3148
3439
|
end
|
3149
3440
|
end
|
3150
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
|
+
|
3151
3462
|
# This message will be placed in the metadata field of a google.longrunning.
|
3152
3463
|
# Operation associated with a CheckTrialEarlyStoppingState request.
|
3153
3464
|
class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata
|
@@ -6144,11 +6455,6 @@ module Google
|
|
6144
6455
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
6145
6456
|
attr_accessor :predict_request_response_logging_config
|
6146
6457
|
|
6147
|
-
# Represents configuration for private service connect.
|
6148
|
-
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6149
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
|
6150
|
-
attr_accessor :private_service_connect_config
|
6151
|
-
|
6152
6458
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
6153
6459
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
6154
6460
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -6181,7 +6487,6 @@ module Google
|
|
6181
6487
|
@name = args[:name] if args.key?(:name)
|
6182
6488
|
@network = args[:network] if args.key?(:network)
|
6183
6489
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
6184
|
-
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6185
6490
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
6186
6491
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6187
6492
|
end
|
@@ -6689,6 +6994,61 @@ module Google
|
|
6689
6994
|
end
|
6690
6995
|
end
|
6691
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
|
+
|
6692
7052
|
# Instance of a general execution.
|
6693
7053
|
class GoogleCloudAiplatformV1beta1Execution
|
6694
7054
|
include Google::Apis::Core::Hashable
|
@@ -6784,6 +7144,88 @@ module Google
|
|
6784
7144
|
end
|
6785
7145
|
end
|
6786
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
|
+
|
6787
7229
|
# Request message for PredictionService.Explain.
|
6788
7230
|
class GoogleCloudAiplatformV1beta1ExplainRequest
|
6789
7231
|
include Google::Apis::Core::Hashable
|
@@ -7851,13 +8293,176 @@ module Google
|
|
7851
8293
|
# @return [Fixnum]
|
7852
8294
|
attr_accessor :page_size
|
7853
8295
|
|
7854
|
-
# A page token, received from a previous ExportTensorboardTimeSeriesData call.
|
7855
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
7856
|
-
# parameters provided to ExportTensorboardTimeSeriesData must match the call
|
7857
|
-
# that provided the page token.
|
7858
|
-
# 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`
|
7859
8459
|
# @return [String]
|
7860
|
-
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
|
7861
8466
|
|
7862
8467
|
def initialize(**args)
|
7863
8468
|
update!(**args)
|
@@ -7865,27 +8470,31 @@ module Google
|
|
7865
8470
|
|
7866
8471
|
# Update properties of this object
|
7867
8472
|
def update!(**args)
|
7868
|
-
@
|
7869
|
-
@
|
7870
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
7871
|
-
@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)
|
7872
8475
|
end
|
7873
8476
|
end
|
7874
8477
|
|
7875
|
-
#
|
7876
|
-
class
|
8478
|
+
# Operation of an extension.
|
8479
|
+
class GoogleCloudAiplatformV1beta1ExtensionOperation
|
7877
8480
|
include Google::Apis::Core::Hashable
|
7878
8481
|
|
7879
|
-
#
|
7880
|
-
#
|
7881
|
-
#
|
7882
|
-
#
|
7883
|
-
|
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
|
7884
8490
|
|
7885
|
-
#
|
7886
|
-
#
|
7887
|
-
#
|
7888
|
-
|
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
|
7889
8498
|
|
7890
8499
|
def initialize(**args)
|
7891
8500
|
update!(**args)
|
@@ -7893,8 +8502,8 @@ module Google
|
|
7893
8502
|
|
7894
8503
|
# Update properties of this object
|
7895
8504
|
def update!(**args)
|
7896
|
-
@
|
7897
|
-
@
|
8505
|
+
@function_declaration = args[:function_declaration] if args.key?(:function_declaration)
|
8506
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
7898
8507
|
end
|
7899
8508
|
end
|
7900
8509
|
|
@@ -8710,8 +9319,7 @@ module Google
|
|
8710
9319
|
|
8711
9320
|
# Optional. Service agent type used during data sync. By default, the Vertex AI
|
8712
9321
|
# Service Agent is used. When using an IAM Policy to isolate this FeatureView
|
8713
|
-
# within a project
|
8714
|
-
# resource-policy) a separate service account should be provisioned by setting
|
9322
|
+
# within a project, a separate service account should be provisioned by setting
|
8715
9323
|
# this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate
|
8716
9324
|
# service account to access the BigQuery source table.
|
8717
9325
|
# Corresponds to the JSON property `serviceAgentType`
|
@@ -8994,9 +9602,11 @@ module Google
|
|
8994
9602
|
attr_accessor :brute_force_config
|
8995
9603
|
|
8996
9604
|
# Optional. Column of crowding. This column contains crowding attribute which is
|
8997
|
-
# a constraint on a neighbor list produced by
|
8998
|
-
#
|
8999
|
-
#
|
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.
|
9000
9610
|
# Corresponds to the JSON property `crowdingColumn`
|
9001
9611
|
# @return [String]
|
9002
9612
|
attr_accessor :crowding_column
|
@@ -9424,6 +10034,11 @@ module Google
|
|
9424
10034
|
class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse
|
9425
10035
|
include Google::Apis::Core::Hashable
|
9426
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
|
+
|
9427
10042
|
# Response structure in the format of key (feature name) and (feature) value
|
9428
10043
|
# pair.
|
9429
10044
|
# Corresponds to the JSON property `keyValues`
|
@@ -9441,6 +10056,7 @@ module Google
|
|
9441
10056
|
|
9442
10057
|
# Update properties of this object
|
9443
10058
|
def update!(**args)
|
10059
|
+
@data_key = args[:data_key] if args.key?(:data_key)
|
9444
10060
|
@key_values = args[:key_values] if args.key?(:key_values)
|
9445
10061
|
@proto_struct = args[:proto_struct] if args.key?(:proto_struct)
|
9446
10062
|
end
|
@@ -9563,7 +10179,7 @@ module Google
|
|
9563
10179
|
end
|
9564
10180
|
end
|
9565
10181
|
|
9566
|
-
# The request message for MatchService.FindNeighbors.
|
10182
|
+
# LINT.IfChange The request message for MatchService.FindNeighbors.
|
9567
10183
|
class GoogleCloudAiplatformV1beta1FindNeighborsRequest
|
9568
10184
|
include Google::Apis::Core::Hashable
|
9569
10185
|
|
@@ -9807,8 +10423,8 @@ module Google
|
|
9807
10423
|
attr_accessor :description
|
9808
10424
|
|
9809
10425
|
# Required. The name of the function to call. Must start with a letter or an
|
9810
|
-
# underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes,
|
9811
|
-
# 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.
|
9812
10428
|
# Corresponds to the JSON property `name`
|
9813
10429
|
# @return [String]
|
9814
10430
|
attr_accessor :name
|
@@ -11871,6 +12487,32 @@ module Google
|
|
11871
12487
|
end
|
11872
12488
|
end
|
11873
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
|
+
|
11874
12516
|
# Response message for FeatureRegistryService.ListFeatureGroups.
|
11875
12517
|
class GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse
|
11876
12518
|
include Google::Apis::Core::Hashable
|
@@ -17787,6 +18429,11 @@ module Google
|
|
17787
18429
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
|
17788
18430
|
attr_accessor :deploy_gke
|
17789
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
|
+
|
17790
18437
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
17791
18438
|
# europe-west2, global, etc..
|
17792
18439
|
# Corresponds to the JSON property `openEvaluationPipeline`
|
@@ -17853,6 +18500,7 @@ module Google
|
|
17853
18500
|
@create_application = args[:create_application] if args.key?(:create_application)
|
17854
18501
|
@deploy = args[:deploy] if args.key?(:deploy)
|
17855
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)
|
17856
18504
|
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
17857
18505
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
17858
18506
|
@open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
|
@@ -17962,6 +18610,25 @@ module Google
|
|
17962
18610
|
end
|
17963
18611
|
end
|
17964
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
|
+
|
17965
18632
|
# Open fine tuning pipelines.
|
17966
18633
|
class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
|
17967
18634
|
include Google::Apis::Core::Hashable
|
@@ -18351,27 +19018,247 @@ module Google
|
|
18351
19018
|
|
18352
19019
|
# Update properties of this object
|
18353
19020
|
def update!(**args)
|
18354
|
-
@filter = args[:filter] if args.key?(:filter)
|
18355
|
-
@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)
|
18356
19244
|
end
|
18357
19245
|
end
|
18358
19246
|
|
18359
|
-
#
|
18360
|
-
class
|
19247
|
+
#
|
19248
|
+
class GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata
|
18361
19249
|
include Google::Apis::Core::Hashable
|
18362
19250
|
|
18363
|
-
#
|
18364
|
-
#
|
18365
|
-
#
|
18366
|
-
|
18367
|
-
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
|
18368
19255
|
|
18369
|
-
#
|
18370
|
-
#
|
18371
|
-
#
|
18372
|
-
#
|
18373
|
-
|
18374
|
-
|
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
|
18375
19262
|
|
18376
19263
|
def initialize(**args)
|
18377
19264
|
update!(**args)
|
@@ -18379,45 +19266,46 @@ module Google
|
|
18379
19266
|
|
18380
19267
|
# Update properties of this object
|
18381
19268
|
def update!(**args)
|
18382
|
-
@
|
18383
|
-
@
|
19269
|
+
@steps = args[:steps] if args.key?(:steps)
|
19270
|
+
@use_creativity = args[:use_creativity] if args.key?(:use_creativity)
|
18384
19271
|
end
|
18385
19272
|
end
|
18386
19273
|
|
18387
|
-
#
|
18388
|
-
class
|
19274
|
+
# ReAgent execution steps.
|
19275
|
+
class GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
|
18389
19276
|
include Google::Apis::Core::Hashable
|
18390
19277
|
|
18391
|
-
#
|
18392
|
-
# Corresponds to the JSON property `
|
18393
|
-
# @return [
|
18394
|
-
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
|
18395
19282
|
|
18396
|
-
#
|
18397
|
-
# Corresponds to the JSON property `
|
18398
|
-
# @return [
|
18399
|
-
attr_accessor :
|
19283
|
+
# Planner's instruction to the extension.
|
19284
|
+
# Corresponds to the JSON property `extensionInstruction`
|
19285
|
+
# @return [String]
|
19286
|
+
attr_accessor :extension_instruction
|
18400
19287
|
|
18401
|
-
#
|
18402
|
-
#
|
18403
|
-
# with pre-installed packages to meet users' various use cases. See the list of [
|
18404
|
-
# pre-built containers for training](https://cloud.google.com/vertex-ai/docs/
|
18405
|
-
# training/pre-built-containers). You must use an image from this list.
|
18406
|
-
# Corresponds to the JSON property `executorImageUri`
|
19288
|
+
# Planner's choice of extension to invoke.
|
19289
|
+
# Corresponds to the JSON property `extensionInvoked`
|
18407
19290
|
# @return [String]
|
18408
|
-
attr_accessor :
|
19291
|
+
attr_accessor :extension_invoked
|
18409
19292
|
|
18410
|
-
#
|
18411
|
-
#
|
18412
|
-
#
|
18413
|
-
|
18414
|
-
# @return [Array<String>]
|
18415
|
-
attr_accessor :package_uris
|
19293
|
+
# Response of the extension.
|
19294
|
+
# Corresponds to the JSON property `response`
|
19295
|
+
# @return [String]
|
19296
|
+
attr_accessor :response
|
18416
19297
|
|
18417
|
-
#
|
18418
|
-
#
|
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`
|
18419
19307
|
# @return [String]
|
18420
|
-
attr_accessor :
|
19308
|
+
attr_accessor :thought
|
18421
19309
|
|
18422
19310
|
def initialize(**args)
|
18423
19311
|
update!(**args)
|
@@ -18425,45 +19313,34 @@ module Google
|
|
18425
19313
|
|
18426
19314
|
# Update properties of this object
|
18427
19315
|
def update!(**args)
|
18428
|
-
@
|
18429
|
-
@
|
18430
|
-
@
|
18431
|
-
@
|
18432
|
-
@
|
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)
|
18433
19322
|
end
|
18434
19323
|
end
|
18435
19324
|
|
18436
|
-
#
|
18437
|
-
class
|
19325
|
+
# Metadata for response
|
19326
|
+
class GoogleCloudAiplatformV1beta1QueryResponseResponseMetadata
|
18438
19327
|
include Google::Apis::Core::Hashable
|
18439
19328
|
|
18440
|
-
#
|
18441
|
-
#
|
18442
|
-
# Corresponds to the JSON property `
|
18443
|
-
# @return [
|
18444
|
-
attr_accessor :
|
18445
|
-
|
18446
|
-
# DEPRECATED Use deployed_model_refs instead.
|
18447
|
-
# Corresponds to the JSON property `deployedModels`
|
18448
|
-
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModel>]
|
18449
|
-
attr_accessor :deployed_models
|
18450
|
-
|
18451
|
-
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
18452
|
-
# field is omitted, there are no subsequent pages.
|
18453
|
-
# Corresponds to the JSON property `nextPageToken`
|
18454
|
-
# @return [String]
|
18455
|
-
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
|
18456
19334
|
|
18457
|
-
#
|
18458
|
-
# Corresponds to the JSON property `
|
18459
|
-
# @return [
|
18460
|
-
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
|
18461
19339
|
|
18462
|
-
#
|
18463
|
-
#
|
18464
|
-
#
|
18465
|
-
|
18466
|
-
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
|
18467
19344
|
|
18468
19345
|
def initialize(**args)
|
18469
19346
|
update!(**args)
|
@@ -18471,11 +19348,9 @@ module Google
|
|
18471
19348
|
|
18472
19349
|
# Update properties of this object
|
18473
19350
|
def update!(**args)
|
18474
|
-
@
|
18475
|
-
@
|
18476
|
-
@
|
18477
|
-
@total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
|
18478
|
-
@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)
|
18479
19354
|
end
|
18480
19355
|
end
|
18481
19356
|
|
@@ -18901,6 +19776,44 @@ module Google
|
|
18901
19776
|
end
|
18902
19777
|
end
|
18903
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
|
+
|
18904
19817
|
# Request message for MetadataService.DeleteContextChildrenRequest.
|
18905
19818
|
class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
|
18906
19819
|
include Google::Apis::Core::Hashable
|
@@ -19383,6 +20296,12 @@ module Google
|
|
19383
20296
|
# @return [String]
|
19384
20297
|
attr_accessor :category
|
19385
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
|
+
|
19386
20305
|
# Required. The harm block threshold.
|
19387
20306
|
# Corresponds to the JSON property `threshold`
|
19388
20307
|
# @return [String]
|
@@ -19395,6 +20314,7 @@ module Google
|
|
19395
20314
|
# Update properties of this object
|
19396
20315
|
def update!(**args)
|
19397
20316
|
@category = args[:category] if args.key?(:category)
|
20317
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
19398
20318
|
@threshold = args[:threshold] if args.key?(:threshold)
|
19399
20319
|
end
|
19400
20320
|
end
|
@@ -19809,6 +20729,11 @@ module Google
|
|
19809
20729
|
class GoogleCloudAiplatformV1beta1Schema
|
19810
20730
|
include Google::Apis::Core::Hashable
|
19811
20731
|
|
20732
|
+
# Optional. Default value of the data.
|
20733
|
+
# Corresponds to the JSON property `default`
|
20734
|
+
# @return [Object]
|
20735
|
+
attr_accessor :default
|
20736
|
+
|
19812
20737
|
# Optional. The description of the data.
|
19813
20738
|
# Corresponds to the JSON property `description`
|
19814
20739
|
# @return [String]
|
@@ -19827,8 +20752,9 @@ module Google
|
|
19827
20752
|
# @return [Object]
|
19828
20753
|
attr_accessor :example
|
19829
20754
|
|
19830
|
-
# Optional. The format of the data. Supported formats: for NUMBER type: float,
|
19831
|
-
# 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
|
19832
20758
|
# Corresponds to the JSON property `format`
|
19833
20759
|
# @return [String]
|
19834
20760
|
attr_accessor :format
|
@@ -19840,13 +20766,60 @@ module Google
|
|
19840
20766
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
19841
20767
|
attr_accessor :items
|
19842
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
|
+
|
19843
20810
|
# Optional. Indicates if the value may be null.
|
19844
20811
|
# Corresponds to the JSON property `nullable`
|
19845
20812
|
# @return [Boolean]
|
19846
20813
|
attr_accessor :nullable
|
19847
20814
|
alias_method :nullable?, :nullable
|
19848
20815
|
|
19849
|
-
# 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.
|
19850
20823
|
# Corresponds to the JSON property `properties`
|
19851
20824
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
19852
20825
|
attr_accessor :properties
|
@@ -19856,6 +20829,11 @@ module Google
|
|
19856
20829
|
# @return [Array<String>]
|
19857
20830
|
attr_accessor :required
|
19858
20831
|
|
20832
|
+
# Optional. The title of the Schema.
|
20833
|
+
# Corresponds to the JSON property `title`
|
20834
|
+
# @return [String]
|
20835
|
+
attr_accessor :title
|
20836
|
+
|
19859
20837
|
# Optional. The type of the data.
|
19860
20838
|
# Corresponds to the JSON property `type`
|
19861
20839
|
# @return [String]
|
@@ -19867,14 +20845,25 @@ module Google
|
|
19867
20845
|
|
19868
20846
|
# Update properties of this object
|
19869
20847
|
def update!(**args)
|
20848
|
+
@default = args[:default] if args.key?(:default)
|
19870
20849
|
@description = args[:description] if args.key?(:description)
|
19871
20850
|
@enum = args[:enum] if args.key?(:enum)
|
19872
20851
|
@example = args[:example] if args.key?(:example)
|
19873
20852
|
@format = args[:format] if args.key?(:format)
|
19874
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)
|
19875
20862
|
@nullable = args[:nullable] if args.key?(:nullable)
|
20863
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
19876
20864
|
@properties = args[:properties] if args.key?(:properties)
|
19877
20865
|
@required = args[:required] if args.key?(:required)
|
20866
|
+
@title = args[:title] if args.key?(:title)
|
19878
20867
|
@type = args[:type] if args.key?(:type)
|
19879
20868
|
end
|
19880
20869
|
end
|
@@ -26336,6 +27325,69 @@ module Google
|
|
26336
27325
|
end
|
26337
27326
|
end
|
26338
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
|
+
|
26339
27391
|
# Request message for PredictionService.StreamingPredict. The first message must
|
26340
27392
|
# contain endpoint field and optionally input. The subsequent messages must
|
26341
27393
|
# contain input.
|
@@ -28155,6 +29207,86 @@ module Google
|
|
28155
29207
|
end
|
28156
29208
|
end
|
28157
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
|
+
|
28158
29290
|
# CMLE training config. For every active learning labeling iteration, system
|
28159
29291
|
# will train a machine learning model on CMLE. The trained model will be used by
|
28160
29292
|
# data sampling algorithm to select DataItems.
|
@@ -29187,8 +30319,9 @@ module Google
|
|
29187
30319
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
29188
30320
|
include Google::Apis::Core::Hashable
|
29189
30321
|
|
29190
|
-
# Required. Fully-qualified Vertex AI Search's datastore resource ID.
|
29191
|
-
#
|
30322
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. Format:
|
30323
|
+
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
30324
|
+
# dataStore`
|
29192
30325
|
# Corresponds to the JSON property `datastore`
|
29193
30326
|
# @return [String]
|
29194
30327
|
attr_accessor :datastore
|
@@ -31437,7 +32570,7 @@ module Google
|
|
31437
32570
|
include Google::Apis::Core::Hashable
|
31438
32571
|
|
31439
32572
|
# Index in the prediction output where the citation ends (exclusive). Must be >
|
31440
|
-
# start_index and
|
32573
|
+
# start_index and <= len(output).
|
31441
32574
|
# Corresponds to the JSON property `endIndex`
|
31442
32575
|
# @return [Fixnum]
|
31443
32576
|
attr_accessor :end_index
|