google-apis-discoveryengine_v1 0.53.0 → 0.55.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 +8 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +1123 -52
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +449 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +114 -0
- data/lib/google/apis/discoveryengine_v1.rb +6 -0
- metadata +2 -2
|
@@ -4266,6 +4266,11 @@ module Google
|
|
|
4266
4266
|
class GoogleCloudDiscoveryengineV1AssistantGroundedContent
|
|
4267
4267
|
include Google::Apis::Core::Hashable
|
|
4268
4268
|
|
|
4269
|
+
# A collection of source attributions for a piece of content.
|
|
4270
|
+
# Corresponds to the JSON property `citationMetadata`
|
|
4271
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CitationMetadata]
|
|
4272
|
+
attr_accessor :citation_metadata
|
|
4273
|
+
|
|
4269
4274
|
# Multi-modal content.
|
|
4270
4275
|
# Corresponds to the JSON property `content`
|
|
4271
4276
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantContent]
|
|
@@ -4282,6 +4287,7 @@ module Google
|
|
|
4282
4287
|
|
|
4283
4288
|
# Update properties of this object
|
|
4284
4289
|
def update!(**args)
|
|
4290
|
+
@citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
|
|
4285
4291
|
@content = args[:content] if args.key?(:content)
|
|
4286
4292
|
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
|
4287
4293
|
end
|
|
@@ -5462,6 +5468,81 @@ module Google
|
|
|
5462
5468
|
end
|
|
5463
5469
|
end
|
|
5464
5470
|
|
|
5471
|
+
# Source attributions for content.
|
|
5472
|
+
class GoogleCloudDiscoveryengineV1Citation
|
|
5473
|
+
include Google::Apis::Core::Hashable
|
|
5474
|
+
|
|
5475
|
+
# Output only. End index into the content.
|
|
5476
|
+
# Corresponds to the JSON property `endIndex`
|
|
5477
|
+
# @return [Fixnum]
|
|
5478
|
+
attr_accessor :end_index
|
|
5479
|
+
|
|
5480
|
+
# Output only. License of the attribution.
|
|
5481
|
+
# Corresponds to the JSON property `license`
|
|
5482
|
+
# @return [String]
|
|
5483
|
+
attr_accessor :license
|
|
5484
|
+
|
|
5485
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
5486
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
5487
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
5488
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
5489
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
5490
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
5491
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
5492
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
5493
|
+
# Corresponds to the JSON property `publicationDate`
|
|
5494
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
5495
|
+
attr_accessor :publication_date
|
|
5496
|
+
|
|
5497
|
+
# Output only. Start index into the content.
|
|
5498
|
+
# Corresponds to the JSON property `startIndex`
|
|
5499
|
+
# @return [Fixnum]
|
|
5500
|
+
attr_accessor :start_index
|
|
5501
|
+
|
|
5502
|
+
# Output only. Title of the attribution.
|
|
5503
|
+
# Corresponds to the JSON property `title`
|
|
5504
|
+
# @return [String]
|
|
5505
|
+
attr_accessor :title
|
|
5506
|
+
|
|
5507
|
+
# Output only. Url reference of the attribution.
|
|
5508
|
+
# Corresponds to the JSON property `uri`
|
|
5509
|
+
# @return [String]
|
|
5510
|
+
attr_accessor :uri
|
|
5511
|
+
|
|
5512
|
+
def initialize(**args)
|
|
5513
|
+
update!(**args)
|
|
5514
|
+
end
|
|
5515
|
+
|
|
5516
|
+
# Update properties of this object
|
|
5517
|
+
def update!(**args)
|
|
5518
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
|
5519
|
+
@license = args[:license] if args.key?(:license)
|
|
5520
|
+
@publication_date = args[:publication_date] if args.key?(:publication_date)
|
|
5521
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
|
5522
|
+
@title = args[:title] if args.key?(:title)
|
|
5523
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
5524
|
+
end
|
|
5525
|
+
end
|
|
5526
|
+
|
|
5527
|
+
# A collection of source attributions for a piece of content.
|
|
5528
|
+
class GoogleCloudDiscoveryengineV1CitationMetadata
|
|
5529
|
+
include Google::Apis::Core::Hashable
|
|
5530
|
+
|
|
5531
|
+
# Output only. List of citations.
|
|
5532
|
+
# Corresponds to the JSON property `citations`
|
|
5533
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Citation>]
|
|
5534
|
+
attr_accessor :citations
|
|
5535
|
+
|
|
5536
|
+
def initialize(**args)
|
|
5537
|
+
update!(**args)
|
|
5538
|
+
end
|
|
5539
|
+
|
|
5540
|
+
# Update properties of this object
|
|
5541
|
+
def update!(**args)
|
|
5542
|
+
@citations = args[:citations] if args.key?(:citations)
|
|
5543
|
+
end
|
|
5544
|
+
end
|
|
5545
|
+
|
|
5465
5546
|
# Cloud SQL source import data from.
|
|
5466
5547
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
|
5467
5548
|
include Google::Apis::Core::Hashable
|
|
@@ -7213,8 +7294,7 @@ module Google
|
|
|
7213
7294
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
|
|
7214
7295
|
attr_accessor :cmek_config
|
|
7215
7296
|
|
|
7216
|
-
# Optional. Configuration for configurable billing approach. See
|
|
7217
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
|
7297
|
+
# Optional. Configuration for configurable billing approach. See
|
|
7218
7298
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
7219
7299
|
# @return [String]
|
|
7220
7300
|
attr_accessor :configurable_billing_approach
|
|
@@ -8372,8 +8452,7 @@ module Google
|
|
|
8372
8452
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
|
8373
8453
|
attr_accessor :common_config
|
|
8374
8454
|
|
|
8375
|
-
# Optional. Configuration for configurable billing approach.
|
|
8376
|
-
# repricing-billing-dd for more details.
|
|
8455
|
+
# Optional. Configuration for configurable billing approach.
|
|
8377
8456
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
8378
8457
|
# @return [String]
|
|
8379
8458
|
attr_accessor :configurable_billing_approach
|
|
@@ -8410,8 +8489,9 @@ module Google
|
|
|
8410
8489
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
8411
8490
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
8412
8491
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
8413
|
-
# personalization-memory` * `disable-
|
|
8414
|
-
# generation` * `disable-onedrive-upload`
|
|
8492
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
8493
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
8494
|
+
# content` * `disable-google-drive-upload`
|
|
8415
8495
|
# Corresponds to the JSON property `features`
|
|
8416
8496
|
# @return [Hash<String,String>]
|
|
8417
8497
|
attr_accessor :features
|
|
@@ -10000,6 +10080,99 @@ module Google
|
|
|
10000
10080
|
end
|
|
10001
10081
|
end
|
|
10002
10082
|
|
|
10083
|
+
# Information about users' licenses.
|
|
10084
|
+
class GoogleCloudDiscoveryengineV1LicenseConfig
|
|
10085
|
+
include Google::Apis::Core::Hashable
|
|
10086
|
+
|
|
10087
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
10088
|
+
# the end date.
|
|
10089
|
+
# Corresponds to the JSON property `autoRenew`
|
|
10090
|
+
# @return [Boolean]
|
|
10091
|
+
attr_accessor :auto_renew
|
|
10092
|
+
alias_method :auto_renew?, :auto_renew
|
|
10093
|
+
|
|
10094
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
10095
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
10096
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
10097
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
10098
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
10099
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
10100
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
10101
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
10102
|
+
# Corresponds to the JSON property `endDate`
|
|
10103
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
10104
|
+
attr_accessor :end_date
|
|
10105
|
+
|
|
10106
|
+
# Optional. Whether the license config is for free trial.
|
|
10107
|
+
# Corresponds to the JSON property `freeTrial`
|
|
10108
|
+
# @return [Boolean]
|
|
10109
|
+
attr_accessor :free_trial
|
|
10110
|
+
alias_method :free_trial?, :free_trial
|
|
10111
|
+
|
|
10112
|
+
# Output only. Whether the license config is for Gemini bundle.
|
|
10113
|
+
# Corresponds to the JSON property `geminiBundle`
|
|
10114
|
+
# @return [Boolean]
|
|
10115
|
+
attr_accessor :gemini_bundle
|
|
10116
|
+
alias_method :gemini_bundle?, :gemini_bundle
|
|
10117
|
+
|
|
10118
|
+
# Required. Number of licenses purchased.
|
|
10119
|
+
# Corresponds to the JSON property `licenseCount`
|
|
10120
|
+
# @return [Fixnum]
|
|
10121
|
+
attr_accessor :license_count
|
|
10122
|
+
|
|
10123
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
10124
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
10125
|
+
# license_config``
|
|
10126
|
+
# Corresponds to the JSON property `name`
|
|
10127
|
+
# @return [String]
|
|
10128
|
+
attr_accessor :name
|
|
10129
|
+
|
|
10130
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
10131
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
10132
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
10133
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
10134
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
10135
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
10136
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
10137
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
10138
|
+
# Corresponds to the JSON property `startDate`
|
|
10139
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
10140
|
+
attr_accessor :start_date
|
|
10141
|
+
|
|
10142
|
+
# Output only. The state of the license config.
|
|
10143
|
+
# Corresponds to the JSON property `state`
|
|
10144
|
+
# @return [String]
|
|
10145
|
+
attr_accessor :state
|
|
10146
|
+
|
|
10147
|
+
# Required. Subscription term.
|
|
10148
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
10149
|
+
# @return [String]
|
|
10150
|
+
attr_accessor :subscription_term
|
|
10151
|
+
|
|
10152
|
+
# Required. Subscription tier information for the license config.
|
|
10153
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
10154
|
+
# @return [String]
|
|
10155
|
+
attr_accessor :subscription_tier
|
|
10156
|
+
|
|
10157
|
+
def initialize(**args)
|
|
10158
|
+
update!(**args)
|
|
10159
|
+
end
|
|
10160
|
+
|
|
10161
|
+
# Update properties of this object
|
|
10162
|
+
def update!(**args)
|
|
10163
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
10164
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
10165
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
10166
|
+
@gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
|
|
10167
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
10168
|
+
@name = args[:name] if args.key?(:name)
|
|
10169
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
10170
|
+
@state = args[:state] if args.key?(:state)
|
|
10171
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
10172
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
10173
|
+
end
|
|
10174
|
+
end
|
|
10175
|
+
|
|
10003
10176
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
|
10004
10177
|
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
|
10005
10178
|
include Google::Apis::Core::Hashable
|
|
@@ -13804,6 +13977,12 @@ module Google
|
|
|
13804
13977
|
attr_accessor :is_pinned
|
|
13805
13978
|
alias_method :is_pinned?, :is_pinned
|
|
13806
13979
|
|
|
13980
|
+
# Optional. The labels for the session. Can be set as filter in
|
|
13981
|
+
# ListSessionsRequest.
|
|
13982
|
+
# Corresponds to the JSON property `labels`
|
|
13983
|
+
# @return [Array<String>]
|
|
13984
|
+
attr_accessor :labels
|
|
13985
|
+
|
|
13807
13986
|
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
|
13808
13987
|
# collections/`collection`/engines/`engine`/sessions/*`
|
|
13809
13988
|
# Corresponds to the JSON property `name`
|
|
@@ -13839,6 +14018,7 @@ module Google
|
|
|
13839
14018
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
13840
14019
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
13841
14020
|
@is_pinned = args[:is_pinned] if args.key?(:is_pinned)
|
|
14021
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
13842
14022
|
@name = args[:name] if args.key?(:name)
|
|
13843
14023
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
13844
14024
|
@state = args[:state] if args.key?(:state)
|
|
@@ -13862,6 +14042,11 @@ module Google
|
|
|
13862
14042
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Answer]
|
|
13863
14043
|
attr_accessor :detailed_answer
|
|
13864
14044
|
|
|
14045
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
14046
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
|
14047
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswer]
|
|
14048
|
+
attr_accessor :detailed_assist_answer
|
|
14049
|
+
|
|
13865
14050
|
# Defines a user inputed query.
|
|
13866
14051
|
# Corresponds to the JSON property `query`
|
|
13867
14052
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query]
|
|
@@ -13882,6 +14067,7 @@ module Google
|
|
|
13882
14067
|
def update!(**args)
|
|
13883
14068
|
@answer = args[:answer] if args.key?(:answer)
|
|
13884
14069
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
14070
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
13885
14071
|
@query = args[:query] if args.key?(:query)
|
|
13886
14072
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
13887
14073
|
end
|
|
@@ -15372,6 +15558,77 @@ module Google
|
|
|
15372
15558
|
end
|
|
15373
15559
|
end
|
|
15374
15560
|
|
|
15561
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
15562
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
15563
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
|
|
15564
|
+
include Google::Apis::Core::Hashable
|
|
15565
|
+
|
|
15566
|
+
# Optional. The enrollment state of each alert.
|
|
15567
|
+
# Corresponds to the JSON property `alertEnrollments`
|
|
15568
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
|
|
15569
|
+
attr_accessor :alert_enrollments
|
|
15570
|
+
|
|
15571
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
|
15572
|
+
# Corresponds to the JSON property `alertPolicy`
|
|
15573
|
+
# @return [String]
|
|
15574
|
+
attr_accessor :alert_policy
|
|
15575
|
+
|
|
15576
|
+
# Optional. The contact details for each alert policy.
|
|
15577
|
+
# Corresponds to the JSON property `contactDetails`
|
|
15578
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaContactDetails>]
|
|
15579
|
+
attr_accessor :contact_details
|
|
15580
|
+
|
|
15581
|
+
# Optional. The language code used for notifications
|
|
15582
|
+
# Corresponds to the JSON property `languageCode`
|
|
15583
|
+
# @return [String]
|
|
15584
|
+
attr_accessor :language_code
|
|
15585
|
+
|
|
15586
|
+
def initialize(**args)
|
|
15587
|
+
update!(**args)
|
|
15588
|
+
end
|
|
15589
|
+
|
|
15590
|
+
# Update properties of this object
|
|
15591
|
+
def update!(**args)
|
|
15592
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
|
15593
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
|
15594
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
|
15595
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
15596
|
+
end
|
|
15597
|
+
end
|
|
15598
|
+
|
|
15599
|
+
# The alert enrollment status.
|
|
15600
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
|
|
15601
|
+
include Google::Apis::Core::Hashable
|
|
15602
|
+
|
|
15603
|
+
# Immutable. The id of an alert.
|
|
15604
|
+
# Corresponds to the JSON property `alertId`
|
|
15605
|
+
# @return [String]
|
|
15606
|
+
attr_accessor :alert_id
|
|
15607
|
+
|
|
15608
|
+
# Required. The enrollment status of a customer.
|
|
15609
|
+
# Corresponds to the JSON property `enrollState`
|
|
15610
|
+
# @return [String]
|
|
15611
|
+
attr_accessor :enroll_state
|
|
15612
|
+
|
|
15613
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
|
15614
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
|
15615
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
|
15616
|
+
# Corresponds to the JSON property `notificationParams`
|
|
15617
|
+
# @return [Hash<String,String>]
|
|
15618
|
+
attr_accessor :notification_params
|
|
15619
|
+
|
|
15620
|
+
def initialize(**args)
|
|
15621
|
+
update!(**args)
|
|
15622
|
+
end
|
|
15623
|
+
|
|
15624
|
+
# Update properties of this object
|
|
15625
|
+
def update!(**args)
|
|
15626
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
|
15627
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
|
15628
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
|
15629
|
+
end
|
|
15630
|
+
end
|
|
15631
|
+
|
|
15375
15632
|
# Defines an answer.
|
|
15376
15633
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
|
15377
15634
|
include Google::Apis::Core::Hashable
|
|
@@ -16131,19 +16388,38 @@ module Google
|
|
|
16131
16388
|
end
|
|
16132
16389
|
end
|
|
16133
16390
|
|
|
16134
|
-
#
|
|
16135
|
-
class
|
|
16391
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
16392
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
|
16136
16393
|
include Google::Apis::Core::Hashable
|
|
16137
16394
|
|
|
16138
|
-
#
|
|
16139
|
-
# Corresponds to the JSON property `
|
|
16395
|
+
# Reasons for not answering the assist call.
|
|
16396
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
|
16140
16397
|
# @return [Array<String>]
|
|
16141
|
-
attr_accessor :
|
|
16398
|
+
attr_accessor :assist_skipped_reasons
|
|
16142
16399
|
|
|
16143
|
-
#
|
|
16144
|
-
#
|
|
16145
|
-
#
|
|
16146
|
-
|
|
16400
|
+
# Customer policy enforcement results. Contains the results of the various
|
|
16401
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
|
16402
|
+
# Corresponds to the JSON property `customerPolicyEnforcementResult`
|
|
16403
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
|
|
16404
|
+
attr_accessor :customer_policy_enforcement_result
|
|
16405
|
+
|
|
16406
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
|
16407
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
16408
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
|
16409
|
+
# encoded string with a length limit of 1024 characters.
|
|
16410
|
+
# Corresponds to the JSON property `name`
|
|
16411
|
+
# @return [String]
|
|
16412
|
+
attr_accessor :name
|
|
16413
|
+
|
|
16414
|
+
# Replies of the assistant.
|
|
16415
|
+
# Corresponds to the JSON property `replies`
|
|
16416
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
|
16417
|
+
attr_accessor :replies
|
|
16418
|
+
|
|
16419
|
+
# State of the answer generation.
|
|
16420
|
+
# Corresponds to the JSON property `state`
|
|
16421
|
+
# @return [String]
|
|
16422
|
+
attr_accessor :state
|
|
16147
16423
|
|
|
16148
16424
|
def initialize(**args)
|
|
16149
16425
|
update!(**args)
|
|
@@ -16151,27 +16427,31 @@ module Google
|
|
|
16151
16427
|
|
|
16152
16428
|
# Update properties of this object
|
|
16153
16429
|
def update!(**args)
|
|
16154
|
-
@
|
|
16155
|
-
@
|
|
16430
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
|
16431
|
+
@customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
|
|
16432
|
+
@name = args[:name] if args.key?(:name)
|
|
16433
|
+
@replies = args[:replies] if args.key?(:replies)
|
|
16434
|
+
@state = args[:state] if args.key?(:state)
|
|
16156
16435
|
end
|
|
16157
16436
|
end
|
|
16158
16437
|
|
|
16159
|
-
#
|
|
16160
|
-
#
|
|
16161
|
-
|
|
16162
|
-
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
|
|
16438
|
+
# Customer policy enforcement results. Contains the results of the various
|
|
16439
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
|
16440
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
|
|
16163
16441
|
include Google::Apis::Core::Hashable
|
|
16164
16442
|
|
|
16165
|
-
#
|
|
16166
|
-
#
|
|
16167
|
-
#
|
|
16168
|
-
|
|
16443
|
+
# Customer policy enforcement results. Populated only if the assist call was
|
|
16444
|
+
# skipped due to a policy violation. It contains results from those filters that
|
|
16445
|
+
# blocked the processing of the query.
|
|
16446
|
+
# Corresponds to the JSON property `policyResults`
|
|
16447
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
|
|
16448
|
+
attr_accessor :policy_results
|
|
16169
16449
|
|
|
16170
|
-
#
|
|
16171
|
-
#
|
|
16172
|
-
# Corresponds to the JSON property `
|
|
16450
|
+
# Final verdict of the customer policy enforcement. If only one policy blocked
|
|
16451
|
+
# the processing, the verdict is BLOCK.
|
|
16452
|
+
# Corresponds to the JSON property `verdict`
|
|
16173
16453
|
# @return [String]
|
|
16174
|
-
attr_accessor :
|
|
16454
|
+
attr_accessor :verdict
|
|
16175
16455
|
|
|
16176
16456
|
def initialize(**args)
|
|
16177
16457
|
update!(**args)
|
|
@@ -16179,19 +16459,19 @@ module Google
|
|
|
16179
16459
|
|
|
16180
16460
|
# Update properties of this object
|
|
16181
16461
|
def update!(**args)
|
|
16182
|
-
@
|
|
16183
|
-
@
|
|
16462
|
+
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
|
16463
|
+
@verdict = args[:verdict] if args.key?(:verdict)
|
|
16184
16464
|
end
|
|
16185
16465
|
end
|
|
16186
16466
|
|
|
16187
|
-
#
|
|
16188
|
-
class
|
|
16467
|
+
# Customer policy enforcement result for the banned phrase policy.
|
|
16468
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
|
|
16189
16469
|
include Google::Apis::Core::Hashable
|
|
16190
16470
|
|
|
16191
|
-
#
|
|
16192
|
-
# Corresponds to the JSON property `
|
|
16193
|
-
# @return [Array<
|
|
16194
|
-
attr_accessor :
|
|
16471
|
+
# The banned phrases that were found in the query or the answer.
|
|
16472
|
+
# Corresponds to the JSON property `bannedPhrases`
|
|
16473
|
+
# @return [Array<String>]
|
|
16474
|
+
attr_accessor :banned_phrases
|
|
16195
16475
|
|
|
16196
16476
|
def initialize(**args)
|
|
16197
16477
|
update!(**args)
|
|
@@ -16199,12 +16479,503 @@ module Google
|
|
|
16199
16479
|
|
|
16200
16480
|
# Update properties of this object
|
|
16201
16481
|
def update!(**args)
|
|
16202
|
-
@
|
|
16482
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
|
16203
16483
|
end
|
|
16204
16484
|
end
|
|
16205
16485
|
|
|
16206
|
-
#
|
|
16207
|
-
|
|
16486
|
+
# Customer policy enforcement result for the Model Armor policy.
|
|
16487
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
|
|
16488
|
+
include Google::Apis::Core::Hashable
|
|
16489
|
+
|
|
16490
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
16491
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
16492
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
16493
|
+
# data: error code, error message, and error details. You can find out more
|
|
16494
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
16495
|
+
# //cloud.google.com/apis/design/errors).
|
|
16496
|
+
# Corresponds to the JSON property `error`
|
|
16497
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
|
|
16498
|
+
attr_accessor :error
|
|
16499
|
+
|
|
16500
|
+
# The Model Armor violation that was found.
|
|
16501
|
+
# Corresponds to the JSON property `modelArmorViolation`
|
|
16502
|
+
# @return [String]
|
|
16503
|
+
attr_accessor :model_armor_violation
|
|
16504
|
+
|
|
16505
|
+
def initialize(**args)
|
|
16506
|
+
update!(**args)
|
|
16507
|
+
end
|
|
16508
|
+
|
|
16509
|
+
# Update properties of this object
|
|
16510
|
+
def update!(**args)
|
|
16511
|
+
@error = args[:error] if args.key?(:error)
|
|
16512
|
+
@model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
|
|
16513
|
+
end
|
|
16514
|
+
end
|
|
16515
|
+
|
|
16516
|
+
# Customer policy enforcement result for a single policy type.
|
|
16517
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
|
|
16518
|
+
include Google::Apis::Core::Hashable
|
|
16519
|
+
|
|
16520
|
+
# Customer policy enforcement result for the banned phrase policy.
|
|
16521
|
+
# Corresponds to the JSON property `bannedPhraseEnforcementResult`
|
|
16522
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
|
|
16523
|
+
attr_accessor :banned_phrase_enforcement_result
|
|
16524
|
+
|
|
16525
|
+
# Customer policy enforcement result for the Model Armor policy.
|
|
16526
|
+
# Corresponds to the JSON property `modelArmorEnforcementResult`
|
|
16527
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
|
|
16528
|
+
attr_accessor :model_armor_enforcement_result
|
|
16529
|
+
|
|
16530
|
+
def initialize(**args)
|
|
16531
|
+
update!(**args)
|
|
16532
|
+
end
|
|
16533
|
+
|
|
16534
|
+
# Update properties of this object
|
|
16535
|
+
def update!(**args)
|
|
16536
|
+
@banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
|
|
16537
|
+
@model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
|
|
16538
|
+
end
|
|
16539
|
+
end
|
|
16540
|
+
|
|
16541
|
+
# One part of the multi-part response of the assist call.
|
|
16542
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
|
16543
|
+
include Google::Apis::Core::Hashable
|
|
16544
|
+
|
|
16545
|
+
# A piece of content and possibly its grounding information. Not all content
|
|
16546
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
16547
|
+
# not need grounding.
|
|
16548
|
+
# Corresponds to the JSON property `groundedContent`
|
|
16549
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
|
16550
|
+
attr_accessor :grounded_content
|
|
16551
|
+
|
|
16552
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
|
16553
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
|
16554
|
+
# messages with the same ID can occur within the response stream (across
|
|
16555
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
|
16556
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
|
16557
|
+
# Corresponds to the JSON property `replyId`
|
|
16558
|
+
# @return [String]
|
|
16559
|
+
attr_accessor :reply_id
|
|
16560
|
+
|
|
16561
|
+
def initialize(**args)
|
|
16562
|
+
update!(**args)
|
|
16563
|
+
end
|
|
16564
|
+
|
|
16565
|
+
# Update properties of this object
|
|
16566
|
+
def update!(**args)
|
|
16567
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
|
16568
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
|
16569
|
+
end
|
|
16570
|
+
end
|
|
16571
|
+
|
|
16572
|
+
# Multi-modal content.
|
|
16573
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
|
16574
|
+
include Google::Apis::Core::Hashable
|
|
16575
|
+
|
|
16576
|
+
# Result of executing ExecutableCode.
|
|
16577
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
|
16578
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
|
16579
|
+
attr_accessor :code_execution_result
|
|
16580
|
+
|
|
16581
|
+
# Code generated by the model that is meant to be executed by the model.
|
|
16582
|
+
# Corresponds to the JSON property `executableCode`
|
|
16583
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
|
16584
|
+
attr_accessor :executable_code
|
|
16585
|
+
|
|
16586
|
+
# A file, e.g., an audio summary.
|
|
16587
|
+
# Corresponds to the JSON property `file`
|
|
16588
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
|
16589
|
+
attr_accessor :file
|
|
16590
|
+
|
|
16591
|
+
# Inline blob.
|
|
16592
|
+
# Corresponds to the JSON property `inlineData`
|
|
16593
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
|
16594
|
+
attr_accessor :inline_data
|
|
16595
|
+
|
|
16596
|
+
# The producer of the content. Can be "model" or "user".
|
|
16597
|
+
# Corresponds to the JSON property `role`
|
|
16598
|
+
# @return [String]
|
|
16599
|
+
attr_accessor :role
|
|
16600
|
+
|
|
16601
|
+
# Inline text.
|
|
16602
|
+
# Corresponds to the JSON property `text`
|
|
16603
|
+
# @return [String]
|
|
16604
|
+
attr_accessor :text
|
|
16605
|
+
|
|
16606
|
+
# Optional. Indicates if the part is thought from the model.
|
|
16607
|
+
# Corresponds to the JSON property `thought`
|
|
16608
|
+
# @return [Boolean]
|
|
16609
|
+
attr_accessor :thought
|
|
16610
|
+
alias_method :thought?, :thought
|
|
16611
|
+
|
|
16612
|
+
def initialize(**args)
|
|
16613
|
+
update!(**args)
|
|
16614
|
+
end
|
|
16615
|
+
|
|
16616
|
+
# Update properties of this object
|
|
16617
|
+
def update!(**args)
|
|
16618
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
|
16619
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
|
16620
|
+
@file = args[:file] if args.key?(:file)
|
|
16621
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
|
16622
|
+
@role = args[:role] if args.key?(:role)
|
|
16623
|
+
@text = args[:text] if args.key?(:text)
|
|
16624
|
+
@thought = args[:thought] if args.key?(:thought)
|
|
16625
|
+
end
|
|
16626
|
+
end
|
|
16627
|
+
|
|
16628
|
+
# Inline blob.
|
|
16629
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
|
16630
|
+
include Google::Apis::Core::Hashable
|
|
16631
|
+
|
|
16632
|
+
# Required. Raw bytes.
|
|
16633
|
+
# Corresponds to the JSON property `data`
|
|
16634
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
16635
|
+
# @return [String]
|
|
16636
|
+
attr_accessor :data
|
|
16637
|
+
|
|
16638
|
+
# Required. The media type (MIME type) of the generated data.
|
|
16639
|
+
# Corresponds to the JSON property `mimeType`
|
|
16640
|
+
# @return [String]
|
|
16641
|
+
attr_accessor :mime_type
|
|
16642
|
+
|
|
16643
|
+
def initialize(**args)
|
|
16644
|
+
update!(**args)
|
|
16645
|
+
end
|
|
16646
|
+
|
|
16647
|
+
# Update properties of this object
|
|
16648
|
+
def update!(**args)
|
|
16649
|
+
@data = args[:data] if args.key?(:data)
|
|
16650
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16651
|
+
end
|
|
16652
|
+
end
|
|
16653
|
+
|
|
16654
|
+
# Result of executing ExecutableCode.
|
|
16655
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
|
16656
|
+
include Google::Apis::Core::Hashable
|
|
16657
|
+
|
|
16658
|
+
# Required. Outcome of the code execution.
|
|
16659
|
+
# Corresponds to the JSON property `outcome`
|
|
16660
|
+
# @return [String]
|
|
16661
|
+
attr_accessor :outcome
|
|
16662
|
+
|
|
16663
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
|
16664
|
+
# description otherwise.
|
|
16665
|
+
# Corresponds to the JSON property `output`
|
|
16666
|
+
# @return [String]
|
|
16667
|
+
attr_accessor :output
|
|
16668
|
+
|
|
16669
|
+
def initialize(**args)
|
|
16670
|
+
update!(**args)
|
|
16671
|
+
end
|
|
16672
|
+
|
|
16673
|
+
# Update properties of this object
|
|
16674
|
+
def update!(**args)
|
|
16675
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
|
16676
|
+
@output = args[:output] if args.key?(:output)
|
|
16677
|
+
end
|
|
16678
|
+
end
|
|
16679
|
+
|
|
16680
|
+
# Code generated by the model that is meant to be executed by the model.
|
|
16681
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
|
16682
|
+
include Google::Apis::Core::Hashable
|
|
16683
|
+
|
|
16684
|
+
# Required. The code content. Currently only supports Python.
|
|
16685
|
+
# Corresponds to the JSON property `code`
|
|
16686
|
+
# @return [String]
|
|
16687
|
+
attr_accessor :code
|
|
16688
|
+
|
|
16689
|
+
def initialize(**args)
|
|
16690
|
+
update!(**args)
|
|
16691
|
+
end
|
|
16692
|
+
|
|
16693
|
+
# Update properties of this object
|
|
16694
|
+
def update!(**args)
|
|
16695
|
+
@code = args[:code] if args.key?(:code)
|
|
16696
|
+
end
|
|
16697
|
+
end
|
|
16698
|
+
|
|
16699
|
+
# A file, e.g., an audio summary.
|
|
16700
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
|
16701
|
+
include Google::Apis::Core::Hashable
|
|
16702
|
+
|
|
16703
|
+
# Required. The file ID.
|
|
16704
|
+
# Corresponds to the JSON property `fileId`
|
|
16705
|
+
# @return [String]
|
|
16706
|
+
attr_accessor :file_id
|
|
16707
|
+
|
|
16708
|
+
# Required. The media type (MIME type) of the file.
|
|
16709
|
+
# Corresponds to the JSON property `mimeType`
|
|
16710
|
+
# @return [String]
|
|
16711
|
+
attr_accessor :mime_type
|
|
16712
|
+
|
|
16713
|
+
def initialize(**args)
|
|
16714
|
+
update!(**args)
|
|
16715
|
+
end
|
|
16716
|
+
|
|
16717
|
+
# Update properties of this object
|
|
16718
|
+
def update!(**args)
|
|
16719
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
|
16720
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16721
|
+
end
|
|
16722
|
+
end
|
|
16723
|
+
|
|
16724
|
+
# A piece of content and possibly its grounding information. Not all content
|
|
16725
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
16726
|
+
# not need grounding.
|
|
16727
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
|
16728
|
+
include Google::Apis::Core::Hashable
|
|
16729
|
+
|
|
16730
|
+
# A collection of source attributions for a piece of content.
|
|
16731
|
+
# Corresponds to the JSON property `citationMetadata`
|
|
16732
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCitationMetadata]
|
|
16733
|
+
attr_accessor :citation_metadata
|
|
16734
|
+
|
|
16735
|
+
# Multi-modal content.
|
|
16736
|
+
# Corresponds to the JSON property `content`
|
|
16737
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
|
16738
|
+
attr_accessor :content
|
|
16739
|
+
|
|
16740
|
+
# Grounding details for text sources.
|
|
16741
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
|
16742
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
|
16743
|
+
attr_accessor :text_grounding_metadata
|
|
16744
|
+
|
|
16745
|
+
def initialize(**args)
|
|
16746
|
+
update!(**args)
|
|
16747
|
+
end
|
|
16748
|
+
|
|
16749
|
+
# Update properties of this object
|
|
16750
|
+
def update!(**args)
|
|
16751
|
+
@citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
|
|
16752
|
+
@content = args[:content] if args.key?(:content)
|
|
16753
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
|
16754
|
+
end
|
|
16755
|
+
end
|
|
16756
|
+
|
|
16757
|
+
# Grounding details for text sources.
|
|
16758
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
|
16759
|
+
include Google::Apis::Core::Hashable
|
|
16760
|
+
|
|
16761
|
+
# References for the grounded text.
|
|
16762
|
+
# Corresponds to the JSON property `references`
|
|
16763
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
|
16764
|
+
attr_accessor :references
|
|
16765
|
+
|
|
16766
|
+
# Grounding information for parts of the text.
|
|
16767
|
+
# Corresponds to the JSON property `segments`
|
|
16768
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
|
16769
|
+
attr_accessor :segments
|
|
16770
|
+
|
|
16771
|
+
def initialize(**args)
|
|
16772
|
+
update!(**args)
|
|
16773
|
+
end
|
|
16774
|
+
|
|
16775
|
+
# Update properties of this object
|
|
16776
|
+
def update!(**args)
|
|
16777
|
+
@references = args[:references] if args.key?(:references)
|
|
16778
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
16779
|
+
end
|
|
16780
|
+
end
|
|
16781
|
+
|
|
16782
|
+
# Referenced content and related document metadata.
|
|
16783
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
16784
|
+
include Google::Apis::Core::Hashable
|
|
16785
|
+
|
|
16786
|
+
# Referenced text content.
|
|
16787
|
+
# Corresponds to the JSON property `content`
|
|
16788
|
+
# @return [String]
|
|
16789
|
+
attr_accessor :content
|
|
16790
|
+
|
|
16791
|
+
# Document metadata.
|
|
16792
|
+
# Corresponds to the JSON property `documentMetadata`
|
|
16793
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
|
16794
|
+
attr_accessor :document_metadata
|
|
16795
|
+
|
|
16796
|
+
def initialize(**args)
|
|
16797
|
+
update!(**args)
|
|
16798
|
+
end
|
|
16799
|
+
|
|
16800
|
+
# Update properties of this object
|
|
16801
|
+
def update!(**args)
|
|
16802
|
+
@content = args[:content] if args.key?(:content)
|
|
16803
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
16804
|
+
end
|
|
16805
|
+
end
|
|
16806
|
+
|
|
16807
|
+
# Document metadata.
|
|
16808
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
|
16809
|
+
include Google::Apis::Core::Hashable
|
|
16810
|
+
|
|
16811
|
+
# Document resource name.
|
|
16812
|
+
# Corresponds to the JSON property `document`
|
|
16813
|
+
# @return [String]
|
|
16814
|
+
attr_accessor :document
|
|
16815
|
+
|
|
16816
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
|
16817
|
+
# that redirects to the actual website, in which case this will contain the
|
|
16818
|
+
# domain name of the target site.
|
|
16819
|
+
# Corresponds to the JSON property `domain`
|
|
16820
|
+
# @return [String]
|
|
16821
|
+
attr_accessor :domain
|
|
16822
|
+
|
|
16823
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
|
16824
|
+
# media-types.xhtml.
|
|
16825
|
+
# Corresponds to the JSON property `mimeType`
|
|
16826
|
+
# @return [String]
|
|
16827
|
+
attr_accessor :mime_type
|
|
16828
|
+
|
|
16829
|
+
# Page identifier.
|
|
16830
|
+
# Corresponds to the JSON property `pageIdentifier`
|
|
16831
|
+
# @return [String]
|
|
16832
|
+
attr_accessor :page_identifier
|
|
16833
|
+
|
|
16834
|
+
# Title.
|
|
16835
|
+
# Corresponds to the JSON property `title`
|
|
16836
|
+
# @return [String]
|
|
16837
|
+
attr_accessor :title
|
|
16838
|
+
|
|
16839
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
|
16840
|
+
# website.
|
|
16841
|
+
# Corresponds to the JSON property `uri`
|
|
16842
|
+
# @return [String]
|
|
16843
|
+
attr_accessor :uri
|
|
16844
|
+
|
|
16845
|
+
def initialize(**args)
|
|
16846
|
+
update!(**args)
|
|
16847
|
+
end
|
|
16848
|
+
|
|
16849
|
+
# Update properties of this object
|
|
16850
|
+
def update!(**args)
|
|
16851
|
+
@document = args[:document] if args.key?(:document)
|
|
16852
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
16853
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16854
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
|
16855
|
+
@title = args[:title] if args.key?(:title)
|
|
16856
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
16857
|
+
end
|
|
16858
|
+
end
|
|
16859
|
+
|
|
16860
|
+
# Grounding information for a segment of the text.
|
|
16861
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
|
16862
|
+
include Google::Apis::Core::Hashable
|
|
16863
|
+
|
|
16864
|
+
# End of the segment, exclusive.
|
|
16865
|
+
# Corresponds to the JSON property `endIndex`
|
|
16866
|
+
# @return [Fixnum]
|
|
16867
|
+
attr_accessor :end_index
|
|
16868
|
+
|
|
16869
|
+
# Score for the segment.
|
|
16870
|
+
# Corresponds to the JSON property `groundingScore`
|
|
16871
|
+
# @return [Float]
|
|
16872
|
+
attr_accessor :grounding_score
|
|
16873
|
+
|
|
16874
|
+
# References for the segment.
|
|
16875
|
+
# Corresponds to the JSON property `referenceIndices`
|
|
16876
|
+
# @return [Array<Fixnum>]
|
|
16877
|
+
attr_accessor :reference_indices
|
|
16878
|
+
|
|
16879
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
|
16880
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
|
16881
|
+
# than one).
|
|
16882
|
+
# Corresponds to the JSON property `startIndex`
|
|
16883
|
+
# @return [Fixnum]
|
|
16884
|
+
attr_accessor :start_index
|
|
16885
|
+
|
|
16886
|
+
# The text segment itself.
|
|
16887
|
+
# Corresponds to the JSON property `text`
|
|
16888
|
+
# @return [String]
|
|
16889
|
+
attr_accessor :text
|
|
16890
|
+
|
|
16891
|
+
def initialize(**args)
|
|
16892
|
+
update!(**args)
|
|
16893
|
+
end
|
|
16894
|
+
|
|
16895
|
+
# Update properties of this object
|
|
16896
|
+
def update!(**args)
|
|
16897
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
|
16898
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
|
16899
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
|
16900
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
|
16901
|
+
@text = args[:text] if args.key?(:text)
|
|
16902
|
+
end
|
|
16903
|
+
end
|
|
16904
|
+
|
|
16905
|
+
# The configuration for the BAP connector.
|
|
16906
|
+
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
|
16907
|
+
include Google::Apis::Core::Hashable
|
|
16908
|
+
|
|
16909
|
+
# Optional. The actions enabled on the associated BAP connection.
|
|
16910
|
+
# Corresponds to the JSON property `enabledActions`
|
|
16911
|
+
# @return [Array<String>]
|
|
16912
|
+
attr_accessor :enabled_actions
|
|
16913
|
+
|
|
16914
|
+
# Required. The supported connector modes for the associated BAP connection.
|
|
16915
|
+
# Corresponds to the JSON property `supportedConnectorModes`
|
|
16916
|
+
# @return [Array<String>]
|
|
16917
|
+
attr_accessor :supported_connector_modes
|
|
16918
|
+
|
|
16919
|
+
def initialize(**args)
|
|
16920
|
+
update!(**args)
|
|
16921
|
+
end
|
|
16922
|
+
|
|
16923
|
+
# Update properties of this object
|
|
16924
|
+
def update!(**args)
|
|
16925
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
|
16926
|
+
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
|
16927
|
+
end
|
|
16928
|
+
end
|
|
16929
|
+
|
|
16930
|
+
# Metadata related to the progress of the SiteSearchEngineService.
|
|
16931
|
+
# BatchCreateTargetSites operation. This will be returned by the google.
|
|
16932
|
+
# longrunning.Operation.metadata field.
|
|
16933
|
+
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
|
|
16934
|
+
include Google::Apis::Core::Hashable
|
|
16935
|
+
|
|
16936
|
+
# Operation create time.
|
|
16937
|
+
# Corresponds to the JSON property `createTime`
|
|
16938
|
+
# @return [String]
|
|
16939
|
+
attr_accessor :create_time
|
|
16940
|
+
|
|
16941
|
+
# Operation last update time. If the operation is done, this is also the finish
|
|
16942
|
+
# time.
|
|
16943
|
+
# Corresponds to the JSON property `updateTime`
|
|
16944
|
+
# @return [String]
|
|
16945
|
+
attr_accessor :update_time
|
|
16946
|
+
|
|
16947
|
+
def initialize(**args)
|
|
16948
|
+
update!(**args)
|
|
16949
|
+
end
|
|
16950
|
+
|
|
16951
|
+
# Update properties of this object
|
|
16952
|
+
def update!(**args)
|
|
16953
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
16954
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
16955
|
+
end
|
|
16956
|
+
end
|
|
16957
|
+
|
|
16958
|
+
# Response message for SiteSearchEngineService.BatchCreateTargetSites method.
|
|
16959
|
+
class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
|
|
16960
|
+
include Google::Apis::Core::Hashable
|
|
16961
|
+
|
|
16962
|
+
# TargetSites created.
|
|
16963
|
+
# Corresponds to the JSON property `targetSites`
|
|
16964
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaTargetSite>]
|
|
16965
|
+
attr_accessor :target_sites
|
|
16966
|
+
|
|
16967
|
+
def initialize(**args)
|
|
16968
|
+
update!(**args)
|
|
16969
|
+
end
|
|
16970
|
+
|
|
16971
|
+
# Update properties of this object
|
|
16972
|
+
def update!(**args)
|
|
16973
|
+
@target_sites = args[:target_sites] if args.key?(:target_sites)
|
|
16974
|
+
end
|
|
16975
|
+
end
|
|
16976
|
+
|
|
16977
|
+
# Metadata related to the progress of the UserLicenseService.
|
|
16978
|
+
# BatchUpdateUserLicenses operation. This will be returned by the google.
|
|
16208
16979
|
# longrunning.Operation.metadata field.
|
|
16209
16980
|
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
|
16210
16981
|
include Google::Apis::Core::Hashable
|
|
@@ -16268,6 +17039,81 @@ module Google
|
|
|
16268
17039
|
end
|
|
16269
17040
|
end
|
|
16270
17041
|
|
|
17042
|
+
# Source attributions for content.
|
|
17043
|
+
class GoogleCloudDiscoveryengineV1alphaCitation
|
|
17044
|
+
include Google::Apis::Core::Hashable
|
|
17045
|
+
|
|
17046
|
+
# Output only. End index into the content.
|
|
17047
|
+
# Corresponds to the JSON property `endIndex`
|
|
17048
|
+
# @return [Fixnum]
|
|
17049
|
+
attr_accessor :end_index
|
|
17050
|
+
|
|
17051
|
+
# Output only. License of the attribution.
|
|
17052
|
+
# Corresponds to the JSON property `license`
|
|
17053
|
+
# @return [String]
|
|
17054
|
+
attr_accessor :license
|
|
17055
|
+
|
|
17056
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
17057
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
17058
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
17059
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
17060
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
17061
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
17062
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
17063
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
17064
|
+
# Corresponds to the JSON property `publicationDate`
|
|
17065
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
17066
|
+
attr_accessor :publication_date
|
|
17067
|
+
|
|
17068
|
+
# Output only. Start index into the content.
|
|
17069
|
+
# Corresponds to the JSON property `startIndex`
|
|
17070
|
+
# @return [Fixnum]
|
|
17071
|
+
attr_accessor :start_index
|
|
17072
|
+
|
|
17073
|
+
# Output only. Title of the attribution.
|
|
17074
|
+
# Corresponds to the JSON property `title`
|
|
17075
|
+
# @return [String]
|
|
17076
|
+
attr_accessor :title
|
|
17077
|
+
|
|
17078
|
+
# Output only. Url reference of the attribution.
|
|
17079
|
+
# Corresponds to the JSON property `uri`
|
|
17080
|
+
# @return [String]
|
|
17081
|
+
attr_accessor :uri
|
|
17082
|
+
|
|
17083
|
+
def initialize(**args)
|
|
17084
|
+
update!(**args)
|
|
17085
|
+
end
|
|
17086
|
+
|
|
17087
|
+
# Update properties of this object
|
|
17088
|
+
def update!(**args)
|
|
17089
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
|
17090
|
+
@license = args[:license] if args.key?(:license)
|
|
17091
|
+
@publication_date = args[:publication_date] if args.key?(:publication_date)
|
|
17092
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
|
17093
|
+
@title = args[:title] if args.key?(:title)
|
|
17094
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
17095
|
+
end
|
|
17096
|
+
end
|
|
17097
|
+
|
|
17098
|
+
# A collection of source attributions for a piece of content.
|
|
17099
|
+
class GoogleCloudDiscoveryengineV1alphaCitationMetadata
|
|
17100
|
+
include Google::Apis::Core::Hashable
|
|
17101
|
+
|
|
17102
|
+
# Output only. List of citations.
|
|
17103
|
+
# Corresponds to the JSON property `citations`
|
|
17104
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCitation>]
|
|
17105
|
+
attr_accessor :citations
|
|
17106
|
+
|
|
17107
|
+
def initialize(**args)
|
|
17108
|
+
update!(**args)
|
|
17109
|
+
end
|
|
17110
|
+
|
|
17111
|
+
# Update properties of this object
|
|
17112
|
+
def update!(**args)
|
|
17113
|
+
@citations = args[:citations] if args.key?(:citations)
|
|
17114
|
+
end
|
|
17115
|
+
end
|
|
17116
|
+
|
|
16271
17117
|
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
16272
17118
|
class GoogleCloudDiscoveryengineV1alphaCmekConfig
|
|
16273
17119
|
include Google::Apis::Core::Hashable
|
|
@@ -16670,6 +17516,27 @@ module Google
|
|
|
16670
17516
|
end
|
|
16671
17517
|
end
|
|
16672
17518
|
|
|
17519
|
+
# The contact info stored in resource level. If both project level and resource
|
|
17520
|
+
# level is populated, the resource level contact info will override the project
|
|
17521
|
+
# level contact info.
|
|
17522
|
+
class GoogleCloudDiscoveryengineV1alphaContactDetails
|
|
17523
|
+
include Google::Apis::Core::Hashable
|
|
17524
|
+
|
|
17525
|
+
# Optional. The email address of the contact.
|
|
17526
|
+
# Corresponds to the JSON property `emailAddress`
|
|
17527
|
+
# @return [String]
|
|
17528
|
+
attr_accessor :email_address
|
|
17529
|
+
|
|
17530
|
+
def initialize(**args)
|
|
17531
|
+
update!(**args)
|
|
17532
|
+
end
|
|
17533
|
+
|
|
17534
|
+
# Update properties of this object
|
|
17535
|
+
def update!(**args)
|
|
17536
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
17537
|
+
end
|
|
17538
|
+
end
|
|
17539
|
+
|
|
16673
17540
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
|
16674
17541
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
|
16675
17542
|
# `SolutionType`.
|
|
@@ -17734,8 +18601,7 @@ module Google
|
|
|
17734
18601
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
|
17735
18602
|
attr_accessor :cmek_config
|
|
17736
18603
|
|
|
17737
|
-
# Optional. Configuration for configurable billing approach. See
|
|
17738
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
|
18604
|
+
# Optional. Configuration for configurable billing approach. See
|
|
17739
18605
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
17740
18606
|
# @return [String]
|
|
17741
18607
|
attr_accessor :configurable_billing_approach
|
|
@@ -18633,8 +19499,7 @@ module Google
|
|
|
18633
19499
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
|
18634
19500
|
attr_accessor :common_config
|
|
18635
19501
|
|
|
18636
|
-
# Optional. Configuration for configurable billing approach.
|
|
18637
|
-
# repricing-billing-dd for more details.
|
|
19502
|
+
# Optional. Configuration for configurable billing approach.
|
|
18638
19503
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
18639
19504
|
# @return [String]
|
|
18640
19505
|
attr_accessor :configurable_billing_approach
|
|
@@ -18671,8 +19536,9 @@ module Google
|
|
|
18671
19536
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
18672
19537
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
18673
19538
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
18674
|
-
# personalization-memory` * `disable-
|
|
18675
|
-
# generation` * `disable-onedrive-upload`
|
|
19539
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
19540
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
19541
|
+
# content` * `disable-google-drive-upload`
|
|
18676
19542
|
# Corresponds to the JSON property `features`
|
|
18677
19543
|
# @return [Hash<String,String>]
|
|
18678
19544
|
attr_accessor :features
|
|
@@ -20145,6 +21011,106 @@ module Google
|
|
|
20145
21011
|
end
|
|
20146
21012
|
end
|
|
20147
21013
|
|
|
21014
|
+
# Information about users' licenses.
|
|
21015
|
+
class GoogleCloudDiscoveryengineV1alphaLicenseConfig
|
|
21016
|
+
include Google::Apis::Core::Hashable
|
|
21017
|
+
|
|
21018
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
21019
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
21020
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
|
21021
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
|
|
21022
|
+
attr_accessor :alert_policy_resource_config
|
|
21023
|
+
|
|
21024
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
21025
|
+
# the end date.
|
|
21026
|
+
# Corresponds to the JSON property `autoRenew`
|
|
21027
|
+
# @return [Boolean]
|
|
21028
|
+
attr_accessor :auto_renew
|
|
21029
|
+
alias_method :auto_renew?, :auto_renew
|
|
21030
|
+
|
|
21031
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
21032
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
21033
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
21034
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
21035
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
21036
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
21037
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
21038
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
21039
|
+
# Corresponds to the JSON property `endDate`
|
|
21040
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
21041
|
+
attr_accessor :end_date
|
|
21042
|
+
|
|
21043
|
+
# Optional. Whether the license config is for free trial.
|
|
21044
|
+
# Corresponds to the JSON property `freeTrial`
|
|
21045
|
+
# @return [Boolean]
|
|
21046
|
+
attr_accessor :free_trial
|
|
21047
|
+
alias_method :free_trial?, :free_trial
|
|
21048
|
+
|
|
21049
|
+
# Output only. Whether the license config is for Gemini bundle.
|
|
21050
|
+
# Corresponds to the JSON property `geminiBundle`
|
|
21051
|
+
# @return [Boolean]
|
|
21052
|
+
attr_accessor :gemini_bundle
|
|
21053
|
+
alias_method :gemini_bundle?, :gemini_bundle
|
|
21054
|
+
|
|
21055
|
+
# Required. Number of licenses purchased.
|
|
21056
|
+
# Corresponds to the JSON property `licenseCount`
|
|
21057
|
+
# @return [Fixnum]
|
|
21058
|
+
attr_accessor :license_count
|
|
21059
|
+
|
|
21060
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
21061
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
21062
|
+
# license_config``
|
|
21063
|
+
# Corresponds to the JSON property `name`
|
|
21064
|
+
# @return [String]
|
|
21065
|
+
attr_accessor :name
|
|
21066
|
+
|
|
21067
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
21068
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
21069
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
21070
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
21071
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
21072
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
21073
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
21074
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
21075
|
+
# Corresponds to the JSON property `startDate`
|
|
21076
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
21077
|
+
attr_accessor :start_date
|
|
21078
|
+
|
|
21079
|
+
# Output only. The state of the license config.
|
|
21080
|
+
# Corresponds to the JSON property `state`
|
|
21081
|
+
# @return [String]
|
|
21082
|
+
attr_accessor :state
|
|
21083
|
+
|
|
21084
|
+
# Required. Subscription term.
|
|
21085
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
21086
|
+
# @return [String]
|
|
21087
|
+
attr_accessor :subscription_term
|
|
21088
|
+
|
|
21089
|
+
# Required. Subscription tier information for the license config.
|
|
21090
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
21091
|
+
# @return [String]
|
|
21092
|
+
attr_accessor :subscription_tier
|
|
21093
|
+
|
|
21094
|
+
def initialize(**args)
|
|
21095
|
+
update!(**args)
|
|
21096
|
+
end
|
|
21097
|
+
|
|
21098
|
+
# Update properties of this object
|
|
21099
|
+
def update!(**args)
|
|
21100
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
|
21101
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
21102
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
21103
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
21104
|
+
@gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
|
|
21105
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
21106
|
+
@name = args[:name] if args.key?(:name)
|
|
21107
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
21108
|
+
@state = args[:state] if args.key?(:state)
|
|
21109
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
21110
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
21111
|
+
end
|
|
21112
|
+
end
|
|
21113
|
+
|
|
20148
21114
|
# Request for ListSessions method.
|
|
20149
21115
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
|
20150
21116
|
include Google::Apis::Core::Hashable
|
|
@@ -22674,6 +23640,12 @@ module Google
|
|
|
22674
23640
|
attr_accessor :is_pinned
|
|
22675
23641
|
alias_method :is_pinned?, :is_pinned
|
|
22676
23642
|
|
|
23643
|
+
# Optional. The labels for the session. Can be set as filter in
|
|
23644
|
+
# ListSessionsRequest.
|
|
23645
|
+
# Corresponds to the JSON property `labels`
|
|
23646
|
+
# @return [Array<String>]
|
|
23647
|
+
attr_accessor :labels
|
|
23648
|
+
|
|
22677
23649
|
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
|
22678
23650
|
# collections/`collection`/engines/`engine`/sessions/*`
|
|
22679
23651
|
# Corresponds to the JSON property `name`
|
|
@@ -22709,6 +23681,7 @@ module Google
|
|
|
22709
23681
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
22710
23682
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
22711
23683
|
@is_pinned = args[:is_pinned] if args.key?(:is_pinned)
|
|
23684
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
22712
23685
|
@name = args[:name] if args.key?(:name)
|
|
22713
23686
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
22714
23687
|
@state = args[:state] if args.key?(:state)
|
|
@@ -22732,6 +23705,11 @@ module Google
|
|
|
22732
23705
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswer]
|
|
22733
23706
|
attr_accessor :detailed_answer
|
|
22734
23707
|
|
|
23708
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
23709
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
|
23710
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
|
23711
|
+
attr_accessor :detailed_assist_answer
|
|
23712
|
+
|
|
22735
23713
|
# Defines a user inputed query.
|
|
22736
23714
|
# Corresponds to the JSON property `query`
|
|
22737
23715
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQuery]
|
|
@@ -22752,6 +23730,7 @@ module Google
|
|
|
22752
23730
|
def update!(**args)
|
|
22753
23731
|
@answer = args[:answer] if args.key?(:answer)
|
|
22754
23732
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
23733
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
22755
23734
|
@query = args[:query] if args.key?(:query)
|
|
22756
23735
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
22757
23736
|
end
|
|
@@ -24347,8 +25326,7 @@ module Google
|
|
|
24347
25326
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
|
24348
25327
|
attr_accessor :cmek_config
|
|
24349
25328
|
|
|
24350
|
-
# Optional. Configuration for configurable billing approach. See
|
|
24351
|
-
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
|
25329
|
+
# Optional. Configuration for configurable billing approach. See
|
|
24352
25330
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
24353
25331
|
# @return [String]
|
|
24354
25332
|
attr_accessor :configurable_billing_approach
|
|
@@ -25100,8 +26078,7 @@ module Google
|
|
|
25100
26078
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
|
25101
26079
|
attr_accessor :common_config
|
|
25102
26080
|
|
|
25103
|
-
# Optional. Configuration for configurable billing approach.
|
|
25104
|
-
# repricing-billing-dd for more details.
|
|
26081
|
+
# Optional. Configuration for configurable billing approach.
|
|
25105
26082
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
25106
26083
|
# @return [String]
|
|
25107
26084
|
attr_accessor :configurable_billing_approach
|
|
@@ -25138,8 +26115,9 @@ module Google
|
|
|
25138
26115
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
25139
26116
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
25140
26117
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
25141
|
-
# personalization-memory` * `disable-
|
|
25142
|
-
# generation` * `disable-onedrive-upload`
|
|
26118
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
26119
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
26120
|
+
# content` * `disable-google-drive-upload`
|
|
25143
26121
|
# Corresponds to the JSON property `features`
|
|
25144
26122
|
# @return [Hash<String,String>]
|
|
25145
26123
|
attr_accessor :features
|
|
@@ -26205,6 +27183,99 @@ module Google
|
|
|
26205
27183
|
end
|
|
26206
27184
|
end
|
|
26207
27185
|
|
|
27186
|
+
# Information about users' licenses.
|
|
27187
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfig
|
|
27188
|
+
include Google::Apis::Core::Hashable
|
|
27189
|
+
|
|
27190
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
27191
|
+
# the end date.
|
|
27192
|
+
# Corresponds to the JSON property `autoRenew`
|
|
27193
|
+
# @return [Boolean]
|
|
27194
|
+
attr_accessor :auto_renew
|
|
27195
|
+
alias_method :auto_renew?, :auto_renew
|
|
27196
|
+
|
|
27197
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
27198
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
27199
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
27200
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
27201
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
27202
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
27203
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
27204
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
27205
|
+
# Corresponds to the JSON property `endDate`
|
|
27206
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
27207
|
+
attr_accessor :end_date
|
|
27208
|
+
|
|
27209
|
+
# Optional. Whether the license config is for free trial.
|
|
27210
|
+
# Corresponds to the JSON property `freeTrial`
|
|
27211
|
+
# @return [Boolean]
|
|
27212
|
+
attr_accessor :free_trial
|
|
27213
|
+
alias_method :free_trial?, :free_trial
|
|
27214
|
+
|
|
27215
|
+
# Output only. Whether the license config is for Gemini bundle.
|
|
27216
|
+
# Corresponds to the JSON property `geminiBundle`
|
|
27217
|
+
# @return [Boolean]
|
|
27218
|
+
attr_accessor :gemini_bundle
|
|
27219
|
+
alias_method :gemini_bundle?, :gemini_bundle
|
|
27220
|
+
|
|
27221
|
+
# Required. Number of licenses purchased.
|
|
27222
|
+
# Corresponds to the JSON property `licenseCount`
|
|
27223
|
+
# @return [Fixnum]
|
|
27224
|
+
attr_accessor :license_count
|
|
27225
|
+
|
|
27226
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
27227
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
27228
|
+
# license_config``
|
|
27229
|
+
# Corresponds to the JSON property `name`
|
|
27230
|
+
# @return [String]
|
|
27231
|
+
attr_accessor :name
|
|
27232
|
+
|
|
27233
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
27234
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
27235
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
27236
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
27237
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
27238
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
27239
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
27240
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
27241
|
+
# Corresponds to the JSON property `startDate`
|
|
27242
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
27243
|
+
attr_accessor :start_date
|
|
27244
|
+
|
|
27245
|
+
# Output only. The state of the license config.
|
|
27246
|
+
# Corresponds to the JSON property `state`
|
|
27247
|
+
# @return [String]
|
|
27248
|
+
attr_accessor :state
|
|
27249
|
+
|
|
27250
|
+
# Required. Subscription term.
|
|
27251
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
27252
|
+
# @return [String]
|
|
27253
|
+
attr_accessor :subscription_term
|
|
27254
|
+
|
|
27255
|
+
# Required. Subscription tier information for the license config.
|
|
27256
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
27257
|
+
# @return [String]
|
|
27258
|
+
attr_accessor :subscription_tier
|
|
27259
|
+
|
|
27260
|
+
def initialize(**args)
|
|
27261
|
+
update!(**args)
|
|
27262
|
+
end
|
|
27263
|
+
|
|
27264
|
+
# Update properties of this object
|
|
27265
|
+
def update!(**args)
|
|
27266
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
27267
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
27268
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
27269
|
+
@gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
|
|
27270
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
27271
|
+
@name = args[:name] if args.key?(:name)
|
|
27272
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
27273
|
+
@state = args[:state] if args.key?(:state)
|
|
27274
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
27275
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
27276
|
+
end
|
|
27277
|
+
end
|
|
27278
|
+
|
|
26208
27279
|
# Configuration for Natural Language Query Understanding.
|
|
26209
27280
|
class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
|
|
26210
27281
|
include Google::Apis::Core::Hashable
|