google-apis-aiplatform_v1 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -463,6 +463,12 @@ module Google
463
463
  # @return [String]
464
464
  attr_accessor :finish_reason
465
465
 
466
+ # Grounding metadata. Combine with the facts list from response to generate
467
+ # grounding citations for this choice.
468
+ # Corresponds to the JSON property `groundingMetadata`
469
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata]
470
+ attr_accessor :grounding_metadata
471
+
466
472
  # Index of the candidate.
467
473
  # Corresponds to the JSON property `index`
468
474
  # @return [Fixnum]
@@ -483,6 +489,7 @@ module Google
483
489
  @content = args[:content] if args.key?(:content)
484
490
  @finish_message = args[:finish_message] if args.key?(:finish_message)
485
491
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
492
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
486
493
  @index = args[:index] if args.key?(:index)
487
494
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
488
495
  end
@@ -588,6 +595,45 @@ module Google
588
595
  end
589
596
  end
590
597
 
598
+ # A condense version of WorldFact (assistant/boq/lamda/factuality/proto/
599
+ # factuality.proto) to propagate the essential information about the fact used
600
+ # in factuality to the upstream caller.
601
+ class CloudAiNlLlmProtoServiceFact
602
+ include Google::Apis::Core::Hashable
603
+
604
+ # Query that is used to retrieve this fact.
605
+ # Corresponds to the JSON property `query`
606
+ # @return [String]
607
+ attr_accessor :query
608
+
609
+ # If present, the summary/snippet of the fact.
610
+ # Corresponds to the JSON property `summary`
611
+ # @return [String]
612
+ attr_accessor :summary
613
+
614
+ # If present, it refers to the title of this fact.
615
+ # Corresponds to the JSON property `title`
616
+ # @return [String]
617
+ attr_accessor :title
618
+
619
+ # If present, this URL links to the webpage of the fact.
620
+ # Corresponds to the JSON property `url`
621
+ # @return [String]
622
+ attr_accessor :url
623
+
624
+ def initialize(**args)
625
+ update!(**args)
626
+ end
627
+
628
+ # Update properties of this object
629
+ def update!(**args)
630
+ @query = args[:query] if args.key?(:query)
631
+ @summary = args[:summary] if args.key?(:summary)
632
+ @title = args[:title] if args.key?(:title)
633
+ @url = args[:url] if args.key?(:url)
634
+ end
635
+ end
636
+
591
637
  # Function call details.
592
638
  class CloudAiNlLlmProtoServiceFunctionCall
593
639
  include Google::Apis::Core::Hashable
@@ -653,6 +699,11 @@ module Google
653
699
  # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata]
654
700
  attr_accessor :debug_metadata
655
701
 
702
+ # External facts retrieved for factuality/grounding.
703
+ # Corresponds to the JSON property `facts`
704
+ # @return [Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact>]
705
+ attr_accessor :facts
706
+
656
707
  # Content filter results for a prompt sent in the request.
657
708
  # Corresponds to the JSON property `promptFeedback`
658
709
  # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback]
@@ -676,6 +727,7 @@ module Google
676
727
  def update!(**args)
677
728
  @candidates = args[:candidates] if args.key?(:candidates)
678
729
  @debug_metadata = args[:debug_metadata] if args.key?(:debug_metadata)
730
+ @facts = args[:facts] if args.key?(:facts)
679
731
  @prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
680
732
  @reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics)
681
733
  @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
@@ -907,7 +959,7 @@ module Google
907
959
 
908
960
  # Language filter result from SAFT LangId.
909
961
  # Corresponds to the JSON property `languageFilterResult`
910
- # @return [Google::Apis::AiplatformV1::LearningServingLlmLanguageFilterResult]
962
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult]
911
963
  attr_accessor :language_filter_result
912
964
 
913
965
  # The RAI signals for the text.
@@ -3878,6 +3930,13 @@ module Google
3878
3930
  # @return [String]
3879
3931
  attr_accessor :pipeline_job_id
3880
3932
 
3933
+ # Optional. Whether to do component level validations before job creation.
3934
+ # Currently we only support Google First Party Component/Pipelines.
3935
+ # Corresponds to the JSON property `preflightValidations`
3936
+ # @return [Boolean]
3937
+ attr_accessor :preflight_validations
3938
+ alias_method :preflight_validations?, :preflight_validations
3939
+
3881
3940
  def initialize(**args)
3882
3941
  update!(**args)
3883
3942
  end
@@ -3887,6 +3946,7 @@ module Google
3887
3946
  @parent = args[:parent] if args.key?(:parent)
3888
3947
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
3889
3948
  @pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
3949
+ @preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
3890
3950
  end
3891
3951
  end
3892
3952
 
@@ -6522,8 +6582,15 @@ module Google
6522
6582
  # Models that predict multiple outputs, such as multiclass Models that predict
6523
6583
  # multiple classes, each element explains one specific item. Attribution.
6524
6584
  # output_index can be used to identify which output this attribution is
6525
- # explaining. If users set ExplanationParameters.top_k, the attributions are
6526
- # sorted by instance_output_value in descending order. If ExplanationParameters.
6585
+ # explaining. By default, we provide Shapley values for the predicted class.
6586
+ # However, you can configure the explanation request to generate Shapley values
6587
+ # for any other classes too. For example, if a model predicts a probability of `
6588
+ # 0.4` for approving a loan application, the model's decision is to reject the
6589
+ # application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default
6590
+ # Shapley values would be computed for rejection decision and not approval, even
6591
+ # though the latter might be the positive class. If users set
6592
+ # ExplanationParameters.top_k, the attributions are sorted by
6593
+ # instance_output_value in descending order. If ExplanationParameters.
6527
6594
  # output_indices is specified, the attributions are stored by Attribution.
