# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'

module Google
  module Apis
    module FirebasemlV2beta
      
      class Date
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ApiAuth
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Blob
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Candidate
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Citation
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1CitationMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1CodeExecutionResult
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Content
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1CountTokensRequest
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1CountTokensResponse
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ExecutableCode
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApi
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1FileData
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1FunctionCall
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1FunctionCallingConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1FunctionDeclaration
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1FunctionResponse
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentRequest
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponse
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GoogleMaps
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunk
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMaps
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkWeb
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1GroundingSupport
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ImageConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResult
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ModalityTokenCount
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ModelArmorConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Part
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagChunk
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagChunkPageSpan
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Retrieval
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RetrievalConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1RetrievalMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1SafetyRating
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1SafetySetting
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Schema
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1SearchEntryPoint
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Segment
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1SpeechConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1Tool
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ToolCodeExecution
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ToolConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1ToolGoogleSearch
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1UrlContext
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1UrlContextMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1UrlMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VertexAiSearch
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VertexRagStore
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VideoMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class GoogleCloudAiplatformV1beta1VoiceConfig
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class LatLng
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class ModelOperationMetadata
        class Representation < Google::Apis::Core::JsonRepresentation; end
      
        include Google::Apis::Core::JsonObjectSupport
      end
      
      class Date
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :day, as: 'day'
          property :month, as: 'month'
          property :year, as: 'year'
        end
      end
      
      class GoogleCloudAiplatformV1beta1ApiAuth
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :api_key_secret_version, as: 'apiKeySecretVersion'
          property :api_key_string, as: 'apiKeyString'
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig::Representation
      
          property :auth_type, as: 'authType'
          property :google_service_account_config, as: 'googleServiceAccountConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig::Representation
      
          property :http_basic_auth_config, as: 'httpBasicAuthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig::Representation
      
          property :oauth_config, as: 'oauthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig::Representation
      
          property :oidc_config, as: 'oidcConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :api_key_secret, as: 'apiKeySecret'
          property :api_key_string, as: 'apiKeyString'
          property :http_element_location, as: 'httpElementLocation'
          property :name, as: 'name'
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :service_account, as: 'serviceAccount'
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :credential_secret, as: 'credentialSecret'
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :access_token, as: 'accessToken'
          property :service_account, as: 'serviceAccount'
        end
      end
      
      class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :id_token, as: 'idToken'
          property :service_account, as: 'serviceAccount'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Blob
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :data, :base64 => true, as: 'data'
          property :display_name, as: 'displayName'
          property :mime_type, as: 'mimeType'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Candidate
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :avg_logprobs, as: 'avgLogprobs'
          property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
      
          property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
      
          property :finish_message, as: 'finishMessage'
          property :finish_reason, as: 'finishReason'
          property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
      
          property :index, as: 'index'
          property :logprobs_result, as: 'logprobsResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult::Representation
      
          collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
      
          property :url_context_metadata, as: 'urlContextMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1Citation
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :end_index, as: 'endIndex'
          property :license, as: 'license'
          property :publication_date, as: 'publicationDate', class: Google::Apis::FirebasemlV2beta::Date, decorator: Google::Apis::FirebasemlV2beta::Date::Representation
      
          property :start_index, as: 'startIndex'
          property :title, as: 'title'
          property :uri, as: 'uri'
        end
      end
      
      class GoogleCloudAiplatformV1beta1CitationMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1CodeExecutionResult
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :outcome, as: 'outcome'
          property :output, as: 'output'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Content
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part::Representation
      
          property :role, as: 'role'
        end
      end
      
      class GoogleCloudAiplatformV1beta1CountTokensRequest
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
      
          property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
      
          collection :instances, as: 'instances'
          property :model, as: 'model'
          property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
      
          collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1CountTokensResponse
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
      
          property :total_billable_characters, as: 'totalBillableCharacters'
          property :total_tokens, as: 'totalTokens'
        end
      end
      
      class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :dynamic_threshold, as: 'dynamicThreshold'
          property :mode, as: 'mode'
        end
      end
      
      class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :blocking_confidence, as: 'blockingConfidence'
          collection :exclude_domains, as: 'excludeDomains'
        end
      end
      
      class GoogleCloudAiplatformV1beta1ExecutableCode
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :code, as: 'code'
          property :language, as: 'language'
        end
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApi
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
      
          property :api_spec, as: 'apiSpec'
          property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
      
          property :elastic_search_params, as: 'elasticSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams::Representation
      
          property :endpoint, as: 'endpoint'
          property :simple_search_params, as: 'simpleSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :index, as: 'index'
          property :num_hits, as: 'numHits'
          property :search_template, as: 'searchTemplate'
        end
      end
      
      class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
        end
      end
      
      class GoogleCloudAiplatformV1beta1FileData
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :display_name, as: 'displayName'
          property :file_uri, as: 'fileUri'
          property :mime_type, as: 'mimeType'
        end
      end
      
      class GoogleCloudAiplatformV1beta1FunctionCall
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          hash :args, as: 'args'
          property :id, as: 'id'
          property :name, as: 'name'
        end
      end
      
      class GoogleCloudAiplatformV1beta1FunctionCallingConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :allowed_function_names, as: 'allowedFunctionNames'
          property :mode, as: 'mode'
        end
      end
      
      class GoogleCloudAiplatformV1beta1FunctionDeclaration
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :description, as: 'description'
          property :name, as: 'name'
          property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :parameters_json_schema, as: 'parametersJsonSchema'
          property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :response_json_schema, as: 'responseJsonSchema'
        end
      end
      
      class GoogleCloudAiplatformV1beta1FunctionResponse
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :id, as: 'id'
          property :name, as: 'name'
          hash :response, as: 'response'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentRequest
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :cached_content, as: 'cachedContent'
          collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
      
          property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
      
          hash :labels, as: 'labels'
          property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig::Representation
      
          collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
      
          property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
      
          property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig::Representation
      
          collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponse
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
      
          property :create_time, as: 'createTime'
          property :model_version, as: 'modelVersion'
          property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
      
          property :response_id, as: 'responseId'
          property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :block_reason, as: 'blockReason'
          property :block_reason_message, as: 'blockReasonMessage'
          collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :cache_tokens_details, as: 'cacheTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
      
          property :cached_content_token_count, as: 'cachedContentTokenCount'
          property :candidates_token_count, as: 'candidatesTokenCount'
          collection :candidates_tokens_details, as: 'candidatesTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
      
          property :prompt_token_count, as: 'promptTokenCount'
          collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
      
          property :thoughts_token_count, as: 'thoughtsTokenCount'
          property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
          collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
      
          property :total_token_count, as: 'totalTokenCount'
          property :traffic_type, as: 'trafficType'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :audio_timestamp, as: 'audioTimestamp'
          property :candidate_count, as: 'candidateCount'
          property :enable_affective_dialog, as: 'enableAffectiveDialog'
          property :frequency_penalty, as: 'frequencyPenalty'
          property :image_config, as: 'imageConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig::Representation
      
          property :logprobs, as: 'logprobs'
          property :max_output_tokens, as: 'maxOutputTokens'
          property :media_resolution, as: 'mediaResolution'
          property :model_config, as: 'modelConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation
      
          property :presence_penalty, as: 'presencePenalty'
          property :response_json_schema, as: 'responseJsonSchema'
          property :response_logprobs, as: 'responseLogprobs'
          property :response_mime_type, as: 'responseMimeType'
          collection :response_modalities, as: 'responseModalities'
          property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :routing_config, as: 'routingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig::Representation
      
          property :seed, as: 'seed'
          property :speech_config, as: 'speechConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig::Representation
      
          collection :stop_sequences, as: 'stopSequences'
          property :temperature, as: 'temperature'
          property :thinking_config, as: 'thinkingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig::Representation
      
          property :top_k, as: 'topK'
          property :top_p, as: 'topP'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :feature_selection_preference, as: 'featureSelectionPreference'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :auto_mode, as: 'autoMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode::Representation
      
          property :manual_mode, as: 'manualMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :model_routing_preference, as: 'modelRoutingPreference'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :model_name, as: 'modelName'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :include_thoughts, as: 'includeThoughts'
          property :thinking_budget, as: 'thinkingBudget'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GoogleMaps
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :enable_widget, as: 'enableWidget'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunk
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :maps, as: 'maps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps::Representation
      
          property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
      
          property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMaps
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :place_answer_sources, as: 'placeAnswerSources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources::Representation
      
          property :place_id, as: 'placeId'
          property :text, as: 'text'
          property :title, as: 'title'
          property :uri, as: 'uri'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :review_snippets, as: 'reviewSnippets', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :google_maps_uri, as: 'googleMapsUri'
          property :review_id, as: 'reviewId'
          property :title, as: 'title'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :document_name, as: 'documentName'
          property :rag_chunk, as: 'ragChunk', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunk::Representation
      
          property :text, as: 'text'
          property :title, as: 'title'
          property :uri, as: 'uri'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingChunkWeb
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :domain, as: 'domain'
          property :title, as: 'title'
          property :uri, as: 'uri'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :google_maps_widget_context_token, as: 'googleMapsWidgetContextToken'
          collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
      
          collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
      
          property :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata::Representation
      
          collection :retrieval_queries, as: 'retrievalQueries'
          property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
      
          collection :source_flagging_uris, as: 'sourceFlaggingUris', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri::Representation
      
          collection :web_search_queries, as: 'webSearchQueries'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :flag_content_uri, as: 'flagContentUri'
          property :source_id, as: 'sourceId'
        end
      end
      
      class GoogleCloudAiplatformV1beta1GroundingSupport
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :confidence_scores, as: 'confidenceScores'
          collection :grounding_chunk_indices, as: 'groundingChunkIndices'
          property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ImageConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :aspect_ratio, as: 'aspectRatio'
        end
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResult
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :chosen_candidates, as: 'chosenCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
      
          collection :top_candidates, as: 'topCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :log_probability, as: 'logProbability'
          property :token, as: 'token'
          property :token_id, as: 'tokenId'
        end
      end
      
      class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ModalityTokenCount
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :modality, as: 'modality'
          property :token_count, as: 'tokenCount'
        end
      end
      
      class GoogleCloudAiplatformV1beta1ModelArmorConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :prompt_template_name, as: 'promptTemplateName'
          property :response_template_name, as: 'responseTemplateName'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Part
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult::Representation
      
          property :executable_code, as: 'executableCode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode::Representation
      
          property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
      
          property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
      
          property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse::Representation
      
          property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
      
          property :text, as: 'text'
          property :thought, as: 'thought'
          property :thought_signature, :base64 => true, as: 'thoughtSignature'
          property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :voice_name, as: 'voiceName'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagChunk
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :page_span, as: 'pageSpan', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunkPageSpan, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunkPageSpan::Representation
      
          property :text, as: 'text'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagChunkPageSpan
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :first_page, as: 'firstPage'
          property :last_page, as: 'lastPage'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :filter, as: 'filter', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter::Representation
      
          property :hybrid_search, as: 'hybridSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch::Representation
      
          property :ranking, as: 'ranking', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking::Representation
      
          property :top_k, as: 'topK'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :metadata_filter, as: 'metadataFilter'
          property :vector_distance_threshold, as: 'vectorDistanceThreshold'
          property :vector_similarity_threshold, as: 'vectorSimilarityThreshold'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :alpha, as: 'alpha'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :llm_ranker, as: 'llmRanker', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker::Representation
      
          property :rank_service, as: 'rankService', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :model_name, as: 'modelName'
        end
      end
      
      class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :model_name, as: 'modelName'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Retrieval
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :disable_attribution, as: 'disableAttribution'
          property :external_api, as: 'externalApi', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi::Representation
      
          property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
      
          property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1RetrievalConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :language_code, as: 'languageCode'
          property :lat_lng, as: 'latLng', class: Google::Apis::FirebasemlV2beta::LatLng, decorator: Google::Apis::FirebasemlV2beta::LatLng::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1RetrievalMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :google_search_dynamic_retrieval_score, as: 'googleSearchDynamicRetrievalScore'
        end
      end
      
      class GoogleCloudAiplatformV1beta1SafetyRating
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :blocked, as: 'blocked'
          property :category, as: 'category'
          property :overwritten_threshold, as: 'overwrittenThreshold'
          property :probability, as: 'probability'
          property :probability_score, as: 'probabilityScore'
          property :severity, as: 'severity'
          property :severity_score, as: 'severityScore'
        end
      end
      
      class GoogleCloudAiplatformV1beta1SafetySetting
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :category, as: 'category'
          property :method_prop, as: 'method'
          property :threshold, as: 'threshold'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Schema
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :additional_properties, as: 'additionalProperties'
          collection :any_of, as: 'anyOf', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :default, as: 'default'
          hash :defs, as: 'defs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :description, as: 'description'
          collection :enum, as: 'enum'
          property :example, as: 'example'
          property :format, as: 'format'
          property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          property :max_items, :numeric_string => true, as: 'maxItems'
          property :max_length, :numeric_string => true, as: 'maxLength'
          property :max_properties, :numeric_string => true, as: 'maxProperties'
          property :maximum, as: 'maximum'
          property :min_items, :numeric_string => true, as: 'minItems'
          property :min_length, :numeric_string => true, as: 'minLength'
          property :min_properties, :numeric_string => true, as: 'minProperties'
          property :minimum, as: 'minimum'
          property :nullable, as: 'nullable'
          property :pattern, as: 'pattern'
          hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
      
          collection :property_ordering, as: 'propertyOrdering'
          property :ref, as: 'ref'
          collection :required, as: 'required'
          property :title, as: 'title'
          property :type, as: 'type'
        end
      end
      
      class GoogleCloudAiplatformV1beta1SearchEntryPoint
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :rendered_content, as: 'renderedContent'
          property :sdk_blob, :base64 => true, as: 'sdkBlob'
        end
      end
      
      class GoogleCloudAiplatformV1beta1Segment
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :end_index, as: 'endIndex'
          property :part_index, as: 'partIndex'
          property :start_index, as: 'startIndex'
          property :text, as: 'text'
        end
      end
      
      class GoogleCloudAiplatformV1beta1SpeechConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :language_code, as: 'languageCode'
          property :voice_config, as: 'voiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1Tool
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
      
          property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
      
          collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
      
          property :google_maps, as: 'googleMaps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps::Representation
      
          property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
      
          property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
      
          property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
      
          property :url_context, as: 'urlContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ToolCodeExecution
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
        end
      end
      
      class GoogleCloudAiplatformV1beta1ToolConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
      
          property :retrieval_config, as: 'retrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1ToolGoogleSearch
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :blocking_confidence, as: 'blockingConfidence'
          collection :exclude_domains, as: 'excludeDomains'
        end
      end
      
      class GoogleCloudAiplatformV1beta1UrlContext
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
        end
      end
      
      class GoogleCloudAiplatformV1beta1UrlContextMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :url_metadata, as: 'urlMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata::Representation
      
        end
      end
      
      class GoogleCloudAiplatformV1beta1UrlMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :retrieved_url, as: 'retrievedUrl'
          property :url_retrieval_status, as: 'urlRetrievalStatus'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VertexAiSearch
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec::Representation
      
          property :datastore, as: 'datastore'
          property :engine, as: 'engine'
          property :filter, as: 'filter'
          property :max_results, as: 'maxResults'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :data_store, as: 'dataStore'
          property :filter, as: 'filter'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VertexRagStore
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          collection :rag_corpora, as: 'ragCorpora'
          collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
      
          property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
      
          property :similarity_top_k, as: 'similarityTopK'
          property :store_context, as: 'storeContext'
          property :vector_distance_threshold, as: 'vectorDistanceThreshold'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :rag_corpus, as: 'ragCorpus'
          collection :rag_file_ids, as: 'ragFileIds'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VideoMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :end_offset, as: 'endOffset'
          property :fps, as: 'fps'
          property :start_offset, as: 'startOffset'
        end
      end
      
      class GoogleCloudAiplatformV1beta1VoiceConfig
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :prebuilt_voice_config, as: 'prebuiltVoiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig::Representation
      
        end
      end
      
      class LatLng
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :latitude, as: 'latitude'
          property :longitude, as: 'longitude'
        end
      end
      
      class ModelOperationMetadata
        # @private
        class Representation < Google::Apis::Core::JsonRepresentation
          property :basic_operation_status, as: 'basicOperationStatus'
          property :name, as: 'name'
        end
      end
    end
  end
end
