google-apis-aiplatform_v1 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00524b9130c3014ce57addbb40905177ee7a50f7b78a880d75d2a27eeb830ed
4
- data.tar.gz: fd64a165d6e284b81370f52bac6c4a8171e3ee84785a5e5561e884643f5aa1dd
3
+ metadata.gz: 62d89065675fec33b87eea21bdeda83cf487694e5e6bc7153e6f295f1fcdb603
4
+ data.tar.gz: 80bf00971e2bae9be3cbf25c18d67969f037c9d49a12cae81bdc041524360e27
5
5
  SHA512:
6
- metadata.gz: 631b3be836fafee3e749d98b05df090d6618db6e34ddf61529ae421605c4867dc537e60471be75ebbe081b81baad0d534478c721de883ec3a463e1f868f96e85
7
- data.tar.gz: bf255b388265041da0aa4ecb0fec8e9d6ed53ca0c15e7f45a95e3b2dc384acef6ea3f6af9dac53a66f7c194af35a47f1a52bebe22221c39b928e7b53ee6039f4
6
+ metadata.gz: 0512b2130a6bae5ae7ecf58b6395af953b3668fa403dbcbb43225bd84d7b38e181f47b65738969fa6003b4042dd426a50a4226316ce9642e0de8ffc678b40e66
7
+ data.tar.gz: 5ca4dbea9674c3b1e233d2598038dea19565e3450b12fd70147ecfc8032a11085606bb0ecad9df3f5018c1dec0245b71a9c9b8069cd87173b1a217d1a7348507
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.32.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240809
6
+
3
7
  ### v0.31.0 (2024-08-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240727
@@ -2436,6 +2436,11 @@ module Google
2436
2436
  class GoogleCloudAiplatformV1Candidate
2437
2437
  include Google::Apis::Core::Hashable
2438
2438
 
2439
+ # Output only. Average log probability score of the candidate.
2440
+ # Corresponds to the JSON property `avgLogprobs`
2441
+ # @return [Float]
2442
+ attr_accessor :avg_logprobs
2443
+
2439
2444
  # A collection of source attributions for a piece of content.
2440
2445
  # Corresponds to the JSON property `citationMetadata`
2441
2446
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CitationMetadata]
@@ -2483,6 +2488,7 @@ module Google
2483
2488
 
2484
2489
  # Update properties of this object
2485
2490
  def update!(**args)
2491
+ @avg_logprobs = args[:avg_logprobs] if args.key?(:avg_logprobs)
2486
2492
  @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
2487
2493
  @content = args[:content] if args.key?(:content)
2488
2494
  @finish_message = args[:finish_message] if args.key?(:finish_message)
@@ -5867,6 +5873,18 @@ module Google
5867
5873
  # @return [Fixnum]
5868
5874
  attr_accessor :offline_storage_ttl_days
5869
5875
 
5876
+ # Output only. Reserved for future use.
5877
+ # Corresponds to the JSON property `satisfiesPzi`
5878
+ # @return [Boolean]
5879
+ attr_accessor :satisfies_pzi
5880
+ alias_method :satisfies_pzi?, :satisfies_pzi
5881
+
5882
+ # Output only. Reserved for future use.
5883
+ # Corresponds to the JSON property `satisfiesPzs`
5884
+ # @return [Boolean]
5885
+ attr_accessor :satisfies_pzs
5886
+ alias_method :satisfies_pzs?, :satisfies_pzs
5887
+
5870
5888
  # Output only. Timestamp when this EntityType was most recently updated.
5871
5889
  # Corresponds to the JSON property `updateTime`
5872
5890
  # @return [String]
@@ -5885,6 +5903,8 @@ module Google
5885
5903
  @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
5886
5904
  @name = args[:name] if args.key?(:name)
5887
5905
  @offline_storage_ttl_days = args[:offline_storage_ttl_days] if args.key?(:offline_storage_ttl_days)
5906
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
5907
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
5888
5908
  @update_time = args[:update_time] if args.key?(:update_time)
5889
5909
  end
5890
5910
  end
@@ -6018,6 +6038,11 @@ module Google
6018
6038
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput]
6019
6039
  attr_accessor :groundedness_input
6020
6040
 
6041
+ # Input for pairwise metric.
6042
+ # Corresponds to the JSON property `pairwiseMetricInput`
6043
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput]
6044
+ attr_accessor :pairwise_metric_input
6045
+
6021
6046
  # Input for pairwise question answering quality metric.
6022
6047
  # Corresponds to the JSON property `pairwiseQuestionAnsweringQualityInput`
6023
6048
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput]
@@ -6028,6 +6053,11 @@ module Google
6028
6053
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput]
6029
6054
  attr_accessor :pairwise_summarization_quality_input
6030
6055
 
6056
+ # Input for pointwise metric.
6057
+ # Corresponds to the JSON property `pointwiseMetricInput`
6058
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput]
6059
+ attr_accessor :pointwise_metric_input
6060
+
6031
6061
  # Input for question answering correctness metric.
6032
6062
  # Corresponds to the JSON property `questionAnsweringCorrectnessInput`
6033
6063
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput]
@@ -6105,8 +6135,10 @@ module Google
6105
6135
  @fluency_input = args[:fluency_input] if args.key?(:fluency_input)
6106
6136
  @fulfillment_input = args[:fulfillment_input] if args.key?(:fulfillment_input)
6107
6137
  @groundedness_input = args[:groundedness_input] if args.key?(:groundedness_input)
