google-apis-discoveryengine_v1beta 0.83.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +1193 -55
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +482 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +249 -15
- metadata +2 -2
@@ -1463,12 +1463,7 @@ module Google
|
|
1463
1463
|
class GoogleCloudDiscoveryengineV1ActionConfig
|
1464
1464
|
include Google::Apis::Core::Hashable
|
1465
1465
|
|
1466
|
-
#
|
1467
|
-
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
|
1468
|
-
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
|
1469
|
-
# client_id` * Value: type STRING. The client ID for the service provider to
|
1470
|
-
# identify your application. * Key: `client_secret` * Value:type STRING. The
|
1471
|
-
# client secret generated by the application's authorization server.
|
1466
|
+
# Optional. Action parameters in structured json format.
|
1472
1467
|
# Corresponds to the JSON property `actionParams`
|
1473
1468
|
# @return [Hash<String,Object>]
|
1474
1469
|
attr_accessor :action_params
|
@@ -1480,6 +1475,11 @@ module Google
|
|
1480
1475
|
attr_accessor :is_action_configured
|
1481
1476
|
alias_method :is_action_configured?, :is_action_configured
|
1482
1477
|
|
1478
|
+
# Optional. Action parameters in json string format.
|
1479
|
+
# Corresponds to the JSON property `jsonActionParams`
|
1480
|
+
# @return [String]
|
1481
|
+
attr_accessor :json_action_params
|
1482
|
+
|
1483
1483
|
# Optional. The Service Directory resource name (projects/*/locations/*/
|
1484
1484
|
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
1485
1485
|
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
@@ -1503,6 +1503,7 @@ module Google
|
|
1503
1503
|
def update!(**args)
|
1504
1504
|
@action_params = args[:action_params] if args.key?(:action_params)
|
1505
1505
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
1506
|
+
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
1506
1507
|
@service_name = args[:service_name] if args.key?(:service_name)
|
1507
1508
|
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
1508
1509
|
end
|
@@ -1585,6 +1586,77 @@ module Google
|
|
1585
1586
|
end
|
1586
1587
|
end
|
1587
1588
|
|
1589
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
1590
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
1591
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig
|
1592
|
+
include Google::Apis::Core::Hashable
|
1593
|
+
|
1594
|
+
# Optional. The enrollment state of each alert.
|
1595
|
+
# Corresponds to the JSON property `alertEnrollments`
|
1596
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment>]
|
1597
|
+
attr_accessor :alert_enrollments
|
1598
|
+
|
1599
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
1600
|
+
# Corresponds to the JSON property `alertPolicy`
|
1601
|
+
# @return [String]
|
1602
|
+
attr_accessor :alert_policy
|
1603
|
+
|
1604
|
+
# Optional. The contact details for each alert policy.
|
1605
|
+
# Corresponds to the JSON property `contactDetails`
|
1606
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ContactDetails>]
|
1607
|
+
attr_accessor :contact_details
|
1608
|
+
|
1609
|
+
# Optional. The language code used for notifications
|
1610
|
+
# Corresponds to the JSON property `languageCode`
|
1611
|
+
# @return [String]
|
1612
|
+
attr_accessor :language_code
|
1613
|
+
|
1614
|
+
def initialize(**args)
|
1615
|
+
update!(**args)
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
# Update properties of this object
|
1619
|
+
def update!(**args)
|
1620
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
1621
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
1622
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
1623
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# The alert enrollment status.
|
1628
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment
|
1629
|
+
include Google::Apis::Core::Hashable
|
1630
|
+
|
1631
|
+
# Immutable. The id of an alert.
|
1632
|
+
# Corresponds to the JSON property `alertId`
|
1633
|
+
# @return [String]
|
1634
|
+
attr_accessor :alert_id
|
1635
|
+
|
1636
|
+
# Required. The enrollment status of a customer.
|
1637
|
+
# Corresponds to the JSON property `enrollState`
|
1638
|
+
# @return [String]
|
1639
|
+
attr_accessor :enroll_state
|
1640
|
+
|
1641
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
1642
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
1643
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
1644
|
+
# Corresponds to the JSON property `notificationParams`
|
1645
|
+
# @return [Hash<String,String>]
|
1646
|
+
attr_accessor :notification_params
|
1647
|
+
|
1648
|
+
def initialize(**args)
|
1649
|
+
update!(**args)
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# Update properties of this object
|
1653
|
+
def update!(**args)
|
1654
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
1655
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
1656
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
|
1588
1660
|
# The specification for answer generation.
|
1589
1661
|
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
1590
1662
|
include Google::Apis::Core::Hashable
|
@@ -1915,6 +1987,11 @@ module Google
|
|
1915
1987
|
class GoogleCloudDiscoveryengineV1BapConfig
|
1916
1988
|
include Google::Apis::Core::Hashable
|
1917
1989
|
|
1990
|
+
# Optional. The actions enabled on the associated BAP connection.
|
1991
|
+
# Corresponds to the JSON property `enabledActions`
|
1992
|
+
# @return [Array<String>]
|
1993
|
+
attr_accessor :enabled_actions
|
1994
|
+
|
1918
1995
|
# Required. The supported connector modes for the associated BAP connection.
|
1919
1996
|
# Corresponds to the JSON property `supportedConnectorModes`
|
1920
1997
|
# @return [Array<String>]
|
@@ -1926,6 +2003,7 @@ module Google
|
|
1926
2003
|
|
1927
2004
|
# Update properties of this object
|
1928
2005
|
def update!(**args)
|
2006
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
1929
2007
|
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
1930
2008
|
end
|
1931
2009
|
end
|
@@ -2232,6 +2310,27 @@ module Google
|
|
2232
2310
|
end
|
2233
2311
|
end
|
2234
2312
|
|
2313
|
+
# The contact info stored in resource level. If both project level and resource
|
2314
|
+
# level is populated, the resource level contact info will override the project
|
2315
|
+
# level contact info.
|
2316
|
+
class GoogleCloudDiscoveryengineV1ContactDetails
|
2317
|
+
include Google::Apis::Core::Hashable
|
2318
|
+
|
2319
|
+
# Optional. The email address of the contact.
|
2320
|
+
# Corresponds to the JSON property `emailAddress`
|
2321
|
+
# @return [String]
|
2322
|
+
attr_accessor :email_address
|
2323
|
+
|
2324
|
+
def initialize(**args)
|
2325
|
+
update!(**args)
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# Update properties of this object
|
2329
|
+
def update!(**args)
|
2330
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2235
2334
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
2236
2335
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
2237
2336
|
# `SolutionType`.
|
@@ -3021,6 +3120,12 @@ module Google
|
|
3021
3120
|
# @return [Hash<String,Object>]
|
3022
3121
|
attr_accessor :auth_params
|
3023
3122
|
|
3123
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
3124
|
+
# string format.
|
3125
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
3126
|
+
# @return [String]
|
3127
|
+
attr_accessor :json_auth_params
|
3128
|
+
|
3024
3129
|
# Tenant information for a connector source. This includes some of the same
|
3025
3130
|
# information stored in the Credential message, but is limited to only what is
|
3026
3131
|
# needed to provide a list of accessible tenants to the user.
|
@@ -3036,6 +3141,7 @@ module Google
|
|
3036
3141
|
def update!(**args)
|
3037
3142
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3038
3143
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3144
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
3039
3145
|
@tenant = args[:tenant] if args.key?(:tenant)
|
3040
3146
|
end
|
3041
3147
|
end
|
@@ -3050,11 +3156,17 @@ module Google
|
|
3050
3156
|
# @return [Hash<String,Object>]
|
3051
3157
|
attr_accessor :additional_params
|
3052
3158
|
|
3053
|
-
# Optional. Any authentication parameters specific to FEDERATED.
|
3159
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
3054
3160
|
# Corresponds to the JSON property `authParams`
|
3055
3161
|
# @return [Hash<String,Object>]
|
3056
3162
|
attr_accessor :auth_params
|
3057
3163
|
|
3164
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
3165
|
+
# json string format.
|
3166
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
3167
|
+
# @return [String]
|
3168
|
+
attr_accessor :json_auth_params
|
3169
|
+
|
3058
3170
|
def initialize(**args)
|
3059
3171
|
update!(**args)
|
3060
3172
|
end
|
@@ -3063,6 +3175,7 @@ module Google
|
|
3063
3175
|
def update!(**args)
|
3064
3176
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3065
3177
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3178
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
3066
3179
|
end
|
3067
3180
|
end
|
3068
3181
|
|
@@ -3227,6 +3340,11 @@ module Google
|
|
3227
3340
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig]
|
3228
3341
|
attr_accessor :cmek_config
|
3229
3342
|
|
3343
|
+
# Optional. Configuration for configurable billing approach. See
|
3344
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
3345
|
+
# @return [String]
|
3346
|
+
attr_accessor :configurable_billing_approach
|
3347
|
+
|
3230
3348
|
# Immutable. The content config of the data store. If this field is unset, the
|
3231
3349
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
3232
3350
|
# Corresponds to the JSON property `contentConfig`
|
@@ -3330,6 +3448,7 @@ module Google
|
|
3330
3448
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
3331
3449
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
3332
3450
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
3451
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
3333
3452
|
@content_config = args[:content_config] if args.key?(:content_config)
|
3334
3453
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3335
3454
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -4041,8 +4160,7 @@ module Google
|
|
4041
4160
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
4042
4161
|
attr_accessor :common_config
|
4043
4162
|
|
4044
|
-
# Optional. Configuration for configurable billing approach.
|
4045
|
-
# repricing-billing-dd for more details.
|
4163
|
+
# Optional. Configuration for configurable billing approach.
|
4046
4164
|
# Corresponds to the JSON property `configurableBillingApproach`
|
4047
4165
|
# @return [String]
|
4048
4166
|
attr_accessor :configurable_billing_approach
|
@@ -4079,8 +4197,9 @@ module Google
|
|
4079
4197
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
4080
4198
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
4081
4199
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
4082
|
-
# personalization-memory` * `disable-
|
4083
|
-
# generation`
|
4200
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
4201
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
4202
|
+
# content` * `disable-google-drive-upload`
|
4084
4203
|
# Corresponds to the JSON property `features`
|
4085
4204
|
# @return [Hash<String,String>]
|
4086
4205
|
attr_accessor :features
|
@@ -4922,6 +5041,99 @@ module Google
|
|
4922
5041
|
end
|
4923
5042
|
end
|
4924
5043
|
|
5044
|
+
# Information about users' licenses.
|
5045
|
+
class GoogleCloudDiscoveryengineV1LicenseConfig
|
5046
|
+
include Google::Apis::Core::Hashable
|
5047
|
+
|
5048
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
5049
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
5050
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
5051
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig]
|
5052
|
+
attr_accessor :alert_policy_resource_config
|
5053
|
+
|
5054
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
5055
|
+
# the end date.
|
5056
|
+
# Corresponds to the JSON property `autoRenew`
|
5057
|
+
# @return [Boolean]
|
5058
|
+
attr_accessor :auto_renew
|
5059
|
+
alias_method :auto_renew?, :auto_renew
|
5060
|
+
|
5061
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5062
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
5063
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
5064
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5065
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5066
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5067
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5068
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5069
|
+
# Corresponds to the JSON property `endDate`
|
5070
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
5071
|
+
attr_accessor :end_date
|
5072
|
+
|
5073
|
+
# Optional. Whether the license config is for free trial.
|
5074
|
+
# Corresponds to the JSON property `freeTrial`
|
5075
|
+
# @return [Boolean]
|
5076
|
+
attr_accessor :free_trial
|
5077
|
+
alias_method :free_trial?, :free_trial
|
5078
|
+
|
5079
|
+
# Required. Number of licenses purchased.
|
5080
|
+
# Corresponds to the JSON property `licenseCount`
|
5081
|
+
# @return [Fixnum]
|
5082
|
+
attr_accessor :license_count
|
5083
|
+
|
5084
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
5085
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
5086
|
+
# license_config``
|
5087
|
+
# Corresponds to the JSON property `name`
|
5088
|
+
# @return [String]
|
5089
|
+
attr_accessor :name
|
5090
|
+
|
5091
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5092
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
5093
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
5094
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5095
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5096
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5097
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5098
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5099
|
+
# Corresponds to the JSON property `startDate`
|
5100
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
5101
|
+
attr_accessor :start_date
|
5102
|
+
|
5103
|
+
# Output only. The state of the license config.
|
5104
|
+
# Corresponds to the JSON property `state`
|
5105
|
+
# @return [String]
|
5106
|
+
attr_accessor :state
|
5107
|
+
|
5108
|
+
# Required. Subscription term.
|
5109
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
5110
|
+
# @return [String]
|
5111
|
+
attr_accessor :subscription_term
|
5112
|
+
|
5113
|
+
# Required. Subscription tier information for the license config.
|
5114
|
+
# Corresponds to the JSON property `subscriptionTier`
|
5115
|
+
# @return [String]
|
5116
|
+
attr_accessor :subscription_tier
|
5117
|
+
|
5118
|
+
def initialize(**args)
|
5119
|
+
update!(**args)
|
5120
|
+
end
|
5121
|
+
|
5122
|
+
# Update properties of this object
|
5123
|
+
def update!(**args)
|
5124
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
5125
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
5126
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
5127
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
5128
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
5129
|
+
@name = args[:name] if args.key?(:name)
|
5130
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
5131
|
+
@state = args[:state] if args.key?(:state)
|
5132
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
5133
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
5134
|
+
end
|
5135
|
+
end
|
5136
|
+
|
4925
5137
|
# Metadata and configurations for a Google Cloud project in the service.
|
4926
5138
|
class GoogleCloudDiscoveryengineV1Project
|
4927
5139
|
include Google::Apis::Core::Hashable
|
@@ -6523,12 +6735,7 @@ module Google
|
|
6523
6735
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
6524
6736
|
include Google::Apis::Core::Hashable
|
6525
6737
|
|
6526
|
-
#
|
6527
|
-
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
|
6528
|
-
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
|
6529
|
-
# client_id` * Value: type STRING. The client ID for the service provider to
|
6530
|
-
# identify your application. * Key: `client_secret` * Value:type STRING. The
|
6531
|
-
# client secret generated by the application's authorization server.
|
6738
|
+
# Optional. Action parameters in structured json format.
|
6532
6739
|
# Corresponds to the JSON property `actionParams`
|
6533
6740
|
# @return [Hash<String,Object>]
|
6534
6741
|
attr_accessor :action_params
|
@@ -6540,6 +6747,11 @@ module Google
|
|
6540
6747
|
attr_accessor :is_action_configured
|
6541
6748
|
alias_method :is_action_configured?, :is_action_configured
|
6542
6749
|
|
6750
|
+
# Optional. Action parameters in json string format.
|
6751
|
+
# Corresponds to the JSON property `jsonActionParams`
|
6752
|
+
# @return [String]
|
6753
|
+
attr_accessor :json_action_params
|
6754
|
+
|
6543
6755
|
# Optional. The Service Directory resource name (projects/*/locations/*/
|
6544
6756
|
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
6545
6757
|
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
@@ -6563,6 +6775,7 @@ module Google
|
|
6563
6775
|
def update!(**args)
|
6564
6776
|
@action_params = args[:action_params] if args.key?(:action_params)
|
6565
6777
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
6778
|
+
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
6566
6779
|
@service_name = args[:service_name] if args.key?(:service_name)
|
6567
6780
|
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
6568
6781
|
end
|
@@ -6645,6 +6858,77 @@ module Google
|
|
6645
6858
|
end
|
6646
6859
|
end
|
6647
6860
|
|
6861
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
6862
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
6863
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
|
6864
|
+
include Google::Apis::Core::Hashable
|
6865
|
+
|
6866
|
+
# Optional. The enrollment state of each alert.
|
6867
|
+
# Corresponds to the JSON property `alertEnrollments`
|
6868
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
|
6869
|
+
attr_accessor :alert_enrollments
|
6870
|
+
|
6871
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
6872
|
+
# Corresponds to the JSON property `alertPolicy`
|
6873
|
+
# @return [String]
|
6874
|
+
attr_accessor :alert_policy
|
6875
|
+
|
6876
|
+
# Optional. The contact details for each alert policy.
|
6877
|
+
# Corresponds to the JSON property `contactDetails`
|
6878
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaContactDetails>]
|
6879
|
+
attr_accessor :contact_details
|
6880
|
+
|
6881
|
+
# Optional. The language code used for notifications
|
6882
|
+
# Corresponds to the JSON property `languageCode`
|
6883
|
+
# @return [String]
|
6884
|
+
attr_accessor :language_code
|
6885
|
+
|
6886
|
+
def initialize(**args)
|
6887
|
+
update!(**args)
|
6888
|
+
end
|
6889
|
+
|
6890
|
+
# Update properties of this object
|
6891
|
+
def update!(**args)
|
6892
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
6893
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
6894
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
6895
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
6896
|
+
end
|
6897
|
+
end
|
6898
|
+
|
6899
|
+
# The alert enrollment status.
|
6900
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
|
6901
|
+
include Google::Apis::Core::Hashable
|
6902
|
+
|
6903
|
+
# Immutable. The id of an alert.
|
6904
|
+
# Corresponds to the JSON property `alertId`
|
6905
|
+
# @return [String]
|
6906
|
+
attr_accessor :alert_id
|
6907
|
+
|
6908
|
+
# Required. The enrollment status of a customer.
|
6909
|
+
# Corresponds to the JSON property `enrollState`
|
6910
|
+
# @return [String]
|
6911
|
+
attr_accessor :enroll_state
|
6912
|
+
|
6913
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
6914
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
6915
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
6916
|
+
# Corresponds to the JSON property `notificationParams`
|
6917
|
+
# @return [Hash<String,String>]
|
6918
|
+
attr_accessor :notification_params
|
6919
|
+
|
6920
|
+
def initialize(**args)
|
6921
|
+
update!(**args)
|
6922
|
+
end
|
6923
|
+
|
6924
|
+
# Update properties of this object
|
6925
|
+
def update!(**args)
|
6926
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
6927
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
6928
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
6929
|
+
end
|
6930
|
+
end
|
6931
|
+
|
6648
6932
|
# Defines an answer.
|
6649
6933
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
6650
6934
|
include Google::Apis::Core::Hashable
|
@@ -7369,10 +7653,488 @@ module Google
|
|
7369
7653
|
# @return [String]
|
7370
7654
|
attr_accessor :snippet
|
7371
7655
|
|
7372
|
-
# Status of the snippet defined by the search team.
|
7373
|
-
# Corresponds to the JSON property `snippetStatus`
|
7656
|
+
# Status of the snippet defined by the search team.
|
7657
|
+
# Corresponds to the JSON property `snippetStatus`
|
7658
|
+
# @return [String]
|
7659
|
+
attr_accessor :snippet_status
|
7660
|
+
|
7661
|
+
def initialize(**args)
|
7662
|
+
update!(**args)
|
7663
|
+
end
|
7664
|
+
|
7665
|
+
# Update properties of this object
|
7666
|
+
def update!(**args)
|
7667
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
7668
|
+
@snippet_status = args[:snippet_status] if args.key?(:snippet_status)
|
7669
|
+
end
|
7670
|
+
end
|
7671
|
+
|
7672
|
+
# Search action.
|
7673
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
|
7674
|
+
include Google::Apis::Core::Hashable
|
7675
|
+
|
7676
|
+
# The query to search.
|
7677
|
+
# Corresponds to the JSON property `query`
|
7678
|
+
# @return [String]
|
7679
|
+
attr_accessor :query
|
7680
|
+
|
7681
|
+
def initialize(**args)
|
7682
|
+
update!(**args)
|
7683
|
+
end
|
7684
|
+
|
7685
|
+
# Update properties of this object
|
7686
|
+
def update!(**args)
|
7687
|
+
@query = args[:query] if args.key?(:query)
|
7688
|
+
end
|
7689
|
+
end
|
7690
|
+
|
7691
|
+
# AssistAnswer resource, main part of AssistResponse.
|
7692
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
7693
|
+
include Google::Apis::Core::Hashable
|
7694
|
+
|
7695
|
+
# Reasons for not answering the assist call.
|
7696
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
7697
|
+
# @return [Array<String>]
|
7698
|
+
attr_accessor :assist_skipped_reasons
|
7699
|
+
|
7700
|
+
# Customer policy enforcement results. Contains the results of the various
|
7701
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
7702
|
+
# Corresponds to the JSON property `customerPolicyEnforcementResult`
|
7703
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
|
7704
|
+
attr_accessor :customer_policy_enforcement_result
|
7705
|
+
|
7706
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
7707
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
7708
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
7709
|
+
# encoded string with a length limit of 1024 characters.
|
7710
|
+
# Corresponds to the JSON property `name`
|
7711
|
+
# @return [String]
|
7712
|
+
attr_accessor :name
|
7713
|
+
|
7714
|
+
# Replies of the assistant.
|
7715
|
+
# Corresponds to the JSON property `replies`
|
7716
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
7717
|
+
attr_accessor :replies
|
7718
|
+
|
7719
|
+
# State of the answer generation.
|
7720
|
+
# Corresponds to the JSON property `state`
|
7721
|
+
# @return [String]
|
7722
|
+
attr_accessor :state
|
7723
|
+
|
7724
|
+
def initialize(**args)
|
7725
|
+
update!(**args)
|
7726
|
+
end
|
7727
|
+
|
7728
|
+
# Update properties of this object
|
7729
|
+
def update!(**args)
|
7730
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
7731
|
+
@customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
|
7732
|
+
@name = args[:name] if args.key?(:name)
|
7733
|
+
@replies = args[:replies] if args.key?(:replies)
|
7734
|
+
@state = args[:state] if args.key?(:state)
|
7735
|
+
end
|
7736
|
+
end
|
7737
|
+
|
7738
|
+
# Customer policy enforcement results. Contains the results of the various
|
7739
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
7740
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
|
7741
|
+
include Google::Apis::Core::Hashable
|
7742
|
+
|
7743
|
+
# Customer policy enforcement results. Populated only if the assist call was
|
7744
|
+
# skipped due to a policy violation. It contains results from those filters that
|
7745
|
+
# blocked the processing of the query.
|
7746
|
+
# Corresponds to the JSON property `policyResults`
|
7747
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
|
7748
|
+
attr_accessor :policy_results
|
7749
|
+
|
7750
|
+
# Final verdict of the customer policy enforcement. If only one policy blocked
|
7751
|
+
# the processing, the verdict is BLOCK.
|
7752
|
+
# Corresponds to the JSON property `verdict`
|
7753
|
+
# @return [String]
|
7754
|
+
attr_accessor :verdict
|
7755
|
+
|
7756
|
+
def initialize(**args)
|
7757
|
+
update!(**args)
|
7758
|
+
end
|
7759
|
+
|
7760
|
+
# Update properties of this object
|
7761
|
+
def update!(**args)
|
7762
|
+
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
7763
|
+
@verdict = args[:verdict] if args.key?(:verdict)
|
7764
|
+
end
|
7765
|
+
end
|
7766
|
+
|
7767
|
+
# Customer policy enforcement result for the banned phrase policy.
|
7768
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
|
7769
|
+
include Google::Apis::Core::Hashable
|
7770
|
+
|
7771
|
+
# The banned phrases that were found in the query or the answer.
|
7772
|
+
# Corresponds to the JSON property `bannedPhrases`
|
7773
|
+
# @return [Array<String>]
|
7774
|
+
attr_accessor :banned_phrases
|
7775
|
+
|
7776
|
+
def initialize(**args)
|
7777
|
+
update!(**args)
|
7778
|
+
end
|
7779
|
+
|
7780
|
+
# Update properties of this object
|
7781
|
+
def update!(**args)
|
7782
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
7783
|
+
end
|
7784
|
+
end
|
7785
|
+
|
7786
|
+
# Customer policy enforcement result for the Model Armor policy.
|
7787
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
|
7788
|
+
include Google::Apis::Core::Hashable
|
7789
|
+
|
7790
|
+
# The `Status` type defines a logical error model that is suitable for different
|
7791
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
7792
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
7793
|
+
# data: error code, error message, and error details. You can find out more
|
7794
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
7795
|
+
# //cloud.google.com/apis/design/errors).
|
7796
|
+
# Corresponds to the JSON property `error`
|
7797
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
|
7798
|
+
attr_accessor :error
|
7799
|
+
|
7800
|
+
# The Model Armor violation that was found.
|
7801
|
+
# Corresponds to the JSON property `modelArmorViolation`
|
7802
|
+
# @return [String]
|
7803
|
+
attr_accessor :model_armor_violation
|
7804
|
+
|
7805
|
+
def initialize(**args)
|
7806
|
+
update!(**args)
|
7807
|
+
end
|
7808
|
+
|
7809
|
+
# Update properties of this object
|
7810
|
+
def update!(**args)
|
7811
|
+
@error = args[:error] if args.key?(:error)
|
7812
|
+
@model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
|
7813
|
+
end
|
7814
|
+
end
|
7815
|
+
|
7816
|
+
# Customer policy enforcement result for a single policy type.
|
7817
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
|
7818
|
+
include Google::Apis::Core::Hashable
|
7819
|
+
|
7820
|
+
# Customer policy enforcement result for the banned phrase policy.
|
7821
|
+
# Corresponds to the JSON property `bannedPhraseEnforcementResult`
|
7822
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
|
7823
|
+
attr_accessor :banned_phrase_enforcement_result
|
7824
|
+
|
7825
|
+
# Customer policy enforcement result for the Model Armor policy.
|
7826
|
+
# Corresponds to the JSON property `modelArmorEnforcementResult`
|
7827
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
|
7828
|
+
attr_accessor :model_armor_enforcement_result
|
7829
|
+
|
7830
|
+
def initialize(**args)
|
7831
|
+
update!(**args)
|
7832
|
+
end
|
7833
|
+
|
7834
|
+
# Update properties of this object
|
7835
|
+
def update!(**args)
|
7836
|
+
@banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
|
7837
|
+
@model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
|
7838
|
+
end
|
7839
|
+
end
|
7840
|
+
|
7841
|
+
# One part of the multi-part response of the assist call.
|
7842
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
7843
|
+
include Google::Apis::Core::Hashable
|
7844
|
+
|
7845
|
+
# A piece of content and possibly its grounding information. Not all content
|
7846
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
7847
|
+
# not need grounding.
|
7848
|
+
# Corresponds to the JSON property `groundedContent`
|
7849
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
7850
|
+
attr_accessor :grounded_content
|
7851
|
+
|
7852
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
7853
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
7854
|
+
# messages with the same ID can occur within the response stream (across
|
7855
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
7856
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
7857
|
+
# Corresponds to the JSON property `replyId`
|
7858
|
+
# @return [String]
|
7859
|
+
attr_accessor :reply_id
|
7860
|
+
|
7861
|
+
def initialize(**args)
|
7862
|
+
update!(**args)
|
7863
|
+
end
|
7864
|
+
|
7865
|
+
# Update properties of this object
|
7866
|
+
def update!(**args)
|
7867
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
7868
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
7869
|
+
end
|
7870
|
+
end
|
7871
|
+
|
7872
|
+
# Multi-modal content.
|
7873
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
7874
|
+
include Google::Apis::Core::Hashable
|
7875
|
+
|
7876
|
+
# Result of executing ExecutableCode.
|
7877
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
7878
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
7879
|
+
attr_accessor :code_execution_result
|
7880
|
+
|
7881
|
+
# Code generated by the model that is meant to be executed by the model.
|
7882
|
+
# Corresponds to the JSON property `executableCode`
|
7883
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
7884
|
+
attr_accessor :executable_code
|
7885
|
+
|
7886
|
+
# A file, e.g., an audio summary.
|
7887
|
+
# Corresponds to the JSON property `file`
|
7888
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
7889
|
+
attr_accessor :file
|
7890
|
+
|
7891
|
+
# Inline blob.
|
7892
|
+
# Corresponds to the JSON property `inlineData`
|
7893
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
7894
|
+
attr_accessor :inline_data
|
7895
|
+
|
7896
|
+
# The producer of the content. Can be "model" or "user".
|
7897
|
+
# Corresponds to the JSON property `role`
|
7898
|
+
# @return [String]
|
7899
|
+
attr_accessor :role
|
7900
|
+
|
7901
|
+
# Inline text.
|
7902
|
+
# Corresponds to the JSON property `text`
|
7903
|
+
# @return [String]
|
7904
|
+
attr_accessor :text
|
7905
|
+
|
7906
|
+
# Optional. Indicates if the part is thought from the model.
|
7907
|
+
# Corresponds to the JSON property `thought`
|
7908
|
+
# @return [Boolean]
|
7909
|
+
attr_accessor :thought
|
7910
|
+
alias_method :thought?, :thought
|
7911
|
+
|
7912
|
+
def initialize(**args)
|
7913
|
+
update!(**args)
|
7914
|
+
end
|
7915
|
+
|
7916
|
+
# Update properties of this object
|
7917
|
+
def update!(**args)
|
7918
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
7919
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
7920
|
+
@file = args[:file] if args.key?(:file)
|
7921
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
7922
|
+
@role = args[:role] if args.key?(:role)
|
7923
|
+
@text = args[:text] if args.key?(:text)
|
7924
|
+
@thought = args[:thought] if args.key?(:thought)
|
7925
|
+
end
|
7926
|
+
end
|
7927
|
+
|
7928
|
+
# Inline blob.
|
7929
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
7930
|
+
include Google::Apis::Core::Hashable
|
7931
|
+
|
7932
|
+
# Required. Raw bytes.
|
7933
|
+
# Corresponds to the JSON property `data`
|
7934
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
7935
|
+
# @return [String]
|
7936
|
+
attr_accessor :data
|
7937
|
+
|
7938
|
+
# Required. The media type (MIME type) of the generated data.
|
7939
|
+
# Corresponds to the JSON property `mimeType`
|
7940
|
+
# @return [String]
|
7941
|
+
attr_accessor :mime_type
|
7942
|
+
|
7943
|
+
def initialize(**args)
|
7944
|
+
update!(**args)
|
7945
|
+
end
|
7946
|
+
|
7947
|
+
# Update properties of this object
|
7948
|
+
def update!(**args)
|
7949
|
+
@data = args[:data] if args.key?(:data)
|
7950
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
7951
|
+
end
|
7952
|
+
end
|
7953
|
+
|
7954
|
+
# Result of executing ExecutableCode.
|
7955
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
7956
|
+
include Google::Apis::Core::Hashable
|
7957
|
+
|
7958
|
+
# Required. Outcome of the code execution.
|
7959
|
+
# Corresponds to the JSON property `outcome`
|
7960
|
+
# @return [String]
|
7961
|
+
attr_accessor :outcome
|
7962
|
+
|
7963
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
7964
|
+
# description otherwise.
|
7965
|
+
# Corresponds to the JSON property `output`
|
7966
|
+
# @return [String]
|
7967
|
+
attr_accessor :output
|
7968
|
+
|
7969
|
+
def initialize(**args)
|
7970
|
+
update!(**args)
|
7971
|
+
end
|
7972
|
+
|
7973
|
+
# Update properties of this object
|
7974
|
+
def update!(**args)
|
7975
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
7976
|
+
@output = args[:output] if args.key?(:output)
|
7977
|
+
end
|
7978
|
+
end
|
7979
|
+
|
7980
|
+
# Code generated by the model that is meant to be executed by the model.
|
7981
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
7982
|
+
include Google::Apis::Core::Hashable
|
7983
|
+
|
7984
|
+
# Required. The code content. Currently only supports Python.
|
7985
|
+
# Corresponds to the JSON property `code`
|
7986
|
+
# @return [String]
|
7987
|
+
attr_accessor :code
|
7988
|
+
|
7989
|
+
def initialize(**args)
|
7990
|
+
update!(**args)
|
7991
|
+
end
|
7992
|
+
|
7993
|
+
# Update properties of this object
|
7994
|
+
def update!(**args)
|
7995
|
+
@code = args[:code] if args.key?(:code)
|
7996
|
+
end
|
7997
|
+
end
|
7998
|
+
|
7999
|
+
# A file, e.g., an audio summary.
|
8000
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
8001
|
+
include Google::Apis::Core::Hashable
|
8002
|
+
|
8003
|
+
# Required. The file ID.
|
8004
|
+
# Corresponds to the JSON property `fileId`
|
8005
|
+
# @return [String]
|
8006
|
+
attr_accessor :file_id
|
8007
|
+
|
8008
|
+
# Required. The media type (MIME type) of the file.
|
8009
|
+
# Corresponds to the JSON property `mimeType`
|
8010
|
+
# @return [String]
|
8011
|
+
attr_accessor :mime_type
|
8012
|
+
|
8013
|
+
def initialize(**args)
|
8014
|
+
update!(**args)
|
8015
|
+
end
|
8016
|
+
|
8017
|
+
# Update properties of this object
|
8018
|
+
def update!(**args)
|
8019
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
8020
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8021
|
+
end
|
8022
|
+
end
|
8023
|
+
|
8024
|
+
# A piece of content and possibly its grounding information. Not all content
|
8025
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
8026
|
+
# not need grounding.
|
8027
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
8028
|
+
include Google::Apis::Core::Hashable
|
8029
|
+
|
8030
|
+
# Multi-modal content.
|
8031
|
+
# Corresponds to the JSON property `content`
|
8032
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
8033
|
+
attr_accessor :content
|
8034
|
+
|
8035
|
+
# Grounding details for text sources.
|
8036
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
8037
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
8038
|
+
attr_accessor :text_grounding_metadata
|
8039
|
+
|
8040
|
+
def initialize(**args)
|
8041
|
+
update!(**args)
|
8042
|
+
end
|
8043
|
+
|
8044
|
+
# Update properties of this object
|
8045
|
+
def update!(**args)
|
8046
|
+
@content = args[:content] if args.key?(:content)
|
8047
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
8048
|
+
end
|
8049
|
+
end
|
8050
|
+
|
8051
|
+
# Grounding details for text sources.
|
8052
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
8053
|
+
include Google::Apis::Core::Hashable
|
8054
|
+
|
8055
|
+
# References for the grounded text.
|
8056
|
+
# Corresponds to the JSON property `references`
|
8057
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
8058
|
+
attr_accessor :references
|
8059
|
+
|
8060
|
+
# Grounding information for parts of the text.
|
8061
|
+
# Corresponds to the JSON property `segments`
|
8062
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
8063
|
+
attr_accessor :segments
|
8064
|
+
|
8065
|
+
def initialize(**args)
|
8066
|
+
update!(**args)
|
8067
|
+
end
|
8068
|
+
|
8069
|
+
# Update properties of this object
|
8070
|
+
def update!(**args)
|
8071
|
+
@references = args[:references] if args.key?(:references)
|
8072
|
+
@segments = args[:segments] if args.key?(:segments)
|
8073
|
+
end
|
8074
|
+
end
|
8075
|
+
|
8076
|
+
# Referenced content and related document metadata.
|
8077
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
8078
|
+
include Google::Apis::Core::Hashable
|
8079
|
+
|
8080
|
+
# Referenced text content.
|
8081
|
+
# Corresponds to the JSON property `content`
|
8082
|
+
# @return [String]
|
8083
|
+
attr_accessor :content
|
8084
|
+
|
8085
|
+
# Document metadata.
|
8086
|
+
# Corresponds to the JSON property `documentMetadata`
|
8087
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
8088
|
+
attr_accessor :document_metadata
|
8089
|
+
|
8090
|
+
def initialize(**args)
|
8091
|
+
update!(**args)
|
8092
|
+
end
|
8093
|
+
|
8094
|
+
# Update properties of this object
|
8095
|
+
def update!(**args)
|
8096
|
+
@content = args[:content] if args.key?(:content)
|
8097
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
8098
|
+
end
|
8099
|
+
end
|
8100
|
+
|
8101
|
+
# Document metadata.
|
8102
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
8103
|
+
include Google::Apis::Core::Hashable
|
8104
|
+
|
8105
|
+
# Document resource name.
|
8106
|
+
# Corresponds to the JSON property `document`
|
8107
|
+
# @return [String]
|
8108
|
+
attr_accessor :document
|
8109
|
+
|
8110
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
8111
|
+
# that redirects to the actual website, in which case this will contain the
|
8112
|
+
# domain name of the target site.
|
8113
|
+
# Corresponds to the JSON property `domain`
|
8114
|
+
# @return [String]
|
8115
|
+
attr_accessor :domain
|
8116
|
+
|
8117
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
8118
|
+
# media-types.xhtml.
|
8119
|
+
# Corresponds to the JSON property `mimeType`
|
8120
|
+
# @return [String]
|
8121
|
+
attr_accessor :mime_type
|
8122
|
+
|
8123
|
+
# Page identifier.
|
8124
|
+
# Corresponds to the JSON property `pageIdentifier`
|
8125
|
+
# @return [String]
|
8126
|
+
attr_accessor :page_identifier
|
8127
|
+
|
8128
|
+
# Title.
|
8129
|
+
# Corresponds to the JSON property `title`
|
8130
|
+
# @return [String]
|
8131
|
+
attr_accessor :title
|
8132
|
+
|
8133
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
8134
|
+
# website.
|
8135
|
+
# Corresponds to the JSON property `uri`
|
7374
8136
|
# @return [String]
|
7375
|
-
attr_accessor :
|
8137
|
+
attr_accessor :uri
|
7376
8138
|
|
7377
8139
|
def initialize(**args)
|
7378
8140
|
update!(**args)
|
@@ -7380,19 +8142,45 @@ module Google
|
|
7380
8142
|
|
7381
8143
|
# Update properties of this object
|
7382
8144
|
def update!(**args)
|
7383
|
-
@
|
7384
|
-
@
|
8145
|
+
@document = args[:document] if args.key?(:document)
|
8146
|
+
@domain = args[:domain] if args.key?(:domain)
|
8147
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8148
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
8149
|
+
@title = args[:title] if args.key?(:title)
|
8150
|
+
@uri = args[:uri] if args.key?(:uri)
|
7385
8151
|
end
|
7386
8152
|
end
|
7387
8153
|
|
7388
|
-
#
|
7389
|
-
class
|
8154
|
+
# Grounding information for a segment of the text.
|
8155
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
7390
8156
|
include Google::Apis::Core::Hashable
|
7391
8157
|
|
7392
|
-
#
|
7393
|
-
# Corresponds to the JSON property `
|
8158
|
+
# End of the segment, exclusive.
|
8159
|
+
# Corresponds to the JSON property `endIndex`
|
8160
|
+
# @return [Fixnum]
|
8161
|
+
attr_accessor :end_index
|
8162
|
+
|
8163
|
+
# Score for the segment.
|
8164
|
+
# Corresponds to the JSON property `groundingScore`
|
8165
|
+
# @return [Float]
|
8166
|
+
attr_accessor :grounding_score
|
8167
|
+
|
8168
|
+
# References for the segment.
|
8169
|
+
# Corresponds to the JSON property `referenceIndices`
|
8170
|
+
# @return [Array<Fixnum>]
|
8171
|
+
attr_accessor :reference_indices
|
8172
|
+
|
8173
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
8174
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
8175
|
+
# than one).
|
8176
|
+
# Corresponds to the JSON property `startIndex`
|
8177
|
+
# @return [Fixnum]
|
8178
|
+
attr_accessor :start_index
|
8179
|
+
|
8180
|
+
# The text segment itself.
|
8181
|
+
# Corresponds to the JSON property `text`
|
7394
8182
|
# @return [String]
|
7395
|
-
attr_accessor :
|
8183
|
+
attr_accessor :text
|
7396
8184
|
|
7397
8185
|
def initialize(**args)
|
7398
8186
|
update!(**args)
|
@@ -7400,7 +8188,11 @@ module Google
|
|
7400
8188
|
|
7401
8189
|
# Update properties of this object
|
7402
8190
|
def update!(**args)
|
7403
|
-
@
|
8191
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
8192
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
8193
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
8194
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
8195
|
+
@text = args[:text] if args.key?(:text)
|
7404
8196
|
end
|
7405
8197
|
end
|
7406
8198
|
|
@@ -7408,6 +8200,11 @@ module Google
|
|
7408
8200
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
7409
8201
|
include Google::Apis::Core::Hashable
|
7410
8202
|
|
8203
|
+
# Optional. The actions enabled on the associated BAP connection.
|
8204
|
+
# Corresponds to the JSON property `enabledActions`
|
8205
|
+
# @return [Array<String>]
|
8206
|
+
attr_accessor :enabled_actions
|
8207
|
+
|
7411
8208
|
# Required. The supported connector modes for the associated BAP connection.
|
7412
8209
|
# Corresponds to the JSON property `supportedConnectorModes`
|
7413
8210
|
# @return [Array<String>]
|
@@ -7419,6 +8216,7 @@ module Google
|
|
7419
8216
|
|
7420
8217
|
# Update properties of this object
|
7421
8218
|
def update!(**args)
|
8219
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
7422
8220
|
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
7423
8221
|
end
|
7424
8222
|
end
|
@@ -7937,6 +8735,27 @@ module Google
|
|
7937
8735
|
end
|
7938
8736
|
end
|
7939
8737
|
|
8738
|
+
# The contact info stored in resource level. If both project level and resource
|
8739
|
+
# level is populated, the resource level contact info will override the project
|
8740
|
+
# level contact info.
|
8741
|
+
class GoogleCloudDiscoveryengineV1alphaContactDetails
|
8742
|
+
include Google::Apis::Core::Hashable
|
8743
|
+
|
8744
|
+
# Optional. The email address of the contact.
|
8745
|
+
# Corresponds to the JSON property `emailAddress`
|
8746
|
+
# @return [String]
|
8747
|
+
attr_accessor :email_address
|
8748
|
+
|
8749
|
+
def initialize(**args)
|
8750
|
+
update!(**args)
|
8751
|
+
end
|
8752
|
+
|
8753
|
+
# Update properties of this object
|
8754
|
+
def update!(**args)
|
8755
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
8756
|
+
end
|
8757
|
+
end
|
8758
|
+
|
7940
8759
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
7941
8760
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
7942
8761
|
# `SolutionType`.
|
@@ -8781,6 +9600,12 @@ module Google
|
|
8781
9600
|
# @return [Hash<String,Object>]
|
8782
9601
|
attr_accessor :auth_params
|
8783
9602
|
|
9603
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
9604
|
+
# string format.
|
9605
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
9606
|
+
# @return [String]
|
9607
|
+
attr_accessor :json_auth_params
|
9608
|
+
|
8784
9609
|
# Tenant information for a connector source. This includes some of the same
|
8785
9610
|
# information stored in the Credential message, but is limited to only what is
|
8786
9611
|
# needed to provide a list of accessible tenants to the user.
|
@@ -8796,6 +9621,7 @@ module Google
|
|
8796
9621
|
def update!(**args)
|
8797
9622
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
8798
9623
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
9624
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
8799
9625
|
@tenant = args[:tenant] if args.key?(:tenant)
|
8800
9626
|
end
|
8801
9627
|
end
|
@@ -8810,11 +9636,17 @@ module Google
|
|
8810
9636
|
# @return [Hash<String,Object>]
|
8811
9637
|
attr_accessor :additional_params
|
8812
9638
|
|
8813
|
-
# Optional. Any authentication parameters specific to FEDERATED.
|
9639
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
8814
9640
|
# Corresponds to the JSON property `authParams`
|
8815
9641
|
# @return [Hash<String,Object>]
|
8816
9642
|
attr_accessor :auth_params
|
8817
9643
|
|
9644
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
9645
|
+
# json string format.
|
9646
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
9647
|
+
# @return [String]
|
9648
|
+
attr_accessor :json_auth_params
|
9649
|
+
|
8818
9650
|
def initialize(**args)
|
8819
9651
|
update!(**args)
|
8820
9652
|
end
|
@@ -8823,6 +9655,7 @@ module Google
|
|
8823
9655
|
def update!(**args)
|
8824
9656
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
8825
9657
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
9658
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
8826
9659
|
end
|
8827
9660
|
end
|
8828
9661
|
|
@@ -8987,6 +9820,11 @@ module Google
|
|
8987
9820
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
8988
9821
|
attr_accessor :cmek_config
|
8989
9822
|
|
9823
|
+
# Optional. Configuration for configurable billing approach. See
|
9824
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
9825
|
+
# @return [String]
|
9826
|
+
attr_accessor :configurable_billing_approach
|
9827
|
+
|
8990
9828
|
# Immutable. The content config of the data store. If this field is unset, the
|
8991
9829
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
8992
9830
|
# Corresponds to the JSON property `contentConfig`
|
@@ -9105,6 +9943,7 @@ module Google
|
|
9105
9943
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
9106
9944
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
9107
9945
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
9946
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
9108
9947
|
@content_config = args[:content_config] if args.key?(:content_config)
|
9109
9948
|
@create_time = args[:create_time] if args.key?(:create_time)
|
9110
9949
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -9879,8 +10718,7 @@ module Google
|
|
9879
10718
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
9880
10719
|
attr_accessor :common_config
|
9881
10720
|
|
9882
|
-
# Optional. Configuration for configurable billing approach.
|
9883
|
-
# repricing-billing-dd for more details.
|
10721
|
+
# Optional. Configuration for configurable billing approach.
|
9884
10722
|
# Corresponds to the JSON property `configurableBillingApproach`
|
9885
10723
|
# @return [String]
|
9886
10724
|
attr_accessor :configurable_billing_approach
|
@@ -9917,8 +10755,9 @@ module Google
|
|
9917
10755
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
9918
10756
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
9919
10757
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
9920
|
-
# personalization-memory` * `disable-
|
9921
|
-
# generation`
|
10758
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
10759
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
10760
|
+
# content` * `disable-google-drive-upload`
|
9922
10761
|
# Corresponds to the JSON property `features`
|
9923
10762
|
# @return [Hash<String,String>]
|
9924
10763
|
attr_accessor :features
|
@@ -11391,6 +12230,99 @@ module Google
|
|
11391
12230
|
end
|
11392
12231
|
end
|
11393
12232
|
|
12233
|
+
# Information about users' licenses.
|
12234
|
+
class GoogleCloudDiscoveryengineV1alphaLicenseConfig
|
12235
|
+
include Google::Apis::Core::Hashable
|
12236
|
+
|
12237
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
12238
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
12239
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
12240
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
|
12241
|
+
attr_accessor :alert_policy_resource_config
|
12242
|
+
|
12243
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
12244
|
+
# the end date.
|
12245
|
+
# Corresponds to the JSON property `autoRenew`
|
12246
|
+
# @return [Boolean]
|
12247
|
+
attr_accessor :auto_renew
|
12248
|
+
alias_method :auto_renew?, :auto_renew
|
12249
|
+
|
12250
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
12251
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
12252
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
12253
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
12254
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
12255
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
12256
|
+
# example, a credit card expiration date). Related types: * google.type.
|
12257
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
12258
|
+
# Corresponds to the JSON property `endDate`
|
12259
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
12260
|
+
attr_accessor :end_date
|
12261
|
+
|
12262
|
+
# Optional. Whether the license config is for free trial.
|
12263
|
+
# Corresponds to the JSON property `freeTrial`
|
12264
|
+
# @return [Boolean]
|
12265
|
+
attr_accessor :free_trial
|
12266
|
+
alias_method :free_trial?, :free_trial
|
12267
|
+
|
12268
|
+
# Required. Number of licenses purchased.
|
12269
|
+
# Corresponds to the JSON property `licenseCount`
|
12270
|
+
# @return [Fixnum]
|
12271
|
+
attr_accessor :license_count
|
12272
|
+
|
12273
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
12274
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
12275
|
+
# license_config``
|
12276
|
+
# Corresponds to the JSON property `name`
|
12277
|
+
# @return [String]
|
12278
|
+
attr_accessor :name
|
12279
|
+
|
12280
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
12281
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
12282
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
12283
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
12284
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
12285
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
12286
|
+
# example, a credit card expiration date). Related types: * google.type.
|
12287
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
12288
|
+
# Corresponds to the JSON property `startDate`
|
12289
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
12290
|
+
attr_accessor :start_date
|
12291
|
+
|
12292
|
+
# Output only. The state of the license config.
|
12293
|
+
# Corresponds to the JSON property `state`
|
12294
|
+
# @return [String]
|
12295
|
+
attr_accessor :state
|
12296
|
+
|
12297
|
+
# Required. Subscription term.
|
12298
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
12299
|
+
# @return [String]
|
12300
|
+
attr_accessor :subscription_term
|
12301
|
+
|
12302
|
+
# Required. Subscription tier information for the license config.
|
12303
|
+
# Corresponds to the JSON property `subscriptionTier`
|
12304
|
+
# @return [String]
|
12305
|
+
attr_accessor :subscription_tier
|
12306
|
+
|
12307
|
+
def initialize(**args)
|
12308
|
+
update!(**args)
|
12309
|
+
end
|
12310
|
+
|
12311
|
+
# Update properties of this object
|
12312
|
+
def update!(**args)
|
12313
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
12314
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
12315
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
12316
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
12317
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
12318
|
+
@name = args[:name] if args.key?(:name)
|
12319
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
12320
|
+
@state = args[:state] if args.key?(:state)
|
12321
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
12322
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
12323
|
+
end
|
12324
|
+
end
|
12325
|
+
|
11394
12326
|
# Request for ListSessions method.
|
11395
12327
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
11396
12328
|
include Google::Apis::Core::Hashable
|
@@ -12721,9 +13653,8 @@ module Google
|
|
12721
13653
|
alias_method :safe_search?, :safe_search
|
12722
13654
|
|
12723
13655
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
12724
|
-
# model.
|
12725
|
-
#
|
12726
|
-
# applicable.
|
13656
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
13657
|
+
# the customer wants to enable them wherever applicable.
|
12727
13658
|
# Corresponds to the JSON property `searchAddonSpec`
|
12728
13659
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec]
|
12729
13660
|
attr_accessor :search_addon_spec
|
@@ -13780,9 +14711,8 @@ module Google
|
|
13780
14711
|
end
|
13781
14712
|
|
13782
14713
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
13783
|
-
# model.
|
13784
|
-
#
|
13785
|
-
# applicable.
|
14714
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
14715
|
+
# the customer wants to enable them wherever applicable.
|
13786
14716
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec
|
13787
14717
|
include Google::Apis::Core::Hashable
|
13788
14718
|
|
@@ -13980,6 +14910,11 @@ module Google
|
|
13980
14910
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer]
|
13981
14911
|
attr_accessor :detailed_answer
|
13982
14912
|
|
14913
|
+
# AssistAnswer resource, main part of AssistResponse.
|
14914
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
14915
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
14916
|
+
attr_accessor :detailed_assist_answer
|
14917
|
+
|
13983
14918
|
# Defines a user inputed query.
|
13984
14919
|
# Corresponds to the JSON property `query`
|
13985
14920
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery]
|
@@ -14000,6 +14935,7 @@ module Google
|
|
14000
14935
|
def update!(**args)
|
14001
14936
|
@answer = args[:answer] if args.key?(:answer)
|
14002
14937
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
14938
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
14003
14939
|
@query = args[:query] if args.key?(:query)
|
14004
14940
|
@query_config = args[:query_config] if args.key?(:query_config)
|
14005
14941
|
end
|
@@ -15207,6 +16143,77 @@ module Google
|
|
15207
16143
|
end
|
15208
16144
|
end
|
15209
16145
|
|
16146
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
16147
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
16148
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig
|
16149
|
+
include Google::Apis::Core::Hashable
|
16150
|
+
|
16151
|
+
# Optional. The enrollment state of each alert.
|
16152
|
+
# Corresponds to the JSON property `alertEnrollments`
|
16153
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment>]
|
16154
|
+
attr_accessor :alert_enrollments
|
16155
|
+
|
16156
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
16157
|
+
# Corresponds to the JSON property `alertPolicy`
|
16158
|
+
# @return [String]
|
16159
|
+
attr_accessor :alert_policy
|
16160
|
+
|
16161
|
+
# Optional. The contact details for each alert policy.
|
16162
|
+
# Corresponds to the JSON property `contactDetails`
|
16163
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaContactDetails>]
|
16164
|
+
attr_accessor :contact_details
|
16165
|
+
|
16166
|
+
# Optional. The language code used for notifications
|
16167
|
+
# Corresponds to the JSON property `languageCode`
|
16168
|
+
# @return [String]
|
16169
|
+
attr_accessor :language_code
|
16170
|
+
|
16171
|
+
def initialize(**args)
|
16172
|
+
update!(**args)
|
16173
|
+
end
|
16174
|
+
|
16175
|
+
# Update properties of this object
|
16176
|
+
def update!(**args)
|
16177
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
16178
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
16179
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
16180
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
16181
|
+
end
|
16182
|
+
end
|
16183
|
+
|
16184
|
+
# The alert enrollment status.
|
16185
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment
|
16186
|
+
include Google::Apis::Core::Hashable
|
16187
|
+
|
16188
|
+
# Immutable. The id of an alert.
|
16189
|
+
# Corresponds to the JSON property `alertId`
|
16190
|
+
# @return [String]
|
16191
|
+
attr_accessor :alert_id
|
16192
|
+
|
16193
|
+
# Required. The enrollment status of a customer.
|
16194
|
+
# Corresponds to the JSON property `enrollState`
|
16195
|
+
# @return [String]
|
16196
|
+
attr_accessor :enroll_state
|
16197
|
+
|
16198
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
16199
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
16200
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
16201
|
+
# Corresponds to the JSON property `notificationParams`
|
16202
|
+
# @return [Hash<String,String>]
|
16203
|
+
attr_accessor :notification_params
|
16204
|
+
|
16205
|
+
def initialize(**args)
|
16206
|
+
update!(**args)
|
16207
|
+
end
|
16208
|
+
|
16209
|
+
# Update properties of this object
|
16210
|
+
def update!(**args)
|
16211
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
16212
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
16213
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
16214
|
+
end
|
16215
|
+
end
|
16216
|
+
|
15210
16217
|
# AlloyDB source import data from.
|
15211
16218
|
class GoogleCloudDiscoveryengineV1betaAlloyDbSource
|
15212
16219
|
include Google::Apis::Core::Hashable
|
@@ -19111,6 +20118,27 @@ module Google
|
|
19111
20118
|
end
|
19112
20119
|
end
|
19113
20120
|
|
20121
|
+
# The contact info stored in resource level. If both project level and resource
|
20122
|
+
# level is populated, the resource level contact info will override the project
|
20123
|
+
# level contact info.
|
20124
|
+
class GoogleCloudDiscoveryengineV1betaContactDetails
|
20125
|
+
include Google::Apis::Core::Hashable
|
20126
|
+
|
20127
|
+
# Optional. The email address of the contact.
|
20128
|
+
# Corresponds to the JSON property `emailAddress`
|
20129
|
+
# @return [String]
|
20130
|
+
attr_accessor :email_address
|
20131
|
+
|
20132
|
+
def initialize(**args)
|
20133
|
+
update!(**args)
|
20134
|
+
end
|
20135
|
+
|
20136
|
+
# Update properties of this object
|
20137
|
+
def update!(**args)
|
20138
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
20139
|
+
end
|
20140
|
+
end
|
20141
|
+
|
19114
20142
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
19115
20143
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
19116
20144
|
# `SolutionType`.
|
@@ -19995,6 +21023,11 @@ module Google
|
|
19995
21023
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
19996
21024
|
attr_accessor :cmek_config
|
19997
21025
|
|
21026
|
+
# Optional. Configuration for configurable billing approach. See
|
21027
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
21028
|
+
# @return [String]
|
21029
|
+
attr_accessor :configurable_billing_approach
|
21030
|
+
|
19998
21031
|
# Immutable. The content config of the data store. If this field is unset, the
|
19999
21032
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
20000
21033
|
# Corresponds to the JSON property `contentConfig`
|
@@ -20108,6 +21141,7 @@ module Google
|
|
20108
21141
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
20109
21142
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
20110
21143
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
21144
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
20111
21145
|
@content_config = args[:content_config] if args.key?(:content_config)
|
20112
21146
|
@create_time = args[:create_time] if args.key?(:create_time)
|
20113
21147
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -21098,8 +22132,7 @@ module Google
|
|
21098
22132
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
21099
22133
|
attr_accessor :common_config
|
21100
22134
|
|
21101
|
-
# Optional. Configuration for configurable billing approach.
|
21102
|
-
# repricing-billing-dd for more details.
|
22135
|
+
# Optional. Configuration for configurable billing approach.
|
21103
22136
|
# Corresponds to the JSON property `configurableBillingApproach`
|
21104
22137
|
# @return [String]
|
21105
22138
|
attr_accessor :configurable_billing_approach
|
@@ -21136,8 +22169,9 @@ module Google
|
|
21136
22169
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
21137
22170
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
21138
22171
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
21139
|
-
# personalization-memory` * `disable-
|
21140
|
-
# generation`
|
22172
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
22173
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
22174
|
+
# content` * `disable-google-drive-upload`
|
21141
22175
|
# Corresponds to the JSON property `features`
|
21142
22176
|
# @return [Hash<String,String>]
|
21143
22177
|
attr_accessor :features
|
@@ -22969,6 +24003,99 @@ module Google
|
|
22969
24003
|
end
|
22970
24004
|
end
|
22971
24005
|
|
24006
|
+
# Information about users' licenses.
|
24007
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfig
|
24008
|
+
include Google::Apis::Core::Hashable
|
24009
|
+
|
24010
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
24011
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
24012
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
24013
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig]
|
24014
|
+
attr_accessor :alert_policy_resource_config
|
24015
|
+
|
24016
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
24017
|
+
# the end date.
|
24018
|
+
# Corresponds to the JSON property `autoRenew`
|
24019
|
+
# @return [Boolean]
|
24020
|
+
attr_accessor :auto_renew
|
24021
|
+
alias_method :auto_renew?, :auto_renew
|
24022
|
+
|
24023
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
24024
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24025
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
24026
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
24027
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
24028
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
24029
|
+
# example, a credit card expiration date). Related types: * google.type.
|
24030
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
24031
|
+
# Corresponds to the JSON property `endDate`
|
24032
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
24033
|
+
attr_accessor :end_date
|
24034
|
+
|
24035
|
+
# Optional. Whether the license config is for free trial.
|
24036
|
+
# Corresponds to the JSON property `freeTrial`
|
24037
|
+
# @return [Boolean]
|
24038
|
+
attr_accessor :free_trial
|
24039
|
+
alias_method :free_trial?, :free_trial
|
24040
|
+
|
24041
|
+
# Required. Number of licenses purchased.
|
24042
|
+
# Corresponds to the JSON property `licenseCount`
|
24043
|
+
# @return [Fixnum]
|
24044
|
+
attr_accessor :license_count
|
24045
|
+
|
24046
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
24047
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
24048
|
+
# license_config``
|
24049
|
+
# Corresponds to the JSON property `name`
|
24050
|
+
# @return [String]
|
24051
|
+
attr_accessor :name
|
24052
|
+
|
24053
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
24054
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24055
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
24056
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
24057
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
24058
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
24059
|
+
# example, a credit card expiration date). Related types: * google.type.
|
24060
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
24061
|
+
# Corresponds to the JSON property `startDate`
|
24062
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate]
|
24063
|
+
attr_accessor :start_date
|
24064
|
+
|
24065
|
+
# Output only. The state of the license config.
|
24066
|
+
# Corresponds to the JSON property `state`
|
24067
|
+
# @return [String]
|
24068
|
+
attr_accessor :state
|
24069
|
+
|
24070
|
+
# Required. Subscription term.
|
24071
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
24072
|
+
# @return [String]
|
24073
|
+
attr_accessor :subscription_term
|
24074
|
+
|
24075
|
+
# Required. Subscription tier information for the license config.
|
24076
|
+
# Corresponds to the JSON property `subscriptionTier`
|
24077
|
+
# @return [String]
|
24078
|
+
attr_accessor :subscription_tier
|
24079
|
+
|
24080
|
+
def initialize(**args)
|
24081
|
+
update!(**args)
|
24082
|
+
end
|
24083
|
+
|
24084
|
+
# Update properties of this object
|
24085
|
+
def update!(**args)
|
24086
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
24087
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
24088
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
24089
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
24090
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
24091
|
+
@name = args[:name] if args.key?(:name)
|
24092
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
24093
|
+
@state = args[:state] if args.key?(:state)
|
24094
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
24095
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
24096
|
+
end
|
24097
|
+
end
|
24098
|
+
|
22972
24099
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
22973
24100
|
class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
|
22974
24101
|
include Google::Apis::Core::Hashable
|
@@ -25566,9 +26693,8 @@ module Google
|
|
25566
26693
|
alias_method :safe_search?, :safe_search
|
25567
26694
|
|
25568
26695
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
25569
|
-
# model.
|
25570
|
-
#
|
25571
|
-
# applicable.
|
26696
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
26697
|
+
# the customer wants to enable them wherever applicable.
|
25572
26698
|
# Corresponds to the JSON property `searchAddonSpec`
|
25573
26699
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec]
|
25574
26700
|
attr_accessor :search_addon_spec
|
@@ -26614,9 +27740,8 @@ module Google
|
|
26614
27740
|
end
|
26615
27741
|
|
26616
27742
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
26617
|
-
# model.
|
26618
|
-
#
|
26619
|
-
# applicable.
|
27743
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
27744
|
+
# the customer wants to enable them wherever applicable.
|
26620
27745
|
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec
|
26621
27746
|
include Google::Apis::Core::Hashable
|
26622
27747
|
|
@@ -28141,6 +29266,11 @@ module Google
|
|
28141
29266
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer]
|
28142
29267
|
attr_accessor :detailed_answer
|
28143
29268
|
|
29269
|
+
# AssistAnswer resource, main part of AssistResponse.
|
29270
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
29271
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer]
|
29272
|
+
attr_accessor :detailed_assist_answer
|
29273
|
+
|
28144
29274
|
# Defines a user inputed query.
|
28145
29275
|
# Corresponds to the JSON property `query`
|
28146
29276
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
|
@@ -28161,6 +29291,7 @@ module Google
|
|
28161
29291
|
def update!(**args)
|
28162
29292
|
@answer = args[:answer] if args.key?(:answer)
|
28163
29293
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
29294
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
28164
29295
|
@query = args[:query] if args.key?(:query)
|
28165
29296
|
@query_config = args[:query_config] if args.key?(:query_config)
|
28166
29297
|
end
|
@@ -29263,12 +30394,11 @@ module Google
|
|
29263
30394
|
# Search for Documents. * `view-item`: Detailed page view of a Document. * `view-
|
29264
30395
|
# item-list`: View of a panel or ordered list of Documents. * `view-home-page`:
|
29265
30396
|
# View of the home page. * `view-category-page`: View of a category page, e.g.
|
29266
|
-
# Home > Men > Jeans * `add-
|
29267
|
-
#
|
29268
|
-
#
|
29269
|
-
#
|
29270
|
-
#
|
29271
|
-
# * `conversion`: Customer defined conversion event.
|
30397
|
+
# Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to
|
30398
|
+
# cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-
|
30399
|
+
# related values: * `media-play`: Start/resume watching a video, playing a song,
|
30400
|
+
# etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
|
30401
|
+
# Custom conversion value: * `conversion`: Customer defined conversion event.
|
29272
30402
|
# Corresponds to the JSON property `eventType`
|
29273
30403
|
# @return [String]
|
29274
30404
|
attr_accessor :event_type
|
@@ -29561,6 +30691,13 @@ module Google
|
|
29561
30691
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation>]
|
29562
30692
|
attr_accessor :operations
|
29563
30693
|
|
30694
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
30695
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
30696
|
+
# when attempting to list all resources across all supported locations.
|
30697
|
+
# Corresponds to the JSON property `unreachable`
|
30698
|
+
# @return [Array<String>]
|
30699
|
+
attr_accessor :unreachable
|
30700
|
+
|
29564
30701
|
def initialize(**args)
|
29565
30702
|
update!(**args)
|
29566
30703
|
end
|
@@ -29569,6 +30706,7 @@ module Google
|
|
29569
30706
|
def update!(**args)
|
29570
30707
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
29571
30708
|
@operations = args[:operations] if args.key?(:operations)
|
30709
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
29572
30710
|
end
|
29573
30711
|
end
|
29574
30712
|
|