6528
6595
  # output_index in the same order as they appear in the output_indices.
6529
6596
  # Corresponds to the JSON property `attributions`
@@ -10390,6 +10457,12 @@ module Google
10390
10457
  # @return [String]
10391
10458
  attr_accessor :match_grpc_address
10392
10459
 
10460
+ # Output only. PscAutomatedEndpoints is populated if private service connect is
10461
+ # enabled if PscAutomatedConfig is set.
10462
+ # Corresponds to the JSON property `pscAutomatedEndpoints`
10463
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomatedEndpoints>]
10464
+ attr_accessor :psc_automated_endpoints
10465
+
10393
10466
  # Output only. The name of the service attachment resource. Populated if private
10394
10467
  # service connect is enabled.
10395
10468
  # Corresponds to the JSON property `serviceAttachment`
@@ -10403,6 +10476,7 @@ module Google
10403
10476
  # Update properties of this object
10404
10477
  def update!(**args)
10405
10478
  @match_grpc_address = args[:match_grpc_address] if args.key?(:match_grpc_address)
10479
+ @psc_automated_endpoints = args[:psc_automated_endpoints] if args.key?(:psc_automated_endpoints)
10406
10480
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
10407
10481
  end
10408
10482
  end
@@ -12580,7 +12654,7 @@ module Google
12580
12654
  include Google::Apis::Core::Hashable
12581
12655
 
12582
12656
  # Immutable. The path to the directory containing the Model artifact and any of
12583
- # its supporting files. Not present for AutoML Models or Large Models.
12657
+ # its supporting files. Not required for AutoML Models.
12584
12658
  # Corresponds to the JSON property `artifactUri`
12585
12659
  # @return [String]
12586
12660
  attr_accessor :artifact_uri
@@ -13126,6 +13200,12 @@ module Google
13126
13200
  # @return [String]
13127
13201
  attr_accessor :log_type
13128
13202
 
13203
+ # Output only. The schema version of the request/response logging BigQuery table.
13204
+ # Default to v1 if unset.
13205
+ # Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
13206
+ # @return [String]
13207
+ attr_accessor :request_response_logging_schema_version
13208
+
13129
13209
  def initialize(**args)
13130
13210
  update!(**args)
13131
13211
  end
@@ -13135,6 +13215,7 @@ module Google
13135
13215
  @bigquery_table_path = args[:bigquery_table_path] if args.key?(:bigquery_table_path)
13136
13216
  @log_source = args[:log_source] if args.key?(:log_source)
13137
13217
  @log_type = args[:log_type] if args.key?(:log_type)
13218
+ @request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
13138
13219
  end
13139
13220
  end
13140
13221
 
@@ -13244,7 +13325,7 @@ module Google
13244
13325
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig]
13245
13326
  attr_accessor :model_deployment_monitoring_schedule_config
13246
13327
 
13247
- # Alert config for model monitoring.
13328
+ # The alert config for model monitoring.
13248
13329
  # Corresponds to the JSON property `modelMonitoringAlertConfig`
13249
13330
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfig]
13250
13331
  attr_accessor :model_monitoring_alert_config
@@ -13822,7 +13903,7 @@ module Google
13822
13903
  end
13823
13904
  end
13824
13905
 
13825
- #
13906
+ # The alert config for model monitoring.
13826
13907
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
13827
13908
  include Google::Apis::Core::Hashable
13828
13909
 
@@ -14742,6 +14823,146 @@ module Google
14742
14823
  end
14743
14824
  end
14744
14825
 