6138
+ @pairwise_metric_input = args[:pairwise_metric_input] if args.key?(:pairwise_metric_input)
6108
6139
  @pairwise_question_answering_quality_input = args[:pairwise_question_answering_quality_input] if args.key?(:pairwise_question_answering_quality_input)
6109
6140
  @pairwise_summarization_quality_input = args[:pairwise_summarization_quality_input] if args.key?(:pairwise_summarization_quality_input)
6141
+ @pointwise_metric_input = args[:pointwise_metric_input] if args.key?(:pointwise_metric_input)
6110
6142
  @question_answering_correctness_input = args[:question_answering_correctness_input] if args.key?(:question_answering_correctness_input)
6111
6143
  @question_answering_helpfulness_input = args[:question_answering_helpfulness_input] if args.key?(:question_answering_helpfulness_input)
6112
6144
  @question_answering_quality_input = args[:question_answering_quality_input] if args.key?(:question_answering_quality_input)
@@ -6157,6 +6189,11 @@ module Google
6157
6189
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessResult]
6158
6190
  attr_accessor :groundedness_result
6159
6191
 
6192
+ # Spec for pairwise metric result.
6193
+ # Corresponds to the JSON property `pairwiseMetricResult`
6194
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult]
6195
+ attr_accessor :pairwise_metric_result
6196
+
6160
6197
  # Spec for pairwise question answering quality result.
6161
6198
  # Corresponds to the JSON property `pairwiseQuestionAnsweringQualityResult`
6162
6199
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult]
@@ -6167,6 +6204,11 @@ module Google
6167
6204
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityResult]
6168
6205
  attr_accessor :pairwise_summarization_quality_result
6169
6206
 
6207
+ # Spec for pointwise metric result.
6208
+ # Corresponds to the JSON property `pointwiseMetricResult`
6209
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult]
6210
+ attr_accessor :pointwise_metric_result
6211
+
6170
6212
  # Spec for question answering correctness result.
6171
6213
  # Corresponds to the JSON property `questionAnsweringCorrectnessResult`
6172
6214
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult]
@@ -6244,8 +6286,10 @@ module Google
6244
6286
  @fluency_result = args[:fluency_result] if args.key?(:fluency_result)
6245
6287
  @fulfillment_result = args[:fulfillment_result] if args.key?(:fulfillment_result)
6246
6288
  @groundedness_result = args[:groundedness_result] if args.key?(:groundedness_result)
6289
+ @pairwise_metric_result = args[:pairwise_metric_result] if args.key?(:pairwise_metric_result)
6247
6290
  @pairwise_question_answering_quality_result = args[:pairwise_question_answering_quality_result] if args.key?(:pairwise_question_answering_quality_result)
6248
6291
  @pairwise_summarization_quality_result = args[:pairwise_summarization_quality_result] if args.key?(:pairwise_summarization_quality_result)
6292
+ @pointwise_metric_result = args[:pointwise_metric_result] if args.key?(:pointwise_metric_result)
6249
6293
  @question_answering_correctness_result = args[:question_answering_correctness_result] if args.key?(:question_answering_correctness_result)
6250
6294
  @question_answering_helpfulness_result = args[:question_answering_helpfulness_result] if args.key?(:question_answering_helpfulness_result)
6251
6295
  @question_answering_quality_result = args[:question_answering_quality_result] if args.key?(:question_answering_quality_result)
@@ -8116,6 +8160,14 @@ module Google
8116
8160
  # @return [Array<String>]
8117
8161
  attr_accessor :entity_id_columns
8118
8162
 
8163
+ # Optional. If the source is a time-series source, this can be set to control
8164
+ # how downstream sources (ex: FeatureOnlineStore.FeatureView) will treat time
8165
+ # series sources. If not set, will treat the source as a time-series source with
8166
+ # feature_timestamp as timestamp column and no scan boundary.
8167
+ # Corresponds to the JSON property `timeSeries`
8168
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries]
8169
+ attr_accessor :time_series
8170
+
8119
8171
  def initialize(**args)
8120
8172
  update!(**args)
8121
8173
  end
@@ -8124,6 +8176,28 @@ module Google
8124
8176
  def update!(**args)
8125
8177
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
8126
8178
  @entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
8179
+ @time_series = args[:time_series] if args.key?(:time_series)
8180
+ end
8181
+ end
8182
+
8183
+ #
8184
+ class GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries
8185
+ include Google::Apis::Core::Hashable
8186
+
8187
+ # Optional. Column hosting timestamp values for a time-series source. Will be
8188
+ # used to determine the latest featureValues for each entity. Optional. If not
8189
+ # provided, a feature_timestamp column of type TIMESTAMP will be used.
8190
+ # Corresponds to the JSON property `timestampColumn`
8191
+ # @return [String]
8192
+ attr_accessor :timestamp_column
8193
+
8194
+ def initialize(**args)
8195
+ update!(**args)
8196
+ end
8197
+
8198
+ # Update properties of this object
8199
+ def update!(**args)
8200
+ @timestamp_column = args[:timestamp_column] if args.key?(:timestamp_column)
8127
8201
  end
8128
8202
  end
8129
8203
 
@@ -8269,6 +8343,18 @@ module Google
8269
8343
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized]
8270
8344
  attr_accessor :optimized
8271
8345
 
