google-apis-aiplatform_v1beta1 0.15.0 → 0.16.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: 143b3ee08bf31bcca2b12979e1cc039858f8a3c64df489d4a29808b8ec04001c
4
- data.tar.gz: 5e66143293ac610d0880b5d2d3eddfbea2808fe5334c28b05020f53a835eee03
3
+ metadata.gz: 147002404cad44836dd2b53f7e84e45c84ecec050e05a3082d46e9da4b3d30f2
4
+ data.tar.gz: 80b0fdee701eaa5bf64ad8e9214ea64b59cc5fa628d95d0bb9941fbc31944b17
5
5
  SHA512:
6
- metadata.gz: 94899326db0a77f937dba457a2f1c35e0123e69255523825eab23c05105590d3ecb8a0a2bbadb7b92ffa5fbc92fa647cc6897a4f5d0fa99e792293a72c84c2e2
7
- data.tar.gz: fc06236925d7d8cd4f7f9e59b12d0a63427b2397897a0e801aa11aea3d1eb354d83e70f7f208a595ac3a9ca16b5b57cac648f53e147b555406bae52a601d9aa7
6
+ metadata.gz: 412511872fb2664d972bb8bb35d88c4c280d31084acffe482d23e57b78032e3bee501c4354bf37b367c9a04721762cca52fed60eab90784d0bd4bc29a157ec89
7
+ data.tar.gz: 684106f05a18e8a2a8c496a2af64d28e84dd1f729da9bcced1eeb35f3335a8823a0011030dd70488e94f76abee3088a03d4414b03d7e71a42f97055c865fff60
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.16.0 (2024-01-28)
4
+
5
+ * Regenerated from discovery document revision 20240125
6
+ * Regenerated using generator version 0.13.1
7
+
3
8
  ### v0.15.0 (2024-01-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240105
@@ -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)
@@ -830,6 +882,11 @@ module Google
830
882
  # @return [String]
831
883
  attr_accessor :end_offset
832
884
 
885
+ # Internal only fields
886
+ # Corresponds to the JSON property `modelLevelMetaData`
887
+ # @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata]
888
+ attr_accessor :model_level_meta_data
889
+
833
890
  # The start offset of the video.
834
891
  # Corresponds to the JSON property `startOffset`
835
892
  # @return [String]
@@ -842,10 +899,36 @@ module Google
842
899
  # Update properties of this object
843
900
  def update!(**args)
844
901
  @end_offset = args[:end_offset] if args.key?(:end_offset)
902
+ @model_level_meta_data = args[:model_level_meta_data] if args.key?(:model_level_meta_data)
845
903
  @start_offset = args[:start_offset] if args.key?(:start_offset)
846
904
  end
847
905
  end
848
906
 
907
+ # Internal only fields
908
+ class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
909
+ include Google::Apis::Core::Hashable
910
+
911
+ # Frame rate to decode from this video.
912
+ # Corresponds to the JSON property `fps`
913
+ # @return [Float]
914
+ attr_accessor :fps
915
+
916
+ # Number of frames to decode from this video.
917
+ # Corresponds to the JSON property `numFrames`
918
+ # @return [Fixnum]
919
+ attr_accessor :num_frames
920
+
921
+ def initialize(**args)
922
+ update!(**args)
923
+ end
924
+
925
+ # Update properties of this object
926
+ def update!(**args)
927
+ @fps = args[:fps] if args.key?(:fps)
928
+ @num_frames = args[:num_frames] if args.key?(:num_frames)
929
+ end
930
+ end
931
+
849
932
  # Content filter results for a prompt sent in the request.
850
933
  class CloudAiNlLlmProtoServicePromptFeedback
851
934
  include Google::Apis::Core::Hashable
@@ -907,7 +990,7 @@ module Google
907
990
 
908
991
  # Language filter result from SAFT LangId.
909
992
  # Corresponds to the JSON property `languageFilterResult`
910
- # @return [Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult]
993
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult]
911
994
  attr_accessor :language_filter_result
912
995
 
913
996
  # The RAI signals for the text.
@@ -3760,25 +3843,6 @@ module Google
3760
3843
  end
3761
3844
  end
3762
3845
 
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
3846
  # Details of operations that perform create FeatureGroup.
3783
3847
  class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata
3784
3848
  include Google::Apis::Core::Hashable
@@ -4005,6 +4069,11 @@ module Google
4005
4069
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
4006
4070
  attr_accessor :generic_metadata
4007
4071
 
4072
+ # Progress Message for Create LRO
4073
+ # Corresponds to the JSON property `progressMessage`
4074
+ # @return [String]
4075
+ attr_accessor :progress_message
4076
+
4008
4077
  def initialize(**args)
4009
4078
  update!(**args)
4010
4079
  end
@@ -4012,6 +4081,7 @@ module Google
4012
4081
  # Update properties of this object
4013
4082
  def update!(**args)
4014
4083
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
4084
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
4015
4085
  end
4016
4086
  end
4017
4087
 
@@ -4038,6 +4108,13 @@ module Google
4038
4108
  # @return [String]
4039
4109
  attr_accessor :pipeline_job_id
4040
4110
 
4111
+ # Optional. Whether to do component level validations before job creation.
4112
+ # Currently we only support Google First Party Component/Pipelines.
4113
+ # Corresponds to the JSON property `preflightValidations`
4114
+ # @return [Boolean]
4115
+ attr_accessor :preflight_validations
4116
+ alias_method :preflight_validations?, :preflight_validations
4117
+
4041
4118
  def initialize(**args)