14826
+ # A query to find a number of similar entities.
14827
+ class GoogleCloudAiplatformV1NearestNeighborQuery
14828
+ include Google::Apis::Core::Hashable
14829
+
14830
+ # The embedding vector.
14831
+ # Corresponds to the JSON property `embedding`
14832
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryEmbedding]
14833
+ attr_accessor :embedding
14834
+
14835
+ # Optional. The entity id whose similar entities should be searched for. If
14836
+ # embedding is set, search will use embedding instead of entity_id.
14837
+ # Corresponds to the JSON property `entityId`
14838
+ # @return [String]
14839
+ attr_accessor :entity_id
14840
+
14841
+ # Optional. The number of similar entities to be retrieved from feature view for
14842
+ # each query.
14843
+ # Corresponds to the JSON property `neighborCount`
14844
+ # @return [Fixnum]
14845
+ attr_accessor :neighbor_count
14846
+
14847
+ # Parameters that can be overrided in each query to tune query latency and
14848
+ # recall.
14849
+ # Corresponds to the JSON property `parameters`
14850
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryParameters]
14851
+ attr_accessor :parameters
14852
+
14853
+ # Optional. Crowding is a constraint on a neighbor list produced by nearest
14854
+ # neighbor search requiring that no more than
14855
+ # sper_crowding_attribute_neighbor_count of the k neighbors returned have the
14856
+ # same value of crowding_attribute. It's used for improving result diversity.
14857
+ # Corresponds to the JSON property `perCrowdingAttributeNeighborCount`
14858
+ # @return [Fixnum]
14859
+ attr_accessor :per_crowding_attribute_neighbor_count
14860
+
14861
+ # Optional. The list of string filters.
14862
+ # Corresponds to the JSON property `stringFilters`
14863
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryStringFilter>]
14864
+ attr_accessor :string_filters
14865
+
14866
+ def initialize(**args)
14867
+ update!(**args)
14868
+ end
14869
+
14870
+ # Update properties of this object
14871
+ def update!(**args)
14872
+ @embedding = args[:embedding] if args.key?(:embedding)
14873
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
14874
+ @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
14875
+ @parameters = args[:parameters] if args.key?(:parameters)
14876
+ @per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
14877
+ @string_filters = args[:string_filters] if args.key?(:string_filters)
14878
+ end
14879
+ end
14880
+
14881
+ # The embedding vector.
14882
+ class GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
14883
+ include Google::Apis::Core::Hashable
14884
+
14885
+ # Optional. Individual value in the embedding.
14886
+ # Corresponds to the JSON property `value`
14887
+ # @return [Array<Float>]
14888
+ attr_accessor :value
14889
+
14890
+ def initialize(**args)
14891
+ update!(**args)
14892
+ end
14893
+
14894
+ # Update properties of this object
14895
+ def update!(**args)
14896
+ @value = args[:value] if args.key?(:value)
14897
+ end
14898
+ end
14899
+
14900
+ # Parameters that can be overrided in each query to tune query latency and
14901
+ # recall.
14902
+ class GoogleCloudAiplatformV1NearestNeighborQueryParameters
14903
+ include Google::Apis::Core::Hashable
14904
+
14905
+ # Optional. The number of neighbors to find via approximate search before exact
14906
+ # reordering is performed; if set, this value must be > neighbor_count.
14907
+ # Corresponds to the JSON property `approximateNeighborCandidates`
14908
+ # @return [Fixnum]
14909
+ attr_accessor :approximate_neighbor_candidates
14910
+
14911
+ # Optional. The fraction of the number of leaves to search, set at query time
14912
+ # allows user to tune search performance. This value increase result in both
14913
+ # search accuracy and latency increase. The value should be between 0.0 and 1.0.
14914
+ # Corresponds to the JSON property `leafNodesSearchFraction`
14915
+ # @return [Float]
14916
+ attr_accessor :leaf_nodes_search_fraction
14917
+
14918
+ def initialize(**args)
14919
+ update!(**args)
14920
+ end
14921
+
14922
+ # Update properties of this object
14923
+ def update!(**args)
14924
+ @approximate_neighbor_candidates = args[:approximate_neighbor_candidates] if args.key?(:approximate_neighbor_candidates)
14925
+ @leaf_nodes_search_fraction = args[:leaf_nodes_search_fraction] if args.key?(:leaf_nodes_search_fraction)
14926
+ end
14927
+ end
14928
+
14929
+ # String filter is used to search a subset of the entities by using boolean
14930
+ # rules on string columns. For example: if a query specifies string filter with '
14931
+ # name = color, allow_tokens = `red, blue`, deny_tokens = `purple`',' then that
14932
+ # query will match entities that are red or blue, but if those points are also
14933
+ # purple, then they will be excluded even if they are red/blue. Only string
14934
+ # filter is supported for now, numeric filter will be supported in the near
14935
+ # future.
14936
+ class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter
14937
+ include Google::Apis::Core::Hashable
14938
+
14939
+ # Optional. The allowed tokens.
14940
+ # Corresponds to the JSON property `allowTokens`
14941
+ # @return [Array<String>]
14942
+ attr_accessor :allow_tokens
14943
+
14944
+ # Optional. The denied tokens.
14945
+ # Corresponds to the JSON property `denyTokens`
14946
+ # @return [Array<String>]
14947
+ attr_accessor :deny_tokens
14948
+
14949
+ # Required. Column names in BigQuery that used as filters.
14950
+ # Corresponds to the JSON property `name`
14951
+ # @return [String]
14952
+ attr_accessor :name
14953
+
14954
+ def initialize(**args)
14955
+ update!(**args)
14956
+ end
14957
+
14958
+ # Update properties of this object
14959
+ def update!(**args)
14960
+ @allow_tokens = args[:allow_tokens] if args.key?(:allow_tokens)
14961
+ @deny_tokens = args[:deny_tokens] if args.key?(:deny_tokens)
14962
+ @name = args[:name] if args.key?(:name)
14963
+ end
14964
+ end
14965
+
14745
14966
  # Runtime operation metadata with regard to Matching Engine Index.
14746
14967
  class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata
14747
14968
  include Google::Apis::Core::Hashable
@@ -14854,6 +15075,56 @@ module Google
14854
15075
  end
14855
15076
  end
14856
15077
 