8346
+ # Output only. Reserved for future use.
8347
+ # Corresponds to the JSON property `satisfiesPzi`
8348
+ # @return [Boolean]
8349
+ attr_accessor :satisfies_pzi
8350
+ alias_method :satisfies_pzi?, :satisfies_pzi
8351
+
8352
+ # Output only. Reserved for future use.
8353
+ # Corresponds to the JSON property `satisfiesPzs`
8354
+ # @return [Boolean]
8355
+ attr_accessor :satisfies_pzs
8356
+ alias_method :satisfies_pzs?, :satisfies_pzs
8357
+
8272
8358
  # Output only. State of the featureOnlineStore.
8273
8359
  # Corresponds to the JSON property `state`
8274
8360
  # @return [String]
@@ -8293,6 +8379,8 @@ module Google
8293
8379
  @labels = args[:labels] if args.key?(:labels)
8294
8380
  @name = args[:name] if args.key?(:name)
8295
8381
  @optimized = args[:optimized] if args.key?(:optimized)
8382
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
8383
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
8296
8384
  @state = args[:state] if args.key?(:state)
8297
8385
  @update_time = args[:update_time] if args.key?(:update_time)
8298
8386
  end
@@ -8710,6 +8798,18 @@ module Google
8710
8798
  # @return [String]
8711
8799
  attr_accessor :name
8712
8800
 
8801
+ # Output only. Reserved for future use.
8802
+ # Corresponds to the JSON property `satisfiesPzi`
8803
+ # @return [Boolean]
8804
+ attr_accessor :satisfies_pzi
8805
+ alias_method :satisfies_pzi?, :satisfies_pzi
8806
+
8807
+ # Output only. Reserved for future use.
8808
+ # Corresponds to the JSON property `satisfiesPzs`
8809
+ # @return [Boolean]
8810
+ attr_accessor :satisfies_pzs
8811
+ alias_method :satisfies_pzs?, :satisfies_pzs
8812
+
8713
8813
  # Configuration for Sync. Only one option is set.
8714
8814
  # Corresponds to the JSON property `syncConfig`
8715
8815
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig]
@@ -8733,6 +8833,8 @@ module Google
8733
8833
  @index_config = args[:index_config] if args.key?(:index_config)
8734
8834
  @labels = args[:labels] if args.key?(:labels)
8735
8835
  @name = args[:name] if args.key?(:name)
8836
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
8837
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
8736
8838
  @sync_config = args[:sync_config] if args.key?(:sync_config)
8737
8839
  @update_time = args[:update_time] if args.key?(:update_time)
8738
8840
  end
@@ -8991,6 +9093,18 @@ module Google
8991
9093
  # @return [Google::Apis::AiplatformV1::GoogleTypeInterval]
8992
9094
  attr_accessor :run_time
8993
9095
 
9096
+ # Output only. Reserved for future use.
9097
+ # Corresponds to the JSON property `satisfiesPzi`
9098
+ # @return [Boolean]
9099
+ attr_accessor :satisfies_pzi
9100
+ alias_method :satisfies_pzi?, :satisfies_pzi
9101
+
9102
+ # Output only. Reserved for future use.
9103
+ # Corresponds to the JSON property `satisfiesPzs`
9104
+ # @return [Boolean]
9105
+ attr_accessor :satisfies_pzs
9106
+ alias_method :satisfies_pzs?, :satisfies_pzs
9107
+
8994
9108
  # Summary from the Sync job. For continuous syncs, the summary is updated
8995
9109
  # periodically. For batch syncs, it gets updated on completion of the sync.
8996
9110
  # Corresponds to the JSON property `syncSummary`
@@ -9007,6 +9121,8 @@ module Google
9007
9121
  @final_status = args[:final_status] if args.key?(:final_status)
9008
9122
  @name = args[:name] if args.key?(:name)
9009
9123
  @run_time = args[:run_time] if args.key?(:run_time)
9124
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
9125
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
9010
9126
  @sync_summary = args[:sync_summary] if args.key?(:sync_summary)
9011
9127
  end
9012
9128
  end
@@ -9116,6 +9232,18 @@ module Google
9116
9232
  # @return [Fixnum]
9117
9233
  attr_accessor :online_storage_ttl_days
9118
9234
 
9235
+ # Output only. Reserved for future use.
9236
+ # Corresponds to the JSON property `satisfiesPzi`
9237
+ # @return [Boolean]
9238
+ attr_accessor :satisfies_pzi
9239
+ alias_method :satisfies_pzi?, :satisfies_pzi
9240
+
9241
+ # Output only. Reserved for future use.
9242
+ # Corresponds to the JSON property `satisfiesPzs`
9243
+ # @return [Boolean]
9244
+ attr_accessor :satisfies_pzs
9245
+ alias_method :satisfies_pzs?, :satisfies_pzs
9246
+
9119
9247
  # Output only. State of the featurestore.
9120
9248
  # Corresponds to the JSON property `state`
9121
9249
  # @return [String]
@@ -9139,6 +9267,8 @@ module Google
9139
9267
  @name = args[:name] if args.key?(:name)
9140
9268
  @online_serving_config = args[:online_serving_config] if args.key?(:online_serving_config)
9141
9269
  @online_storage_ttl_days = args[:online_storage_ttl_days] if args.key?(:online_storage_ttl_days)
9270
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
9271
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
9142
9272
  @state = args[:state] if args.key?(:state)
9143
9273
  @update_time = args[:update_time] if args.key?(:update_time)
9144
9274
  end
@@ -10251,7 +10381,9 @@ module Google
10251
10381
  # @return [Fixnum]
10252
10382
  attr_accessor :candidates_token_count
10253
10383
 
10254
- # Number of tokens in the request.
10384
+ # Number of tokens in the request. When `cached_content` is set, this is still
10385
+ # the total effective prompt size meaning this includes the number of tokens in
10386
+ # the cached content.
10255
10387
  # Corresponds to the JSON property `promptTokenCount`