4042
4119
  update!(**args)
4043
4120
  end
@@ -4047,6 +4124,7 @@ module Google
4047
4124
  @parent = args[:parent] if args.key?(:parent)
4048
4125
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
4049
4126
  @pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
4127
+ @preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
4050
4128
  end
4051
4129
  end
4052
4130
 
@@ -6779,8 +6857,15 @@ module Google
6779
6857
  # Models that predict multiple outputs, such as multiclass Models that predict
6780
6858
  # multiple classes, each element explains one specific item. Attribution.
6781
6859
  # 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.
6860
+ # explaining. By default, we provide Shapley values for the predicted class.
6861
+ # However, you can configure the explanation request to generate Shapley values
6862
+ # for any other classes too. For example, if a model predicts a probability of `
6863
+ # 0.4` for approving a loan application, the model's decision is to reject the
6864
+ # application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default
6865
+ # Shapley values would be computed for rejection decision and not approval, even
6866
+ # though the latter might be the positive class. If users set
6867
+ # ExplanationParameters.top_k, the attributions are sorted by
6868
+ # instance_output_value in descending order. If ExplanationParameters.
6784
6869
  # output_indices is specified, the attributions are stored by Attribution.
6785
6870
  # output_index in the same order as they appear in the output_indices.
6786
6871
  # Corresponds to the JSON property `attributions`
@@ -10915,6 +11000,12 @@ module Google
10915
11000
  # @return [String]
10916
11001
  attr_accessor :match_grpc_address
10917
11002
 
11003
+ # Output only. PscAutomatedEndpoints is populated if private service connect is
11004
+ # enabled if PscAutomatedConfig is set.
11005
+ # Corresponds to the JSON property `pscAutomatedEndpoints`
11006
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomatedEndpoints>]
11007
+ attr_accessor :psc_automated_endpoints
11008
+
10918
11009
  # Output only. The name of the service attachment resource. Populated if private
10919
11010
  # service connect is enabled.
10920
11011
  # Corresponds to the JSON property `serviceAttachment`
@@ -10928,6 +11019,7 @@ module Google
10928
11019
  # Update properties of this object
10929
11020
  def update!(**args)
10930
11021
  @match_grpc_address = args[:match_grpc_address] if args.key?(:match_grpc_address)
11022
+ @psc_automated_endpoints = args[:psc_automated_endpoints] if args.key?(:psc_automated_endpoints)
10931
11023
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
10932
11024
  end
10933
11025
  end
@@ -16556,6 +16648,11 @@ module Google
16556
16648
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
16557
16649
  include Google::Apis::Core::Hashable
16558
16650
 
16651
+ # The default runtime for the PipelineJob.
16652
+ # Corresponds to the JSON property `defaultRuntime`
16653
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime]
16654
+ attr_accessor :default_runtime
16655
+
16559
16656
  # Represents the failure policy of a pipeline. Currently, the default of a
16560
16657
  # pipeline is that the pipeline will continue to run until no more tasks can be
16561
16658
  # executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
@@ -16606,6 +16703,7 @@ module Google
16606
16703
 
16607
16704
  # Update properties of this object
16608
16705
  def update!(**args)
16706
+ @default_runtime = args[:default_runtime] if args.key?(:default_runtime)
16609
16707
  @failure_policy = args[:failure_policy] if args.key?(:failure_policy)
16610
16708
  @gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
16611
16709
  @input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
@@ -16614,6 +16712,26 @@ module Google
16614
16712
  end
16615
16713
  end
16616
16714
 
16715
+ # The default runtime for the PipelineJob.
16716
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
16717
+ include Google::Apis::Core::Hashable
16718
+
16719
+ # Persistent resource based runtime detail. For more information, refer to https:
16720
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16721
+ # Corresponds to the JSON property `persistentResourceRuntimeDetail`
16722
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
16723
+ attr_accessor :persistent_resource_runtime_detail
16724
+
16725
+ def initialize(**args)
16726
+ update!(**args)
16727
+ end
16728
+
16729
+ # Update properties of this object
16730
+ def update!(**args)
16731
+ @persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
16732
+ end
16733
+ end
16734
+
16617
16735
  # The type of an input artifact.
16618
16736
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
16619
16737
  include Google::Apis::Core::Hashable
@@ -16636,6 +16754,27 @@ module Google
16636
16754
  end
16637
16755
  end
16638
16756
 
16757
+ # Persistent resource based runtime detail. For more information, refer to https:
16758
+ # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16759
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
16760
+ include Google::Apis::Core::Hashable
16761
+
16762
+ # Persistent resource name. Format: `projects/`project`/locations/`location`/
16763
+ # persistentResources/`persistent_resource``
16764
+ # Corresponds to the JSON property `persistentResourceName`
16765
+ # @return [String]
16766
+ attr_accessor :persistent_resource_name
16767
+
16768
+ def initialize(**args)
16769
+ update!(**args)
16770
+ end
16771
+
16772
+ # Update properties of this object
16773
+ def update!(**args)
16774
+ @persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
16775
+ end
16776
+ end
16777
+
16639
16778
  # The runtime detail of a task execution.
16640
16779
  class GoogleCloudAiplatformV1beta1PipelineTaskDetail
16641
16780
  include Google::Apis::Core::Hashable