15078
+ # Nearest neighbors for one query.
15079
+ class GoogleCloudAiplatformV1NearestNeighbors
15080
+ include Google::Apis::Core::Hashable
15081
+
15082
+ # All its neighbors.
15083
+ # Corresponds to the JSON property `neighbors`
15084
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborsNeighbor>]
15085
+ attr_accessor :neighbors
15086
+
15087
+ def initialize(**args)
15088
+ update!(**args)
15089
+ end
15090
+
15091
+ # Update properties of this object
15092
+ def update!(**args)
15093
+ @neighbors = args[:neighbors] if args.key?(:neighbors)
15094
+ end
15095
+ end
15096
+
15097
+ # A neighbor of the query vector.
15098
+ class GoogleCloudAiplatformV1NearestNeighborsNeighbor
15099
+ include Google::Apis::Core::Hashable
15100
+
15101
+ # The distance between the neighbor and the query vector.
15102
+ # Corresponds to the JSON property `distance`
15103
+ # @return [Float]
15104
+ attr_accessor :distance
15105
+
15106
+ # The id of the similar entity.
15107
+ # Corresponds to the JSON property `entityId`
15108
+ # @return [String]
15109
+ attr_accessor :entity_id
15110
+
15111
+ # Response message for FeatureOnlineStoreService.FetchFeatureValues
15112
+ # Corresponds to the JSON property `entityKeyValues`
15113
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse]
15114
+ attr_accessor :entity_key_values
15115
+
15116
+ def initialize(**args)
15117
+ update!(**args)
15118
+ end
15119
+
15120
+ # Update properties of this object
15121
+ def update!(**args)
15122
+ @distance = args[:distance] if args.key?(:distance)
15123
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
15124
+ @entity_key_values = args[:entity_key_values] if args.key?(:entity_key_values)
15125
+ end
15126
+ end
15127
+
14857
15128
  # Neighbors for example-based explanations.
14858
15129
  class GoogleCloudAiplatformV1Neighbor
14859
15130
  include Google::Apis::Core::Hashable
@@ -15655,6 +15926,11 @@ module Google
15655
15926
  class GoogleCloudAiplatformV1PipelineJobRuntimeConfig
15656
15927
  include Google::Apis::Core::Hashable
15657
15928
 
15929
+ # The default runtime for the PipelineJob.
15930
+ # Corresponds to the JSON property `defaultRuntime`
15931
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime]
15932
+ attr_accessor :default_runtime
15933
+
15658
15934
  # Represents the failure policy of a pipeline. Currently, the default of a
15659
15935
  # pipeline is that the pipeline will continue to run until no more tasks can be
15660
15936
  # executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
@@ -15705,6 +15981,7 @@ module Google
15705
15981
 
15706
15982
  # Update properties of this object
15707
15983
  def update!(**args)
15984
+ @default_runtime = args[:default_runtime] if args.key?(:default_runtime)
15708
15985
  @failure_policy = args[:failure_policy] if args.key?(:failure_policy)
15709
15986
  @gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
15710
15987
  @input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
@@ -15713,6 +15990,26 @@ module Google
15713
15990
  end
15714
15991
  end
15715
15992
 
15993
+ # The default runtime for the PipelineJob.
15994
+ class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
15995
+ include Google::Apis::Core::Hashable
15996
+
15997
+ # Persistent resource based runtime detail. For more information, refer to https:
15998
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
15999
+ # Corresponds to the JSON property `persistentResourceRuntimeDetail`
16000
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
16001
+ attr_accessor :persistent_resource_runtime_detail
16002
+
16003
+ def initialize(**args)
16004
+ update!(**args)
16005
+ end
16006
+
16007
+ # Update properties of this object
16008
+ def update!(**args)
16009
+ @persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
16010
+ end
16011
+ end
16012
+
15716
16013
  # The type of an input artifact.
15717
16014
  class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
15718
16015
  include Google::Apis::Core::Hashable
@@ -15735,6 +16032,27 @@ module Google
15735
16032
  end
15736
16033
  end
15737
16034
 
16035
+ # Persistent resource based runtime detail. For more information, refer to https:
16036
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16037
+ class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
16038
+ include Google::Apis::Core::Hashable
16039
+
16040
+ # Persistent resource name. Format: `projects/`project`/locations/`location`/
16041
+ # persistentResources/`persistent_resource``
16042
+ # Corresponds to the JSON property `persistentResourceName`
16043
+ # @return [String]
16044
+ attr_accessor :persistent_resource_name
16045
+
16046
+ def initialize(**args)
16047
+ update!(**args)
16048
+ end
16049
+
16050
+ # Update properties of this object
16051
+ def update!(**args)
16052
+ @persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
16053
+ end
16054
+ end
16055
+
15738
16056
  # The runtime detail of a task execution.
15739
16057
  class GoogleCloudAiplatformV1PipelineTaskDetail
15740
16058
  include Google::Apis::Core::Hashable
@@ -16384,6 +16702,38 @@ module Google
16384
16702
  end
16385
16703
  end
16386
16704
 
16705
+ # PscAutomatedEndpoints defines the output of the forwarding rule automatically
16706
+ # created by each PscAutomationConfig.
16707
+ class GoogleCloudAiplatformV1PscAutomatedEndpoints
16708
+ include Google::Apis::Core::Hashable
16709
+
16710
+ # Ip Address created by the automated forwarding rule.
16711
+ # Corresponds to the JSON property `matchAddress`
16712
+ # @return [String]
16713
+ attr_accessor :match_address
16714
+
16715
+ # Corresponding network in pscAutomationConfigs.
16716
+ # Corresponds to the JSON property `network`
16717
+ # @return [String]
16718
+ attr_accessor :network
16719
+
16720
+ # Corresponding project_id in pscAutomationConfigs
16721
+ # Corresponds to the JSON property `projectId`
16722
+ # @return [String]
16723
+ attr_accessor :project_id
16724
+
16725
+ def initialize(**args)
16726
+ update!(**args)
16727
+ end
16728
+
16729
+ # Update properties of this object
16730
+ def update!(**args)
16731
+ @match_address = args[:match_address] if args.key?(:match_address)
16732
+ @network = args[:network] if args.key?(:network)
16733
+ @project_id = args[:project_id] if args.key?(:project_id)
16734
+ end
16735
+ end
16736
+
16387
16737
  # A Model Garden Publisher Model.
16388
16738
  class GoogleCloudAiplatformV1PublisherModel
16389
16739
  include Google::Apis::Core::Hashable
@@ -16471,6 +16821,11 @@ module Google
16471
16821
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy]
16472
16822
  attr_accessor :deploy
16473
16823
 
16824
+ # Configurations for PublisherModel GKE deployment
16825
+ # Corresponds to the JSON property `deployGke`
16826
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
16827
+ attr_accessor :deploy_gke
16828
+
16474
16829
  # The regional resource name or the URI. Key is region, e.g., us-central1,
16475
16830
  # europe-west2, global, etc..
16476
16831
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -16536,6 +16891,7 @@ module Google
16536
16891
  def update!(**args)
16537
16892
  @create_application = args[:create_application] if args.key?(:create_application)
16538
16893
  @deploy = args[:deploy] if args.key?(:deploy)
16894
+ @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
16539
16895
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
16540
16896
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
16541
16897
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -16626,6 +16982,25 @@ module Google
16626
16982
  end
16627
16983
  end
16628
16984
 
16985
+ # Configurations for PublisherModel GKE deployment
16986
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
16987
+ include Google::Apis::Core::Hashable
16988
+
16989
+ # Optional. GKE deployment configuration in yaml format.
16990
+ # Corresponds to the JSON property `gkeYamlConfigs`
16991
+ # @return [Array<String>]
16992
+ attr_accessor :gke_yaml_configs
16993
+
16994
+ def initialize(**args)
16995
+ update!(**args)
16996
+ end
16997
+
16998
+ # Update properties of this object
16999
+ def update!(**args)
17000
+ @gke_yaml_configs = args[:gke_yaml_configs] if args.key?(:gke_yaml_configs)
17001
+ end
17002
+ end
17003
+
16629
17004
  # Open fine tuning pipelines.
16630
17005
  class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
16631
17006
  include Google::Apis::Core::Hashable
@@ -18046,12 +18421,6 @@ module Google
18046
18421
  attr_accessor :disable_retries
18047
18422
  alias_method :disable_retries?, :disable_retries
18048
18423
 
18049
- # Optional. This is the maximum time a user will wait in the QRM queue for
18050
- # resources. Default is 1 day
18051
- # Corresponds to the JSON property `maxWaitDuration`
18052
- # @return [String]
18053
- attr_accessor :max_wait_duration
18054
-
18055
18424
  # Restarts the entire CustomJob if a worker gets restarted. This feature can be
18056
18425
  # used by distributed training jobs that are not resilient to workers leaving
18057
18426
  # and joining a job.
@@ -18072,7 +18441,6 @@ module Google
18072
18441
  # Update properties of this object
18073
18442
  def update!(**args)
18074
18443
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
18075
- @max_wait_duration = args[:max_wait_duration] if args.key?(:max_wait_duration)
18076
18444
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
18077
18445
  @timeout = args[:timeout] if args.key?(:timeout)
18078
18446
  end
@@ -24413,6 +24781,54 @@ module Google
24413
24781
  end
24414
24782
  end
24415
24783
 
24784
+ # The request message for FeatureOnlineStoreService.SearchNearestEntities.
24785
+ class GoogleCloudAiplatformV1SearchNearestEntitiesRequest
24786
+ include Google::Apis::Core::Hashable
24787
+
24788
+ # A query to find a number of similar entities.
24789
+ # Corresponds to the JSON property `query`
24790
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQuery]
24791
+ attr_accessor :query
24792
+
24793
+ # Optional. If set to true, the full entities (including all vector values and
24794
+ # metadata) of the nearest neighbors are returned; otherwise only entity id of
24795
+ # the nearest neighbors will be returned. Note that returning full entities will
24796
+ # significantly increase the latency and cost of the query.
24797
+ # Corresponds to the JSON property `returnFullEntity`
24798
+ # @return [Boolean]
24799
+ attr_accessor :return_full_entity
24800
+ alias_method :return_full_entity?, :return_full_entity
24801
+
24802
+ def initialize(**args)
24803
+ update!(**args)
24804
+ end
24805
+
24806
+ # Update properties of this object
24807
+ def update!(**args)
24808
+ @query = args[:query] if args.key?(:query)
24809
+ @return_full_entity = args[:return_full_entity] if args.key?(:return_full_entity)
24810
+ end
24811
+ end
24812
+
24813
+ # Response message for FeatureOnlineStoreService.SearchNearestEntities
24814
+ class GoogleCloudAiplatformV1SearchNearestEntitiesResponse
24815
+ include Google::Apis::Core::Hashable
24816
+
24817
+ # Nearest neighbors for one query.
24818
+ # Corresponds to the JSON property `nearestNeighbors`
24819
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors]
24820
+ attr_accessor :nearest_neighbors
24821
+
24822
+ def initialize(**args)
24823
+ update!(**args)
24824
+ end
24825
+
24826
+ # Update properties of this object
24827
+ def update!(**args)
24828
+ @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors)
24829
+ end
24830
+ end
24831
+
24416
24832
  # A set of Shielded Instance options. See [Images using supported Shielded VM
24417
24833
  # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
24418
24834
  # vm).
@@ -24643,6 +25059,40 @@ module Google
24643
25059
  end
24644
25060
  end
24645
25061
 
25062
+ # Request message for PredictionService.StreamRawPredict.
25063
+ class GoogleCloudAiplatformV1StreamRawPredictRequest
25064
+ include Google::Apis::Core::Hashable
25065
+
25066
+ # Message that represents an arbitrary HTTP body. It should only be used for
25067
+ # payload formats that can't be represented as JSON, such as raw binary or an
25068
+ # HTML page. This message can be used both in streaming and non-streaming API
25069
+ # methods in the request as well as the response. It can be used as a top-level
25070
+ # request field, which is convenient if one wants to extract parameters from
25071
+ # either the URL or HTTP template into the request fields and also want access
25072
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
25073
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
25074
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
25075
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
25076
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
25077
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
25078
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
25079
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
25080
+ # only changes how the request and response bodies are handled, all other
25081
+ # features will continue to work unchanged.
25082
+ # Corresponds to the JSON property `httpBody`
25083
+ # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
25084
+ attr_accessor :http_body
25085
+
25086
+ def initialize(**args)
25087
+ update!(**args)
25088
+ end
25089
+
25090
+ # Update properties of this object
25091
+ def update!(**args)
25092
+ @http_body = args[:http_body] if args.key?(:http_body)
25093
+ end
25094
+ end
25095
+
24646
25096
  # Request message for PredictionService.StreamingPredict. The first message must
24647
25097
  # contain endpoint field and optionally input. The subsequent messages must
24648
25098
  # contain input.
@@ -27228,6 +27678,14 @@ module Google
27228
27678
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint>]
27229
27679
  attr_accessor :datapoints
27230
27680
 
27681
+ # Optional. Update mask is used to specify the fields to be overwritten in the
27682
+ # datapoints by the update. The fields specified in the update_mask are relative
27683
+ # to each IndexDatapoint inside datapoints, not the full request. Updatable
27684
+ # fields: * Use `all_restricts` to update both restricts and numeric_restricts.
27685
+ # Corresponds to the JSON property `updateMask`
27686
+ # @return [String]
27687
+ attr_accessor :update_mask
27688
+
27231
27689
  def initialize(**args)
27232
27690
  update!(**args)
27233
27691
  end
@@ -27235,6 +27693,7 @@ module Google
27235
27693
  # Update properties of this object
27236
27694
  def update!(**args)
27237
27695
  @datapoints = args[:datapoints] if args.key?(:datapoints)
27696
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
27238
27697
  end
27239
27698
  end
27240
27699
 
@@ -27725,7 +28184,10 @@ module Google
27725
28184
  attr_accessor :members
27726
28185
 
27727
28186
  # Role that is assigned to the list of `members`, or principals. For example, `
27728
- # roles/viewer`, `roles/editor`, or `roles/owner`.
28187
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
28188
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
28189
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
28190
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
27729
28191
  # Corresponds to the JSON property `role`
27730
28192
  # @return [String]
27731
28193
  attr_accessor :role
@@ -28386,7 +28848,7 @@ module Google
28386
28848
  # fields are most applicable for that document's datasource. For example, a
28387
28849
  # Wikipedia article's attribution is in the form of its article title, a website
28388
28850
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
28389
- # id:28
28851
+ # id: 30
28390
28852
  class LanguageLabsAidaTrustRecitationProtoDocAttribution
28391
28853
  include Google::Apis::Core::Hashable
28392
28854
 
@@ -28410,6 +28872,12 @@ module Google
28410
28872
  # @return [String]
28411
28873
  attr_accessor :bibkey
28412
28874
 
28875
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
28876
+ # 1101/343517
28877
+ # Corresponds to the JSON property `biorxivId`
28878
+ # @return [String]
28879
+ attr_accessor :biorxiv_id
28880
+
28413
28881
  #
28414
28882
  # Corresponds to the JSON property `bookTitle`
28415
28883
  # @return [String]
@@ -28550,6 +29018,11 @@ module Google
28550
29018
  # @return [String]
28551
29019
  attr_accessor :wikipedia_article_title
28552
29020
 
29021
+ # The unique video id from Youtube. Example: AkoGsW52Ir0
29022
+ # Corresponds to the JSON property `youtubeVideoId`
29023
+ # @return [String]
29024
+ attr_accessor :youtube_video_id
29025
+
28553
29026
  def initialize(**args)
28554
29027
  update!(**args)
28555
29028
  end
@@ -28560,6 +29033,7 @@ module Google
28560
29033
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
28561
29034
  @author = args[:author] if args.key?(:author)
28562
29035
  @bibkey = args[:bibkey] if args.key?(:bibkey)
29036
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
28563
29037
  @book_title = args[:book_title] if args.key?(:book_title)
28564
29038
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
28565
29039
  @category = args[:category] if args.key?(:category)
@@ -28583,6 +29057,7 @@ module Google
28583
29057
  @url = args[:url] if args.key?(:url)
28584
29058
  @volume_id = args[:volume_id] if args.key?(:volume_id)
28585
29059
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
29060
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
28586
29061
  end
28587
29062
  end
28588
29063
 
@@ -28638,7 +29113,7 @@ module Google
28638
29113
  # fields are most applicable for that document's datasource. For example, a
28639
29114
  # Wikipedia article's attribution is in the form of its article title, a website
28640
29115
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
28641
- # id:28
29116
+ # id: 30
28642
29117
  # Corresponds to the JSON property `docAttribution`
28643
29118
  # @return [Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoDocAttribution]
28644
29119
  attr_accessor :doc_attribution
@@ -28733,7 +29208,7 @@ module Google
28733
29208
  # fields are most applicable for that document's datasource. For example, a
28734
29209
  # Wikipedia article's attribution is in the form of its article title, a website
28735
29210
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
28736
- # id: 28
29211
+ # id: 30
28737
29212
  class LearningGenaiRecitationDocAttribution
28738
29213
  include Google::Apis::Core::Hashable
28739
29214
 
@@ -28757,6 +29232,12 @@ module Google
28757
29232
  # @return [String]
28758
29233
  attr_accessor :bibkey
28759
29234
 
29235
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
29236
+ # 1101/343517
29237
+ # Corresponds to the JSON property `biorxivId`
29238
+ # @return [String]
29239
+ attr_accessor :biorxiv_id
29240
+
28760
29241
  #
28761
29242
  # Corresponds to the JSON property `bookTitle`
28762
29243
  # @return [String]
@@ -28892,6 +29373,11 @@ module Google
28892
29373
  # @return [String]
28893
29374
  attr_accessor :wikipedia_article_title
28894
29375
 
29376
+ #
29377
+ # Corresponds to the JSON property `youtubeVideoId`
29378
+ # @return [String]
29379
+ attr_accessor :youtube_video_id
29380
+
28895
29381
  def initialize(**args)
28896
29382
  update!(**args)
28897
29383
  end
@@ -28902,6 +29388,7 @@ module Google
28902
29388
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
28903
29389
  @author = args[:author] if args.key?(:author)
28904
29390
  @bibkey = args[:bibkey] if args.key?(:bibkey)
29391
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
28905
29392
  @book_title = args[:book_title] if args.key?(:book_title)
28906
29393
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
28907
29394
  @conversation_id = args[:conversation_id] if args.key?(:conversation_id)
@@ -28924,6 +29411,7 @@ module Google
28924
29411
  @url = args[:url] if args.key?(:url)
28925
29412
  @volume_id = args[:volume_id] if args.key?(:volume_id)
28926
29413
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
29414
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
28927
29415
  end
28928
29416
  end
28929
29417
 
@@ -28979,7 +29467,7 @@ module Google
28979
29467
  # fields are most applicable for that document's datasource. For example, a
28980
29468
  # Wikipedia article's attribution is in the form of its article title, a website
28981
29469
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
28982
- # id: 28
29470
+ # id: 30
28983
29471
  # Corresponds to the JSON property `docAttribution`
28984
29472
  # @return [Google::Apis::AiplatformV1::LearningGenaiRecitationDocAttribution]
28985
29473
  attr_accessor :doc_attribution
@@ -29246,7 +29734,7 @@ module Google
29246
29734
 
29247
29735
  #
29248
29736
  # Corresponds to the JSON property `languageFilterResult`
29249
- # @return [Google::Apis::AiplatformV1::LearningServingLlmLanguageFilterResult]
29737
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult]
29250
29738
  attr_accessor :language_filter_result
29251
29739
 
29252
29740
  # This is per harm.
@@ -29298,6 +29786,79 @@ module Google
29298
29786
  end
29299
29787
  end
29300
29788
 
29789
+ #
29790
+ class LearningGenaiRootGroundingMetadata
29791
+ include Google::Apis::Core::Hashable
29792
+
29793
+ #
29794
+ # Corresponds to the JSON property `citations`
29795
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadataCitation>]
29796
+ attr_accessor :citations
29797
+
29798
+ # True if grounding is cancelled, for example, no facts being retrieved.
29799
+ # Corresponds to the JSON property `groundingCancelled`
29800
+ # @return [Boolean]
29801
+ attr_accessor :grounding_cancelled
29802
+ alias_method :grounding_cancelled?, :grounding_cancelled
29803
+
29804
+ #
29805
+ # Corresponds to the JSON property `searchQueries`
29806
+ # @return [Array<String>]
29807
+ attr_accessor :search_queries
29808
+
29809
+ def initialize(**args)
29810
+ update!(**args)
29811
+ end
29812
+
29813
+ # Update properties of this object
29814
+ def update!(**args)
29815
+ @citations = args[:citations] if args.key?(:citations)
29816
+ @grounding_cancelled = args[:grounding_cancelled] if args.key?(:grounding_cancelled)
29817
+ @search_queries = args[:search_queries] if args.key?(:search_queries)
29818
+ end
29819
+ end
29820
+
29821
+ #
29822
+ class LearningGenaiRootGroundingMetadataCitation
29823
+ include Google::Apis::Core::Hashable
29824
+
29825
+ # Index in the prediction output where the citation ends (exclusive). Must be >
29826
+ # start_index and < len(output).
29827
+ # Corresponds to the JSON property `endIndex`
29828
+ # @return [Fixnum]
29829
+ attr_accessor :end_index
29830
+
29831
+ # Index of the fact supporting this claim. Should be within the range of the `
29832
+ # world_facts` in the GenerateResponse.
29833
+ # Corresponds to the JSON property `factIndex`
29834
+ # @return [Fixnum]
29835
+ attr_accessor :fact_index
29836
+
29837
+ # Confidence score of this entailment. Value is [0,1] with 1 is the most
29838
+ # confidence.
29839
+ # Corresponds to the JSON property `score`
29840
+ # @return [Float]
29841
+ attr_accessor :score
29842
+
29843
+ # Index in the prediction output where the citation starts (inclusive). Must be >
29844
+ # = 0 and < end_index.
29845
+ # Corresponds to the JSON property `startIndex`
29846
+ # @return [Fixnum]
29847
+ attr_accessor :start_index
29848
+
29849
+ def initialize(**args)
29850
+ update!(**args)
29851
+ end
29852
+
29853
+ # Update properties of this object
29854
+ def update!(**args)
29855
+ @end_index = args[:end_index] if args.key?(:end_index)
29856
+ @fact_index = args[:fact_index] if args.key?(:fact_index)
29857
+ @score = args[:score] if args.key?(:score)
29858
+ @start_index = args[:start_index] if args.key?(:start_index)
29859
+ end
29860
+ end
29861
+
29301
29862
  #
29302
29863
  class LearningGenaiRootHarm
29303
29864
  include Google::Apis::Core::Hashable
@@ -29365,7 +29926,9 @@ module Google
29365
29926
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmSafetyCatCategories]
29366
29927
  attr_accessor :safetycat
29367
29928
 
29368
- #
29929
+ # Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=
29930
+ # 77;rcl=584719820 to classify the input. LMRoot converts the bucket into double
29931
+ # score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
29369
29932
  # Corresponds to the JSON property `spii`
29370
29933
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmSpiiFilter]
29371
29934
  attr_accessor :spii
@@ -29535,6 +30098,39 @@ module Google
29535
30098
  end
29536
30099
  end
29537
30100
 
30101
+ #
30102
+ class LearningGenaiRootLanguageFilterResult
30103
+ include Google::Apis::Core::Hashable
30104
+
30105
+ # False when query or response should be filtered out due to unsupported
30106
+ # language.
30107
+ # Corresponds to the JSON property `allowed`
30108
+ # @return [Boolean]
30109
+ attr_accessor :allowed
30110
+ alias_method :allowed?, :allowed
30111
+
30112
+ # Language of the query or response.
30113
+ # Corresponds to the JSON property `detectedLanguage`
30114
+ # @return [String]
30115
+ attr_accessor :detected_language
30116
+
30117
+ # Probability of the language predicted as returned by LangID.
30118
+ # Corresponds to the JSON property `detectedLanguageProbability`
30119
+ # @return [Float]
30120
+ attr_accessor :detected_language_probability
30121
+
30122
+ def initialize(**args)
30123
+ update!(**args)
30124
+ end
30125
+
30126
+ # Update properties of this object
30127
+ def update!(**args)
30128
+ @allowed = args[:allowed] if args.key?(:allowed)
30129
+ @detected_language = args[:detected_language] if args.key?(:detected_language)
30130
+ @detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
30131
+ end
30132
+ end
30133
+
29538
30134
  #
29539
30135
  class LearningGenaiRootMetricOutput
29540
30136
  include Google::Apis::Core::Hashable
@@ -30249,39 +30845,6 @@ module Google
30249
30845
  end
30250
30846
  end
30251
30847
 
30252
- #
30253
- class LearningServingLlmLanguageFilterResult
30254
- include Google::Apis::Core::Hashable
30255
-
30256
- # False when query or response should be filtered out due to unsupported
30257
- # language.
30258
- # Corresponds to the JSON property `allowed`
30259
- # @return [Boolean]
30260
- attr_accessor :allowed
30261
- alias_method :allowed?, :allowed
30262
-
30263
- # Language of the query or response.
30264
- # Corresponds to the JSON property `detectedLanguage`
30265
- # @return [String]
30266
- attr_accessor :detected_language
30267
-
30268
- # Probability of the language predicted as returned by LangID.
30269
- # Corresponds to the JSON property `detectedLanguageProbability`
30270
- # @return [Float]
30271
- attr_accessor :detected_language_probability
30272
-
30273
- def initialize(**args)
30274
- update!(**args)
30275
- end
30276
-
30277
- # Update properties of this object
30278
- def update!(**args)
30279
- @allowed = args[:allowed] if args.key?(:allowed)
30280
- @detected_language = args[:detected_language] if args.key?(:detected_language)
30281
- @detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
30282
- end
30283
- end
30284
-
30285
30848
  # LINT.IfChange This metadata contains additional information required for
30286
30849
  # debugging.
30287
30850
  class LearningServingLlmMessageMetadata
@@ -30320,6 +30883,11 @@ module Google
30320
30883
  # @return [String]
30321
30884
  attr_accessor :finish_reason
30322
30885
 
30886
+ #
30887
+ # Corresponds to the JSON property `groundingMetadata`
30888
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata]
30889
+ attr_accessor :grounding_metadata
30890
+
30323
30891
  # Applies to Response message only. Indicates whether the message is a fallback
30324
30892
  # and the response would have otherwise been empty.
30325
30893
  # Corresponds to the JSON property `isFallback`
@@ -30417,6 +30985,7 @@ module Google
30417
30985
  @filter_meta = args[:filter_meta] if args.key?(:filter_meta)
30418
30986
  @final_message_score = args[:final_message_score] if args.key?(:final_message_score)
30419
30987
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
30988
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
30420
30989
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
30421
30990
  @langid_result = args[:langid_result] if args.key?(:langid_result)
30422
30991
  @language = args[:language] if args.key?(:language)