10256
10388
  # @return [Fixnum]
10257
10389
  attr_accessor :prompt_token_count
@@ -10318,6 +10450,11 @@ module Google
10318
10450
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfig]
10319
10451
  attr_accessor :routing_config
10320
10452
 
10453
+ # Optional. Seed.
10454
+ # Corresponds to the JSON property `seed`
10455
+ # @return [Fixnum]
10456
+ attr_accessor :seed
10457
+
10321
10458
  # Optional. Stop sequences.
10322
10459
  # Corresponds to the JSON property `stopSequences`
10323
10460
  # @return [Array<String>]
@@ -10351,6 +10488,7 @@ module Google
10351
10488
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
10352
10489
  @response_schema = args[:response_schema] if args.key?(:response_schema)
10353
10490
  @routing_config = args[:routing_config] if args.key?(:routing_config)
10491
+ @seed = args[:seed] if args.key?(:seed)
10354
10492
  @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
10355
10493
  @temperature = args[:temperature] if args.key?(:temperature)
10356
10494
  @top_k = args[:top_k] if args.key?(:top_k)
@@ -11322,6 +11460,18 @@ module Google
11322
11460
  # @return [String]
11323
11461
  attr_accessor :name
11324
11462
 
11463
+ # Output only. Reserved for future use.
11464
+ # Corresponds to the JSON property `satisfiesPzi`
11465
+ # @return [Boolean]
11466
+ attr_accessor :satisfies_pzi
11467
+ alias_method :satisfies_pzi?, :satisfies_pzi
11468
+
11469
+ # Output only. Reserved for future use.
11470
+ # Corresponds to the JSON property `satisfiesPzs`
11471
+ # @return [Boolean]
11472
+ attr_accessor :satisfies_pzs
11473
+ alias_method :satisfies_pzs?, :satisfies_pzs
11474
+
11325
11475
  # Output only. Timestamp when this Index was most recently updated. This also
11326
11476
  # includes any update to the contents of the Index. Note that Operations working
11327
11477
  # on this Index may have their Operations.metadata.generic_metadata.update_time
@@ -11350,6 +11500,8 @@ module Google
11350
11500
  @metadata = args[:metadata] if args.key?(:metadata)
11351
11501
  @metadata_schema_uri = args[:metadata_schema_uri] if args.key?(:metadata_schema_uri)
11352
11502
  @name = args[:name] if args.key?(:name)
11503
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
11504
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
11353
11505
  @update_time = args[:update_time] if args.key?(:update_time)
11354
11506
  end
11355
11507
  end
@@ -11629,6 +11781,18 @@ module Google
11629
11781
  attr_accessor :public_endpoint_enabled
11630
11782
  alias_method :public_endpoint_enabled?, :public_endpoint_enabled
11631
11783
 
11784
+ # Output only. Reserved for future use.
11785
+ # Corresponds to the JSON property `satisfiesPzi`
11786
+ # @return [Boolean]
11787
+ attr_accessor :satisfies_pzi
11788
+ alias_method :satisfies_pzi?, :satisfies_pzi
11789
+
11790
+ # Output only. Reserved for future use.
11791
+ # Corresponds to the JSON property `satisfiesPzs`
11792
+ # @return [Boolean]
11793
+ attr_accessor :satisfies_pzs
11794
+ alias_method :satisfies_pzs?, :satisfies_pzs
11795
+
11632
11796
  # Output only. Timestamp when this IndexEndpoint was last updated. This
11633
11797
  # timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g.
11634
11798
  # due to updates of the original Indexes they are the deployments of.
@@ -11655,6 +11819,8 @@ module Google
11655
11819
  @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
11656
11820
  @public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
11657
11821
  @public_endpoint_enabled = args[:public_endpoint_enabled] if args.key?(:public_endpoint_enabled)
11822
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
11823
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
11658
11824
  @update_time = args[:update_time] if args.key?(:update_time)
11659
11825
  end
11660
11826
  end
@@ -14738,6 +14904,18 @@ module Google
14738
14904
  # @return [Object]
14739
14905
  attr_accessor :sample_predict_instance
14740
14906
 
14907
+ # Output only. Reserved for future use.
14908
+ # Corresponds to the JSON property `satisfiesPzi`
14909
+ # @return [Boolean]
14910
+ attr_accessor :satisfies_pzi
14911
+ alias_method :satisfies_pzi?, :satisfies_pzi
14912
+
14913
+ # Output only. Reserved for future use.
14914
+ # Corresponds to the JSON property `satisfiesPzs`
14915
+ # @return [Boolean]
14916
+ attr_accessor :satisfies_pzs
14917
+ alias_method :satisfies_pzs?, :satisfies_pzs
14918
+
14741
14919
  # Output only. Schedule state when the monitoring job is in Running state.
14742
14920
  # Corresponds to the JSON property `scheduleState`
14743
14921
  # @return [String]
@@ -14787,6 +14965,8 @@ module Google
14787
14965
  @next_schedule_time = args[:next_schedule_time] if args.key?(:next_schedule_time)
14788
14966
  @predict_instance_schema_uri = args[:predict_instance_schema_uri] if args.key?(:predict_instance_schema_uri)
14789
14967
  @sample_predict_instance = args[:sample_predict_instance] if args.key?(:sample_predict_instance)
14968
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
14969
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
14790
14970
  @schedule_state = args[:schedule_state] if args.key?(:schedule_state)
14791
14971
  @state = args[:state] if args.key?(:state)
