google-apis-discoveryengine_v1 0.53.0 → 0.54.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_v1/classes.rb +1128 -56
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +470 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +114 -0
- metadata +2 -2
@@ -1991,6 +1991,77 @@ module Google
|
|
1991
1991
|
end
|
1992
1992
|
end
|
1993
1993
|
|
1994
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
1995
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
1996
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig
|
1997
|
+
include Google::Apis::Core::Hashable
|
1998
|
+
|
1999
|
+
# Optional. The enrollment state of each alert.
|
2000
|
+
# Corresponds to the JSON property `alertEnrollments`
|
2001
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment>]
|
2002
|
+
attr_accessor :alert_enrollments
|
2003
|
+
|
2004
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
2005
|
+
# Corresponds to the JSON property `alertPolicy`
|
2006
|
+
# @return [String]
|
2007
|
+
attr_accessor :alert_policy
|
2008
|
+
|
2009
|
+
# Optional. The contact details for each alert policy.
|
2010
|
+
# Corresponds to the JSON property `contactDetails`
|
2011
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ContactDetails>]
|
2012
|
+
attr_accessor :contact_details
|
2013
|
+
|
2014
|
+
# Optional. The language code used for notifications
|
2015
|
+
# Corresponds to the JSON property `languageCode`
|
2016
|
+
# @return [String]
|
2017
|
+
attr_accessor :language_code
|
2018
|
+
|
2019
|
+
def initialize(**args)
|
2020
|
+
update!(**args)
|
2021
|
+
end
|
2022
|
+
|
2023
|
+
# Update properties of this object
|
2024
|
+
def update!(**args)
|
2025
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
2026
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
2027
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
2028
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2029
|
+
end
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
# The alert enrollment status.
|
2033
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment
|
2034
|
+
include Google::Apis::Core::Hashable
|
2035
|
+
|
2036
|
+
# Immutable. The id of an alert.
|
2037
|
+
# Corresponds to the JSON property `alertId`
|
2038
|
+
# @return [String]
|
2039
|
+
attr_accessor :alert_id
|
2040
|
+
|
2041
|
+
# Required. The enrollment status of a customer.
|
2042
|
+
# Corresponds to the JSON property `enrollState`
|
2043
|
+
# @return [String]
|
2044
|
+
attr_accessor :enroll_state
|
2045
|
+
|
2046
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
2047
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
2048
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
2049
|
+
# Corresponds to the JSON property `notificationParams`
|
2050
|
+
# @return [Hash<String,String>]
|
2051
|
+
attr_accessor :notification_params
|
2052
|
+
|
2053
|
+
def initialize(**args)
|
2054
|
+
update!(**args)
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# Update properties of this object
|
2058
|
+
def update!(**args)
|
2059
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
2060
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
2061
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
2062
|
+
end
|
2063
|
+
end
|
2064
|
+
|
1994
2065
|
# AlloyDB source import data from.
|
1995
2066
|
class GoogleCloudDiscoveryengineV1AlloyDbSource
|
1996
2067
|
include Google::Apis::Core::Hashable
|
@@ -5853,6 +5924,27 @@ module Google
|
|
5853
5924
|
end
|
5854
5925
|
end
|
5855
5926
|
|
5927
|
+
# The contact info stored in resource level. If both project level and resource
|
5928
|
+
# level is populated, the resource level contact info will override the project
|
5929
|
+
# level contact info.
|
5930
|
+
class GoogleCloudDiscoveryengineV1ContactDetails
|
5931
|
+
include Google::Apis::Core::Hashable
|
5932
|
+
|
5933
|
+
# Optional. The email address of the contact.
|
5934
|
+
# Corresponds to the JSON property `emailAddress`
|
5935
|
+
# @return [String]
|
5936
|
+
attr_accessor :email_address
|
5937
|
+
|
5938
|
+
def initialize(**args)
|
5939
|
+
update!(**args)
|
5940
|
+
end
|
5941
|
+
|
5942
|
+
# Update properties of this object
|
5943
|
+
def update!(**args)
|
5944
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
5945
|
+
end
|
5946
|
+
end
|
5947
|
+
|
5856
5948
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
5857
5949
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
5858
5950
|
# `SolutionType`.
|
@@ -7213,8 +7305,7 @@ module Google
|
|
7213
7305
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
|
7214
7306
|
attr_accessor :cmek_config
|
7215
7307
|
|
7216
|
-
# Optional. Configuration for configurable billing approach. See
|
7217
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
7308
|
+
# Optional. Configuration for configurable billing approach. See
|
7218
7309
|
# Corresponds to the JSON property `configurableBillingApproach`
|
7219
7310
|
# @return [String]
|
7220
7311
|
attr_accessor :configurable_billing_approach
|
@@ -8372,8 +8463,7 @@ module Google
|
|
8372
8463
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
8373
8464
|
attr_accessor :common_config
|
8374
8465
|
|
8375
|
-
# Optional. Configuration for configurable billing approach.
|
8376
|
-
# repricing-billing-dd for more details.
|
8466
|
+
# Optional. Configuration for configurable billing approach.
|
8377
8467
|
# Corresponds to the JSON property `configurableBillingApproach`
|
8378
8468
|
# @return [String]
|
8379
8469
|
attr_accessor :configurable_billing_approach
|
@@ -8410,8 +8500,9 @@ module Google
|
|
8410
8500
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
8411
8501
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
8412
8502
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
8413
|
-
# personalization-memory` * `disable-
|
8414
|
-
# generation` * `disable-onedrive-upload`
|
8503
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
8504
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
8505
|
+
# content` * `disable-google-drive-upload`
|
8415
8506
|
# Corresponds to the JSON property `features`
|
8416
8507
|
# @return [Hash<String,String>]
|
8417
8508
|
attr_accessor :features
|
@@ -10000,6 +10091,99 @@ module Google
|
|
10000
10091
|
end
|
10001
10092
|
end
|
10002
10093
|
|
10094
|
+
# Information about users' licenses.
|
10095
|
+
class GoogleCloudDiscoveryengineV1LicenseConfig
|
10096
|
+
include Google::Apis::Core::Hashable
|
10097
|
+
|
10098
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
10099
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
10100
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
10101
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig]
|
10102
|
+
attr_accessor :alert_policy_resource_config
|
10103
|
+
|
10104
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
10105
|
+
# the end date.
|
10106
|
+
# Corresponds to the JSON property `autoRenew`
|
10107
|
+
# @return [Boolean]
|
10108
|
+
attr_accessor :auto_renew
|
10109
|
+
alias_method :auto_renew?, :auto_renew
|
10110
|
+
|
10111
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
10112
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
10113
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
10114
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
10115
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
10116
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
10117
|
+
# example, a credit card expiration date). Related types: * google.type.
|
10118
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
10119
|
+
# Corresponds to the JSON property `endDate`
|
10120
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
10121
|
+
attr_accessor :end_date
|
10122
|
+
|
10123
|
+
# Optional. Whether the license config is for free trial.
|
10124
|
+
# Corresponds to the JSON property `freeTrial`
|
10125
|
+
# @return [Boolean]
|
10126
|
+
attr_accessor :free_trial
|
10127
|
+
alias_method :free_trial?, :free_trial
|
10128
|
+
|
10129
|
+
# Required. Number of licenses purchased.
|
10130
|
+
# Corresponds to the JSON property `licenseCount`
|
10131
|
+
# @return [Fixnum]
|
10132
|
+
attr_accessor :license_count
|
10133
|
+
|
10134
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
10135
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
10136
|
+
# license_config``
|
10137
|
+
# Corresponds to the JSON property `name`
|
10138
|
+
# @return [String]
|
10139
|
+
attr_accessor :name
|
10140
|
+
|
10141
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
10142
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
10143
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
10144
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
10145
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
10146
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
10147
|
+
# example, a credit card expiration date). Related types: * google.type.
|
10148
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
10149
|
+
# Corresponds to the JSON property `startDate`
|
10150
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
10151
|
+
attr_accessor :start_date
|
10152
|
+
|
10153
|
+
# Output only. The state of the license config.
|
10154
|
+
# Corresponds to the JSON property `state`
|
10155
|
+
# @return [String]
|
10156
|
+
attr_accessor :state
|
10157
|
+
|
10158
|
+
# Required. Subscription term.
|
10159
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
10160
|
+
# @return [String]
|
10161
|
+
attr_accessor :subscription_term
|
10162
|
+
|
10163
|
+
# Required. Subscription tier information for the license config.
|
10164
|
+
# Corresponds to the JSON property `subscriptionTier`
|
10165
|
+
# @return [String]
|
10166
|
+
attr_accessor :subscription_tier
|
10167
|
+
|
10168
|
+
def initialize(**args)
|
10169
|
+
update!(**args)
|
10170
|
+
end
|
10171
|
+
|
10172
|
+
# Update properties of this object
|
10173
|
+
def update!(**args)
|
10174
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
10175
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
10176
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
10177
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
10178
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
10179
|
+
@name = args[:name] if args.key?(:name)
|
10180
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
10181
|
+
@state = args[:state] if args.key?(:state)
|
10182
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
10183
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
10184
|
+
end
|
10185
|
+
end
|
10186
|
+
|
10003
10187
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
10004
10188
|
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
10005
10189
|
include Google::Apis::Core::Hashable
|
@@ -13862,6 +14046,11 @@ module Google
|
|
13862
14046
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Answer]
|
13863
14047
|
attr_accessor :detailed_answer
|
13864
14048
|
|
14049
|
+
# AssistAnswer resource, main part of AssistResponse.
|
14050
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
14051
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswer]
|
14052
|
+
attr_accessor :detailed_assist_answer
|
14053
|
+
|
13865
14054
|
# Defines a user inputed query.
|
13866
14055
|
# Corresponds to the JSON property `query`
|
13867
14056
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query]
|
@@ -13882,6 +14071,7 @@ module Google
|
|
13882
14071
|
def update!(**args)
|
13883
14072
|
@answer = args[:answer] if args.key?(:answer)
|
13884
14073
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
14074
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
13885
14075
|
@query = args[:query] if args.key?(:query)
|
13886
14076
|
@query_config = args[:query_config] if args.key?(:query_config)
|
13887
14077
|
end
|
@@ -15372,6 +15562,77 @@ module Google
|
|
15372
15562
|
end
|
15373
15563
|
end
|
15374
15564
|
|
15565
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
15566
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
15567
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
|
15568
|
+
include Google::Apis::Core::Hashable
|
15569
|
+
|
15570
|
+
# Optional. The enrollment state of each alert.
|
15571
|
+
# Corresponds to the JSON property `alertEnrollments`
|
15572
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
|
15573
|
+
attr_accessor :alert_enrollments
|
15574
|
+
|
15575
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
15576
|
+
# Corresponds to the JSON property `alertPolicy`
|
15577
|
+
# @return [String]
|
15578
|
+
attr_accessor :alert_policy
|
15579
|
+
|
15580
|
+
# Optional. The contact details for each alert policy.
|
15581
|
+
# Corresponds to the JSON property `contactDetails`
|
15582
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaContactDetails>]
|
15583
|
+
attr_accessor :contact_details
|
15584
|
+
|
15585
|
+
# Optional. The language code used for notifications
|
15586
|
+
# Corresponds to the JSON property `languageCode`
|
15587
|
+
# @return [String]
|
15588
|
+
attr_accessor :language_code
|
15589
|
+
|
15590
|
+
def initialize(**args)
|
15591
|
+
update!(**args)
|
15592
|
+
end
|
15593
|
+
|
15594
|
+
# Update properties of this object
|
15595
|
+
def update!(**args)
|
15596
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
15597
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
15598
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
15599
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
15600
|
+
end
|
15601
|
+
end
|
15602
|
+
|
15603
|
+
# The alert enrollment status.
|
15604
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
|
15605
|
+
include Google::Apis::Core::Hashable
|
15606
|
+
|
15607
|
+
# Immutable. The id of an alert.
|
15608
|
+
# Corresponds to the JSON property `alertId`
|
15609
|
+
# @return [String]
|
15610
|
+
attr_accessor :alert_id
|
15611
|
+
|
15612
|
+
# Required. The enrollment status of a customer.
|
15613
|
+
# Corresponds to the JSON property `enrollState`
|
15614
|
+
# @return [String]
|
15615
|
+
attr_accessor :enroll_state
|
15616
|
+
|
15617
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
15618
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
15619
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
15620
|
+
# Corresponds to the JSON property `notificationParams`
|
15621
|
+
# @return [Hash<String,String>]
|
15622
|
+
attr_accessor :notification_params
|
15623
|
+
|
15624
|
+
def initialize(**args)
|
15625
|
+
update!(**args)
|
15626
|
+
end
|
15627
|
+
|
15628
|
+
# Update properties of this object
|
15629
|
+
def update!(**args)
|
15630
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
15631
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
15632
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
15633
|
+
end
|
15634
|
+
end
|
15635
|
+
|
15375
15636
|
# Defines an answer.
|
15376
15637
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
15377
15638
|
include Google::Apis::Core::Hashable
|
@@ -16131,19 +16392,38 @@ module Google
|
|
16131
16392
|
end
|
16132
16393
|
end
|
16133
16394
|
|
16134
|
-
#
|
16135
|
-
class
|
16395
|
+
# AssistAnswer resource, main part of AssistResponse.
|
16396
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
16136
16397
|
include Google::Apis::Core::Hashable
|
16137
16398
|
|
16138
|
-
#
|
16139
|
-
# Corresponds to the JSON property `
|
16399
|
+
# Reasons for not answering the assist call.
|
16400
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
16140
16401
|
# @return [Array<String>]
|
16141
|
-
attr_accessor :
|
16402
|
+
attr_accessor :assist_skipped_reasons
|
16142
16403
|
|
16143
|
-
#
|
16144
|
-
#
|
16145
|
-
#
|
16146
|
-
|
16404
|
+
# Customer policy enforcement results. Contains the results of the various
|
16405
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
16406
|
+
# Corresponds to the JSON property `customerPolicyEnforcementResult`
|
16407
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
|
16408
|
+
attr_accessor :customer_policy_enforcement_result
|
16409
|
+
|
16410
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
16411
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
16412
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
16413
|
+
# encoded string with a length limit of 1024 characters.
|
16414
|
+
# Corresponds to the JSON property `name`
|
16415
|
+
# @return [String]
|
16416
|
+
attr_accessor :name
|
16417
|
+
|
16418
|
+
# Replies of the assistant.
|
16419
|
+
# Corresponds to the JSON property `replies`
|
16420
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
16421
|
+
attr_accessor :replies
|
16422
|
+
|
16423
|
+
# State of the answer generation.
|
16424
|
+
# Corresponds to the JSON property `state`
|
16425
|
+
# @return [String]
|
16426
|
+
attr_accessor :state
|
16147
16427
|
|
16148
16428
|
def initialize(**args)
|
16149
16429
|
update!(**args)
|
@@ -16151,27 +16431,31 @@ module Google
|
|
16151
16431
|
|
16152
16432
|
# Update properties of this object
|
16153
16433
|
def update!(**args)
|
16154
|
-
@
|
16155
|
-
@
|
16434
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
16435
|
+
@customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
|
16436
|
+
@name = args[:name] if args.key?(:name)
|
16437
|
+
@replies = args[:replies] if args.key?(:replies)
|
16438
|
+
@state = args[:state] if args.key?(:state)
|
16156
16439
|
end
|
16157
16440
|
end
|
16158
16441
|
|
16159
|
-
#
|
16160
|
-
#
|
16161
|
-
|
16162
|
-
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
|
16442
|
+
# Customer policy enforcement results. Contains the results of the various
|
16443
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
16444
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
|
16163
16445
|
include Google::Apis::Core::Hashable
|
16164
16446
|
|
16165
|
-
#
|
16166
|
-
#
|
16167
|
-
#
|
16168
|
-
|
16447
|
+
# Customer policy enforcement results. Populated only if the assist call was
|
16448
|
+
# skipped due to a policy violation. It contains results from those filters that
|
16449
|
+
# blocked the processing of the query.
|
16450
|
+
# Corresponds to the JSON property `policyResults`
|
16451
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
|
16452
|
+
attr_accessor :policy_results
|
16169
16453
|
|
16170
|
-
#
|
16171
|
-
#
|
16172
|
-
# Corresponds to the JSON property `
|
16454
|
+
# Final verdict of the customer policy enforcement. If only one policy blocked
|
16455
|
+
# the processing, the verdict is BLOCK.
|
16456
|
+
# Corresponds to the JSON property `verdict`
|
16173
16457
|
# @return [String]
|
16174
|
-
attr_accessor :
|
16458
|
+
attr_accessor :verdict
|
16175
16459
|
|
16176
16460
|
def initialize(**args)
|
16177
16461
|
update!(**args)
|
@@ -16179,19 +16463,19 @@ module Google
|
|
16179
16463
|
|
16180
16464
|
# Update properties of this object
|
16181
16465
|
def update!(**args)
|
16182
|
-
@
|
16183
|
-
@
|
16466
|
+
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
16467
|
+
@verdict = args[:verdict] if args.key?(:verdict)
|
16184
16468
|
end
|
16185
16469
|
end
|
16186
16470
|
|
16187
|
-
#
|
16188
|
-
class
|
16471
|
+
# Customer policy enforcement result for the banned phrase policy.
|
16472
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
|
16189
16473
|
include Google::Apis::Core::Hashable
|
16190
16474
|
|
16191
|
-
#
|
16192
|
-
# Corresponds to the JSON property `
|
16193
|
-
# @return [Array<
|
16194
|
-
attr_accessor :
|
16475
|
+
# The banned phrases that were found in the query or the answer.
|
16476
|
+
# Corresponds to the JSON property `bannedPhrases`
|
16477
|
+
# @return [Array<String>]
|
16478
|
+
attr_accessor :banned_phrases
|
16195
16479
|
|
16196
16480
|
def initialize(**args)
|
16197
16481
|
update!(**args)
|
@@ -16199,18 +16483,503 @@ module Google
|
|
16199
16483
|
|
16200
16484
|
# Update properties of this object
|
16201
16485
|
def update!(**args)
|
16202
|
-
@
|
16486
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
16203
16487
|
end
|
16204
16488
|
end
|
16205
16489
|
|
16206
|
-
#
|
16207
|
-
|
16208
|
-
# longrunning.Operation.metadata field.
|
16209
|
-
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
16490
|
+
# Customer policy enforcement result for the Model Armor policy.
|
16491
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
|
16210
16492
|
include Google::Apis::Core::Hashable
|
16211
16493
|
|
16212
|
-
#
|
16213
|
-
#
|
16494
|
+
# The `Status` type defines a logical error model that is suitable for different
|
16495
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
16496
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
16497
|
+
# data: error code, error message, and error details. You can find out more
|
16498
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
16499
|
+
# //cloud.google.com/apis/design/errors).
|
16500
|
+
# Corresponds to the JSON property `error`
|
16501
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
|
16502
|
+
attr_accessor :error
|
16503
|
+
|
16504
|
+
# The Model Armor violation that was found.
|
16505
|
+
# Corresponds to the JSON property `modelArmorViolation`
|
16506
|
+
# @return [String]
|
16507
|
+
attr_accessor :model_armor_violation
|
16508
|
+
|
16509
|
+
def initialize(**args)
|
16510
|
+
update!(**args)
|
16511
|
+
end
|
16512
|
+
|
16513
|
+
# Update properties of this object
|
16514
|
+
def update!(**args)
|
16515
|
+
@error = args[:error] if args.key?(:error)
|
16516
|
+
@model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
|
16517
|
+
end
|
16518
|
+
end
|
16519
|
+
|
16520
|
+
# Customer policy enforcement result for a single policy type.
|
16521
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
|
16522
|
+
include Google::Apis::Core::Hashable
|
16523
|
+
|
16524
|
+
# Customer policy enforcement result for the banned phrase policy.
|
16525
|
+
# Corresponds to the JSON property `bannedPhraseEnforcementResult`
|
16526
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
|
16527
|
+
attr_accessor :banned_phrase_enforcement_result
|
16528
|
+
|
16529
|
+
# Customer policy enforcement result for the Model Armor policy.
|
16530
|
+
# Corresponds to the JSON property `modelArmorEnforcementResult`
|
16531
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
|
16532
|
+
attr_accessor :model_armor_enforcement_result
|
16533
|
+
|
16534
|
+
def initialize(**args)
|
16535
|
+
update!(**args)
|
16536
|
+
end
|
16537
|
+
|
16538
|
+
# Update properties of this object
|
16539
|
+
def update!(**args)
|
16540
|
+
@banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
|
16541
|
+
@model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
|
16542
|
+
end
|
16543
|
+
end
|
16544
|
+
|
16545
|
+
# One part of the multi-part response of the assist call.
|
16546
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
16547
|
+
include Google::Apis::Core::Hashable
|
16548
|
+
|
16549
|
+
# A piece of content and possibly its grounding information. Not all content
|
16550
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
16551
|
+
# not need grounding.
|
16552
|
+
# Corresponds to the JSON property `groundedContent`
|
16553
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
16554
|
+
attr_accessor :grounded_content
|
16555
|
+
|
16556
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
16557
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
16558
|
+
# messages with the same ID can occur within the response stream (across
|
16559
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
16560
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
16561
|
+
# Corresponds to the JSON property `replyId`
|
16562
|
+
# @return [String]
|
16563
|
+
attr_accessor :reply_id
|
16564
|
+
|
16565
|
+
def initialize(**args)
|
16566
|
+
update!(**args)
|
16567
|
+
end
|
16568
|
+
|
16569
|
+
# Update properties of this object
|
16570
|
+
def update!(**args)
|
16571
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
16572
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
16573
|
+
end
|
16574
|
+
end
|
16575
|
+
|
16576
|
+
# Multi-modal content.
|
16577
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
16578
|
+
include Google::Apis::Core::Hashable
|
16579
|
+
|
16580
|
+
# Result of executing ExecutableCode.
|
16581
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
16582
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
16583
|
+
attr_accessor :code_execution_result
|
16584
|
+
|
16585
|
+
# Code generated by the model that is meant to be executed by the model.
|
16586
|
+
# Corresponds to the JSON property `executableCode`
|
16587
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
16588
|
+
attr_accessor :executable_code
|
16589
|
+
|
16590
|
+
# A file, e.g., an audio summary.
|
16591
|
+
# Corresponds to the JSON property `file`
|
16592
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
16593
|
+
attr_accessor :file
|
16594
|
+
|
16595
|
+
# Inline blob.
|
16596
|
+
# Corresponds to the JSON property `inlineData`
|
16597
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
16598
|
+
attr_accessor :inline_data
|
16599
|
+
|
16600
|
+
# The producer of the content. Can be "model" or "user".
|
16601
|
+
# Corresponds to the JSON property `role`
|
16602
|
+
# @return [String]
|
16603
|
+
attr_accessor :role
|
16604
|
+
|
16605
|
+
# Inline text.
|
16606
|
+
# Corresponds to the JSON property `text`
|
16607
|
+
# @return [String]
|
16608
|
+
attr_accessor :text
|
16609
|
+
|
16610
|
+
# Optional. Indicates if the part is thought from the model.
|
16611
|
+
# Corresponds to the JSON property `thought`
|
16612
|
+
# @return [Boolean]
|
16613
|
+
attr_accessor :thought
|
16614
|
+
alias_method :thought?, :thought
|
16615
|
+
|
16616
|
+
def initialize(**args)
|
16617
|
+
update!(**args)
|
16618
|
+
end
|
16619
|
+
|
16620
|
+
# Update properties of this object
|
16621
|
+
def update!(**args)
|
16622
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
16623
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
16624
|
+
@file = args[:file] if args.key?(:file)
|
16625
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
16626
|
+
@role = args[:role] if args.key?(:role)
|
16627
|
+
@text = args[:text] if args.key?(:text)
|
16628
|
+
@thought = args[:thought] if args.key?(:thought)
|
16629
|
+
end
|
16630
|
+
end
|
16631
|
+
|
16632
|
+
# Inline blob.
|
16633
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
16634
|
+
include Google::Apis::Core::Hashable
|
16635
|
+
|
16636
|
+
# Required. Raw bytes.
|
16637
|
+
# Corresponds to the JSON property `data`
|
16638
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
16639
|
+
# @return [String]
|
16640
|
+
attr_accessor :data
|
16641
|
+
|
16642
|
+
# Required. The media type (MIME type) of the generated data.
|
16643
|
+
# Corresponds to the JSON property `mimeType`
|
16644
|
+
# @return [String]
|
16645
|
+
attr_accessor :mime_type
|
16646
|
+
|
16647
|
+
def initialize(**args)
|
16648
|
+
update!(**args)
|
16649
|
+
end
|
16650
|
+
|
16651
|
+
# Update properties of this object
|
16652
|
+
def update!(**args)
|
16653
|
+
@data = args[:data] if args.key?(:data)
|
16654
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
16655
|
+
end
|
16656
|
+
end
|
16657
|
+
|
16658
|
+
# Result of executing ExecutableCode.
|
16659
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
16660
|
+
include Google::Apis::Core::Hashable
|
16661
|
+
|
16662
|
+
# Required. Outcome of the code execution.
|
16663
|
+
# Corresponds to the JSON property `outcome`
|
16664
|
+
# @return [String]
|
16665
|
+
attr_accessor :outcome
|
16666
|
+
|
16667
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
16668
|
+
# description otherwise.
|
16669
|
+
# Corresponds to the JSON property `output`
|
16670
|
+
# @return [String]
|
16671
|
+
attr_accessor :output
|
16672
|
+
|
16673
|
+
def initialize(**args)
|
16674
|
+
update!(**args)
|
16675
|
+
end
|
16676
|
+
|
16677
|
+
# Update properties of this object
|
16678
|
+
def update!(**args)
|
16679
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
16680
|
+
@output = args[:output] if args.key?(:output)
|
16681
|
+
end
|
16682
|
+
end
|
16683
|
+
|
16684
|
+
# Code generated by the model that is meant to be executed by the model.
|
16685
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
16686
|
+
include Google::Apis::Core::Hashable
|
16687
|
+
|
16688
|
+
# Required. The code content. Currently only supports Python.
|
16689
|
+
# Corresponds to the JSON property `code`
|
16690
|
+
# @return [String]
|
16691
|
+
attr_accessor :code
|
16692
|
+
|
16693
|
+
def initialize(**args)
|
16694
|
+
update!(**args)
|
16695
|
+
end
|
16696
|
+
|
16697
|
+
# Update properties of this object
|
16698
|
+
def update!(**args)
|
16699
|
+
@code = args[:code] if args.key?(:code)
|
16700
|
+
end
|
16701
|
+
end
|
16702
|
+
|
16703
|
+
# A file, e.g., an audio summary.
|
16704
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
16705
|
+
include Google::Apis::Core::Hashable
|
16706
|
+
|
16707
|
+
# Required. The file ID.
|
16708
|
+
# Corresponds to the JSON property `fileId`
|
16709
|
+
# @return [String]
|
16710
|
+
attr_accessor :file_id
|
16711
|
+
|
16712
|
+
# Required. The media type (MIME type) of the file.
|
16713
|
+
# Corresponds to the JSON property `mimeType`
|
16714
|
+
# @return [String]
|
16715
|
+
attr_accessor :mime_type
|
16716
|
+
|
16717
|
+
def initialize(**args)
|
16718
|
+
update!(**args)
|
16719
|
+
end
|
16720
|
+
|
16721
|
+
# Update properties of this object
|
16722
|
+
def update!(**args)
|
16723
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
16724
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
16725
|
+
end
|
16726
|
+
end
|
16727
|
+
|
16728
|
+
# A piece of content and possibly its grounding information. Not all content
|
16729
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
16730
|
+
# not need grounding.
|
16731
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
16732
|
+
include Google::Apis::Core::Hashable
|
16733
|
+
|
16734
|
+
# Multi-modal content.
|
16735
|
+
# Corresponds to the JSON property `content`
|
16736
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
16737
|
+
attr_accessor :content
|
16738
|
+
|
16739
|
+
# Grounding details for text sources.
|
16740
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
16741
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
16742
|
+
attr_accessor :text_grounding_metadata
|
16743
|
+
|
16744
|
+
def initialize(**args)
|
16745
|
+
update!(**args)
|
16746
|
+
end
|
16747
|
+
|
16748
|
+
# Update properties of this object
|
16749
|
+
def update!(**args)
|
16750
|
+
@content = args[:content] if args.key?(:content)
|
16751
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
16752
|
+
end
|
16753
|
+
end
|
16754
|
+
|
16755
|
+
# Grounding details for text sources.
|
16756
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
16757
|
+
include Google::Apis::Core::Hashable
|
16758
|
+
|
16759
|
+
# References for the grounded text.
|
16760
|
+
# Corresponds to the JSON property `references`
|
16761
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
16762
|
+
attr_accessor :references
|
16763
|
+
|
16764
|
+
# Grounding information for parts of the text.
|
16765
|
+
# Corresponds to the JSON property `segments`
|
16766
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
16767
|
+
attr_accessor :segments
|
16768
|
+
|
16769
|
+
def initialize(**args)
|
16770
|
+
update!(**args)
|
16771
|
+
end
|
16772
|
+
|
16773
|
+
# Update properties of this object
|
16774
|
+
def update!(**args)
|
16775
|
+
@references = args[:references] if args.key?(:references)
|
16776
|
+
@segments = args[:segments] if args.key?(:segments)
|
16777
|
+
end
|
16778
|
+
end
|
16779
|
+
|
16780
|
+
# Referenced content and related document metadata.
|
16781
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
16782
|
+
include Google::Apis::Core::Hashable
|
16783
|
+
|
16784
|
+
# Referenced text content.
|
16785
|
+
# Corresponds to the JSON property `content`
|
16786
|
+
# @return [String]
|
16787
|
+
attr_accessor :content
|
16788
|
+
|
16789
|
+
# Document metadata.
|
16790
|
+
# Corresponds to the JSON property `documentMetadata`
|
16791
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
16792
|
+
attr_accessor :document_metadata
|
16793
|
+
|
16794
|
+
def initialize(**args)
|
16795
|
+
update!(**args)
|
16796
|
+
end
|
16797
|
+
|
16798
|
+
# Update properties of this object
|
16799
|
+
def update!(**args)
|
16800
|
+
@content = args[:content] if args.key?(:content)
|
16801
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
16802
|
+
end
|
16803
|
+
end
|
16804
|
+
|
16805
|
+
# Document metadata.
|
16806
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
16807
|
+
include Google::Apis::Core::Hashable
|
16808
|
+
|
16809
|
+
# Document resource name.
|
16810
|
+
# Corresponds to the JSON property `document`
|
16811
|
+
# @return [String]
|
16812
|
+
attr_accessor :document
|
16813
|
+
|
16814
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
16815
|
+
# that redirects to the actual website, in which case this will contain the
|
16816
|
+
# domain name of the target site.
|
16817
|
+
# Corresponds to the JSON property `domain`
|
16818
|
+
# @return [String]
|
16819
|
+
attr_accessor :domain
|
16820
|
+
|
16821
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
16822
|
+
# media-types.xhtml.
|
16823
|
+
# Corresponds to the JSON property `mimeType`
|
16824
|
+
# @return [String]
|
16825
|
+
attr_accessor :mime_type
|
16826
|
+
|
16827
|
+
# Page identifier.
|
16828
|
+
# Corresponds to the JSON property `pageIdentifier`
|
16829
|
+
# @return [String]
|
16830
|
+
attr_accessor :page_identifier
|
16831
|
+
|
16832
|
+
# Title.
|
16833
|
+
# Corresponds to the JSON property `title`
|
16834
|
+
# @return [String]
|
16835
|
+
attr_accessor :title
|
16836
|
+
|
16837
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
16838
|
+
# website.
|
16839
|
+
# Corresponds to the JSON property `uri`
|
16840
|
+
# @return [String]
|
16841
|
+
attr_accessor :uri
|
16842
|
+
|
16843
|
+
def initialize(**args)
|
16844
|
+
update!(**args)
|
16845
|
+
end
|
16846
|
+
|
16847
|
+
# Update properties of this object
|
16848
|
+
def update!(**args)
|
16849
|
+
@document = args[:document] if args.key?(:document)
|
16850
|
+
@domain = args[:domain] if args.key?(:domain)
|
16851
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
16852
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
16853
|
+
@title = args[:title] if args.key?(:title)
|
16854
|
+
@uri = args[:uri] if args.key?(:uri)
|
16855
|
+
end
|
16856
|
+
end
|
16857
|
+
|
16858
|
+
# Grounding information for a segment of the text.
|
16859
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
16860
|
+
include Google::Apis::Core::Hashable
|
16861
|
+
|
16862
|
+
# End of the segment, exclusive.
|
16863
|
+
# Corresponds to the JSON property `endIndex`
|
16864
|
+
# @return [Fixnum]
|
16865
|
+
attr_accessor :end_index
|
16866
|
+
|
16867
|
+
# Score for the segment.
|
16868
|
+
# Corresponds to the JSON property `groundingScore`
|
16869
|
+
# @return [Float]
|
16870
|
+
attr_accessor :grounding_score
|
16871
|
+
|
16872
|
+
# References for the segment.
|
16873
|
+
# Corresponds to the JSON property `referenceIndices`
|
16874
|
+
# @return [Array<Fixnum>]
|
16875
|
+
attr_accessor :reference_indices
|
16876
|
+
|
16877
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
16878
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
16879
|
+
# than one).
|
16880
|
+
# Corresponds to the JSON property `startIndex`
|
16881
|
+
# @return [Fixnum]
|
16882
|
+
attr_accessor :start_index
|
16883
|
+
|
16884
|
+
# The text segment itself.
|
16885
|
+
# Corresponds to the JSON property `text`
|
16886
|
+
# @return [String]
|
16887
|
+
attr_accessor :text
|
16888
|
+
|
16889
|
+
def initialize(**args)
|
16890
|
+
update!(**args)
|
16891
|
+
end
|
16892
|
+
|
16893
|
+
# Update properties of this object
|
16894
|
+
def update!(**args)
|
16895
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
16896
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
16897
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
16898
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
16899
|
+
@text = args[:text] if args.key?(:text)
|
16900
|
+
end
|
16901
|
+
end
|
16902
|
+
|
16903
|
+
# The configuration for the BAP connector.
|
16904
|
+
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
16905
|
+
include Google::Apis::Core::Hashable
|
16906
|
+
|
16907
|
+
# Optional. The actions enabled on the associated BAP connection.
|
16908
|
+
# Corresponds to the JSON property `enabledActions`
|
16909
|
+
# @return [Array<String>]
|
16910
|
+
attr_accessor :enabled_actions
|
16911
|
+
|
16912
|
+
# Required. The supported connector modes for the associated BAP connection.
|
16913
|
+
# Corresponds to the JSON property `supportedConnectorModes`
|
16914
|
+
# @return [Array<String>]
|
16915
|
+
attr_accessor :supported_connector_modes
|
16916
|
+
|
16917
|
+
def initialize(**args)
|
16918
|
+
update!(**args)
|
16919
|
+
end
|
16920
|
+
|
16921
|
+
# Update properties of this object
|
16922
|
+
def update!(**args)
|
16923
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
16924
|
+
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
16925
|
+
end
|
16926
|
+
end
|
16927
|
+
|
16928
|
+
# Metadata related to the progress of the SiteSearchEngineService.
|
16929
|
+
# BatchCreateTargetSites operation. This will be returned by the google.
|
16930
|
+
# longrunning.Operation.metadata field.
|
16931
|
+
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
|
16932
|
+
include Google::Apis::Core::Hashable
|
16933
|
+
|
16934
|
+
# Operation create time.
|
16935
|
+
# Corresponds to the JSON property `createTime`
|
16936
|
+
# @return [String]
|
16937
|
+
attr_accessor :create_time
|
16938
|
+
|
16939
|
+
# Operation last update time. If the operation is done, this is also the finish
|
16940
|
+
# time.
|
16941
|
+
# Corresponds to the JSON property `updateTime`
|
16942
|
+
# @return [String]
|
16943
|
+
attr_accessor :update_time
|
16944
|
+
|
16945
|
+
def initialize(**args)
|
16946
|
+
update!(**args)
|
16947
|
+
end
|
16948
|
+
|
16949
|
+
# Update properties of this object
|
16950
|
+
def update!(**args)
|
16951
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
16952
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
16953
|
+
end
|
16954
|
+
end
|
16955
|
+
|
16956
|
+
# Response message for SiteSearchEngineService.BatchCreateTargetSites method.
|
16957
|
+
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
|
16958
|
+
include Google::Apis::Core::Hashable
|
16959
|
+
|
16960
|
+
# TargetSites created.
|
16961
|
+
# Corresponds to the JSON property `targetSites`
|
16962
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaTargetSite>]
|
16963
|
+
attr_accessor :target_sites
|
16964
|
+
|
16965
|
+
def initialize(**args)
|
16966
|
+
update!(**args)
|
16967
|
+
end
|
16968
|
+
|
16969
|
+
# Update properties of this object
|
16970
|
+
def update!(**args)
|
16971
|
+
@target_sites = args[:target_sites] if args.key?(:target_sites)
|
16972
|
+
end
|
16973
|
+
end
|
16974
|
+
|
16975
|
+
# Metadata related to the progress of the UserLicenseService.
|
16976
|
+
# BatchUpdateUserLicenses operation. This will be returned by the google.
|
16977
|
+
# longrunning.Operation.metadata field.
|
16978
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
16979
|
+
include Google::Apis::Core::Hashable
|
16980
|
+
|
16981
|
+
# Operation create time.
|
16982
|
+
# Corresponds to the JSON property `createTime`
|
16214
16983
|
# @return [String]
|
16215
16984
|
attr_accessor :create_time
|
16216
16985
|
|
@@ -16670,6 +17439,27 @@ module Google
|
|
16670
17439
|
end
|
16671
17440
|
end
|
16672
17441
|
|
17442
|
+
# The contact info stored in resource level. If both project level and resource
|
17443
|
+
# level is populated, the resource level contact info will override the project
|
17444
|
+
# level contact info.
|
17445
|
+
class GoogleCloudDiscoveryengineV1alphaContactDetails
|
17446
|
+
include Google::Apis::Core::Hashable
|
17447
|
+
|
17448
|
+
# Optional. The email address of the contact.
|
17449
|
+
# Corresponds to the JSON property `emailAddress`
|
17450
|
+
# @return [String]
|
17451
|
+
attr_accessor :email_address
|
17452
|
+
|
17453
|
+
def initialize(**args)
|
17454
|
+
update!(**args)
|
17455
|
+
end
|
17456
|
+
|
17457
|
+
# Update properties of this object
|
17458
|
+
def update!(**args)
|
17459
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
17460
|
+
end
|
17461
|
+
end
|
17462
|
+
|
16673
17463
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
16674
17464
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
16675
17465
|
# `SolutionType`.
|
@@ -17734,8 +18524,7 @@ module Google
|
|
17734
18524
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
17735
18525
|
attr_accessor :cmek_config
|
17736
18526
|
|
17737
|
-
# Optional. Configuration for configurable billing approach. See
|
17738
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
18527
|
+
# Optional. Configuration for configurable billing approach. See
|
17739
18528
|
# Corresponds to the JSON property `configurableBillingApproach`
|
17740
18529
|
# @return [String]
|
17741
18530
|
attr_accessor :configurable_billing_approach
|
@@ -18633,8 +19422,7 @@ module Google
|
|
18633
19422
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
18634
19423
|
attr_accessor :common_config
|
18635
19424
|
|
18636
|
-
# Optional. Configuration for configurable billing approach.
|
18637
|
-
# repricing-billing-dd for more details.
|
19425
|
+
# Optional. Configuration for configurable billing approach.
|
18638
19426
|
# Corresponds to the JSON property `configurableBillingApproach`
|
18639
19427
|
# @return [String]
|
18640
19428
|
attr_accessor :configurable_billing_approach
|
@@ -18671,8 +19459,9 @@ module Google
|
|
18671
19459
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
18672
19460
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
18673
19461
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
18674
|
-
# personalization-memory` * `disable-
|
18675
|
-
# generation` * `disable-onedrive-upload`
|
19462
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
19463
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
19464
|
+
# content` * `disable-google-drive-upload`
|
18676
19465
|
# Corresponds to the JSON property `features`
|
18677
19466
|
# @return [Hash<String,String>]
|
18678
19467
|
attr_accessor :features
|
@@ -20145,6 +20934,99 @@ module Google
|
|
20145
20934
|
end
|
20146
20935
|
end
|
20147
20936
|
|
20937
|
+
# Information about users' licenses.
|
20938
|
+
class GoogleCloudDiscoveryengineV1alphaLicenseConfig
|
20939
|
+
include Google::Apis::Core::Hashable
|
20940
|
+
|
20941
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
20942
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
20943
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
20944
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
|
20945
|
+
attr_accessor :alert_policy_resource_config
|
20946
|
+
|
20947
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
20948
|
+
# the end date.
|
20949
|
+
# Corresponds to the JSON property `autoRenew`
|
20950
|
+
# @return [Boolean]
|
20951
|
+
attr_accessor :auto_renew
|
20952
|
+
alias_method :auto_renew?, :auto_renew
|
20953
|
+
|
20954
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
20955
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
20956
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
20957
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
20958
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
20959
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
20960
|
+
# example, a credit card expiration date). Related types: * google.type.
|
20961
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
20962
|
+
# Corresponds to the JSON property `endDate`
|
20963
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
20964
|
+
attr_accessor :end_date
|
20965
|
+
|
20966
|
+
# Optional. Whether the license config is for free trial.
|
20967
|
+
# Corresponds to the JSON property `freeTrial`
|
20968
|
+
# @return [Boolean]
|
20969
|
+
attr_accessor :free_trial
|
20970
|
+
alias_method :free_trial?, :free_trial
|
20971
|
+
|
20972
|
+
# Required. Number of licenses purchased.
|
20973
|
+
# Corresponds to the JSON property `licenseCount`
|
20974
|
+
# @return [Fixnum]
|
20975
|
+
attr_accessor :license_count
|
20976
|
+
|
20977
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
20978
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
20979
|
+
# license_config``
|
20980
|
+
# Corresponds to the JSON property `name`
|
20981
|
+
# @return [String]
|
20982
|
+
attr_accessor :name
|
20983
|
+
|
20984
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
20985
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
20986
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
20987
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
20988
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
20989
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
20990
|
+
# example, a credit card expiration date). Related types: * google.type.
|
20991
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
20992
|
+
# Corresponds to the JSON property `startDate`
|
20993
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
20994
|
+
attr_accessor :start_date
|
20995
|
+
|
20996
|
+
# Output only. The state of the license config.
|
20997
|
+
# Corresponds to the JSON property `state`
|
20998
|
+
# @return [String]
|
20999
|
+
attr_accessor :state
|
21000
|
+
|
21001
|
+
# Required. Subscription term.
|
21002
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
21003
|
+
# @return [String]
|
21004
|
+
attr_accessor :subscription_term
|
21005
|
+
|
21006
|
+
# Required. Subscription tier information for the license config.
|
21007
|
+
# Corresponds to the JSON property `subscriptionTier`
|
21008
|
+
# @return [String]
|
21009
|
+
attr_accessor :subscription_tier
|
21010
|
+
|
21011
|
+
def initialize(**args)
|
21012
|
+
update!(**args)
|
21013
|
+
end
|
21014
|
+
|
21015
|
+
# Update properties of this object
|
21016
|
+
def update!(**args)
|
21017
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
21018
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
21019
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
21020
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
21021
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
21022
|
+
@name = args[:name] if args.key?(:name)
|
21023
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
21024
|
+
@state = args[:state] if args.key?(:state)
|
21025
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
21026
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
21027
|
+
end
|
21028
|
+
end
|
21029
|
+
|
20148
21030
|
# Request for ListSessions method.
|
20149
21031
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
20150
21032
|
include Google::Apis::Core::Hashable
|
@@ -22732,6 +23614,11 @@ module Google
|
|
22732
23614
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswer]
|
22733
23615
|
attr_accessor :detailed_answer
|
22734
23616
|
|
23617
|
+
# AssistAnswer resource, main part of AssistResponse.
|
23618
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
23619
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
23620
|
+
attr_accessor :detailed_assist_answer
|
23621
|
+
|
22735
23622
|
# Defines a user inputed query.
|
22736
23623
|
# Corresponds to the JSON property `query`
|
22737
23624
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQuery]
|
@@ -22752,6 +23639,7 @@ module Google
|
|
22752
23639
|
def update!(**args)
|
22753
23640
|
@answer = args[:answer] if args.key?(:answer)
|
22754
23641
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
23642
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
22755
23643
|
@query = args[:query] if args.key?(:query)
|
22756
23644
|
@query_config = args[:query_config] if args.key?(:query_config)
|
22757
23645
|
end
|
@@ -23554,6 +24442,77 @@ module Google
|
|
23554
24442
|
end
|
23555
24443
|
end
|
23556
24444
|
|
24445
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
24446
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
24447
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig
|
24448
|
+
include Google::Apis::Core::Hashable
|
24449
|
+
|
24450
|
+
# Optional. The enrollment state of each alert.
|
24451
|
+
# Corresponds to the JSON property `alertEnrollments`
|
24452
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment>]
|
24453
|
+
attr_accessor :alert_enrollments
|
24454
|
+
|
24455
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
24456
|
+
# Corresponds to the JSON property `alertPolicy`
|
24457
|
+
# @return [String]
|
24458
|
+
attr_accessor :alert_policy
|
24459
|
+
|
24460
|
+
# Optional. The contact details for each alert policy.
|
24461
|
+
# Corresponds to the JSON property `contactDetails`
|
24462
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaContactDetails>]
|
24463
|
+
attr_accessor :contact_details
|
24464
|
+
|
24465
|
+
# Optional. The language code used for notifications
|
24466
|
+
# Corresponds to the JSON property `languageCode`
|
24467
|
+
# @return [String]
|
24468
|
+
attr_accessor :language_code
|
24469
|
+
|
24470
|
+
def initialize(**args)
|
24471
|
+
update!(**args)
|
24472
|
+
end
|
24473
|
+
|
24474
|
+
# Update properties of this object
|
24475
|
+
def update!(**args)
|
24476
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
24477
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
24478
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
24479
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
24480
|
+
end
|
24481
|
+
end
|
24482
|
+
|
24483
|
+
# The alert enrollment status.
|
24484
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment
|
24485
|
+
include Google::Apis::Core::Hashable
|
24486
|
+
|
24487
|
+
# Immutable. The id of an alert.
|
24488
|
+
# Corresponds to the JSON property `alertId`
|
24489
|
+
# @return [String]
|
24490
|
+
attr_accessor :alert_id
|
24491
|
+
|
24492
|
+
# Required. The enrollment status of a customer.
|
24493
|
+
# Corresponds to the JSON property `enrollState`
|
24494
|
+
# @return [String]
|
24495
|
+
attr_accessor :enroll_state
|
24496
|
+
|
24497
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
24498
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
24499
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
24500
|
+
# Corresponds to the JSON property `notificationParams`
|
24501
|
+
# @return [Hash<String,String>]
|
24502
|
+
attr_accessor :notification_params
|
24503
|
+
|
24504
|
+
def initialize(**args)
|
24505
|
+
update!(**args)
|
24506
|
+
end
|
24507
|
+
|
24508
|
+
# Update properties of this object
|
24509
|
+
def update!(**args)
|
24510
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
24511
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
24512
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
24513
|
+
end
|
24514
|
+
end
|
24515
|
+
|
23557
24516
|
# Metadata related to the progress of the SiteSearchEngineService.
|
23558
24517
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
23559
24518
|
# longrunning.Operation.metadata field.
|
@@ -23820,6 +24779,27 @@ module Google
|
|
23820
24779
|
end
|
23821
24780
|
end
|
23822
24781
|
|
24782
|
+
# The contact info stored in resource level. If both project level and resource
|
24783
|
+
# level is populated, the resource level contact info will override the project
|
24784
|
+
# level contact info.
|
24785
|
+
class GoogleCloudDiscoveryengineV1betaContactDetails
|
24786
|
+
include Google::Apis::Core::Hashable
|
24787
|
+
|
24788
|
+
# Optional. The email address of the contact.
|
24789
|
+
# Corresponds to the JSON property `emailAddress`
|
24790
|
+
# @return [String]
|
24791
|
+
attr_accessor :email_address
|
24792
|
+
|
24793
|
+
def initialize(**args)
|
24794
|
+
update!(**args)
|
24795
|
+
end
|
24796
|
+
|
24797
|
+
# Update properties of this object
|
24798
|
+
def update!(**args)
|
24799
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
24800
|
+
end
|
24801
|
+
end
|
24802
|
+
|
23823
24803
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
23824
24804
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
23825
24805
|
# `SolutionType`.
|
@@ -24347,8 +25327,7 @@ module Google
|
|
24347
25327
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
24348
25328
|
attr_accessor :cmek_config
|
24349
25329
|
|
24350
|
-
# Optional. Configuration for configurable billing approach. See
|
24351
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
25330
|
+
# Optional. Configuration for configurable billing approach. See
|
24352
25331
|
# Corresponds to the JSON property `configurableBillingApproach`
|
24353
25332
|
# @return [String]
|
24354
25333
|
attr_accessor :configurable_billing_approach
|
@@ -25100,8 +26079,7 @@ module Google
|
|
25100
26079
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
25101
26080
|
attr_accessor :common_config
|
25102
26081
|
|
25103
|
-
# Optional. Configuration for configurable billing approach.
|
25104
|
-
# repricing-billing-dd for more details.
|
26082
|
+
# Optional. Configuration for configurable billing approach.
|
25105
26083
|
# Corresponds to the JSON property `configurableBillingApproach`
|
25106
26084
|
# @return [String]
|
25107
26085
|
attr_accessor :configurable_billing_approach
|
@@ -25138,8 +26116,9 @@ module Google
|
|
25138
26116
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
25139
26117
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
25140
26118
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
25141
|
-
# personalization-memory` * `disable-
|
25142
|
-
# generation` * `disable-onedrive-upload`
|
26119
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
26120
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
26121
|
+
# content` * `disable-google-drive-upload`
|
25143
26122
|
# Corresponds to the JSON property `features`
|
25144
26123
|
# @return [Hash<String,String>]
|
25145
26124
|
attr_accessor :features
|
@@ -26205,6 +27184,99 @@ module Google
|
|
26205
27184
|
end
|
26206
27185
|
end
|
26207
27186
|
|
27187
|
+
# Information about users' licenses.
|
27188
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfig
|
27189
|
+
include Google::Apis::Core::Hashable
|
27190
|
+
|
27191
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
27192
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
27193
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
27194
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig]
|
27195
|
+
attr_accessor :alert_policy_resource_config
|
27196
|
+
|
27197
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
27198
|
+
# the end date.
|
27199
|
+
# Corresponds to the JSON property `autoRenew`
|
27200
|
+
# @return [Boolean]
|
27201
|
+
attr_accessor :auto_renew
|
27202
|
+
alias_method :auto_renew?, :auto_renew
|
27203
|
+
|
27204
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
27205
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
27206
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
27207
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
27208
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
27209
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
27210
|
+
# example, a credit card expiration date). Related types: * google.type.
|
27211
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
27212
|
+
# Corresponds to the JSON property `endDate`
|
27213
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
27214
|
+
attr_accessor :end_date
|
27215
|
+
|
27216
|
+
# Optional. Whether the license config is for free trial.
|
27217
|
+
# Corresponds to the JSON property `freeTrial`
|
27218
|
+
# @return [Boolean]
|
27219
|
+
attr_accessor :free_trial
|
27220
|
+
alias_method :free_trial?, :free_trial
|
27221
|
+
|
27222
|
+
# Required. Number of licenses purchased.
|
27223
|
+
# Corresponds to the JSON property `licenseCount`
|
27224
|
+
# @return [Fixnum]
|
27225
|
+
attr_accessor :license_count
|
27226
|
+
|
27227
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
27228
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
27229
|
+
# license_config``
|
27230
|
+
# Corresponds to the JSON property `name`
|
27231
|
+
# @return [String]
|
27232
|
+
attr_accessor :name
|
27233
|
+
|
27234
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
27235
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
27236
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
27237
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
27238
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
27239
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
27240
|
+
# example, a credit card expiration date). Related types: * google.type.
|
27241
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
27242
|
+
# Corresponds to the JSON property `startDate`
|
27243
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
27244
|
+
attr_accessor :start_date
|
27245
|
+
|
27246
|
+
# Output only. The state of the license config.
|
27247
|
+
# Corresponds to the JSON property `state`
|
27248
|
+
# @return [String]
|
27249
|
+
attr_accessor :state
|
27250
|
+
|
27251
|
+
# Required. Subscription term.
|
27252
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
27253
|
+
# @return [String]
|
27254
|
+
attr_accessor :subscription_term
|
27255
|
+
|
27256
|
+
# Required. Subscription tier information for the license config.
|
27257
|
+
# Corresponds to the JSON property `subscriptionTier`
|
27258
|
+
# @return [String]
|
27259
|
+
attr_accessor :subscription_tier
|
27260
|
+
|
27261
|
+
def initialize(**args)
|
27262
|
+
update!(**args)
|
27263
|
+
end
|
27264
|
+
|
27265
|
+
# Update properties of this object
|
27266
|
+
def update!(**args)
|
27267
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
27268
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
27269
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
27270
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
27271
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
27272
|
+
@name = args[:name] if args.key?(:name)
|
27273
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
27274
|
+
@state = args[:state] if args.key?(:state)
|
27275
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
27276
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
27277
|
+
end
|
27278
|
+
end
|
27279
|
+
|
26208
27280
|
# Configuration for Natural Language Query Understanding.
|
26209
27281
|
class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
|
26210
27282
|
include Google::Apis::Core::Hashable
|