google-apis-discoveryengine_v1alpha 0.81.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3467,6 +3467,11 @@ module Google
3467
3467
  # @return [String]
3468
3468
  attr_accessor :configurable_billing_approach
3469
3469
 
3470
+ # Output only. The timestamp when configurable_billing_approach was last updated.
3471
+ # Corresponds to the JSON property `configurableBillingApproachUpdateTime`
3472
+ # @return [String]
3473
+ attr_accessor :configurable_billing_approach_update_time
3474
+
3470
3475
  # Immutable. The content config of the data store. If this field is unset, the
3471
3476
  # server behavior defaults to ContentConfig.NO_CONTENT.
3472
3477
  # Corresponds to the JSON property `contentConfig`
@@ -3571,6 +3576,7 @@ module Google
3571
3576
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
3572
3577
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
3573
3578
  @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
3579
+ @configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
3574
3580
  @content_config = args[:content_config] if args.key?(:content_config)
3575
3581
  @create_time = args[:create_time] if args.key?(:create_time)
3576
3582
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -5260,6 +5266,16 @@ module Google
5260
5266
  class GoogleCloudDiscoveryengineV1Project
5261
5267
  include Google::Apis::Core::Hashable
5262
5268
 
5269
+ # Represents the currently effective configurable billing parameters. These
5270
+ # values are derived from the customer's subscription history stored internally
5271
+ # and reflect the thresholds actively being used for billing purposes at the
5272
+ # time of the GetProject call. This includes the start_time of the subscription
5273
+ # and may differ from the values in `customer_provided_config` due to billing
5274
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
5275
+ # Corresponds to the JSON property `configurableBillingStatus`
5276
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus]
5277
+ attr_accessor :configurable_billing_status
5278
+
5263
5279
  # Output only. The timestamp when this project is created.
5264
5280
  # Corresponds to the JSON property `createTime`
5265
5281
  # @return [String]
@@ -5294,6 +5310,7 @@ module Google
5294
5310
 
5295
5311
  # Update properties of this object
5296
5312
  def update!(**args)
5313
+ @configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
5297
5314
  @create_time = args[:create_time] if args.key?(:create_time)
5298
5315
  @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
5299
5316
  @name = args[:name] if args.key?(:name)
@@ -5302,6 +5319,46 @@ module Google
5302
5319
  end
5303
5320
  end
5304
5321
 
5322
+ # Represents the currently effective configurable billing parameters. These
5323
+ # values are derived from the customer's subscription history stored internally
5324
+ # and reflect the thresholds actively being used for billing purposes at the
5325
+ # time of the GetProject call. This includes the start_time of the subscription
5326
+ # and may differ from the values in `customer_provided_config` due to billing
5327
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
5328
+ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
5329
+ include Google::Apis::Core::Hashable
5330
+
5331
+ # Optional. The currently effective Indexing Core threshold. This is the
5332
+ # threshold against which Indexing Core usage is compared for overage
5333
+ # calculations.
5334
+ # Corresponds to the JSON property `effectiveIndexingCoreThreshold`
5335
+ # @return [Fixnum]
5336
+ attr_accessor :effective_indexing_core_threshold
5337
+
5338
+ # Optional. The currently effective Search QPM threshold in queries per minute.
5339
+ # This is the threshold against which QPM usage is compared for overage
5340
+ # calculations.
5341
+ # Corresponds to the JSON property `effectiveSearchQpmThreshold`
5342
+ # @return [Fixnum]
5343
+ attr_accessor :effective_search_qpm_threshold
5344
+
5345
+ # Optional. The start time of the currently active billing subscription.
5346
+ # Corresponds to the JSON property `startTime`
5347
+ # @return [String]
5348
+ attr_accessor :start_time
5349
+
5350
+ def initialize(**args)
5351
+ update!(**args)
5352
+ end
5353
+
5354
+ # Update properties of this object
5355
+ def update!(**args)
5356
+ @effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
5357
+ @effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
5358
+ @start_time = args[:start_time] if args.key?(:start_time)
5359
+ end
5360
+ end
5361
+
5305
5362
  # Customer provided configurations.
5306
5363
  class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
5307
5364
  include Google::Apis::Core::Hashable
@@ -6890,6 +6947,25 @@ module Google
6890
6947
  end
6891
6948
  end
6892
6949
 
6950
+ # Stored definition of an agent that uses A2A.
6951
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition
6952
+ include Google::Apis::Core::Hashable
6953
+
6954
+ # Optional. The agent card is a JSON string.
6955
+ # Corresponds to the JSON property `jsonAgentCard`
6956
+ # @return [String]
6957
+ attr_accessor :json_agent_card
6958
+
6959
+ def initialize(**args)
6960
+ update!(**args)
6961
+ end
6962
+
6963
+ # Update properties of this object
6964
+ def update!(**args)
6965
+ @json_agent_card = args[:json_agent_card] if args.key?(:json_agent_card)
6966
+ end
6967
+ end
6968
+
6893
6969
  # Access Control Configuration.
6894
6970
  class GoogleCloudDiscoveryengineV1alphaAclConfig
6895
6971
  include Google::Apis::Core::Hashable
@@ -7005,6 +7081,52 @@ module Google
7005
7081
  end
7006
7082
  end
7007
7083
 
7084
+ # Stores the definition of an agent that uses ADK and is deployed to Agent
7085
+ # Engine (formerly known as Reasoning Engine).
7086
+ class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition
7087
+ include Google::Apis::Core::Hashable
7088
+
7089
+ # Keeps track of the reasoning engine that the agent is connected to. This
7090
+ # message is not intended to keep track of agent's lifecycle. Instead it is only
7091
+ # used to define parameters to connect to the agent that is already deployed to
7092
+ # a reasoning engine.
7093
+ # Corresponds to the JSON property `provisionedReasoningEngine`
7094
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine]
7095
+ attr_accessor :provisioned_reasoning_engine
7096
+
7097
+ def initialize(**args)
7098
+ update!(**args)
7099
+ end
7100
+
7101
+ # Update properties of this object
7102
+ def update!(**args)
7103
+ @provisioned_reasoning_engine = args[:provisioned_reasoning_engine] if args.key?(:provisioned_reasoning_engine)
7104
+ end
7105
+ end
7106
+
7107
+ # Keeps track of the reasoning engine that the agent is connected to. This
7108
+ # message is not intended to keep track of agent's lifecycle. Instead it is only
7109
+ # used to define parameters to connect to the agent that is already deployed to
7110
+ # a reasoning engine.
7111
+ class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine
7112
+ include Google::Apis::Core::Hashable
7113
+
7114
+ # Required. The reasoning engine that the agent is connected to. Format: `
7115
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
7116
+ # Corresponds to the JSON property `reasoningEngine`
7117
+ # @return [String]
7118
+ attr_accessor :reasoning_engine
7119
+
7120
+ def initialize(**args)
7121
+ update!(**args)
7122
+ end
7123
+
7124
+ # Update properties of this object
7125
+ def update!(**args)
7126
+ @reasoning_engine = args[:reasoning_engine] if args.key?(:reasoning_engine)
7127
+ end
7128
+ end
7129
+
7008
7130
  # Request message for CompletionService.AdvancedCompleteQuery method. .