14792
14972
  @stats_anomalies_base_directory = args[:stats_anomalies_base_directory] if args.key?(:stats_anomalies_base_directory)
@@ -17293,6 +17473,97 @@ module Google
17293
17473
  end
17294
17474
  end
17295
17475
 
17476
+ # Input for pairwise metric.
17477
+ class GoogleCloudAiplatformV1PairwiseMetricInput
17478
+ include Google::Apis::Core::Hashable
17479
+
17480
+ # Pairwise metric instance. Usually one instance corresponds to one row in an
17481
+ # evaluation dataset.
17482
+ # Corresponds to the JSON property `instance`
17483
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInstance]
17484
+ attr_accessor :instance
17485
+
17486
+ # Spec for pairwise metric.
17487
+ # Corresponds to the JSON property `metricSpec`
17488
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec]
17489
+ attr_accessor :metric_spec
17490
+
17491
+ def initialize(**args)
17492
+ update!(**args)
17493
+ end
17494
+
17495
+ # Update properties of this object
17496
+ def update!(**args)
17497
+ @instance = args[:instance] if args.key?(:instance)
17498
+ @metric_spec = args[:metric_spec] if args.key?(:metric_spec)
17499
+ end
17500
+ end
17501
+
17502
+ # Pairwise metric instance. Usually one instance corresponds to one row in an
17503
+ # evaluation dataset.
17504
+ class GoogleCloudAiplatformV1PairwiseMetricInstance
17505
+ include Google::Apis::Core::Hashable
17506
+
17507
+ # Instance specified as a json string. String key-value pairs are expected in
17508
+ # the json_instance to render PairwiseMetricSpec.instance_prompt_template.
17509
+ # Corresponds to the JSON property `jsonInstance`
17510
+ # @return [String]
17511
+ attr_accessor :json_instance
17512
+
17513
+ def initialize(**args)
17514
+ update!(**args)
17515
+ end
17516
+
17517
+ # Update properties of this object
17518
+ def update!(**args)
17519
+ @json_instance = args[:json_instance] if args.key?(:json_instance)
17520
+ end
17521
+ end
17522
+
17523
+ # Spec for pairwise metric result.
17524
+ class GoogleCloudAiplatformV1PairwiseMetricResult
17525
+ include Google::Apis::Core::Hashable
17526
+
17527
+ # Output only. Explanation for pairwise metric score.
17528
+ # Corresponds to the JSON property `explanation`
17529
+ # @return [String]
17530
+ attr_accessor :explanation
17531
+
17532
+ # Output only. Pairwise metric choice.
17533
+ # Corresponds to the JSON property `pairwiseChoice`
17534
+ # @return [String]
17535
+ attr_accessor :pairwise_choice
17536
+
17537
+ def initialize(**args)
17538
+ update!(**args)
17539
+ end
17540
+
17541
+ # Update properties of this object
17542
+ def update!(**args)
17543
+ @explanation = args[:explanation] if args.key?(:explanation)
17544
+ @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice)
17545
+ end
17546
+ end
17547
+
17548
+ # Spec for pairwise metric.
17549
+ class GoogleCloudAiplatformV1PairwiseMetricSpec
17550
+ include Google::Apis::Core::Hashable
17551
+
17552
+ # Required. Metric prompt template for pairwise metric.
17553
+ # Corresponds to the JSON property `metricPromptTemplate`
17554
+ # @return [String]
17555
+ attr_accessor :metric_prompt_template
17556
+
17557
+ def initialize(**args)
17558
+ update!(**args)
17559
+ end
17560
+
17561
+ # Update properties of this object
17562
+ def update!(**args)
17563
+ @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template)
17564
+ end
17565
+ end
17566
+
17296
17567
  # Input for pairwise question answering quality metric.
17297
17568
  class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput
17298
17569
  include Google::Apis::Core::Hashable
@@ -18339,6 +18610,97 @@ module Google
18339
18610
  end
18340
18611
  end
18341
18612
 