@@ -17285,6 +17424,38 @@ module Google
17285
17424
  end
17286
17425
  end
17287
17426
 
17427
+ # PscAutomatedEndpoints defines the output of the forwarding rule automatically
17428
+ # created by each PscAutomationConfig.
17429
+ class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
17430
+ include Google::Apis::Core::Hashable
17431
+
17432
+ # Ip Address created by the automated forwarding rule.
17433
+ # Corresponds to the JSON property `matchAddress`
17434
+ # @return [String]
17435
+ attr_accessor :match_address
17436
+
17437
+ # Corresponding network in pscAutomationConfigs.
17438
+ # Corresponds to the JSON property `network`
17439
+ # @return [String]
17440
+ attr_accessor :network
17441
+
17442
+ # Corresponding project_id in pscAutomationConfigs
17443
+ # Corresponds to the JSON property `projectId`
17444
+ # @return [String]
17445
+ attr_accessor :project_id
17446
+
17447
+ def initialize(**args)
17448
+ update!(**args)
17449
+ end
17450
+
17451
+ # Update properties of this object
17452
+ def update!(**args)
17453
+ @match_address = args[:match_address] if args.key?(:match_address)
17454
+ @network = args[:network] if args.key?(:network)
17455
+ @project_id = args[:project_id] if args.key?(:project_id)
17456
+ end
17457
+ end
17458
+
17288
17459
  # A Model Garden Publisher Model.
17289
17460
  class GoogleCloudAiplatformV1beta1PublisherModel
17290
17461
  include Google::Apis::Core::Hashable
@@ -18560,8 +18731,7 @@ module Google
18560
18731
  end
18561
18732
  end
18562
18733
 
18563
- # LINT.IfChange(report_event_message_types) Request message for
18564
- # NotebookInternalService.ReportRuntimeEvent.
18734
+ # Request message for NotebookInternalService.ReportRuntimeEvent.
18565
18735
  class GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest
18566
18736
  include Google::Apis::Core::Hashable
18567
18737
 
@@ -28339,6 +28509,11 @@ module Google
28339
28509
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
28340
28510
  attr_accessor :generic_metadata
28341
28511
 
28512
+ # Progress Message for Update LRO
28513
+ # Corresponds to the JSON property `progressMessage`
28514
+ # @return [String]
28515
+ attr_accessor :progress_message
28516
+
28342
28517
  def initialize(**args)
28343
28518
  update!(**args)
28344
28519
  end
@@ -28346,6 +28521,7 @@ module Google
28346
28521
  # Update properties of this object
28347
28522
  def update!(**args)
28348
28523
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
28524
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
28349
28525
  end
28350
28526
  end
28351
28527
 
@@ -29032,7 +29208,10 @@ module Google
29032
29208
  attr_accessor :members
29033
29209
 
29034
29210
  # Role that is assigned to the list of `members`, or principals. For example, `
29035
- # roles/viewer`, `roles/editor`, or `roles/owner`.
29211
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
29212
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
29213
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
29214
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
29036
29215
  # Corresponds to the JSON property `role`
29037
29216
  # @return [String]
29038
29217
  attr_accessor :role
@@ -29761,7 +29940,7 @@ module Google
29761
29940
  # fields are most applicable for that document's datasource. For example, a
29762
29941
  # Wikipedia article's attribution is in the form of its article title, a website
29763
29942
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
29764
- # id:28
29943
+ # id: 30
29765
29944
  class LanguageLabsAidaTrustRecitationProtoDocAttribution
29766
29945
  include Google::Apis::Core::Hashable
29767
29946
 
@@ -29785,6 +29964,12 @@ module Google
29785
29964
  # @return [String]
29786
29965
  attr_accessor :bibkey
29787
29966
 
29967
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
29968
+ # 1101/343517
29969
+ # Corresponds to the JSON property `biorxivId`
29970
+ # @return [String]
29971
+ attr_accessor :biorxiv_id
29972
+
29788
29973
  #
29789
29974
  # Corresponds to the JSON property `bookTitle`
29790
29975
  # @return [String]
@@ -29925,6 +30110,11 @@ module Google
29925
30110
  # @return [String]
29926
30111
  attr_accessor :wikipedia_article_title
29927
30112
 
30113
+ # The unique video id from Youtube. Example: AkoGsW52Ir0
30114
+ # Corresponds to the JSON property `youtubeVideoId`
30115
+ # @return [String]
30116
+ attr_accessor :youtube_video_id
30117
+
29928
30118
  def initialize(**args)
29929
30119
  update!(**args)
29930
30120
  end
@@ -29935,6 +30125,7 @@ module Google
29935
30125
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
29936
30126
  @author = args[:author] if args.key?(:author)
29937
30127
  @bibkey = args[:bibkey] if args.key?(:bibkey)
30128
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
29938
30129
  @book_title = args[:book_title] if args.key?(:book_title)
29939
30130
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
29940
30131
  @category = args[:category] if args.key?(:category)
@@ -29958,6 +30149,7 @@ module Google
29958
30149
  @url = args[:url] if args.key?(:url)
29959
30150
  @volume_id = args[:volume_id] if args.key?(:volume_id)
29960
30151
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
30152
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
29961
30153
  end
29962
30154
  end
29963
30155
 
@@ -30013,7 +30205,7 @@ module Google
30013
30205
  # fields are most applicable for that document's datasource. For example, a
30014
30206
  # Wikipedia article's attribution is in the form of its article title, a website
