google-apis-aiplatform_v1 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -802,6 +802,11 @@ module Google
|
|
802
802
|
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob]
|
803
803
|
attr_accessor :inline_data
|
804
804
|
|
805
|
+
# Metadata provides extra info for building the LM Root request.
|
806
|
+
# Corresponds to the JSON property `lmRootMetadata`
|
807
|
+
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartLmRootMetadata]
|
808
|
+
attr_accessor :lm_root_metadata
|
809
|
+
|
805
810
|
# Text input.
|
806
811
|
# Corresponds to the JSON property `text`
|
807
812
|
# @return [String]
|
@@ -823,6 +828,7 @@ module Google
|
|
823
828
|
@function_call = args[:function_call] if args.key?(:function_call)
|
824
829
|
@function_response = args[:function_response] if args.key?(:function_response)
|
825
830
|
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
831
|
+
@lm_root_metadata = args[:lm_root_metadata] if args.key?(:lm_root_metadata)
|
826
832
|
@text = args[:text] if args.key?(:text)
|
827
833
|
@video_metadata = args[:video_metadata] if args.key?(:video_metadata)
|
828
834
|
end
|
@@ -911,6 +917,25 @@ module Google
|
|
911
917
|
end
|
912
918
|
end
|
913
919
|
|
920
|
+
# Metadata provides extra info for building the LM Root request.
|
921
|
+
class CloudAiNlLlmProtoServicePartLmRootMetadata
|
922
|
+
include Google::Apis::Core::Hashable
|
923
|
+
|
924
|
+
# Chunk id that will be used when mapping the part to the LM Root's chunk.
|
925
|
+
# Corresponds to the JSON property `chunkId`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :chunk_id
|
928
|
+
|
929
|
+
def initialize(**args)
|
930
|
+
update!(**args)
|
931
|
+
end
|
932
|
+
|
933
|
+
# Update properties of this object
|
934
|
+
def update!(**args)
|
935
|
+
@chunk_id = args[:chunk_id] if args.key?(:chunk_id)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
914
939
|
# Metadata describes the input video content.
|
915
940
|
class CloudAiNlLlmProtoServicePartVideoMetadata
|
916
941
|
include Google::Apis::Core::Hashable
|
@@ -2941,11 +2966,11 @@ module Google
|
|
2941
2966
|
end
|
2942
2967
|
end
|
2943
2968
|
|
2944
|
-
#
|
2969
|
+
# Content blob. It's preferred to send as text directly rather than raw bytes.
|
2945
2970
|
class GoogleCloudAiplatformV1Blob
|
2946
2971
|
include Google::Apis::Core::Hashable
|
2947
2972
|
|
2948
|
-
# Required. Raw bytes
|
2973
|
+
# Required. Raw bytes.
|
2949
2974
|
# Corresponds to the JSON property `data`
|
2950
2975
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2951
2976
|
# @return [String]
|
@@ -4097,6 +4122,31 @@ module Google
|
|
4097
4122
|
end
|
4098
4123
|
end
|
4099
4124
|
|
4125
|
+
# Details of operations that perform create PersistentResource.
|
4126
|
+
class GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata
|
4127
|
+
include Google::Apis::Core::Hashable
|
4128
|
+
|
4129
|
+
# Generic Metadata shared by all operations.
|
4130
|
+
# Corresponds to the JSON property `genericMetadata`
|
4131
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
4132
|
+
attr_accessor :generic_metadata
|
4133
|
+
|
4134
|
+
# Progress Message for Create LRO
|
4135
|
+
# Corresponds to the JSON property `progressMessage`
|
4136
|
+
# @return [String]
|
4137
|
+
attr_accessor :progress_message
|
4138
|
+
|
4139
|
+
def initialize(**args)
|
4140
|
+
update!(**args)
|
4141
|
+
end
|
4142
|
+
|
4143
|
+
# Update properties of this object
|
4144
|
+
def update!(**args)
|
4145
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4146
|
+
@progress_message = args[:progress_message] if args.key?(:progress_message)
|
4147
|
+
end
|
4148
|
+
end
|
4149
|
+
|
4100
4150
|
# Request message for PipelineService.CreatePipelineJob.
|
4101
4151
|
class GoogleCloudAiplatformV1CreatePipelineJobRequest
|
4102
4152
|
include Google::Apis::Core::Hashable
|
@@ -4473,6 +4523,15 @@ module Google
|
|
4473
4523
|
# @return [String]
|
4474
4524
|
attr_accessor :network
|
4475
4525
|
|
4526
|
+
# Optional. The ID of the PersistentResource in the same Project and Location
|
4527
|
+
# which to run If this is specified, the job will be run on existing machines
|
4528
|
+
# held by the PersistentResource instead of on-demand short-live machines. The
|
4529
|
+
# network and CMEK configs on the job should be consistent with those on the
|
4530
|
+
# PersistentResource, otherwise, the job will be rejected.
|
4531
|
+
# Corresponds to the JSON property `persistentResourceId`
|
4532
|
+
# @return [String]
|
4533
|
+
attr_accessor :persistent_resource_id
|
4534
|
+
|
4476
4535
|
# The ID of the location to store protected artifacts. e.g. us-central1.
|
4477
4536
|
# Populate only when the location is different than CustomJob location. List of
|
4478
4537
|
# supported locations: https://cloud.google.com/vertex-ai/docs/general/locations
|
@@ -4528,6 +4587,7 @@ module Google
|
|
4528
4587
|
@experiment_run = args[:experiment_run] if args.key?(:experiment_run)
|
4529
4588
|
@models = args[:models] if args.key?(:models)
|
4530
4589
|
@network = args[:network] if args.key?(:network)
|
4590
|
+
@persistent_resource_id = args[:persistent_resource_id] if args.key?(:persistent_resource_id)
|
4531
4591
|
@protected_artifact_location_id = args[:protected_artifact_location_id] if args.key?(:protected_artifact_location_id)
|
4532
4592
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
4533
4593
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
@@ -5632,6 +5692,13 @@ module Google
|
|
5632
5692
|
attr_accessor :disable_container_logging
|
5633
5693
|
alias_method :disable_container_logging?, :disable_container_logging
|
5634
5694
|
|
5695
|
+
# If true, deploy the model without explainable feature, regardless the
|
5696
|
+
# existence of Model.explanation_spec or explanation_spec.
|
5697
|
+
# Corresponds to the JSON property `disableExplanations`
|
5698
|
+
# @return [Boolean]
|
5699
|
+
attr_accessor :disable_explanations
|
5700
|
+
alias_method :disable_explanations?, :disable_explanations
|
5701
|
+
|
5635
5702
|
# The display name of the DeployedModel. If not provided upon creation, the
|
5636
5703
|
# Model's display_name is used.
|
5637
5704
|
# Corresponds to the JSON property `displayName`
|
@@ -5709,6 +5776,7 @@ module Google
|
|
5709
5776
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5710
5777
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
5711
5778
|
@disable_container_logging = args[:disable_container_logging] if args.key?(:disable_container_logging)
|
5779
|
+
@disable_explanations = args[:disable_explanations] if args.key?(:disable_explanations)
|
5712
5780
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5713
5781
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
5714
5782
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
@@ -6060,11 +6128,6 @@ module Google
|
|
6060
6128
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig]
|
6061
6129
|
attr_accessor :predict_request_response_logging_config
|
6062
6130
|
|
6063
|
-
# Represents configuration for private service connect.
|
6064
|
-
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6065
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
|
6066
|
-
attr_accessor :private_service_connect_config
|
6067
|
-
|
6068
6131
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
6069
6132
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
6070
6133
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -6097,7 +6160,6 @@ module Google
|
|
6097
6160
|
@name = args[:name] if args.key?(:name)
|
6098
6161
|
@network = args[:network] if args.key?(:network)
|
6099
6162
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
6100
|
-
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6101
6163
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
6102
6164
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6103
6165
|
end
|
@@ -8165,6 +8227,13 @@ module Google
|
|
8165
8227
|
# @return [String]
|
8166
8228
|
attr_accessor :create_time
|
8167
8229
|
|
8230
|
+
# The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
|
8231
|
+
# when you choose Optimized storage type. Public endpoint is provisioned by
|
8232
|
+
# default.
|
8233
|
+
# Corresponds to the JSON property `dedicatedServingEndpoint`
|
8234
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint]
|
8235
|
+
attr_accessor :dedicated_serving_endpoint
|
8236
|
+
|
8168
8237
|
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
8169
8238
|
# blind "overwrite" update happens.
|
8170
8239
|
# Corresponds to the JSON property `etag`
|
@@ -8189,6 +8258,11 @@ module Google
|
|
8189
8258
|
# @return [String]
|
8190
8259
|
attr_accessor :name
|
8191
8260
|
|
8261
|
+
# Optimized storage type
|
8262
|
+
# Corresponds to the JSON property `optimized`
|
8263
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized]
|
8264
|
+
attr_accessor :optimized
|
8265
|
+
|
8192
8266
|
# Output only. State of the featureOnlineStore.
|
8193
8267
|
# Corresponds to the JSON property `state`
|
8194
8268
|
# @return [String]
|
@@ -8207,9 +8281,11 @@ module Google
|
|
8207
8281
|
def update!(**args)
|
8208
8282
|
@bigtable = args[:bigtable] if args.key?(:bigtable)
|
8209
8283
|
@create_time = args[:create_time] if args.key?(:create_time)
|
8284
|
+
@dedicated_serving_endpoint = args[:dedicated_serving_endpoint] if args.key?(:dedicated_serving_endpoint)
|
8210
8285
|
@etag = args[:etag] if args.key?(:etag)
|
8211
8286
|
@labels = args[:labels] if args.key?(:labels)
|
8212
8287
|
@name = args[:name] if args.key?(:name)
|
8288
|
+
@optimized = args[:optimized] if args.key?(:optimized)
|
8213
8289
|
@state = args[:state] if args.key?(:state)
|
8214
8290
|
@update_time = args[:update_time] if args.key?(:update_time)
|
8215
8291
|
end
|
@@ -8272,6 +8348,41 @@ module Google
|
|
8272
8348
|
end
|
8273
8349
|
end
|
8274
8350
|
|
8351
|
+
# The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
|
8352
|
+
# when you choose Optimized storage type. Public endpoint is provisioned by
|
8353
|
+
# default.
|
8354
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
|
8355
|
+
include Google::Apis::Core::Hashable
|
8356
|
+
|
8357
|
+
# Output only. This field will be populated with the domain name to use for this
|
8358
|
+
# FeatureOnlineStore
|
8359
|
+
# Corresponds to the JSON property `publicEndpointDomainName`
|
8360
|
+
# @return [String]
|
8361
|
+
attr_accessor :public_endpoint_domain_name
|
8362
|
+
|
8363
|
+
def initialize(**args)
|
8364
|
+
update!(**args)
|
8365
|
+
end
|
8366
|
+
|
8367
|
+
# Update properties of this object
|
8368
|
+
def update!(**args)
|
8369
|
+
@public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
|
8370
|
+
end
|
8371
|
+
end
|
8372
|
+
|
8373
|
+
# Optimized storage type
|
8374
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreOptimized
|
8375
|
+
include Google::Apis::Core::Hashable
|
8376
|
+
|
8377
|
+
def initialize(**args)
|
8378
|
+
update!(**args)
|
8379
|
+
end
|
8380
|
+
|
8381
|
+
# Update properties of this object
|
8382
|
+
def update!(**args)
|
8383
|
+
end
|
8384
|
+
end
|
8385
|
+
|
8275
8386
|
# Selector for Features of an EntityType.
|
8276
8387
|
class GoogleCloudAiplatformV1FeatureSelector
|
8277
8388
|
include Google::Apis::Core::Hashable
|
@@ -8549,6 +8660,11 @@ module Google
|
|
8549
8660
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource]
|
8550
8661
|
attr_accessor :feature_registry_source
|
8551
8662
|
|
8663
|
+
# Configuration for vector indexing.
|
8664
|
+
# Corresponds to the JSON property `indexConfig`
|
8665
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfig]
|
8666
|
+
attr_accessor :index_config
|
8667
|
+
|
8552
8668
|
# Optional. The labels with user-defined metadata to organize your FeatureViews.
|
8553
8669
|
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
8554
8670
|
# can only contain lowercase letters, numeric characters, underscores and
|
@@ -8588,6 +8704,7 @@ module Google
|
|
8588
8704
|
@create_time = args[:create_time] if args.key?(:create_time)
|
8589
8705
|
@etag = args[:etag] if args.key?(:etag)
|
8590
8706
|
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
8707
|
+
@index_config = args[:index_config] if args.key?(:index_config)
|
8591
8708
|
@labels = args[:labels] if args.key?(:labels)
|
8592
8709
|
@name = args[:name] if args.key?(:name)
|
8593
8710
|
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
@@ -8717,6 +8834,100 @@ module Google
|
|
8717
8834
|
end
|
8718
8835
|
end
|
8719
8836
|
|
8837
|
+
# Configuration for vector indexing.
|
8838
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfig
|
8839
|
+
include Google::Apis::Core::Hashable
|
8840
|
+
|
8841
|
+
# Configuration options for using brute force search.
|
8842
|
+
# Corresponds to the JSON property `bruteForceConfig`
|
8843
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig]
|
8844
|
+
attr_accessor :brute_force_config
|
8845
|
+
|
8846
|
+
# Optional. Column of crowding. This column contains crowding attribute which is
|
8847
|
+
# a constraint on a neighbor list produced by FeatureOnlineStoreService.
|
8848
|
+
# SearchNearestEntities to diversify search results. If NearestNeighborQuery.
|
8849
|
+
# per_crowding_attribute_neighbor_count is set to K in
|
8850
|
+
# SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of
|
8851
|
+
# the same crowding attribute are returned in the response.
|
8852
|
+
# Corresponds to the JSON property `crowdingColumn`
|
8853
|
+
# @return [String]
|
8854
|
+
attr_accessor :crowding_column
|
8855
|
+
|
8856
|
+
# Optional. The distance measure used in nearest neighbor search.
|
8857
|
+
# Corresponds to the JSON property `distanceMeasureType`
|
8858
|
+
# @return [String]
|
8859
|
+
attr_accessor :distance_measure_type
|
8860
|
+
|
8861
|
+
# Optional. Column of embedding. This column contains the source data to create
|
8862
|
+
# index for vector search. embedding_column must be set when using vector search.
|
8863
|
+
# Corresponds to the JSON property `embeddingColumn`
|
8864
|
+
# @return [String]
|
8865
|
+
attr_accessor :embedding_column
|
8866
|
+
|
8867
|
+
# Optional. The number of dimensions of the input embedding.
|
8868
|
+
# Corresponds to the JSON property `embeddingDimension`
|
8869
|
+
# @return [Fixnum]
|
8870
|
+
attr_accessor :embedding_dimension
|
8871
|
+
|
8872
|
+
# Optional. Columns of features that're used to filter vector search results.
|
8873
|
+
# Corresponds to the JSON property `filterColumns`
|
8874
|
+
# @return [Array<String>]
|
8875
|
+
attr_accessor :filter_columns
|
8876
|
+
|
8877
|
+
# Configuration options for the tree-AH algorithm.
|
8878
|
+
# Corresponds to the JSON property `treeAhConfig`
|
8879
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig]
|
8880
|
+
attr_accessor :tree_ah_config
|
8881
|
+
|
8882
|
+
def initialize(**args)
|
8883
|
+
update!(**args)
|
8884
|
+
end
|
8885
|
+
|
8886
|
+
# Update properties of this object
|
8887
|
+
def update!(**args)
|
8888
|
+
@brute_force_config = args[:brute_force_config] if args.key?(:brute_force_config)
|
8889
|
+
@crowding_column = args[:crowding_column] if args.key?(:crowding_column)
|
8890
|
+
@distance_measure_type = args[:distance_measure_type] if args.key?(:distance_measure_type)
|
8891
|
+
@embedding_column = args[:embedding_column] if args.key?(:embedding_column)
|
8892
|
+
@embedding_dimension = args[:embedding_dimension] if args.key?(:embedding_dimension)
|
8893
|
+
@filter_columns = args[:filter_columns] if args.key?(:filter_columns)
|
8894
|
+
@tree_ah_config = args[:tree_ah_config] if args.key?(:tree_ah_config)
|
8895
|
+
end
|
8896
|
+
end
|
8897
|
+
|
8898
|
+
# Configuration options for using brute force search.
|
8899
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig
|
8900
|
+
include Google::Apis::Core::Hashable
|
8901
|
+
|
8902
|
+
def initialize(**args)
|
8903
|
+
update!(**args)
|
8904
|
+
end
|
8905
|
+
|
8906
|
+
# Update properties of this object
|
8907
|
+
def update!(**args)
|
8908
|
+
end
|
8909
|
+
end
|
8910
|
+
|
8911
|
+
# Configuration options for the tree-AH algorithm.
|
8912
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig
|
8913
|
+
include Google::Apis::Core::Hashable
|
8914
|
+
|
8915
|
+
# Optional. Number of embeddings on each leaf node. The default value is 1000 if
|
8916
|
+
# not set.
|
8917
|
+
# Corresponds to the JSON property `leafNodeEmbeddingCount`
|
8918
|
+
# @return [Fixnum]
|
8919
|
+
attr_accessor :leaf_node_embedding_count
|
8920
|
+
|
8921
|
+
def initialize(**args)
|
8922
|
+
update!(**args)
|
8923
|
+
end
|
8924
|
+
|
8925
|
+
# Update properties of this object
|
8926
|
+
def update!(**args)
|
8927
|
+
@leaf_node_embedding_count = args[:leaf_node_embedding_count] if args.key?(:leaf_node_embedding_count)
|
8928
|
+
end
|
8929
|
+
end
|
8930
|
+
|
8720
8931
|
# FeatureViewSync is a representation of sync operation which copies data from
|
8721
8932
|
# data source to Feature View in Online Store.
|
8722
8933
|
class GoogleCloudAiplatformV1FeatureViewSync
|
@@ -9146,6 +9357,11 @@ module Google
|
|
9146
9357
|
class GoogleCloudAiplatformV1FetchFeatureValuesResponse
|
9147
9358
|
include Google::Apis::Core::Hashable
|
9148
9359
|
|
9360
|
+
# Lookup key for a feature view.
|
9361
|
+
# Corresponds to the JSON property `dataKey`
|
9362
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKey]
|
9363
|
+
attr_accessor :data_key
|
9364
|
+
|
9149
9365
|
# Response structure in the format of key (feature name) and (feature) value
|
9150
9366
|
# pair.
|
9151
9367
|
# Corresponds to the JSON property `keyValues`
|
@@ -9163,6 +9379,7 @@ module Google
|
|
9163
9379
|
|
9164
9380
|
# Update properties of this object
|
9165
9381
|
def update!(**args)
|
9382
|
+
@data_key = args[:data_key] if args.key?(:data_key)
|
9166
9383
|
@key_values = args[:key_values] if args.key?(:key_values)
|
9167
9384
|
@proto_struct = args[:proto_struct] if args.key?(:proto_struct)
|
9168
9385
|
end
|
@@ -9529,8 +9746,8 @@ module Google
|
|
9529
9746
|
attr_accessor :description
|
9530
9747
|
|
9531
9748
|
# Required. The name of the function to call. Must start with a letter or an
|
9532
|
-
# underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes,
|
9533
|
-
# maximum length of 64.
|
9749
|
+
# underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes,
|
9750
|
+
# with a maximum length of 64.
|
9534
9751
|
# Corresponds to the JSON property `name`
|
9535
9752
|
# @return [String]
|
9536
9753
|
attr_accessor :name
|
@@ -9647,6 +9864,14 @@ module Google
|
|
9647
9864
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting>]
|
9648
9865
|
attr_accessor :safety_settings
|
9649
9866
|
|
9867
|
+
# The base structured datatype containing multi-part content of a message. A `
|
9868
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
9869
|
+
# a `parts` field containing multi-part data that contains the content of the
|
9870
|
+
# message turn.
|
9871
|
+
# Corresponds to the JSON property `systemInstruction`
|
9872
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
|
9873
|
+
attr_accessor :system_instruction
|
9874
|
+
|
9650
9875
|
# Optional. A list of `Tools` the model may use to generate the next response. A
|
9651
9876
|
# `Tool` is a piece of code that enables the system to interact with external
|
9652
9877
|
# systems to perform an action, or set of actions, outside of knowledge and
|
@@ -9664,6 +9889,7 @@ module Google
|
|
9664
9889
|
@contents = args[:contents] if args.key?(:contents)
|
9665
9890
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
9666
9891
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
9892
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
9667
9893
|
@tools = args[:tools] if args.key?(:tools)
|
9668
9894
|
end
|
9669
9895
|
end
|
@@ -9770,11 +9996,21 @@ module Google
|
|
9770
9996
|
# @return [Fixnum]
|
9771
9997
|
attr_accessor :candidate_count
|
9772
9998
|
|
9999
|
+
# Optional. Frequency penalties.
|
10000
|
+
# Corresponds to the JSON property `frequencyPenalty`
|
10001
|
+
# @return [Float]
|
10002
|
+
attr_accessor :frequency_penalty
|
10003
|
+
|
9773
10004
|
# Optional. The maximum number of output tokens to generate per message.
|
9774
10005
|
# Corresponds to the JSON property `maxOutputTokens`
|
9775
10006
|
# @return [Fixnum]
|
9776
10007
|
attr_accessor :max_output_tokens
|
9777
10008
|
|
10009
|
+
# Optional. Positive penalties.
|
10010
|
+
# Corresponds to the JSON property `presencePenalty`
|
10011
|
+
# @return [Float]
|
10012
|
+
attr_accessor :presence_penalty
|
10013
|
+
|
9778
10014
|
# Optional. Stop sequences.
|
9779
10015
|
# Corresponds to the JSON property `stopSequences`
|
9780
10016
|
# @return [Array<String>]
|
@@ -9802,7 +10038,9 @@ module Google
|
|
9802
10038
|
# Update properties of this object
|
9803
10039
|
def update!(**args)
|
9804
10040
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
10041
|
+
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
9805
10042
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
10043
|
+
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
9806
10044
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
9807
10045
|
@temperature = args[:temperature] if args.key?(:temperature)
|
9808
10046
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -9864,6 +10102,28 @@ module Google
|
|
9864
10102
|
end
|
9865
10103
|
end
|
9866
10104
|
|
10105
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
10106
|
+
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
10107
|
+
include Google::Apis::Core::Hashable
|
10108
|
+
|
10109
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
10110
|
+
# attribution. This does not affect how the result is given to the model for
|
10111
|
+
# generation.
|
10112
|
+
# Corresponds to the JSON property `disableAttribution`
|
10113
|
+
# @return [Boolean]
|
10114
|
+
attr_accessor :disable_attribution
|
10115
|
+
alias_method :disable_attribution?, :disable_attribution
|
10116
|
+
|
10117
|
+
def initialize(**args)
|
10118
|
+
update!(**args)
|
10119
|
+
end
|
10120
|
+
|
10121
|
+
# Update properties of this object
|
10122
|
+
def update!(**args)
|
10123
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
10124
|
+
end
|
10125
|
+
end
|
10126
|
+
|
9867
10127
|
# Grounding attribution.
|
9868
10128
|
class GoogleCloudAiplatformV1GroundingAttribution
|
9869
10129
|
include Google::Apis::Core::Hashable
|
@@ -9930,6 +10190,11 @@ module Google
|
|
9930
10190
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution>]
|
9931
10191
|
attr_accessor :grounding_attributions
|
9932
10192
|
|
10193
|
+
# Optional. Queries executed by the retrieval tools.
|
10194
|
+
# Corresponds to the JSON property `retrievalQueries`
|
10195
|
+
# @return [Array<String>]
|
10196
|
+
attr_accessor :retrieval_queries
|
10197
|
+
|
9933
10198
|
# Optional. Web search queries for the following-up web search.
|
9934
10199
|
# Corresponds to the JSON property `webSearchQueries`
|
9935
10200
|
# @return [Array<String>]
|
@@ -9942,6 +10207,7 @@ module Google
|
|
9942
10207
|
# Update properties of this object
|
9943
10208
|
def update!(**args)
|
9944
10209
|
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
10210
|
+
@retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
|
9945
10211
|
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
9946
10212
|
end
|
9947
10213
|
end
|
@@ -12028,6 +12294,32 @@ module Google
|
|
12028
12294
|
end
|
12029
12295
|
end
|
12030
12296
|
|
12297
|
+
# Response message for PersistentResourceService.ListPersistentResources
|
12298
|
+
class GoogleCloudAiplatformV1ListPersistentResourcesResponse
|
12299
|
+
include Google::Apis::Core::Hashable
|
12300
|
+
|
12301
|
+
# A token to retrieve next page of results. Pass to
|
12302
|
+
# ListPersistentResourcesRequest.page_token to obtain that page.
|
12303
|
+
# Corresponds to the JSON property `nextPageToken`
|
12304
|
+
# @return [String]
|
12305
|
+
attr_accessor :next_page_token
|
12306
|
+
|
12307
|
+
#
|
12308
|
+
# Corresponds to the JSON property `persistentResources`
|
12309
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PersistentResource>]
|
12310
|
+
attr_accessor :persistent_resources
|
12311
|
+
|
12312
|
+
def initialize(**args)
|
12313
|
+
update!(**args)
|
12314
|
+
end
|
12315
|
+
|
12316
|
+
# Update properties of this object
|
12317
|
+
def update!(**args)
|
12318
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12319
|
+
@persistent_resources = args[:persistent_resources] if args.key?(:persistent_resources)
|
12320
|
+
end
|
12321
|
+
end
|
12322
|
+
|
12031
12323
|
# Response message for PipelineService.ListPipelineJobs
|
12032
12324
|
class GoogleCloudAiplatformV1ListPipelineJobsResponse
|
12033
12325
|
include Google::Apis::Core::Hashable
|
@@ -16074,7 +16366,7 @@ module Google
|
|
16074
16366
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
|
16075
16367
|
attr_accessor :function_response
|
16076
16368
|
|
16077
|
-
#
|
16369
|
+
# Content blob. It's preferred to send as text directly rather than raw bytes.
|
16078
16370
|
# Corresponds to the JSON property `inlineData`
|
16079
16371
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
|
16080
16372
|
attr_accessor :inline_data
|
@@ -16158,17 +16450,19 @@ module Google
|
|
16158
16450
|
end
|
16159
16451
|
end
|
16160
16452
|
|
16161
|
-
#
|
16162
|
-
|
16453
|
+
# Represents long-lasting resources that are dedicated to users to runs custom
|
16454
|
+
# workloads. A PersistentResource can have multiple node pools and each node
|
16455
|
+
# pool can have its own machine spec.
|
16456
|
+
class GoogleCloudAiplatformV1PersistentResource
|
16163
16457
|
include Google::Apis::Core::Hashable
|
16164
16458
|
|
16165
|
-
# Output only.
|
16459
|
+
# Output only. Time when the PersistentResource was created.
|
16166
16460
|
# Corresponds to the JSON property `createTime`
|
16167
16461
|
# @return [String]
|
16168
16462
|
attr_accessor :create_time
|
16169
16463
|
|
16170
|
-
# The display name of the
|
16171
|
-
# and can consist of any UTF-8 characters.
|
16464
|
+
# Optional. The display name of the PersistentResource. The name can be up to
|
16465
|
+
# 128 characters long and can consist of any UTF-8 characters.
|
16172
16466
|
# Corresponds to the JSON property `displayName`
|
16173
16467
|
# @return [String]
|
16174
16468
|
attr_accessor :display_name
|
@@ -16179,11 +16473,6 @@ module Google
|
|
16179
16473
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
16180
16474
|
attr_accessor :encryption_spec
|
16181
16475
|
|
16182
|
-
# Output only. Pipeline end time.
|
16183
|
-
# Corresponds to the JSON property `endTime`
|
16184
|
-
# @return [String]
|
16185
|
-
attr_accessor :end_time
|
16186
|
-
|
16187
16476
|
# The `Status` type defines a logical error model that is suitable for different
|
16188
16477
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
16189
16478
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -16194,92 +16483,220 @@ module Google
|
|
16194
16483
|
# @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
|
16195
16484
|
attr_accessor :error
|
16196
16485
|
|
16197
|
-
# The
|
16198
|
-
#
|
16199
|
-
#
|
16200
|
-
|
16201
|
-
|
16202
|
-
# The labels with user-defined metadata to organize PipelineJob. Label keys and
|
16203
|
-
# values can be no longer than 64 characters (Unicode codepoints), can only
|
16204
|
-
# contain lowercase letters, numeric characters, underscores and dashes.
|
16205
|
-
# International characters are allowed. See https://goo.gl/xmQnxf for more
|
16206
|
-
# information and examples of labels. Note there is some reserved label key for
|
16207
|
-
# Vertex AI Pipelines. - `vertex-ai-pipelines-run-billing-id`, user set value
|
16208
|
-
# will get overrided.
|
16486
|
+
# Optional. The labels with user-defined metadata to organize PersistentResource.
|
16487
|
+
# Label keys and values can be no longer than 64 characters (Unicode codepoints)
|
16488
|
+
# , can only contain lowercase letters, numeric characters, underscores and
|
16489
|
+
# dashes. International characters are allowed. See https://goo.gl/xmQnxf for
|
16490
|
+
# more information and examples of labels.
|
16209
16491
|
# Corresponds to the JSON property `labels`
|
16210
16492
|
# @return [Hash<String,String>]
|
16211
16493
|
attr_accessor :labels
|
16212
16494
|
|
16213
|
-
#
|
16495
|
+
# Immutable. Resource name of a PersistentResource.
|
16214
16496
|
# Corresponds to the JSON property `name`
|
16215
16497
|
# @return [String]
|
16216
16498
|
attr_accessor :name
|
16217
16499
|
|
16218
|
-
# The full name of the Compute Engine [network](/compute/docs/networks-
|
16219
|
-
# firewalls#networks) to
|
16220
|
-
# example, `projects/12345/global/networks/myVPC`. [Format](/
|
16221
|
-
# reference/rest/v1/networks/insert) is of the form `projects/`
|
16222
|
-
# networks/`network``. Where `project` is a project number, as
|
16223
|
-
# network` is a network name.
|
16224
|
-
#
|
16225
|
-
#
|
16226
|
-
#
|
16227
|
-
# network.
|
16500
|
+
# Optional. The full name of the Compute Engine [network](/compute/docs/networks-
|
16501
|
+
# and-firewalls#networks) to peered with Vertex AI to host the persistent
|
16502
|
+
# resources. For example, `projects/12345/global/networks/myVPC`. [Format](/
|
16503
|
+
# compute/docs/reference/rest/v1/networks/insert) is of the form `projects/`
|
16504
|
+
# project`/global/networks/`network``. Where `project` is a project number, as
|
16505
|
+
# in `12345`, and `network` is a network name. To specify this field, you must
|
16506
|
+
# have already [configured VPC Network Peering for Vertex AI](https://cloud.
|
16507
|
+
# google.com/vertex-ai/docs/general/vpc-peering). If this field is left
|
16508
|
+
# unspecified, the resources aren't peered with any network.
|
16228
16509
|
# Corresponds to the JSON property `network`
|
16229
16510
|
# @return [String]
|
16230
16511
|
attr_accessor :network
|
16231
16512
|
|
16232
|
-
#
|
16233
|
-
#
|
16234
|
-
#
|
16235
|
-
|
16236
|
-
|
16237
|
-
# A list of names for the reserved ip ranges under the VPC network that can be
|
16238
|
-
# used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
|
16239
|
-
# s workload within the provided ip ranges. Otherwise, the job will be deployed
|
16240
|
-
# to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'
|
16241
|
-
# ].
|
16513
|
+
# Optional. A list of names for the reserved IP ranges under the VPC network
|
16514
|
+
# that can be used for this persistent resource. If set, we will deploy the
|
16515
|
+
# persistent resource within the provided IP ranges. Otherwise, the persistent
|
16516
|
+
# resource is deployed to any IP ranges under the provided VPC network. Example:
|
16517
|
+
# ['vertex-ai-ip-range'].
|
16242
16518
|
# Corresponds to the JSON property `reservedIpRanges`
|
16243
16519
|
# @return [Array<String>]
|
16244
16520
|
attr_accessor :reserved_ip_ranges
|
16245
16521
|
|
16246
|
-
# The
|
16247
|
-
# Corresponds to the JSON property `
|
16248
|
-
# @return [Google::Apis::AiplatformV1::
|
16249
|
-
attr_accessor :
|
16250
|
-
|
16251
|
-
#
|
16252
|
-
#
|
16253
|
-
#
|
16254
|
-
|
16255
|
-
|
16256
|
-
|
16257
|
-
#
|
16258
|
-
#
|
16259
|
-
#
|
16260
|
-
#
|
16261
|
-
|
16262
|
-
|
16263
|
-
#
|
16264
|
-
|
16265
|
-
|
16266
|
-
# Output only. Pipeline start time.
|
16522
|
+
# Required. The spec of the pools of different resources.
|
16523
|
+
# Corresponds to the JSON property `resourcePools`
|
16524
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourcePool>]
|
16525
|
+
attr_accessor :resource_pools
|
16526
|
+
|
16527
|
+
# Persistent Cluster runtime information as output
|
16528
|
+
# Corresponds to the JSON property `resourceRuntime`
|
16529
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourceRuntime]
|
16530
|
+
attr_accessor :resource_runtime
|
16531
|
+
|
16532
|
+
# Configuration for the runtime on a PersistentResource instance, including but
|
16533
|
+
# not limited to: * Service accounts used to run the workloads. * Whether to
|
16534
|
+
# make it a dedicated Ray Cluster.
|
16535
|
+
# Corresponds to the JSON property `resourceRuntimeSpec`
|
16536
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourceRuntimeSpec]
|
16537
|
+
attr_accessor :resource_runtime_spec
|
16538
|
+
|
16539
|
+
# Output only. Time when the PersistentResource for the first time entered the `
|
16540
|
+
# RUNNING` state.
|
16267
16541
|
# Corresponds to the JSON property `startTime`
|
16268
16542
|
# @return [String]
|
16269
16543
|
attr_accessor :start_time
|
16270
16544
|
|
16271
|
-
# Output only. The detailed state of
|
16545
|
+
# Output only. The detailed state of a Study.
|
16272
16546
|
# Corresponds to the JSON property `state`
|
16273
16547
|
# @return [String]
|
16274
16548
|
attr_accessor :state
|
16275
16549
|
|
16276
|
-
#
|
16277
|
-
#
|
16278
|
-
#
|
16279
|
-
|
16280
|
-
|
16281
|
-
|
16282
|
-
|
16550
|
+
# Output only. Time when the PersistentResource was most recently updated.
|
16551
|
+
# Corresponds to the JSON property `updateTime`
|
16552
|
+
# @return [String]
|
16553
|
+
attr_accessor :update_time
|
16554
|
+
|
16555
|
+
def initialize(**args)
|
16556
|
+
update!(**args)
|
16557
|
+
end
|
16558
|
+
|
16559
|
+
# Update properties of this object
|
16560
|
+
def update!(**args)
|
16561
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
16562
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
16563
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
16564
|
+
@error = args[:error] if args.key?(:error)
|
16565
|
+
@labels = args[:labels] if args.key?(:labels)
|
16566
|
+
@name = args[:name] if args.key?(:name)
|
16567
|
+
@network = args[:network] if args.key?(:network)
|
16568
|
+
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
16569
|
+
@resource_pools = args[:resource_pools] if args.key?(:resource_pools)
|
16570
|
+
@resource_runtime = args[:resource_runtime] if args.key?(:resource_runtime)
|
16571
|
+
@resource_runtime_spec = args[:resource_runtime_spec] if args.key?(:resource_runtime_spec)
|
16572
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
16573
|
+
@state = args[:state] if args.key?(:state)
|
16574
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
16575
|
+
end
|
16576
|
+
end
|
16577
|
+
|
16578
|
+
# An instance of a machine learning PipelineJob.
|
16579
|
+
class GoogleCloudAiplatformV1PipelineJob
|
16580
|
+
include Google::Apis::Core::Hashable
|
16581
|
+
|
16582
|
+
# Output only. Pipeline creation time.
|
16583
|
+
# Corresponds to the JSON property `createTime`
|
16584
|
+
# @return [String]
|
16585
|
+
attr_accessor :create_time
|
16586
|
+
|
16587
|
+
# The display name of the Pipeline. The name can be up to 128 characters long
|
16588
|
+
# and can consist of any UTF-8 characters.
|
16589
|
+
# Corresponds to the JSON property `displayName`
|
16590
|
+
# @return [String]
|
16591
|
+
attr_accessor :display_name
|
16592
|
+
|
16593
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
16594
|
+
# level resource.
|
16595
|
+
# Corresponds to the JSON property `encryptionSpec`
|
16596
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
16597
|
+
attr_accessor :encryption_spec
|
16598
|
+
|
16599
|
+
# Output only. Pipeline end time.
|
16600
|
+
# Corresponds to the JSON property `endTime`
|
16601
|
+
# @return [String]
|
16602
|
+
attr_accessor :end_time
|
16603
|
+
|
16604
|
+
# The `Status` type defines a logical error model that is suitable for different
|
16605
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
16606
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
16607
|
+
# data: error code, error message, and error details. You can find out more
|
16608
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
16609
|
+
# //cloud.google.com/apis/design/errors).
|
16610
|
+
# Corresponds to the JSON property `error`
|
16611
|
+
# @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
|
16612
|
+
attr_accessor :error
|
16613
|
+
|
16614
|
+
# The runtime detail of PipelineJob.
|
16615
|
+
# Corresponds to the JSON property `jobDetail`
|
16616
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobDetail]
|
16617
|
+
attr_accessor :job_detail
|
16618
|
+
|
16619
|
+
# The labels with user-defined metadata to organize PipelineJob. Label keys and
|
16620
|
+
# values can be no longer than 64 characters (Unicode codepoints), can only
|
16621
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
16622
|
+
# International characters are allowed. See https://goo.gl/xmQnxf for more
|
16623
|
+
# information and examples of labels. Note there is some reserved label key for
|
16624
|
+
# Vertex AI Pipelines. - `vertex-ai-pipelines-run-billing-id`, user set value
|
16625
|
+
# will get overrided.
|
16626
|
+
# Corresponds to the JSON property `labels`
|
16627
|
+
# @return [Hash<String,String>]
|
16628
|
+
attr_accessor :labels
|
16629
|
+
|
16630
|
+
# Output only. The resource name of the PipelineJob.
|
16631
|
+
# Corresponds to the JSON property `name`
|
16632
|
+
# @return [String]
|
16633
|
+
attr_accessor :name
|
16634
|
+
|
16635
|
+
# The full name of the Compute Engine [network](/compute/docs/networks-and-
|
16636
|
+
# firewalls#networks) to which the Pipeline Job's workload should be peered. For
|
16637
|
+
# example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/
|
16638
|
+
# reference/rest/v1/networks/insert) is of the form `projects/`project`/global/
|
16639
|
+
# networks/`network``. Where `project` is a project number, as in `12345`, and `
|
16640
|
+
# network` is a network name. Private services access must already be configured
|
16641
|
+
# for the network. Pipeline job will apply the network configuration to the
|
16642
|
+
# Google Cloud resources being launched, if applied, such as Vertex AI Training
|
16643
|
+
# or Dataflow job. If left unspecified, the workload is not peered with any
|
16644
|
+
# network.
|
16645
|
+
# Corresponds to the JSON property `network`
|
16646
|
+
# @return [String]
|
16647
|
+
attr_accessor :network
|
16648
|
+
|
16649
|
+
# The spec of the pipeline.
|
16650
|
+
# Corresponds to the JSON property `pipelineSpec`
|
16651
|
+
# @return [Hash<String,Object>]
|
16652
|
+
attr_accessor :pipeline_spec
|
16653
|
+
|
16654
|
+
# A list of names for the reserved ip ranges under the VPC network that can be
|
16655
|
+
# used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
|
16656
|
+
# s workload within the provided ip ranges. Otherwise, the job will be deployed
|
16657
|
+
# to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'
|
16658
|
+
# ].
|
16659
|
+
# Corresponds to the JSON property `reservedIpRanges`
|
16660
|
+
# @return [Array<String>]
|
16661
|
+
attr_accessor :reserved_ip_ranges
|
16662
|
+
|
16663
|
+
# The runtime config of a PipelineJob.
|
16664
|
+
# Corresponds to the JSON property `runtimeConfig`
|
16665
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfig]
|
16666
|
+
attr_accessor :runtime_config
|
16667
|
+
|
16668
|
+
# Output only. The schedule resource name. Only returned if the Pipeline is
|
16669
|
+
# created by Schedule API.
|
16670
|
+
# Corresponds to the JSON property `scheduleName`
|
16671
|
+
# @return [String]
|
16672
|
+
attr_accessor :schedule_name
|
16673
|
+
|
16674
|
+
# The service account that the pipeline workload runs as. If not specified, the
|
16675
|
+
# Compute Engine default service account in the project will be used. See https:/
|
16676
|
+
# /cloud.google.com/compute/docs/access/service-accounts#default_service_account
|
16677
|
+
# Users starting the pipeline must have the `iam.serviceAccounts.actAs`
|
16678
|
+
# permission on this service account.
|
16679
|
+
# Corresponds to the JSON property `serviceAccount`
|
16680
|
+
# @return [String]
|
16681
|
+
attr_accessor :service_account
|
16682
|
+
|
16683
|
+
# Output only. Pipeline start time.
|
16684
|
+
# Corresponds to the JSON property `startTime`
|
16685
|
+
# @return [String]
|
16686
|
+
attr_accessor :start_time
|
16687
|
+
|
16688
|
+
# Output only. The detailed state of the job.
|
16689
|
+
# Corresponds to the JSON property `state`
|
16690
|
+
# @return [String]
|
16691
|
+
attr_accessor :state
|
16692
|
+
|
16693
|
+
# Pipeline template metadata if PipelineJob.template_uri is from supported
|
16694
|
+
# template registry. Currently, the only supported registry is Artifact Registry.
|
16695
|
+
# Corresponds to the JSON property `templateMetadata`
|
16696
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineTemplateMetadata]
|
16697
|
+
attr_accessor :template_metadata
|
16698
|
+
|
16699
|
+
# A template uri from where the PipelineJob.pipeline_spec, if empty, will be
|
16283
16700
|
# downloaded. Currently, only uri from Vertex Template Registry & Gallery is
|
16284
16701
|
# supported. Reference to https://cloud.google.com/vertex-ai/docs/pipelines/
|
16285
16702
|
# create-pipeline-template.
|
@@ -17208,6 +17625,11 @@ module Google
|
|
17208
17625
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
|
17209
17626
|
attr_accessor :deploy_gke
|
17210
17627
|
|
17628
|
+
# Multiple setups to deploy the PublisherModel.
|
17629
|
+
# Corresponds to the JSON property `multiDeployVertex`
|
17630
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex]
|
17631
|
+
attr_accessor :multi_deploy_vertex
|
17632
|
+
|
17211
17633
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
17212
17634
|
# europe-west2, global, etc..
|
17213
17635
|
# Corresponds to the JSON property `openEvaluationPipeline`
|
@@ -17274,6 +17696,7 @@ module Google
|
|
17274
17696
|
@create_application = args[:create_application] if args.key?(:create_application)
|
17275
17697
|
@deploy = args[:deploy] if args.key?(:deploy)
|
17276
17698
|
@deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
|
17699
|
+
@multi_deploy_vertex = args[:multi_deploy_vertex] if args.key?(:multi_deploy_vertex)
|
17277
17700
|
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
17278
17701
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
17279
17702
|
@open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
|
@@ -17383,6 +17806,25 @@ module Google
|
|
17383
17806
|
end
|
17384
17807
|
end
|
17385
17808
|
|
17809
|
+
# Multiple setups to deploy the PublisherModel.
|
17810
|
+
class GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex
|
17811
|
+
include Google::Apis::Core::Hashable
|
17812
|
+
|
17813
|
+
# Optional. One click deployment configurations.
|
17814
|
+
# Corresponds to the JSON property `multiDeployVertex`
|
17815
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy>]
|
17816
|
+
attr_accessor :multi_deploy_vertex
|
17817
|
+
|
17818
|
+
def initialize(**args)
|
17819
|
+
update!(**args)
|
17820
|
+
end
|
17821
|
+
|
17822
|
+
# Update properties of this object
|
17823
|
+
def update!(**args)
|
17824
|
+
@multi_deploy_vertex = args[:multi_deploy_vertex] if args.key?(:multi_deploy_vertex)
|
17825
|
+
end
|
17826
|
+
end
|
17827
|
+
|
17386
17828
|
# Open fine tuning pipelines.
|
17387
17829
|
class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
|
17388
17830
|
include Google::Apis::Core::Hashable
|
@@ -17908,6 +18350,76 @@ module Google
|
|
17908
18350
|
end
|
17909
18351
|
end
|
17910
18352
|
|
18353
|
+
# Configuration for the Ray metrics.
|
18354
|
+
class GoogleCloudAiplatformV1RayMetricSpec
|
18355
|
+
include Google::Apis::Core::Hashable
|
18356
|
+
|
18357
|
+
# Optional. Flag to disable the Ray metrics collection.
|
18358
|
+
# Corresponds to the JSON property `disabled`
|
18359
|
+
# @return [Boolean]
|
18360
|
+
attr_accessor :disabled
|
18361
|
+
alias_method :disabled?, :disabled
|
18362
|
+
|
18363
|
+
def initialize(**args)
|
18364
|
+
update!(**args)
|
18365
|
+
end
|
18366
|
+
|
18367
|
+
# Update properties of this object
|
18368
|
+
def update!(**args)
|
18369
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
18370
|
+
end
|
18371
|
+
end
|
18372
|
+
|
18373
|
+
# Configuration information for the Ray cluster. For experimental launch, Ray
|
18374
|
+
# cluster creation and Persistent cluster creation are 1:1 mapping: We will
|
18375
|
+
# provision all the nodes within the Persistent cluster as Ray nodes.
|
18376
|
+
class GoogleCloudAiplatformV1RaySpec
|
18377
|
+
include Google::Apis::Core::Hashable
|
18378
|
+
|
18379
|
+
# Optional. This will be used to indicate which resource pool will serve as the
|
18380
|
+
# Ray head node(the first node within that pool). Will use the machine from the
|
18381
|
+
# first workerpool as the head node by default if this field isn't set.
|
18382
|
+
# Corresponds to the JSON property `headNodeResourcePoolId`
|
18383
|
+
# @return [String]
|
18384
|
+
attr_accessor :head_node_resource_pool_id
|
18385
|
+
|
18386
|
+
# Optional. Default image for user to choose a preferred ML framework (for
|
18387
|
+
# example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](
|
18388
|
+
# https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either
|
18389
|
+
# this or the resource_pool_images is required. Use this field if you need all
|
18390
|
+
# the resource pools to have the same Ray image. Otherwise, use the `@code
|
18391
|
+
# resource_pool_images` field.
|
18392
|
+
# Corresponds to the JSON property `imageUri`
|
18393
|
+
# @return [String]
|
18394
|
+
attr_accessor :image_uri
|
18395
|
+
|
18396
|
+
# Configuration for the Ray metrics.
|
18397
|
+
# Corresponds to the JSON property `rayMetricSpec`
|
18398
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec]
|
18399
|
+
attr_accessor :ray_metric_spec
|
18400
|
+
|
18401
|
+
# Optional. Required if image_uri isn't set. A map of resource_pool_id to
|
18402
|
+
# prebuild Ray image if user need to use different images for different head/
|
18403
|
+
# worker pools. This map needs to cover all the resource pool ids. Example: ` "
|
18404
|
+
# ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "
|
18405
|
+
# ray_worker_node_pool2": "another worker image" `
|
18406
|
+
# Corresponds to the JSON property `resourcePoolImages`
|
18407
|
+
# @return [Hash<String,String>]
|
18408
|
+
attr_accessor :resource_pool_images
|
18409
|
+
|
18410
|
+
def initialize(**args)
|
18411
|
+
update!(**args)
|
18412
|
+
end
|
18413
|
+
|
18414
|
+
# Update properties of this object
|
18415
|
+
def update!(**args)
|
18416
|
+
@head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
|
18417
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
18418
|
+
@ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
|
18419
|
+
@resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
|
18420
|
+
end
|
18421
|
+
end
|
18422
|
+
|
17911
18423
|
# Request message for FeaturestoreOnlineServingService.ReadFeatureValues.
|
17912
18424
|
class GoogleCloudAiplatformV1ReadFeatureValuesRequest
|
17913
18425
|
include Google::Apis::Core::Hashable
|
@@ -18226,6 +18738,44 @@ module Google
|
|
18226
18738
|
end
|
18227
18739
|
end
|
18228
18740
|
|
18741
|
+
# Details of operations that perform reboot PersistentResource.
|
18742
|
+
class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
|
18743
|
+
include Google::Apis::Core::Hashable
|
18744
|
+
|
18745
|
+
# Generic Metadata shared by all operations.
|
18746
|
+
# Corresponds to the JSON property `genericMetadata`
|
18747
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
18748
|
+
attr_accessor :generic_metadata
|
18749
|
+
|
18750
|
+
# Progress Message for Reboot LRO
|
18751
|
+
# Corresponds to the JSON property `progressMessage`
|
18752
|
+
# @return [String]
|
18753
|
+
attr_accessor :progress_message
|
18754
|
+
|
18755
|
+
def initialize(**args)
|
18756
|
+
update!(**args)
|
18757
|
+
end
|
18758
|
+
|
18759
|
+
# Update properties of this object
|
18760
|
+
def update!(**args)
|
18761
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
18762
|
+
@progress_message = args[:progress_message] if args.key?(:progress_message)
|
18763
|
+
end
|
18764
|
+
end
|
18765
|
+
|
18766
|
+
# Request message for PersistentResourceService.RebootPersistentResource.
|
18767
|
+
class GoogleCloudAiplatformV1RebootPersistentResourceRequest
|
18768
|
+
include Google::Apis::Core::Hashable
|
18769
|
+
|
18770
|
+
def initialize(**args)
|
18771
|
+
update!(**args)
|
18772
|
+
end
|
18773
|
+
|
18774
|
+
# Update properties of this object
|
18775
|
+
def update!(**args)
|
18776
|
+
end
|
18777
|
+
end
|
18778
|
+
|
18229
18779
|
# Request message for MetadataService.DeleteContextChildrenRequest.
|
18230
18780
|
class GoogleCloudAiplatformV1RemoveContextChildrenRequest
|
18231
18781
|
include Google::Apis::Core::Hashable
|
@@ -18290,6 +18840,145 @@ module Google
|
|
18290
18840
|
end
|
18291
18841
|
end
|
18292
18842
|
|
18843
|
+
# Represents the spec of a group of resources of the same type, for example
|
18844
|
+
# machine type, disk, and accelerators, in a PersistentResource.
|
18845
|
+
class GoogleCloudAiplatformV1ResourcePool
|
18846
|
+
include Google::Apis::Core::Hashable
|
18847
|
+
|
18848
|
+
# The min/max number of replicas allowed if enabling autoscaling
|
18849
|
+
# Corresponds to the JSON property `autoscalingSpec`
|
18850
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec]
|
18851
|
+
attr_accessor :autoscaling_spec
|
18852
|
+
|
18853
|
+
# Represents the spec of disk options.
|
18854
|
+
# Corresponds to the JSON property `diskSpec`
|
18855
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec]
|
18856
|
+
attr_accessor :disk_spec
|
18857
|
+
|
18858
|
+
# Immutable. The unique ID in a PersistentResource for referring to this
|
18859
|
+
# resource pool. User can specify it if necessary. Otherwise, it's generated
|
18860
|
+
# automatically.
|
18861
|
+
# Corresponds to the JSON property `id`
|
18862
|
+
# @return [String]
|
18863
|
+
attr_accessor :id
|
18864
|
+
|
18865
|
+
# Specification of a single machine.
|
18866
|
+
# Corresponds to the JSON property `machineSpec`
|
18867
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec]
|
18868
|
+
attr_accessor :machine_spec
|
18869
|
+
|
18870
|
+
# Optional. The total number of machines to use for this resource pool.
|
18871
|
+
# Corresponds to the JSON property `replicaCount`
|
18872
|
+
# @return [Fixnum]
|
18873
|
+
attr_accessor :replica_count
|
18874
|
+
|
18875
|
+
# Output only. The number of machines currently in use by training jobs for this
|
18876
|
+
# resource pool. Will replace idle_replica_count.
|
18877
|
+
# Corresponds to the JSON property `usedReplicaCount`
|
18878
|
+
# @return [Fixnum]
|
18879
|
+
attr_accessor :used_replica_count
|
18880
|
+
|
18881
|
+
def initialize(**args)
|
18882
|
+
update!(**args)
|
18883
|
+
end
|
18884
|
+
|
18885
|
+
# Update properties of this object
|
18886
|
+
def update!(**args)
|
18887
|
+
@autoscaling_spec = args[:autoscaling_spec] if args.key?(:autoscaling_spec)
|
18888
|
+
@disk_spec = args[:disk_spec] if args.key?(:disk_spec)
|
18889
|
+
@id = args[:id] if args.key?(:id)
|
18890
|
+
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
18891
|
+
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
18892
|
+
@used_replica_count = args[:used_replica_count] if args.key?(:used_replica_count)
|
18893
|
+
end
|
18894
|
+
end
|
18895
|
+
|
18896
|
+
# The min/max number of replicas allowed if enabling autoscaling
|
18897
|
+
class GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec
|
18898
|
+
include Google::Apis::Core::Hashable
|
18899
|
+
|
18900
|
+
# Optional. max replicas in the node pool, must be ≥ replica_count and >
|
18901
|
+
# min_replica_count or will throw error
|
18902
|
+
# Corresponds to the JSON property `maxReplicaCount`
|
18903
|
+
# @return [Fixnum]
|
18904
|
+
attr_accessor :max_replica_count
|
18905
|
+
|
18906
|
+
# Optional. min replicas in the node pool, must be ≤ replica_count and <
|
18907
|
+
# max_replica_count or will throw error
|
18908
|
+
# Corresponds to the JSON property `minReplicaCount`
|
18909
|
+
# @return [Fixnum]
|
18910
|
+
attr_accessor :min_replica_count
|
18911
|
+
|
18912
|
+
def initialize(**args)
|
18913
|
+
update!(**args)
|
18914
|
+
end
|
18915
|
+
|
18916
|
+
# Update properties of this object
|
18917
|
+
def update!(**args)
|
18918
|
+
@max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
|
18919
|
+
@min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
|
18920
|
+
end
|
18921
|
+
end
|
18922
|
+
|
18923
|
+
# Persistent Cluster runtime information as output
|
18924
|
+
class GoogleCloudAiplatformV1ResourceRuntime
|
18925
|
+
include Google::Apis::Core::Hashable
|
18926
|
+
|
18927
|
+
# Output only. URIs for user to connect to the Cluster. Example: ` "
|
18928
|
+
# RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": "ray-
|
18929
|
+
# dashboard-address:8888" `
|
18930
|
+
# Corresponds to the JSON property `accessUris`
|
18931
|
+
# @return [Hash<String,String>]
|
18932
|
+
attr_accessor :access_uris
|
18933
|
+
|
18934
|
+
# Output only. The resource name of NotebookRuntimeTemplate for the RoV
|
18935
|
+
# Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if
|
18936
|
+
# set), and with the same Ray and Python version as the Persistent Cluster.
|
18937
|
+
# Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
|
18938
|
+
# Corresponds to the JSON property `notebookRuntimeTemplate`
|
18939
|
+
# @return [String]
|
18940
|
+
attr_accessor :notebook_runtime_template
|
18941
|
+
|
18942
|
+
def initialize(**args)
|
18943
|
+
update!(**args)
|
18944
|
+
end
|
18945
|
+
|
18946
|
+
# Update properties of this object
|
18947
|
+
def update!(**args)
|
18948
|
+
@access_uris = args[:access_uris] if args.key?(:access_uris)
|
18949
|
+
@notebook_runtime_template = args[:notebook_runtime_template] if args.key?(:notebook_runtime_template)
|
18950
|
+
end
|
18951
|
+
end
|
18952
|
+
|
18953
|
+
# Configuration for the runtime on a PersistentResource instance, including but
|
18954
|
+
# not limited to: * Service accounts used to run the workloads. * Whether to
|
18955
|
+
# make it a dedicated Ray Cluster.
|
18956
|
+
class GoogleCloudAiplatformV1ResourceRuntimeSpec
|
18957
|
+
include Google::Apis::Core::Hashable
|
18958
|
+
|
18959
|
+
# Configuration information for the Ray cluster. For experimental launch, Ray
|
18960
|
+
# cluster creation and Persistent cluster creation are 1:1 mapping: We will
|
18961
|
+
# provision all the nodes within the Persistent cluster as Ray nodes.
|
18962
|
+
# Corresponds to the JSON property `raySpec`
|
18963
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RaySpec]
|
18964
|
+
attr_accessor :ray_spec
|
18965
|
+
|
18966
|
+
# Configuration for the use of custom service account to run the workloads.
|
18967
|
+
# Corresponds to the JSON property `serviceAccountSpec`
|
18968
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServiceAccountSpec]
|
18969
|
+
attr_accessor :service_account_spec
|
18970
|
+
|
18971
|
+
def initialize(**args)
|
18972
|
+
update!(**args)
|
18973
|
+
end
|
18974
|
+
|
18975
|
+
# Update properties of this object
|
18976
|
+
def update!(**args)
|
18977
|
+
@ray_spec = args[:ray_spec] if args.key?(:ray_spec)
|
18978
|
+
@service_account_spec = args[:service_account_spec] if args.key?(:service_account_spec)
|
18979
|
+
end
|
18980
|
+
end
|
18981
|
+
|
18293
18982
|
# Statistics information about resource consumption.
|
18294
18983
|
class GoogleCloudAiplatformV1ResourcesConsumed
|
18295
18984
|
include Google::Apis::Core::Hashable
|
@@ -18366,6 +19055,35 @@ module Google
|
|
18366
19055
|
end
|
18367
19056
|
end
|
18368
19057
|
|
19058
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
19059
|
+
class GoogleCloudAiplatformV1Retrieval
|
19060
|
+
include Google::Apis::Core::Hashable
|
19061
|
+
|
19062
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
19063
|
+
# attribution. This does not affect how the result is given to the model for
|
19064
|
+
# generation.
|
19065
|
+
# Corresponds to the JSON property `disableAttribution`
|
19066
|
+
# @return [Boolean]
|
19067
|
+
attr_accessor :disable_attribution
|
19068
|
+
alias_method :disable_attribution?, :disable_attribution
|
19069
|
+
|
19070
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
19071
|
+
# google.com/vertex-ai-search-and-conversation
|
19072
|
+
# Corresponds to the JSON property `vertexAiSearch`
|
19073
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch]
|
19074
|
+
attr_accessor :vertex_ai_search
|
19075
|
+
|
19076
|
+
def initialize(**args)
|
19077
|
+
update!(**args)
|
19078
|
+
end
|
19079
|
+
|
19080
|
+
# Update properties of this object
|
19081
|
+
def update!(**args)
|
19082
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
19083
|
+
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
19084
|
+
end
|
19085
|
+
end
|
19086
|
+
|
18369
19087
|
# Safety rating corresponding to the generated content.
|
18370
19088
|
class GoogleCloudAiplatformV1SafetyRating
|
18371
19089
|
include Google::Apis::Core::Hashable
|
@@ -18426,6 +19144,12 @@ module Google
|
|
18426
19144
|
# @return [String]
|
18427
19145
|
attr_accessor :category
|
18428
19146
|
|
19147
|
+
# Optional. Specify if the threshold is used for probability or severity score.
|
19148
|
+
# If not specified, the threshold is used for probability score.
|
19149
|
+
# Corresponds to the JSON property `method`
|
19150
|
+
# @return [String]
|
19151
|
+
attr_accessor :method_prop
|
19152
|
+
|
18429
19153
|
# Required. The harm block threshold.
|
18430
19154
|
# Corresponds to the JSON property `threshold`
|
18431
19155
|
# @return [String]
|
@@ -18438,6 +19162,7 @@ module Google
|
|
18438
19162
|
# Update properties of this object
|
18439
19163
|
def update!(**args)
|
18440
19164
|
@category = args[:category] if args.key?(:category)
|
19165
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
18441
19166
|
@threshold = args[:threshold] if args.key?(:threshold)
|
18442
19167
|
end
|
18443
19168
|
end
|
@@ -18852,6 +19577,11 @@ module Google
|
|
18852
19577
|
class GoogleCloudAiplatformV1Schema
|
18853
19578
|
include Google::Apis::Core::Hashable
|
18854
19579
|
|
19580
|
+
# Optional. Default value of the data.
|
19581
|
+
# Corresponds to the JSON property `default`
|
19582
|
+
# @return [Object]
|
19583
|
+
attr_accessor :default
|
19584
|
+
|
18855
19585
|
# Optional. The description of the data.
|
18856
19586
|
# Corresponds to the JSON property `description`
|
18857
19587
|
# @return [String]
|
@@ -18870,8 +19600,9 @@ module Google
|
|
18870
19600
|
# @return [Object]
|
18871
19601
|
attr_accessor :example
|
18872
19602
|
|
18873
|
-
# Optional. The format of the data. Supported formats: for NUMBER type: float,
|
18874
|
-
# double for INTEGER type: int32, int64
|
19603
|
+
# Optional. The format of the data. Supported formats: for NUMBER type: "float",
|
19604
|
+
# "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte",
|
19605
|
+
# etc
|
18875
19606
|
# Corresponds to the JSON property `format`
|
18876
19607
|
# @return [String]
|
18877
19608
|
attr_accessor :format
|
@@ -18883,13 +19614,60 @@ module Google
|
|
18883
19614
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
|
18884
19615
|
attr_accessor :items
|
18885
19616
|
|
19617
|
+
# Optional. Maximum number of the elements for Type.ARRAY.
|
19618
|
+
# Corresponds to the JSON property `maxItems`
|
19619
|
+
# @return [Fixnum]
|
19620
|
+
attr_accessor :max_items
|
19621
|
+
|
19622
|
+
# Optional. Maximum length of the Type.STRING
|
19623
|
+
# Corresponds to the JSON property `maxLength`
|
19624
|
+
# @return [Fixnum]
|
19625
|
+
attr_accessor :max_length
|
19626
|
+
|
19627
|
+
# Optional. Maximum number of the properties for Type.OBJECT.
|
19628
|
+
# Corresponds to the JSON property `maxProperties`
|
19629
|
+
# @return [Fixnum]
|
19630
|
+
attr_accessor :max_properties
|
19631
|
+
|
19632
|
+
# Optional. Maximum value of the Type.INTEGER and Type.NUMBER
|
19633
|
+
# Corresponds to the JSON property `maximum`
|
19634
|
+
# @return [Float]
|
19635
|
+
attr_accessor :maximum
|
19636
|
+
|
19637
|
+
# Optional. Minimum number of the elements for Type.ARRAY.
|
19638
|
+
# Corresponds to the JSON property `minItems`
|
19639
|
+
# @return [Fixnum]
|
19640
|
+
attr_accessor :min_items
|
19641
|
+
|
19642
|
+
# Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
|
19643
|
+
# Corresponds to the JSON property `minLength`
|
19644
|
+
# @return [Fixnum]
|
19645
|
+
attr_accessor :min_length
|
19646
|
+
|
19647
|
+
# Optional. Minimum number of the properties for Type.OBJECT.
|
19648
|
+
# Corresponds to the JSON property `minProperties`
|
19649
|
+
# @return [Fixnum]
|
19650
|
+
attr_accessor :min_properties
|
19651
|
+
|
19652
|
+
# Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.
|
19653
|
+
# INTEGER and Type.NUMBER
|
19654
|
+
# Corresponds to the JSON property `minimum`
|
19655
|
+
# @return [Float]
|
19656
|
+
attr_accessor :minimum
|
19657
|
+
|
18886
19658
|
# Optional. Indicates if the value may be null.
|
18887
19659
|
# Corresponds to the JSON property `nullable`
|
18888
19660
|
# @return [Boolean]
|
18889
19661
|
attr_accessor :nullable
|
18890
19662
|
alias_method :nullable?, :nullable
|
18891
19663
|
|
18892
|
-
# Optional.
|
19664
|
+
# Optional. Pattern of the Type.STRING to restrict a string to a regular
|
19665
|
+
# expression.
|
19666
|
+
# Corresponds to the JSON property `pattern`
|
19667
|
+
# @return [String]
|
19668
|
+
attr_accessor :pattern
|
19669
|
+
|
19670
|
+
# Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
|
18893
19671
|
# Corresponds to the JSON property `properties`
|
18894
19672
|
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
18895
19673
|
attr_accessor :properties
|
@@ -18899,6 +19677,11 @@ module Google
|
|
18899
19677
|
# @return [Array<String>]
|
18900
19678
|
attr_accessor :required
|
18901
19679
|
|
19680
|
+
# Optional. The title of the Schema.
|
19681
|
+
# Corresponds to the JSON property `title`
|
19682
|
+
# @return [String]
|
19683
|
+
attr_accessor :title
|
19684
|
+
|
18902
19685
|
# Optional. The type of the data.
|
18903
19686
|
# Corresponds to the JSON property `type`
|
18904
19687
|
# @return [String]
|
@@ -18910,14 +19693,25 @@ module Google
|
|
18910
19693
|
|
18911
19694
|
# Update properties of this object
|
18912
19695
|
def update!(**args)
|
19696
|
+
@default = args[:default] if args.key?(:default)
|
18913
19697
|
@description = args[:description] if args.key?(:description)
|
18914
19698
|
@enum = args[:enum] if args.key?(:enum)
|
18915
19699
|
@example = args[:example] if args.key?(:example)
|
18916
19700
|
@format = args[:format] if args.key?(:format)
|
18917
19701
|
@items = args[:items] if args.key?(:items)
|
19702
|
+
@max_items = args[:max_items] if args.key?(:max_items)
|
19703
|
+
@max_length = args[:max_length] if args.key?(:max_length)
|
19704
|
+
@max_properties = args[:max_properties] if args.key?(:max_properties)
|
19705
|
+
@maximum = args[:maximum] if args.key?(:maximum)
|
19706
|
+
@min_items = args[:min_items] if args.key?(:min_items)
|
19707
|
+
@min_length = args[:min_length] if args.key?(:min_length)
|
19708
|
+
@min_properties = args[:min_properties] if args.key?(:min_properties)
|
19709
|
+
@minimum = args[:minimum] if args.key?(:minimum)
|
18918
19710
|
@nullable = args[:nullable] if args.key?(:nullable)
|
19711
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
18919
19712
|
@properties = args[:properties] if args.key?(:properties)
|
18920
19713
|
@required = args[:required] if args.key?(:required)
|
19714
|
+
@title = args[:title] if args.key?(:title)
|
18921
19715
|
@type = args[:type] if args.key?(:type)
|
18922
19716
|
end
|
18923
19717
|
end
|
@@ -25262,6 +26056,41 @@ module Google
|
|
25262
26056
|
end
|
25263
26057
|
end
|
25264
26058
|
|
26059
|
+
# Configuration for the use of custom service account to run the workloads.
|
26060
|
+
class GoogleCloudAiplatformV1ServiceAccountSpec
|
26061
|
+
include Google::Apis::Core::Hashable
|
26062
|
+
|
26063
|
+
# Required. If true, custom user-managed service account is enforced to run any
|
26064
|
+
# workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [
|
26065
|
+
# Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/
|
26066
|
+
# general/access-control#service-agents).
|
26067
|
+
# Corresponds to the JSON property `enableCustomServiceAccount`
|
26068
|
+
# @return [Boolean]
|
26069
|
+
attr_accessor :enable_custom_service_account
|
26070
|
+
alias_method :enable_custom_service_account?, :enable_custom_service_account
|
26071
|
+
|
26072
|
+
# Optional. Default service account that this PersistentResource's workloads run
|
26073
|
+
# as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec`
|
26074
|
+
# on creation time, for example, Ray. * Jobs submitted to PersistentResource, if
|
26075
|
+
# no other service account specified in the job specs. Only works when custom
|
26076
|
+
# service account is enabled and users have the `iam.serviceAccounts.actAs`
|
26077
|
+
# permission on this service account. Required if any containers are specified
|
26078
|
+
# in `ResourceRuntimeSpec`.
|
26079
|
+
# Corresponds to the JSON property `serviceAccount`
|
26080
|
+
# @return [String]
|
26081
|
+
attr_accessor :service_account
|
26082
|
+
|
26083
|
+
def initialize(**args)
|
26084
|
+
update!(**args)
|
26085
|
+
end
|
26086
|
+
|
26087
|
+
# Update properties of this object
|
26088
|
+
def update!(**args)
|
26089
|
+
@enable_custom_service_account = args[:enable_custom_service_account] if args.key?(:enable_custom_service_account)
|
26090
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
26091
|
+
end
|
26092
|
+
end
|
26093
|
+
|
25265
26094
|
# A set of Shielded Instance options. See [Images using supported Shielded VM
|
25266
26095
|
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
25267
26096
|
# vm).
|
@@ -27220,6 +28049,16 @@ module Google
|
|
27220
28049
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
|
27221
28050
|
attr_accessor :function_declarations
|
27222
28051
|
|
28052
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
28053
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
28054
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
|
28055
|
+
attr_accessor :google_search_retrieval
|
28056
|
+
|
28057
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
28058
|
+
# Corresponds to the JSON property `retrieval`
|
28059
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
|
28060
|
+
attr_accessor :retrieval
|
28061
|
+
|
27223
28062
|
def initialize(**args)
|
27224
28063
|
update!(**args)
|
27225
28064
|
end
|
@@ -27227,6 +28066,8 @@ module Google
|
|
27227
28066
|
# Update properties of this object
|
27228
28067
|
def update!(**args)
|
27229
28068
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
28069
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
28070
|
+
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
27230
28071
|
end
|
27231
28072
|
end
|
27232
28073
|
|
@@ -27927,6 +28768,31 @@ module Google
|
|
27927
28768
|
end
|
27928
28769
|
end
|
27929
28770
|
|
28771
|
+
# Details of operations that perform update PersistentResource.
|
28772
|
+
class GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata
|
28773
|
+
include Google::Apis::Core::Hashable
|
28774
|
+
|
28775
|
+
# Generic Metadata shared by all operations.
|
28776
|
+
# Corresponds to the JSON property `genericMetadata`
|
28777
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
28778
|
+
attr_accessor :generic_metadata
|
28779
|
+
|
28780
|
+
# Progress Message for Update LRO
|
28781
|
+
# Corresponds to the JSON property `progressMessage`
|
28782
|
+
# @return [String]
|
28783
|
+
attr_accessor :progress_message
|
28784
|
+
|
28785
|
+
def initialize(**args)
|
28786
|
+
update!(**args)
|
28787
|
+
end
|
28788
|
+
|
28789
|
+
# Update properties of this object
|
28790
|
+
def update!(**args)
|
28791
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
28792
|
+
@progress_message = args[:progress_message] if args.key?(:progress_message)
|
28793
|
+
end
|
28794
|
+
end
|
28795
|
+
|
27930
28796
|
# Runtime operation metadata for SpecialistPoolService.UpdateSpecialistPool.
|
27931
28797
|
class GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata
|
27932
28798
|
include Google::Apis::Core::Hashable
|
@@ -28213,6 +29079,28 @@ module Google
|
|
28213
29079
|
end
|
28214
29080
|
end
|
28215
29081
|
|
29082
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
29083
|
+
# google.com/vertex-ai-search-and-conversation
|
29084
|
+
class GoogleCloudAiplatformV1VertexAiSearch
|
29085
|
+
include Google::Apis::Core::Hashable
|
29086
|
+
|
29087
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. Format:
|
29088
|
+
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
29089
|
+
# dataStore`
|
29090
|
+
# Corresponds to the JSON property `datastore`
|
29091
|
+
# @return [String]
|
29092
|
+
attr_accessor :datastore
|
29093
|
+
|
29094
|
+
def initialize(**args)
|
29095
|
+
update!(**args)
|
29096
|
+
end
|
29097
|
+
|
29098
|
+
# Update properties of this object
|
29099
|
+
def update!(**args)
|
29100
|
+
@datastore = args[:datastore] if args.key?(:datastore)
|
29101
|
+
end
|
29102
|
+
end
|
29103
|
+
|
28216
29104
|
# Metadata describes the input video content.
|
28217
29105
|
class GoogleCloudAiplatformV1VideoMetadata
|
28218
29106
|
include Google::Apis::Core::Hashable
|
@@ -30379,7 +31267,7 @@ module Google
|
|
30379
31267
|
include Google::Apis::Core::Hashable
|
30380
31268
|
|
30381
31269
|
# Index in the prediction output where the citation ends (exclusive). Must be >
|
30382
|
-
# start_index and
|
31270
|
+
# start_index and <= len(output).
|
30383
31271
|
# Corresponds to the JSON property `endIndex`
|
30384
31272
|
# @return [Fixnum]
|
30385
31273
|
attr_accessor :end_index
|
@@ -30447,6 +31335,12 @@ module Google
|
|
30447
31335
|
# @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmGrailTextHarmType]
|
30448
31336
|
attr_accessor :grail_text_harm_type
|
30449
31337
|
|
31338
|
+
#
|
31339
|
+
# Corresponds to the JSON property `imageChild`
|
31340
|
+
# @return [Boolean]
|
31341
|
+
attr_accessor :image_child
|
31342
|
+
alias_method :image_child?, :image_child
|
31343
|
+
|
30450
31344
|
#
|
30451
31345
|
# Corresponds to the JSON property `imageCsam`
|
30452
31346
|
# @return [Boolean]
|
@@ -30494,6 +31388,12 @@ module Google
|
|
30494
31388
|
# @return [Float]
|
30495
31389
|
attr_accessor :threshold
|
30496
31390
|
|
31391
|
+
#
|
31392
|
+
# Corresponds to the JSON property `videoFrameChild`
|
31393
|
+
# @return [Boolean]
|
31394
|
+
attr_accessor :video_frame_child
|
31395
|
+
alias_method :video_frame_child?, :video_frame_child
|
31396
|
+
|
30497
31397
|
#
|
30498
31398
|
# Corresponds to the JSON property `videoFrameCsam`
|
30499
31399
|
# @return [Boolean]
|
@@ -30529,6 +31429,7 @@ module Google
|
|
30529
31429
|
@fringe = args[:fringe] if args.key?(:fringe)
|
30530
31430
|
@grail_image_harm_type = args[:grail_image_harm_type] if args.key?(:grail_image_harm_type)
|
30531
31431
|
@grail_text_harm_type = args[:grail_text_harm_type] if args.key?(:grail_text_harm_type)
|
31432
|
+
@image_child = args[:image_child] if args.key?(:image_child)
|
30532
31433
|
@image_csam = args[:image_csam] if args.key?(:image_csam)
|
30533
31434
|
@image_pedo = args[:image_pedo] if args.key?(:image_pedo)
|
30534
31435
|
@image_porn = args[:image_porn] if args.key?(:image_porn)
|
@@ -30537,6 +31438,7 @@ module Google
|
|
30537
31438
|
@safetycat = args[:safetycat] if args.key?(:safetycat)
|
30538
31439
|
@spii = args[:spii] if args.key?(:spii)
|
30539
31440
|
@threshold = args[:threshold] if args.key?(:threshold)
|
31441
|
+
@video_frame_child = args[:video_frame_child] if args.key?(:video_frame_child)
|
30540
31442
|
@video_frame_csam = args[:video_frame_csam] if args.key?(:video_frame_csam)
|
30541
31443
|
@video_frame_pedo = args[:video_frame_pedo] if args.key?(:video_frame_pedo)
|
30542
31444
|
@video_frame_porn = args[:video_frame_porn] if args.key?(:video_frame_porn)
|
@@ -30954,6 +31856,18 @@ module Google
|
|
30954
31856
|
# @return [String]
|
30955
31857
|
attr_accessor :model_id
|
30956
31858
|
|
31859
|
+
# If true, the model was selected as a fallback, since no model met requirements.
|
31860
|
+
# Corresponds to the JSON property `pickedAsFallback`
|
31861
|
+
# @return [Boolean]
|
31862
|
+
attr_accessor :picked_as_fallback
|
31863
|
+
alias_method :picked_as_fallback?, :picked_as_fallback
|
31864
|
+
|
31865
|
+
# If true, the model was selected since it met the requriements.
|
31866
|
+
# Corresponds to the JSON property `selected`
|
31867
|
+
# @return [Boolean]
|
31868
|
+
attr_accessor :selected
|
31869
|
+
alias_method :selected?, :selected
|
31870
|
+
|
30957
31871
|
def initialize(**args)
|
30958
31872
|
update!(**args)
|
30959
31873
|
end
|
@@ -30962,6 +31876,8 @@ module Google
|
|
30962
31876
|
def update!(**args)
|
30963
31877
|
@computed_input_token_length = args[:computed_input_token_length] if args.key?(:computed_input_token_length)
|
30964
31878
|
@model_id = args[:model_id] if args.key?(:model_id)
|
31879
|
+
@picked_as_fallback = args[:picked_as_fallback] if args.key?(:picked_as_fallback)
|
31880
|
+
@selected = args[:selected] if args.key?(:selected)
|
30965
31881
|
end
|
30966
31882
|
end
|
30967
31883
|
|