7009
7131
  class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
7010
7132
  include Google::Apis::Core::Hashable
@@ -7068,9 +7190,9 @@ module Google
7068
7190
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserInfo]
7069
7191
  attr_accessor :user_info
7070
7192
 
7071
- # A unique identifier for tracking visitors. For example, this could be
7072
- # implemented with an HTTP cookie, which should be able to uniquely identify a
7073
- # visitor on a single device. This unique identifier should not change if the
7193
+ # Optional. A unique identifier for tracking visitors. For example, this could
7194
+ # be implemented with an HTTP cookie, which should be able to uniquely identify
7195
+ # a visitor on a single device. This unique identifier should not change if the
7074
7196
  # visitor logs in or out of the website. This field should NOT have a fixed
7075
7197
  # value such as `unknown_visitor`. This should be the same identifier as
7076
7198
  # UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
@@ -7437,6 +7559,210 @@ module Google
7437
7559
  end
7438
7560
  end
7439
7561
 
7562
+ # Performs a predefined, specific task.
7563
+ class GoogleCloudDiscoveryengineV1alphaAgent
7564
+ include Google::Apis::Core::Hashable
7565
+
7566
+ # Stored definition of an agent that uses A2A.
7567
+ # Corresponds to the JSON property `a2aAgentDefinition`
7568
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition]
7569
+ attr_accessor :a2a_agent_definition
7570
+
7571
+ # Stores the definition of an agent that uses ADK and is deployed to Agent
7572
+ # Engine (formerly known as Reasoning Engine).
7573
+ # Corresponds to the JSON property `adkAgentDefinition`
7574
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition]
7575
+ attr_accessor :adk_agent_definition
7576
+
7577
+ # Describes the authorizations required.
7578
+ # Corresponds to the JSON property `authorizationConfig`
7579
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAuthorizationConfig]
7580
+ attr_accessor :authorization_config
7581
+
7582
+ # Output only. Timestamp when this Agent was created.
7583
+ # Corresponds to the JSON property `createTime`
7584
+ # @return [String]
7585
+ attr_accessor :create_time
7586
+
7587
+ # Optional. The custom placeholder text that appears in the text box before the
7588
+ # user enters any text.
7589
+ # Corresponds to the JSON property `customPlaceholderText`
7590
+ # @return [String]
7591
+ attr_accessor :custom_placeholder_text
7592
+
7593
+ # Output only. The reason why the agent deployment failed. Only set if the state
7594
+ # is DEPLOYMENT_FAILED.
7595
+ # Corresponds to the JSON property `deploymentFailureReason`
7596
+ # @return [String]
7597
+ attr_accessor :deployment_failure_reason
7598
+
7599
+ # Required. Human-readable description of the agent. This might be used by an
7600
+ # LLM to automatically select an agent to respond to a user query.
7601
+ # Corresponds to the JSON property `description`
7602
+ # @return [String]
7603
+ attr_accessor :description
7604
+
7605
+ # Stored definition of an agent that uses a Dialogflow agent.
7606
+ # Corresponds to the JSON property `dialogflowAgentDefinition`
7607
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition]
7608
+ attr_accessor :dialogflow_agent_definition
7609
+
7610
+ # Required. Display name of the agent. This might be used by an LLM to
7611
+ # automatically select an agent to respond to a user query.
7612
+ # Corresponds to the JSON property `displayName`
7613
+ # @return [String]
7614
+ attr_accessor :display_name
7615
+
7616
+ # Represents an image.
7617
+ # Corresponds to the JSON property `icon`
7618
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage]
7619
+ attr_accessor :icon
7620
+
7621
+ # Optional. The code of the language of the text in the description,
7622
+ # display_name and starter_prompts fields.
7623
+ # Corresponds to the JSON property `languageCode`
7624
+ # @return [String]
7625
+ attr_accessor :language_code
7626
+
7627
+ # Identifier. Resource name of the agent. Format: `projects/`project`/locations/`
7628
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
7629
+ # agents/`agent``
7630
+ # Corresponds to the JSON property `name`
7631
+ # @return [String]
7632
+ attr_accessor :name
7633
+
7634
+ # Output only. The reason why the agent was rejected. Only set if the state is
7635
+ # PRIVATE, and got there via rejection.
7636
+ # Corresponds to the JSON property `rejectionReason`
7637
+ # @return [String]
7638
+ attr_accessor :rejection_reason
7639
+
7640
+ # Optional. The starter prompt suggestions to show the user on the landing page
7641
+ # of the agent.
7642
+ # Corresponds to the JSON property `starterPrompts`
7643
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt>]
7644
+ attr_accessor :starter_prompts
7645
+
7646
+ # Output only. The lifecycle state of the agent.
7647
+ # Corresponds to the JSON property `state`
7648
+ # @return [String]
7649
+ attr_accessor :state
7650
+
7651
+ # Output only. The reason why the agent was suspended. Only set if the state is
7652
+ # SUSPENDED.
7653
+ # Corresponds to the JSON property `suspensionReason`
7654
+ # @return [String]
7655
+ attr_accessor :suspension_reason
7656
+
7657
+ # Output only. Timestamp when this Agent was most recently updated.
7658
+ # Corresponds to the JSON property `updateTime`
7659
+ # @return [String]
7660
+ attr_accessor :update_time
7661
+
7662
+ def initialize(**args)
7663
+ update!(**args)
7664
+ end
7665
+
7666
+ # Update properties of this object
7667
+ def update!(**args)
7668
+ @a2a_agent_definition = args[:a2a_agent_definition] if args.key?(:a2a_agent_definition)
7669
+ @adk_agent_definition = args[:adk_agent_definition] if args.key?(:adk_agent_definition)
7670
+ @authorization_config = args[:authorization_config] if args.key?(:authorization_config)
7671
+ @create_time = args[:create_time] if args.key?(:create_time)
7672
+ @custom_placeholder_text = args[:custom_placeholder_text] if args.key?(:custom_placeholder_text)
7673
+ @deployment_failure_reason = args[:deployment_failure_reason] if args.key?(:deployment_failure_reason)
7674
+ @description = args[:description] if args.key?(:description)
7675
+ @dialogflow_agent_definition = args[:dialogflow_agent_definition] if args.key?(:dialogflow_agent_definition)
7676
+ @display_name = args[:display_name] if args.key?(:display_name)
7677
+ @icon = args[:icon] if args.key?(:icon)
7678
+ @language_code = args[:language_code] if args.key?(:language_code)
7679
+ @name = args[:name] if args.key?(:name)
7680
+ @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
7681
+ @starter_prompts = args[:starter_prompts] if args.key?(:starter_prompts)
7682
+ @state = args[:state] if args.key?(:state)
7683
+ @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
7684
+ @update_time = args[:update_time] if args.key?(:update_time)
7685
+ end
7686
+ end
7687
+
7688
+ # Describes a file used internally by an agent as a context on each invocation.
7689
+ class GoogleCloudDiscoveryengineV1alphaAgentFile
7690
+ include Google::Apis::Core::Hashable
7691
+
7692
+ # Required. The name of the file.
7693
+ # Corresponds to the JSON property `fileName`
7694
+ # @return [String]
7695
+ attr_accessor :file_name
7696
+
7697
+ # Immutable. The content type of the file.
7698
+ # Corresponds to the JSON property `mimeType`
7699
+ # @return [String]
7700
+ attr_accessor :mime_type
7701
+
7702
+ # Identifier. The resource name of the file. Format: `projects/`project`/
7703
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
7704
+ # assistant`/agents/`agent`/files/`file``
7705
+ # Corresponds to the JSON property `name`
7706
+ # @return [String]
7707
+ attr_accessor :name
7708
+
7709
+ def initialize(**args)
7710
+ update!(**args)
7711
+ end
7712
+
7713
+ # Update properties of this object
7714
+ def update!(**args)
7715
+ @file_name = args[:file_name] if args.key?(:file_name)
7716
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
7717
+ @name = args[:name] if args.key?(:name)
7718
+ end
7719
+ end
7720
+
7721
+ # Represents an image.
7722
+ class GoogleCloudDiscoveryengineV1alphaAgentImage
7723
+ include Google::Apis::Core::Hashable
7724
+
7725
+ # Base64-encoded image file contents.
7726
+ # Corresponds to the JSON property `content`
7727
+ # @return [String]
7728
+ attr_accessor :content
7729
+
7730
+ # Image URI.
7731
+ # Corresponds to the JSON property `uri`
7732
+ # @return [String]
7733
+ attr_accessor :uri
7734
+
7735
+ def initialize(**args)
7736
+ update!(**args)
7737
+ end
7738
+
7739
+ # Update properties of this object
7740
+ def update!(**args)
7741
+ @content = args[:content] if args.key?(:content)
7742
+ @uri = args[:uri] if args.key?(:uri)
7743
+ end
7744
+ end
7745
+
7746
+ # The starter prompt suggestion to show the user on the landing page of the
7747
+ # agent.
7748
+ class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt
7749
+ include Google::Apis::Core::Hashable
7750
+
7751
+ # Required. The text of the starter prompt.
7752
+ # Corresponds to the JSON property `text`
7753
+ # @return [String]
7754
+ attr_accessor :text
7755
+
7756
+ def initialize(**args)
7757
+ update!(**args)
7758
+ end
7759
+
7760
+ # Update properties of this object
7761
+ def update!(**args)
7762
+ @text = args[:text] if args.key?(:text)
7763
+ end
7764
+ end
7765
+
7440
7766
  # The connector level alert config.
7441
7767
  class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
7442
7768
  include Google::Apis::Core::Hashable
@@ -10173,6 +10499,117 @@ module Google
10173
10499
  end
10174
10500
  end
10175
10501
 
10502
+ # Discovery Engine Authorization resource.
10503
+ class GoogleCloudDiscoveryengineV1alphaAuthorization
10504
+ include Google::Apis::Core::Hashable
10505
+
10506
+ # Required. The display name of the authorization. It must be a UTF-8 encoded
10507
+ # string with a length limit of 128 characters.
10508
+ # Corresponds to the JSON property `displayName`
10509
+ # @return [String]
10510
+ attr_accessor :display_name
10511
+
10512
+ # Identifier. Resource name of the authorization. Format: `projects/`project`/
10513
+ # locations/`location`/authorizations/`authorization`` It must be a UTF-8
10514
+ # encoded string with a length limit of 1024 characters.
10515
+ # Corresponds to the JSON property `name`
10516
+ # @return [String]
10517
+ attr_accessor :name
10518
+
10519
+ # OAuth2 configuration.
10520
+ # Corresponds to the JSON property `serverSideOauth2`
10521
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2]
10522
+ attr_accessor :server_side_oauth2
10523
+
10524
+ def initialize(**args)
10525
+ update!(**args)
10526
+ end
10527
+
10528
+ # Update properties of this object
10529
+ def update!(**args)
10530
+ @display_name = args[:display_name] if args.key?(:display_name)
10531
+ @name = args[:name] if args.key?(:name)
10532
+ @server_side_oauth2 = args[:server_side_oauth2] if args.key?(:server_side_oauth2)
10533
+ end
10534
+ end
10535
+
10536
+ # Describes the authorizations required.
10537
+ class GoogleCloudDiscoveryengineV1alphaAuthorizationConfig
10538
+ include Google::Apis::Core::Hashable
10539
+
10540
+ # Optional. The authorization that is required to invoke the agent. Auth tokens
10541
+ # will be passed to the agent as part of the request auth header.
10542
+ # Corresponds to the JSON property `agentAuthorization`
10543
+ # @return [String]
10544
+ attr_accessor :agent_authorization
10545
+
10546
+ # Optional. List of required authorizations for agent to access other resources.
10547
+ # Auth tokens will be passed to the agent as part of the request body.
10548
+ # Corresponds to the JSON property `toolAuthorizations`
10549
+ # @return [Array<String>]
10550
+ attr_accessor :tool_authorizations
10551
+
10552
+ def initialize(**args)
10553
+ update!(**args)
10554
+ end
10555
+
10556
+ # Update properties of this object
10557
+ def update!(**args)
10558
+ @agent_authorization = args[:agent_authorization] if args.key?(:agent_authorization)
10559
+ @tool_authorizations = args[:tool_authorizations] if args.key?(:tool_authorizations)
10560
+ end
10561
+ end
10562
+
10563
+ # OAuth2 configuration.
10564
+ class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2
10565
+ include Google::Apis::Core::Hashable
10566
+
10567
+ # Required. The URI the user is directed to when they need to authorize. Should
10568
+ # include everything required for a successful authorization: OAuth ID, extra
10569
+ # flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=
10570
+ # OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=
10571
+ # code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be
10572
+ # overwritten by the Vertex AI Search frontend.
10573
+ # Corresponds to the JSON property `authorizationUri`
10574
+ # @return [String]
10575
+ attr_accessor :authorization_uri
10576
+
10577
+ # Required. The OAuth2 client ID.
10578
+ # Corresponds to the JSON property `clientId`
10579
+ # @return [String]
10580
+ attr_accessor :client_id
10581
+
10582
+ # Required. The OAuth2 client secret. Encrypted at rest.
10583
+ # Corresponds to the JSON property `clientSecret`
10584
+ # @return [String]
10585
+ attr_accessor :client_secret
10586
+
10587
+ # Required. The scopes to request. Example: `https://www.googleapis.com/auth/
10588
+ # calendar.events`
10589
+ # Corresponds to the JSON property `scopes`
10590
+ # @return [Array<String>]
10591
+ attr_accessor :scopes
10592
+
10593
+ # Required. The HTTP endpoint that exchanges a client authorization for an
10594
+ # access token.
10595
+ # Corresponds to the JSON property `tokenUri`
10596
+ # @return [String]
10597
+ attr_accessor :token_uri
10598
+
10599
+ def initialize(**args)
10600
+ update!(**args)
10601
+ end
10602
+
10603
+ # Update properties of this object
10604
+ def update!(**args)
10605
+ @authorization_uri = args[:authorization_uri] if args.key?(:authorization_uri)
10606
+ @client_id = args[:client_id] if args.key?(:client_id)
10607
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
10608
+ @scopes = args[:scopes] if args.key?(:scopes)
10609
+ @token_uri = args[:token_uri] if args.key?(:token_uri)
10610
+ end
10611
+ end
10612
+
10176
10613
  # The configuration for the BAP connector.
10177
10614
  class GoogleCloudDiscoveryengineV1alphaBapConfig
10178
10615
  include Google::Apis::Core::Hashable
@@ -10735,6 +11172,120 @@ module Google
10735
11172
  end
10736
11173
  end
10737
11174
 
11175
+ # Information about license configs at billing account level.
11176
+ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig
11177
+ include Google::Apis::Core::Hashable
11178
+
11179
+ # Whether the BillingAccountLicenseConfig is auto renewed when it reaches the
11180
+ # end date.
11181
+ # Corresponds to the JSON property `autoRenew`
11182
+ # @return [Boolean]
11183
+ attr_accessor :auto_renew
11184
+ alias_method :auto_renew?, :auto_renew
11185
+
11186
+ # Represents a whole or partial calendar date, such as a birthday. The time of
11187
+ # day and time zone are either specified elsewhere or are insignificant. The
11188
+ # date is relative to the Gregorian Calendar. This can represent one of the
11189
+ # following: * A full date, with non-zero year, month, and day values. * A month
11190
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
11191
+ # with a zero month and a zero day. * A year and month, with a zero day (for
11192
+ # example, a credit card expiration date). Related types: * google.type.
11193
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
11194
+ # Corresponds to the JSON property `endDate`
11195
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate]
11196
+ attr_accessor :end_date
11197
+
11198
+ # Whether the license config is for Gemini bundle.
11199
+ # Corresponds to the JSON property `geminiBundle`
11200
+ # @return [Boolean]
11201
+ attr_accessor :gemini_bundle
11202
+ alias_method :gemini_bundle?, :gemini_bundle
11203
+
11204
+ # A map of LicenseConfig names to the number of licenses distributed to each.
11205
+ # The key is the full resource name of the LicenseConfig, such as `projects/`
11206
+ # project`/locations/`location`/licenseConfigs/`license_config``. The value is
11207
+ # the count of licenses allocated to it.
11208
+ # Corresponds to the JSON property `licenseConfigDistributions`
11209
+ # @return [Hash<String,Fixnum>]
11210
+ attr_accessor :license_config_distributions
11211
+
11212
+ # Required. The number of licenses purchased under this billing account license
11213
+ # config.
11214
+ # Corresponds to the JSON property `licenseCount`
11215
+ # @return [Fixnum]
11216
+ attr_accessor :license_count
11217
+
11218
+ # Immutable. Identifier. The fully qualified resource name of the billing
11219
+ # account license config. Format: `billingAccounts/`billing_account`/
11220
+ # billingAccountLicenseConfigs/`billing_account_license_config``.
11221
+ # Corresponds to the JSON property `name`
11222
+ # @return [String]
11223
+ attr_accessor :name
11224
+
11225
+ # The procurement entitlement id of the subscription.
11226
+ # Corresponds to the JSON property `procurementEntitlementId`
11227
+ # @return [String]
11228
+ attr_accessor :procurement_entitlement_id
11229
+
11230
+ # Represents a whole or partial calendar date, such as a birthday. The time of
11231
+ # day and time zone are either specified elsewhere or are insignificant. The
11232
+ # date is relative to the Gregorian Calendar. This can represent one of the
11233
+ # following: * A full date, with non-zero year, month, and day values. * A month
11234
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
11235
+ # with a zero month and a zero day. * A year and month, with a zero day (for
11236
+ # example, a credit card expiration date). Related types: * google.type.
11237
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
11238
+ # Corresponds to the JSON property `startDate`
11239
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate]
11240
+ attr_accessor :start_date
11241
+
11242
+ # Output only. The state of the BillingAccountLicenseConfig.
11243
+ # Corresponds to the JSON property `state`
11244
+ # @return [String]
11245
+ attr_accessor :state
11246
+
11247
+ # The subscription display name.
11248
+ # Corresponds to the JSON property `subscriptionDisplayName`
11249
+ # @return [String]
11250
+ attr_accessor :subscription_display_name
11251
+
11252
+ # Output only. The corresponding SubV3 subscription name.
11253
+ # Corresponds to the JSON property `subscriptionName`
11254
+ # @return [String]
11255
+ attr_accessor :subscription_name
11256
+
11257
+ # Required. The subscription term.
11258
+ # Corresponds to the JSON property `subscriptionTerm`
11259
+ # @return [String]
11260
+ attr_accessor :subscription_term
11261
+
11262
+ # Required. The subscription tier.
11263
+ # Corresponds to the JSON property `subscriptionTier`
11264
+ # @return [String]
11265
+ attr_accessor :subscription_tier
11266
+
11267
+ def initialize(**args)
11268
+ update!(**args)
11269
+ end
11270
+
11271
+ # Update properties of this object
11272
+ def update!(**args)
11273
+ @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
11274
+ @end_date = args[:end_date] if args.key?(:end_date)
11275
+ @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
11276
+ @license_config_distributions = args[:license_config_distributions] if args.key?(:license_config_distributions)
11277
+ @license_count = args[:license_count] if args.key?(:license_count)
11278
+ @name = args[:name] if args.key?(:name)
11279
+ @procurement_entitlement_id = args[:procurement_entitlement_id] if args.key?(:procurement_entitlement_id)
11280
+ @start_date = args[:start_date] if args.key?(:start_date)
11281
+ @state = args[:state] if args.key?(:state)
11282
+ @subscription_display_name = args[:subscription_display_name] if args.key?(:subscription_display_name)
11283
+ @subscription_name = args[:subscription_name] if args.key?(:subscription_name)
11284
+ @subscription_term = args[:subscription_term] if args.key?(:subscription_term)
11285
+ @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
11286
+ end
11287
+ end
11288
+
10738
11289
  # A data branch that stores Documents.
10739
11290
  class GoogleCloudDiscoveryengineV1alphaBranch
10740
11291
  include Google::Apis::Core::Hashable
@@ -13758,6 +14309,11 @@ module Google
13758
14309
  # @return [String]
13759
14310
  attr_accessor :configurable_billing_approach
13760
14311
 
14312
+ # Output only. The timestamp when configurable_billing_approach was last updated.
14313
+ # Corresponds to the JSON property `configurableBillingApproachUpdateTime`
14314
+ # @return [String]
14315
+ attr_accessor :configurable_billing_approach_update_time
14316
+
13761
14317
  # Immutable. The content config of the data store. If this field is unset, the
13762
14318
  # server behavior defaults to ContentConfig.NO_CONTENT.
13763
14319
  # Corresponds to the JSON property `contentConfig`
@@ -13877,6 +14433,7 @@ module Google
13877
14433
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
13878
14434
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
13879
14435
  @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
14436
+ @configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
13880
14437
  @content_config = args[:content_config] if args.key?(:content_config)
13881
14438
  @create_time = args[:create_time] if args.key?(:create_time)
13882
14439
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -13984,15 +14541,44 @@ module Google
13984
14541
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
13985
14542
  attr_accessor :auto_refresh_crawl_rate
13986
14543
 
13987
- # The historical crawl rate timeseries data, used for monitoring.
13988
- # Corresponds to the JSON property `userTriggeredCrawlErrorRate`
13989
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
13990
- attr_accessor :user_triggered_crawl_error_rate
14544
+ # The historical crawl rate timeseries data, used for monitoring.
14545
+ # Corresponds to the JSON property `userTriggeredCrawlErrorRate`
14546
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
14547
+ attr_accessor :user_triggered_crawl_error_rate
14548
+
14549
+ # The historical crawl rate timeseries data, used for monitoring.
14550
+ # Corresponds to the JSON property `userTriggeredCrawlRate`
14551
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
14552
+ attr_accessor :user_triggered_crawl_rate
14553
+
14554
+ def initialize(**args)
14555
+ update!(**args)
14556
+ end
14557
+
14558
+ # Update properties of this object
14559
+ def update!(**args)
14560
+ @auto_refresh_crawl_error_rate = args[:auto_refresh_crawl_error_rate] if args.key?(:auto_refresh_crawl_error_rate)
14561
+ @auto_refresh_crawl_rate = args[:auto_refresh_crawl_rate] if args.key?(:auto_refresh_crawl_rate)
14562
+ @user_triggered_crawl_error_rate = args[:user_triggered_crawl_error_rate] if args.key?(:user_triggered_crawl_error_rate)
14563
+ @user_triggered_crawl_rate = args[:user_triggered_crawl_rate] if args.key?(:user_triggered_crawl_rate)
14564
+ end
14565
+ end
14566
+
14567
+ # Metadata related to the progress of the AgentService.DeleteAgent operation.
14568
+ # This will be returned by the google.longrunning.Operation.metadata field.
14569
+ class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata
14570
+ include Google::Apis::Core::Hashable
14571
+
14572
+ # Operation create time.
14573
+ # Corresponds to the JSON property `createTime`
14574
+ # @return [String]
14575
+ attr_accessor :create_time
13991
14576
 
13992
- # The historical crawl rate timeseries data, used for monitoring.
13993
- # Corresponds to the JSON property `userTriggeredCrawlRate`
13994
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries]
13995
- attr_accessor :user_triggered_crawl_rate
14577
+ # Operation last update time. If the operation is done, this is also the finish
14578
+ # time.
14579
+ # Corresponds to the JSON property `updateTime`
14580
+ # @return [String]
14581
+ attr_accessor :update_time
13996
14582
 
13997
14583
  def initialize(**args)
13998
14584
  update!(**args)
@@ -14000,10 +14586,8 @@ module Google
14000
14586
 
14001
14587
  # Update properties of this object
14002
14588
  def update!(**args)
14003
- @auto_refresh_crawl_error_rate = args[:auto_refresh_crawl_error_rate] if args.key?(:auto_refresh_crawl_error_rate)
14004
- @auto_refresh_crawl_rate = args[:auto_refresh_crawl_rate] if args.key?(:auto_refresh_crawl_rate)
14005
- @user_triggered_crawl_error_rate = args[:user_triggered_crawl_error_rate] if args.key?(:user_triggered_crawl_error_rate)
14006
- @user_triggered_crawl_rate = args[:user_triggered_crawl_rate] if args.key?(:user_triggered_crawl_rate)
14589
+ @create_time = args[:create_time] if args.key?(:create_time)
14590
+ @update_time = args[:update_time] if args.key?(:update_time)
14007
14591
  end
14008
14592
  end
14009
14593
 
@@ -14341,6 +14925,26 @@ module Google
14341
14925
  end
14342
14926
  end
14343
14927
 
14928
+ # Stored definition of an agent that uses a Dialogflow agent.
14929
+ class GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition
14930
+ include Google::Apis::Core::Hashable
14931
+
14932
+ # Required. Resource name of the underlying Dialogflow Agent. Format: `projects/`
14933
+ # project`/locations/`location`/agents/`agent``
14934
+ # Corresponds to the JSON property `dialogflowAgent`
14935
+ # @return [String]
14936
+ attr_accessor :dialogflow_agent
14937
+
14938
+ def initialize(**args)
14939
+ update!(**args)
14940
+ end
14941
+
14942
+ # Update properties of this object
14943
+ def update!(**args)
14944
+ @dialogflow_agent = args[:dialogflow_agent] if args.key?(:dialogflow_agent)
14945
+ end
14946
+ end
14947
+
14344
14948
  # Metadata related to the progress of the SiteSearchEngineService.
14345
14949
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
14346
14950
  # longrunning.Operation.metadata field.
@@ -16943,6 +17547,52 @@ module Google
16943
17547
  end
16944
17548
  end
16945
17549
 
17550
+ # Request for the AgentService.ImportAgentFile method.
17551
+ class GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest
17552
+ include Google::Apis::Core::Hashable
17553
+
17554
+ # Required. The name of the file.
17555
+ # Corresponds to the JSON property `fileName`
17556
+ # @return [String]
17557
+ attr_accessor :file_name
17558
+
17559
+ # Optional. The content type of the file, see https://www.iana.org/assignments/
17560
+ # media-types/media-types.xhtml. This field is required when the data source
17561
+ # does not provide the content type.
17562
+ # Corresponds to the JSON property `mimeType`
17563
+ # @return [String]
17564
+ attr_accessor :mime_type
17565
+
17566
+ def initialize(**args)
17567
+ update!(**args)
17568
+ end
17569
+
17570
+ # Update properties of this object
17571
+ def update!(**args)
17572
+ @file_name = args[:file_name] if args.key?(:file_name)
17573
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
17574
+ end
17575
+ end
17576
+
17577
+ # Response for the AgentService.ImportAgentFile method.
17578
+ class GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse
17579
+ include Google::Apis::Core::Hashable
17580
+
17581
+ # Describes a file used internally by an agent as a context on each invocation.
17582
+ # Corresponds to the JSON property `agentFile`
17583
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentFile]
17584
+ attr_accessor :agent_file
17585
+
17586
+ def initialize(**args)
17587
+ update!(**args)
17588
+ end
17589
+
17590
+ # Update properties of this object
17591
+ def update!(**args)
17592
+ @agent_file = args[:agent_file] if args.key?(:agent_file)
17593
+ end
17594
+ end
17595
+
16946
17596
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
16947
17597
  # This will be returned by the google.longrunning.Operation.metadata field.
16948
17598
  class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
@@ -17910,6 +18560,86 @@ module Google
17910
18560
  end
17911
18561
  end
17912
18562
 
18563
+ # Response message for the AgentService.ListAgents method.
18564
+ class GoogleCloudDiscoveryengineV1alphaListAgentsResponse
18565
+ include Google::Apis::Core::Hashable
18566
+
18567
+ # The agents visible to the caller under the parent Assistant.
18568
+ # Corresponds to the JSON property `agents`
18569
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent>]
18570
+ attr_accessor :agents
18571
+
18572
+ # A token that can be sent as ListAgentsRequest.page_token to retrieve the next
18573
+ # page. If this field is omitted, there are no subsequent pages.
18574
+ # Corresponds to the JSON property `nextPageToken`
18575
+ # @return [String]
18576
+ attr_accessor :next_page_token
18577
+
18578
+ def initialize(**args)
18579
+ update!(**args)
18580
+ end
18581
+
18582
+ # Update properties of this object
18583
+ def update!(**args)
18584
+ @agents = args[:agents] if args.key?(:agents)
18585
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
18586
+ end
18587
+ end
18588
+
18589
+ # Response message for the AuthorizationService.ListAuthorizations method.
18590
+ class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse
18591
+ include Google::Apis::Core::Hashable
18592
+
18593
+ # All the customer's Authorizations.
18594
+ # Corresponds to the JSON property `authorizations`
18595
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAuthorization>]
18596
+ attr_accessor :authorizations
18597
+
18598
+ # A token that can be sent as ListAuthorizationsRequest.page_token to retrieve
18599
+ # the next page. If this field is omitted, there are no subsequent pages.
18600
+ # Corresponds to the JSON property `nextPageToken`
18601
+ # @return [String]
18602
+ attr_accessor :next_page_token
18603
+
18604
+ def initialize(**args)
18605
+ update!(**args)
18606
+ end
18607
+
18608
+ # Update properties of this object
18609
+ def update!(**args)
18610
+ @authorizations = args[:authorizations] if args.key?(:authorizations)
18611
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
18612
+ end
18613
+ end
18614
+
18615
+ # Response message for LicenseConfigService.ListBillingAccountLicenseConfigs
18616
+ # method.
18617
+ class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse
18618
+ include Google::Apis::Core::Hashable
18619
+
18620
+ # All BillingAccountLicenseConfigs for the given billing account.
18621
+ # Corresponds to the JSON property `billingAccountLicenseConfigs`
18622
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig>]
18623
+ attr_accessor :billing_account_license_configs
18624
+
18625
+ # A token that can be sent as ListBillingAccountLicenseConfigsRequest.page_token
18626
+ # to retrieve the next page. If this field is omitted, there are no subsequent
18627
+ # pages.
18628
+ # Corresponds to the JSON property `nextPageToken`
18629
+ # @return [String]
18630
+ attr_accessor :next_page_token
18631
+
18632
+ def initialize(**args)
18633
+ update!(**args)
18634
+ end
18635
+
18636
+ # Update properties of this object
18637
+ def update!(**args)
18638
+ @billing_account_license_configs = args[:billing_account_license_configs] if args.key?(:billing_account_license_configs)
18639
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
18640
+ end
18641
+ end
18642
+
17913
18643
  # Response for BranchService.ListBranches method.
17914
18644
  class GoogleCloudDiscoveryengineV1alphaListBranchesResponse
17915
18645
  include Google::Apis::Core::Hashable
@@ -18947,6 +19677,16 @@ module Google
18947
19677
  class GoogleCloudDiscoveryengineV1alphaProject
18948
19678
  include Google::Apis::Core::Hashable
18949
19679
 
19680
+ # Represents the currently effective configurable billing parameters. These
19681
+ # values are derived from the customer's subscription history stored internally
19682
+ # and reflect the thresholds actively being used for billing purposes at the
19683
+ # time of the GetProject call. This includes the start_time of the subscription
19684
+ # and may differ from the values in `customer_provided_config` due to billing
19685
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
19686
+ # Corresponds to the JSON property `configurableBillingStatus`
19687
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus]
19688
+ attr_accessor :configurable_billing_status
19689
+
18950
19690
  # Output only. The timestamp when this project is created.
18951
19691
  # Corresponds to the JSON property `createTime`
18952
19692
  # @return [String]
@@ -18981,6 +19721,7 @@ module Google
18981
19721
 
18982
19722
  # Update properties of this object
18983
19723
  def update!(**args)
19724
+ @configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
18984
19725
  @create_time = args[:create_time] if args.key?(:create_time)
18985
19726
  @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
18986
19727
  @name = args[:name] if args.key?(:name)
@@ -18989,6 +19730,46 @@ module Google
18989
19730
  end
18990
19731
  end
18991
19732
 
19733
+ # Represents the currently effective configurable billing parameters. These
19734
+ # values are derived from the customer's subscription history stored internally
19735
+ # and reflect the thresholds actively being used for billing purposes at the
19736
+ # time of the GetProject call. This includes the start_time of the subscription
19737
+ # and may differ from the values in `customer_provided_config` due to billing
19738
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
19739
+ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
19740
+ include Google::Apis::Core::Hashable
19741
+
19742
+ # Optional. The currently effective Indexing Core threshold. This is the
19743
+ # threshold against which Indexing Core usage is compared for overage
19744
+ # calculations.
19745
+ # Corresponds to the JSON property `effectiveIndexingCoreThreshold`
19746
+ # @return [Fixnum]
19747
+ attr_accessor :effective_indexing_core_threshold
19748
+
19749
+ # Optional. The currently effective Search QPM threshold in queries per minute.
19750
+ # This is the threshold against which QPM usage is compared for overage
19751
+ # calculations.
19752
+ # Corresponds to the JSON property `effectiveSearchQpmThreshold`
19753
+ # @return [Fixnum]
19754
+ attr_accessor :effective_search_qpm_threshold
19755
+
19756
+ # Optional. The start time of the currently active billing subscription.
19757
+ # Corresponds to the JSON property `startTime`
19758
+ # @return [String]
19759
+ attr_accessor :start_time
19760
+
19761
+ def initialize(**args)
19762
+ update!(**args)
19763
+ end
19764
+
19765
+ # Update properties of this object
19766
+ def update!(**args)
19767
+ @effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
19768
+ @effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
19769
+ @start_time = args[:start_time] if args.key?(:start_time)
19770
+ end
19771
+ end
19772
+
18992
19773
  # Customer provided configurations.
18993
19774
  class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
18994
19775
  include Google::Apis::Core::Hashable
@@ -21472,9 +22253,9 @@ module Google
21472
22253
  # @return [Hash<String,String>]
21473
22254
  attr_accessor :user_labels
21474
22255
 
21475
- # A unique identifier for tracking visitors. For example, this could be
21476
- # implemented with an HTTP cookie, which should be able to uniquely identify a
21477
- # visitor on a single device. This unique identifier should not change if the
22256
+ # Optional. A unique identifier for tracking visitors. For example, this could
22257
+ # be implemented with an HTTP cookie, which should be able to uniquely identify
22258
+ # a visitor on a single device. This unique identifier should not change if the
21478
22259
  # visitor logs in or out of the website. This field should NOT have a fixed
21479
22260
  # value such as `unknown_visitor`. This should be the same identifier as
21480
22261
  # UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field
@@ -25323,6 +26104,63 @@ module Google
25323
26104
  end
25324
26105
  end
25325
26106
 
26107
+ # Request message for the AgentService.UploadAgentFile method.
26108
+ class GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest
26109
+ include Google::Apis::Core::Hashable
26110
+
26111
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
26112
+ # Corresponds to the JSON property `blob`
26113
+ # @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
26114
+ attr_accessor :blob
26115
+
26116
+ # Extra information added to operations that support Scotty media requests.
26117
+ # Corresponds to the JSON property `mediaRequestInfo`
26118
+ # @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo]
26119
+ attr_accessor :media_request_info
26120
+
26121
+ def initialize(**args)
26122
+ update!(**args)
26123
+ end
26124
+
26125
+ # Update properties of this object
26126
+ def update!(**args)
26127
+ @blob = args[:blob] if args.key?(:blob)
26128
+ @media_request_info = args[:media_request_info] if args.key?(:media_request_info)
26129
+ end
26130
+ end
26131
+
26132
+ # Response message for the AgentService.UploadAgentFile method.
26133
+ class GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse
26134
+ include Google::Apis::Core::Hashable
26135
+
26136
+ # Describes a file used internally by an agent as a context on each invocation.
26137
+ # Corresponds to the JSON property `agentFile`
26138
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentFile]
26139
+ attr_accessor :agent_file
26140
+
26141
+ # This message is for backends to pass their scotty media specific fields to ESF.
26142
+ # Backend will include this in their response message to ESF. Example:
26143
+ # ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
26144
+ # ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
26145
+ # will include apiserving.MediaResponseInfo to tell ESF about data like
26146
+ # dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
26147
+ # optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
26148
+ # media_response_info = 2 `
26149
+ # Corresponds to the JSON property `mediaResponseInfo`
26150
+ # @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaResponseInfo]
26151
+ attr_accessor :media_response_info
26152
+
26153
+ def initialize(**args)
26154
+ update!(**args)
26155
+ end
26156
+
26157
+ # Update properties of this object
26158
+ def update!(**args)
26159
+ @agent_file = args[:agent_file] if args.key?(:agent_file)
26160
+ @media_response_info = args[:media_response_info] if args.key?(:media_response_info)
26161
+ end
26162
+ end
26163
+
25326
26164
  # Request for the AssistantService.UploadSessionFile method.
25327
26165
  class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest
25328
26166
  include Google::Apis::Core::Hashable
@@ -25974,11 +26812,6 @@ module Google
25974
26812
  attr_accessor :enable_web_app
25975
26813
  alias_method :enable_web_app?, :enable_web_app
25976
26814
 
25977
- # Allows to toggle unstable/experimental features in the widget (or web app)
25978
- # Corresponds to the JSON property `experimentalFeatures`
25979
- # @return [Hash<String,String>]
25980
- attr_accessor :experimental_features
25981
-
25982
26815
  # The configuration and appearance of facets in the end user view.
25983
26816
  # Corresponds to the JSON property `facetField`
25984
26817
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField>]
@@ -26089,7 +26922,6 @@ module Google
26089
26922
  @enable_snippet_result_summary = args[:enable_snippet_result_summary] if args.key?(:enable_snippet_result_summary)
26090
26923
  @enable_summarization = args[:enable_summarization] if args.key?(:enable_summarization)
26091
26924
  @enable_web_app = args[:enable_web_app] if args.key?(:enable_web_app)
26092
- @experimental_features = args[:experimental_features] if args.key?(:experimental_features)
26093
26925
  @facet_field = args[:facet_field] if args.key?(:facet_field)
26094
26926
  @fields_ui_components_map = args[:fields_ui_components_map] if args.key?(:fields_ui_components_map)
26095
26927
  @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
@@ -26423,10 +27255,7 @@ module Google
26423
27255
  class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting
26424
27256
  include Google::Apis::Core::Hashable
26425
27257
 
26426
- # Optional. The shortcuts to display on the homepage. LINT.IfChange(
26427
- # max_shortcuts_number) LINT.ThenChange( //depot/google3/cloud/console/web/ai/
26428
- # unified_cloud_search/components/widget_preview/
26429
- # widget_homepage_shortcut_config_form.ts:max_shortcuts_number )
27258
+ # Optional. The shortcuts to display on the homepage.
26430
27259
  # Corresponds to the JSON property `shortcuts`
26431
27260
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut>]
26432
27261
  attr_accessor :shortcuts
@@ -26639,6 +27468,12 @@ module Google
26639
27468
  # @return [String]
26640
27469
  attr_accessor :result_description_type
26641
27470
 
27471
+ # SearchAddonSpec is used to disable add-ons for search. By default, if this
27472
+ # field is not specified, add-ons are enabled wherever applicable.
27473
+ # Corresponds to the JSON property `searchAddonSpec`
27474
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec]
27475
+ attr_accessor :search_addon_spec
27476
+
26642
27477
  def initialize(**args)
26643
27478
  update!(**args)
26644
27479
  end
@@ -26659,6 +27494,7 @@ module Google
26659
27494
  @generative_answer_config = args[:generative_answer_config] if args.key?(:generative_answer_config)
26660
27495
  @interaction_type = args[:interaction_type] if args.key?(:interaction_type)
26661
27496
  @result_description_type = args[:result_description_type] if args.key?(:result_description_type)
27497
+ @search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
26662
27498
  end
26663
27499
  end
26664
27500
 
@@ -26747,6 +27583,44 @@ module Google
26747
27583
  end
26748
27584
  end
26749
27585
 
27586
+ # SearchAddonSpec is used to disable add-ons for search. By default, if this
27587
+ # field is not specified, add-ons are enabled wherever applicable.
27588
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec
27589
+ include Google::Apis::Core::Hashable
27590
+
27591
+ # Optional. If true, generative answer add-on is disabled. Generative answer add-
27592
+ # on includes natural language to filters and simple answers.
27593
+ # Corresponds to the JSON property `generativeAnswerAddOnDisabled`
27594
+ # @return [Boolean]
27595
+ attr_accessor :generative_answer_add_on_disabled
27596
+ alias_method :generative_answer_add_on_disabled?, :generative_answer_add_on_disabled
27597
+
27598
+ # Optional. If true, disables event re-ranking and personalization to optimize
27599
+ # KPIs & personalize results.
27600
+ # Corresponds to the JSON property `kpiPersonalizationAddOnDisabled`
27601
+ # @return [Boolean]
27602
+ attr_accessor :kpi_personalization_add_on_disabled
27603
+ alias_method :kpi_personalization_add_on_disabled?, :kpi_personalization_add_on_disabled
27604
+
27605
+ # Optional. If true, semantic add-on is disabled. Semantic add-on includes
27606
+ # embeddings and jetstream.
27607
+ # Corresponds to the JSON property `semanticAddOnDisabled`
27608
+ # @return [Boolean]
27609
+ attr_accessor :semantic_add_on_disabled
27610
+ alias_method :semantic_add_on_disabled?, :semantic_add_on_disabled
27611
+
27612
+ def initialize(**args)
27613
+ update!(**args)
27614
+ end
27615
+
27616
+ # Update properties of this object
27617
+ def update!(**args)
27618
+ @generative_answer_add_on_disabled = args[:generative_answer_add_on_disabled] if args.key?(:generative_answer_add_on_disabled)
27619
+ @kpi_personalization_add_on_disabled = args[:kpi_personalization_add_on_disabled] if args.key?(:kpi_personalization_add_on_disabled)
27620
+ @semantic_add_on_disabled = args[:semantic_add_on_disabled] if args.key?(:semantic_add_on_disabled)
27621
+ end
27622
+ end
27623
+
26750
27624
  # Config to store data store type configuration for workspace data
26751
27625
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
26752
27626
  include Google::Apis::Core::Hashable
@@ -27660,6 +28534,11 @@ module Google
27660
28534
  # @return [String]
27661
28535
  attr_accessor :configurable_billing_approach
27662
28536
 
28537
+ # Output only. The timestamp when configurable_billing_approach was last updated.
28538
+ # Corresponds to the JSON property `configurableBillingApproachUpdateTime`
28539
+ # @return [String]
28540
+ attr_accessor :configurable_billing_approach_update_time
28541
+
27663
28542
  # Immutable. The content config of the data store. If this field is unset, the
27664
28543
  # server behavior defaults to ContentConfig.NO_CONTENT.
27665
28544
  # Corresponds to the JSON property `contentConfig`
@@ -27774,6 +28653,7 @@ module Google
27774
28653
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
27775
28654
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
27776
28655
  @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
28656
+ @configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
27777
28657
  @content_config = args[:content_config] if args.key?(:content_config)
27778
28658
  @create_time = args[:create_time] if args.key?(:create_time)
27779
28659
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -29706,6 +30586,16 @@ module Google
29706
30586
  class GoogleCloudDiscoveryengineV1betaProject
29707
30587
  include Google::Apis::Core::Hashable
29708
30588
 
30589
+ # Represents the currently effective configurable billing parameters. These
30590
+ # values are derived from the customer's subscription history stored internally
30591
+ # and reflect the thresholds actively being used for billing purposes at the
30592
+ # time of the GetProject call. This includes the start_time of the subscription
30593
+ # and may differ from the values in `customer_provided_config` due to billing
30594
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
30595
+ # Corresponds to the JSON property `configurableBillingStatus`
30596
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus]
30597
+ attr_accessor :configurable_billing_status
30598
+
29709
30599
  # Output only. The timestamp when this project is created.
29710
30600
  # Corresponds to the JSON property `createTime`
29711
30601
  # @return [String]
@@ -29740,6 +30630,7 @@ module Google
29740
30630
 
29741
30631
  # Update properties of this object
29742
30632
  def update!(**args)
30633
+ @configurable_billing_status = args[:configurable_billing_status] if args.key?(:configurable_billing_status)
29743
30634
  @create_time = args[:create_time] if args.key?(:create_time)
29744
30635
  @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
29745
30636
  @name = args[:name] if args.key?(:name)
@@ -29748,6 +30639,46 @@ module Google
29748
30639
  end
29749
30640
  end
29750
30641
 
30642
+ # Represents the currently effective configurable billing parameters. These
30643
+ # values are derived from the customer's subscription history stored internally
30644
+ # and reflect the thresholds actively being used for billing purposes at the
30645
+ # time of the GetProject call. This includes the start_time of the subscription
30646
+ # and may differ from the values in `customer_provided_config` due to billing
30647
+ # rules (e.g., scale-downs taking effect only at the start of a new month).
30648
+ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
30649
+ include Google::Apis::Core::Hashable
30650
+
30651
+ # Optional. The currently effective Indexing Core threshold. This is the
30652
+ # threshold against which Indexing Core usage is compared for overage
30653
+ # calculations.
30654
+ # Corresponds to the JSON property `effectiveIndexingCoreThreshold`
30655
+ # @return [Fixnum]
30656
+ attr_accessor :effective_indexing_core_threshold
30657
+
30658
+ # Optional. The currently effective Search QPM threshold in queries per minute.
30659
+ # This is the threshold against which QPM usage is compared for overage
30660
+ # calculations.
30661
+ # Corresponds to the JSON property `effectiveSearchQpmThreshold`
30662
+ # @return [Fixnum]
30663
+ attr_accessor :effective_search_qpm_threshold
30664
+
30665
+ # Optional. The start time of the currently active billing subscription.
30666
+ # Corresponds to the JSON property `startTime`
30667
+ # @return [String]
30668
+ attr_accessor :start_time
30669
+
30670
+ def initialize(**args)
30671
+ update!(**args)
30672
+ end
30673
+
30674
+ # Update properties of this object
30675
+ def update!(**args)
30676
+ @effective_indexing_core_threshold = args[:effective_indexing_core_threshold] if args.key?(:effective_indexing_core_threshold)
30677
+ @effective_search_qpm_threshold = args[:effective_search_qpm_threshold] if args.key?(:effective_search_qpm_threshold)
30678
+ @start_time = args[:start_time] if args.key?(:start_time)
30679
+ end
30680
+ end
30681
+
29751
30682
  # Customer provided configurations.
29752
30683
  class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
29753
30684
  include Google::Apis::Core::Hashable
@@ -30566,9 +31497,9 @@ module Google
30566
31497
  # @return [Hash<String,String>]
30567
31498
  attr_accessor :user_labels
30568
31499
 
30569
- # A unique identifier for tracking visitors. For example, this could be
30570
- # implemented with an HTTP cookie, which should be able to uniquely identify a
30571
- # visitor on a single device. This unique identifier should not change if the
31500
+ # Optional. A unique identifier for tracking visitors. For example, this could
31501
+ # be implemented with an HTTP cookie, which should be able to uniquely identify
31502
+ # a visitor on a single device. This unique identifier should not change if the
30572
31503
  # visitor logs in or out of the website. This field should NOT have a fixed
30573
31504
  # value such as `unknown_visitor`. This should be the same identifier as
30574
31505
  # UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field