google-apis-aiplatform_v1beta1 0.12.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1068 -68
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +498 -5
- data/lib/google/apis/aiplatform_v1beta1/service.rb +45 -0
- metadata +3 -3
@@ -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.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231211"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,174 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AiplatformV1beta1
|
24
24
|
|
25
|
+
class CloudAiLargeModelsVisionEmbedVideoResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class CloudAiLargeModelsVisionFilteredText
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CloudAiLargeModelsVisionGenerateVideoResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CloudAiLargeModelsVisionImage
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CloudAiLargeModelsVisionImageRaiScores
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CloudAiLargeModelsVisionMedia
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CloudAiLargeModelsVisionMediaGenerateContentResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CloudAiLargeModelsVisionNamedBoundingBox
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CloudAiLargeModelsVisionRaiInfo
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CloudAiLargeModelsVisionReasonVideoResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CloudAiLargeModelsVisionReasonVideoResponseTextResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CloudAiLargeModelsVisionRelativeTemporalPartition
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CloudAiLargeModelsVisionSemanticFilterResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class CloudAiLargeModelsVisionVideo
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class CloudAiNlLlmProtoServiceCandidate
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class CloudAiNlLlmProtoServiceCitation
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class CloudAiNlLlmProtoServiceCitationMetadata
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class CloudAiNlLlmProtoServiceContent
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class CloudAiNlLlmProtoServiceFunctionCall
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class CloudAiNlLlmProtoServiceFunctionResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class CloudAiNlLlmProtoServiceGenerateMultiModalResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class CloudAiNlLlmProtoServicePart
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class CloudAiNlLlmProtoServicePartBlob
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class CloudAiNlLlmProtoServicePartFileData
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class CloudAiNlLlmProtoServicePartVideoMetadata
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class CloudAiNlLlmProtoServicePromptFeedback
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class CloudAiNlLlmProtoServiceSafetyRating
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class CloudAiNlLlmProtoServiceUsageMetadata
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
25
193
|
class GoogleApiHttpBody
|
26
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
195
|
|
@@ -4744,6 +4912,302 @@ module Google
|
|
4744
4912
|
include Google::Apis::Core::JsonObjectSupport
|
4745
4913
|
end
|
4746
4914
|
|
4915
|
+
class IntelligenceCloudAutomlXpsMetricEntry
|
4916
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4917
|
+
|
4918
|
+
include Google::Apis::Core::JsonObjectSupport
|
4919
|
+
end
|
4920
|
+
|
4921
|
+
class IntelligenceCloudAutomlXpsMetricEntryLabel
|
4922
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4923
|
+
|
4924
|
+
include Google::Apis::Core::JsonObjectSupport
|
4925
|
+
end
|
4926
|
+
|
4927
|
+
class IntelligenceCloudAutomlXpsReportingMetrics
|
4928
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4929
|
+
|
4930
|
+
include Google::Apis::Core::JsonObjectSupport
|
4931
|
+
end
|
4932
|
+
|
4933
|
+
class CloudAiLargeModelsVisionEmbedVideoResponse
|
4934
|
+
# @private
|
4935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4936
|
+
collection :video_embeddings, as: 'videoEmbeddings'
|
4937
|
+
end
|
4938
|
+
end
|
4939
|
+
|
4940
|
+
class CloudAiLargeModelsVisionFilteredText
|
4941
|
+
# @private
|
4942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4943
|
+
property :category, as: 'category'
|
4944
|
+
property :confidence, as: 'confidence'
|
4945
|
+
property :prompt, as: 'prompt'
|
4946
|
+
property :score, as: 'score'
|
4947
|
+
end
|
4948
|
+
end
|
4949
|
+
|
4950
|
+
class CloudAiLargeModelsVisionGenerateVideoResponse
|
4951
|
+
# @private
|
4952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4953
|
+
collection :generated_samples, as: 'generatedSamples', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionMedia, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionMedia::Representation
|
4954
|
+
|
4955
|
+
property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
|
4956
|
+
collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
|
4957
|
+
property :rai_text_filtered_reason, as: 'raiTextFilteredReason', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionFilteredText, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionFilteredText::Representation
|
4958
|
+
|
4959
|
+
end
|
4960
|
+
end
|
4961
|
+
|
4962
|
+
class CloudAiLargeModelsVisionImage
|
4963
|
+
# @private
|
4964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4965
|
+
property :encoding, as: 'encoding'
|
4966
|
+
property :image, :base64 => true, as: 'image'
|
4967
|
+
property :image_rai_scores, as: 'imageRaiScores', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores::Representation
|
4968
|
+
|
4969
|
+
property :rai_info, as: 'raiInfo', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfo, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfo::Representation
|
4970
|
+
|
4971
|
+
property :semantic_filter_response, as: 'semanticFilterResponse', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse::Representation
|
4972
|
+
|
4973
|
+
property :uri, as: 'uri'
|
4974
|
+
end
|
4975
|
+
end
|
4976
|
+
|
4977
|
+
class CloudAiLargeModelsVisionImageRaiScores
|
4978
|
+
# @private
|
4979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4980
|
+
property :agile_watermark_detection_score, as: 'agileWatermarkDetectionScore'
|
4981
|
+
end
|
4982
|
+
end
|
4983
|
+
|
4984
|
+
class CloudAiLargeModelsVisionMedia
|
4985
|
+
# @private
|
4986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4987
|
+
property :image, as: 'image', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImage, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImage::Representation
|
4988
|
+
|
4989
|
+
property :video, as: 'video', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionVideo, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionVideo::Representation
|
4990
|
+
|
4991
|
+
end
|
4992
|
+
end
|
4993
|
+
|
4994
|
+
class CloudAiLargeModelsVisionMediaGenerateContentResponse
|
4995
|
+
# @private
|
4996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4997
|
+
property :response, as: 'response', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceGenerateMultiModalResponse, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceGenerateMultiModalResponse::Representation
|
4998
|
+
|
4999
|
+
end
|
5000
|
+
end
|
5001
|
+
|
5002
|
+
class CloudAiLargeModelsVisionNamedBoundingBox
|
5003
|
+
# @private
|
5004
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5005
|
+
collection :classes, as: 'classes'
|
5006
|
+
collection :entities, as: 'entities'
|
5007
|
+
collection :scores, as: 'scores'
|
5008
|
+
property :x1, as: 'x1'
|
5009
|
+
property :x2, as: 'x2'
|
5010
|
+
property :y1, as: 'y1'
|
5011
|
+
property :y2, as: 'y2'
|
5012
|
+
end
|
5013
|
+
end
|
5014
|
+
|
5015
|
+
class CloudAiLargeModelsVisionRaiInfo
|
5016
|
+
# @private
|
5017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5018
|
+
collection :rai_categories, as: 'raiCategories'
|
5019
|
+
collection :scores, as: 'scores'
|
5020
|
+
end
|
5021
|
+
end
|
5022
|
+
|
5023
|
+
class CloudAiLargeModelsVisionReasonVideoResponse
|
5024
|
+
# @private
|
5025
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5026
|
+
collection :responses, as: 'responses', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionReasonVideoResponseTextResponse, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionReasonVideoResponseTextResponse::Representation
|
5027
|
+
|
5028
|
+
end
|
5029
|
+
end
|
5030
|
+
|
5031
|
+
class CloudAiLargeModelsVisionReasonVideoResponseTextResponse
|
5032
|
+
# @private
|
5033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5034
|
+
property :relative_temporal_partition, as: 'relativeTemporalPartition', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRelativeTemporalPartition, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRelativeTemporalPartition::Representation
|
5035
|
+
|
5036
|
+
property :text, as: 'text'
|
5037
|
+
end
|
5038
|
+
end
|
5039
|
+
|
5040
|
+
class CloudAiLargeModelsVisionRelativeTemporalPartition
|
5041
|
+
# @private
|
5042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5043
|
+
property :end_offset, as: 'endOffset'
|
5044
|
+
property :start_offset, as: 'startOffset'
|
5045
|
+
end
|
5046
|
+
end
|
5047
|
+
|
5048
|
+
class CloudAiLargeModelsVisionSemanticFilterResponse
|
5049
|
+
# @private
|
5050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5051
|
+
collection :named_bounding_boxes, as: 'namedBoundingBoxes', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionNamedBoundingBox, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionNamedBoundingBox::Representation
|
5052
|
+
|
5053
|
+
property :passed_semantic_filter, as: 'passedSemanticFilter'
|
5054
|
+
end
|
5055
|
+
end
|
5056
|
+
|
5057
|
+
class CloudAiLargeModelsVisionVideo
|
5058
|
+
# @private
|
5059
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5060
|
+
property :uri, as: 'uri'
|
5061
|
+
property :video, :base64 => true, as: 'video'
|
5062
|
+
end
|
5063
|
+
end
|
5064
|
+
|
5065
|
+
class CloudAiNlLlmProtoServiceCandidate
|
5066
|
+
# @private
|
5067
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5068
|
+
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCitationMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCitationMetadata::Representation
|
5069
|
+
|
5070
|
+
property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceContent, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceContent::Representation
|
5071
|
+
|
5072
|
+
property :finish_message, as: 'finishMessage'
|
5073
|
+
property :finish_reason, as: 'finishReason'
|
5074
|
+
property :index, as: 'index'
|
5075
|
+
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating::Representation
|
5076
|
+
|
5077
|
+
end
|
5078
|
+
end
|
5079
|
+
|
5080
|
+
class CloudAiNlLlmProtoServiceCitation
|
5081
|
+
# @private
|
5082
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5083
|
+
property :end_index, as: 'endIndex'
|
5084
|
+
property :license, as: 'license'
|
5085
|
+
property :publication_date, as: 'publicationDate', class: Google::Apis::AiplatformV1beta1::GoogleTypeDate, decorator: Google::Apis::AiplatformV1beta1::GoogleTypeDate::Representation
|
5086
|
+
|
5087
|
+
property :start_index, as: 'startIndex'
|
5088
|
+
property :title, as: 'title'
|
5089
|
+
property :uri, as: 'uri'
|
5090
|
+
end
|
5091
|
+
end
|
5092
|
+
|
5093
|
+
class CloudAiNlLlmProtoServiceCitationMetadata
|
5094
|
+
# @private
|
5095
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5096
|
+
collection :citations, as: 'citations', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCitation, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCitation::Representation
|
5097
|
+
|
5098
|
+
end
|
5099
|
+
end
|
5100
|
+
|
5101
|
+
class CloudAiNlLlmProtoServiceContent
|
5102
|
+
# @private
|
5103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5104
|
+
collection :parts, as: 'parts', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePart, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePart::Representation
|
5105
|
+
|
5106
|
+
property :role, as: 'role'
|
5107
|
+
end
|
5108
|
+
end
|
5109
|
+
|
5110
|
+
class CloudAiNlLlmProtoServiceFunctionCall
|
5111
|
+
# @private
|
5112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5113
|
+
hash :args, as: 'args'
|
5114
|
+
property :name, as: 'name'
|
5115
|
+
end
|
5116
|
+
end
|
5117
|
+
|
5118
|
+
class CloudAiNlLlmProtoServiceFunctionResponse
|
5119
|
+
# @private
|
5120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5121
|
+
property :name, as: 'name'
|
5122
|
+
hash :response, as: 'response'
|
5123
|
+
end
|
5124
|
+
end
|
5125
|
+
|
5126
|
+
class CloudAiNlLlmProtoServiceGenerateMultiModalResponse
|
5127
|
+
# @private
|
5128
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5129
|
+
collection :candidates, as: 'candidates', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCandidate, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceCandidate::Representation
|
5130
|
+
|
5131
|
+
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePromptFeedback, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePromptFeedback::Representation
|
5132
|
+
|
5133
|
+
property :reporting_metrics, as: 'reportingMetrics', class: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsReportingMetrics, decorator: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsReportingMetrics::Representation
|
5134
|
+
|
5135
|
+
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceUsageMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceUsageMetadata::Representation
|
5136
|
+
|
5137
|
+
end
|
5138
|
+
end
|
5139
|
+
|
5140
|
+
class CloudAiNlLlmProtoServicePart
|
5141
|
+
# @private
|
5142
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5143
|
+
property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData::Representation
|
5144
|
+
|
5145
|
+
property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionCall, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionCall::Representation
|
5146
|
+
|
5147
|
+
property :function_response, as: 'functionResponse', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionResponse, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionResponse::Representation
|
5148
|
+
|
5149
|
+
property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob::Representation
|
5150
|
+
|
5151
|
+
property :text, as: 'text'
|
5152
|
+
property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadata::Representation
|
5153
|
+
|
5154
|
+
end
|
5155
|
+
end
|
5156
|
+
|
5157
|
+
class CloudAiNlLlmProtoServicePartBlob
|
5158
|
+
# @private
|
5159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5160
|
+
property :data, :base64 => true, as: 'data'
|
5161
|
+
property :mime_type, as: 'mimeType'
|
5162
|
+
property :original_file_data, as: 'originalFileData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData::Representation
|
5163
|
+
|
5164
|
+
end
|
5165
|
+
end
|
5166
|
+
|
5167
|
+
class CloudAiNlLlmProtoServicePartFileData
|
5168
|
+
# @private
|
5169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5170
|
+
property :file_uri, as: 'fileUri'
|
5171
|
+
property :mime_type, as: 'mimeType'
|
5172
|
+
end
|
5173
|
+
end
|
5174
|
+
|
5175
|
+
class CloudAiNlLlmProtoServicePartVideoMetadata
|
5176
|
+
# @private
|
5177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5178
|
+
property :end_offset, as: 'endOffset'
|
5179
|
+
property :start_offset, as: 'startOffset'
|
5180
|
+
end
|
5181
|
+
end
|
5182
|
+
|
5183
|
+
class CloudAiNlLlmProtoServicePromptFeedback
|
5184
|
+
# @private
|
5185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5186
|
+
property :block_reason, as: 'blockReason'
|
5187
|
+
property :block_reason_message, as: 'blockReasonMessage'
|
5188
|
+
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRating::Representation
|
5189
|
+
|
5190
|
+
end
|
5191
|
+
end
|
5192
|
+
|
5193
|
+
class CloudAiNlLlmProtoServiceSafetyRating
|
5194
|
+
# @private
|
5195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5196
|
+
property :blocked, as: 'blocked'
|
5197
|
+
property :category, as: 'category'
|
5198
|
+
property :probability, as: 'probability'
|
5199
|
+
end
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
class CloudAiNlLlmProtoServiceUsageMetadata
|
5203
|
+
# @private
|
5204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5205
|
+
property :candidates_token_count, as: 'candidatesTokenCount'
|
5206
|
+
property :prompt_token_count, as: 'promptTokenCount'
|
5207
|
+
property :total_token_count, as: 'totalTokenCount'
|
5208
|
+
end
|
5209
|
+
end
|
5210
|
+
|
4747
5211
|
class GoogleApiHttpBody
|
4748
5212
|
# @private
|
4749
5213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5747,6 +6211,7 @@ module Google
|
|
5747
6211
|
property :enable_web_access, as: 'enableWebAccess'
|
5748
6212
|
property :experiment, as: 'experiment'
|
5749
6213
|
property :experiment_run, as: 'experimentRun'
|
6214
|
+
collection :models, as: 'models'
|
5750
6215
|
property :network, as: 'network'
|
5751
6216
|
property :persistent_resource_id, as: 'persistentResourceId'
|
5752
6217
|
property :protected_artifact_location_id, as: 'protectedArtifactLocationId'
|
@@ -7239,12 +7704,7 @@ module Google
|
|
7239
7704
|
# @private
|
7240
7705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7241
7706
|
property :candidate_count, as: 'candidateCount'
|
7242
|
-
property :echo, as: 'echo'
|
7243
|
-
property :frequency_penalty, as: 'frequencyPenalty'
|
7244
|
-
hash :logit_bias, as: 'logitBias'
|
7245
|
-
property :logprobs, as: 'logprobs'
|
7246
7707
|
property :max_output_tokens, as: 'maxOutputTokens'
|
7247
|
-
property :presence_penalty, as: 'presencePenalty'
|
7248
7708
|
collection :stop_sequences, as: 'stopSequences'
|
7249
7709
|
property :temperature, as: 'temperature'
|
7250
7710
|
property :top_k, as: 'topK'
|
@@ -9244,6 +9704,7 @@ module Google
|
|
9244
9704
|
property :supported_actions, as: 'supportedActions', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction::Representation
|
9245
9705
|
|
9246
9706
|
property :version_id, as: 'versionId'
|
9707
|
+
property :version_state, as: 'versionState'
|
9247
9708
|
end
|
9248
9709
|
end
|
9249
9710
|
|
@@ -9286,6 +9747,7 @@ module Google
|
|
9286
9747
|
property :large_model_reference, as: 'largeModelReference', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LargeModelReference, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LargeModelReference::Representation
|
9287
9748
|
|
9288
9749
|
property :model_display_name, as: 'modelDisplayName'
|
9750
|
+
property :public_artifact_uri, as: 'publicArtifactUri'
|
9289
9751
|
property :shared_resources, as: 'sharedResources'
|
9290
9752
|
property :title, as: 'title'
|
9291
9753
|
end
|
@@ -9329,8 +9791,10 @@ module Google
|
|
9329
9791
|
class GoogleCloudAiplatformV1beta1PublisherModelResourceReference
|
9330
9792
|
# @private
|
9331
9793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9794
|
+
property :description, as: 'description'
|
9332
9795
|
property :resource_name, as: 'resourceName'
|
9333
9796
|
property :uri, as: 'uri'
|
9797
|
+
property :use_case, as: 'useCase'
|
9334
9798
|
end
|
9335
9799
|
end
|
9336
9800
|
|
@@ -12575,6 +13039,35 @@ module Google
|
|
12575
13039
|
property :units, :numeric_string => true, as: 'units'
|
12576
13040
|
end
|
12577
13041
|
end
|
13042
|
+
|
13043
|
+
class IntelligenceCloudAutomlXpsMetricEntry
|
13044
|
+
# @private
|
13045
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13046
|
+
property :argentum_metric_id, as: 'argentumMetricId'
|
13047
|
+
property :double_value, as: 'doubleValue'
|
13048
|
+
property :int64_value, :numeric_string => true, as: 'int64Value'
|
13049
|
+
property :metric_name, as: 'metricName'
|
13050
|
+
collection :system_labels, as: 'systemLabels', class: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntryLabel, decorator: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntryLabel::Representation
|
13051
|
+
|
13052
|
+
end
|
13053
|
+
end
|
13054
|
+
|
13055
|
+
class IntelligenceCloudAutomlXpsMetricEntryLabel
|
13056
|
+
# @private
|
13057
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13058
|
+
property :label_name, as: 'labelName'
|
13059
|
+
property :label_value, as: 'labelValue'
|
13060
|
+
end
|
13061
|
+
end
|
13062
|
+
|
13063
|
+
class IntelligenceCloudAutomlXpsReportingMetrics
|
13064
|
+
# @private
|
13065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13066
|
+
property :effective_training_duration, as: 'effectiveTrainingDuration'
|
13067
|
+
collection :metric_entries, as: 'metricEntries', class: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntry, decorator: Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntry::Representation
|
13068
|
+
|
13069
|
+
end
|
13070
|
+
end
|
12578
13071
|
end
|
12579
13072
|
end
|
12580
13073
|
end
|
@@ -15116,6 +15116,51 @@ module Google
|
|
15116
15116
|
execute_or_queue_command(command, &block)
|
15117
15117
|
end
|
15118
15118
|
|
15119
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
15120
|
+
# resource exists and does not have a policy set.
|
15121
|
+
# @param [String] resource
|
15122
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
15123
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
15124
|
+
# appropriate value for this field.
|
15125
|
+
# @param [Fixnum] options_requested_policy_version
|
15126
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
15127
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
15128
|
+
# rejected. Requests for policies with any conditional role bindings must
|
15129
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
15130
|
+
# valid value or leave the field unset. The policy in the response might use the
|
15131
|
+
# policy version that you specified, or it might use a lower policy version. For
|
15132
|
+
# example, if you specify version 3, but the policy has no conditional role
|
15133
|
+
# bindings, the response uses version 1. To learn which resources support
|
15134
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
15135
|
+
# google.com/iam/help/conditions/resource-policies).
|
15136
|
+
# @param [String] fields
|
15137
|
+
# Selector specifying which fields to include in a partial response.
|
15138
|
+
# @param [String] quota_user
|
15139
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15140
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15141
|
+
# @param [Google::Apis::RequestOptions] options
|
15142
|
+
# Request-specific options
|
15143
|
+
#
|
15144
|
+
# @yield [result, err] Result & error if block supplied
|
15145
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
15146
|
+
# @yieldparam err [StandardError] error object if request failed
|
15147
|
+
#
|
15148
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
15149
|
+
#
|
15150
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15151
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15152
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15153
|
+
def get_project_location_publisher_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
15154
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
15155
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
15156
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
15157
|
+
command.params['resource'] = resource unless resource.nil?
|
15158
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
15159
|
+
command.query['fields'] = fields unless fields.nil?
|
15160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15161
|
+
execute_or_queue_command(command, &block)
|
15162
|
+
end
|
15163
|
+
|
15119
15164
|
# Perform an online prediction.
|
15120
15165
|
# @param [String] endpoint
|
15121
15166
|
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
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.
|
4
|
+
version: 0.13.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: 2023-12-
|
11
|
+
date: 2023-12-17 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.13.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: []
|