google-apis-aiplatform_v1beta1 0.15.0 → 0.17.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.
@@ -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::AiplatformV1beta1::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::AiplatformV1beta1::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::AiplatformV1beta1::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::AiplatformV1beta1::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::AiplatformV1beta1::LearningServingLlmLanguageFilterResult]
962
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult]
911
963
  attr_accessor :language_filter_result
912
964
 
913
965
  # The RAI signals for the text.
@@ -3760,25 +3812,6 @@ module Google
3760
3812
  end
3761
3813
  end
3762
3814
 
3763
- # Details of ExtensionRegistryService.CreateExtensionDeployment operation.
3764
- class GoogleCloudAiplatformV1beta1CreateExtensionDeploymentOperationMetadata
3765
- include Google::Apis::Core::Hashable
3766
-
3767
- # Generic Metadata shared by all operations.
3768
- # Corresponds to the JSON property `genericMetadata`
3769
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
3770
- attr_accessor :generic_metadata
3771
-
3772
- def initialize(**args)
3773
- update!(**args)
3774
- end
3775
-
3776
- # Update properties of this object
3777
- def update!(**args)
3778
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3779
- end
3780
- end
3781
-
3782
3815
  # Details of operations that perform create FeatureGroup.
3783
3816
  class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata
3784
3817
  include Google::Apis::Core::Hashable
@@ -4005,6 +4038,11 @@ module Google
4005
4038
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
4006
4039
  attr_accessor :generic_metadata
4007
4040
 
4041
+ # Progress Message for Create LRO
4042
+ # Corresponds to the JSON property `progressMessage`
4043
+ # @return [String]
4044
+ attr_accessor :progress_message
4045
+
4008
4046
  def initialize(**args)
4009
4047
  update!(**args)
4010
4048
  end
@@ -4012,6 +4050,7 @@ module Google
4012
4050
  # Update properties of this object
4013
4051
  def update!(**args)
4014
4052
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
4053
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
4015
4054
  end
4016
4055
  end
4017
4056
 
@@ -4038,6 +4077,13 @@ module Google
4038
4077
  # @return [String]
4039
4078
  attr_accessor :pipeline_job_id
4040
4079
 
4080
+ # Optional. Whether to do component level validations before job creation.
4081
+ # Currently we only support Google First Party Component/Pipelines.
4082
+ # Corresponds to the JSON property `preflightValidations`
4083
+ # @return [Boolean]
4084
+ attr_accessor :preflight_validations
4085
+ alias_method :preflight_validations?, :preflight_validations
4086
+
4041
4087
  def initialize(**args)
4042
4088
  update!(**args)
4043
4089
  end
@@ -4047,6 +4093,7 @@ module Google
4047
4093
  @parent = args[:parent] if args.key?(:parent)
4048
4094
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
4049
4095
  @pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
4096
+ @preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
4050
4097
  end
4051
4098
  end
4052
4099
 
@@ -6779,8 +6826,15 @@ module Google
6779
6826
  # Models that predict multiple outputs, such as multiclass Models that predict
6780
6827
  # multiple classes, each element explains one specific item. Attribution.
6781
6828
  # output_index can be used to identify which output this attribution is
6782
- # explaining. If users set ExplanationParameters.top_k, the attributions are
6783
- # sorted by instance_output_value in descending order. If ExplanationParameters.
6829
+ # explaining. By default, we provide Shapley values for the predicted class.
6830
+ # However, you can configure the explanation request to generate Shapley values
6831
+ # for any other classes too. For example, if a model predicts a probability of `
6832
+ # 0.4` for approving a loan application, the model's decision is to reject the
6833
+ # application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default
6834
+ # Shapley values would be computed for rejection decision and not approval, even
6835
+ # though the latter might be the positive class. If users set
6836
+ # ExplanationParameters.top_k, the attributions are sorted by
6837
+ # instance_output_value in descending order. If ExplanationParameters.
6784
6838
  # output_indices is specified, the attributions are stored by Attribution.
6785
6839
  # output_index in the same order as they appear in the output_indices.
6786
6840
  # Corresponds to the JSON property `attributions`
@@ -8623,7 +8677,7 @@ module Google
8623
8677
  # @return [String]
8624
8678
  attr_accessor :update_time
8625
8679
 
8626
- # Configuration for vector search.
8680
+ # Deprecated. Use IndexConfig instead.
8627
8681
  # Corresponds to the JSON property `vectorSearchConfig`
8628
8682
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig]
8629
8683
  attr_accessor :vector_search_config
@@ -8810,7 +8864,7 @@ module Google
8810
8864
  end
8811
8865
  end
8812
8866
 
8813
- # Configuration for vector search.
8867
+ # Deprecated. Use IndexConfig instead.
8814
8868
  class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
8815
8869
  include Google::Apis::Core::Hashable
8816
8870
 
@@ -10915,6 +10969,12 @@ module Google
10915
10969
  # @return [String]
10916
10970
  attr_accessor :match_grpc_address
10917
10971
 
10972
+ # Output only. PscAutomatedEndpoints is populated if private service connect is
10973
+ # enabled if PscAutomatedConfig is set.
10974
+ # Corresponds to the JSON property `pscAutomatedEndpoints`
10975
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomatedEndpoints>]
10976
+ attr_accessor :psc_automated_endpoints
10977
+
10918
10978
  # Output only. The name of the service attachment resource. Populated if private
10919
10979
  # service connect is enabled.
10920
10980
  # Corresponds to the JSON property `serviceAttachment`
@@ -10928,6 +10988,7 @@ module Google
10928
10988
  # Update properties of this object
10929
10989
  def update!(**args)
10930
10990
  @match_grpc_address = args[:match_grpc_address] if args.key?(:match_grpc_address)
10991
+ @psc_automated_endpoints = args[:psc_automated_endpoints] if args.key?(:psc_automated_endpoints)
10931
10992
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
10932
10993
  end
10933
10994
  end
@@ -13182,7 +13243,7 @@ module Google
13182
13243
  include Google::Apis::Core::Hashable
13183
13244
 
13184
13245
  # Immutable. The path to the directory containing the Model artifact and any of
13185
- # its supporting files. Not present for AutoML Models or Large Models.
13246
+ # its supporting files. Not required for AutoML Models.
13186
13247
  # Corresponds to the JSON property `artifactUri`
13187
13248
  # @return [String]
13188
13249
  attr_accessor :artifact_uri
@@ -13663,6 +13724,12 @@ module Google
13663
13724
  # @return [String]
13664
13725
  attr_accessor :log_type
13665
13726
 
13727
+ # Output only. The schema version of the request/response logging BigQuery table.
13728
+ # Default to v1 if unset.
13729
+ # Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
13730
+ # @return [String]
13731
+ attr_accessor :request_response_logging_schema_version
13732
+
13666
13733
  def initialize(**args)
13667
13734
  update!(**args)
13668
13735
  end
@@ -13672,6 +13739,7 @@ module Google
13672
13739
  @bigquery_table_path = args[:bigquery_table_path] if args.key?(:bigquery_table_path)
13673
13740
  @log_source = args[:log_source] if args.key?(:log_source)
13674
13741
  @log_type = args[:log_type] if args.key?(:log_type)
13742
+ @request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
13675
13743
  end
13676
13744
  end
13677
13745
 
@@ -13781,7 +13849,7 @@ module Google
13781
13849
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringScheduleConfig]
13782
13850
  attr_accessor :model_deployment_monitoring_schedule_config
13783
13851
 
13784
- # Alert config for model monitoring.
13852
+ # The alert config for model monitoring.
13785
13853
  # Corresponds to the JSON property `modelMonitoringAlertConfig`
13786
13854
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
13787
13855
  attr_accessor :model_monitoring_alert_config
@@ -14367,7 +14435,7 @@ module Google
14367
14435
  end
14368
14436
  end
14369
14437
 
14370
- #
14438
+ # The alert config for model monitoring.
14371
14439
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
14372
14440
  include Google::Apis::Core::Hashable
14373
14441
 
