diff --git a/api_names_out.yaml b/api_names_out.yaml index 0672d9091f0..4a9ed2d5fbe 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6389,6 +6389,7 @@ "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse": cloud_ai_large_models_vision_generate_video_response "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/generatedSamples": generated_samples "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/generatedSamples/generated_sample": generated_sample +"/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/raiErrorMessage": rai_error_message "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/raiMediaFilteredCount": rai_media_filtered_count "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/raiMediaFilteredReasons": rai_media_filtered_reasons "/aiplatform:v1/CloudAiLargeModelsVisionGenerateVideoResponse/raiMediaFilteredReasons/rai_media_filtered_reason": rai_media_filtered_reason @@ -10528,12 +10529,32 @@ "/aiplatform:v1/LearningGenaiRootCodeyCompletionMetadata": learning_genai_root_codey_completion_metadata "/aiplatform:v1/LearningGenaiRootCodeyCompletionMetadata/checkpoints": checkpoints "/aiplatform:v1/LearningGenaiRootCodeyCompletionMetadata/checkpoints/checkpoint": checkpoint +"/aiplatform:v1/LearningGenaiRootCodeyGenerationMetadata": learning_genai_root_codey_generation_metadata +"/aiplatform:v1/LearningGenaiRootCodeyGenerationMetadata/output": output +"/aiplatform:v1/LearningGenaiRootCodeyGenerationMetadata/postInferenceStep": post_inference_step "/aiplatform:v1/LearningGenaiRootCodeyOutput": learning_genai_root_codey_output "/aiplatform:v1/LearningGenaiRootCodeyOutput/codeyChatMetadata": codey_chat_metadata "/aiplatform:v1/LearningGenaiRootCodeyOutput/codeyCompletionMetadata": codey_completion_metadata +"/aiplatform:v1/LearningGenaiRootCodeyOutput/codeyGenerationMetadata": codey_generation_metadata "/aiplatform:v1/LearningGenaiRootCodeyTruncatorMetadata": learning_genai_root_codey_truncator_metadata "/aiplatform:v1/LearningGenaiRootCodeyTruncatorMetadata/cutoffIndex": cutoff_index "/aiplatform:v1/LearningGenaiRootCodeyTruncatorMetadata/truncatedText": truncated_text +"/aiplatform:v1/LearningGenaiRootControlDecodingConfigThreshold": learning_genai_root_control_decoding_config_threshold +"/aiplatform:v1/LearningGenaiRootControlDecodingConfigThreshold/policy": policy +"/aiplatform:v1/LearningGenaiRootControlDecodingConfigThreshold/scoreMax": score_max +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord": learning_genai_root_control_decoding_record +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/prefixes": prefixes +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/scores": scores +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/scores/score": score +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/suffiexes": suffiexes +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/thresholds": thresholds +"/aiplatform:v1/LearningGenaiRootControlDecodingRecord/thresholds/threshold": threshold +"/aiplatform:v1/LearningGenaiRootControlDecodingRecordPolicyScore": learning_genai_root_control_decoding_record_policy_score +"/aiplatform:v1/LearningGenaiRootControlDecodingRecordPolicyScore/policy": policy +"/aiplatform:v1/LearningGenaiRootControlDecodingRecordPolicyScore/score": score +"/aiplatform:v1/LearningGenaiRootControlDecodingRecords": learning_genai_root_control_decoding_records +"/aiplatform:v1/LearningGenaiRootControlDecodingRecords/records": records +"/aiplatform:v1/LearningGenaiRootControlDecodingRecords/records/record": record "/aiplatform:v1/LearningGenaiRootDataProviderOutput": learning_genai_root_data_provider_output "/aiplatform:v1/LearningGenaiRootDataProviderOutput/name": name "/aiplatform:v1/LearningGenaiRootDataProviderOutput/status": status @@ -10552,6 +10573,7 @@ "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/raiOutput": rai_output "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/raiResult": rai_result "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/raiSignal": rai_signal +"/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/records": records "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/streamRecitationResult": stream_recitation_result "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/takedownResult": takedown_result "/aiplatform:v1/LearningGenaiRootFilterMetadataFilterDebugInfo/toxicityResult": toxicity_result diff --git a/generated/google-apis-aiplatform_v1/CHANGELOG.md b/generated/google-apis-aiplatform_v1/CHANGELOG.md index 28c10cf8f6c..3643747d009 100644 --- a/generated/google-apis-aiplatform_v1/CHANGELOG.md +++ b/generated/google-apis-aiplatform_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-aiplatform_v1 +### v0.21.0 (2024-04-28) + +* Regenerated from discovery document revision 20240417 + ### v0.20.0 (2024-04-07) * Regenerated from discovery document revision 20240328 diff --git a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb index 25e94d63c0a..048a2689427 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb @@ -87,6 +87,11 @@ class CloudAiLargeModelsVisionGenerateVideoResponse # @return [Array] attr_accessor :generated_samples + # Returns rai error message for filtered videos. + # Corresponds to the JSON property `raiErrorMessage` + # @return [String] + attr_accessor :rai_error_message + # Returns if any videos were filtered due to RAI policies. # Corresponds to the JSON property `raiMediaFilteredCount` # @return [Fixnum] @@ -109,6 +114,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @generated_samples = args[:generated_samples] if args.key?(:generated_samples) + @rai_error_message = args[:rai_error_message] if args.key?(:rai_error_message) @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count) @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons) @rai_text_filtered_reason = args[:rai_text_filtered_reason] if args.key?(:rai_text_filtered_reason) @@ -6154,6 +6160,11 @@ class GoogleCloudAiplatformV1Endpoint # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig] attr_accessor :predict_request_response_logging_config + # Represents configuration for private service connect. + # Corresponds to the JSON property `privateServiceConnectConfig` + # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig] + attr_accessor :private_service_connect_config + # A map from a DeployedModel's ID to the percentage of this Endpoint's traffic # that should be forwarded to that DeployedModel. If a DeployedModel's ID is not # listed in this map, then it receives no traffic. The traffic percentage values @@ -6186,6 +6197,7 @@ def update!(**args) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config) + @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config) @traffic_split = args[:traffic_split] if args.key?(:traffic_split) @update_time = args[:update_time] if args.key?(:update_time) end @@ -10038,7 +10050,7 @@ class GoogleCloudAiplatformV1GenerationConfig attr_accessor :presence_penalty # Optional. Output response mimetype of the generated candidate text. Supported - # mimetype: `text/plain`: (default) Text output. `application/json`: JSON + # mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON # response in the candidates. The model needs to be prompted to output the # appropriate response type, otherwise the behavior is undefined. This is a # preview feature. @@ -10138,94 +10150,10 @@ def update!(**args) end end - # Tool to retrieve public web data for grounding, powered by Google. - class GoogleCloudAiplatformV1GoogleSearchRetrieval - include Google::Apis::Core::Hashable - - # Optional. Disable using the result from this tool in detecting grounding - # attribution. This does not affect how the result is given to the model for - # generation. - # Corresponds to the JSON property `disableAttribution` - # @return [Boolean] - attr_accessor :disable_attribution - alias_method :disable_attribution?, :disable_attribution - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution) - end - end - - # Grounding attribution. - class GoogleCloudAiplatformV1GroundingAttribution - include Google::Apis::Core::Hashable - - # Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. - # 1 is the most confident. - # Corresponds to the JSON property `confidenceScore` - # @return [Float] - attr_accessor :confidence_score - - # Segment of the content. - # Corresponds to the JSON property `segment` - # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment] - attr_accessor :segment - - # Attribution from the web. - # Corresponds to the JSON property `web` - # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb] - attr_accessor :web - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @confidence_score = args[:confidence_score] if args.key?(:confidence_score) - @segment = args[:segment] if args.key?(:segment) - @web = args[:web] if args.key?(:web) - end - end - - # Attribution from the web. - class GoogleCloudAiplatformV1GroundingAttributionWeb - include Google::Apis::Core::Hashable - - # Output only. Title of the attribution. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # Output only. URI reference of the attribution. - # Corresponds to the JSON property `uri` - # @return [String] - attr_accessor :uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - @uri = args[:uri] if args.key?(:uri) - end - end - # Metadata returned to client when grounding is enabled. class GoogleCloudAiplatformV1GroundingMetadata include Google::Apis::Core::Hashable - # Optional. List of grounding attributions. - # Corresponds to the JSON property `groundingAttributions` - # @return [Array] - attr_accessor :grounding_attributions - # Optional. Web search queries for the following-up web search. # Corresponds to the JSON property `webSearchQueries` # @return [Array] @@ -10237,7 +10165,6 @@ def initialize(**args) # Update properties of this object def update!(**args) - @grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions) @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries) end end @@ -26083,39 +26010,6 @@ def update!(**args) end end - # Segment of the content. - class GoogleCloudAiplatformV1Segment - include Google::Apis::Core::Hashable - - # Output only. End index in the given Part, measured in bytes. Offset from the - # start of the Part, exclusive, starting at zero. - # Corresponds to the JSON property `endIndex` - # @return [Fixnum] - attr_accessor :end_index - - # Output only. The index of a Part object within its parent Content object. - # Corresponds to the JSON property `partIndex` - # @return [Fixnum] - attr_accessor :part_index - - # Output only. Start index in the given Part, measured in bytes. Offset from the - # start of the Part, inclusive, starting at zero. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_index = args[:end_index] if args.key?(:end_index) - @part_index = args[:part_index] if args.key?(:part_index) - @start_index = args[:start_index] if args.key?(:start_index) - end - end - # Configuration for the use of custom service account to run the workloads. class GoogleCloudAiplatformV1ServiceAccountSpec include Google::Apis::Core::Hashable @@ -28325,11 +28219,6 @@ class GoogleCloudAiplatformV1Tool # @return [Array] attr_accessor :function_declarations - # Tool to retrieve public web data for grounding, powered by Google. - # Corresponds to the JSON property `googleSearchRetrieval` - # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval] - attr_accessor :google_search_retrieval - # Defines a retrieval tool that model can call to access external knowledge. # Corresponds to the JSON property `retrieval` # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval] @@ -28342,7 +28231,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @function_declarations = args[:function_declarations] if args.key?(:function_declarations) - @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval) @retrieval = args[:retrieval] if args.key?(:retrieval) end end @@ -29526,9 +29414,9 @@ def update!(**args) class GoogleCloudAiplatformV1VertexAiSearch include Google::Apis::Core::Hashable - # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: + # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: ` # projects/`project`/locations/`location`/collections/`collection`/dataStores/` - # dataStore` + # dataStore`` # Corresponds to the JSON property `datastore` # @return [String] attr_accessor :datastore @@ -31474,6 +31362,31 @@ def update!(**args) end end + # Stores all metadata relating to GenerateCode. + class LearningGenaiRootCodeyGenerationMetadata + include Google::Apis::Core::Hashable + + # Last state of the sample before getting dropped/returned. + # Corresponds to the JSON property `output` + # @return [String] + attr_accessor :output + + # Last Codey postprocessing step for this sample before getting dropped/returned. + # Corresponds to the JSON property `postInferenceStep` + # @return [String] + attr_accessor :post_inference_step + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output = args[:output] if args.key?(:output) + @post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step) + end + end + # Top-level wrapper used to store all things codey-related. class LearningGenaiRootCodeyOutput include Google::Apis::Core::Hashable @@ -31488,6 +31401,11 @@ class LearningGenaiRootCodeyOutput # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata] attr_accessor :codey_completion_metadata + # Stores all metadata relating to GenerateCode. + # Corresponds to the JSON property `codeyGenerationMetadata` + # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata] + attr_accessor :codey_generation_metadata + def initialize(**args) update!(**args) end @@ -31496,6 +31414,7 @@ def initialize(**args) def update!(**args) @codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata) @codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata) + @codey_generation_metadata = args[:codey_generation_metadata] if args.key?(:codey_generation_metadata) end end @@ -31524,6 +31443,113 @@ def update!(**args) end end + # Score threshold for a category. + class LearningGenaiRootControlDecodingConfigThreshold + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `policy` + # @return [String] + attr_accessor :policy + + # + # Corresponds to the JSON property `scoreMax` + # @return [Float] + attr_accessor :score_max + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @score_max = args[:score_max] if args.key?(:score_max) + end + end + + # Holds one control decoding record. + class LearningGenaiRootControlDecodingRecord + include Google::Apis::Core::Hashable + + # Prefixes feeded into scorer. + # Corresponds to the JSON property `prefixes` + # @return [String] + attr_accessor :prefixes + + # Per policy scores returned from Scorer. Expect to have the same number of + # scores as in `thresholds`. + # Corresponds to the JSON property `scores` + # @return [Array] + attr_accessor :scores + + # Suffixes feeded into scorer. + # Corresponds to the JSON property `suffiexes` + # @return [String] + attr_accessor :suffiexes + + # Per policy thresholds from user config. + # Corresponds to the JSON property `thresholds` + # @return [Array] + attr_accessor :thresholds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @prefixes = args[:prefixes] if args.key?(:prefixes) + @scores = args[:scores] if args.key?(:scores) + @suffiexes = args[:suffiexes] if args.key?(:suffiexes) + @thresholds = args[:thresholds] if args.key?(:thresholds) + end + end + + # + class LearningGenaiRootControlDecodingRecordPolicyScore + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `policy` + # @return [String] + attr_accessor :policy + + # + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @score = args[:score] if args.key?(:score) + end + end + + # + class LearningGenaiRootControlDecodingRecords + include Google::Apis::Core::Hashable + + # One ControlDecodingRecord record maps to one rewind. + # Corresponds to the JSON property `records` + # @return [Array] + attr_accessor :records + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @records = args[:records] if args.key?(:records) + end + end + # class LearningGenaiRootDataProviderOutput include Google::Apis::Core::Hashable @@ -31638,6 +31664,11 @@ class LearningGenaiRootFilterMetadataFilterDebugInfo # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal] attr_accessor :rai_signal + # Number of rewinds by controlled decoding. + # Corresponds to the JSON property `records` + # @return [Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords] + attr_accessor :records + # The recitation result for one stream input # Corresponds to the JSON property `streamRecitationResult` # @return [Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult] @@ -31666,6 +31697,7 @@ def update!(**args) @rai_output = args[:rai_output] if args.key?(:rai_output) @rai_result = args[:rai_result] if args.key?(:rai_result) @rai_signal = args[:rai_signal] if args.key?(:rai_signal) + @records = args[:records] if args.key?(:records) @stream_recitation_result = args[:stream_recitation_result] if args.key?(:stream_recitation_result) @takedown_result = args[:takedown_result] if args.key?(:takedown_result) @toxicity_result = args[:toxicity_result] if args.key?(:toxicity_result) diff --git a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb index 0bbba429763..64bb6902d11 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AiplatformV1 # Version of the google-apis-aiplatform_v1 gem - GEM_VERSION = "0.20.0" + GEM_VERSION = "0.21.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.14.0" # Revision of the discovery document this client was generated from - REVISION = "20240328" + REVISION = "20240417" end end end diff --git a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb index b30933bc52d..1e1e00b119a 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb @@ -1720,24 +1720,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudAiplatformV1GoogleSearchRetrieval - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudAiplatformV1GroundingAttribution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudAiplatformV1GroundingAttributionWeb - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudAiplatformV1GroundingMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4282,12 +4264,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudAiplatformV1Segment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudAiplatformV1ServiceAccountSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5116,6 +5092,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LearningGenaiRootCodeyGenerationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LearningGenaiRootCodeyOutput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5128,6 +5110,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LearningGenaiRootControlDecodingConfigThreshold + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LearningGenaiRootControlDecodingRecord + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LearningGenaiRootControlDecodingRecordPolicyScore + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LearningGenaiRootControlDecodingRecords + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LearningGenaiRootDataProviderOutput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5426,6 +5432,7 @@ class CloudAiLargeModelsVisionGenerateVideoResponse class Representation < Google::Apis::Core::JsonRepresentation collection :generated_samples, as: 'generatedSamples', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia::Representation + property :rai_error_message, as: 'raiErrorMessage' property :rai_media_filtered_count, as: 'raiMediaFilteredCount' collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons' property :rai_text_filtered_reason, as: 'raiTextFilteredReason', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText::Representation @@ -7176,6 +7183,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :network, as: 'network' property :predict_request_response_logging_config, as: 'predictRequestResponseLoggingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::Representation + property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation + hash :traffic_split, as: 'trafficSplit' property :update_time, as: 'updateTime' end @@ -8244,37 +8253,9 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudAiplatformV1GoogleSearchRetrieval - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disable_attribution, as: 'disableAttribution' - end - end - - class GoogleCloudAiplatformV1GroundingAttribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :confidence_score, as: 'confidenceScore' - property :segment, as: 'segment', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment::Representation - - property :web, as: 'web', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb::Representation - - end - end - - class GoogleCloudAiplatformV1GroundingAttributionWeb - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :uri, as: 'uri' - end - end - class GoogleCloudAiplatformV1GroundingMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation - collection :web_search_queries, as: 'webSearchQueries' end end @@ -12601,15 +12582,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudAiplatformV1Segment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_index, as: 'endIndex' - property :part_index, as: 'partIndex' - property :start_index, as: 'startIndex' - end - end - class GoogleCloudAiplatformV1ServiceAccountSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13193,8 +13165,6 @@ class GoogleCloudAiplatformV1Tool class Representation < Google::Apis::Core::JsonRepresentation collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation - property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation - property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation end @@ -14019,6 +13989,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class LearningGenaiRootCodeyGenerationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output, as: 'output' + property :post_inference_step, as: 'postInferenceStep' + end + end + class LearningGenaiRootCodeyOutput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14026,6 +14004,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata::Representation + property :codey_generation_metadata, as: 'codeyGenerationMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata::Representation + end end @@ -14037,6 +14017,42 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class LearningGenaiRootControlDecodingConfigThreshold + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy' + property :score_max, as: 'scoreMax' + end + end + + class LearningGenaiRootControlDecodingRecord + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :prefixes, as: 'prefixes' + collection :scores, as: 'scores', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore::Representation + + property :suffiexes, as: 'suffiexes' + collection :thresholds, as: 'thresholds', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold::Representation + + end + end + + class LearningGenaiRootControlDecodingRecordPolicyScore + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy' + property :score, as: 'score' + end + end + + class LearningGenaiRootControlDecodingRecords + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord::Representation + + end + end + class LearningGenaiRootDataProviderOutput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14074,6 +14090,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :rai_signal, as: 'raiSignal', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal::Representation + property :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords::Representation + property :stream_recitation_result, as: 'streamRecitationResult', class: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult, decorator: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult::Representation property :takedown_result, as: 'takedownResult', class: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult, decorator: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult::Representation