google-apis-aiplatform_v1beta1 0.18.0 → 0.20.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 +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +308 -20
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +144 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +367 -5
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b2f365e160029ab7c05daa259406a5837a0c7e7de42e679e90646ce4890f02b
|
4
|
+
data.tar.gz: c4c9ed26bff636e26410b59f114ae22372403d8a1e66ca751300adf4128a8dea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a80a43204a700ccdbaaacb62be5e820a43257b06d5e39b142be673c7ec99455b6d9909b5fd19fefa83c28e8663ed5e4eb3c06c7394520831194da4cc5efa2d
|
7
|
+
data.tar.gz: 24cae7d88e0721d9da6481dab4437cc994204982628ad5f1c01a74f17aa0853c0a666d4ac8fd095fb74d286354a29e79aee88c30972f0b00665770ef1c85e315
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1beta1
|
2
2
|
|
3
|
+
### v0.20.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240229
|
6
|
+
|
7
|
+
### v0.19.0 (2024-02-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240219
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.18.0 (2024-02-18)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240213
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/vertex-ai/) may provide gui
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores]
|
136
136
|
attr_accessor :image_rai_scores
|
137
137
|
|
138
|
-
# RAI info for image
|
138
|
+
# RAI info for image.
|
139
139
|
# Corresponds to the JSON property `raiInfo`
|
140
140
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfo]
|
141
141
|
attr_accessor :rai_info
|
@@ -145,6 +145,11 @@ module Google
|
|
145
145
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse]
|
146
146
|
attr_accessor :semantic_filter_response
|
147
147
|
|
148
|
+
# Text/Expanded text input for imagen.
|
149
|
+
# Corresponds to the JSON property `text`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :text
|
152
|
+
|
148
153
|
# Path to another storage (typically Google Cloud Storage).
|
149
154
|
# Corresponds to the JSON property `uri`
|
150
155
|
# @return [String]
|
@@ -161,6 +166,7 @@ module Google
|
|
161
166
|
@image_rai_scores = args[:image_rai_scores] if args.key?(:image_rai_scores)
|
162
167
|
@rai_info = args[:rai_info] if args.key?(:rai_info)
|
163
168
|
@semantic_filter_response = args[:semantic_filter_response] if args.key?(:semantic_filter_response)
|
169
|
+
@text = args[:text] if args.key?(:text)
|
164
170
|
@uri = args[:uri] if args.key?(:uri)
|
165
171
|
end
|
166
172
|
end
|
@@ -4144,13 +4150,6 @@ module Google
|
|
4144
4150
|
# @return [String]
|
4145
4151
|
attr_accessor :pipeline_job_id
|
4146
4152
|
|
4147
|
-
# Optional. Whether to do component level validations before job creation.
|
4148
|
-
# Currently we only support Google First Party Component/Pipelines.
|
4149
|
-
# Corresponds to the JSON property `preflightValidations`
|
4150
|
-
# @return [Boolean]
|
4151
|
-
attr_accessor :preflight_validations
|
4152
|
-
alias_method :preflight_validations?, :preflight_validations
|
4153
|
-
|
4154
4153
|
def initialize(**args)
|
4155
4154
|
update!(**args)
|
4156
4155
|
end
|
@@ -4160,7 +4159,6 @@ module Google
|
|
4160
4159
|
@parent = args[:parent] if args.key?(:parent)
|
4161
4160
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
4162
4161
|
@pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
|
4163
|
-
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
4164
4162
|
end
|
4165
4163
|
end
|
4166
4164
|
|
@@ -4977,12 +4975,23 @@ module Google
|
|
4977
4975
|
# @return [String]
|
4978
4976
|
attr_accessor :create_time
|
4979
4977
|
|
4978
|
+
# The user-defined name of the DatasetVersion. The name can be up to 128
|
4979
|
+
# characters long and can consist of any UTF-8 characters.
|
4980
|
+
# Corresponds to the JSON property `displayName`
|
4981
|
+
# @return [String]
|
4982
|
+
attr_accessor :display_name
|
4983
|
+
|
4980
4984
|
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
4981
4985
|
# overwrite" update happens.
|
4982
4986
|
# Corresponds to the JSON property `etag`
|
4983
4987
|
# @return [String]
|
4984
4988
|
attr_accessor :etag
|
4985
4989
|
|
4990
|
+
# Required. Output only. Additional information about the DatasetVersion.
|
4991
|
+
# Corresponds to the JSON property `metadata`
|
4992
|
+
# @return [Object]
|
4993
|
+
attr_accessor :metadata
|
4994
|
+
|
4986
4995
|
# Output only. The resource name of the DatasetVersion.
|
4987
4996
|
# Corresponds to the JSON property `name`
|
4988
4997
|
# @return [String]
|
@@ -5001,7 +5010,9 @@ module Google
|
|
5001
5010
|
def update!(**args)
|
5002
5011
|
@big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
|
5003
5012
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5013
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
5004
5014
|
@etag = args[:etag] if args.key?(:etag)
|
5015
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
5005
5016
|
@name = args[:name] if args.key?(:name)
|
5006
5017
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5007
5018
|
end
|
@@ -7959,6 +7970,12 @@ module Google
|
|
7959
7970
|
# @return [String]
|
7960
7971
|
attr_accessor :name
|
7961
7972
|
|
7973
|
+
# Entity responsible for maintaining this feature. Can be comma separated list
|
7974
|
+
# of email addresses or URIs.
|
7975
|
+
# Corresponds to the JSON property `pointOfContact`
|
7976
|
+
# @return [String]
|
7977
|
+
attr_accessor :point_of_contact
|
7978
|
+
|
7962
7979
|
# Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp
|
7963
7980
|
# when this EntityType was most recently updated.
|
7964
7981
|
# Corresponds to the JSON property `updateTime`
|
@@ -7993,6 +8010,7 @@ module Google
|
|
7993
8010
|
@monitoring_stats = args[:monitoring_stats] if args.key?(:monitoring_stats)
|
7994
8011
|
@monitoring_stats_anomalies = args[:monitoring_stats_anomalies] if args.key?(:monitoring_stats_anomalies)
|
7995
8012
|
@name = args[:name] if args.key?(:name)
|
8013
|
+
@point_of_contact = args[:point_of_contact] if args.key?(:point_of_contact)
|
7996
8014
|
@update_time = args[:update_time] if args.key?(:update_time)
|
7997
8015
|
@value_type = args[:value_type] if args.key?(:value_type)
|
7998
8016
|
@version_column_name = args[:version_column_name] if args.key?(:version_column_name)
|
@@ -8071,8 +8089,8 @@ module Google
|
|
8071
8089
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQuerySource]
|
8072
8090
|
attr_accessor :big_query_source
|
8073
8091
|
|
8074
|
-
# Optional. Columns to construct entity_id / row keys.
|
8075
|
-
#
|
8092
|
+
# Optional. Columns to construct entity_id / row keys. If not provided defaults
|
8093
|
+
# to `entity_id`.
|
8076
8094
|
# Corresponds to the JSON property `entityIdColumns`
|
8077
8095
|
# @return [Array<String>]
|
8078
8096
|
attr_accessor :entity_id_columns
|
@@ -8683,6 +8701,23 @@ module Google
|
|
8683
8701
|
# @return [String]
|
8684
8702
|
attr_accessor :name
|
8685
8703
|
|
8704
|
+
# Output only. A Service Account unique to this FeatureView. The role bigquery.
|
8705
|
+
# dataViewer should be granted to this service account to allow Vertex AI
|
8706
|
+
# Feature Store to sync data to the online store.
|
8707
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
8708
|
+
# @return [String]
|
8709
|
+
attr_accessor :service_account_email
|
8710
|
+
|
8711
|
+
# Optional. Service agent type used during data sync. By default, the Vertex AI
|
8712
|
+
# Service Agent is used. When using an IAM Policy to isolate this FeatureView
|
8713
|
+
# within a project (https://cloud.google.com/vertex-ai/docs/featurestore/latest/
|
8714
|
+
# resource-policy) a separate service account should be provisioned by setting
|
8715
|
+
# this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate
|
8716
|
+
# service account to access the BigQuery source table.
|
8717
|
+
# Corresponds to the JSON property `serviceAgentType`
|
8718
|
+
# @return [String]
|
8719
|
+
attr_accessor :service_agent_type
|
8720
|
+
|
8686
8721
|
# Configuration for Sync. Only one option is set.
|
8687
8722
|
# Corresponds to the JSON property `syncConfig`
|
8688
8723
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig]
|
@@ -8710,6 +8745,8 @@ module Google
|
|
8710
8745
|
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
8711
8746
|
@labels = args[:labels] if args.key?(:labels)
|
8712
8747
|
@name = args[:name] if args.key?(:name)
|
8748
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
8749
|
+
@service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
|
8713
8750
|
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
8714
8751
|
@update_time = args[:update_time] if args.key?(:update_time)
|
8715
8752
|
@vector_search_config = args[:vector_search_config] if args.key?(:vector_search_config)
|
@@ -8720,8 +8757,7 @@ module Google
|
|
8720
8757
|
class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource
|
8721
8758
|
include Google::Apis::Core::Hashable
|
8722
8759
|
|
8723
|
-
# Required. Columns to construct entity_id / row keys.
|
8724
|
-
# only.
|
8760
|
+
# Required. Columns to construct entity_id / row keys.
|
8725
8761
|
# Corresponds to the JSON property `entityIdColumns`
|
8726
8762
|
# @return [Array<String>]
|
8727
8763
|
attr_accessor :entity_id_columns
|
@@ -8747,6 +8783,11 @@ module Google
|
|
8747
8783
|
class GoogleCloudAiplatformV1beta1FeatureViewDataKey
|
8748
8784
|
include Google::Apis::Core::Hashable
|
8749
8785
|
|
8786
|
+
# ID that is comprised from several parts (columns).
|
8787
|
+
# Corresponds to the JSON property `compositeKey`
|
8788
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey]
|
8789
|
+
attr_accessor :composite_key
|
8790
|
+
|
8750
8791
|
# String key to use for lookup.
|
8751
8792
|
# Corresponds to the JSON property `key`
|
8752
8793
|
# @return [String]
|
@@ -8758,10 +8799,31 @@ module Google
|
|
8758
8799
|
|
8759
8800
|
# Update properties of this object
|
8760
8801
|
def update!(**args)
|
8802
|
+
@composite_key = args[:composite_key] if args.key?(:composite_key)
|
8761
8803
|
@key = args[:key] if args.key?(:key)
|
8762
8804
|
end
|
8763
8805
|
end
|
8764
8806
|
|
8807
|
+
# ID that is comprised from several parts (columns).
|
8808
|
+
class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey
|
8809
|
+
include Google::Apis::Core::Hashable
|
8810
|
+
|
8811
|
+
# Parts to construct Entity ID. Should match with the same ID columns as defined
|
8812
|
+
# in FeatureView in the same order.
|
8813
|
+
# Corresponds to the JSON property `parts`
|
8814
|
+
# @return [Array<String>]
|
8815
|
+
attr_accessor :parts
|
8816
|
+
|
8817
|
+
def initialize(**args)
|
8818
|
+
update!(**args)
|
8819
|
+
end
|
8820
|
+
|
8821
|
+
# Update properties of this object
|
8822
|
+
def update!(**args)
|
8823
|
+
@parts = args[:parts] if args.key?(:parts)
|
8824
|
+
end
|
8825
|
+
end
|
8826
|
+
|
8765
8827
|
# A Feature Registry source for features that need to be synced to Online Store.
|
8766
8828
|
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
|
8767
8829
|
include Google::Apis::Core::Hashable
|
@@ -10120,6 +10182,26 @@ module Google
|
|
10120
10182
|
end
|
10121
10183
|
end
|
10122
10184
|
|
10185
|
+
# Contains information about the source of the models generated from Generative
|
10186
|
+
# AI Studio.
|
10187
|
+
class GoogleCloudAiplatformV1beta1GenieSource
|
10188
|
+
include Google::Apis::Core::Hashable
|
10189
|
+
|
10190
|
+
# Required. The public base model URI.
|
10191
|
+
# Corresponds to the JSON property `baseModelUri`
|
10192
|
+
# @return [String]
|
10193
|
+
attr_accessor :base_model_uri
|
10194
|
+
|
10195
|
+
def initialize(**args)
|
10196
|
+
update!(**args)
|
10197
|
+
end
|
10198
|
+
|
10199
|
+
# Update properties of this object
|
10200
|
+
def update!(**args)
|
10201
|
+
@base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
|
10202
|
+
end
|
10203
|
+
end
|
10204
|
+
|
10123
10205
|
# Tool to retrieve public web data for grounding, powered by Google.
|
10124
10206
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
10125
10207
|
include Google::Apis::Core::Hashable
|
@@ -13407,6 +13489,12 @@ module Google
|
|
13407
13489
|
# @return [String]
|
13408
13490
|
attr_accessor :artifact_uri
|
13409
13491
|
|
13492
|
+
# User input field to specify the base model source. Currently it only supports
|
13493
|
+
# specifing the Model Garden models and Genie models.
|
13494
|
+
# Corresponds to the JSON property `baseModelSource`
|
13495
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource]
|
13496
|
+
attr_accessor :base_model_source
|
13497
|
+
|
13410
13498
|
# Specification of a container for serving predictions. Some fields in this
|
13411
13499
|
# message correspond to fields in the [Kubernetes Container v1 core
|
13412
13500
|
# specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
|
@@ -13619,6 +13707,7 @@ module Google
|
|
13619
13707
|
# Update properties of this object
|
13620
13708
|
def update!(**args)
|
13621
13709
|
@artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
|
13710
|
+
@base_model_source = args[:base_model_source] if args.key?(:base_model_source)
|
13622
13711
|
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
13623
13712
|
@create_time = args[:create_time] if args.key?(:create_time)
|
13624
13713
|
@deployed_models = args[:deployed_models] if args.key?(:deployed_models)
|
@@ -13649,6 +13738,34 @@ module Google
|
|
13649
13738
|
end
|
13650
13739
|
end
|
13651
13740
|
|
13741
|
+
# User input field to specify the base model source. Currently it only supports
|
13742
|
+
# specifing the Model Garden models and Genie models.
|
13743
|
+
class GoogleCloudAiplatformV1beta1ModelBaseModelSource
|
13744
|
+
include Google::Apis::Core::Hashable
|
13745
|
+
|
13746
|
+
# Contains information about the source of the models generated from Generative
|
13747
|
+
# AI Studio.
|
13748
|
+
# Corresponds to the JSON property `genieSource`
|
13749
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource]
|
13750
|
+
attr_accessor :genie_source
|
13751
|
+
|
13752
|
+
# Contains information about the source of the models generated from Model
|
13753
|
+
# Garden.
|
13754
|
+
# Corresponds to the JSON property `modelGardenSource`
|
13755
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource]
|
13756
|
+
attr_accessor :model_garden_source
|
13757
|
+
|
13758
|
+
def initialize(**args)
|
13759
|
+
update!(**args)
|
13760
|
+
end
|
13761
|
+
|
13762
|
+
# Update properties of this object
|
13763
|
+
def update!(**args)
|
13764
|
+
@genie_source = args[:genie_source] if args.key?(:genie_source)
|
13765
|
+
@model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
|
13766
|
+
end
|
13767
|
+
end
|
13768
|
+
|
13652
13769
|
# Specification of a container for serving predictions. Some fields in this
|
13653
13770
|
# message correspond to fields in the [Kubernetes Container v1 core
|
13654
13771
|
# specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
|
@@ -14594,6 +14711,26 @@ module Google
|
|
14594
14711
|
end
|
14595
14712
|
end
|
14596
14713
|
|
14714
|
+
# Contains information about the source of the models generated from Model
|
14715
|
+
# Garden.
|
14716
|
+
class GoogleCloudAiplatformV1beta1ModelGardenSource
|
14717
|
+
include Google::Apis::Core::Hashable
|
14718
|
+
|
14719
|
+
# Required. The model garden source model resource name.
|
14720
|
+
# Corresponds to the JSON property `publicModelName`
|
14721
|
+
# @return [String]
|
14722
|
+
attr_accessor :public_model_name
|
14723
|
+
|
14724
|
+
def initialize(**args)
|
14725
|
+
update!(**args)
|
14726
|
+
end
|
14727
|
+
|
14728
|
+
# Update properties of this object
|
14729
|
+
def update!(**args)
|
14730
|
+
@public_model_name = args[:public_model_name] if args.key?(:public_model_name)
|
14731
|
+
end
|
14732
|
+
end
|
14733
|
+
|
14597
14734
|
# The alert config for model monitoring.
|
14598
14735
|
class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
|
14599
14736
|
include Google::Apis::Core::Hashable
|
@@ -16663,6 +16800,12 @@ module Google
|
|
16663
16800
|
# @return [Hash<String,Object>]
|
16664
16801
|
attr_accessor :pipeline_spec
|
16665
16802
|
|
16803
|
+
# Optional. Whether to do component level validations before job creation.
|
16804
|
+
# Corresponds to the JSON property `preflightValidations`
|
16805
|
+
# @return [Boolean]
|
16806
|
+
attr_accessor :preflight_validations
|
16807
|
+
alias_method :preflight_validations?, :preflight_validations
|
16808
|
+
|
16666
16809
|
# A list of names for the reserved ip ranges under the VPC network that can be
|
16667
16810
|
# used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
|
16668
16811
|
# s workload within the provided ip ranges. Otherwise, the job will be deployed
|
@@ -16737,6 +16880,7 @@ module Google
|
|
16737
16880
|
@name = args[:name] if args.key?(:name)
|
16738
16881
|
@network = args[:network] if args.key?(:network)
|
16739
16882
|
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
16883
|
+
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
16740
16884
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
16741
16885
|
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
16742
16886
|
@schedule_name = args[:schedule_name] if args.key?(:schedule_name)
|
@@ -19200,6 +19344,21 @@ module Google
|
|
19200
19344
|
# @return [String]
|
19201
19345
|
attr_accessor :probability
|
19202
19346
|
|
19347
|
+
# Output only. Harm probability score.
|
19348
|
+
# Corresponds to the JSON property `probabilityScore`
|
19349
|
+
# @return [Float]
|
19350
|
+
attr_accessor :probability_score
|
19351
|
+
|
19352
|
+
# Output only. Harm severity levels in the content.
|
19353
|
+
# Corresponds to the JSON property `severity`
|
19354
|
+
# @return [String]
|
19355
|
+
attr_accessor :severity
|
19356
|
+
|
19357
|
+
# Output only. Harm severity score.
|
19358
|
+
# Corresponds to the JSON property `severityScore`
|
19359
|
+
# @return [Float]
|
19360
|
+
attr_accessor :severity_score
|
19361
|
+
|
19203
19362
|
def initialize(**args)
|
19204
19363
|
update!(**args)
|
19205
19364
|
end
|
@@ -19209,6 +19368,9 @@ module Google
|
|
19209
19368
|
@blocked = args[:blocked] if args.key?(:blocked)
|
19210
19369
|
@category = args[:category] if args.key?(:category)
|
19211
19370
|
@probability = args[:probability] if args.key?(:probability)
|
19371
|
+
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
19372
|
+
@severity = args[:severity] if args.key?(:severity)
|
19373
|
+
@severity_score = args[:severity_score] if args.key?(:severity_score)
|
19212
19374
|
end
|
19213
19375
|
end
|
19214
19376
|
|
@@ -27956,16 +28118,17 @@ module Google
|
|
27956
28118
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
27957
28119
|
# of code that enables the system to interact with external systems to perform
|
27958
28120
|
# an action, or set of actions, outside of knowledge and scope of the model. A
|
27959
|
-
# Tool object should contain exactly one type of Tool.
|
28121
|
+
# Tool object should contain exactly one type of Tool (e.g FunctionDeclaration,
|
28122
|
+
# Retrieval or GoogleSearchRetrieval).
|
27960
28123
|
class GoogleCloudAiplatformV1beta1Tool
|
27961
28124
|
include Google::Apis::Core::Hashable
|
27962
28125
|
|
27963
|
-
# Optional. One or more function declarations to be passed
|
27964
|
-
# with the current user query. Model may decide to call a
|
27965
|
-
# functions by populating FunctionCall in the response. User
|
27966
|
-
# FunctionResponse for each function call in the next turn.
|
27967
|
-
# function responses, Model will generate the final response back
|
27968
|
-
# Maximum 64 function declarations can be provided.
|
28126
|
+
# Optional. Function tool type. One or more function declarations to be passed
|
28127
|
+
# to the model along with the current user query. Model may decide to call a
|
28128
|
+
# subset of these functions by populating FunctionCall in the response. User
|
28129
|
+
# should provide a FunctionResponse for each function call in the next turn.
|
28130
|
+
# Based on the function responses, Model will generate the final response back
|
28131
|
+
# to the user. Maximum 64 function declarations can be provided.
|
27969
28132
|
# Corresponds to the JSON property `functionDeclarations`
|
27970
28133
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
27971
28134
|
attr_accessor :function_declarations
|
@@ -30970,6 +31133,125 @@ module Google
|
|
30970
31133
|
end
|
30971
31134
|
end
|
30972
31135
|
|
31136
|
+
# Stores all metadata relating to AIDA DoConversation.
|
31137
|
+
class LearningGenaiRootCodeyChatMetadata
|
31138
|
+
include Google::Apis::Core::Hashable
|
31139
|
+
|
31140
|
+
# Indicates the programming language of the code if the message is a code chunk.
|
31141
|
+
# Corresponds to the JSON property `codeLanguage`
|
31142
|
+
# @return [String]
|
31143
|
+
attr_accessor :code_language
|
31144
|
+
|
31145
|
+
def initialize(**args)
|
31146
|
+
update!(**args)
|
31147
|
+
end
|
31148
|
+
|
31149
|
+
# Update properties of this object
|
31150
|
+
def update!(**args)
|
31151
|
+
@code_language = args[:code_language] if args.key?(:code_language)
|
31152
|
+
end
|
31153
|
+
end
|
31154
|
+
|
31155
|
+
# Describes a sample at a checkpoint for post-processing.
|
31156
|
+
class LearningGenaiRootCodeyCheckpoint
|
31157
|
+
include Google::Apis::Core::Hashable
|
31158
|
+
|
31159
|
+
# Metadata describing what was truncated at each checkpoint.
|
31160
|
+
# Corresponds to the JSON property `codeyTruncatorMetadata`
|
31161
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyTruncatorMetadata]
|
31162
|
+
attr_accessor :codey_truncator_metadata
|
31163
|
+
|
31164
|
+
# Current state of the sample after truncator.
|
31165
|
+
# Corresponds to the JSON property `currentSample`
|
31166
|
+
# @return [String]
|
31167
|
+
attr_accessor :current_sample
|
31168
|
+
|
31169
|
+
# Postprocessor run that yielded this checkpoint.
|
31170
|
+
# Corresponds to the JSON property `postInferenceStep`
|
31171
|
+
# @return [String]
|
31172
|
+
attr_accessor :post_inference_step
|
31173
|
+
|
31174
|
+
def initialize(**args)
|
31175
|
+
update!(**args)
|
31176
|
+
end
|
31177
|
+
|
31178
|
+
# Update properties of this object
|
31179
|
+
def update!(**args)
|
31180
|
+
@codey_truncator_metadata = args[:codey_truncator_metadata] if args.key?(:codey_truncator_metadata)
|
31181
|
+
@current_sample = args[:current_sample] if args.key?(:current_sample)
|
31182
|
+
@post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
|
31183
|
+
end
|
31184
|
+
end
|
31185
|
+
|
31186
|
+
# Stores all metadata relating to Completion.
|
31187
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
31188
|
+
include Google::Apis::Core::Hashable
|
31189
|
+
|
31190
|
+
#
|
31191
|
+
# Corresponds to the JSON property `checkpoints`
|
31192
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCheckpoint>]
|
31193
|
+
attr_accessor :checkpoints
|
31194
|
+
|
31195
|
+
def initialize(**args)
|
31196
|
+
update!(**args)
|
31197
|
+
end
|
31198
|
+
|
31199
|
+
# Update properties of this object
|
31200
|
+
def update!(**args)
|
31201
|
+
@checkpoints = args[:checkpoints] if args.key?(:checkpoints)
|
31202
|
+
end
|
31203
|
+
end
|
31204
|
+
|
31205
|
+
# Top-level wrapper used to store all things codey-related.
|
31206
|
+
class LearningGenaiRootCodeyOutput
|
31207
|
+
include Google::Apis::Core::Hashable
|
31208
|
+
|
31209
|
+
# Stores all metadata relating to AIDA DoConversation.
|
31210
|
+
# Corresponds to the JSON property `codeyChatMetadata`
|
31211
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyChatMetadata]
|
31212
|
+
attr_accessor :codey_chat_metadata
|
31213
|
+
|
31214
|
+
# Stores all metadata relating to Completion.
|
31215
|
+
# Corresponds to the JSON property `codeyCompletionMetadata`
|
31216
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCompletionMetadata]
|
31217
|
+
attr_accessor :codey_completion_metadata
|
31218
|
+
|
31219
|
+
def initialize(**args)
|
31220
|
+
update!(**args)
|
31221
|
+
end
|
31222
|
+
|
31223
|
+
# Update properties of this object
|
31224
|
+
def update!(**args)
|
31225
|
+
@codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
|
31226
|
+
@codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
|
31227
|
+
end
|
31228
|
+
end
|
31229
|
+
|
31230
|
+
# Metadata describing what was truncated at each checkpoint.
|
31231
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
31232
|
+
include Google::Apis::Core::Hashable
|
31233
|
+
|
31234
|
+
# Index of the current sample that trims off truncated text.
|
31235
|
+
# Corresponds to the JSON property `cutoffIndex`
|
31236
|
+
# @return [Fixnum]
|
31237
|
+
attr_accessor :cutoff_index
|
31238
|
+
|
31239
|
+
# Text that was truncated at a specific checkpoint.
|
31240
|
+
# Corresponds to the JSON property `truncatedText`
|
31241
|
+
# @return [String]
|
31242
|
+
attr_accessor :truncated_text
|
31243
|
+
|
31244
|
+
def initialize(**args)
|
31245
|
+
update!(**args)
|
31246
|
+
end
|
31247
|
+
|
31248
|
+
# Update properties of this object
|
31249
|
+
def update!(**args)
|
31250
|
+
@cutoff_index = args[:cutoff_index] if args.key?(:cutoff_index)
|
31251
|
+
@truncated_text = args[:truncated_text] if args.key?(:truncated_text)
|
31252
|
+
end
|
31253
|
+
end
|
31254
|
+
|
30973
31255
|
#
|
30974
31256
|
class LearningGenaiRootDataProviderOutput
|
30975
31257
|
include Google::Apis::Core::Hashable
|
@@ -32188,6 +32470,11 @@ module Google
|
|
32188
32470
|
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutputSummary]
|
32189
32471
|
attr_accessor :classifier_summary
|
32190
32472
|
|
32473
|
+
# Top-level wrapper used to store all things codey-related.
|
32474
|
+
# Corresponds to the JSON property `codeyOutput`
|
32475
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyOutput]
|
32476
|
+
attr_accessor :codey_output
|
32477
|
+
|
32191
32478
|
#
|
32192
32479
|
# Corresponds to the JSON property `currentStreamTextLength`
|
32193
32480
|
# @return [Fixnum]
|
@@ -32318,6 +32605,7 @@ module Google
|
|
32318
32605
|
# Update properties of this object
|
32319
32606
|
def update!(**args)
|
32320
32607
|
@classifier_summary = args[:classifier_summary] if args.key?(:classifier_summary)
|
32608
|
+
@codey_output = args[:codey_output] if args.key?(:codey_output)
|
32321
32609
|
@current_stream_text_length = args[:current_stream_text_length] if args.key?(:current_stream_text_length)
|
32322
32610
|
@deleted = args[:deleted] if args.key?(:deleted)
|
32323
32611
|
@filter_meta = args[:filter_meta] if args.key?(:filter_meta)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240229"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1492,6 +1492,12 @@ module Google
|
|
1492
1492
|
include Google::Apis::Core::JsonObjectSupport
|
1493
1493
|
end
|
1494
1494
|
|
1495
|
+
class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
|
+
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
1499
|
+
end
|
1500
|
+
|
1495
1501
|
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
|
1496
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
1503
|
|
@@ -1732,6 +1738,12 @@ module Google
|
|
1732
1738
|
include Google::Apis::Core::JsonObjectSupport
|
1733
1739
|
end
|
1734
1740
|
|
1741
|
+
class GoogleCloudAiplatformV1beta1GenieSource
|
1742
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1743
|
+
|
1744
|
+
include Google::Apis::Core::JsonObjectSupport
|
1745
|
+
end
|
1746
|
+
|
1735
1747
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
1736
1748
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1737
1749
|
|
@@ -2338,6 +2350,12 @@ module Google
|
|
2338
2350
|
include Google::Apis::Core::JsonObjectSupport
|
2339
2351
|
end
|
2340
2352
|
|
2353
|
+
class GoogleCloudAiplatformV1beta1ModelBaseModelSource
|
2354
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2355
|
+
|
2356
|
+
include Google::Apis::Core::JsonObjectSupport
|
2357
|
+
end
|
2358
|
+
|
2341
2359
|
class GoogleCloudAiplatformV1beta1ModelContainerSpec
|
2342
2360
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2343
2361
|
|
@@ -2440,6 +2458,12 @@ module Google
|
|
2440
2458
|
include Google::Apis::Core::JsonObjectSupport
|
2441
2459
|
end
|
2442
2460
|
|
2461
|
+
class GoogleCloudAiplatformV1beta1ModelGardenSource
|
2462
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2463
|
+
|
2464
|
+
include Google::Apis::Core::JsonObjectSupport
|
2465
|
+
end
|
2466
|
+
|
2443
2467
|
class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
|
2444
2468
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2445
2469
|
|
@@ -5098,6 +5122,36 @@ module Google
|
|
5098
5122
|
include Google::Apis::Core::JsonObjectSupport
|
5099
5123
|
end
|
5100
5124
|
|
5125
|
+
class LearningGenaiRootCodeyChatMetadata
|
5126
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5127
|
+
|
5128
|
+
include Google::Apis::Core::JsonObjectSupport
|
5129
|
+
end
|
5130
|
+
|
5131
|
+
class LearningGenaiRootCodeyCheckpoint
|
5132
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5133
|
+
|
5134
|
+
include Google::Apis::Core::JsonObjectSupport
|
5135
|
+
end
|
5136
|
+
|
5137
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
5138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5139
|
+
|
5140
|
+
include Google::Apis::Core::JsonObjectSupport
|
5141
|
+
end
|
5142
|
+
|
5143
|
+
class LearningGenaiRootCodeyOutput
|
5144
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5145
|
+
|
5146
|
+
include Google::Apis::Core::JsonObjectSupport
|
5147
|
+
end
|
5148
|
+
|
5149
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
5150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5151
|
+
|
5152
|
+
include Google::Apis::Core::JsonObjectSupport
|
5153
|
+
end
|
5154
|
+
|
5101
5155
|
class LearningGenaiRootDataProviderOutput
|
5102
5156
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5103
5157
|
|
@@ -5402,6 +5456,7 @@ module Google
|
|
5402
5456
|
|
5403
5457
|
property :semantic_filter_response, as: 'semanticFilterResponse', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse::Representation
|
5404
5458
|
|
5459
|
+
property :text, as: 'text'
|
5405
5460
|
property :uri, as: 'uri'
|
5406
5461
|
end
|
5407
5462
|
end
|
@@ -6615,7 +6670,6 @@ module Google
|
|
6615
6670
|
property :pipeline_job, as: 'pipelineJob', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob::Representation
|
6616
6671
|
|
6617
6672
|
property :pipeline_job_id, as: 'pipelineJobId'
|
6618
|
-
property :preflight_validations, as: 'preflightValidations'
|
6619
6673
|
end
|
6620
6674
|
end
|
6621
6675
|
|
@@ -6808,7 +6862,9 @@ module Google
|
|
6808
6862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6809
6863
|
property :big_query_dataset_name, as: 'bigQueryDatasetName'
|
6810
6864
|
property :create_time, as: 'createTime'
|
6865
|
+
property :display_name, as: 'displayName'
|
6811
6866
|
property :etag, as: 'etag'
|
6867
|
+
property :metadata, as: 'metadata'
|
6812
6868
|
property :name, as: 'name'
|
6813
6869
|
property :update_time, as: 'updateTime'
|
6814
6870
|
end
|
@@ -7616,6 +7672,7 @@ module Google
|
|
7616
7672
|
collection :monitoring_stats_anomalies, as: 'monitoringStatsAnomalies', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly::Representation
|
7617
7673
|
|
7618
7674
|
property :name, as: 'name'
|
7675
|
+
property :point_of_contact, as: 'pointOfContact'
|
7619
7676
|
property :update_time, as: 'updateTime'
|
7620
7677
|
property :value_type, as: 'valueType'
|
7621
7678
|
property :version_column_name, as: 'versionColumnName'
|
@@ -7810,6 +7867,8 @@ module Google
|
|
7810
7867
|
|
7811
7868
|
hash :labels, as: 'labels'
|
7812
7869
|
property :name, as: 'name'
|
7870
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
7871
|
+
property :service_agent_type, as: 'serviceAgentType'
|
7813
7872
|
property :sync_config, as: 'syncConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig::Representation
|
7814
7873
|
|
7815
7874
|
property :update_time, as: 'updateTime'
|
@@ -7829,10 +7888,19 @@ module Google
|
|
7829
7888
|
class GoogleCloudAiplatformV1beta1FeatureViewDataKey
|
7830
7889
|
# @private
|
7831
7890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7891
|
+
property :composite_key, as: 'compositeKey', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey::Representation
|
7892
|
+
|
7832
7893
|
property :key, as: 'key'
|
7833
7894
|
end
|
7834
7895
|
end
|
7835
7896
|
|
7897
|
+
class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey
|
7898
|
+
# @private
|
7899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7900
|
+
collection :parts, as: 'parts'
|
7901
|
+
end
|
7902
|
+
end
|
7903
|
+
|
7836
7904
|
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
|
7837
7905
|
# @private
|
7838
7906
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8216,6 +8284,13 @@ module Google
|
|
8216
8284
|
end
|
8217
8285
|
end
|
8218
8286
|
|
8287
|
+
class GoogleCloudAiplatformV1beta1GenieSource
|
8288
|
+
# @private
|
8289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8290
|
+
property :base_model_uri, as: 'baseModelUri'
|
8291
|
+
end
|
8292
|
+
end
|
8293
|
+
|
8219
8294
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
8220
8295
|
# @private
|
8221
8296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9198,6 +9273,8 @@ module Google
|
|
9198
9273
|
# @private
|
9199
9274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9200
9275
|
property :artifact_uri, as: 'artifactUri'
|
9276
|
+
property :base_model_source, as: 'baseModelSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource::Representation
|
9277
|
+
|
9201
9278
|
property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec::Representation
|
9202
9279
|
|
9203
9280
|
property :create_time, as: 'createTime'
|
@@ -9236,6 +9313,16 @@ module Google
|
|
9236
9313
|
end
|
9237
9314
|
end
|
9238
9315
|
|
9316
|
+
class GoogleCloudAiplatformV1beta1ModelBaseModelSource
|
9317
|
+
# @private
|
9318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9319
|
+
property :genie_source, as: 'genieSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource::Representation
|
9320
|
+
|
9321
|
+
property :model_garden_source, as: 'modelGardenSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource::Representation
|
9322
|
+
|
9323
|
+
end
|
9324
|
+
end
|
9325
|
+
|
9239
9326
|
class GoogleCloudAiplatformV1beta1ModelContainerSpec
|
9240
9327
|
# @private
|
9241
9328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9445,6 +9532,13 @@ module Google
|
|
9445
9532
|
end
|
9446
9533
|
end
|
9447
9534
|
|
9535
|
+
class GoogleCloudAiplatformV1beta1ModelGardenSource
|
9536
|
+
# @private
|
9537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9538
|
+
property :public_model_name, as: 'publicModelName'
|
9539
|
+
end
|
9540
|
+
end
|
9541
|
+
|
9448
9542
|
class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
|
9449
9543
|
# @private
|
9450
9544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10027,6 +10121,7 @@ module Google
|
|
10027
10121
|
property :name, as: 'name'
|
10028
10122
|
property :network, as: 'network'
|
10029
10123
|
hash :pipeline_spec, as: 'pipelineSpec'
|
10124
|
+
property :preflight_validations, as: 'preflightValidations'
|
10030
10125
|
collection :reserved_ip_ranges, as: 'reservedIpRanges'
|
10031
10126
|
property :runtime_config, as: 'runtimeConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig::Representation
|
10032
10127
|
|
@@ -10783,6 +10878,9 @@ module Google
|
|
10783
10878
|
property :blocked, as: 'blocked'
|
10784
10879
|
property :category, as: 'category'
|
10785
10880
|
property :probability, as: 'probability'
|
10881
|
+
property :probability_score, as: 'probabilityScore'
|
10882
|
+
property :severity, as: 'severity'
|
10883
|
+
property :severity_score, as: 'severityScore'
|
10786
10884
|
end
|
10787
10885
|
end
|
10788
10886
|
|
@@ -13888,6 +13986,49 @@ module Google
|
|
13888
13986
|
end
|
13889
13987
|
end
|
13890
13988
|
|
13989
|
+
class LearningGenaiRootCodeyChatMetadata
|
13990
|
+
# @private
|
13991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13992
|
+
property :code_language, as: 'codeLanguage'
|
13993
|
+
end
|
13994
|
+
end
|
13995
|
+
|
13996
|
+
class LearningGenaiRootCodeyCheckpoint
|
13997
|
+
# @private
|
13998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13999
|
+
property :codey_truncator_metadata, as: 'codeyTruncatorMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyTruncatorMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyTruncatorMetadata::Representation
|
14000
|
+
|
14001
|
+
property :current_sample, as: 'currentSample'
|
14002
|
+
property :post_inference_step, as: 'postInferenceStep'
|
14003
|
+
end
|
14004
|
+
end
|
14005
|
+
|
14006
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
14007
|
+
# @private
|
14008
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14009
|
+
collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCheckpoint, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCheckpoint::Representation
|
14010
|
+
|
14011
|
+
end
|
14012
|
+
end
|
14013
|
+
|
14014
|
+
class LearningGenaiRootCodeyOutput
|
14015
|
+
# @private
|
14016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14017
|
+
property :codey_chat_metadata, as: 'codeyChatMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyChatMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyChatMetadata::Representation
|
14018
|
+
|
14019
|
+
property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCompletionMetadata::Representation
|
14020
|
+
|
14021
|
+
end
|
14022
|
+
end
|
14023
|
+
|
14024
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
14025
|
+
# @private
|
14026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14027
|
+
property :cutoff_index, as: 'cutoffIndex'
|
14028
|
+
property :truncated_text, as: 'truncatedText'
|
14029
|
+
end
|
14030
|
+
end
|
14031
|
+
|
13891
14032
|
class LearningGenaiRootDataProviderOutput
|
13892
14033
|
# @private
|
13893
14034
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14262,6 +14403,8 @@ module Google
|
|
14262
14403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14263
14404
|
property :classifier_summary, as: 'classifierSummary', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutputSummary, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutputSummary::Representation
|
14264
14405
|
|
14406
|
+
property :codey_output, as: 'codeyOutput', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyOutput, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyOutput::Representation
|
14407
|
+
|
14265
14408
|
property :current_stream_text_length, as: 'currentStreamTextLength'
|
14266
14409
|
property :deleted, as: 'deleted'
|
14267
14410
|
collection :filter_meta, as: 'filterMeta', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootFilterMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootFilterMetadata::Representation
|
@@ -15615,9 +15615,6 @@ module Google
|
|
15615
15615
|
# the PipelineJob name. If not provided, an ID will be automatically generated.
|
15616
15616
|
# This value should be less than 128 characters, and valid characters are `/a-z-/
|
15617
15617
|
# `.
|
15618
|
-
# @param [Boolean] preflight_validations
|
15619
|
-
# Optional. Whether to do component level validations before job creation.
|
15620
|
-
# Currently we only support Google First Party Component/Pipelines.
|
15621
15618
|
# @param [String] fields
|
15622
15619
|
# Selector specifying which fields to include in a partial response.
|
15623
15620
|
# @param [String] quota_user
|
@@ -15635,7 +15632,7 @@ module Google
|
|
15635
15632
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15636
15633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15637
15634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15638
|
-
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil,
|
15635
|
+
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
15639
15636
|
command = make_simple_command(:post, 'v1beta1/{+parent}/pipelineJobs', options)
|
15640
15637
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob::Representation
|
15641
15638
|
command.request_object = google_cloud_aiplatform_v1beta1_pipeline_job_object
|
@@ -15643,7 +15640,6 @@ module Google
|
|
15643
15640
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob
|
15644
15641
|
command.params['parent'] = parent unless parent.nil?
|
15645
15642
|
command.query['pipelineJobId'] = pipeline_job_id unless pipeline_job_id.nil?
|
15646
|
-
command.query['preflightValidations'] = preflight_validations unless preflight_validations.nil?
|
15647
15643
|
command.query['fields'] = fields unless fields.nil?
|
15648
15644
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15649
15645
|
execute_or_queue_command(command, &block)
|
@@ -16254,6 +16250,372 @@ module Google
|
|
16254
16250
|
execute_or_queue_command(command, &block)
|
16255
16251
|
end
|
16256
16252
|
|
16253
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16254
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16255
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
16256
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
16257
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
16258
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
16259
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
16260
|
+
# corresponding to `Code.CANCELLED`.
|
16261
|
+
# @param [String] name
|
16262
|
+
# The name of the operation resource to be cancelled.
|
16263
|
+
# @param [String] fields
|
16264
|
+
# Selector specifying which fields to include in a partial response.
|
16265
|
+
# @param [String] quota_user
|
16266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16268
|
+
# @param [Google::Apis::RequestOptions] options
|
16269
|
+
# Request-specific options
|
16270
|
+
#
|
16271
|
+
# @yield [result, err] Result & error if block supplied
|
16272
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16273
|
+
# @yieldparam err [StandardError] error object if request failed
|
16274
|
+
#
|
16275
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16276
|
+
#
|
16277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16280
|
+
def cancel_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16281
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
16282
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16283
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16284
|
+
command.params['name'] = name unless name.nil?
|
16285
|
+
command.query['fields'] = fields unless fields.nil?
|
16286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16287
|
+
execute_or_queue_command(command, &block)
|
16288
|
+
end
|
16289
|
+
|
16290
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
16291
|
+
# longer interested in the operation result. It does not cancel the operation.
|
16292
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
16293
|
+
# UNIMPLEMENTED`.
|
16294
|
+
# @param [String] name
|
16295
|
+
# The name of the operation resource to be deleted.
|
16296
|
+
# @param [String] fields
|
16297
|
+
# Selector specifying which fields to include in a partial response.
|
16298
|
+
# @param [String] quota_user
|
16299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16301
|
+
# @param [Google::Apis::RequestOptions] options
|
16302
|
+
# Request-specific options
|
16303
|
+
#
|
16304
|
+
# @yield [result, err] Result & error if block supplied
|
16305
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16306
|
+
# @yieldparam err [StandardError] error object if request failed
|
16307
|
+
#
|
16308
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16309
|
+
#
|
16310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16313
|
+
def delete_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16314
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
16315
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16316
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16317
|
+
command.params['name'] = name unless name.nil?
|
16318
|
+
command.query['fields'] = fields unless fields.nil?
|
16319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16320
|
+
execute_or_queue_command(command, &block)
|
16321
|
+
end
|
16322
|
+
|
16323
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
16324
|
+
# to poll the operation result at intervals as recommended by the API service.
|
16325
|
+
# @param [String] name
|
16326
|
+
# The name of the operation resource.
|
16327
|
+
# @param [String] fields
|
16328
|
+
# Selector specifying which fields to include in a partial response.
|
16329
|
+
# @param [String] quota_user
|
16330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16332
|
+
# @param [Google::Apis::RequestOptions] options
|
16333
|
+
# Request-specific options
|
16334
|
+
#
|
16335
|
+
# @yield [result, err] Result & error if block supplied
|
16336
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16337
|
+
# @yieldparam err [StandardError] error object if request failed
|
16338
|
+
#
|
16339
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16340
|
+
#
|
16341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16344
|
+
def get_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16345
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
16346
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16347
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16348
|
+
command.params['name'] = name unless name.nil?
|
16349
|
+
command.query['fields'] = fields unless fields.nil?
|
16350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16351
|
+
execute_or_queue_command(command, &block)
|
16352
|
+
end
|
16353
|
+
|
16354
|
+
# Lists operations that match the specified filter in the request. If the server
|
16355
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
16356
|
+
# @param [String] name
|
16357
|
+
# The name of the operation's parent resource.
|
16358
|
+
# @param [String] filter
|
16359
|
+
# The standard list filter.
|
16360
|
+
# @param [Fixnum] page_size
|
16361
|
+
# The standard list page size.
|
16362
|
+
# @param [String] page_token
|
16363
|
+
# The standard list page token.
|
16364
|
+
# @param [String] fields
|
16365
|
+
# Selector specifying which fields to include in a partial response.
|
16366
|
+
# @param [String] quota_user
|
16367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16369
|
+
# @param [Google::Apis::RequestOptions] options
|
16370
|
+
# Request-specific options
|
16371
|
+
#
|
16372
|
+
# @yield [result, err] Result & error if block supplied
|
16373
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
16374
|
+
# @yieldparam err [StandardError] error object if request failed
|
16375
|
+
#
|
16376
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
16377
|
+
#
|
16378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16381
|
+
def list_project_location_rag_corpora_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16382
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
16383
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
16384
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
16385
|
+
command.params['name'] = name unless name.nil?
|
16386
|
+
command.query['filter'] = filter unless filter.nil?
|
16387
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16388
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16389
|
+
command.query['fields'] = fields unless fields.nil?
|
16390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16391
|
+
execute_or_queue_command(command, &block)
|
16392
|
+
end
|
16393
|
+
|
16394
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
16395
|
+
# specified timeout, returning the latest state. If the operation is already
|
16396
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
16397
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
16398
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
16399
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
16400
|
+
# the latest state before the specified timeout (including immediately), meaning
|
16401
|
+
# even an immediate response is no guarantee that the operation is done.
|
16402
|
+
# @param [String] name
|
16403
|
+
# The name of the operation resource to wait on.
|
16404
|
+
# @param [String] timeout
|
16405
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
16406
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
16407
|
+
# context deadline is also specified, the shorter one will be used.
|
16408
|
+
# @param [String] fields
|
16409
|
+
# Selector specifying which fields to include in a partial response.
|
16410
|
+
# @param [String] quota_user
|
16411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16413
|
+
# @param [Google::Apis::RequestOptions] options
|
16414
|
+
# Request-specific options
|
16415
|
+
#
|
16416
|
+
# @yield [result, err] Result & error if block supplied
|
16417
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16418
|
+
# @yieldparam err [StandardError] error object if request failed
|
16419
|
+
#
|
16420
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16421
|
+
#
|
16422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16425
|
+
def wait_project_location_rag_corpora_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16426
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
16427
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16428
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16429
|
+
command.params['name'] = name unless name.nil?
|
16430
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
16431
|
+
command.query['fields'] = fields unless fields.nil?
|
16432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16433
|
+
execute_or_queue_command(command, &block)
|
16434
|
+
end
|
16435
|
+
|
16436
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16437
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16438
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
16439
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
16440
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
16441
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
16442
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
16443
|
+
# corresponding to `Code.CANCELLED`.
|
16444
|
+
# @param [String] name
|
16445
|
+
# The name of the operation resource to be cancelled.
|
16446
|
+
# @param [String] fields
|
16447
|
+
# Selector specifying which fields to include in a partial response.
|
16448
|
+
# @param [String] quota_user
|
16449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16451
|
+
# @param [Google::Apis::RequestOptions] options
|
16452
|
+
# Request-specific options
|
16453
|
+
#
|
16454
|
+
# @yield [result, err] Result & error if block supplied
|
16455
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16456
|
+
# @yieldparam err [StandardError] error object if request failed
|
16457
|
+
#
|
16458
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16459
|
+
#
|
16460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16463
|
+
def cancel_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16464
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
16465
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16466
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16467
|
+
command.params['name'] = name unless name.nil?
|
16468
|
+
command.query['fields'] = fields unless fields.nil?
|
16469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16470
|
+
execute_or_queue_command(command, &block)
|
16471
|
+
end
|
16472
|
+
|
16473
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
16474
|
+
# longer interested in the operation result. It does not cancel the operation.
|
16475
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
16476
|
+
# UNIMPLEMENTED`.
|
16477
|
+
# @param [String] name
|
16478
|
+
# The name of the operation resource to be deleted.
|
16479
|
+
# @param [String] fields
|
16480
|
+
# Selector specifying which fields to include in a partial response.
|
16481
|
+
# @param [String] quota_user
|
16482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16484
|
+
# @param [Google::Apis::RequestOptions] options
|
16485
|
+
# Request-specific options
|
16486
|
+
#
|
16487
|
+
# @yield [result, err] Result & error if block supplied
|
16488
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16489
|
+
# @yieldparam err [StandardError] error object if request failed
|
16490
|
+
#
|
16491
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16492
|
+
#
|
16493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16496
|
+
def delete_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16497
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
16498
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16499
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16500
|
+
command.params['name'] = name unless name.nil?
|
16501
|
+
command.query['fields'] = fields unless fields.nil?
|
16502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16503
|
+
execute_or_queue_command(command, &block)
|
16504
|
+
end
|
16505
|
+
|
16506
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
16507
|
+
# to poll the operation result at intervals as recommended by the API service.
|
16508
|
+
# @param [String] name
|
16509
|
+
# The name of the operation resource.
|
16510
|
+
# @param [String] fields
|
16511
|
+
# Selector specifying which fields to include in a partial response.
|
16512
|
+
# @param [String] quota_user
|
16513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16515
|
+
# @param [Google::Apis::RequestOptions] options
|
16516
|
+
# Request-specific options
|
16517
|
+
#
|
16518
|
+
# @yield [result, err] Result & error if block supplied
|
16519
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16520
|
+
# @yieldparam err [StandardError] error object if request failed
|
16521
|
+
#
|
16522
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16523
|
+
#
|
16524
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16525
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16526
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16527
|
+
def get_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16528
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
16529
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16530
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16531
|
+
command.params['name'] = name unless name.nil?
|
16532
|
+
command.query['fields'] = fields unless fields.nil?
|
16533
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16534
|
+
execute_or_queue_command(command, &block)
|
16535
|
+
end
|
16536
|
+
|
16537
|
+
# Lists operations that match the specified filter in the request. If the server
|
16538
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
16539
|
+
# @param [String] name
|
16540
|
+
# The name of the operation's parent resource.
|
16541
|
+
# @param [String] filter
|
16542
|
+
# The standard list filter.
|
16543
|
+
# @param [Fixnum] page_size
|
16544
|
+
# The standard list page size.
|
16545
|
+
# @param [String] page_token
|
16546
|
+
# The standard list page token.
|
16547
|
+
# @param [String] fields
|
16548
|
+
# Selector specifying which fields to include in a partial response.
|
16549
|
+
# @param [String] quota_user
|
16550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16552
|
+
# @param [Google::Apis::RequestOptions] options
|
16553
|
+
# Request-specific options
|
16554
|
+
#
|
16555
|
+
# @yield [result, err] Result & error if block supplied
|
16556
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
16557
|
+
# @yieldparam err [StandardError] error object if request failed
|
16558
|
+
#
|
16559
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
16560
|
+
#
|
16561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16564
|
+
def list_project_location_rag_corpora_rag_file_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16565
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
16566
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
16567
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
16568
|
+
command.params['name'] = name unless name.nil?
|
16569
|
+
command.query['filter'] = filter unless filter.nil?
|
16570
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16571
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16572
|
+
command.query['fields'] = fields unless fields.nil?
|
16573
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16574
|
+
execute_or_queue_command(command, &block)
|
16575
|
+
end
|
16576
|
+
|
16577
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
16578
|
+
# specified timeout, returning the latest state. If the operation is already
|
16579
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
16580
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
16581
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
16582
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
16583
|
+
# the latest state before the specified timeout (including immediately), meaning
|
16584
|
+
# even an immediate response is no guarantee that the operation is done.
|
16585
|
+
# @param [String] name
|
16586
|
+
# The name of the operation resource to wait on.
|
16587
|
+
# @param [String] timeout
|
16588
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
16589
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
16590
|
+
# context deadline is also specified, the shorter one will be used.
|
16591
|
+
# @param [String] fields
|
16592
|
+
# Selector specifying which fields to include in a partial response.
|
16593
|
+
# @param [String] quota_user
|
16594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16596
|
+
# @param [Google::Apis::RequestOptions] options
|
16597
|
+
# Request-specific options
|
16598
|
+
#
|
16599
|
+
# @yield [result, err] Result & error if block supplied
|
16600
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16601
|
+
# @yieldparam err [StandardError] error object if request failed
|
16602
|
+
#
|
16603
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16604
|
+
#
|
16605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16608
|
+
def wait_project_location_rag_corpora_rag_file_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16609
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
16610
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16611
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16612
|
+
command.params['name'] = name unless name.nil?
|
16613
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
16614
|
+
command.query['fields'] = fields unless fields.nil?
|
16615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16616
|
+
execute_or_queue_command(command, &block)
|
16617
|
+
end
|
16618
|
+
|
16257
16619
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16258
16620
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16259
16621
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI API V1beta1
|