@@ -14426,7 +14494,7 @@ module Google
14426
14494
  class GoogleCloudAiplatformV1beta1ModelMonitoringConfig
14427
14495
  include Google::Apis::Core::Hashable
14428
14496
 
14429
- # Model monitoring alert config.
14497
+ # The alert config for model monitoring.
14430
14498
  # Corresponds to the JSON property `alertConfig`
14431
14499
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
14432
14500
  attr_accessor :alert_config
@@ -15433,11 +15501,12 @@ module Google
15433
15501
  end
15434
15502
 
15435
15503
  # String filter is used to search a subset of the entities by using boolean
15436
- # rules. For example: if a query specifies string filter with 'name = color,
15437
- # allow_tokens = `red, blue`, deny_tokens = `purple`',' then that query will
15438
- # match entities that are red or blue, but if those points are also purple, then
15439
- # they will be excluded even if they are red/blue. Only string filter is
15440
- # supported for now, numeric filter will be supported in the near future.
15504
+ # rules on string columns. For example: if a query specifies string filter with '
15505
+ # name = color, allow_tokens = `red, blue`, deny_tokens = `purple`',' then that
15506
+ # query will match entities that are red or blue, but if those points are also
15507
+ # purple, then they will be excluded even if they are red/blue. Only string
15508
+ # filter is supported for now, numeric filter will be supported in the near
15509
+ # future.
15441
15510
  class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter
15442
15511
  include Google::Apis::Core::Hashable
15443
15512
 
@@ -16556,6 +16625,11 @@ module Google
16556
16625
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
16557
16626
  include Google::Apis::Core::Hashable
16558
16627
 
16628
+ # The default runtime for the PipelineJob.
16629
+ # Corresponds to the JSON property `defaultRuntime`
16630
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime]
16631
+ attr_accessor :default_runtime
16632
+
16559
16633
  # Represents the failure policy of a pipeline. Currently, the default of a
16560
16634
  # pipeline is that the pipeline will continue to run until no more tasks can be
16561
16635
  # executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
@@ -16606,6 +16680,7 @@ module Google
16606
16680
 
16607
16681
  # Update properties of this object
16608
16682
  def update!(**args)
16683
+ @default_runtime = args[:default_runtime] if args.key?(:default_runtime)
16609
16684
  @failure_policy = args[:failure_policy] if args.key?(:failure_policy)
16610
16685
  @gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
16611
16686
  @input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
@@ -16614,6 +16689,26 @@ module Google
16614
16689
  end
16615
16690
  end
16616
16691
 
16692
+ # The default runtime for the PipelineJob.
16693
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
16694
+ include Google::Apis::Core::Hashable
16695
+
16696
+ # Persistent resource based runtime detail. For more information, refer to https:
16697
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16698
+ # Corresponds to the JSON property `persistentResourceRuntimeDetail`
16699
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
16700
+ attr_accessor :persistent_resource_runtime_detail
16701
+
16702
+ def initialize(**args)
16703
+ update!(**args)
16704
+ end
16705
+
16706
+ # Update properties of this object
16707
+ def update!(**args)
16708
+ @persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
16709
+ end
16710
+ end
16711
+
16617
16712
  # The type of an input artifact.
16618
16713
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
16619
16714
  include Google::Apis::Core::Hashable
@@ -16636,6 +16731,27 @@ module Google
16636
16731
  end
16637
16732
  end
16638
16733
 
16734
+ # Persistent resource based runtime detail. For more information, refer to https:
16735
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16736
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
16737
+ include Google::Apis::Core::Hashable
16738
+
16739
+ # Persistent resource name. Format: `projects/`project`/locations/`location`/
16740
+ # persistentResources/`persistent_resource``
16741
+ # Corresponds to the JSON property `persistentResourceName`
16742
+ # @return [String]
16743
+ attr_accessor :persistent_resource_name
16744
+
16745
+ def initialize(**args)
16746
+ update!(**args)
16747
+ end
16748
+
16749
+ # Update properties of this object
16750
+ def update!(**args)
16751
+ @persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
16752
+ end
16753
+ end
16754
+
16639
16755
  # The runtime detail of a task execution.
16640
16756
  class GoogleCloudAiplatformV1beta1PipelineTaskDetail
16641
16757
  include Google::Apis::Core::Hashable
@@ -17285,6 +17401,38 @@ module Google
17285
17401
  end
17286
17402
  end
17287
17403
 
17404
+ # PscAutomatedEndpoints defines the output of the forwarding rule automatically
17405
+ # created by each PscAutomationConfig.
17406
+ class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
17407
+ include Google::Apis::Core::Hashable
17408
+
17409
+ # Ip Address created by the automated forwarding rule.
17410
+ # Corresponds to the JSON property `matchAddress`
17411
+ # @return [String]
17412
+ attr_accessor :match_address
17413
+
17414
+ # Corresponding network in pscAutomationConfigs.
17415
+ # Corresponds to the JSON property `network`
17416
+ # @return [String]
17417
+ attr_accessor :network
17418
+
17419
+ # Corresponding project_id in pscAutomationConfigs
17420
+ # Corresponds to the JSON property `projectId`
17421
+ # @return [String]
17422
+ attr_accessor :project_id
17423
+
17424
+ def initialize(**args)
17425
+ update!(**args)
17426
+ end
17427
+
17428
+ # Update properties of this object
17429
+ def update!(**args)
17430
+ @match_address = args[:match_address] if args.key?(:match_address)
17431
+ @network = args[:network] if args.key?(:network)
17432
+ @project_id = args[:project_id] if args.key?(:project_id)
17433
+ end
17434
+ end
17435
+
17288
17436
  # A Model Garden Publisher Model.
17289
17437
  class GoogleCloudAiplatformV1beta1PublisherModel
17290
17438
  include Google::Apis::Core::Hashable
@@ -17378,6 +17526,11 @@ module Google
17378
17526
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy]
17379
17527
  attr_accessor :deploy
17380
17528
 
17529
+ # Configurations for PublisherModel GKE deployment
17530
+ # Corresponds to the JSON property `deployGke`
17531
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
17532
+ attr_accessor :deploy_gke
17533
+
17381
17534
  # The regional resource name or the URI. Key is region, e.g., us-central1,
17382
17535
  # europe-west2, global, etc..
17383
17536
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -17443,6 +17596,7 @@ module Google
17443
17596
  def update!(**args)
17444
17597
  @create_application = args[:create_application] if args.key?(:create_application)
17445
17598
  @deploy = args[:deploy] if args.key?(:deploy)
17599
+ @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
17446
17600
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
17447
17601
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
17448
17602
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -17533,6 +17687,25 @@ module Google
17533
17687
  end
17534
17688
  end
17535
17689
 
17690
+ # Configurations for PublisherModel GKE deployment
17691
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
17692
+ include Google::Apis::Core::Hashable
17693
+
17694
+ # Optional. GKE deployment configuration in yaml format.
17695
+ # Corresponds to the JSON property `gkeYamlConfigs`
17696
+ # @return [Array<String>]
17697
+ attr_accessor :gke_yaml_configs
17698
+
17699
+ def initialize(**args)
17700
+ update!(**args)
17701
+ end
17702
+
17703
+ # Update properties of this object
17704
+ def update!(**args)
17705
+ @gke_yaml_configs = args[:gke_yaml_configs] if args.key?(:gke_yaml_configs)
17706
+ end
17707
+ end
17708
+
17536
17709
  # Open fine tuning pipelines.
17537
17710
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
17538
17711
  include Google::Apis::Core::Hashable
@@ -18560,8 +18733,7 @@ module Google
18560
18733
  end
18561
18734
  end
18562
18735
 
18563
- # LINT.IfChange(report_event_message_types) Request message for
18564
- # NotebookInternalService.ReportRuntimeEvent.
18736
+ # Request message for NotebookInternalService.ReportRuntimeEvent.
18565
18737
  class GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest
18566
18738
  include Google::Apis::Core::Hashable
18567
18739
 
@@ -19277,12 +19449,6 @@ module Google
19277
19449
  attr_accessor :disable_retries
19278
19450
  alias_method :disable_retries?, :disable_retries
19279
19451
 
19280
- # Optional. This is the maximum time a user will wait in the QRM queue for
19281
- # resources. Default is 1 day
19282
- # Corresponds to the JSON property `maxWaitDuration`
19283
- # @return [String]
19284
- attr_accessor :max_wait_duration
19285
-
19286
19452
  # Restarts the entire CustomJob if a worker gets restarted. This feature can be
19287
19453
  # used by distributed training jobs that are not resilient to workers leaving
19288
19454
  # and joining a job.
@@ -19303,7 +19469,6 @@ module Google
19303
19469
  # Update properties of this object
19304
19470
  def update!(**args)
19305
19471
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
19306
- @max_wait_duration = args[:max_wait_duration] if args.key?(:max_wait_duration)
19307
19472
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
19308
19473
  @timeout = args[:timeout] if args.key?(:timeout)
19309
19474
  end
@@ -28339,6 +28504,11 @@ module Google
28339
28504
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
28340
28505
  attr_accessor :generic_metadata
28341
28506
 
28507
+ # Progress Message for Update LRO
28508
+ # Corresponds to the JSON property `progressMessage`
28509
+ # @return [String]
28510
+ attr_accessor :progress_message
28511
+
28342
28512
  def initialize(**args)
28343
28513
  update!(**args)
28344
28514
  end
@@ -28346,6 +28516,7 @@ module Google
28346
28516
  # Update properties of this object
28347
28517
  def update!(**args)
28348
28518
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
28519
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
28349
28520
  end
28350
28521
  end
28351
28522
 
@@ -28535,6 +28706,14 @@ module Google
28535
28706
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint>]
28536
28707
  attr_accessor :datapoints
28537
28708
 
28709
+ # Optional. Update mask is used to specify the fields to be overwritten in the
28710
+ # datapoints by the update. The fields specified in the update_mask are relative
28711
+ # to each IndexDatapoint inside datapoints, not the full request. Updatable
28712
+ # fields: * Use `all_restricts` to update both restricts and numeric_restricts.
28713
+ # Corresponds to the JSON property `updateMask`
28714
+ # @return [String]
28715
+ attr_accessor :update_mask
28716
+
28538
28717
  def initialize(**args)
28539
28718
  update!(**args)
28540
28719
  end
@@ -28542,6 +28721,7 @@ module Google
28542
28721
  # Update properties of this object
28543
28722
  def update!(**args)
28544
28723
  @datapoints = args[:datapoints] if args.key?(:datapoints)
28724
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
28545
28725
  end
28546
28726
  end
28547
28727
 
@@ -29032,7 +29212,10 @@ module Google
29032
29212
  attr_accessor :members
29033
29213
 
29034
29214
  # Role that is assigned to the list of `members`, or principals. For example, `
29035
- # roles/viewer`, `roles/editor`, or `roles/owner`.
29215
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
29216
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
29217
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
29218
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
29036
29219
  # Corresponds to the JSON property `role`
29037
29220
  # @return [String]
29038
29221
  attr_accessor :role
@@ -29761,7 +29944,7 @@ module Google
29761
29944
  # fields are most applicable for that document's datasource. For example, a
29762
29945
  # Wikipedia article's attribution is in the form of its article title, a website
29763
29946
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
29764
- # id:28
29947
+ # id: 30
29765
29948
  class LanguageLabsAidaTrustRecitationProtoDocAttribution
29766
29949
  include Google::Apis::Core::Hashable
29767
29950
 
@@ -29785,6 +29968,12 @@ module Google
29785
29968
  # @return [String]
29786
29969
  attr_accessor :bibkey
29787
29970
 
29971
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
29972
+ # 1101/343517
29973
+ # Corresponds to the JSON property `biorxivId`
29974
+ # @return [String]
29975
+ attr_accessor :biorxiv_id
29976
+
29788
29977
  #
29789
29978
  # Corresponds to the JSON property `bookTitle`
29790
29979
  # @return [String]
@@ -29925,6 +30114,11 @@ module Google
29925
30114
  # @return [String]
29926
30115
  attr_accessor :wikipedia_article_title
29927
30116
 
30117
+ # The unique video id from Youtube. Example: AkoGsW52Ir0
30118
+ # Corresponds to the JSON property `youtubeVideoId`
30119
+ # @return [String]
30120
+ attr_accessor :youtube_video_id
30121
+
29928
30122
  def initialize(**args)
29929
30123
  update!(**args)
29930
30124
  end
@@ -29935,6 +30129,7 @@ module Google
29935
30129
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
29936
30130
  @author = args[:author] if args.key?(:author)
29937
30131
  @bibkey = args[:bibkey] if args.key?(:bibkey)
30132
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
29938
30133
  @book_title = args[:book_title] if args.key?(:book_title)
29939
30134
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
29940
30135
  @category = args[:category] if args.key?(:category)
@@ -29958,6 +30153,7 @@ module Google
29958
30153
  @url = args[:url] if args.key?(:url)
29959
30154
  @volume_id = args[:volume_id] if args.key?(:volume_id)
29960
30155
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
30156
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
29961
30157
  end
29962
30158
  end
29963
30159
 
@@ -30013,7 +30209,7 @@ module Google
30013
30209
  # fields are most applicable for that document's datasource. For example, a
30014
30210
  # Wikipedia article's attribution is in the form of its article title, a website
30015
30211
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30016
- # id:28
30212
+ # id: 30
30017
30213
  # Corresponds to the JSON property `docAttribution`
30018
30214
  # @return [Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoDocAttribution]
30019
30215
  attr_accessor :doc_attribution
@@ -30108,7 +30304,7 @@ module Google
30108
30304
  # fields are most applicable for that document's datasource. For example, a
30109
30305
  # Wikipedia article's attribution is in the form of its article title, a website
30110
30306
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30111
- # id: 28
30307
+ # id: 30
30112
30308
  class LearningGenaiRecitationDocAttribution
30113
30309
  include Google::Apis::Core::Hashable
30114
30310
 
@@ -30132,6 +30328,12 @@ module Google
30132
30328
  # @return [String]
30133
30329
  attr_accessor :bibkey
30134
30330
 
30331
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
30332
+ # 1101/343517
30333
+ # Corresponds to the JSON property `biorxivId`
30334
+ # @return [String]
30335
+ attr_accessor :biorxiv_id
30336
+
30135
30337
  #
30136
30338
  # Corresponds to the JSON property `bookTitle`
30137
30339
  # @return [String]
@@ -30267,6 +30469,11 @@ module Google
30267
30469
  # @return [String]
30268
30470
  attr_accessor :wikipedia_article_title
30269
30471
 
30472
+ #
30473
+ # Corresponds to the JSON property `youtubeVideoId`
30474
+ # @return [String]
30475
+ attr_accessor :youtube_video_id
30476
+
30270
30477
  def initialize(**args)
30271
30478
  update!(**args)
30272
30479
  end
@@ -30277,6 +30484,7 @@ module Google
30277
30484
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
30278
30485
  @author = args[:author] if args.key?(:author)
30279
30486
  @bibkey = args[:bibkey] if args.key?(:bibkey)
30487
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
30280
30488
  @book_title = args[:book_title] if args.key?(:book_title)
30281
30489
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
30282
30490
  @conversation_id = args[:conversation_id] if args.key?(:conversation_id)
@@ -30299,6 +30507,7 @@ module Google
30299
30507
  @url = args[:url] if args.key?(:url)
30300
30508
  @volume_id = args[:volume_id] if args.key?(:volume_id)
30301
30509
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
30510
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
30302
30511
  end
30303
30512
  end
30304
30513
 
@@ -30354,7 +30563,7 @@ module Google
30354
30563
  # fields are most applicable for that document's datasource. For example, a
30355
30564
  # Wikipedia article's attribution is in the form of its article title, a website
30356
30565
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30357
- # id: 28
30566
+ # id: 30
30358
30567
  # Corresponds to the JSON property `docAttribution`
30359
30568
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRecitationDocAttribution]
30360
30569
  attr_accessor :doc_attribution
@@ -30621,7 +30830,7 @@ module Google
30621
30830
 
30622
30831
  #
30623
30832
  # Corresponds to the JSON property `languageFilterResult`
30624
- # @return [Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult]
30833
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult]
30625
30834
  attr_accessor :language_filter_result
30626
30835
 
30627
30836
  # This is per harm.
@@ -30673,6 +30882,79 @@ module Google
30673
30882
  end
30674
30883
  end
30675
30884
 
30885
+ #
30886
+ class LearningGenaiRootGroundingMetadata
30887
+ include Google::Apis::Core::Hashable
30888
+
30889
+ #
30890
+ # Corresponds to the JSON property `citations`
30891
+ # @return [Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation>]
30892
+ attr_accessor :citations
30893
+
30894
+ # True if grounding is cancelled, for example, no facts being retrieved.
30895
+ # Corresponds to the JSON property `groundingCancelled`
30896
+ # @return [Boolean]
30897
+ attr_accessor :grounding_cancelled
30898
+ alias_method :grounding_cancelled?, :grounding_cancelled
30899
+
30900
+ #
30901
+ # Corresponds to the JSON property `searchQueries`
30902
+ # @return [Array<String>]
30903
+ attr_accessor :search_queries
30904
+
30905
+ def initialize(**args)
30906
+ update!(**args)
30907
+ end
30908
+
30909
+ # Update properties of this object
30910
+ def update!(**args)
30911
+ @citations = args[:citations] if args.key?(:citations)
30912
+ @grounding_cancelled = args[:grounding_cancelled] if args.key?(:grounding_cancelled)
30913
+ @search_queries = args[:search_queries] if args.key?(:search_queries)
30914
+ end
30915
+ end
30916
+
30917
+ #
30918
+ class LearningGenaiRootGroundingMetadataCitation
30919
+ include Google::Apis::Core::Hashable
30920
+
30921
+ # Index in the prediction output where the citation ends (exclusive). Must be >
30922
+ # start_index and < len(output).
30923
+ # Corresponds to the JSON property `endIndex`
30924
+ # @return [Fixnum]
30925
+ attr_accessor :end_index
30926
+
30927
+ # Index of the fact supporting this claim. Should be within the range of the `
30928
+ # world_facts` in the GenerateResponse.
30929
+ # Corresponds to the JSON property `factIndex`
30930
+ # @return [Fixnum]
30931
+ attr_accessor :fact_index
30932
+
30933
+ # Confidence score of this entailment. Value is [0,1] with 1 is the most
30934
+ # confidence.
30935
+ # Corresponds to the JSON property `score`
30936
+ # @return [Float]
30937
+ attr_accessor :score
30938
+
30939
+ # Index in the prediction output where the citation starts (inclusive). Must be >
30940
+ # = 0 and < end_index.
30941
+ # Corresponds to the JSON property `startIndex`
30942
+ # @return [Fixnum]
30943
+ attr_accessor :start_index
30944
+
30945
+ def initialize(**args)
30946
+ update!(**args)
30947
+ end
30948
+
30949
+ # Update properties of this object
30950
+ def update!(**args)
30951
+ @end_index = args[:end_index] if args.key?(:end_index)
30952
+ @fact_index = args[:fact_index] if args.key?(:fact_index)
30953
+ @score = args[:score] if args.key?(:score)
30954
+ @start_index = args[:start_index] if args.key?(:start_index)
30955
+ end
30956
+ end
30957
+
30676
30958
  #
30677
30959
  class LearningGenaiRootHarm
30678
30960
  include Google::Apis::Core::Hashable
@@ -30740,7 +31022,9 @@ module Google
30740
31022
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSafetyCatCategories]
30741
31023
  attr_accessor :safetycat
30742
31024
 
30743
- #
31025
+ # Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=
31026
+ # 77;rcl=584719820 to classify the input. LMRoot converts the bucket into double
31027
+ # score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
30744
31028
  # Corresponds to the JSON property `spii`
30745
31029
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSpiiFilter]
30746
31030
  attr_accessor :spii
@@ -30910,6 +31194,39 @@ module Google
30910
31194
  end
30911
31195
  end
30912
31196
 
31197
+ #
31198
+ class LearningGenaiRootLanguageFilterResult
31199
+ include Google::Apis::Core::Hashable
31200
+
31201
+ # False when query or response should be filtered out due to unsupported
31202
+ # language.
31203
+ # Corresponds to the JSON property `allowed`
31204
+ # @return [Boolean]
31205
+ attr_accessor :allowed
31206
+ alias_method :allowed?, :allowed
31207
+
31208
+ # Language of the query or response.
31209
+ # Corresponds to the JSON property `detectedLanguage`
31210
+ # @return [String]
31211
+ attr_accessor :detected_language
31212
+
31213
+ # Probability of the language predicted as returned by LangID.
31214
+ # Corresponds to the JSON property `detectedLanguageProbability`
31215
+ # @return [Float]
31216
+ attr_accessor :detected_language_probability
31217
+
31218
+ def initialize(**args)
31219
+ update!(**args)
31220
+ end
31221
+
31222
+ # Update properties of this object
31223
+ def update!(**args)
31224
+ @allowed = args[:allowed] if args.key?(:allowed)
31225
+ @detected_language = args[:detected_language] if args.key?(:detected_language)
31226
+ @detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
31227
+ end
31228
+ end
31229
+
30913
31230
  #
30914
31231
  class LearningGenaiRootMetricOutput
30915
31232
  include Google::Apis::Core::Hashable
@@ -31624,39 +31941,6 @@ module Google
31624
31941
  end
31625
31942
  end
31626
31943
 
31627
- #
31628
- class LearningServingLlmLanguageFilterResult
31629
- include Google::Apis::Core::Hashable
31630
-
31631
- # False when query or response should be filtered out due to unsupported
31632
- # language.
31633
- # Corresponds to the JSON property `allowed`
31634
- # @return [Boolean]
31635
- attr_accessor :allowed
31636
- alias_method :allowed?, :allowed
31637
-
31638
- # Language of the query or response.
31639
- # Corresponds to the JSON property `detectedLanguage`
31640
- # @return [String]
31641
- attr_accessor :detected_language
31642
-
31643
- # Probability of the language predicted as returned by LangID.
31644
- # Corresponds to the JSON property `detectedLanguageProbability`
31645
- # @return [Float]
31646
- attr_accessor :detected_language_probability
31647
-
31648
- def initialize(**args)
31649
- update!(**args)
31650
- end
31651
-
31652
- # Update properties of this object
31653
- def update!(**args)
31654
- @allowed = args[:allowed] if args.key?(:allowed)
31655
- @detected_language = args[:detected_language] if args.key?(:detected_language)
31656
- @detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
31657
- end
31658
- end
31659
-
31660
31944
  # LINT.IfChange This metadata contains additional information required for
31661
31945
  # debugging.
31662
31946
  class LearningServingLlmMessageMetadata
@@ -31695,6 +31979,11 @@ module Google
31695
31979
  # @return [String]
31696
31980
  attr_accessor :finish_reason
31697
31981
 
31982
+ #
31983
+ # Corresponds to the JSON property `groundingMetadata`
31984
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata]
31985
+ attr_accessor :grounding_metadata
31986
+
31698
31987
  # Applies to Response message only. Indicates whether the message is a fallback
31699
31988
  # and the response would have otherwise been empty.
31700
31989
  # Corresponds to the JSON property `isFallback`
@@ -31792,6 +32081,7 @@ module Google
31792
32081
  @filter_meta = args[:filter_meta] if args.key?(:filter_meta)
31793
32082
  @final_message_score = args[:final_message_score] if args.key?(:final_message_score)
31794
32083
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
32084
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
31795
32085
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
31796
32086
  @langid_result = args[:langid_result] if args.key?(:langid_result)
31797
32087
  @language = args[:language] if args.key?(:language)