18613
+ # Input for pointwise metric.
18614
+ class GoogleCloudAiplatformV1PointwiseMetricInput
18615
+ include Google::Apis::Core::Hashable
18616
+
18617
+ # Pointwise metric instance. Usually one instance corresponds to one row in an
18618
+ # evaluation dataset.
18619
+ # Corresponds to the JSON property `instance`
18620
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInstance]
18621
+ attr_accessor :instance
18622
+
18623
+ # Spec for pointwise metric.
18624
+ # Corresponds to the JSON property `metricSpec`
18625
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricSpec]
18626
+ attr_accessor :metric_spec
18627
+
18628
+ def initialize(**args)
18629
+ update!(**args)
18630
+ end
18631
+
18632
+ # Update properties of this object
18633
+ def update!(**args)
18634
+ @instance = args[:instance] if args.key?(:instance)
18635
+ @metric_spec = args[:metric_spec] if args.key?(:metric_spec)
18636
+ end
18637
+ end
18638
+
18639
+ # Pointwise metric instance. Usually one instance corresponds to one row in an
18640
+ # evaluation dataset.
18641
+ class GoogleCloudAiplatformV1PointwiseMetricInstance
18642
+ include Google::Apis::Core::Hashable
18643
+
18644
+ # Instance specified as a json string. String key-value pairs are expected in
18645
+ # the json_instance to render PointwiseMetricSpec.instance_prompt_template.
18646
+ # Corresponds to the JSON property `jsonInstance`
18647
+ # @return [String]
18648
+ attr_accessor :json_instance
18649
+
18650
+ def initialize(**args)
18651
+ update!(**args)
18652
+ end
18653
+
18654
+ # Update properties of this object
18655
+ def update!(**args)
18656
+ @json_instance = args[:json_instance] if args.key?(:json_instance)
18657
+ end
18658
+ end
18659
+
18660
+ # Spec for pointwise metric result.
18661
+ class GoogleCloudAiplatformV1PointwiseMetricResult
18662
+ include Google::Apis::Core::Hashable
18663
+
18664
+ # Output only. Explanation for pointwise metric score.
18665
+ # Corresponds to the JSON property `explanation`
18666
+ # @return [String]
18667
+ attr_accessor :explanation
18668
+
18669
+ # Output only. Pointwise metric score.
18670
+ # Corresponds to the JSON property `score`
18671
+ # @return [Float]
18672
+ attr_accessor :score
18673
+
18674
+ def initialize(**args)
18675
+ update!(**args)
18676
+ end
18677
+
18678
+ # Update properties of this object
18679
+ def update!(**args)
18680
+ @explanation = args[:explanation] if args.key?(:explanation)
18681
+ @score = args[:score] if args.key?(:score)
18682
+ end
18683
+ end
18684
+
18685
+ # Spec for pointwise metric.
18686
+ class GoogleCloudAiplatformV1PointwiseMetricSpec
18687
+ include Google::Apis::Core::Hashable
18688
+
18689
+ # Required. Metric prompt template for pointwise metric.
18690
+ # Corresponds to the JSON property `metricPromptTemplate`
18691
+ # @return [String]
18692
+ attr_accessor :metric_prompt_template
18693
+
18694
+ def initialize(**args)
18695
+ update!(**args)
18696
+ end
18697
+
18698
+ # Update properties of this object
18699
+ def update!(**args)
18700
+ @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template)
18701
+ end
18702
+ end
18703
+
18342
18704
  # Represents a network port in a container.
18343
18705
  class GoogleCloudAiplatformV1Port
18344
18706
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240727"
25
+ REVISION = "20240809"
26
26
  end
27
27
  end
28
28
  end
@@ -1336,6 +1336,12 @@ module Google
1336
1336
  include Google::Apis::Core::JsonObjectSupport
1337
1337
  end
1338
1338
 
1339
+ class GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1339
1345
  class GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly
1340
1346
  class Representation < Google::Apis::Core::JsonRepresentation; end
1341
1347
 
@@ -2812,6 +2818,30 @@ module Google
2812
2818
  include Google::Apis::Core::JsonObjectSupport
2813
2819
  end
2814
2820
 
2821
+ class GoogleCloudAiplatformV1PairwiseMetricInput
2822
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2823
+
2824
+ include Google::Apis::Core::JsonObjectSupport
2825
+ end
2826
+
2827
+ class GoogleCloudAiplatformV1PairwiseMetricInstance
2828
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2829
+
2830
+ include Google::Apis::Core::JsonObjectSupport
2831
+ end
2832
+
2833
+ class GoogleCloudAiplatformV1PairwiseMetricResult
2834
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2835
+
2836
+ include Google::Apis::Core::JsonObjectSupport
2837
+ end
2838
+
2839
+ class GoogleCloudAiplatformV1PairwiseMetricSpec
2840
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2841
+
2842
+ include Google::Apis::Core::JsonObjectSupport
2843
+ end
2844
+
2815
2845
  class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput
2816
2846
  class Representation < Google::Apis::Core::JsonRepresentation; end
2817
2847
 
@@ -2956,6 +2986,30 @@ module Google
2956
2986
  include Google::Apis::Core::JsonObjectSupport
2957
2987
  end
2958
2988
 
2989
+ class GoogleCloudAiplatformV1PointwiseMetricInput
2990
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2991
+
2992
+ include Google::Apis::Core::JsonObjectSupport
2993
+ end
2994
+
2995
+ class GoogleCloudAiplatformV1PointwiseMetricInstance
2996
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2997
+
2998
+ include Google::Apis::Core::JsonObjectSupport
2999
+ end
3000
+
3001
+ class GoogleCloudAiplatformV1PointwiseMetricResult
3002
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3003
+
3004
+ include Google::Apis::Core::JsonObjectSupport
3005
+ end
3006
+
3007
+ class GoogleCloudAiplatformV1PointwiseMetricSpec
3008
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3009
+
3010
+ include Google::Apis::Core::JsonObjectSupport
3011
+ end
3012
+
2959
3013
  class GoogleCloudAiplatformV1Port
2960
3014
  class Representation < Google::Apis::Core::JsonRepresentation; end
2961
3015
 
@@ -6281,6 +6335,7 @@ module Google
6281
6335
  class GoogleCloudAiplatformV1Candidate
6282
6336
  # @private
6283
6337
  class Representation < Google::Apis::Core::JsonRepresentation
6338
+ property :avg_logprobs, as: 'avgLogprobs'
6284
6339
  property :citation_metadata, as: 'citationMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CitationMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CitationMetadata::Representation
6285
6340
 
6286
6341
  property :content, as: 'content', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
@@ -7215,6 +7270,8 @@ module Google
7215
7270
 
7216
7271
  property :name, as: 'name'
7217
7272
  property :offline_storage_ttl_days, as: 'offlineStorageTtlDays'
7273
+ property :satisfies_pzi, as: 'satisfiesPzi'
7274
+ property :satisfies_pzs, as: 'satisfiesPzs'
7218
7275
  property :update_time, as: 'updateTime'
7219
7276
  end
7220
7277
  end
