google-apis-discoveryengine_v1beta 0.84.0 → 0.86.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.
@@ -3248,8 +3248,7 @@ module Google
3248
3248
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig]
3249
3249
  attr_accessor :cmek_config
3250
3250
 
3251
- # Optional. Configuration for configurable billing approach. See go/vais-
3252
- # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
3251
+ # Optional. Configuration for configurable billing approach. See
3253
3252
  # Corresponds to the JSON property `configurableBillingApproach`
3254
3253
  # @return [String]
3255
3254
  attr_accessor :configurable_billing_approach
@@ -4069,8 +4068,7 @@ module Google
4069
4068
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig]
4070
4069
  attr_accessor :common_config
4071
4070
 
4072
- # Optional. Configuration for configurable billing approach. See go/vais-
4073
- # repricing-billing-dd for more details.
4071
+ # Optional. Configuration for configurable billing approach.
4074
4072
  # Corresponds to the JSON property `configurableBillingApproach`
4075
4073
  # @return [String]
4076
4074
  attr_accessor :configurable_billing_approach
@@ -4107,8 +4105,9 @@ module Google
4107
4105
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
4108
4106
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
4109
4107
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
4110
- # personalization-memory` * `disable-image-generation` * `disable-video-
4111
- # generation` * `disable-onedrive-upload`
4108
+ # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
4109
+ # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
4110
+ # content` * `disable-google-drive-upload`
4112
4111
  # Corresponds to the JSON property `features`
4113
4112
  # @return [Hash<String,String>]
4114
4113
  attr_accessor :features
@@ -4950,6 +4949,99 @@ module Google
4950
4949
  end
4951
4950
  end
4952
4951
 
4952
+ # Information about users' licenses.
4953
+ class GoogleCloudDiscoveryengineV1LicenseConfig
4954
+ include Google::Apis::Core::Hashable
4955
+
4956
+ # Optional. Whether the license config should be auto renewed when it reaches
4957
+ # the end date.
4958
+ # Corresponds to the JSON property `autoRenew`
4959
+ # @return [Boolean]
4960
+ attr_accessor :auto_renew
4961
+ alias_method :auto_renew?, :auto_renew
4962
+
4963
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4964
+ # day and time zone are either specified elsewhere or are insignificant. The
4965
+ # date is relative to the Gregorian Calendar. This can represent one of the
4966
+ # following: * A full date, with non-zero year, month, and day values. * A month
4967
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4968
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4969
+ # example, a credit card expiration date). Related types: * google.type.
4970
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4971
+ # Corresponds to the JSON property `endDate`
4972
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
4973
+ attr_accessor :end_date
4974
+
4975
+ # Optional. Whether the license config is for free trial.
4976
+ # Corresponds to the JSON property `freeTrial`
4977
+ # @return [Boolean]
4978
+ attr_accessor :free_trial
4979
+ alias_method :free_trial?, :free_trial
4980
+
4981
+ # Output only. Whether the license config is for Gemini bundle.
4982
+ # Corresponds to the JSON property `geminiBundle`
4983
+ # @return [Boolean]
4984
+ attr_accessor :gemini_bundle
4985
+ alias_method :gemini_bundle?, :gemini_bundle
4986
+
4987
+ # Required. Number of licenses purchased.
4988
+ # Corresponds to the JSON property `licenseCount`
4989
+ # @return [Fixnum]
4990
+ attr_accessor :license_count
4991
+
4992
+ # Immutable. Identifier. The fully qualified resource name of the license config.
4993
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
4994
+ # license_config``
4995
+ # Corresponds to the JSON property `name`
4996
+ # @return [String]
4997
+ attr_accessor :name
4998
+
4999
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5000
+ # day and time zone are either specified elsewhere or are insignificant. The
5001
+ # date is relative to the Gregorian Calendar. This can represent one of the
5002
+ # following: * A full date, with non-zero year, month, and day values. * A month
5003
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5004
+ # with a zero month and a zero day. * A year and month, with a zero day (for
5005
+ # example, a credit card expiration date). Related types: * google.type.
5006
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5007
+ # Corresponds to the JSON property `startDate`
5008
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
5009
+ attr_accessor :start_date
5010
+
5011
+ # Output only. The state of the license config.
5012
+ # Corresponds to the JSON property `state`
5013
+ # @return [String]
5014
+ attr_accessor :state
5015
+
5016
+ # Required. Subscription term.
5017
+ # Corresponds to the JSON property `subscriptionTerm`
5018
+ # @return [String]
5019
+ attr_accessor :subscription_term
5020
+
5021
+ # Required. Subscription tier information for the license config.
5022
+ # Corresponds to the JSON property `subscriptionTier`
5023
+ # @return [String]
5024
+ attr_accessor :subscription_tier
5025
+
5026
+ def initialize(**args)
5027
+ update!(**args)
5028
+ end
5029
+
5030
+ # Update properties of this object
5031
+ def update!(**args)
5032
+ @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
5033
+ @end_date = args[:end_date] if args.key?(:end_date)
5034
+ @free_trial = args[:free_trial] if args.key?(:free_trial)
5035
+ @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
5036
+ @license_count = args[:license_count] if args.key?(:license_count)
5037
+ @name = args[:name] if args.key?(:name)
5038
+ @start_date = args[:start_date] if args.key?(:start_date)
5039
+ @state = args[:state] if args.key?(:state)
5040
+ @subscription_term = args[:subscription_term] if args.key?(:subscription_term)
5041
+ @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
5042
+ end
5043
+ end
5044
+
4953
5045
  # Metadata and configurations for a Google Cloud project in the service.
4954
5046
  class GoogleCloudDiscoveryengineV1Project
4955
5047
  include Google::Apis::Core::Hashable
@@ -6674,6 +6766,77 @@ module Google
6674
6766
  end
6675
6767
  end
6676
6768
 
6769
+ # The resource level alert config. Used in: * UserLicense * EngineUserData The
6770
+ # AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
6771
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
6772
+ include Google::Apis::Core::Hashable
6773
+
6774
+ # Optional. The enrollment state of each alert.
6775
+ # Corresponds to the JSON property `alertEnrollments`
6776
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
6777
+ attr_accessor :alert_enrollments
6778
+
6779
+ # Immutable. The fully qualified resource name of the AlertPolicy.
6780
+ # Corresponds to the JSON property `alertPolicy`
6781
+ # @return [String]
6782
+ attr_accessor :alert_policy
6783
+
6784
+ # Optional. The contact details for each alert policy.
6785
+ # Corresponds to the JSON property `contactDetails`
6786
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaContactDetails>]
6787
+ attr_accessor :contact_details
6788
+
6789
+ # Optional. The language code used for notifications
6790
+ # Corresponds to the JSON property `languageCode`
6791
+ # @return [String]
6792
+ attr_accessor :language_code
6793
+
6794
+ def initialize(**args)
6795
+ update!(**args)
6796
+ end
6797
+
6798
+ # Update properties of this object
6799
+ def update!(**args)
6800
+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
6801
+ @alert_policy = args[:alert_policy] if args.key?(:alert_policy)
6802
+ @contact_details = args[:contact_details] if args.key?(:contact_details)
6803
+ @language_code = args[:language_code] if args.key?(:language_code)
6804
+ end
6805
+ end
6806
+
6807
+ # The alert enrollment status.
6808
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
6809
+ include Google::Apis::Core::Hashable
6810
+
6811
+ # Immutable. The id of an alert.
6812
+ # Corresponds to the JSON property `alertId`
6813
+ # @return [String]
6814
+ attr_accessor :alert_id
6815
+
6816
+ # Required. The enrollment status of a customer.
6817
+ # Corresponds to the JSON property `enrollState`
6818
+ # @return [String]
6819
+ attr_accessor :enroll_state
6820
+
6821
+ # Optional. Parameters used to instantiate a notification. Used for
6822
+ # notifications that are triggered when registered. Not stored. * Gemini
6823
+ # Business welcome emails. * Gemini Business user invitation emails.
6824
+ # Corresponds to the JSON property `notificationParams`
6825
+ # @return [Hash<String,String>]
6826
+ attr_accessor :notification_params
6827
+
6828
+ def initialize(**args)
6829
+ update!(**args)
6830
+ end
6831
+
6832
+ # Update properties of this object
6833
+ def update!(**args)
6834
+ @alert_id = args[:alert_id] if args.key?(:alert_id)
6835
+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
6836
+ @notification_params = args[:notification_params] if args.key?(:notification_params)
6837
+ end
6838
+ end
6839
+
6677
6840
  # Defines an answer.
6678
6841
  class GoogleCloudDiscoveryengineV1alphaAnswer
6679
6842
  include Google::Apis::Core::Hashable
@@ -7433,6 +7596,520 @@ module Google
7433
7596
  end
7434
7597
  end
7435
7598
 
7599
+ # AssistAnswer resource, main part of AssistResponse.
7600
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswer
7601
+ include Google::Apis::Core::Hashable
7602
+
7603
+ # Reasons for not answering the assist call.
7604
+ # Corresponds to the JSON property `assistSkippedReasons`
7605
+ # @return [Array<String>]
7606
+ attr_accessor :assist_skipped_reasons
7607
+
7608
+ # Customer policy enforcement results. Contains the results of the various
7609
+ # policy checks, like the banned phrases or the Model Armor checks.
7610
+ # Corresponds to the JSON property `customerPolicyEnforcementResult`
7611
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
7612
+ attr_accessor :customer_policy_enforcement_result
7613
+
7614
+ # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
7615
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7616
+ # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
7617
+ # encoded string with a length limit of 1024 characters.
7618
+ # Corresponds to the JSON property `name`
7619
+ # @return [String]
7620
+ attr_accessor :name
7621
+
7622
+ # Replies of the assistant.
7623
+ # Corresponds to the JSON property `replies`
7624
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
7625
+ attr_accessor :replies
7626
+
7627
+ # State of the answer generation.
7628
+ # Corresponds to the JSON property `state`
7629
+ # @return [String]
7630
+ attr_accessor :state
7631
+
7632
+ def initialize(**args)
7633
+ update!(**args)
7634
+ end
7635
+
7636
+ # Update properties of this object
7637
+ def update!(**args)
7638
+ @assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
7639
+ @customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
7640
+ @name = args[:name] if args.key?(:name)
7641
+ @replies = args[:replies] if args.key?(:replies)
7642
+ @state = args[:state] if args.key?(:state)
7643
+ end
7644
+ end
7645
+
7646
+ # Customer policy enforcement results. Contains the results of the various
7647
+ # policy checks, like the banned phrases or the Model Armor checks.
7648
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
7649
+ include Google::Apis::Core::Hashable
7650
+
7651
+ # Customer policy enforcement results. Populated only if the assist call was
7652
+ # skipped due to a policy violation. It contains results from those filters that
7653
+ # blocked the processing of the query.
7654
+ # Corresponds to the JSON property `policyResults`
7655
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
7656
+ attr_accessor :policy_results
7657
+
7658
+ # Final verdict of the customer policy enforcement. If only one policy blocked
7659
+ # the processing, the verdict is BLOCK.
7660
+ # Corresponds to the JSON property `verdict`
7661
+ # @return [String]
7662
+ attr_accessor :verdict
7663
+
7664
+ def initialize(**args)
7665
+ update!(**args)
7666
+ end
7667
+
7668
+ # Update properties of this object
7669
+ def update!(**args)
7670
+ @policy_results = args[:policy_results] if args.key?(:policy_results)
7671
+ @verdict = args[:verdict] if args.key?(:verdict)
7672
+ end
7673
+ end
7674
+
7675
+ # Customer policy enforcement result for the banned phrase policy.
7676
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
7677
+ include Google::Apis::Core::Hashable
7678
+
7679
+ # The banned phrases that were found in the query or the answer.
7680
+ # Corresponds to the JSON property `bannedPhrases`
7681
+ # @return [Array<String>]
7682
+ attr_accessor :banned_phrases
7683
+
7684
+ def initialize(**args)
7685
+ update!(**args)
7686
+ end
7687
+
7688
+ # Update properties of this object
7689
+ def update!(**args)
7690
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
7691
+ end
7692
+ end
7693
+
7694
+ # Customer policy enforcement result for the Model Armor policy.
7695
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
7696
+ include Google::Apis::Core::Hashable
7697
+
7698
+ # The `Status` type defines a logical error model that is suitable for different
7699
+ # programming environments, including REST APIs and RPC APIs. It is used by [
7700
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
7701
+ # data: error code, error message, and error details. You can find out more
7702
+ # about this error model and how to work with it in the [API Design Guide](https:
7703
+ # //cloud.google.com/apis/design/errors).
7704
+ # Corresponds to the JSON property `error`
7705
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
7706
+ attr_accessor :error
7707
+
7708
+ # The Model Armor violation that was found.
7709
+ # Corresponds to the JSON property `modelArmorViolation`
7710
+ # @return [String]
7711
+ attr_accessor :model_armor_violation
7712
+
7713
+ def initialize(**args)
7714
+ update!(**args)
7715
+ end
7716
+
7717
+ # Update properties of this object
7718
+ def update!(**args)
7719
+ @error = args[:error] if args.key?(:error)
7720
+ @model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
7721
+ end
7722
+ end
7723
+
7724
+ # Customer policy enforcement result for a single policy type.
7725
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
7726
+ include Google::Apis::Core::Hashable
7727
+
7728
+ # Customer policy enforcement result for the banned phrase policy.
7729
+ # Corresponds to the JSON property `bannedPhraseEnforcementResult`
7730
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
7731
+ attr_accessor :banned_phrase_enforcement_result
7732
+
7733
+ # Customer policy enforcement result for the Model Armor policy.
7734
+ # Corresponds to the JSON property `modelArmorEnforcementResult`
7735
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
7736
+ attr_accessor :model_armor_enforcement_result
7737
+
7738
+ def initialize(**args)
7739
+ update!(**args)
7740
+ end
7741
+
7742
+ # Update properties of this object
7743
+ def update!(**args)
7744
+ @banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
7745
+ @model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
7746
+ end
7747
+ end
7748
+
7749
+ # One part of the multi-part response of the assist call.
7750
+ class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
7751
+ include Google::Apis::Core::Hashable
7752
+
7753
+ # A piece of content and possibly its grounding information. Not all content
7754
+ # needs grounding. Phrases like "Of course, I will gladly search it for you." do
7755
+ # not need grounding.
7756
+ # Corresponds to the JSON property `groundedContent`
7757
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
7758
+ attr_accessor :grounded_content
7759
+
7760
+ # Output only. When set, uniquely identifies a reply within the `AssistAnswer`
7761
+ # resource. During an AssistantService.StreamAssist call, multiple `Reply`
7762
+ # messages with the same ID can occur within the response stream (across
7763
+ # multiple AssistantService.StreamAssistResponse messages). These represent
7764
+ # parts of a single `Reply` message in the final `AssistAnswer` resource.
7765
+ # Corresponds to the JSON property `replyId`
7766
+ # @return [String]
7767
+ attr_accessor :reply_id
7768
+
7769
+ def initialize(**args)
7770
+ update!(**args)
7771
+ end
7772
+
7773
+ # Update properties of this object
7774
+ def update!(**args)
7775
+ @grounded_content = args[:grounded_content] if args.key?(:grounded_content)
7776
+ @reply_id = args[:reply_id] if args.key?(:reply_id)
7777
+ end
7778
+ end
7779
+
7780
+ # Multi-modal content.
7781
+ class GoogleCloudDiscoveryengineV1alphaAssistantContent
7782
+ include Google::Apis::Core::Hashable
7783
+
7784
+ # Result of executing ExecutableCode.
7785
+ # Corresponds to the JSON property `codeExecutionResult`
7786
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
7787
+ attr_accessor :code_execution_result
7788
+
7789
+ # Code generated by the model that is meant to be executed by the model.
7790
+ # Corresponds to the JSON property `executableCode`
7791
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
7792
+ attr_accessor :executable_code
7793
+
7794
+ # A file, e.g., an audio summary.
7795
+ # Corresponds to the JSON property `file`
7796
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
7797
+ attr_accessor :file
7798
+
7799
+ # Inline blob.
7800
+ # Corresponds to the JSON property `inlineData`
7801
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
7802
+ attr_accessor :inline_data
7803
+
7804
+ # The producer of the content. Can be "model" or "user".
7805
+ # Corresponds to the JSON property `role`
7806
+ # @return [String]
7807
+ attr_accessor :role
7808
+
7809
+ # Inline text.
7810
+ # Corresponds to the JSON property `text`
7811
+ # @return [String]
7812
+ attr_accessor :text
7813
+
7814
+ # Optional. Indicates if the part is thought from the model.
7815
+ # Corresponds to the JSON property `thought`
7816
+ # @return [Boolean]
7817
+ attr_accessor :thought
7818
+ alias_method :thought?, :thought
7819
+
7820
+ def initialize(**args)
7821
+ update!(**args)
7822
+ end
7823
+
7824
+ # Update properties of this object
7825
+ def update!(**args)
7826
+ @code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
7827
+ @executable_code = args[:executable_code] if args.key?(:executable_code)
7828
+ @file = args[:file] if args.key?(:file)
7829
+ @inline_data = args[:inline_data] if args.key?(:inline_data)
7830
+ @role = args[:role] if args.key?(:role)
7831
+ @text = args[:text] if args.key?(:text)
7832
+ @thought = args[:thought] if args.key?(:thought)
7833
+ end
7834
+ end
7835
+
7836
+ # Inline blob.
7837
+ class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
7838
+ include Google::Apis::Core::Hashable
7839
+
7840
+ # Required. Raw bytes.
7841
+ # Corresponds to the JSON property `data`
7842
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
7843
+ # @return [String]
7844
+ attr_accessor :data
7845
+
7846
+ # Required. The media type (MIME type) of the generated data.
7847
+ # Corresponds to the JSON property `mimeType`
7848
+ # @return [String]
7849
+ attr_accessor :mime_type
7850
+
7851
+ def initialize(**args)
7852
+ update!(**args)
7853
+ end
7854
+
7855
+ # Update properties of this object
7856
+ def update!(**args)
7857
+ @data = args[:data] if args.key?(:data)
7858
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
7859
+ end
7860
+ end
7861
+
7862
+ # Result of executing ExecutableCode.
7863
+ class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
7864
+ include Google::Apis::Core::Hashable
7865
+
7866
+ # Required. Outcome of the code execution.
7867
+ # Corresponds to the JSON property `outcome`
7868
+ # @return [String]
7869
+ attr_accessor :outcome
7870
+
7871
+ # Optional. Contains stdout when code execution is successful, stderr or other
7872
+ # description otherwise.
7873
+ # Corresponds to the JSON property `output`
7874
+ # @return [String]
7875
+ attr_accessor :output
7876
+
7877
+ def initialize(**args)
7878
+ update!(**args)
7879
+ end
7880
+
7881
+ # Update properties of this object
7882
+ def update!(**args)
7883
+ @outcome = args[:outcome] if args.key?(:outcome)
7884
+ @output = args[:output] if args.key?(:output)
7885
+ end
7886
+ end
7887
+
7888
+ # Code generated by the model that is meant to be executed by the model.
7889
+ class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
7890
+ include Google::Apis::Core::Hashable
7891
+
7892
+ # Required. The code content. Currently only supports Python.
7893
+ # Corresponds to the JSON property `code`
7894
+ # @return [String]
7895
+ attr_accessor :code
7896
+
7897
+ def initialize(**args)
7898
+ update!(**args)
7899
+ end
7900
+
7901
+ # Update properties of this object
7902
+ def update!(**args)
7903
+ @code = args[:code] if args.key?(:code)
7904
+ end
7905
+ end
7906
+
7907
+ # A file, e.g., an audio summary.
7908
+ class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
7909
+ include Google::Apis::Core::Hashable
7910
+
7911
+ # Required. The file ID.
7912
+ # Corresponds to the JSON property `fileId`
7913
+ # @return [String]
7914
+ attr_accessor :file_id
7915
+
7916
+ # Required. The media type (MIME type) of the file.
7917
+ # Corresponds to the JSON property `mimeType`
7918
+ # @return [String]
7919
+ attr_accessor :mime_type
7920
+
7921
+ def initialize(**args)
7922
+ update!(**args)
7923
+ end
7924
+
7925
+ # Update properties of this object
7926
+ def update!(**args)
7927
+ @file_id = args[:file_id] if args.key?(:file_id)
7928
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
7929
+ end
7930
+ end
7931
+
7932
+ # A piece of content and possibly its grounding information. Not all content
7933
+ # needs grounding. Phrases like "Of course, I will gladly search it for you." do
7934
+ # not need grounding.
7935
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
7936
+ include Google::Apis::Core::Hashable
7937
+
7938
+ # A collection of source attributions for a piece of content.
7939
+ # Corresponds to the JSON property `citationMetadata`
7940
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCitationMetadata]
7941
+ attr_accessor :citation_metadata
7942
+
7943
+ # Multi-modal content.
7944
+ # Corresponds to the JSON property `content`
7945
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent]
7946
+ attr_accessor :content
7947
+
7948
+ # Grounding details for text sources.
7949
+ # Corresponds to the JSON property `textGroundingMetadata`
7950
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
7951
+ attr_accessor :text_grounding_metadata
7952
+
7953
+ def initialize(**args)
7954
+ update!(**args)
7955
+ end
7956
+
7957
+ # Update properties of this object
7958
+ def update!(**args)
7959
+ @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
7960
+ @content = args[:content] if args.key?(:content)
7961
+ @text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
7962
+ end
7963
+ end
7964
+
7965
+ # Grounding details for text sources.
7966
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
7967
+ include Google::Apis::Core::Hashable
7968
+
7969
+ # References for the grounded text.
7970
+ # Corresponds to the JSON property `references`
7971
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
7972
+ attr_accessor :references
7973
+
7974
+ # Grounding information for parts of the text.
7975
+ # Corresponds to the JSON property `segments`
7976
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
7977
+ attr_accessor :segments
7978
+
7979
+ def initialize(**args)
7980
+ update!(**args)
7981
+ end
7982
+
7983
+ # Update properties of this object
7984
+ def update!(**args)
7985
+ @references = args[:references] if args.key?(:references)
7986
+ @segments = args[:segments] if args.key?(:segments)
7987
+ end
7988
+ end
7989
+
7990
+ # Referenced content and related document metadata.
7991
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
7992
+ include Google::Apis::Core::Hashable
7993
+
7994
+ # Referenced text content.
7995
+ # Corresponds to the JSON property `content`
7996
+ # @return [String]
7997
+ attr_accessor :content
7998
+
7999
+ # Document metadata.
8000
+ # Corresponds to the JSON property `documentMetadata`
8001
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
8002
+ attr_accessor :document_metadata
8003
+
8004
+ def initialize(**args)
8005
+ update!(**args)
8006
+ end
8007
+
8008
+ # Update properties of this object
8009
+ def update!(**args)
8010
+ @content = args[:content] if args.key?(:content)
8011
+ @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
8012
+ end
8013
+ end
8014
+
8015
+ # Document metadata.
8016
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
8017
+ include Google::Apis::Core::Hashable
8018
+
8019
+ # Document resource name.
8020
+ # Corresponds to the JSON property `document`
8021
+ # @return [String]
8022
+ attr_accessor :document
8023
+
8024
+ # Domain name from the document URI. Note that the `uri` field may contain a URL
8025
+ # that redirects to the actual website, in which case this will contain the
8026
+ # domain name of the target site.
8027
+ # Corresponds to the JSON property `domain`
8028
+ # @return [String]
8029
+ attr_accessor :domain
8030
+
8031
+ # The mime type of the document. https://www.iana.org/assignments/media-types/
8032
+ # media-types.xhtml.
8033
+ # Corresponds to the JSON property `mimeType`
8034
+ # @return [String]
8035
+ attr_accessor :mime_type
8036
+
8037
+ # Page identifier.
8038
+ # Corresponds to the JSON property `pageIdentifier`
8039
+ # @return [String]
8040
+ attr_accessor :page_identifier
8041
+
8042
+ # Title.
8043
+ # Corresponds to the JSON property `title`
8044
+ # @return [String]
8045
+ attr_accessor :title
8046
+
8047
+ # URI for the document. It may contain a URL that redirects to the actual
8048
+ # website.
8049
+ # Corresponds to the JSON property `uri`
8050
+ # @return [String]
8051
+ attr_accessor :uri
8052
+
8053
+ def initialize(**args)
8054
+ update!(**args)
8055
+ end
8056
+
8057
+ # Update properties of this object
8058
+ def update!(**args)
8059
+ @document = args[:document] if args.key?(:document)
8060
+ @domain = args[:domain] if args.key?(:domain)
8061
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
8062
+ @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
8063
+ @title = args[:title] if args.key?(:title)
8064
+ @uri = args[:uri] if args.key?(:uri)
8065
+ end
8066
+ end
8067
+
8068
+ # Grounding information for a segment of the text.
8069
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
8070
+ include Google::Apis::Core::Hashable
8071
+
8072
+ # End of the segment, exclusive.
8073
+ # Corresponds to the JSON property `endIndex`
8074
+ # @return [Fixnum]
8075
+ attr_accessor :end_index
8076
+
8077
+ # Score for the segment.
8078
+ # Corresponds to the JSON property `groundingScore`
8079
+ # @return [Float]
8080
+ attr_accessor :grounding_score
8081
+
8082
+ # References for the segment.
8083
+ # Corresponds to the JSON property `referenceIndices`
8084
+ # @return [Array<Fixnum>]
8085
+ attr_accessor :reference_indices
8086
+
8087
+ # Zero-based index indicating the start of the segment, measured in bytes of a
8088
+ # UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
8089
+ # than one).
8090
+ # Corresponds to the JSON property `startIndex`
8091
+ # @return [Fixnum]
8092
+ attr_accessor :start_index
8093
+
8094
+ # The text segment itself.
8095
+ # Corresponds to the JSON property `text`
8096
+ # @return [String]
8097
+ attr_accessor :text
8098
+
8099
+ def initialize(**args)
8100
+ update!(**args)
8101
+ end
8102
+
8103
+ # Update properties of this object
8104
+ def update!(**args)
8105
+ @end_index = args[:end_index] if args.key?(:end_index)
8106
+ @grounding_score = args[:grounding_score] if args.key?(:grounding_score)
8107
+ @reference_indices = args[:reference_indices] if args.key?(:reference_indices)
8108
+ @start_index = args[:start_index] if args.key?(:start_index)
8109
+ @text = args[:text] if args.key?(:text)
8110
+ end
8111
+ end
8112
+
7436
8113
  # The configuration for the BAP connector.
7437
8114
  class GoogleCloudDiscoveryengineV1alphaBapConfig
7438
8115
  include Google::Apis::Core::Hashable
@@ -7570,6 +8247,81 @@ module Google
7570
8247
  end
7571
8248
  end
7572
8249
 
8250
+ # Source attributions for content.
8251
+ class GoogleCloudDiscoveryengineV1alphaCitation
8252
+ include Google::Apis::Core::Hashable
8253
+
8254
+ # Output only. End index into the content.
8255
+ # Corresponds to the JSON property `endIndex`
8256
+ # @return [Fixnum]
8257
+ attr_accessor :end_index
8258
+
8259
+ # Output only. License of the attribution.
8260
+ # Corresponds to the JSON property `license`
8261
+ # @return [String]
8262
+ attr_accessor :license
8263
+
8264
+ # Represents a whole or partial calendar date, such as a birthday. The time of
8265
+ # day and time zone are either specified elsewhere or are insignificant. The
8266
+ # date is relative to the Gregorian Calendar. This can represent one of the
8267
+ # following: * A full date, with non-zero year, month, and day values. * A month
8268
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
8269
+ # with a zero month and a zero day. * A year and month, with a zero day (for
8270
+ # example, a credit card expiration date). Related types: * google.type.
8271
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
8272
+ # Corresponds to the JSON property `publicationDate`
8273
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
8274
+ attr_accessor :publication_date
8275
+
8276
+ # Output only. Start index into the content.
8277
+ # Corresponds to the JSON property `startIndex`
8278
+ # @return [Fixnum]
8279
+ attr_accessor :start_index
8280
+
8281
+ # Output only. Title of the attribution.
8282
+ # Corresponds to the JSON property `title`
8283
+ # @return [String]
8284
+ attr_accessor :title
8285
+
8286
+ # Output only. Url reference of the attribution.
8287
+ # Corresponds to the JSON property `uri`
8288
+ # @return [String]
8289
+ attr_accessor :uri
8290
+
8291
+ def initialize(**args)
8292
+ update!(**args)
8293
+ end
8294
+
8295
+ # Update properties of this object
8296
+ def update!(**args)
8297
+ @end_index = args[:end_index] if args.key?(:end_index)
8298
+ @license = args[:license] if args.key?(:license)
8299
+ @publication_date = args[:publication_date] if args.key?(:publication_date)
8300
+ @start_index = args[:start_index] if args.key?(:start_index)
8301
+ @title = args[:title] if args.key?(:title)
8302
+ @uri = args[:uri] if args.key?(:uri)
8303
+ end
8304
+ end
8305
+
8306
+ # A collection of source attributions for a piece of content.
8307
+ class GoogleCloudDiscoveryengineV1alphaCitationMetadata
8308
+ include Google::Apis::Core::Hashable
8309
+
8310
+ # Output only. List of citations.
8311
+ # Corresponds to the JSON property `citations`
8312
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCitation>]
8313
+ attr_accessor :citations
8314
+
8315
+ def initialize(**args)
8316
+ update!(**args)
8317
+ end
8318
+
8319
+ # Update properties of this object
8320
+ def update!(**args)
8321
+ @citations = args[:citations] if args.key?(:citations)
8322
+ end
8323
+ end
8324
+
7573
8325
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
7574
8326
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
7575
8327
  include Google::Apis::Core::Hashable
@@ -7972,6 +8724,27 @@ module Google
7972
8724
  end
7973
8725
  end
7974
8726
 
8727
+ # The contact info stored in resource level. If both project level and resource
8728
+ # level is populated, the resource level contact info will override the project
8729
+ # level contact info.
8730
+ class GoogleCloudDiscoveryengineV1alphaContactDetails
8731
+ include Google::Apis::Core::Hashable
8732
+
8733
+ # Optional. The email address of the contact.
8734
+ # Corresponds to the JSON property `emailAddress`
8735
+ # @return [String]
8736
+ attr_accessor :email_address
8737
+
8738
+ def initialize(**args)
8739
+ update!(**args)
8740
+ end
8741
+
8742
+ # Update properties of this object
8743
+ def update!(**args)
8744
+ @email_address = args[:email_address] if args.key?(:email_address)
8745
+ end
8746
+ end
8747
+
7975
8748
  # Defines a conditioned behavior to employ during serving. Must be attached to a
7976
8749
  # ServingConfig to be considered at serving time. Permitted actions dependent on
7977
8750
  # `SolutionType`.
@@ -9036,8 +9809,7 @@ module Google
9036
9809
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig]
9037
9810
  attr_accessor :cmek_config
9038
9811
 
9039
- # Optional. Configuration for configurable billing approach. See go/vais-
9040
- # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
9812
+ # Optional. Configuration for configurable billing approach. See
9041
9813
  # Corresponds to the JSON property `configurableBillingApproach`
9042
9814
  # @return [String]
9043
9815
  attr_accessor :configurable_billing_approach
@@ -9935,8 +10707,7 @@ module Google
9935
10707
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
9936
10708
  attr_accessor :common_config
9937
10709
 
9938
- # Optional. Configuration for configurable billing approach. See go/vais-
9939
- # repricing-billing-dd for more details.
10710
+ # Optional. Configuration for configurable billing approach.
9940
10711
  # Corresponds to the JSON property `configurableBillingApproach`
9941
10712
  # @return [String]
9942
10713
  attr_accessor :configurable_billing_approach
@@ -9973,8 +10744,9 @@ module Google
9973
10744
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
9974
10745
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
9975
10746
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
9976
- # personalization-memory` * `disable-image-generation` * `disable-video-
9977
- # generation` * `disable-onedrive-upload`
10747
+ # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
10748
+ # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
10749
+ # content` * `disable-google-drive-upload`
9978
10750
  # Corresponds to the JSON property `features`
9979
10751
  # @return [Hash<String,String>]
9980
10752
  attr_accessor :features
@@ -11447,6 +12219,106 @@ module Google
11447
12219
  end
11448
12220
  end
11449
12221
 
12222
+ # Information about users' licenses.
12223
+ class GoogleCloudDiscoveryengineV1alphaLicenseConfig
12224
+ include Google::Apis::Core::Hashable
12225
+
12226
+ # The resource level alert config. Used in: * UserLicense * EngineUserData The
12227
+ # AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
12228
+ # Corresponds to the JSON property `alertPolicyResourceConfig`
12229
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
12230
+ attr_accessor :alert_policy_resource_config
12231
+
12232
+ # Optional. Whether the license config should be auto renewed when it reaches
12233
+ # the end date.
12234
+ # Corresponds to the JSON property `autoRenew`
12235
+ # @return [Boolean]
12236
+ attr_accessor :auto_renew
12237
+ alias_method :auto_renew?, :auto_renew
12238
+
12239
+ # Represents a whole or partial calendar date, such as a birthday. The time of
12240
+ # day and time zone are either specified elsewhere or are insignificant. The
12241
+ # date is relative to the Gregorian Calendar. This can represent one of the
12242
+ # following: * A full date, with non-zero year, month, and day values. * A month
12243
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
12244
+ # with a zero month and a zero day. * A year and month, with a zero day (for
12245
+ # example, a credit card expiration date). Related types: * google.type.
12246
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
12247
+ # Corresponds to the JSON property `endDate`
12248
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
12249
+ attr_accessor :end_date
12250
+
12251
+ # Optional. Whether the license config is for free trial.
12252
+ # Corresponds to the JSON property `freeTrial`
12253
+ # @return [Boolean]
12254
+ attr_accessor :free_trial
12255
+ alias_method :free_trial?, :free_trial
12256
+
12257
+ # Output only. Whether the license config is for Gemini bundle.
12258
+ # Corresponds to the JSON property `geminiBundle`
12259
+ # @return [Boolean]
12260
+ attr_accessor :gemini_bundle
12261
+ alias_method :gemini_bundle?, :gemini_bundle
12262
+
12263
+ # Required. Number of licenses purchased.
12264
+ # Corresponds to the JSON property `licenseCount`
12265
+ # @return [Fixnum]
12266
+ attr_accessor :license_count
12267
+
12268
+ # Immutable. Identifier. The fully qualified resource name of the license config.
12269
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
12270
+ # license_config``
12271
+ # Corresponds to the JSON property `name`
12272
+ # @return [String]
12273
+ attr_accessor :name
12274
+
12275
+ # Represents a whole or partial calendar date, such as a birthday. The time of
12276
+ # day and time zone are either specified elsewhere or are insignificant. The
12277
+ # date is relative to the Gregorian Calendar. This can represent one of the
12278
+ # following: * A full date, with non-zero year, month, and day values. * A month
12279
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
12280
+ # with a zero month and a zero day. * A year and month, with a zero day (for
12281
+ # example, a credit card expiration date). Related types: * google.type.
12282
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
12283
+ # Corresponds to the JSON property `startDate`
12284
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
12285
+ attr_accessor :start_date
12286
+
12287
+ # Output only. The state of the license config.
12288
+ # Corresponds to the JSON property `state`
12289
+ # @return [String]
12290
+ attr_accessor :state
12291
+
12292
+ # Required. Subscription term.
12293
+ # Corresponds to the JSON property `subscriptionTerm`
12294
+ # @return [String]
12295
+ attr_accessor :subscription_term
12296
+
12297
+ # Required. Subscription tier information for the license config.
12298
+ # Corresponds to the JSON property `subscriptionTier`
12299
+ # @return [String]
12300
+ attr_accessor :subscription_tier
12301
+
12302
+ def initialize(**args)
12303
+ update!(**args)
12304
+ end
12305
+
12306
+ # Update properties of this object
12307
+ def update!(**args)
12308
+ @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
12309
+ @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
12310
+ @end_date = args[:end_date] if args.key?(:end_date)
12311
+ @free_trial = args[:free_trial] if args.key?(:free_trial)
12312
+ @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
12313
+ @license_count = args[:license_count] if args.key?(:license_count)
12314
+ @name = args[:name] if args.key?(:name)
12315
+ @start_date = args[:start_date] if args.key?(:start_date)
12316
+ @state = args[:state] if args.key?(:state)
12317
+ @subscription_term = args[:subscription_term] if args.key?(:subscription_term)
12318
+ @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
12319
+ end
12320
+ end
12321
+
11450
12322
  # Request for ListSessions method.
11451
12323
  class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
11452
12324
  include Google::Apis::Core::Hashable
@@ -13976,6 +14848,12 @@ module Google
13976
14848
  attr_accessor :is_pinned
13977
14849
  alias_method :is_pinned?, :is_pinned
13978
14850
 
14851
+ # Optional. The labels for the session. Can be set as filter in
14852
+ # ListSessionsRequest.
14853
+ # Corresponds to the JSON property `labels`
14854
+ # @return [Array<String>]
14855
+ attr_accessor :labels
14856
+
13979
14857
  # Immutable. Fully qualified name `projects/`project`/locations/global/
13980
14858
  # collections/`collection`/engines/`engine`/sessions/*`
13981
14859
  # Corresponds to the JSON property `name`
@@ -14011,6 +14889,7 @@ module Google
14011
14889
  @display_name = args[:display_name] if args.key?(:display_name)
14012
14890
  @end_time = args[:end_time] if args.key?(:end_time)
14013
14891
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)
14892
+ @labels = args[:labels] if args.key?(:labels)
14014
14893
  @name = args[:name] if args.key?(:name)
14015
14894
  @start_time = args[:start_time] if args.key?(:start_time)
14016
14895
  @state = args[:state] if args.key?(:state)
@@ -14034,6 +14913,11 @@ module Google
14034
14913
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer]
14035
14914
  attr_accessor :detailed_answer
14036
14915
 
14916
+ # AssistAnswer resource, main part of AssistResponse.
14917
+ # Corresponds to the JSON property `detailedAssistAnswer`
14918
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
14919
+ attr_accessor :detailed_assist_answer
14920
+
14037
14921
  # Defines a user inputed query.
14038
14922
  # Corresponds to the JSON property `query`
14039
14923
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery]
@@ -14054,6 +14938,7 @@ module Google
14054
14938
  def update!(**args)
14055
14939
  @answer = args[:answer] if args.key?(:answer)
14056
14940
  @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
14941
+ @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
14057
14942
  @query = args[:query] if args.key?(:query)
14058
14943
  @query_config = args[:query_config] if args.key?(:query_config)
14059
14944
  end
@@ -17639,6 +18524,11 @@ module Google
17639
18524
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
17640
18525
  include Google::Apis::Core::Hashable
17641
18526
 
18527
+ # A collection of source attributions for a piece of content.
18528
+ # Corresponds to the JSON property `citationMetadata`
18529
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCitationMetadata]
18530
+ attr_accessor :citation_metadata
18531
+
17642
18532
  # Multi-modal content.
17643
18533
  # Corresponds to the JSON property `content`
17644
18534
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent]
@@ -17655,6 +18545,7 @@ module Google
17655
18545
 
17656
18546
  # Update properties of this object
17657
18547
  def update!(**args)
18548
+ @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
17658
18549
  @content = args[:content] if args.key?(:content)
17659
18550
  @text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
17660
18551
  end
@@ -18810,6 +19701,81 @@ module Google
18810
19701
  end
18811
19702
  end
18812
19703
 
19704
+ # Source attributions for content.
19705
+ class GoogleCloudDiscoveryengineV1betaCitation
19706
+ include Google::Apis::Core::Hashable
19707
+
19708
+ # Output only. End index into the content.
19709
+ # Corresponds to the JSON property `endIndex`
19710
+ # @return [Fixnum]
19711
+ attr_accessor :end_index
19712
+
19713
+ # Output only. License of the attribution.
19714
+ # Corresponds to the JSON property `license`
19715
+ # @return [String]
19716
+ attr_accessor :license
19717
+
19718
+ # Represents a whole or partial calendar date, such as a birthday. The time of
19719
+ # day and time zone are either specified elsewhere or are insignificant. The
19720
+ # date is relative to the Gregorian Calendar. This can represent one of the
19721
+ # following: * A full date, with non-zero year, month, and day values. * A month
19722
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
19723
+ # with a zero month and a zero day. * A year and month, with a zero day (for
19724
+ # example, a credit card expiration date). Related types: * google.type.
19725
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
19726
+ # Corresponds to the JSON property `publicationDate`
19727
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
19728
+ attr_accessor :publication_date
19729
+
19730
+ # Output only. Start index into the content.
19731
+ # Corresponds to the JSON property `startIndex`
19732
+ # @return [Fixnum]
19733
+ attr_accessor :start_index
19734
+
19735
+ # Output only. Title of the attribution.
19736
+ # Corresponds to the JSON property `title`
19737
+ # @return [String]
19738
+ attr_accessor :title
19739
+
19740
+ # Output only. Url reference of the attribution.
19741
+ # Corresponds to the JSON property `uri`
19742
+ # @return [String]
19743
+ attr_accessor :uri
19744
+
19745
+ def initialize(**args)
19746
+ update!(**args)
19747
+ end
19748
+
19749
+ # Update properties of this object
19750
+ def update!(**args)
19751
+ @end_index = args[:end_index] if args.key?(:end_index)
19752
+ @license = args[:license] if args.key?(:license)
19753
+ @publication_date = args[:publication_date] if args.key?(:publication_date)
19754
+ @start_index = args[:start_index] if args.key?(:start_index)
19755
+ @title = args[:title] if args.key?(:title)
19756
+ @uri = args[:uri] if args.key?(:uri)
19757
+ end
19758
+ end
19759
+
19760
+ # A collection of source attributions for a piece of content.
19761
+ class GoogleCloudDiscoveryengineV1betaCitationMetadata
19762
+ include Google::Apis::Core::Hashable
19763
+
19764
+ # Output only. List of citations.
19765
+ # Corresponds to the JSON property `citations`
19766
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCitation>]
19767
+ attr_accessor :citations
19768
+
19769
+ def initialize(**args)
19770
+ update!(**args)
19771
+ end
19772
+
19773
+ # Update properties of this object
19774
+ def update!(**args)
19775
+ @citations = args[:citations] if args.key?(:citations)
19776
+ end
19777
+ end
19778
+
18813
19779
  # Cloud SQL source import data from.
18814
19780
  class GoogleCloudDiscoveryengineV1betaCloudSqlSource
18815
19781
  include Google::Apis::Core::Hashable
@@ -20049,8 +21015,7 @@ module Google
20049
21015
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
20050
21016
  attr_accessor :cmek_config
20051
21017
 
20052
- # Optional. Configuration for configurable billing approach. See go/vais-
20053
- # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
21018
+ # Optional. Configuration for configurable billing approach. See
20054
21019
  # Corresponds to the JSON property `configurableBillingApproach`
20055
21020
  # @return [String]
20056
21021
  attr_accessor :configurable_billing_approach
@@ -21159,8 +22124,7 @@ module Google
21159
22124
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
21160
22125
  attr_accessor :common_config
21161
22126
 
21162
- # Optional. Configuration for configurable billing approach. See go/vais-
21163
- # repricing-billing-dd for more details.
22127
+ # Optional. Configuration for configurable billing approach.
21164
22128
  # Corresponds to the JSON property `configurableBillingApproach`
21165
22129
  # @return [String]
21166
22130
  attr_accessor :configurable_billing_approach
@@ -21197,8 +22161,9 @@ module Google
21197
22161
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
21198
22162
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
21199
22163
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
21200
- # personalization-memory` * `disable-image-generation` * `disable-video-
21201
- # generation` * `disable-onedrive-upload`
22164
+ # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
22165
+ # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
22166
+ # content` * `disable-google-drive-upload`
21202
22167
  # Corresponds to the JSON property `features`
21203
22168
  # @return [Hash<String,String>]
21204
22169
  attr_accessor :features
@@ -23030,6 +23995,99 @@ module Google
23030
23995
  end
23031
23996
  end
23032
23997
 
23998
+ # Information about users' licenses.
23999
+ class GoogleCloudDiscoveryengineV1betaLicenseConfig
24000
+ include Google::Apis::Core::Hashable
24001
+
24002
+ # Optional. Whether the license config should be auto renewed when it reaches
24003
+ # the end date.
24004
+ # Corresponds to the JSON property `autoRenew`
24005
+ # @return [Boolean]
24006
+ attr_accessor :auto_renew
24007
+ alias_method :auto_renew?, :auto_renew
24008
+
24009
+ # Represents a whole or partial calendar date, such as a birthday. The time of
24010
+ # day and time zone are either specified elsewhere or are insignificant. The
24011
+ # date is relative to the Gregorian Calendar. This can represent one of the
24012
+ # following: * A full date, with non-zero year, month, and day values. * A month
24013
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
24014
+ # with a zero month and a zero day. * A year and month, with a zero day (for
24015
+ # example, a credit card expiration date). Related types: * google.type.
24016
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
24017
+ # Corresponds to the JSON property `endDate`
24018
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
24019
+ attr_accessor :end_date
24020
+
24021
+ # Optional. Whether the license config is for free trial.
24022
+ # Corresponds to the JSON property `freeTrial`
24023
+ # @return [Boolean]
24024
+ attr_accessor :free_trial
24025
+ alias_method :free_trial?, :free_trial
24026
+
24027
+ # Output only. Whether the license config is for Gemini bundle.
24028
+ # Corresponds to the JSON property `geminiBundle`
24029
+ # @return [Boolean]
24030
+ attr_accessor :gemini_bundle
24031
+ alias_method :gemini_bundle?, :gemini_bundle
24032
+
24033
+ # Required. Number of licenses purchased.
24034
+ # Corresponds to the JSON property `licenseCount`
24035
+ # @return [Fixnum]
24036
+ attr_accessor :license_count
24037
+
24038
+ # Immutable. Identifier. The fully qualified resource name of the license config.
24039
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
24040
+ # license_config``
24041
+ # Corresponds to the JSON property `name`
24042
+ # @return [String]
24043
+ attr_accessor :name
24044
+
24045
+ # Represents a whole or partial calendar date, such as a birthday. The time of
24046
+ # day and time zone are either specified elsewhere or are insignificant. The
24047
+ # date is relative to the Gregorian Calendar. This can represent one of the
24048
+ # following: * A full date, with non-zero year, month, and day values. * A month
24049
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
24050
+ # with a zero month and a zero day. * A year and month, with a zero day (for
24051
+ # example, a credit card expiration date). Related types: * google.type.
24052
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
24053
+ # Corresponds to the JSON property `startDate`
24054
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
24055
+ attr_accessor :start_date
24056
+
24057
+ # Output only. The state of the license config.
24058
+ # Corresponds to the JSON property `state`
24059
+ # @return [String]
24060
+ attr_accessor :state
24061
+
24062
+ # Required. Subscription term.
24063
+ # Corresponds to the JSON property `subscriptionTerm`
24064
+ # @return [String]
24065
+ attr_accessor :subscription_term
24066
+
24067
+ # Required. Subscription tier information for the license config.
24068
+ # Corresponds to the JSON property `subscriptionTier`
24069
+ # @return [String]
24070
+ attr_accessor :subscription_tier
24071
+
24072
+ def initialize(**args)
24073
+ update!(**args)
24074
+ end
24075
+
24076
+ # Update properties of this object
24077
+ def update!(**args)
24078
+ @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
24079
+ @end_date = args[:end_date] if args.key?(:end_date)
24080
+ @free_trial = args[:free_trial] if args.key?(:free_trial)
24081
+ @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
24082
+ @license_count = args[:license_count] if args.key?(:license_count)
24083
+ @name = args[:name] if args.key?(:name)
24084
+ @start_date = args[:start_date] if args.key?(:start_date)
24085
+ @state = args[:state] if args.key?(:state)
24086
+ @subscription_term = args[:subscription_term] if args.key?(:subscription_term)
24087
+ @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
24088
+ end
24089
+ end
24090
+
23033
24091
  # Response message for CmekConfigService.ListCmekConfigs method.
23034
24092
  class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
23035
24093
  include Google::Apis::Core::Hashable
@@ -28142,6 +29200,12 @@ module Google
28142
29200
  attr_accessor :is_pinned
28143
29201
  alias_method :is_pinned?, :is_pinned
28144
29202
 
29203
+ # Optional. The labels for the session. Can be set as filter in
29204
+ # ListSessionsRequest.
29205
+ # Corresponds to the JSON property `labels`
29206
+ # @return [Array<String>]
29207
+ attr_accessor :labels
29208
+
28145
29209
  # Immutable. Fully qualified name `projects/`project`/locations/global/
28146
29210
  # collections/`collection`/engines/`engine`/sessions/*`
28147
29211
  # Corresponds to the JSON property `name`
@@ -28177,6 +29241,7 @@ module Google
28177
29241
  @display_name = args[:display_name] if args.key?(:display_name)
28178
29242
  @end_time = args[:end_time] if args.key?(:end_time)
28179
29243
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)
29244
+ @labels = args[:labels] if args.key?(:labels)
28180
29245
  @name = args[:name] if args.key?(:name)
28181
29246
  @start_time = args[:start_time] if args.key?(:start_time)
28182
29247
  @state = args[:state] if args.key?(:state)
@@ -28200,6 +29265,11 @@ module Google
28200
29265
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer]
28201
29266
  attr_accessor :detailed_answer
28202
29267
 
29268
+ # AssistAnswer resource, main part of AssistResponse.
29269
+ # Corresponds to the JSON property `detailedAssistAnswer`
29270
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer]
29271
+ attr_accessor :detailed_assist_answer
29272
+
28203
29273
  # Defines a user inputed query.
28204
29274
  # Corresponds to the JSON property `query`
28205
29275
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
@@ -28220,6 +29290,7 @@ module Google
28220
29290
  def update!(**args)
28221
29291
  @answer = args[:answer] if args.key?(:answer)
28222
29292
  @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
29293
+ @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
28223
29294
  @query = args[:query] if args.key?(:query)
28224
29295
  @query_config = args[:query_config] if args.key?(:query_config)
28225
29296
  end