30015
30207
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30016
- # id:28
30208
+ # id: 30
30017
30209
  # Corresponds to the JSON property `docAttribution`
30018
30210
  # @return [Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoDocAttribution]
30019
30211
  attr_accessor :doc_attribution
@@ -30108,7 +30300,7 @@ module Google
30108
30300
  # fields are most applicable for that document's datasource. For example, a
30109
30301
  # Wikipedia article's attribution is in the form of its article title, a website
30110
30302
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30111
- # id: 28
30303
+ # id: 30
30112
30304
  class LearningGenaiRecitationDocAttribution
30113
30305
  include Google::Apis::Core::Hashable
30114
30306
 
@@ -30132,6 +30324,12 @@ module Google
30132
30324
  # @return [String]
30133
30325
  attr_accessor :bibkey
30134
30326
 
30327
+ # ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
30328
+ # 1101/343517
30329
+ # Corresponds to the JSON property `biorxivId`
30330
+ # @return [String]
30331
+ attr_accessor :biorxiv_id
30332
+
30135
30333
  #
30136
30334
  # Corresponds to the JSON property `bookTitle`
30137
30335
  # @return [String]
@@ -30267,6 +30465,11 @@ module Google
30267
30465
  # @return [String]
30268
30466
  attr_accessor :wikipedia_article_title
30269
30467
 
30468
+ #
30469
+ # Corresponds to the JSON property `youtubeVideoId`
30470
+ # @return [String]
30471
+ attr_accessor :youtube_video_id
30472
+
30270
30473
  def initialize(**args)
30271
30474
  update!(**args)
30272
30475
  end
@@ -30277,6 +30480,7 @@ module Google
30277
30480
  @arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
30278
30481
  @author = args[:author] if args.key?(:author)
30279
30482
  @bibkey = args[:bibkey] if args.key?(:bibkey)
30483
+ @biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
30280
30484
  @book_title = args[:book_title] if args.key?(:book_title)
30281
30485
  @book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
30282
30486
  @conversation_id = args[:conversation_id] if args.key?(:conversation_id)
@@ -30299,6 +30503,7 @@ module Google
30299
30503
  @url = args[:url] if args.key?(:url)
30300
30504
  @volume_id = args[:volume_id] if args.key?(:volume_id)
30301
30505
  @wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
30506
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
30302
30507
  end
30303
30508
  end
30304
30509
 
@@ -30354,7 +30559,7 @@ module Google
30354
30559
  # fields are most applicable for that document's datasource. For example, a
30355
30560
  # Wikipedia article's attribution is in the form of its article title, a website
30356
30561
  # is in the form of a URL, and a Github repo is in the form of a repo name. Next
30357
- # id: 28
30562
+ # id: 30
30358
30563
  # Corresponds to the JSON property `docAttribution`
30359
30564
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRecitationDocAttribution]
30360
30565
  attr_accessor :doc_attribution
@@ -30621,7 +30826,7 @@ module Google
30621
30826
 
30622
30827
  #
30623
30828
  # Corresponds to the JSON property `languageFilterResult`
30624
- # @return [Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult]
30829
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult]
30625
30830
  attr_accessor :language_filter_result
30626
30831
 
30627
30832
  # This is per harm.
@@ -30673,6 +30878,79 @@ module Google
30673
30878
  end
30674
30879
  end
30675
30880
 
30881
+ #
30882
+ class LearningGenaiRootGroundingMetadata
30883
+ include Google::Apis::Core::Hashable
30884
+
30885
+ #
30886
+ # Corresponds to the JSON property `citations`
30887
+ # @return [Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation>]
30888
+ attr_accessor :citations
30889
+
30890
+ # True if grounding is cancelled, for example, no facts being retrieved.
30891
+ # Corresponds to the JSON property `groundingCancelled`
30892
+ # @return [Boolean]
30893
+ attr_accessor :grounding_cancelled
30894
+ alias_method :grounding_cancelled?, :grounding_cancelled
30895
+
30896
+ #
30897
+ # Corresponds to the JSON property `searchQueries`
30898
+ # @return [Array<String>]
30899
+ attr_accessor :search_queries
30900
+
30901
+ def initialize(**args)
30902
+ update!(**args)
30903
+ end
30904
+
30905
+ # Update properties of this object
30906
+ def update!(**args)
30907
+ @citations = args[:citations] if args.key?(:citations)
30908
+ @grounding_cancelled = args[:grounding_cancelled] if args.key?(:grounding_cancelled)
30909
+ @search_queries = args[:search_queries] if args.key?(:search_queries)
30910
+ end
30911
+ end
30912
+
30913
+ #
30914
+ class LearningGenaiRootGroundingMetadataCitation
30915
+ include Google::Apis::Core::Hashable
30916
+
30917
+ # Index in the prediction output where the citation ends (exclusive). Must be >
30918
+ # start_index and < len(output).
30919
+ # Corresponds to the JSON property `endIndex`
30920
+ # @return [Fixnum]
30921
+ attr_accessor :end_index
30922
+
30923
+ # Index of the fact supporting this claim. Should be within the range of the `
30924
+ # world_facts` in the GenerateResponse.
30925
+ # Corresponds to the JSON property `factIndex`
30926
+ # @return [Fixnum]
30927
+ attr_accessor :fact_index
30928
+
30929
+ # Confidence score of this entailment. Value is [0,1] with 1 is the most
30930
+ # confidence.
30931
+ # Corresponds to the JSON property `score`
30932
+ # @return [Float]
30933
+ attr_accessor :score
30934
+
30935
+ # Index in the prediction output where the citation starts (inclusive). Must be >
30936
+ # = 0 and < end_index.
30937
+ # Corresponds to the JSON property `startIndex`
30938
+ # @return [Fixnum]
30939
+ attr_accessor :start_index
30940
+
30941
+ def initialize(**args)
30942
+ update!(**args)
30943
+ end
30944
+
30945
+ # Update properties of this object
30946
+ def update!(**args)
30947
+ @end_index = args[:end_index] if args.key?(:end_index)
30948
+ @fact_index = args[:fact_index] if args.key?(:fact_index)
30949
+ @score = args[:score] if args.key?(:score)
30950
+ @start_index = args[:start_index] if args.key?(:start_index)
30951
+ end
30952
+ end
30953
+
30676
30954
  #