@@ -7261,10 +7318,14 @@ module Google
7261
7318
 
7262
7319
  property :groundedness_input, as: 'groundednessInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput::Representation
7263
7320
 
7321
+ property :pairwise_metric_input, as: 'pairwiseMetricInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput::Representation
7322
+
7264
7323
  property :pairwise_question_answering_quality_input, as: 'pairwiseQuestionAnsweringQualityInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput::Representation
7265
7324
 
7266
7325
  property :pairwise_summarization_quality_input, as: 'pairwiseSummarizationQualityInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput::Representation
7267
7326
 
7327
+ property :pointwise_metric_input, as: 'pointwiseMetricInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput::Representation
7328
+
7268
7329
  property :question_answering_correctness_input, as: 'questionAnsweringCorrectnessInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput::Representation
7269
7330
 
7270
7331
  property :question_answering_helpfulness_input, as: 'questionAnsweringHelpfulnessInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput::Representation
@@ -7309,10 +7370,14 @@ module Google
7309
7370
 
7310
7371
  property :groundedness_result, as: 'groundednessResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessResult::Representation
7311
7372
 
7373
+ property :pairwise_metric_result, as: 'pairwiseMetricResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult::Representation
7374
+
7312
7375
  property :pairwise_question_answering_quality_result, as: 'pairwiseQuestionAnsweringQualityResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult::Representation
7313
7376
 
7314
7377
  property :pairwise_summarization_quality_result, as: 'pairwiseSummarizationQualityResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityResult::Representation
7315
7378
 
7379
+ property :pointwise_metric_result, as: 'pointwiseMetricResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult::Representation
7380
+
7316
7381
  property :question_answering_correctness_result, as: 'questionAnsweringCorrectnessResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult::Representation
7317
7382
 
7318
7383
  property :question_answering_helpfulness_result, as: 'questionAnsweringHelpfulnessResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult::Representation
@@ -7828,6 +7893,15 @@ module Google
7828
7893
  property :big_query_source, as: 'bigQuerySource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource::Representation
7829
7894
 
7830
7895
  collection :entity_id_columns, as: 'entityIdColumns'
7896
+ property :time_series, as: 'timeSeries', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries::Representation
7897
+
7898
+ end
7899
+ end
7900
+
7901
+ class GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries
7902
+ # @private
7903
+ class Representation < Google::Apis::Core::JsonRepresentation
7904
+ property :timestamp_column, as: 'timestampColumn'
7831
7905
  end
7832
7906
  end
7833
7907
 
@@ -7871,6 +7945,8 @@ module Google
7871
7945
  property :name, as: 'name'
7872
7946
  property :optimized, as: 'optimized', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized::Representation
7873
7947
 
7948
+ property :satisfies_pzi, as: 'satisfiesPzi'
7949
+ property :satisfies_pzs, as: 'satisfiesPzs'
7874
7950
  property :state, as: 'state'
7875
7951
  property :update_time, as: 'updateTime'
7876
7952
  end
@@ -7993,6 +8069,8 @@ module Google
7993
8069
 
7994
8070
  hash :labels, as: 'labels'
7995
8071
  property :name, as: 'name'
8072
+ property :satisfies_pzi, as: 'satisfiesPzi'
8073
+ property :satisfies_pzs, as: 'satisfiesPzs'
7996
8074
  property :sync_config, as: 'syncConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig::Representation
7997
8075
 
7998
8076
  property :update_time, as: 'updateTime'
@@ -8077,6 +8155,8 @@ module Google
8077
8155
  property :name, as: 'name'
8078
8156
  property :run_time, as: 'runTime', class: Google::Apis::AiplatformV1::GoogleTypeInterval, decorator: Google::Apis::AiplatformV1::GoogleTypeInterval::Representation
8079
8157
 
8158
+ property :satisfies_pzi, as: 'satisfiesPzi'
8159
+ property :satisfies_pzs, as: 'satisfiesPzs'
8080
8160
  property :sync_summary, as: 'syncSummary', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncSyncSummary, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncSyncSummary::Representation
8081
8161
 
8082
8162
  end
@@ -8109,6 +8189,8 @@ module Google
8109
8189
  property :online_serving_config, as: 'onlineServingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig::Representation
8110
8190
 
8111
8191
  property :online_storage_ttl_days, as: 'onlineStorageTtlDays'
8192
+ property :satisfies_pzi, as: 'satisfiesPzi'
8193
+ property :satisfies_pzs, as: 'satisfiesPzs'
8112
8194
  property :state, as: 'state'
8113
8195
  property :update_time, as: 'updateTime'
8114
8196
  end
@@ -8467,6 +8549,7 @@ module Google
8467
8549
 
8468
8550
  property :routing_config, as: 'routingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfig::Representation
8469
8551
 
8552
+ property :seed, as: 'seed'
8470
8553
  collection :stop_sequences, as: 'stopSequences'
8471
8554
  property :temperature, as: 'temperature'
8472
8555
  property :top_k, as: 'topK'
@@ -8751,6 +8834,8 @@ module Google
8751
8834
  property :metadata, as: 'metadata'
8752
8835
  property :metadata_schema_uri, as: 'metadataSchemaUri'
8753
8836
  property :name, as: 'name'
8837
+ property :satisfies_pzi, as: 'satisfiesPzi'
8838
+ property :satisfies_pzs, as: 'satisfiesPzs'
8754
8839
  property :update_time, as: 'updateTime'
8755
8840
  end
8756
8841
  end
@@ -8825,6 +8910,8 @@ module Google
8825
8910
 
