google-apis-aiplatform_v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa723232bdff8b241382d63b870acba61602b4dad100c7fe13311a554d56503
|
4
|
+
data.tar.gz: 13cd3b2a7aeba92a8181b76f1e5f44a44eb09a74150f7f451284ad6137690f79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d7d77bf3230f5a90cea1248e571708cc3cb493db5365c0a58504590326c316cfba4fcef634dffdbed8b303a59b822bec0cdf366921c8003d6862be5d5e50a76
|
7
|
+
data.tar.gz: 6c24bf11183e2b2411687b9214ec4b6d56e2db3a5d3ba1717fd58cd2a379b8a37f6560f74f81055cf4ccc53ceb2a5ce7e424680ff8140b239132e31c0290837d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2024-01-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240125
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.11.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::AiplatformV1::LearningGenaiRootGroundingMetadata]
|
470
|
+
attr_accessor :grounding_metadata
|
471
|
+
|
466
472
|
# Index of the candidate.
|
467
473
|
# Corresponds to the JSON property `index`
|
468
474
|
# @return [Fixnum]
|
@@ -483,6 +489,7 @@ module Google
|
|
483
489
|
@content = args[:content] if args.key?(:content)
|
484
490
|
@finish_message = args[:finish_message] if args.key?(:finish_message)
|
485
491
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
492
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
486
493
|
@index = args[:index] if args.key?(:index)
|
487
494
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
488
495
|
end
|
@@ -588,6 +595,45 @@ module Google
|
|
588
595
|
end
|
589
596
|
end
|
590
597
|
|
598
|
+
# A condense version of WorldFact (assistant/boq/lamda/factuality/proto/
|
599
|
+
# factuality.proto) to propagate the essential information about the fact used
|
600
|
+
# in factuality to the upstream caller.
|
601
|
+
class CloudAiNlLlmProtoServiceFact
|
602
|
+
include Google::Apis::Core::Hashable
|
603
|
+
|
604
|
+
# Query that is used to retrieve this fact.
|
605
|
+
# Corresponds to the JSON property `query`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :query
|
608
|
+
|
609
|
+
# If present, the summary/snippet of the fact.
|
610
|
+
# Corresponds to the JSON property `summary`
|
611
|
+
# @return [String]
|
612
|
+
attr_accessor :summary
|
613
|
+
|
614
|
+
# If present, it refers to the title of this fact.
|
615
|
+
# Corresponds to the JSON property `title`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :title
|
618
|
+
|
619
|
+
# If present, this URL links to the webpage of the fact.
|
620
|
+
# Corresponds to the JSON property `url`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :url
|
623
|
+
|
624
|
+
def initialize(**args)
|
625
|
+
update!(**args)
|
626
|
+
end
|
627
|
+
|
628
|
+
# Update properties of this object
|
629
|
+
def update!(**args)
|
630
|
+
@query = args[:query] if args.key?(:query)
|
631
|
+
@summary = args[:summary] if args.key?(:summary)
|
632
|
+
@title = args[:title] if args.key?(:title)
|
633
|
+
@url = args[:url] if args.key?(:url)
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
591
637
|
# Function call details.
|
592
638
|
class CloudAiNlLlmProtoServiceFunctionCall
|
593
639
|
include Google::Apis::Core::Hashable
|
@@ -653,6 +699,11 @@ module Google
|
|
653
699
|
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata]
|
654
700
|
attr_accessor :debug_metadata
|
655
701
|
|
702
|
+
# External facts retrieved for factuality/grounding.
|
703
|
+
# Corresponds to the JSON property `facts`
|
704
|
+
# @return [Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact>]
|
705
|
+
attr_accessor :facts
|
706
|
+
|
656
707
|
# Content filter results for a prompt sent in the request.
|
657
708
|
# Corresponds to the JSON property `promptFeedback`
|
658
709
|
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback]
|
@@ -676,6 +727,7 @@ module Google
|
|
676
727
|
def update!(**args)
|
677
728
|
@candidates = args[:candidates] if args.key?(:candidates)
|
678
729
|
@debug_metadata = args[:debug_metadata] if args.key?(:debug_metadata)
|
730
|
+
@facts = args[:facts] if args.key?(:facts)
|
679
731
|
@prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
|
680
732
|
@reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics)
|
681
733
|
@usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
|
@@ -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::AiplatformV1::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::AiplatformV1::
|
993
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult]
|
911
994
|
attr_accessor :language_filter_result
|
912
995
|
|
913
996
|
# The RAI signals for the text.
|
@@ -3878,6 +3961,13 @@ module Google
|
|
3878
3961
|
# @return [String]
|
3879
3962
|
attr_accessor :pipeline_job_id
|
3880
3963
|
|
3964
|
+
# Optional. Whether to do component level validations before job creation.
|
3965
|
+
# Currently we only support Google First Party Component/Pipelines.
|
3966
|
+
# Corresponds to the JSON property `preflightValidations`
|
3967
|
+
# @return [Boolean]
|
3968
|
+
attr_accessor :preflight_validations
|
3969
|
+
alias_method :preflight_validations?, :preflight_validations
|
3970
|
+
|
3881
3971
|
def initialize(**args)
|
3882
3972
|
update!(**args)
|
3883
3973
|
end
|
@@ -3887,6 +3977,7 @@ module Google
|
|
3887
3977
|
@parent = args[:parent] if args.key?(:parent)
|
3888
3978
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
3889
3979
|
@pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
|
3980
|
+
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
3890
3981
|
end
|
3891
3982
|
end
|
3892
3983
|
|
@@ -6522,8 +6613,15 @@ module Google
|
|
6522
6613
|
# Models that predict multiple outputs, such as multiclass Models that predict
|
6523
6614
|
# multiple classes, each element explains one specific item. Attribution.
|
6524
6615
|
# output_index can be used to identify which output this attribution is
|
6525
|
-
# explaining.
|
6526
|
-
#
|
6616
|
+
# explaining. By default, we provide Shapley values for the predicted class.
|
6617
|
+
# However, you can configure the explanation request to generate Shapley values
|
6618
|
+
# for any other classes too. For example, if a model predicts a probability of `
|
6619
|
+
# 0.4` for approving a loan application, the model's decision is to reject the
|
6620
|
+
# application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default
|
6621
|
+
# Shapley values would be computed for rejection decision and not approval, even
|
6622
|
+
# though the latter might be the positive class. If users set
|
6623
|
+
# ExplanationParameters.top_k, the attributions are sorted by
|
6624
|
+
# instance_output_value in descending order. If ExplanationParameters.
|
6527
6625
|
# output_indices is specified, the attributions are stored by Attribution.
|
6528
6626
|
# output_index in the same order as they appear in the output_indices.
|
6529
6627
|
# Corresponds to the JSON property `attributions`
|
@@ -10390,6 +10488,12 @@ module Google
|
|
10390
10488
|
# @return [String]
|
10391
10489
|
attr_accessor :match_grpc_address
|
10392
10490
|
|
10491
|
+
# Output only. PscAutomatedEndpoints is populated if private service connect is
|
10492
|
+
# enabled if PscAutomatedConfig is set.
|
10493
|
+
# Corresponds to the JSON property `pscAutomatedEndpoints`
|
10494
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomatedEndpoints>]
|
10495
|
+
attr_accessor :psc_automated_endpoints
|
10496
|
+
|
10393
10497
|
# Output only. The name of the service attachment resource. Populated if private
|
10394
10498
|
# service connect is enabled.
|
10395
10499
|
# Corresponds to the JSON property `serviceAttachment`
|
@@ -10403,6 +10507,7 @@ module Google
|
|
10403
10507
|
# Update properties of this object
|
10404
10508
|
def update!(**args)
|
10405
10509
|
@match_grpc_address = args[:match_grpc_address] if args.key?(:match_grpc_address)
|
10510
|
+
@psc_automated_endpoints = args[:psc_automated_endpoints] if args.key?(:psc_automated_endpoints)
|
10406
10511
|
@service_attachment = args[:service_attachment] if args.key?(:service_attachment)
|
10407
10512
|
end
|
10408
10513
|
end
|
@@ -15655,6 +15760,11 @@ module Google
|
|
15655
15760
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfig
|
15656
15761
|
include Google::Apis::Core::Hashable
|
15657
15762
|
|
15763
|
+
# The default runtime for the PipelineJob.
|
15764
|
+
# Corresponds to the JSON property `defaultRuntime`
|
15765
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime]
|
15766
|
+
attr_accessor :default_runtime
|
15767
|
+
|
15658
15768
|
# Represents the failure policy of a pipeline. Currently, the default of a
|
15659
15769
|
# pipeline is that the pipeline will continue to run until no more tasks can be
|
15660
15770
|
# executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
|
@@ -15705,6 +15815,7 @@ module Google
|
|
15705
15815
|
|
15706
15816
|
# Update properties of this object
|
15707
15817
|
def update!(**args)
|
15818
|
+
@default_runtime = args[:default_runtime] if args.key?(:default_runtime)
|
15708
15819
|
@failure_policy = args[:failure_policy] if args.key?(:failure_policy)
|
15709
15820
|
@gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
|
15710
15821
|
@input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
|
@@ -15713,6 +15824,26 @@ module Google
|
|
15713
15824
|
end
|
15714
15825
|
end
|
15715
15826
|
|
15827
|
+
# The default runtime for the PipelineJob.
|
15828
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
15829
|
+
include Google::Apis::Core::Hashable
|
15830
|
+
|
15831
|
+
# Persistent resource based runtime detail. For more information, refer to https:
|
15832
|
+
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
15833
|
+
# Corresponds to the JSON property `persistentResourceRuntimeDetail`
|
15834
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
|
15835
|
+
attr_accessor :persistent_resource_runtime_detail
|
15836
|
+
|
15837
|
+
def initialize(**args)
|
15838
|
+
update!(**args)
|
15839
|
+
end
|
15840
|
+
|
15841
|
+
# Update properties of this object
|
15842
|
+
def update!(**args)
|
15843
|
+
@persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
|
15844
|
+
end
|
15845
|
+
end
|
15846
|
+
|
15716
15847
|
# The type of an input artifact.
|
15717
15848
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
15718
15849
|
include Google::Apis::Core::Hashable
|
@@ -15735,6 +15866,27 @@ module Google
|
|
15735
15866
|
end
|
15736
15867
|
end
|
15737
15868
|
|
15869
|
+
# Persistent resource based runtime detail. For more information, refer to https:
|
15870
|
+
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
15871
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
15872
|
+
include Google::Apis::Core::Hashable
|
15873
|
+
|
15874
|
+
# Persistent resource name. Format: `projects/`project`/locations/`location`/
|
15875
|
+
# persistentResources/`persistent_resource``
|
15876
|
+
# Corresponds to the JSON property `persistentResourceName`
|
15877
|
+
# @return [String]
|
15878
|
+
attr_accessor :persistent_resource_name
|
15879
|
+
|
15880
|
+
def initialize(**args)
|
15881
|
+
update!(**args)
|
15882
|
+
end
|
15883
|
+
|
15884
|
+
# Update properties of this object
|
15885
|
+
def update!(**args)
|
15886
|
+
@persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
|
15887
|
+
end
|
15888
|
+
end
|
15889
|
+
|
15738
15890
|
# The runtime detail of a task execution.
|
15739
15891
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
15740
15892
|
include Google::Apis::Core::Hashable
|
@@ -16384,6 +16536,38 @@ module Google
|
|
16384
16536
|
end
|
16385
16537
|
end
|
16386
16538
|
|
16539
|
+
# PscAutomatedEndpoints defines the output of the forwarding rule automatically
|
16540
|
+
# created by each PscAutomationConfig.
|
16541
|
+
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
16542
|
+
include Google::Apis::Core::Hashable
|
16543
|
+
|
16544
|
+
# Ip Address created by the automated forwarding rule.
|
16545
|
+
# Corresponds to the JSON property `matchAddress`
|
16546
|
+
# @return [String]
|
16547
|
+
attr_accessor :match_address
|
16548
|
+
|
16549
|
+
# Corresponding network in pscAutomationConfigs.
|
16550
|
+
# Corresponds to the JSON property `network`
|
16551
|
+
# @return [String]
|
16552
|
+
attr_accessor :network
|
16553
|
+
|
16554
|
+
# Corresponding project_id in pscAutomationConfigs
|
16555
|
+
# Corresponds to the JSON property `projectId`
|
16556
|
+
# @return [String]
|
16557
|
+
attr_accessor :project_id
|
16558
|
+
|
16559
|
+
def initialize(**args)
|
16560
|
+
update!(**args)
|
16561
|
+
end
|
16562
|
+
|
16563
|
+
# Update properties of this object
|
16564
|
+
def update!(**args)
|
16565
|
+
@match_address = args[:match_address] if args.key?(:match_address)
|
16566
|
+
@network = args[:network] if args.key?(:network)
|
16567
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
16568
|
+
end
|
16569
|
+
end
|
16570
|
+
|
16387
16571
|
# A Model Garden Publisher Model.
|
16388
16572
|
class GoogleCloudAiplatformV1PublisherModel
|
16389
16573
|
include Google::Apis::Core::Hashable
|
@@ -24643,6 +24827,40 @@ module Google
|
|
24643
24827
|
end
|
24644
24828
|
end
|
24645
24829
|
|
24830
|
+
# Request message for PredictionService.StreamRawPredict.
|
24831
|
+
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
24832
|
+
include Google::Apis::Core::Hashable
|
24833
|
+
|
24834
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
24835
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
24836
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
24837
|
+
# methods in the request as well as the response. It can be used as a top-level
|
24838
|
+
# request field, which is convenient if one wants to extract parameters from
|
24839
|
+
# either the URL or HTTP template into the request fields and also want access
|
24840
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
24841
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
24842
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
24843
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
24844
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
24845
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
24846
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
24847
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
24848
|
+
# only changes how the request and response bodies are handled, all other
|
24849
|
+
# features will continue to work unchanged.
|
24850
|
+
# Corresponds to the JSON property `httpBody`
|
24851
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
24852
|
+
attr_accessor :http_body
|
24853
|
+
|
24854
|
+
def initialize(**args)
|
24855
|
+
update!(**args)
|
24856
|
+
end
|
24857
|
+
|
24858
|
+
# Update properties of this object
|
24859
|
+
def update!(**args)
|
24860
|
+
@http_body = args[:http_body] if args.key?(:http_body)
|
24861
|
+
end
|
24862
|
+
end
|
24863
|
+
|
24646
24864
|
# Request message for PredictionService.StreamingPredict. The first message must
|
24647
24865
|
# contain endpoint field and optionally input. The subsequent messages must
|
24648
24866
|
# contain input.
|
@@ -27725,7 +27943,10 @@ module Google
|
|
27725
27943
|
attr_accessor :members
|
27726
27944
|
|
27727
27945
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
27728
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
27946
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
27947
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
27948
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
27949
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
27729
27950
|
# Corresponds to the JSON property `role`
|
27730
27951
|
# @return [String]
|
27731
27952
|
attr_accessor :role
|
@@ -28386,7 +28607,7 @@ module Google
|
|
28386
28607
|
# fields are most applicable for that document's datasource. For example, a
|
28387
28608
|
# Wikipedia article's attribution is in the form of its article title, a website
|
28388
28609
|
# is in the form of a URL, and a Github repo is in the form of a repo name. Next
|
28389
|
-
# id:
|
28610
|
+
# id: 30
|
28390
28611
|
class LanguageLabsAidaTrustRecitationProtoDocAttribution
|
28391
28612
|
include Google::Apis::Core::Hashable
|
28392
28613
|
|
@@ -28410,6 +28631,12 @@ module Google
|
|
28410
28631
|
# @return [String]
|
28411
28632
|
attr_accessor :bibkey
|
28412
28633
|
|
28634
|
+
# ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
|
28635
|
+
# 1101/343517
|
28636
|
+
# Corresponds to the JSON property `biorxivId`
|
28637
|
+
# @return [String]
|
28638
|
+
attr_accessor :biorxiv_id
|
28639
|
+
|
28413
28640
|
#
|
28414
28641
|
# Corresponds to the JSON property `bookTitle`
|
28415
28642
|
# @return [String]
|
@@ -28550,6 +28777,11 @@ module Google
|
|
28550
28777
|
# @return [String]
|
28551
28778
|
attr_accessor :wikipedia_article_title
|
28552
28779
|
|
28780
|
+
# The unique video id from Youtube. Example: AkoGsW52Ir0
|
28781
|
+
# Corresponds to the JSON property `youtubeVideoId`
|
28782
|
+
# @return [String]
|
28783
|
+
attr_accessor :youtube_video_id
|
28784
|
+
|
28553
28785
|
def initialize(**args)
|
28554
28786
|
update!(**args)
|
28555
28787
|
end
|
@@ -28560,6 +28792,7 @@ module Google
|
|
28560
28792
|
@arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
|
28561
28793
|
@author = args[:author] if args.key?(:author)
|
28562
28794
|
@bibkey = args[:bibkey] if args.key?(:bibkey)
|
28795
|
+
@biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
|
28563
28796
|
@book_title = args[:book_title] if args.key?(:book_title)
|
28564
28797
|
@book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
|
28565
28798
|
@category = args[:category] if args.key?(:category)
|
@@ -28583,6 +28816,7 @@ module Google
|
|
28583
28816
|
@url = args[:url] if args.key?(:url)
|
28584
28817
|
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
28585
28818
|
@wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
|
28819
|
+
@youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
|
28586
28820
|
end
|
28587
28821
|
end
|
28588
28822
|
|
@@ -28638,7 +28872,7 @@ module Google
|
|
28638
28872
|
# fields are most applicable for that document's datasource. For example, a
|
28639
28873
|
# Wikipedia article's attribution is in the form of its article title, a website
|
28640
28874
|
# is in the form of a URL, and a Github repo is in the form of a repo name. Next
|
28641
|
-
# id:
|
28875
|
+
# id: 30
|
28642
28876
|
# Corresponds to the JSON property `docAttribution`
|
28643
28877
|
# @return [Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoDocAttribution]
|
28644
28878
|
attr_accessor :doc_attribution
|
@@ -28733,7 +28967,7 @@ module Google
|
|
28733
28967
|
# fields are most applicable for that document's datasource. For example, a
|
28734
28968
|
# Wikipedia article's attribution is in the form of its article title, a website
|
28735
28969
|
# is in the form of a URL, and a Github repo is in the form of a repo name. Next
|
28736
|
-
# id:
|
28970
|
+
# id: 30
|
28737
28971
|
class LearningGenaiRecitationDocAttribution
|
28738
28972
|
include Google::Apis::Core::Hashable
|
28739
28973
|
|
@@ -28757,6 +28991,12 @@ module Google
|
|
28757
28991
|
# @return [String]
|
28758
28992
|
attr_accessor :bibkey
|
28759
28993
|
|
28994
|
+
# ID of the paper in bioarxiv like ddoi.org/`biorxiv_id` eg: https://doi.org/10.
|
28995
|
+
# 1101/343517
|
28996
|
+
# Corresponds to the JSON property `biorxivId`
|
28997
|
+
# @return [String]
|
28998
|
+
attr_accessor :biorxiv_id
|
28999
|
+
|
28760
29000
|
#
|
28761
29001
|
# Corresponds to the JSON property `bookTitle`
|
28762
29002
|
# @return [String]
|
@@ -28892,6 +29132,11 @@ module Google
|
|
28892
29132
|
# @return [String]
|
28893
29133
|
attr_accessor :wikipedia_article_title
|
28894
29134
|
|
29135
|
+
#
|
29136
|
+
# Corresponds to the JSON property `youtubeVideoId`
|
29137
|
+
# @return [String]
|
29138
|
+
attr_accessor :youtube_video_id
|
29139
|
+
|
28895
29140
|
def initialize(**args)
|
28896
29141
|
update!(**args)
|
28897
29142
|
end
|
@@ -28902,6 +29147,7 @@ module Google
|
|
28902
29147
|
@arxiv_id = args[:arxiv_id] if args.key?(:arxiv_id)
|
28903
29148
|
@author = args[:author] if args.key?(:author)
|
28904
29149
|
@bibkey = args[:bibkey] if args.key?(:bibkey)
|
29150
|
+
@biorxiv_id = args[:biorxiv_id] if args.key?(:biorxiv_id)
|
28905
29151
|
@book_title = args[:book_title] if args.key?(:book_title)
|
28906
29152
|
@book_volume_id = args[:book_volume_id] if args.key?(:book_volume_id)
|
28907
29153
|
@conversation_id = args[:conversation_id] if args.key?(:conversation_id)
|
@@ -28924,6 +29170,7 @@ module Google
|
|
28924
29170
|
@url = args[:url] if args.key?(:url)
|
28925
29171
|
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
28926
29172
|
@wikipedia_article_title = args[:wikipedia_article_title] if args.key?(:wikipedia_article_title)
|
29173
|
+
@youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
|
28927
29174
|
end
|
28928
29175
|
end
|
28929
29176
|
|
@@ -28979,7 +29226,7 @@ module Google
|
|
28979
29226
|
# fields are most applicable for that document's datasource. For example, a
|
28980
29227
|
# Wikipedia article's attribution is in the form of its article title, a website
|
28981
29228
|
# is in the form of a URL, and a Github repo is in the form of a repo name. Next
|
28982
|
-
# id:
|
29229
|
+
# id: 30
|
28983
29230
|
# Corresponds to the JSON property `docAttribution`
|
28984
29231
|
# @return [Google::Apis::AiplatformV1::LearningGenaiRecitationDocAttribution]
|
28985
29232
|
attr_accessor :doc_attribution
|
@@ -29246,7 +29493,7 @@ module Google
|
|
29246
29493
|
|
29247
29494
|
#
|
29248
29495
|
# Corresponds to the JSON property `languageFilterResult`
|
29249
|
-
# @return [Google::Apis::AiplatformV1::
|
29496
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult]
|
29250
29497
|
attr_accessor :language_filter_result
|
29251
29498
|
|
29252
29499
|
# This is per harm.
|
@@ -29298,6 +29545,79 @@ module Google
|
|
29298
29545
|
end
|
29299
29546
|
end
|
29300
29547
|
|
29548
|
+
#
|
29549
|
+
class LearningGenaiRootGroundingMetadata
|
29550
|
+
include Google::Apis::Core::Hashable
|
29551
|
+
|
29552
|
+
#
|
29553
|
+
# Corresponds to the JSON property `citations`
|
29554
|
+
# @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadataCitation>]
|
29555
|
+
attr_accessor :citations
|
29556
|
+
|
29557
|
+
# True if grounding is cancelled, for example, no facts being retrieved.
|
29558
|
+
# Corresponds to the JSON property `groundingCancelled`
|
29559
|
+
# @return [Boolean]
|
29560
|
+
attr_accessor :grounding_cancelled
|
29561
|
+
alias_method :grounding_cancelled?, :grounding_cancelled
|
29562
|
+
|
29563
|
+
#
|
29564
|
+
# Corresponds to the JSON property `searchQueries`
|
29565
|
+
# @return [Array<String>]
|
29566
|
+
attr_accessor :search_queries
|
29567
|
+
|
29568
|
+
def initialize(**args)
|
29569
|
+
update!(**args)
|
29570
|
+
end
|
29571
|
+
|
29572
|
+
# Update properties of this object
|
29573
|
+
def update!(**args)
|
29574
|
+
@citations = args[:citations] if args.key?(:citations)
|
29575
|
+
@grounding_cancelled = args[:grounding_cancelled] if args.key?(:grounding_cancelled)
|
29576
|
+
@search_queries = args[:search_queries] if args.key?(:search_queries)
|
29577
|
+
end
|
29578
|
+
end
|
29579
|
+
|
29580
|
+
#
|
29581
|
+
class LearningGenaiRootGroundingMetadataCitation
|
29582
|
+
include Google::Apis::Core::Hashable
|
29583
|
+
|
29584
|
+
# Index in the prediction output where the citation ends (exclusive). Must be >
|
29585
|
+
# start_index and < len(output).
|
29586
|
+
# Corresponds to the JSON property `endIndex`
|
29587
|
+
# @return [Fixnum]
|
29588
|
+
attr_accessor :end_index
|
29589
|
+
|
29590
|
+
# Index of the fact supporting this claim. Should be within the range of the `
|
29591
|
+
# world_facts` in the GenerateResponse.
|
29592
|
+
# Corresponds to the JSON property `factIndex`
|
29593
|
+
# @return [Fixnum]
|
29594
|
+
attr_accessor :fact_index
|
29595
|
+
|
29596
|
+
# Confidence score of this entailment. Value is [0,1] with 1 is the most
|
29597
|
+
# confidence.
|
29598
|
+
# Corresponds to the JSON property `score`
|
29599
|
+
# @return [Float]
|
29600
|
+
attr_accessor :score
|
29601
|
+
|
29602
|
+
# Index in the prediction output where the citation starts (inclusive). Must be >
|
29603
|
+
# = 0 and < end_index.
|
29604
|
+
# Corresponds to the JSON property `startIndex`
|
29605
|
+
# @return [Fixnum]
|
29606
|
+
attr_accessor :start_index
|
29607
|
+
|
29608
|
+
def initialize(**args)
|
29609
|
+
update!(**args)
|
29610
|
+
end
|
29611
|
+
|
29612
|
+
# Update properties of this object
|
29613
|
+
def update!(**args)
|
29614
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
29615
|
+
@fact_index = args[:fact_index] if args.key?(:fact_index)
|
29616
|
+
@score = args[:score] if args.key?(:score)
|
29617
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
29618
|
+
end
|
29619
|
+
end
|
29620
|
+
|
29301
29621
|
#
|
29302
29622
|
class LearningGenaiRootHarm
|
29303
29623
|
include Google::Apis::Core::Hashable
|
@@ -29535,6 +29855,39 @@ module Google
|
|
29535
29855
|
end
|
29536
29856
|
end
|
29537
29857
|
|
29858
|
+
#
|
29859
|
+
class LearningGenaiRootLanguageFilterResult
|
29860
|
+
include Google::Apis::Core::Hashable
|
29861
|
+
|
29862
|
+
# False when query or response should be filtered out due to unsupported
|
29863
|
+
# language.
|
29864
|
+
# Corresponds to the JSON property `allowed`
|
29865
|
+
# @return [Boolean]
|
29866
|
+
attr_accessor :allowed
|
29867
|
+
alias_method :allowed?, :allowed
|
29868
|
+
|
29869
|
+
# Language of the query or response.
|
29870
|
+
# Corresponds to the JSON property `detectedLanguage`
|
29871
|
+
# @return [String]
|
29872
|
+
attr_accessor :detected_language
|
29873
|
+
|
29874
|
+
# Probability of the language predicted as returned by LangID.
|
29875
|
+
# Corresponds to the JSON property `detectedLanguageProbability`
|
29876
|
+
# @return [Float]
|
29877
|
+
attr_accessor :detected_language_probability
|
29878
|
+
|
29879
|
+
def initialize(**args)
|
29880
|
+
update!(**args)
|
29881
|
+
end
|
29882
|
+
|
29883
|
+
# Update properties of this object
|
29884
|
+
def update!(**args)
|
29885
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
29886
|
+
@detected_language = args[:detected_language] if args.key?(:detected_language)
|
29887
|
+
@detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
|
29888
|
+
end
|
29889
|
+
end
|
29890
|
+
|
29538
29891
|
#
|
29539
29892
|
class LearningGenaiRootMetricOutput
|
29540
29893
|
include Google::Apis::Core::Hashable
|
@@ -30249,39 +30602,6 @@ module Google
|
|
30249
30602
|
end
|
30250
30603
|
end
|
30251
30604
|
|
30252
|
-
#
|
30253
|
-
class LearningServingLlmLanguageFilterResult
|
30254
|
-
include Google::Apis::Core::Hashable
|
30255
|
-
|
30256
|
-
# False when query or response should be filtered out due to unsupported
|
30257
|
-
# language.
|
30258
|
-
# Corresponds to the JSON property `allowed`
|
30259
|
-
# @return [Boolean]
|
30260
|
-
attr_accessor :allowed
|
30261
|
-
alias_method :allowed?, :allowed
|
30262
|
-
|
30263
|
-
# Language of the query or response.
|
30264
|
-
# Corresponds to the JSON property `detectedLanguage`
|
30265
|
-
# @return [String]
|
30266
|
-
attr_accessor :detected_language
|
30267
|
-
|
30268
|
-
# Probability of the language predicted as returned by LangID.
|
30269
|
-
# Corresponds to the JSON property `detectedLanguageProbability`
|
30270
|
-
# @return [Float]
|
30271
|
-
attr_accessor :detected_language_probability
|
30272
|
-
|
30273
|
-
def initialize(**args)
|
30274
|
-
update!(**args)
|
30275
|
-
end
|
30276
|
-
|
30277
|
-
# Update properties of this object
|
30278
|
-
def update!(**args)
|
30279
|
-
@allowed = args[:allowed] if args.key?(:allowed)
|
30280
|
-
@detected_language = args[:detected_language] if args.key?(:detected_language)
|
30281
|
-
@detected_language_probability = args[:detected_language_probability] if args.key?(:detected_language_probability)
|
30282
|
-
end
|
30283
|
-
end
|
30284
|
-
|
30285
30605
|
# LINT.IfChange This metadata contains additional information required for
|
30286
30606
|
# debugging.
|
30287
30607
|
class LearningServingLlmMessageMetadata
|
@@ -30320,6 +30640,11 @@ module Google
|
|
30320
30640
|
# @return [String]
|
30321
30641
|
attr_accessor :finish_reason
|
30322
30642
|
|
30643
|
+
#
|
30644
|
+
# Corresponds to the JSON property `groundingMetadata`
|
30645
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata]
|
30646
|
+
attr_accessor :grounding_metadata
|
30647
|
+
|
30323
30648
|
# Applies to Response message only. Indicates whether the message is a fallback
|
30324
30649
|
# and the response would have otherwise been empty.
|
30325
30650
|
# Corresponds to the JSON property `isFallback`
|
@@ -30417,6 +30742,7 @@ module Google
|
|
30417
30742
|
@filter_meta = args[:filter_meta] if args.key?(:filter_meta)
|
30418
30743
|
@final_message_score = args[:final_message_score] if args.key?(:final_message_score)
|
30419
30744
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
30745
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
30420
30746
|
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
30421
30747
|
@langid_result = args[:langid_result] if args.key?(:langid_result)
|
30422
30748
|
@language = args[:language] if args.key?(:language)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -2554,12 +2566,24 @@ module Google
|
|
2554
2566
|
include Google::Apis::Core::JsonObjectSupport
|
2555
2567
|
end
|
2556
2568
|
|
2569
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
2570
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2571
|
+
|
2572
|
+
include Google::Apis::Core::JsonObjectSupport
|
2573
|
+
end
|
2574
|
+
|
2557
2575
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
2558
2576
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2559
2577
|
|
2560
2578
|
include Google::Apis::Core::JsonObjectSupport
|
2561
2579
|
end
|
2562
2580
|
|
2581
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
2582
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2583
|
+
|
2584
|
+
include Google::Apis::Core::JsonObjectSupport
|
2585
|
+
end
|
2586
|
+
|
2563
2587
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
2564
2588
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2565
2589
|
|
@@ -2668,6 +2692,12 @@ module Google
|
|
2668
2692
|
include Google::Apis::Core::JsonObjectSupport
|
2669
2693
|
end
|
2670
2694
|
|
2695
|
+
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
2696
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2697
|
+
|
2698
|
+
include Google::Apis::Core::JsonObjectSupport
|
2699
|
+
end
|
2700
|
+
|
2671
2701
|
class GoogleCloudAiplatformV1PublisherModel
|
2672
2702
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2673
2703
|
|
@@ -4054,6 +4084,12 @@ module Google
|
|
4054
4084
|
include Google::Apis::Core::JsonObjectSupport
|
4055
4085
|
end
|
4056
4086
|
|
4087
|
+
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
4088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4089
|
+
|
4090
|
+
include Google::Apis::Core::JsonObjectSupport
|
4091
|
+
end
|
4092
|
+
|
4057
4093
|
class GoogleCloudAiplatformV1StreamingPredictRequest
|
4058
4094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4059
4095
|
|
@@ -4768,6 +4804,18 @@ module Google
|
|
4768
4804
|
include Google::Apis::Core::JsonObjectSupport
|
4769
4805
|
end
|
4770
4806
|
|
4807
|
+
class LearningGenaiRootGroundingMetadata
|
4808
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4809
|
+
|
4810
|
+
include Google::Apis::Core::JsonObjectSupport
|
4811
|
+
end
|
4812
|
+
|
4813
|
+
class LearningGenaiRootGroundingMetadataCitation
|
4814
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4815
|
+
|
4816
|
+
include Google::Apis::Core::JsonObjectSupport
|
4817
|
+
end
|
4818
|
+
|
4771
4819
|
class LearningGenaiRootHarm
|
4772
4820
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4773
4821
|
|
@@ -4804,6 +4852,12 @@ module Google
|
|
4804
4852
|
include Google::Apis::Core::JsonObjectSupport
|
4805
4853
|
end
|
4806
4854
|
|
4855
|
+
class LearningGenaiRootLanguageFilterResult
|
4856
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4857
|
+
|
4858
|
+
include Google::Apis::Core::JsonObjectSupport
|
4859
|
+
end
|
4860
|
+
|
4807
4861
|
class LearningGenaiRootMetricOutput
|
4808
4862
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4809
4863
|
|
@@ -4948,12 +5002,6 @@ module Google
|
|
4948
5002
|
include Google::Apis::Core::JsonObjectSupport
|
4949
5003
|
end
|
4950
5004
|
|
4951
|
-
class LearningServingLlmLanguageFilterResult
|
4952
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4953
|
-
|
4954
|
-
include Google::Apis::Core::JsonObjectSupport
|
4955
|
-
end
|
4956
|
-
|
4957
5005
|
class LearningServingLlmMessageMetadata
|
4958
5006
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4959
5007
|
|
@@ -5143,6 +5191,8 @@ module Google
|
|
5143
5191
|
|
5144
5192
|
property :finish_message, as: 'finishMessage'
|
5145
5193
|
property :finish_reason, as: 'finishReason'
|
5194
|
+
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata::Representation
|
5195
|
+
|
5146
5196
|
property :index, as: 'index'
|
5147
5197
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceSafetyRating, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceSafetyRating::Representation
|
5148
5198
|
|
@@ -5179,6 +5229,16 @@ module Google
|
|
5179
5229
|
end
|
5180
5230
|
end
|
5181
5231
|
|
5232
|
+
class CloudAiNlLlmProtoServiceFact
|
5233
|
+
# @private
|
5234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5235
|
+
property :query, as: 'query'
|
5236
|
+
property :summary, as: 'summary'
|
5237
|
+
property :title, as: 'title'
|
5238
|
+
property :url, as: 'url'
|
5239
|
+
end
|
5240
|
+
end
|
5241
|
+
|
5182
5242
|
class CloudAiNlLlmProtoServiceFunctionCall
|
5183
5243
|
# @private
|
5184
5244
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5202,6 +5262,8 @@ module Google
|
|
5202
5262
|
|
5203
5263
|
property :debug_metadata, as: 'debugMetadata', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata::Representation
|
5204
5264
|
|
5265
|
+
collection :facts, as: 'facts', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact::Representation
|
5266
|
+
|
5205
5267
|
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback::Representation
|
5206
5268
|
|
5207
5269
|
property :reporting_metrics, as: 'reportingMetrics', class: Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics, decorator: Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics::Representation
|
@@ -5262,10 +5324,20 @@ module Google
|
|
5262
5324
|
# @private
|
5263
5325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5264
5326
|
property :end_offset, as: 'endOffset'
|
5327
|
+
property :model_level_meta_data, as: 'modelLevelMetaData', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata::Representation
|
5328
|
+
|
5265
5329
|
property :start_offset, as: 'startOffset'
|
5266
5330
|
end
|
5267
5331
|
end
|
5268
5332
|
|
5333
|
+
class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
|
5334
|
+
# @private
|
5335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5336
|
+
property :fps, as: 'fps'
|
5337
|
+
property :num_frames, as: 'numFrames'
|
5338
|
+
end
|
5339
|
+
end
|
5340
|
+
|
5269
5341
|
class CloudAiNlLlmProtoServicePromptFeedback
|
5270
5342
|
# @private
|
5271
5343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5284,7 +5356,7 @@ module Google
|
|
5284
5356
|
property :blocked, as: 'blocked'
|
5285
5357
|
collection :error_codes, as: 'errorCodes'
|
5286
5358
|
property :filtered, as: 'filtered'
|
5287
|
-
property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1::
|
5359
|
+
property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult, decorator: Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult::Representation
|
5288
5360
|
|
5289
5361
|
collection :rai_signals, as: 'raiSignals', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal::Representation
|
5290
5362
|
|
@@ -6171,6 +6243,7 @@ module Google
|
|
6171
6243
|
property :pipeline_job, as: 'pipelineJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob::Representation
|
6172
6244
|
|
6173
6245
|
property :pipeline_job_id, as: 'pipelineJobId'
|
6246
|
+
property :preflight_validations, as: 'preflightValidations'
|
6174
6247
|
end
|
6175
6248
|
end
|
6176
6249
|
|
@@ -7876,6 +7949,8 @@ module Google
|
|
7876
7949
|
# @private
|
7877
7950
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7878
7951
|
property :match_grpc_address, as: 'matchGrpcAddress'
|
7952
|
+
collection :psc_automated_endpoints, as: 'pscAutomatedEndpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomatedEndpoints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomatedEndpoints::Representation
|
7953
|
+
|
7879
7954
|
property :service_attachment, as: 'serviceAttachment'
|
7880
7955
|
end
|
7881
7956
|
end
|
@@ -9338,6 +9413,8 @@ module Google
|
|
9338
9413
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfig
|
9339
9414
|
# @private
|
9340
9415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9416
|
+
property :default_runtime, as: 'defaultRuntime', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime::Representation
|
9417
|
+
|
9341
9418
|
property :failure_policy, as: 'failurePolicy'
|
9342
9419
|
property :gcs_output_directory, as: 'gcsOutputDirectory'
|
9343
9420
|
hash :input_artifacts, as: 'inputArtifacts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact::Representation
|
@@ -9348,6 +9425,14 @@ module Google
|
|
9348
9425
|
end
|
9349
9426
|
end
|
9350
9427
|
|
9428
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
9429
|
+
# @private
|
9430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9431
|
+
property :persistent_resource_runtime_detail, as: 'persistentResourceRuntimeDetail', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail::Representation
|
9432
|
+
|
9433
|
+
end
|
9434
|
+
end
|
9435
|
+
|
9351
9436
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
9352
9437
|
# @private
|
9353
9438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9355,6 +9440,13 @@ module Google
|
|
9355
9440
|
end
|
9356
9441
|
end
|
9357
9442
|
|
9443
|
+
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
9444
|
+
# @private
|
9445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9446
|
+
property :persistent_resource_name, as: 'persistentResourceName'
|
9447
|
+
end
|
9448
|
+
end
|
9449
|
+
|
9358
9450
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
9359
9451
|
# @private
|
9360
9452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9529,6 +9621,15 @@ module Google
|
|
9529
9621
|
end
|
9530
9622
|
end
|
9531
9623
|
|
9624
|
+
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
9625
|
+
# @private
|
9626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9627
|
+
property :match_address, as: 'matchAddress'
|
9628
|
+
property :network, as: 'network'
|
9629
|
+
property :project_id, as: 'projectId'
|
9630
|
+
end
|
9631
|
+
end
|
9632
|
+
|
9532
9633
|
class GoogleCloudAiplatformV1PublisherModel
|
9533
9634
|
# @private
|
9534
9635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11782,6 +11883,14 @@ module Google
|
|
11782
11883
|
end
|
11783
11884
|
end
|
11784
11885
|
|
11886
|
+
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
11887
|
+
# @private
|
11888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11889
|
+
property :http_body, as: 'httpBody', class: Google::Apis::AiplatformV1::GoogleApiHttpBody, decorator: Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
11890
|
+
|
11891
|
+
end
|
11892
|
+
end
|
11893
|
+
|
11785
11894
|
class GoogleCloudAiplatformV1StreamingPredictRequest
|
11786
11895
|
# @private
|
11787
11896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12797,6 +12906,7 @@ module Google
|
|
12797
12906
|
property :arxiv_id, as: 'arxivId'
|
12798
12907
|
property :author, as: 'author'
|
12799
12908
|
property :bibkey, as: 'bibkey'
|
12909
|
+
property :biorxiv_id, as: 'biorxivId'
|
12800
12910
|
property :book_title, as: 'bookTitle'
|
12801
12911
|
property :book_volume_id, :numeric_string => true, as: 'bookVolumeId'
|
12802
12912
|
property :category, as: 'category'
|
@@ -12821,6 +12931,7 @@ module Google
|
|
12821
12931
|
property :url, as: 'url'
|
12822
12932
|
property :volume_id, as: 'volumeId'
|
12823
12933
|
property :wikipedia_article_title, as: 'wikipediaArticleTitle'
|
12934
|
+
property :youtube_video_id, as: 'youtubeVideoId'
|
12824
12935
|
end
|
12825
12936
|
end
|
12826
12937
|
|
@@ -12869,6 +12980,7 @@ module Google
|
|
12869
12980
|
property :arxiv_id, as: 'arxivId'
|
12870
12981
|
property :author, as: 'author'
|
12871
12982
|
property :bibkey, as: 'bibkey'
|
12983
|
+
property :biorxiv_id, as: 'biorxivId'
|
12872
12984
|
property :book_title, as: 'bookTitle'
|
12873
12985
|
property :book_volume_id, :numeric_string => true, as: 'bookVolumeId'
|
12874
12986
|
property :conversation_id, as: 'conversationId'
|
@@ -12892,6 +13004,7 @@ module Google
|
|
12892
13004
|
property :url, as: 'url'
|
12893
13005
|
property :volume_id, as: 'volumeId'
|
12894
13006
|
property :wikipedia_article_title, as: 'wikipediaArticleTitle'
|
13007
|
+
property :youtube_video_id, as: 'youtubeVideoId'
|
12895
13008
|
end
|
12896
13009
|
end
|
12897
13010
|
|
@@ -12992,7 +13105,7 @@ module Google
|
|
12992
13105
|
property :classifier_output, as: 'classifierOutput', class: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutput, decorator: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutput::Representation
|
12993
13106
|
|
12994
13107
|
property :default_metadata, as: 'defaultMetadata'
|
12995
|
-
property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1::
|
13108
|
+
property :language_filter_result, as: 'languageFilterResult', class: Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult, decorator: Google::Apis::AiplatformV1::LearningGenaiRootLanguageFilterResult::Representation
|
12996
13109
|
|
12997
13110
|
property :rai_output, as: 'raiOutput', class: Google::Apis::AiplatformV1::LearningGenaiRootRaiOutput, decorator: Google::Apis::AiplatformV1::LearningGenaiRootRaiOutput::Representation
|
12998
13111
|
|
@@ -13009,6 +13122,26 @@ module Google
|
|
13009
13122
|
end
|
13010
13123
|
end
|
13011
13124
|
|
13125
|
+
class LearningGenaiRootGroundingMetadata
|
13126
|
+
# @private
|
13127
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13128
|
+
collection :citations, as: 'citations', class: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadataCitation, decorator: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadataCitation::Representation
|
13129
|
+
|
13130
|
+
property :grounding_cancelled, as: 'groundingCancelled'
|
13131
|
+
collection :search_queries, as: 'searchQueries'
|
13132
|
+
end
|
13133
|
+
end
|
13134
|
+
|
13135
|
+
class LearningGenaiRootGroundingMetadataCitation
|
13136
|
+
# @private
|
13137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13138
|
+
property :end_index, as: 'endIndex'
|
13139
|
+
property :fact_index, as: 'factIndex'
|
13140
|
+
property :score, as: 'score'
|
13141
|
+
property :start_index, as: 'startIndex'
|
13142
|
+
end
|
13143
|
+
end
|
13144
|
+
|
13012
13145
|
class LearningGenaiRootHarm
|
13013
13146
|
# @private
|
13014
13147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13074,6 +13207,15 @@ module Google
|
|
13074
13207
|
end
|
13075
13208
|
end
|
13076
13209
|
|
13210
|
+
class LearningGenaiRootLanguageFilterResult
|
13211
|
+
# @private
|
13212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13213
|
+
property :allowed, as: 'allowed'
|
13214
|
+
property :detected_language, as: 'detectedLanguage'
|
13215
|
+
property :detected_language_probability, as: 'detectedLanguageProbability'
|
13216
|
+
end
|
13217
|
+
end
|
13218
|
+
|
13077
13219
|
class LearningGenaiRootMetricOutput
|
13078
13220
|
# @private
|
13079
13221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13303,15 +13445,6 @@ module Google
|
|
13303
13445
|
end
|
13304
13446
|
end
|
13305
13447
|
|
13306
|
-
class LearningServingLlmLanguageFilterResult
|
13307
|
-
# @private
|
13308
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
13309
|
-
property :allowed, as: 'allowed'
|
13310
|
-
property :detected_language, as: 'detectedLanguage'
|
13311
|
-
property :detected_language_probability, as: 'detectedLanguageProbability'
|
13312
|
-
end
|
13313
|
-
end
|
13314
|
-
|
13315
13448
|
class LearningServingLlmMessageMetadata
|
13316
13449
|
# @private
|
13317
13450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13324,6 +13457,8 @@ module Google
|
|
13324
13457
|
property :final_message_score, as: 'finalMessageScore', class: Google::Apis::AiplatformV1::LearningGenaiRootScore, decorator: Google::Apis::AiplatformV1::LearningGenaiRootScore::Representation
|
13325
13458
|
|
13326
13459
|
property :finish_reason, as: 'finishReason'
|
13460
|
+
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata::Representation
|
13461
|
+
|
13327
13462
|
property :is_fallback, as: 'isFallback'
|
13328
13463
|
property :langid_result, as: 'langidResult', class: Google::Apis::AiplatformV1::NlpSaftLangIdResult, decorator: Google::Apis::AiplatformV1::NlpSaftLangIdResult::Representation
|
13329
13464
|
|
@@ -3662,6 +3662,40 @@ module Google
|
|
3662
3662
|
execute_or_queue_command(command, &block)
|
3663
3663
|
end
|
3664
3664
|
|
3665
|
+
#
|
3666
|
+
# @param [String] endpoint
|
3667
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
3668
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
3669
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamRawPredictRequest] google_cloud_aiplatform_v1_stream_raw_predict_request_object
|
3670
|
+
# @param [String] fields
|
3671
|
+
# Selector specifying which fields to include in a partial response.
|
3672
|
+
# @param [String] quota_user
|
3673
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3674
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3675
|
+
# @param [Google::Apis::RequestOptions] options
|
3676
|
+
# Request-specific options
|
3677
|
+
#
|
3678
|
+
# @yield [result, err] Result & error if block supplied
|
3679
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
3680
|
+
# @yieldparam err [StandardError] error object if request failed
|
3681
|
+
#
|
3682
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
3683
|
+
#
|
3684
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3685
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3686
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3687
|
+
def stream_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3688
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:streamRawPredict', options)
|
3689
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamRawPredictRequest::Representation
|
3690
|
+
command.request_object = google_cloud_aiplatform_v1_stream_raw_predict_request_object
|
3691
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
3692
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
3693
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
3694
|
+
command.query['fields'] = fields unless fields.nil?
|
3695
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3696
|
+
execute_or_queue_command(command, &block)
|
3697
|
+
end
|
3698
|
+
|
3665
3699
|
# Undeploys a Model from an Endpoint, removing a DeployedModel from it, and
|
3666
3700
|
# freeing all resources it's using.
|
3667
3701
|
# @param [String] endpoint
|
@@ -4609,7 +4643,7 @@ module Google
|
|
4609
4643
|
# Creates a new FeatureOnlineStore in a given project and location.
|
4610
4644
|
# @param [String] parent
|
4611
4645
|
# Required. The resource name of the Location to create FeatureOnlineStores.
|
4612
|
-
# Format: `projects/`project`/locations/`location
|
4646
|
+
# Format: `projects/`project`/locations/`location``
|
4613
4647
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
|
4614
4648
|
# @param [String] feature_online_store_id
|
4615
4649
|
# Required. The ID to use for this FeatureOnlineStore, which will become the
|
@@ -13497,6 +13531,9 @@ module Google
|
|
13497
13531
|
# the PipelineJob name. If not provided, an ID will be automatically generated.
|
13498
13532
|
# This value should be less than 128 characters, and valid characters are `/a-z-/
|
13499
13533
|
# `.
|
13534
|
+
# @param [Boolean] preflight_validations
|
13535
|
+
# Optional. Whether to do component level validations before job creation.
|
13536
|
+
# Currently we only support Google First Party Component/Pipelines.
|
13500
13537
|
# @param [String] fields
|
13501
13538
|
# Selector specifying which fields to include in a partial response.
|
13502
13539
|
# @param [String] quota_user
|
@@ -13514,7 +13551,7 @@ module Google
|
|
13514
13551
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13515
13552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13516
13553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13517
|
-
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1_pipeline_job_object = nil, pipeline_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
13554
|
+
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1_pipeline_job_object = nil, pipeline_job_id: nil, preflight_validations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
13518
13555
|
command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs', options)
|
13519
13556
|
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob::Representation
|
13520
13557
|
command.request_object = google_cloud_aiplatform_v1_pipeline_job_object
|
@@ -13522,6 +13559,7 @@ module Google
|
|
13522
13559
|
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob
|
13523
13560
|
command.params['parent'] = parent unless parent.nil?
|
13524
13561
|
command.query['pipelineJobId'] = pipeline_job_id unless pipeline_job_id.nil?
|
13562
|
+
command.query['preflightValidations'] = preflight_validations unless preflight_validations.nil?
|
13525
13563
|
command.query['fields'] = fields unless fields.nil?
|
13526
13564
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13527
13565
|
execute_or_queue_command(command, &block)
|
@@ -14053,6 +14091,40 @@ module Google
|
|
14053
14091
|
execute_or_queue_command(command, &block)
|
14054
14092
|
end
|
14055
14093
|
|
14094
|
+
#
|
14095
|
+
# @param [String] endpoint
|
14096
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
14097
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
14098
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamRawPredictRequest] google_cloud_aiplatform_v1_stream_raw_predict_request_object
|
14099
|
+
# @param [String] fields
|
14100
|
+
# Selector specifying which fields to include in a partial response.
|
14101
|
+
# @param [String] quota_user
|
14102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14104
|
+
# @param [Google::Apis::RequestOptions] options
|
14105
|
+
# Request-specific options
|
14106
|
+
#
|
14107
|
+
# @yield [result, err] Result & error if block supplied
|
14108
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
14109
|
+
# @yieldparam err [StandardError] error object if request failed
|
14110
|
+
#
|
14111
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
14112
|
+
#
|
14113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14116
|
+
def stream_project_location_publisher_model_raw_predict(endpoint, google_cloud_aiplatform_v1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
14117
|
+
command = make_simple_command(:post, 'v1/{+endpoint}:streamRawPredict', options)
|
14118
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamRawPredictRequest::Representation
|
14119
|
+
command.request_object = google_cloud_aiplatform_v1_stream_raw_predict_request_object
|
14120
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
14121
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
14122
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
14123
|
+
command.query['fields'] = fields unless fields.nil?
|
14124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14125
|
+
execute_or_queue_command(command, &block)
|
14126
|
+
end
|
14127
|
+
|
14056
14128
|
# Creates a Schedule.
|
14057
14129
|
# @param [String] parent
|
14058
14130
|
# Required. The resource name of the Location to create the Schedule in. Format:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|