30677
30955
  class LearningGenaiRootHarm
30678
30956
  include Google::Apis::Core::Hashable
@@ -30910,6 +31188,39 @@ module Google
30910
31188
  end
30911
31189
  end
30912
31190
 
31191
+ #
31192
+ class LearningGenaiRootLanguageFilterResult
31193
+ include Google::Apis::Core::Hashable
31194
+
31195
+ # False when query or response should be filtered out due to unsupported
31196
+ # language.
31197
+ # Corresponds to the JSON property `allowed`
31198
+ # @return [Boolean]
31199
+ attr_accessor :allowed
31200
+ alias_method :allowed?, :allowed
31201
+
31202
+ # Language of the query or response.
31203
+ # Corresponds to the JSON property `detectedLanguage`
31204
+ # @return [String]
31205
+ attr_accessor :detected_language
31206
+
31207
+ # Probability of the language predicted as returned by LangID.
31208
+ # Corresponds to the JSON property `detectedLanguageProbability`
31209
+ # @return [Float]
31210
+ attr_accessor :detected_language_probability
31211
+
31212
+ def initialize(**args)
31213
+ update!(**args)
31214
+ end
31215
+
31216
+ # Update properties of this object
31217
+ def update!(**args)
31218
+ @allowed = args[:allowed] if args.key?(:allowed)
31219
+ @detected_language = args[:detected_language] if args.key?(:detected_language)
31220
+ @detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
31221
+ end
31222
+ end
31223
+
30913
31224
  #
30914
31225
  class LearningGenaiRootMetricOutput
30915
31226
  include Google::Apis::Core::Hashable
@@ -31624,39 +31935,6 @@ module Google
31624
31935
  end
31625
31936
  end
31626
31937
 
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
31938
  # LINT.IfChange This metadata contains additional information required for
31661
31939
  # debugging.
31662
31940
  class LearningServingLlmMessageMetadata
@@ -31695,6 +31973,11 @@ module Google
31695
31973
  # @return [String]
31696
31974
  attr_accessor :finish_reason
31697
31975
 
31976
+ #
31977
+ # Corresponds to the JSON property `groundingMetadata`
31978
+ # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata]
31979
+ attr_accessor :grounding_metadata
31980
+
31698
31981
  # Applies to Response message only. Indicates whether the message is a fallback
31699
31982
  # and the response would have otherwise been empty.
31700
31983
  # Corresponds to the JSON property `isFallback`
@@ -31792,6 +32075,7 @@ module Google
31792
32075
  @filter_meta = args[:filter_meta] if args.key?(:filter_meta)
31793
32076
  @final_message_score = args[:final_message_score] if args.key?(:final_message_score)
31794
32077
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
32078
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
31795
32079
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
31796
32080
  @langid_result = args[:langid_result] if args.key?(:langid_result)
31797
32081
  @language = args[:language] if args.key?(:language)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240105"
25
+ REVISION = "20240125"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class CloudAiNlLlmProtoServiceFact
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class CloudAiNlLlmProtoServiceFunctionCall
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class CloudAiNlLlmProtoServicePromptFeedback
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -730,12 +742,6 @@ module Google
730
742
  include Google::Apis::Core::JsonObjectSupport
731
743
  end
732
744
 
733
- class GoogleCloudAiplatformV1beta1CreateExtensionDeploymentOperationMetadata
734
- class Representation < Google::Apis::Core::JsonRepresentation; end
735
-
736
- include Google::Apis::Core::JsonObjectSupport
737
- end
738
-
739
745
  class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata
740
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
747
 
@@ -2746,12 +2752,24 @@ module Google
2746
2752
  include Google::Apis::Core::JsonObjectSupport
2747
2753
  end
2748
2754
 
2755
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
2756
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2757
+
2758
+ include Google::Apis::Core::JsonObjectSupport
2759
+ end
2760
+
2749
2761
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
2750
2762
  class Representation < Google::Apis::Core::JsonRepresentation; end
2751
2763
 
2752
2764
  include Google::Apis::Core::JsonObjectSupport
2753
2765
  end
2754
2766
 
2767
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
2768
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2769
+
2770
+ include Google::Apis::Core::JsonObjectSupport
2771
+ end
2772
+
2755
2773
  class GoogleCloudAiplatformV1beta1PipelineTaskDetail
2756
2774
  class Representation < Google::Apis::Core::JsonRepresentation; end
2757
2775
 
@@ -2860,6 +2878,12 @@ module Google
2860
2878
  include Google::Apis::Core::JsonObjectSupport