8826
8911
  property :public_endpoint_domain_name, as: 'publicEndpointDomainName'
8827
8912
  property :public_endpoint_enabled, as: 'publicEndpointEnabled'
8913
+ property :satisfies_pzi, as: 'satisfiesPzi'
8914
+ property :satisfies_pzs, as: 'satisfiesPzs'
8828
8915
  property :update_time, as: 'updateTime'
8829
8916
  end
8830
8917
  end
@@ -9698,6 +9785,8 @@ module Google
9698
9785
  property :next_schedule_time, as: 'nextScheduleTime'
9699
9786
  property :predict_instance_schema_uri, as: 'predictInstanceSchemaUri'
9700
9787
  property :sample_predict_instance, as: 'samplePredictInstance'
9788
+ property :satisfies_pzi, as: 'satisfiesPzi'
9789
+ property :satisfies_pzs, as: 'satisfiesPzs'
9701
9790
  property :schedule_state, as: 'scheduleState'
9702
9791
  property :state, as: 'state'
9703
9792
  property :stats_anomalies_base_directory, as: 'statsAnomaliesBaseDirectory', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
@@ -10396,6 +10485,38 @@ module Google
10396
10485
  end
10397
10486
  end
10398
10487
 
10488
+ class GoogleCloudAiplatformV1PairwiseMetricInput
10489
+ # @private
10490
+ class Representation < Google::Apis::Core::JsonRepresentation
10491
+ property :instance, as: 'instance', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInstance::Representation
10492
+
10493
+ property :metric_spec, as: 'metricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec::Representation
10494
+
10495
+ end
10496
+ end
10497
+
10498
+ class GoogleCloudAiplatformV1PairwiseMetricInstance
10499
+ # @private
10500
+ class Representation < Google::Apis::Core::JsonRepresentation
10501
+ property :json_instance, as: 'jsonInstance'
10502
+ end
10503
+ end
10504
+
10505
+ class GoogleCloudAiplatformV1PairwiseMetricResult
10506
+ # @private
10507
+ class Representation < Google::Apis::Core::JsonRepresentation
10508
+ property :explanation, as: 'explanation'
10509
+ property :pairwise_choice, as: 'pairwiseChoice'
10510
+ end
10511
+ end
10512
+
10513
+ class GoogleCloudAiplatformV1PairwiseMetricSpec
10514
+ # @private
10515
+ class Representation < Google::Apis::Core::JsonRepresentation
10516
+ property :metric_prompt_template, as: 'metricPromptTemplate'
10517
+ end
10518
+ end
10519
+
10399
10520
  class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput
10400
10521
  # @private
10401
10522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10675,6 +10796,38 @@ module Google
10675
10796
  end
10676
10797
  end
10677
10798
 
10799
+ class GoogleCloudAiplatformV1PointwiseMetricInput
10800
+ # @private
10801
+ class Representation < Google::Apis::Core::JsonRepresentation
10802
+ property :instance, as: 'instance', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInstance::Representation
10803
+
10804
+ property :metric_spec, as: 'metricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricSpec::Representation
10805
+
10806
+ end
10807
+ end
10808
+
10809
+ class GoogleCloudAiplatformV1PointwiseMetricInstance
10810
+ # @private
10811
+ class Representation < Google::Apis::Core::JsonRepresentation
10812
+ property :json_instance, as: 'jsonInstance'
10813
+ end
10814
+ end
10815
+
10816
+ class GoogleCloudAiplatformV1PointwiseMetricResult
10817
+ # @private
10818
+ class Representation < Google::Apis::Core::JsonRepresentation
10819
+ property :explanation, as: 'explanation'
10820
+ property :score, as: 'score'
10821
+ end
10822
+ end
10823
+
10824
+ class GoogleCloudAiplatformV1PointwiseMetricSpec
10825
+ # @private
10826
+ class Representation < Google::Apis::Core::JsonRepresentation
10827
+ property :metric_prompt_template, as: 'metricPromptTemplate'
10828
+ end
10829
+ end
10830
+
10678
10831
  class GoogleCloudAiplatformV1Port
10679
10832
  # @private
10680
10833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19893,6 +19893,8 @@ module Google
19893
19893
  # @param [String] name
19894
19894
  # Required. The name of the PublisherModel resource. Format: `publishers/`
19895
19895
  # publisher`/models/`publisher_model``
19896
+ # @param [String] hugging_face_token
19897
+ # Optional. Token used to access Hugging Face gated models.
19896
19898
  # @param [Boolean] is_hugging_face_model
19897
19899
  # Optional. Boolean indicates whether the requested model is a Hugging Face
19898
19900
  # model.
@@ -19918,11 +19920,12 @@ module Google
19918
19920
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19919
19921
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19920
19922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19921
- def get_publisher_model(name, is_hugging_face_model: nil, language_code: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
19923
+ def get_publisher_model(name, hugging_face_token: nil, is_hugging_face_model: nil, language_code: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
19922
19924
  command = make_simple_command(:get, 'v1/{+name}', options)
19923
19925
  command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel::Representation
19924
19926
  command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel
19925
19927
  command.params['name'] = name unless name.nil?
19928
+ command.query['huggingFaceToken'] = hugging_face_token unless hugging_face_token.nil?
19926
19929
  command.query['isHuggingFaceModel'] = is_hugging_face_model unless is_hugging_face_model.nil?
19927
19930
  command.query['languageCode'] = language_code unless language_code.nil?
19928
19931
  command.query['view'] = view unless view.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.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-08-11 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []