google-apis-discoveryengine_v1beta 0.84.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +1107 -35
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +470 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +114 -0
- metadata +2 -2
@@ -1586,6 +1586,77 @@ module Google
|
|
1586
1586
|
end
|
1587
1587
|
end
|
1588
1588
|
|
1589
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
1590
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
1591
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig
|
1592
|
+
include Google::Apis::Core::Hashable
|
1593
|
+
|
1594
|
+
# Optional. The enrollment state of each alert.
|
1595
|
+
# Corresponds to the JSON property `alertEnrollments`
|
1596
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment>]
|
1597
|
+
attr_accessor :alert_enrollments
|
1598
|
+
|
1599
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
1600
|
+
# Corresponds to the JSON property `alertPolicy`
|
1601
|
+
# @return [String]
|
1602
|
+
attr_accessor :alert_policy
|
1603
|
+
|
1604
|
+
# Optional. The contact details for each alert policy.
|
1605
|
+
# Corresponds to the JSON property `contactDetails`
|
1606
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ContactDetails>]
|
1607
|
+
attr_accessor :contact_details
|
1608
|
+
|
1609
|
+
# Optional. The language code used for notifications
|
1610
|
+
# Corresponds to the JSON property `languageCode`
|
1611
|
+
# @return [String]
|
1612
|
+
attr_accessor :language_code
|
1613
|
+
|
1614
|
+
def initialize(**args)
|
1615
|
+
update!(**args)
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
# Update properties of this object
|
1619
|
+
def update!(**args)
|
1620
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
1621
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
1622
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
1623
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# The alert enrollment status.
|
1628
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment
|
1629
|
+
include Google::Apis::Core::Hashable
|
1630
|
+
|
1631
|
+
# Immutable. The id of an alert.
|
1632
|
+
# Corresponds to the JSON property `alertId`
|
1633
|
+
# @return [String]
|
1634
|
+
attr_accessor :alert_id
|
1635
|
+
|
1636
|
+
# Required. The enrollment status of a customer.
|
1637
|
+
# Corresponds to the JSON property `enrollState`
|
1638
|
+
# @return [String]
|
1639
|
+
attr_accessor :enroll_state
|
1640
|
+
|
1641
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
1642
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
1643
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
1644
|
+
# Corresponds to the JSON property `notificationParams`
|
1645
|
+
# @return [Hash<String,String>]
|
1646
|
+
attr_accessor :notification_params
|
1647
|
+
|
1648
|
+
def initialize(**args)
|
1649
|
+
update!(**args)
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# Update properties of this object
|
1653
|
+
def update!(**args)
|
1654
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
1655
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
1656
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
|
1589
1660
|
# The specification for answer generation.
|
1590
1661
|
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
1591
1662
|
include Google::Apis::Core::Hashable
|
@@ -2239,6 +2310,27 @@ module Google
|
|
2239
2310
|
end
|
2240
2311
|
end
|
2241
2312
|
|
2313
|
+
# The contact info stored in resource level. If both project level and resource
|
2314
|
+
# level is populated, the resource level contact info will override the project
|
2315
|
+
# level contact info.
|
2316
|
+
class GoogleCloudDiscoveryengineV1ContactDetails
|
2317
|
+
include Google::Apis::Core::Hashable
|
2318
|
+
|
2319
|
+
# Optional. The email address of the contact.
|
2320
|
+
# Corresponds to the JSON property `emailAddress`
|
2321
|
+
# @return [String]
|
2322
|
+
attr_accessor :email_address
|
2323
|
+
|
2324
|
+
def initialize(**args)
|
2325
|
+
update!(**args)
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# Update properties of this object
|
2329
|
+
def update!(**args)
|
2330
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2242
2334
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
2243
2335
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
2244
2336
|
# `SolutionType`.
|
@@ -3248,8 +3340,7 @@ module Google
|
|
3248
3340
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig]
|
3249
3341
|
attr_accessor :cmek_config
|
3250
3342
|
|
3251
|
-
# Optional. Configuration for configurable billing approach. See
|
3252
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
3343
|
+
# Optional. Configuration for configurable billing approach. See
|
3253
3344
|
# Corresponds to the JSON property `configurableBillingApproach`
|
3254
3345
|
# @return [String]
|
3255
3346
|
attr_accessor :configurable_billing_approach
|
@@ -4069,8 +4160,7 @@ module Google
|
|
4069
4160
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
4070
4161
|
attr_accessor :common_config
|
4071
4162
|
|
4072
|
-
# Optional. Configuration for configurable billing approach.
|
4073
|
-
# repricing-billing-dd for more details.
|
4163
|
+
# Optional. Configuration for configurable billing approach.
|
4074
4164
|
# Corresponds to the JSON property `configurableBillingApproach`
|
4075
4165
|
# @return [String]
|
4076
4166
|
attr_accessor :configurable_billing_approach
|
@@ -4107,8 +4197,9 @@ module Google
|
|
4107
4197
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
4108
4198
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
4109
4199
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
4110
|
-
# personalization-memory` * `disable-
|
4111
|
-
# generation` * `disable-onedrive-upload`
|
4200
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
4201
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
4202
|
+
# content` * `disable-google-drive-upload`
|
4112
4203
|
# Corresponds to the JSON property `features`
|
4113
4204
|
# @return [Hash<String,String>]
|
4114
4205
|
attr_accessor :features
|
@@ -4950,6 +5041,99 @@ module Google
|
|
4950
5041
|
end
|
4951
5042
|
end
|
4952
5043
|
|
5044
|
+
# Information about users' licenses.
|
5045
|
+
class GoogleCloudDiscoveryengineV1LicenseConfig
|
5046
|
+
include Google::Apis::Core::Hashable
|
5047
|
+
|
5048
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
5049
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
5050
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
5051
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig]
|
5052
|
+
attr_accessor :alert_policy_resource_config
|
5053
|
+
|
5054
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
5055
|
+
# the end date.
|
5056
|
+
# Corresponds to the JSON property `autoRenew`
|
5057
|
+
# @return [Boolean]
|
5058
|
+
attr_accessor :auto_renew
|
5059
|
+
alias_method :auto_renew?, :auto_renew
|
5060
|
+
|
5061
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5062
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
5063
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
5064
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5065
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5066
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5067
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5068
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5069
|
+
# Corresponds to the JSON property `endDate`
|
5070
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
5071
|
+
attr_accessor :end_date
|
5072
|
+
|
5073
|
+
# Optional. Whether the license config is for free trial.
|
5074
|
+
# Corresponds to the JSON property `freeTrial`
|
5075
|
+
# @return [Boolean]
|
5076
|
+
attr_accessor :free_trial
|
5077
|
+
alias_method :free_trial?, :free_trial
|
5078
|
+
|
5079
|
+
# Required. Number of licenses purchased.
|
5080
|
+
# Corresponds to the JSON property `licenseCount`
|
5081
|
+
# @return [Fixnum]
|
5082
|
+
attr_accessor :license_count
|
5083
|
+
|
5084
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
5085
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
5086
|
+
# license_config``
|
5087
|
+
# Corresponds to the JSON property `name`
|
5088
|
+
# @return [String]
|
5089
|
+
attr_accessor :name
|
5090
|
+
|
5091
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5092
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
5093
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
5094
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5095
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5096
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5097
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5098
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5099
|
+
# Corresponds to the JSON property `startDate`
|
5100
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
5101
|
+
attr_accessor :start_date
|
5102
|
+
|
5103
|
+
# Output only. The state of the license config.
|
5104
|
+
# Corresponds to the JSON property `state`
|
5105
|
+
# @return [String]
|
5106
|
+
attr_accessor :state
|
5107
|
+
|
5108
|
+
# Required. Subscription term.
|
5109
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
5110
|
+
# @return [String]
|
5111
|
+
attr_accessor :subscription_term
|
5112
|
+
|
5113
|
+
# Required. Subscription tier information for the license config.
|
5114
|
+
# Corresponds to the JSON property `subscriptionTier`
|
5115
|
+
# @return [String]
|
5116
|
+
attr_accessor :subscription_tier
|
5117
|
+
|
5118
|
+
def initialize(**args)
|
5119
|
+
update!(**args)
|
5120
|
+
end
|
5121
|
+
|
5122
|
+
# Update properties of this object
|
5123
|
+
def update!(**args)
|
5124
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
5125
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
5126
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
5127
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
5128
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
5129
|
+
@name = args[:name] if args.key?(:name)
|
5130
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
5131
|
+
@state = args[:state] if args.key?(:state)
|
5132
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
5133
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
5134
|
+
end
|
5135
|
+
end
|
5136
|
+
|
4953
5137
|
# Metadata and configurations for a Google Cloud project in the service.
|
4954
5138
|
class GoogleCloudDiscoveryengineV1Project
|
4955
5139
|
include Google::Apis::Core::Hashable
|
@@ -6674,6 +6858,77 @@ module Google
|
|
6674
6858
|
end
|
6675
6859
|
end
|
6676
6860
|
|
6861
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
6862
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
6863
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
|
6864
|
+
include Google::Apis::Core::Hashable
|
6865
|
+
|
6866
|
+
# Optional. The enrollment state of each alert.
|
6867
|
+
# Corresponds to the JSON property `alertEnrollments`
|
6868
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
|
6869
|
+
attr_accessor :alert_enrollments
|
6870
|
+
|
6871
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
6872
|
+
# Corresponds to the JSON property `alertPolicy`
|
6873
|
+
# @return [String]
|
6874
|
+
attr_accessor :alert_policy
|
6875
|
+
|
6876
|
+
# Optional. The contact details for each alert policy.
|
6877
|
+
# Corresponds to the JSON property `contactDetails`
|
6878
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaContactDetails>]
|
6879
|
+
attr_accessor :contact_details
|
6880
|
+
|
6881
|
+
# Optional. The language code used for notifications
|
6882
|
+
# Corresponds to the JSON property `languageCode`
|
6883
|
+
# @return [String]
|
6884
|
+
attr_accessor :language_code
|
6885
|
+
|
6886
|
+
def initialize(**args)
|
6887
|
+
update!(**args)
|
6888
|
+
end
|
6889
|
+
|
6890
|
+
# Update properties of this object
|
6891
|
+
def update!(**args)
|
6892
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
6893
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
6894
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
6895
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
6896
|
+
end
|
6897
|
+
end
|
6898
|
+
|
6899
|
+
# The alert enrollment status.
|
6900
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
|
6901
|
+
include Google::Apis::Core::Hashable
|
6902
|
+
|
6903
|
+
# Immutable. The id of an alert.
|
6904
|
+
# Corresponds to the JSON property `alertId`
|
6905
|
+
# @return [String]
|
6906
|
+
attr_accessor :alert_id
|
6907
|
+
|
6908
|
+
# Required. The enrollment status of a customer.
|
6909
|
+
# Corresponds to the JSON property `enrollState`
|
6910
|
+
# @return [String]
|
6911
|
+
attr_accessor :enroll_state
|
6912
|
+
|
6913
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
6914
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
6915
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
6916
|
+
# Corresponds to the JSON property `notificationParams`
|
6917
|
+
# @return [Hash<String,String>]
|
6918
|
+
attr_accessor :notification_params
|
6919
|
+
|
6920
|
+
def initialize(**args)
|
6921
|
+
update!(**args)
|
6922
|
+
end
|
6923
|
+
|
6924
|
+
# Update properties of this object
|
6925
|
+
def update!(**args)
|
6926
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
6927
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
6928
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
6929
|
+
end
|
6930
|
+
end
|
6931
|
+
|
6677
6932
|
# Defines an answer.
|
6678
6933
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
6679
6934
|
include Google::Apis::Core::Hashable
|
@@ -7389,19 +7644,497 @@ module Google
|
|
7389
7644
|
end
|
7390
7645
|
end
|
7391
7646
|
|
7392
|
-
# Snippet information.
|
7393
|
-
class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
|
7394
|
-
include Google::Apis::Core::Hashable
|
7647
|
+
# Snippet information.
|
7648
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
|
7649
|
+
include Google::Apis::Core::Hashable
|
7650
|
+
|
7651
|
+
# Snippet content.
|
7652
|
+
# Corresponds to the JSON property `snippet`
|
7653
|
+
# @return [String]
|
7654
|
+
attr_accessor :snippet
|
7655
|
+
|
7656
|
+
# Status of the snippet defined by the search team.
|
7657
|
+
# Corresponds to the JSON property `snippetStatus`
|
7658
|
+
# @return [String]
|
7659
|
+
attr_accessor :snippet_status
|
7660
|
+
|
7661
|
+
def initialize(**args)
|
7662
|
+
update!(**args)
|
7663
|
+
end
|
7664
|
+
|
7665
|
+
# Update properties of this object
|
7666
|
+
def update!(**args)
|
7667
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
7668
|
+
@snippet_status = args[:snippet_status] if args.key?(:snippet_status)
|
7669
|
+
end
|
7670
|
+
end
|
7671
|
+
|
7672
|
+
# Search action.
|
7673
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
|
7674
|
+
include Google::Apis::Core::Hashable
|
7675
|
+
|
7676
|
+
# The query to search.
|
7677
|
+
# Corresponds to the JSON property `query`
|
7678
|
+
# @return [String]
|
7679
|
+
attr_accessor :query
|
7680
|
+
|
7681
|
+
def initialize(**args)
|
7682
|
+
update!(**args)
|
7683
|
+
end
|
7684
|
+
|
7685
|
+
# Update properties of this object
|
7686
|
+
def update!(**args)
|
7687
|
+
@query = args[:query] if args.key?(:query)
|
7688
|
+
end
|
7689
|
+
end
|
7690
|
+
|
7691
|
+
# AssistAnswer resource, main part of AssistResponse.
|
7692
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
7693
|
+
include Google::Apis::Core::Hashable
|
7694
|
+
|
7695
|
+
# Reasons for not answering the assist call.
|
7696
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
7697
|
+
# @return [Array<String>]
|
7698
|
+
attr_accessor :assist_skipped_reasons
|
7699
|
+
|
7700
|
+
# Customer policy enforcement results. Contains the results of the various
|
7701
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
7702
|
+
# Corresponds to the JSON property `customerPolicyEnforcementResult`
|
7703
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
|
7704
|
+
attr_accessor :customer_policy_enforcement_result
|
7705
|
+
|
7706
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
7707
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
7708
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
7709
|
+
# encoded string with a length limit of 1024 characters.
|
7710
|
+
# Corresponds to the JSON property `name`
|
7711
|
+
# @return [String]
|
7712
|
+
attr_accessor :name
|
7713
|
+
|
7714
|
+
# Replies of the assistant.
|
7715
|
+
# Corresponds to the JSON property `replies`
|
7716
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
7717
|
+
attr_accessor :replies
|
7718
|
+
|
7719
|
+
# State of the answer generation.
|
7720
|
+
# Corresponds to the JSON property `state`
|
7721
|
+
# @return [String]
|
7722
|
+
attr_accessor :state
|
7723
|
+
|
7724
|
+
def initialize(**args)
|
7725
|
+
update!(**args)
|
7726
|
+
end
|
7727
|
+
|
7728
|
+
# Update properties of this object
|
7729
|
+
def update!(**args)
|
7730
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
7731
|
+
@customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
|
7732
|
+
@name = args[:name] if args.key?(:name)
|
7733
|
+
@replies = args[:replies] if args.key?(:replies)
|
7734
|
+
@state = args[:state] if args.key?(:state)
|
7735
|
+
end
|
7736
|
+
end
|
7737
|
+
|
7738
|
+
# Customer policy enforcement results. Contains the results of the various
|
7739
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
7740
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
|
7741
|
+
include Google::Apis::Core::Hashable
|
7742
|
+
|
7743
|
+
# Customer policy enforcement results. Populated only if the assist call was
|
7744
|
+
# skipped due to a policy violation. It contains results from those filters that
|
7745
|
+
# blocked the processing of the query.
|
7746
|
+
# Corresponds to the JSON property `policyResults`
|
7747
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
|
7748
|
+
attr_accessor :policy_results
|
7749
|
+
|
7750
|
+
# Final verdict of the customer policy enforcement. If only one policy blocked
|
7751
|
+
# the processing, the verdict is BLOCK.
|
7752
|
+
# Corresponds to the JSON property `verdict`
|
7753
|
+
# @return [String]
|
7754
|
+
attr_accessor :verdict
|
7755
|
+
|
7756
|
+
def initialize(**args)
|
7757
|
+
update!(**args)
|
7758
|
+
end
|
7759
|
+
|
7760
|
+
# Update properties of this object
|
7761
|
+
def update!(**args)
|
7762
|
+
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
7763
|
+
@verdict = args[:verdict] if args.key?(:verdict)
|
7764
|
+
end
|
7765
|
+
end
|
7766
|
+
|
7767
|
+
# Customer policy enforcement result for the banned phrase policy.
|
7768
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
|
7769
|
+
include Google::Apis::Core::Hashable
|
7770
|
+
|
7771
|
+
# The banned phrases that were found in the query or the answer.
|
7772
|
+
# Corresponds to the JSON property `bannedPhrases`
|
7773
|
+
# @return [Array<String>]
|
7774
|
+
attr_accessor :banned_phrases
|
7775
|
+
|
7776
|
+
def initialize(**args)
|
7777
|
+
update!(**args)
|
7778
|
+
end
|
7779
|
+
|
7780
|
+
# Update properties of this object
|
7781
|
+
def update!(**args)
|
7782
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
7783
|
+
end
|
7784
|
+
end
|
7785
|
+
|
7786
|
+
# Customer policy enforcement result for the Model Armor policy.
|
7787
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
|
7788
|
+
include Google::Apis::Core::Hashable
|
7789
|
+
|
7790
|
+
# The `Status` type defines a logical error model that is suitable for different
|
7791
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
7792
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
7793
|
+
# data: error code, error message, and error details. You can find out more
|
7794
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
7795
|
+
# //cloud.google.com/apis/design/errors).
|
7796
|
+
# Corresponds to the JSON property `error`
|
7797
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
|
7798
|
+
attr_accessor :error
|
7799
|
+
|
7800
|
+
# The Model Armor violation that was found.
|
7801
|
+
# Corresponds to the JSON property `modelArmorViolation`
|
7802
|
+
# @return [String]
|
7803
|
+
attr_accessor :model_armor_violation
|
7804
|
+
|
7805
|
+
def initialize(**args)
|
7806
|
+
update!(**args)
|
7807
|
+
end
|
7808
|
+
|
7809
|
+
# Update properties of this object
|
7810
|
+
def update!(**args)
|
7811
|
+
@error = args[:error] if args.key?(:error)
|
7812
|
+
@model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
|
7813
|
+
end
|
7814
|
+
end
|
7815
|
+
|
7816
|
+
# Customer policy enforcement result for a single policy type.
|
7817
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
|
7818
|
+
include Google::Apis::Core::Hashable
|
7819
|
+
|
7820
|
+
# Customer policy enforcement result for the banned phrase policy.
|
7821
|
+
# Corresponds to the JSON property `bannedPhraseEnforcementResult`
|
7822
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
|
7823
|
+
attr_accessor :banned_phrase_enforcement_result
|
7824
|
+
|
7825
|
+
# Customer policy enforcement result for the Model Armor policy.
|
7826
|
+
# Corresponds to the JSON property `modelArmorEnforcementResult`
|
7827
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
|
7828
|
+
attr_accessor :model_armor_enforcement_result
|
7829
|
+
|
7830
|
+
def initialize(**args)
|
7831
|
+
update!(**args)
|
7832
|
+
end
|
7833
|
+
|
7834
|
+
# Update properties of this object
|
7835
|
+
def update!(**args)
|
7836
|
+
@banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
|
7837
|
+
@model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
|
7838
|
+
end
|
7839
|
+
end
|
7840
|
+
|
7841
|
+
# One part of the multi-part response of the assist call.
|
7842
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
7843
|
+
include Google::Apis::Core::Hashable
|
7844
|
+
|
7845
|
+
# A piece of content and possibly its grounding information. Not all content
|
7846
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
7847
|
+
# not need grounding.
|
7848
|
+
# Corresponds to the JSON property `groundedContent`
|
7849
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
7850
|
+
attr_accessor :grounded_content
|
7851
|
+
|
7852
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
7853
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
7854
|
+
# messages with the same ID can occur within the response stream (across
|
7855
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
7856
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
7857
|
+
# Corresponds to the JSON property `replyId`
|
7858
|
+
# @return [String]
|
7859
|
+
attr_accessor :reply_id
|
7860
|
+
|
7861
|
+
def initialize(**args)
|
7862
|
+
update!(**args)
|
7863
|
+
end
|
7864
|
+
|
7865
|
+
# Update properties of this object
|
7866
|
+
def update!(**args)
|
7867
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
7868
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
7869
|
+
end
|
7870
|
+
end
|
7871
|
+
|
7872
|
+
# Multi-modal content.
|
7873
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
7874
|
+
include Google::Apis::Core::Hashable
|
7875
|
+
|
7876
|
+
# Result of executing ExecutableCode.
|
7877
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
7878
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
7879
|
+
attr_accessor :code_execution_result
|
7880
|
+
|
7881
|
+
# Code generated by the model that is meant to be executed by the model.
|
7882
|
+
# Corresponds to the JSON property `executableCode`
|
7883
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
7884
|
+
attr_accessor :executable_code
|
7885
|
+
|
7886
|
+
# A file, e.g., an audio summary.
|
7887
|
+
# Corresponds to the JSON property `file`
|
7888
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
7889
|
+
attr_accessor :file
|
7890
|
+
|
7891
|
+
# Inline blob.
|
7892
|
+
# Corresponds to the JSON property `inlineData`
|
7893
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
7894
|
+
attr_accessor :inline_data
|
7895
|
+
|
7896
|
+
# The producer of the content. Can be "model" or "user".
|
7897
|
+
# Corresponds to the JSON property `role`
|
7898
|
+
# @return [String]
|
7899
|
+
attr_accessor :role
|
7900
|
+
|
7901
|
+
# Inline text.
|
7902
|
+
# Corresponds to the JSON property `text`
|
7903
|
+
# @return [String]
|
7904
|
+
attr_accessor :text
|
7905
|
+
|
7906
|
+
# Optional. Indicates if the part is thought from the model.
|
7907
|
+
# Corresponds to the JSON property `thought`
|
7908
|
+
# @return [Boolean]
|
7909
|
+
attr_accessor :thought
|
7910
|
+
alias_method :thought?, :thought
|
7911
|
+
|
7912
|
+
def initialize(**args)
|
7913
|
+
update!(**args)
|
7914
|
+
end
|
7915
|
+
|
7916
|
+
# Update properties of this object
|
7917
|
+
def update!(**args)
|
7918
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
7919
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
7920
|
+
@file = args[:file] if args.key?(:file)
|
7921
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
7922
|
+
@role = args[:role] if args.key?(:role)
|
7923
|
+
@text = args[:text] if args.key?(:text)
|
7924
|
+
@thought = args[:thought] if args.key?(:thought)
|
7925
|
+
end
|
7926
|
+
end
|
7927
|
+
|
7928
|
+
# Inline blob.
|
7929
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
7930
|
+
include Google::Apis::Core::Hashable
|
7931
|
+
|
7932
|
+
# Required. Raw bytes.
|
7933
|
+
# Corresponds to the JSON property `data`
|
7934
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
7935
|
+
# @return [String]
|
7936
|
+
attr_accessor :data
|
7937
|
+
|
7938
|
+
# Required. The media type (MIME type) of the generated data.
|
7939
|
+
# Corresponds to the JSON property `mimeType`
|
7940
|
+
# @return [String]
|
7941
|
+
attr_accessor :mime_type
|
7942
|
+
|
7943
|
+
def initialize(**args)
|
7944
|
+
update!(**args)
|
7945
|
+
end
|
7946
|
+
|
7947
|
+
# Update properties of this object
|
7948
|
+
def update!(**args)
|
7949
|
+
@data = args[:data] if args.key?(:data)
|
7950
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
7951
|
+
end
|
7952
|
+
end
|
7953
|
+
|
7954
|
+
# Result of executing ExecutableCode.
|
7955
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
7956
|
+
include Google::Apis::Core::Hashable
|
7957
|
+
|
7958
|
+
# Required. Outcome of the code execution.
|
7959
|
+
# Corresponds to the JSON property `outcome`
|
7960
|
+
# @return [String]
|
7961
|
+
attr_accessor :outcome
|
7962
|
+
|
7963
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
7964
|
+
# description otherwise.
|
7965
|
+
# Corresponds to the JSON property `output`
|
7966
|
+
# @return [String]
|
7967
|
+
attr_accessor :output
|
7968
|
+
|
7969
|
+
def initialize(**args)
|
7970
|
+
update!(**args)
|
7971
|
+
end
|
7972
|
+
|
7973
|
+
# Update properties of this object
|
7974
|
+
def update!(**args)
|
7975
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
7976
|
+
@output = args[:output] if args.key?(:output)
|
7977
|
+
end
|
7978
|
+
end
|
7979
|
+
|
7980
|
+
# Code generated by the model that is meant to be executed by the model.
|
7981
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
7982
|
+
include Google::Apis::Core::Hashable
|
7983
|
+
|
7984
|
+
# Required. The code content. Currently only supports Python.
|
7985
|
+
# Corresponds to the JSON property `code`
|
7986
|
+
# @return [String]
|
7987
|
+
attr_accessor :code
|
7988
|
+
|
7989
|
+
def initialize(**args)
|
7990
|
+
update!(**args)
|
7991
|
+
end
|
7992
|
+
|
7993
|
+
# Update properties of this object
|
7994
|
+
def update!(**args)
|
7995
|
+
@code = args[:code] if args.key?(:code)
|
7996
|
+
end
|
7997
|
+
end
|
7998
|
+
|
7999
|
+
# A file, e.g., an audio summary.
|
8000
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
8001
|
+
include Google::Apis::Core::Hashable
|
8002
|
+
|
8003
|
+
# Required. The file ID.
|
8004
|
+
# Corresponds to the JSON property `fileId`
|
8005
|
+
# @return [String]
|
8006
|
+
attr_accessor :file_id
|
8007
|
+
|
8008
|
+
# Required. The media type (MIME type) of the file.
|
8009
|
+
# Corresponds to the JSON property `mimeType`
|
8010
|
+
# @return [String]
|
8011
|
+
attr_accessor :mime_type
|
8012
|
+
|
8013
|
+
def initialize(**args)
|
8014
|
+
update!(**args)
|
8015
|
+
end
|
8016
|
+
|
8017
|
+
# Update properties of this object
|
8018
|
+
def update!(**args)
|
8019
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
8020
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8021
|
+
end
|
8022
|
+
end
|
8023
|
+
|
8024
|
+
# A piece of content and possibly its grounding information. Not all content
|
8025
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
8026
|
+
# not need grounding.
|
8027
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
8028
|
+
include Google::Apis::Core::Hashable
|
8029
|
+
|
8030
|
+
# Multi-modal content.
|
8031
|
+
# Corresponds to the JSON property `content`
|
8032
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
8033
|
+
attr_accessor :content
|
8034
|
+
|
8035
|
+
# Grounding details for text sources.
|
8036
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
8037
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
8038
|
+
attr_accessor :text_grounding_metadata
|
8039
|
+
|
8040
|
+
def initialize(**args)
|
8041
|
+
update!(**args)
|
8042
|
+
end
|
8043
|
+
|
8044
|
+
# Update properties of this object
|
8045
|
+
def update!(**args)
|
8046
|
+
@content = args[:content] if args.key?(:content)
|
8047
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
8048
|
+
end
|
8049
|
+
end
|
8050
|
+
|
8051
|
+
# Grounding details for text sources.
|
8052
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
8053
|
+
include Google::Apis::Core::Hashable
|
8054
|
+
|
8055
|
+
# References for the grounded text.
|
8056
|
+
# Corresponds to the JSON property `references`
|
8057
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
8058
|
+
attr_accessor :references
|
8059
|
+
|
8060
|
+
# Grounding information for parts of the text.
|
8061
|
+
# Corresponds to the JSON property `segments`
|
8062
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
8063
|
+
attr_accessor :segments
|
8064
|
+
|
8065
|
+
def initialize(**args)
|
8066
|
+
update!(**args)
|
8067
|
+
end
|
8068
|
+
|
8069
|
+
# Update properties of this object
|
8070
|
+
def update!(**args)
|
8071
|
+
@references = args[:references] if args.key?(:references)
|
8072
|
+
@segments = args[:segments] if args.key?(:segments)
|
8073
|
+
end
|
8074
|
+
end
|
8075
|
+
|
8076
|
+
# Referenced content and related document metadata.
|
8077
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
8078
|
+
include Google::Apis::Core::Hashable
|
8079
|
+
|
8080
|
+
# Referenced text content.
|
8081
|
+
# Corresponds to the JSON property `content`
|
8082
|
+
# @return [String]
|
8083
|
+
attr_accessor :content
|
8084
|
+
|
8085
|
+
# Document metadata.
|
8086
|
+
# Corresponds to the JSON property `documentMetadata`
|
8087
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
8088
|
+
attr_accessor :document_metadata
|
8089
|
+
|
8090
|
+
def initialize(**args)
|
8091
|
+
update!(**args)
|
8092
|
+
end
|
8093
|
+
|
8094
|
+
# Update properties of this object
|
8095
|
+
def update!(**args)
|
8096
|
+
@content = args[:content] if args.key?(:content)
|
8097
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
8098
|
+
end
|
8099
|
+
end
|
8100
|
+
|
8101
|
+
# Document metadata.
|
8102
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
8103
|
+
include Google::Apis::Core::Hashable
|
8104
|
+
|
8105
|
+
# Document resource name.
|
8106
|
+
# Corresponds to the JSON property `document`
|
8107
|
+
# @return [String]
|
8108
|
+
attr_accessor :document
|
8109
|
+
|
8110
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
8111
|
+
# that redirects to the actual website, in which case this will contain the
|
8112
|
+
# domain name of the target site.
|
8113
|
+
# Corresponds to the JSON property `domain`
|
8114
|
+
# @return [String]
|
8115
|
+
attr_accessor :domain
|
8116
|
+
|
8117
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
8118
|
+
# media-types.xhtml.
|
8119
|
+
# Corresponds to the JSON property `mimeType`
|
8120
|
+
# @return [String]
|
8121
|
+
attr_accessor :mime_type
|
7395
8122
|
|
7396
|
-
#
|
7397
|
-
# Corresponds to the JSON property `
|
8123
|
+
# Page identifier.
|
8124
|
+
# Corresponds to the JSON property `pageIdentifier`
|
7398
8125
|
# @return [String]
|
7399
|
-
attr_accessor :
|
8126
|
+
attr_accessor :page_identifier
|
7400
8127
|
|
7401
|
-
#
|
7402
|
-
# Corresponds to the JSON property `
|
8128
|
+
# Title.
|
8129
|
+
# Corresponds to the JSON property `title`
|
7403
8130
|
# @return [String]
|
7404
|
-
attr_accessor :
|
8131
|
+
attr_accessor :title
|
8132
|
+
|
8133
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
8134
|
+
# website.
|
8135
|
+
# Corresponds to the JSON property `uri`
|
8136
|
+
# @return [String]
|
8137
|
+
attr_accessor :uri
|
7405
8138
|
|
7406
8139
|
def initialize(**args)
|
7407
8140
|
update!(**args)
|
@@ -7409,19 +8142,45 @@ module Google
|
|
7409
8142
|
|
7410
8143
|
# Update properties of this object
|
7411
8144
|
def update!(**args)
|
7412
|
-
@
|
7413
|
-
@
|
8145
|
+
@document = args[:document] if args.key?(:document)
|
8146
|
+
@domain = args[:domain] if args.key?(:domain)
|
8147
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8148
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
8149
|
+
@title = args[:title] if args.key?(:title)
|
8150
|
+
@uri = args[:uri] if args.key?(:uri)
|
7414
8151
|
end
|
7415
8152
|
end
|
7416
8153
|
|
7417
|
-
#
|
7418
|
-
class
|
8154
|
+
# Grounding information for a segment of the text.
|
8155
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
7419
8156
|
include Google::Apis::Core::Hashable
|
7420
8157
|
|
7421
|
-
#
|
7422
|
-
# Corresponds to the JSON property `
|
8158
|
+
# End of the segment, exclusive.
|
8159
|
+
# Corresponds to the JSON property `endIndex`
|
8160
|
+
# @return [Fixnum]
|
8161
|
+
attr_accessor :end_index
|
8162
|
+
|
8163
|
+
# Score for the segment.
|
8164
|
+
# Corresponds to the JSON property `groundingScore`
|
8165
|
+
# @return [Float]
|
8166
|
+
attr_accessor :grounding_score
|
8167
|
+
|
8168
|
+
# References for the segment.
|
8169
|
+
# Corresponds to the JSON property `referenceIndices`
|
8170
|
+
# @return [Array<Fixnum>]
|
8171
|
+
attr_accessor :reference_indices
|
8172
|
+
|
8173
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
8174
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
8175
|
+
# than one).
|
8176
|
+
# Corresponds to the JSON property `startIndex`
|
8177
|
+
# @return [Fixnum]
|
8178
|
+
attr_accessor :start_index
|
8179
|
+
|
8180
|
+
# The text segment itself.
|
8181
|
+
# Corresponds to the JSON property `text`
|
7423
8182
|
# @return [String]
|
7424
|
-
attr_accessor :
|
8183
|
+
attr_accessor :text
|
7425
8184
|
|
7426
8185
|
def initialize(**args)
|
7427
8186
|
update!(**args)
|
@@ -7429,7 +8188,11 @@ module Google
|
|
7429
8188
|
|
7430
8189
|
# Update properties of this object
|
7431
8190
|
def update!(**args)
|
7432
|
-
@
|
8191
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
8192
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
8193
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
8194
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
8195
|
+
@text = args[:text] if args.key?(:text)
|
7433
8196
|
end
|
7434
8197
|
end
|
7435
8198
|
|
@@ -7972,6 +8735,27 @@ module Google
|
|
7972
8735
|
end
|
7973
8736
|
end
|
7974
8737
|
|
8738
|
+
# The contact info stored in resource level. If both project level and resource
|
8739
|
+
# level is populated, the resource level contact info will override the project
|
8740
|
+
# level contact info.
|
8741
|
+
class GoogleCloudDiscoveryengineV1alphaContactDetails
|
8742
|
+
include Google::Apis::Core::Hashable
|
8743
|
+
|
8744
|
+
# Optional. The email address of the contact.
|
8745
|
+
# Corresponds to the JSON property `emailAddress`
|
8746
|
+
# @return [String]
|
8747
|
+
attr_accessor :email_address
|
8748
|
+
|
8749
|
+
def initialize(**args)
|
8750
|
+
update!(**args)
|
8751
|
+
end
|
8752
|
+
|
8753
|
+
# Update properties of this object
|
8754
|
+
def update!(**args)
|
8755
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
8756
|
+
end
|
8757
|
+
end
|
8758
|
+
|
7975
8759
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
7976
8760
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
7977
8761
|
# `SolutionType`.
|
@@ -9036,8 +9820,7 @@ module Google
|
|
9036
9820
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
9037
9821
|
attr_accessor :cmek_config
|
9038
9822
|
|
9039
|
-
# Optional. Configuration for configurable billing approach. See
|
9040
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
9823
|
+
# Optional. Configuration for configurable billing approach. See
|
9041
9824
|
# Corresponds to the JSON property `configurableBillingApproach`
|
9042
9825
|
# @return [String]
|
9043
9826
|
attr_accessor :configurable_billing_approach
|
@@ -9935,8 +10718,7 @@ module Google
|
|
9935
10718
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
9936
10719
|
attr_accessor :common_config
|
9937
10720
|
|
9938
|
-
# Optional. Configuration for configurable billing approach.
|
9939
|
-
# repricing-billing-dd for more details.
|
10721
|
+
# Optional. Configuration for configurable billing approach.
|
9940
10722
|
# Corresponds to the JSON property `configurableBillingApproach`
|
9941
10723
|
# @return [String]
|
9942
10724
|
attr_accessor :configurable_billing_approach
|
@@ -9973,8 +10755,9 @@ module Google
|
|
9973
10755
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
9974
10756
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
9975
10757
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
9976
|
-
# personalization-memory` * `disable-
|
9977
|
-
# generation` * `disable-onedrive-upload`
|
10758
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
10759
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
10760
|
+
# content` * `disable-google-drive-upload`
|
9978
10761
|
# Corresponds to the JSON property `features`
|
9979
10762
|
# @return [Hash<String,String>]
|
9980
10763
|
attr_accessor :features
|
@@ -11447,6 +12230,99 @@ module Google
|
|
11447
12230
|
end
|
11448
12231
|
end
|
11449
12232
|
|
12233
|
+
# Information about users' licenses.
|
12234
|
+
class GoogleCloudDiscoveryengineV1alphaLicenseConfig
|
12235
|
+
include Google::Apis::Core::Hashable
|
12236
|
+
|
12237
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
12238
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
12239
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
12240
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
|
12241
|
+
attr_accessor :alert_policy_resource_config
|
12242
|
+
|
12243
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
12244
|
+
# the end date.
|
12245
|
+
# Corresponds to the JSON property `autoRenew`
|
12246
|
+
# @return [Boolean]
|
12247
|
+
attr_accessor :auto_renew
|
12248
|
+
alias_method :auto_renew?, :auto_renew
|
12249
|
+
|
12250
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
12251
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
12252
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
12253
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
12254
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
12255
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
12256
|
+
# example, a credit card expiration date). Related types: * google.type.
|
12257
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
12258
|
+
# Corresponds to the JSON property `endDate`
|
12259
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
12260
|
+
attr_accessor :end_date
|
12261
|
+
|
12262
|
+
# Optional. Whether the license config is for free trial.
|
12263
|
+
# Corresponds to the JSON property `freeTrial`
|
12264
|
+
# @return [Boolean]
|
12265
|
+
attr_accessor :free_trial
|
12266
|
+
alias_method :free_trial?, :free_trial
|
12267
|
+
|
12268
|
+
# Required. Number of licenses purchased.
|
12269
|
+
# Corresponds to the JSON property `licenseCount`
|
12270
|
+
# @return [Fixnum]
|
12271
|
+
attr_accessor :license_count
|
12272
|
+
|
12273
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
12274
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
12275
|
+
# license_config``
|
12276
|
+
# Corresponds to the JSON property `name`
|
12277
|
+
# @return [String]
|
12278
|
+
attr_accessor :name
|
12279
|
+
|
12280
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
12281
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
12282
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
12283
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
12284
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
12285
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
12286
|
+
# example, a credit card expiration date). Related types: * google.type.
|
12287
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
12288
|
+
# Corresponds to the JSON property `startDate`
|
12289
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
12290
|
+
attr_accessor :start_date
|
12291
|
+
|
12292
|
+
# Output only. The state of the license config.
|
12293
|
+
# Corresponds to the JSON property `state`
|
12294
|
+
# @return [String]
|
12295
|
+
attr_accessor :state
|
12296
|
+
|
12297
|
+
# Required. Subscription term.
|
12298
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
12299
|
+
# @return [String]
|
12300
|
+
attr_accessor :subscription_term
|
12301
|
+
|
12302
|
+
# Required. Subscription tier information for the license config.
|
12303
|
+
# Corresponds to the JSON property `subscriptionTier`
|
12304
|
+
# @return [String]
|
12305
|
+
attr_accessor :subscription_tier
|
12306
|
+
|
12307
|
+
def initialize(**args)
|
12308
|
+
update!(**args)
|
12309
|
+
end
|
12310
|
+
|
12311
|
+
# Update properties of this object
|
12312
|
+
def update!(**args)
|
12313
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
12314
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
12315
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
12316
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
12317
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
12318
|
+
@name = args[:name] if args.key?(:name)
|
12319
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
12320
|
+
@state = args[:state] if args.key?(:state)
|
12321
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
12322
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
12323
|
+
end
|
12324
|
+
end
|
12325
|
+
|
11450
12326
|
# Request for ListSessions method.
|
11451
12327
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
11452
12328
|
include Google::Apis::Core::Hashable
|
@@ -14034,6 +14910,11 @@ module Google
|
|
14034
14910
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer]
|
14035
14911
|
attr_accessor :detailed_answer
|
14036
14912
|
|
14913
|
+
# AssistAnswer resource, main part of AssistResponse.
|
14914
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
14915
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
14916
|
+
attr_accessor :detailed_assist_answer
|
14917
|
+
|
14037
14918
|
# Defines a user inputed query.
|
14038
14919
|
# Corresponds to the JSON property `query`
|
14039
14920
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery]
|
@@ -14054,6 +14935,7 @@ module Google
|
|
14054
14935
|
def update!(**args)
|
14055
14936
|
@answer = args[:answer] if args.key?(:answer)
|
14056
14937
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
14938
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
14057
14939
|
@query = args[:query] if args.key?(:query)
|
14058
14940
|
@query_config = args[:query_config] if args.key?(:query_config)
|
14059
14941
|
end
|
@@ -15261,6 +16143,77 @@ module Google
|
|
15261
16143
|
end
|
15262
16144
|
end
|
15263
16145
|
|
16146
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
16147
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
16148
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig
|
16149
|
+
include Google::Apis::Core::Hashable
|
16150
|
+
|
16151
|
+
# Optional. The enrollment state of each alert.
|
16152
|
+
# Corresponds to the JSON property `alertEnrollments`
|
16153
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment>]
|
16154
|
+
attr_accessor :alert_enrollments
|
16155
|
+
|
16156
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
16157
|
+
# Corresponds to the JSON property `alertPolicy`
|
16158
|
+
# @return [String]
|
16159
|
+
attr_accessor :alert_policy
|
16160
|
+
|
16161
|
+
# Optional. The contact details for each alert policy.
|
16162
|
+
# Corresponds to the JSON property `contactDetails`
|
16163
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaContactDetails>]
|
16164
|
+
attr_accessor :contact_details
|
16165
|
+
|
16166
|
+
# Optional. The language code used for notifications
|
16167
|
+
# Corresponds to the JSON property `languageCode`
|
16168
|
+
# @return [String]
|
16169
|
+
attr_accessor :language_code
|
16170
|
+
|
16171
|
+
def initialize(**args)
|
16172
|
+
update!(**args)
|
16173
|
+
end
|
16174
|
+
|
16175
|
+
# Update properties of this object
|
16176
|
+
def update!(**args)
|
16177
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
16178
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
16179
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
16180
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
16181
|
+
end
|
16182
|
+
end
|
16183
|
+
|
16184
|
+
# The alert enrollment status.
|
16185
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment
|
16186
|
+
include Google::Apis::Core::Hashable
|
16187
|
+
|
16188
|
+
# Immutable. The id of an alert.
|
16189
|
+
# Corresponds to the JSON property `alertId`
|
16190
|
+
# @return [String]
|
16191
|
+
attr_accessor :alert_id
|
16192
|
+
|
16193
|
+
# Required. The enrollment status of a customer.
|
16194
|
+
# Corresponds to the JSON property `enrollState`
|
16195
|
+
# @return [String]
|
16196
|
+
attr_accessor :enroll_state
|
16197
|
+
|
16198
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
16199
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
16200
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
16201
|
+
# Corresponds to the JSON property `notificationParams`
|
16202
|
+
# @return [Hash<String,String>]
|
16203
|
+
attr_accessor :notification_params
|
16204
|
+
|
16205
|
+
def initialize(**args)
|
16206
|
+
update!(**args)
|
16207
|
+
end
|
16208
|
+
|
16209
|
+
# Update properties of this object
|
16210
|
+
def update!(**args)
|
16211
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
16212
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
16213
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
16214
|
+
end
|
16215
|
+
end
|
16216
|
+
|
15264
16217
|
# AlloyDB source import data from.
|
15265
16218
|
class GoogleCloudDiscoveryengineV1betaAlloyDbSource
|
15266
16219
|
include Google::Apis::Core::Hashable
|
@@ -19165,6 +20118,27 @@ module Google
|
|
19165
20118
|
end
|
19166
20119
|
end
|
19167
20120
|
|
20121
|
+
# The contact info stored in resource level. If both project level and resource
|
20122
|
+
# level is populated, the resource level contact info will override the project
|
20123
|
+
# level contact info.
|
20124
|
+
class GoogleCloudDiscoveryengineV1betaContactDetails
|
20125
|
+
include Google::Apis::Core::Hashable
|
20126
|
+
|
20127
|
+
# Optional. The email address of the contact.
|
20128
|
+
# Corresponds to the JSON property `emailAddress`
|
20129
|
+
# @return [String]
|
20130
|
+
attr_accessor :email_address
|
20131
|
+
|
20132
|
+
def initialize(**args)
|
20133
|
+
update!(**args)
|
20134
|
+
end
|
20135
|
+
|
20136
|
+
# Update properties of this object
|
20137
|
+
def update!(**args)
|
20138
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
20139
|
+
end
|
20140
|
+
end
|
20141
|
+
|
19168
20142
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
19169
20143
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
19170
20144
|
# `SolutionType`.
|
@@ -20049,8 +21023,7 @@ module Google
|
|
20049
21023
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
20050
21024
|
attr_accessor :cmek_config
|
20051
21025
|
|
20052
|
-
# Optional. Configuration for configurable billing approach. See
|
20053
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
21026
|
+
# Optional. Configuration for configurable billing approach. See
|
20054
21027
|
# Corresponds to the JSON property `configurableBillingApproach`
|
20055
21028
|
# @return [String]
|
20056
21029
|
attr_accessor :configurable_billing_approach
|
@@ -21159,8 +22132,7 @@ module Google
|
|
21159
22132
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
21160
22133
|
attr_accessor :common_config
|
21161
22134
|
|
21162
|
-
# Optional. Configuration for configurable billing approach.
|
21163
|
-
# repricing-billing-dd for more details.
|
22135
|
+
# Optional. Configuration for configurable billing approach.
|
21164
22136
|
# Corresponds to the JSON property `configurableBillingApproach`
|
21165
22137
|
# @return [String]
|
21166
22138
|
attr_accessor :configurable_billing_approach
|
@@ -21197,8 +22169,9 @@ module Google
|
|
21197
22169
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
21198
22170
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
21199
22171
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
21200
|
-
# personalization-memory` * `disable-
|
21201
|
-
# generation` * `disable-onedrive-upload`
|
22172
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
22173
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
22174
|
+
# content` * `disable-google-drive-upload`
|
21202
22175
|
# Corresponds to the JSON property `features`
|
21203
22176
|
# @return [Hash<String,String>]
|
21204
22177
|
attr_accessor :features
|
@@ -23030,6 +24003,99 @@ module Google
|
|
23030
24003
|
end
|
23031
24004
|
end
|
23032
24005
|
|
24006
|
+
# Information about users' licenses.
|
24007
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfig
|
24008
|
+
include Google::Apis::Core::Hashable
|
24009
|
+
|
24010
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
24011
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
24012
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
24013
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig]
|
24014
|
+
attr_accessor :alert_policy_resource_config
|
24015
|
+
|
24016
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
24017
|
+
# the end date.
|
24018
|
+
# Corresponds to the JSON property `autoRenew`
|
24019
|
+
# @return [Boolean]
|
24020
|
+
attr_accessor :auto_renew
|
24021
|
+
alias_method :auto_renew?, :auto_renew
|
24022
|
+
|
24023
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
24024
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24025
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
24026
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
24027
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
24028
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
24029
|
+
# example, a credit card expiration date). Related types: * google.type.
|
24030
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
24031
|
+
# Corresponds to the JSON property `endDate`
|
24032
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
24033
|
+
attr_accessor :end_date
|
24034
|
+
|
24035
|
+
# Optional. Whether the license config is for free trial.
|
24036
|
+
# Corresponds to the JSON property `freeTrial`
|
24037
|
+
# @return [Boolean]
|
24038
|
+
attr_accessor :free_trial
|
24039
|
+
alias_method :free_trial?, :free_trial
|
24040
|
+
|
24041
|
+
# Required. Number of licenses purchased.
|
24042
|
+
# Corresponds to the JSON property `licenseCount`
|
24043
|
+
# @return [Fixnum]
|
24044
|
+
attr_accessor :license_count
|
24045
|
+
|
24046
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
24047
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
24048
|
+
# license_config``
|
24049
|
+
# Corresponds to the JSON property `name`
|
24050
|
+
# @return [String]
|
24051
|
+
attr_accessor :name
|
24052
|
+
|
24053
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
24054
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24055
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
24056
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
24057
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
24058
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
24059
|
+
# example, a credit card expiration date). Related types: * google.type.
|
24060
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
24061
|
+
# Corresponds to the JSON property `startDate`
|
24062
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
24063
|
+
attr_accessor :start_date
|
24064
|
+
|
24065
|
+
# Output only. The state of the license config.
|
24066
|
+
# Corresponds to the JSON property `state`
|
24067
|
+
# @return [String]
|
24068
|
+
attr_accessor :state
|
24069
|
+
|
24070
|
+
# Required. Subscription term.
|
24071
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
24072
|
+
# @return [String]
|
24073
|
+
attr_accessor :subscription_term
|
24074
|
+
|
24075
|
+
# Required. Subscription tier information for the license config.
|
24076
|
+
# Corresponds to the JSON property `subscriptionTier`
|
24077
|
+
# @return [String]
|
24078
|
+
attr_accessor :subscription_tier
|
24079
|
+
|
24080
|
+
def initialize(**args)
|
24081
|
+
update!(**args)
|
24082
|
+
end
|
24083
|
+
|
24084
|
+
# Update properties of this object
|
24085
|
+
def update!(**args)
|
24086
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
24087
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
24088
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
24089
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
24090
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
24091
|
+
@name = args[:name] if args.key?(:name)
|
24092
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
24093
|
+
@state = args[:state] if args.key?(:state)
|
24094
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
24095
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
24096
|
+
end
|
24097
|
+
end
|
24098
|
+
|
23033
24099
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
23034
24100
|
class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
|
23035
24101
|
include Google::Apis::Core::Hashable
|
@@ -28200,6 +29266,11 @@ module Google
|
|
28200
29266
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer]
|
28201
29267
|
attr_accessor :detailed_answer
|
28202
29268
|
|
29269
|
+
# AssistAnswer resource, main part of AssistResponse.
|
29270
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
29271
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer]
|
29272
|
+
attr_accessor :detailed_assist_answer
|
29273
|
+
|
28203
29274
|
# Defines a user inputed query.
|
28204
29275
|
# Corresponds to the JSON property `query`
|
28205
29276
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
|
@@ -28220,6 +29291,7 @@ module Google
|
|
28220
29291
|
def update!(**args)
|
28221
29292
|
@answer = args[:answer] if args.key?(:answer)
|
28222
29293
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
29294
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
28223
29295
|
@query = args[:query] if args.key?(:query)
|
28224
29296
|
@query_config = args[:query_config] if args.key?(:query_config)
|
28225
29297
|
end
|