2861
2879
  end
2862
2880
 
2881
+ class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
2882
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2883
+
2884
+ include Google::Apis::Core::JsonObjectSupport
2885
+ end
2886
+
2863
2887
  class GoogleCloudAiplatformV1beta1PublisherModel
2864
2888
  class Representation < Google::Apis::Core::JsonRepresentation; end
2865
2889
 
@@ -5062,6 +5086,18 @@ module Google
5062
5086
  include Google::Apis::Core::JsonObjectSupport
5063
5087
  end
5064
5088
 
5089
+ class LearningGenaiRootGroundingMetadata
5090
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5091
+
5092
+ include Google::Apis::Core::JsonObjectSupport
5093
+ end
5094
+
5095
+ class LearningGenaiRootGroundingMetadataCitation
5096
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5097
+
5098
+ include Google::Apis::Core::JsonObjectSupport
5099
+ end
5100
+
5065
5101
  class LearningGenaiRootHarm
5066
5102
  class Representation < Google::Apis::Core::JsonRepresentation; end
5067
5103
 
@@ -5098,6 +5134,12 @@ module Google
5098
5134
  include Google::Apis::Core::JsonObjectSupport
5099
5135
  end
5100
5136
 
5137
+ class LearningGenaiRootLanguageFilterResult
5138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5139
+
5140
+ include Google::Apis::Core::JsonObjectSupport
5141
+ end
5142
+
5101
5143
  class LearningGenaiRootMetricOutput
5102
5144
  class Representation < Google::Apis::Core::JsonRepresentation; end
5103
5145
 
@@ -5242,12 +5284,6 @@ module Google
5242
5284
  include Google::Apis::Core::JsonObjectSupport
5243
5285
  end
5244
5286
 
5245
- class LearningServingLlmLanguageFilterResult
5246
- class Representation < Google::Apis::Core::JsonRepresentation; end
5247
-
5248
- include Google::Apis::Core::JsonObjectSupport
5249
- end
5250
-
5251
5287
  class LearningServingLlmMessageMetadata
5252
5288
  class Representation < Google::Apis::Core::JsonRepresentation; end
5253
5289
 
@@ -5437,6 +5473,8 @@ module Google
5437
5473
 
5438
5474
  property :finish_message, as: 'finishMessage'
5439
5475
  property :finish_reason, as: 'finishReason'
5476
+ property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata::Representation
5477
+
5440
5478
  property :index, as: 'index'
5441
5479
  collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating::Representation
5442
5480
 
@@ -5473,6 +5511,16 @@ module Google
5473
5511
  end
5474
5512
  end
5475
5513
 
5514
+ class CloudAiNlLlmProtoServiceFact
5515
+ # @private
5516
+ class Representation < Google::Apis::Core::JsonRepresentation
5517
+ property :query, as: 'query'
5518
+ property :summary, as: 'summary'
5519
+ property :title, as: 'title'
5520
+ property :url, as: 'url'
5521
+ end
5522
+ end
5523
+
5476
5524
  class CloudAiNlLlmProtoServiceFunctionCall
5477
5525
  # @private
5478
5526
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5496,6 +5544,8 @@ module Google
5496
5544
 
5497
5545
  property :debug_metadata, as: 'debugMetadata', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceMessageMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceMessageMetadata::Representation
5498
5546
 
5547
+ collection :facts, as: 'facts', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFact, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFact::Representation
5548
+
5499
5549
  property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePromptFeedback, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePromptFeedback::Representation
5500
5550
 
5501
5551
  property :reporting_metrics, as: 'reportingMetrics', class: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsReportingMetrics, decorator: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsReportingMetrics::Representation
@@ -5556,10 +5606,20 @@ module Google
5556
5606
  # @private
5557
5607
  class Representation < Google::Apis::Core::JsonRepresentation
5558
5608
  property :end_offset, as: 'endOffset'
5609
+ property :model_level_meta_data, as: 'modelLevelMetaData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata::Representation
5610
+
5559
5611
  property :start_offset, as: 'startOffset'
5560
5612
  end
5561
5613
  end
5562
5614
 
5615
+ class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
5616
+ # @private
5617
+ class Representation < Google::Apis::Core::JsonRepresentation
5618
+ property :fps, as: 'fps'
5619
+ property :num_frames, as: 'numFrames'
5620
+ end
5621
+ end
5622
+
5563
5623
  class CloudAiNlLlmProtoServicePromptFeedback
5564
5624
  # @private
5565
5625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5578,7 +5638,7 @@ module Google
5578
5638
  property :blocked, as: 'blocked'
5579
5639
  collection :error_codes, as: 'errorCodes'
5580
5640
  property :filtered, as: 'filtered'
5581
- property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult, decorator: Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult::Representation
5641
+ property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult::Representation
5582
5642
 
5583
5643
  collection :rai_signals, as: 'raiSignals', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignal::Representation
5584
5644
 
@@ -6418,14 +6478,6 @@ module Google
6418
6478
  end
6419
6479
  end
6420
6480
 
6421
- class GoogleCloudAiplatformV1beta1CreateExtensionDeploymentOperationMetadata
6422
- # @private
6423
- class Representation < Google::Apis::Core::JsonRepresentation
6424
- property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
6425
-
6426
- end
6427
- end
6428
-
6429
6481
  class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata
6430
6482
  # @private
6431
6483
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6515,6 +6567,7 @@ module Google
6515
6567
  class Representation < Google::Apis::Core::JsonRepresentation
6516
6568
  property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
6517
6569
 
6570
+ property :progress_message, as: 'progressMessage'
6518
6571
  end
6519
6572
  end
6520
6573
 
@@ -6525,6 +6578,7 @@ module Google
6525
6578
  property :pipeline_job, as: 'pipelineJob', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob::Representation
6526
6579
 
6527
6580
  property :pipeline_job_id, as: 'pipelineJobId'
6581
+ property :preflight_validations, as: 'preflightValidations'
6528
6582
  end
6529
6583
  end
6530
6584
 
@@ -8361,6 +8415,8 @@ module Google
8361
8415
  # @private
8362
8416
  class Representation < Google::Apis::Core::JsonRepresentation
8363
8417
  property :match_grpc_address, as: 'matchGrpcAddress'
8418
+ collection :psc_automated_endpoints, as: 'pscAutomatedEndpoints', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomatedEndpoints, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomatedEndpoints::Representation
8419
+
8364
8420
  property :service_attachment, as: 'serviceAttachment'
8365
8421
  end
8366
8422
  end
@@ -9938,6 +9994,8 @@ module Google
9938
9994
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
9939
9995
  # @private
9940
9996
  class Representation < Google::Apis::Core::JsonRepresentation
9997
+ property :default_runtime, as: 'defaultRuntime', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime::Representation
9998
+
9941
9999
  property :failure_policy, as: 'failurePolicy'
9942
10000
  property :gcs_output_directory, as: 'gcsOutputDirectory'
9943
10001
  hash :input_artifacts, as: 'inputArtifacts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact::Representation
@@ -9948,6 +10006,14 @@ module Google
9948
10006
  end
9949
10007
  end
9950
10008
 
10009
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
10010
+ # @private
10011
+ class Representation < Google::Apis::Core::JsonRepresentation
10012
+ property :persistent_resource_runtime_detail, as: 'persistentResourceRuntimeDetail', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail::Representation
10013
+
10014
+ end
10015
+ end
10016
+
9951
10017
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
9952
10018
  # @private
9953
10019
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9955,6 +10021,13 @@ module Google
9955
10021
  end
9956
10022
  end
9957
10023
 
10024
+ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
10025
+ # @private
10026
+ class Representation < Google::Apis::Core::JsonRepresentation
10027
+ property :persistent_resource_name, as: 'persistentResourceName'
10028
+ end
10029
+ end
10030
+
9958
10031
  class GoogleCloudAiplatformV1beta1PipelineTaskDetail
9959
10032
  # @private
9960
10033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10129,6 +10202,15 @@ module Google
10129
10202
  end
10130
10203
  end
10131
10204
 
10205
+ class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
10206
+ # @private
10207
+ class Representation < Google::Apis::Core::JsonRepresentation
10208
+ property :match_address, as: 'matchAddress'
10209
+ property :network, as: 'network'
10210
+ property :project_id, as: 'projectId'
10211
+ end
10212
+ end
10213
+
10132
10214
  class GoogleCloudAiplatformV1beta1PublisherModel
10133
10215
  # @private
10134
10216
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13166,6 +13248,7 @@ module Google
13166
13248
  class Representation < Google::Apis::Core::JsonRepresentation
13167
13249
  property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
13168
13250
 
13251
+ property :progress_message, as: 'progressMessage'
13169
13252
  end
13170
13253
  end
13171
13254
 
@@ -13543,6 +13626,7 @@ module Google
13543
13626
  property :arxiv_id, as: 'arxivId'
13544
13627
  property :author, as: 'author'
13545
13628
  property :bibkey, as: 'bibkey'
13629
+ property :biorxiv_id, as: 'biorxivId'
13546
13630
  property :book_title, as: 'bookTitle'
13547
13631
  property :book_volume_id, :numeric_string => true, as: 'bookVolumeId'
13548
13632
  property :category, as: 'category'
@@ -13567,6 +13651,7 @@ module Google
13567
13651
  property :url, as: 'url'
13568
13652
  property :volume_id, as: 'volumeId'
13569
13653
  property :wikipedia_article_title, as: 'wikipediaArticleTitle'
13654
+ property :youtube_video_id, as: 'youtubeVideoId'
13570
13655
  end
13571
13656
  end
13572
13657
 
@@ -13615,6 +13700,7 @@ module Google
13615
13700
  property :arxiv_id, as: 'arxivId'
13616
13701
  property :author, as: 'author'
13617
13702
  property :bibkey, as: 'bibkey'
13703
+ property :biorxiv_id, as: 'biorxivId'
13618
13704
  property :book_title, as: 'bookTitle'
13619
13705
  property :book_volume_id, :numeric_string => true, as: 'bookVolumeId'
13620
13706
  property :conversation_id, as: 'conversationId'
@@ -13638,6 +13724,7 @@ module Google
13638
13724
  property :url, as: 'url'
13639
13725
  property :volume_id, as: 'volumeId'
13640
13726
  property :wikipedia_article_title, as: 'wikipediaArticleTitle'
13727
+ property :youtube_video_id, as: 'youtubeVideoId'
13641
13728
  end
13642
13729
  end
13643
13730
 
@@ -13738,7 +13825,7 @@ module Google
13738
13825
  property :classifier_output, as: 'classifierOutput', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutput, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutput::Representation
13739
13826
 
13740
13827
  property :default_metadata, as: 'defaultMetadata'
13741
- property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult, decorator: Google::Apis::AiplatformV1beta1::LearningServingLlmLanguageFilterResult::Representation
13828
+ property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootLanguageFilterResult::Representation
13742
13829
 
13743
13830
  property :rai_output, as: 'raiOutput', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootRaiOutput, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootRaiOutput::Representation
13744
13831
 
@@ -13755,6 +13842,26 @@ module Google
13755
13842
  end
13756
13843
  end
13757
13844
 
13845
+ class LearningGenaiRootGroundingMetadata
13846
+ # @private
13847
+ class Representation < Google::Apis::Core::JsonRepresentation
13848
+ collection :citations, as: 'citations', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation::Representation
13849
+
13850
+ property :grounding_cancelled, as: 'groundingCancelled'
13851
+ collection :search_queries, as: 'searchQueries'
13852
+ end
13853
+ end
13854
+
13855
+ class LearningGenaiRootGroundingMetadataCitation
13856
+ # @private
13857
+ class Representation < Google::Apis::Core::JsonRepresentation
13858
+ property :end_index, as: 'endIndex'
13859
+ property :fact_index, as: 'factIndex'
13860
+ property :score, as: 'score'
13861
+ property :start_index, as: 'startIndex'
13862
+ end
13863
+ end
13864
+
13758
13865
  class LearningGenaiRootHarm
13759
13866
  # @private
13760
13867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13820,6 +13927,15 @@ module Google
13820
13927
  end
13821
13928
  end
13822
13929
 
13930
+ class LearningGenaiRootLanguageFilterResult
13931
+ # @private
13932
+ class Representation < Google::Apis::Core::JsonRepresentation
13933
+ property :allowed, as: 'allowed'
13934
+ property :detected_language, as: 'detectedLanguage'
13935
+ property :detected_language_probability, as: 'detectedLanguageProbability'
13936
+ end
13937
+ end
13938
+
13823
13939
  class LearningGenaiRootMetricOutput
13824
13940
  # @private
13825
13941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14049,15 +14165,6 @@ module Google
14049
14165
  end
14050
14166
  end
14051
14167
 
14052
- class LearningServingLlmLanguageFilterResult
14053
- # @private
14054
- class Representation < Google::Apis::Core::JsonRepresentation
14055
- property :allowed, as: 'allowed'
14056
- property :detected_language, as: 'detectedLanguage'
14057
- property :detected_language_probability, as: 'detectedLanguageProbability'
14058
- end
14059
- end
14060
-
14061
14168
  class LearningServingLlmMessageMetadata
14062
14169
  # @private
14063
14170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14070,6 +14177,8 @@ module Google
14070
14177
  property :final_message_score, as: 'finalMessageScore', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootScore, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootScore::Representation
14071
14178
 
14072
14179
  property :finish_reason, as: 'finishReason'
14180
+ property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata::Representation
14181
+
14073
14182
  property :is_fallback, as: 'isFallback'
14074
14183
  property :langid_result, as: 'langidResult', class: Google::Apis::AiplatformV1beta1::NlpSaftLangIdResult, decorator: Google::Apis::AiplatformV1beta1::NlpSaftLangIdResult::Representation
14075
14184
 
@@ -5642,7 +5642,7 @@ module Google
5642
5642
  # Creates a new FeatureOnlineStore in a given project and location.
5643
5643
  # @param [String] parent
5644
5644
  # Required. The resource name of the Location to create FeatureOnlineStores.
5645
- # Format: `projects/`project`/locations/`location`'`
5645
+ # Format: `projects/`project`/locations/`location``
5646
5646
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore] google_cloud_aiplatform_v1beta1_feature_online_store_object
5647
5647
  # @param [String] feature_online_store_id
5648
5648
  # Required. The ID to use for this FeatureOnlineStore, which will become the
@@ -15434,6 +15434,9 @@ module Google
15434
15434
  # the PipelineJob name. If not provided, an ID will be automatically generated.
15435
15435
  # This value should be less than 128 characters, and valid characters are `/a-z-/
15436
15436
  # `.
15437
+ # @param [Boolean] preflight_validations
15438
+ # Optional. Whether to do component level validations before job creation.
15439
+ # Currently we only support Google First Party Component/Pipelines.
15437
15440
  # @param [String] fields
15438
15441
  # Selector specifying which fields to include in a partial response.
15439
15442
  # @param [String] quota_user
@@ -15451,7 +15454,7 @@ module Google
15451
15454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15452
15455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15453
15456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15454
- def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
15457
+ def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil, preflight_validations: nil, fields: nil, quota_user: nil, options: nil, &block)
15455
15458
  command = make_simple_command(:post, 'v1beta1/{+parent}/pipelineJobs', options)
15456
15459
  command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob::Representation
15457
15460
  command.request_object = google_cloud_aiplatform_v1beta1_pipeline_job_object
@@ -15459,6 +15462,7 @@ module Google
15459
15462
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob
15460
15463
  command.params['parent'] = parent unless parent.nil?
15461
15464
  command.query['pipelineJobId'] = pipeline_job_id unless pipeline_job_id.nil?
15465
+ command.query['preflightValidations'] = preflight_validations unless preflight_validations.nil?
15462
15466
  command.query['fields'] = fields unless fields.nil?
15463
15467
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15464
15468
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-01-23 00:00:00.000000000 Z
11
+ date: 2024-01-28 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []