google-apis-discoveryengine_v1 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +1253 -53
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +500 -0
- data/lib/google/apis/discoveryengine_v1/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
|
|
@@ -1990,6 +1991,77 @@ module Google
|
|
|
1990
1991
|
end
|
|
1991
1992
|
end
|
|
1992
1993
|
|
|
1994
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
1995
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
1996
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig
|
|
1997
|
+
include Google::Apis::Core::Hashable
|
|
1998
|
+
|
|
1999
|
+
# Optional. The enrollment state of each alert.
|
|
2000
|
+
# Corresponds to the JSON property `alertEnrollments`
|
|
2001
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment>]
|
|
2002
|
+
attr_accessor :alert_enrollments
|
|
2003
|
+
|
|
2004
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
|
2005
|
+
# Corresponds to the JSON property `alertPolicy`
|
|
2006
|
+
# @return [String]
|
|
2007
|
+
attr_accessor :alert_policy
|
|
2008
|
+
|
|
2009
|
+
# Optional. The contact details for each alert policy.
|
|
2010
|
+
# Corresponds to the JSON property `contactDetails`
|
|
2011
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ContactDetails>]
|
|
2012
|
+
attr_accessor :contact_details
|
|
2013
|
+
|
|
2014
|
+
# Optional. The language code used for notifications
|
|
2015
|
+
# Corresponds to the JSON property `languageCode`
|
|
2016
|
+
# @return [String]
|
|
2017
|
+
attr_accessor :language_code
|
|
2018
|
+
|
|
2019
|
+
def initialize(**args)
|
|
2020
|
+
update!(**args)
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
# Update properties of this object
|
|
2024
|
+
def update!(**args)
|
|
2025
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
|
2026
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
|
2027
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
|
2028
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
2029
|
+
end
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
# The alert enrollment status.
|
|
2033
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment
|
|
2034
|
+
include Google::Apis::Core::Hashable
|
|
2035
|
+
|
|
2036
|
+
# Immutable. The id of an alert.
|
|
2037
|
+
# Corresponds to the JSON property `alertId`
|
|
2038
|
+
# @return [String]
|
|
2039
|
+
attr_accessor :alert_id
|
|
2040
|
+
|
|
2041
|
+
# Required. The enrollment status of a customer.
|
|
2042
|
+
# Corresponds to the JSON property `enrollState`
|
|
2043
|
+
# @return [String]
|
|
2044
|
+
attr_accessor :enroll_state
|
|
2045
|
+
|
|
2046
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
|
2047
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
|
2048
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
|
2049
|
+
# Corresponds to the JSON property `notificationParams`
|
|
2050
|
+
# @return [Hash<String,String>]
|
|
2051
|
+
attr_accessor :notification_params
|
|
2052
|
+
|
|
2053
|
+
def initialize(**args)
|
|
2054
|
+
update!(**args)
|
|
2055
|
+
end
|
|
2056
|
+
|
|
2057
|
+
# Update properties of this object
|
|
2058
|
+
def update!(**args)
|
|
2059
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
|
2060
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
|
2061
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
|
2062
|
+
end
|
|
2063
|
+
end
|
|
2064
|
+
|
|
1993
2065
|
# AlloyDB source import data from.
|
|
1994
2066
|
class GoogleCloudDiscoveryengineV1AlloyDbSource
|
|
1995
2067
|
include Google::Apis::Core::Hashable
|
|
@@ -4484,6 +4556,11 @@ module Google
|
|
|
4484
4556
|
class GoogleCloudDiscoveryengineV1BapConfig
|
|
4485
4557
|
include Google::Apis::Core::Hashable
|
|
4486
4558
|
|
|
4559
|
+
# Optional. The actions enabled on the associated BAP connection.
|
|
4560
|
+
# Corresponds to the JSON property `enabledActions`
|
|
4561
|
+
# @return [Array<String>]
|
|
4562
|
+
attr_accessor :enabled_actions
|
|
4563
|
+
|
|
4487
4564
|
# Required. The supported connector modes for the associated BAP connection.
|
|
4488
4565
|
# Corresponds to the JSON property `supportedConnectorModes`
|
|
4489
4566
|
# @return [Array<String>]
|
|
@@ -4495,6 +4572,7 @@ module Google
|
|
|
4495
4572
|
|
|
4496
4573
|
# Update properties of this object
|
|
4497
4574
|
def update!(**args)
|
|
4575
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
|
4498
4576
|
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
|
4499
4577
|
end
|
|
4500
4578
|
end
|
|
@@ -5846,6 +5924,27 @@ module Google
|
|
|
5846
5924
|
end
|
|
5847
5925
|
end
|
|
5848
5926
|
|
|
5927
|
+
# The contact info stored in resource level. If both project level and resource
|
|
5928
|
+
# level is populated, the resource level contact info will override the project
|
|
5929
|
+
# level contact info.
|
|
5930
|
+
class GoogleCloudDiscoveryengineV1ContactDetails
|
|
5931
|
+
include Google::Apis::Core::Hashable
|
|
5932
|
+
|
|
5933
|
+
# Optional. The email address of the contact.
|
|
5934
|
+
# Corresponds to the JSON property `emailAddress`
|
|
5935
|
+
# @return [String]
|
|
5936
|
+
attr_accessor :email_address
|
|
5937
|
+
|
|
5938
|
+
def initialize(**args)
|
|
5939
|
+
update!(**args)
|
|
5940
|
+
end
|
|
5941
|
+
|
|
5942
|
+
# Update properties of this object
|
|
5943
|
+
def update!(**args)
|
|
5944
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
5945
|
+
end
|
|
5946
|
+
end
|
|
5947
|
+
|
|
5849
5948
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
|
5850
5949
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
|
5851
5950
|
# `SolutionType`.
|
|
@@ -6986,6 +7085,12 @@ module Google
|
|
|
6986
7085
|
# @return [Hash<String,Object>]
|
|
6987
7086
|
attr_accessor :auth_params
|
|
6988
7087
|
|
|
7088
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
|
7089
|
+
# string format.
|
|
7090
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
|
7091
|
+
# @return [String]
|
|
7092
|
+
attr_accessor :json_auth_params
|
|
7093
|
+
|
|
6989
7094
|
# Tenant information for a connector source. This includes some of the same
|
|
6990
7095
|
# information stored in the Credential message, but is limited to only what is
|
|
6991
7096
|
# needed to provide a list of accessible tenants to the user.
|
|
@@ -7001,6 +7106,7 @@ module Google
|
|
|
7001
7106
|
def update!(**args)
|
|
7002
7107
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
|
7003
7108
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
|
7109
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
|
7004
7110
|
@tenant = args[:tenant] if args.key?(:tenant)
|
|
7005
7111
|
end
|
|
7006
7112
|
end
|
|
@@ -7015,11 +7121,17 @@ module Google
|
|
|
7015
7121
|
# @return [Hash<String,Object>]
|
|
7016
7122
|
attr_accessor :additional_params
|
|
7017
7123
|
|
|
7018
|
-
# Optional. Any authentication parameters specific to FEDERATED.
|
|
7124
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
|
7019
7125
|
# Corresponds to the JSON property `authParams`
|
|
7020
7126
|
# @return [Hash<String,Object>]
|
|
7021
7127
|
attr_accessor :auth_params
|
|
7022
7128
|
|
|
7129
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
|
7130
|
+
# json string format.
|
|
7131
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
|
7132
|
+
# @return [String]
|
|
7133
|
+
attr_accessor :json_auth_params
|
|
7134
|
+
|
|
7023
7135
|
def initialize(**args)
|
|
7024
7136
|
update!(**args)
|
|
7025
7137
|
end
|
|
@@ -7028,6 +7140,7 @@ module Google
|
|
|
7028
7140
|
def update!(**args)
|
|
7029
7141
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
|
7030
7142
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
|
7143
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
|
7031
7144
|
end
|
|
7032
7145
|
end
|
|
7033
7146
|
|
|
@@ -7192,6 +7305,11 @@ module Google
|
|
|
7192
7305
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
|
|
7193
7306
|
attr_accessor :cmek_config
|
|
7194
7307
|
|
|
7308
|
+
# Optional. Configuration for configurable billing approach. See
|
|
7309
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
|
7310
|
+
# @return [String]
|
|
7311
|
+
attr_accessor :configurable_billing_approach
|
|
7312
|
+
|
|
7195
7313
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
7196
7314
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
7197
7315
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -7295,6 +7413,7 @@ module Google
|
|
|
7295
7413
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
|
7296
7414
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
7297
7415
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
7416
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
7298
7417
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
7299
7418
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
7300
7419
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -8344,8 +8463,7 @@ module Google
|
|
|
8344
8463
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
|
8345
8464
|
attr_accessor :common_config
|
|
8346
8465
|
|
|
8347
|
-
# Optional. Configuration for configurable billing approach.
|
|
8348
|
-
# repricing-billing-dd for more details.
|
|
8466
|
+
# Optional. Configuration for configurable billing approach.
|
|
8349
8467
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
8350
8468
|
# @return [String]
|
|
8351
8469
|
attr_accessor :configurable_billing_approach
|
|
@@ -8382,8 +8500,9 @@ module Google
|
|
|
8382
8500
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
8383
8501
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
8384
8502
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
8385
|
-
# personalization-memory` * `disable-
|
|
8386
|
-
# generation`
|
|
8503
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
8504
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
8505
|
+
# content` * `disable-google-drive-upload`
|
|
8387
8506
|
# Corresponds to the JSON property `features`
|
|
8388
8507
|
# @return [Hash<String,String>]
|
|
8389
8508
|
attr_accessor :features
|
|
@@ -9972,6 +10091,99 @@ module Google
|
|
|
9972
10091
|
end
|
|
9973
10092
|
end
|
|
9974
10093
|
|
|
10094
|
+
# Information about users' licenses.
|
|
10095
|
+
class GoogleCloudDiscoveryengineV1LicenseConfig
|
|
10096
|
+
include Google::Apis::Core::Hashable
|
|
10097
|
+
|
|
10098
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
10099
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
10100
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
|
10101
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig]
|
|
10102
|
+
attr_accessor :alert_policy_resource_config
|
|
10103
|
+
|
|
10104
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
10105
|
+
# the end date.
|
|
10106
|
+
# Corresponds to the JSON property `autoRenew`
|
|
10107
|
+
# @return [Boolean]
|
|
10108
|
+
attr_accessor :auto_renew
|
|
10109
|
+
alias_method :auto_renew?, :auto_renew
|
|
10110
|
+
|
|
10111
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
10112
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
10113
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
10114
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
10115
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
10116
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
10117
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
10118
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
10119
|
+
# Corresponds to the JSON property `endDate`
|
|
10120
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
10121
|
+
attr_accessor :end_date
|
|
10122
|
+
|
|
10123
|
+
# Optional. Whether the license config is for free trial.
|
|
10124
|
+
# Corresponds to the JSON property `freeTrial`
|
|
10125
|
+
# @return [Boolean]
|
|
10126
|
+
attr_accessor :free_trial
|
|
10127
|
+
alias_method :free_trial?, :free_trial
|
|
10128
|
+
|
|
10129
|
+
# Required. Number of licenses purchased.
|
|
10130
|
+
# Corresponds to the JSON property `licenseCount`
|
|
10131
|
+
# @return [Fixnum]
|
|
10132
|
+
attr_accessor :license_count
|
|
10133
|
+
|
|
10134
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
10135
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
10136
|
+
# license_config``
|
|
10137
|
+
# Corresponds to the JSON property `name`
|
|
10138
|
+
# @return [String]
|
|
10139
|
+
attr_accessor :name
|
|
10140
|
+
|
|
10141
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
10142
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
10143
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
10144
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
10145
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
10146
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
10147
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
10148
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
10149
|
+
# Corresponds to the JSON property `startDate`
|
|
10150
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
10151
|
+
attr_accessor :start_date
|
|
10152
|
+
|
|
10153
|
+
# Output only. The state of the license config.
|
|
10154
|
+
# Corresponds to the JSON property `state`
|
|
10155
|
+
# @return [String]
|
|
10156
|
+
attr_accessor :state
|
|
10157
|
+
|
|
10158
|
+
# Required. Subscription term.
|
|
10159
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
10160
|
+
# @return [String]
|
|
10161
|
+
attr_accessor :subscription_term
|
|
10162
|
+
|
|
10163
|
+
# Required. Subscription tier information for the license config.
|
|
10164
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
10165
|
+
# @return [String]
|
|
10166
|
+
attr_accessor :subscription_tier
|
|
10167
|
+
|
|
10168
|
+
def initialize(**args)
|
|
10169
|
+
update!(**args)
|
|
10170
|
+
end
|
|
10171
|
+
|
|
10172
|
+
# Update properties of this object
|
|
10173
|
+
def update!(**args)
|
|
10174
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
|
10175
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
10176
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
10177
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
10178
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
10179
|
+
@name = args[:name] if args.key?(:name)
|
|
10180
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
10181
|
+
@state = args[:state] if args.key?(:state)
|
|
10182
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
10183
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
10184
|
+
end
|
|
10185
|
+
end
|
|
10186
|
+
|
|
9975
10187
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
|
9976
10188
|
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
|
9977
10189
|
include Google::Apis::Core::Hashable
|
|
@@ -11741,6 +11953,12 @@ module Google
|
|
|
11741
11953
|
# @return [String]
|
|
11742
11954
|
attr_accessor :language_code
|
|
11743
11955
|
|
|
11956
|
+
# Specification to enable natural language understanding capabilities for search
|
|
11957
|
+
# requests.
|
|
11958
|
+
# Corresponds to the JSON property `naturalLanguageQueryUnderstandingSpec`
|
|
11959
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec]
|
|
11960
|
+
attr_accessor :natural_language_query_understanding_spec
|
|
11961
|
+
|
|
11744
11962
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
|
11745
11963
|
# result location, amongst the Documents deemed by the API as relevant) in
|
|
11746
11964
|
# search results. This field is only considered if page_token is unset. If this
|
|
@@ -11967,6 +12185,7 @@ module Google
|
|
|
11967
12185
|
@filter = args[:filter] if args.key?(:filter)
|
|
11968
12186
|
@image_query = args[:image_query] if args.key?(:image_query)
|
|
11969
12187
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
12188
|
+
@natural_language_query_understanding_spec = args[:natural_language_query_understanding_spec] if args.key?(:natural_language_query_understanding_spec)
|
|
11970
12189
|
@offset = args[:offset] if args.key?(:offset)
|
|
11971
12190
|
@one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
|
|
11972
12191
|
@order_by = args[:order_by] if args.key?(:order_by)
|
|
@@ -12713,6 +12932,61 @@ module Google
|
|
|
12713
12932
|
end
|
|
12714
12933
|
end
|
|
12715
12934
|
|
|
12935
|
+
# Specification to enable natural language understanding capabilities for search
|
|
12936
|
+
# requests.
|
|
12937
|
+
class GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec
|
|
12938
|
+
include Google::Apis::Core::Hashable
|
|
12939
|
+
|
|
12940
|
+
# Optional. Allowlist of fields that can be used for natural language filter
|
|
12941
|
+
# extraction. By default, if this is unspecified, all indexable fields are
|
|
12942
|
+
# eligible for natural language filter extraction (but are not guaranteed to be
|
|
12943
|
+
# used). If any fields are specified in allowed_field_names, only the fields
|
|
12944
|
+
# that are both marked as indexable in the schema and specified in the allowlist
|
|
12945
|
+
# will be eligible for natural language filter extraction. Note: for multi-
|
|
12946
|
+
# datastore search, this is not yet supported, and will be ignored.
|
|
12947
|
+
# Corresponds to the JSON property `allowedFieldNames`
|
|
12948
|
+
# @return [Array<String>]
|
|
12949
|
+
attr_accessor :allowed_field_names
|
|
12950
|
+
|
|
12951
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
|
12952
|
+
# The default behavior depends on the request. For single datastore structured
|
|
12953
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
|
12954
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
|
12955
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
|
12956
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
|
12957
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
|
12958
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
|
12959
|
+
# @return [String]
|
|
12960
|
+
attr_accessor :extracted_filter_behavior
|
|
12961
|
+
|
|
12962
|
+
# The condition under which filter extraction should occur. Server behavior
|
|
12963
|
+
# defaults to `DISABLED`.
|
|
12964
|
+
# Corresponds to the JSON property `filterExtractionCondition`
|
|
12965
|
+
# @return [String]
|
|
12966
|
+
attr_accessor :filter_extraction_condition
|
|
12967
|
+
|
|
12968
|
+
# Field names used for location-based filtering, where geolocation filters are
|
|
12969
|
+
# detected in natural language search queries. Only valid when the
|
|
12970
|
+
# FilterExtractionCondition is set to `ENABLED`. If this field is set, it
|
|
12971
|
+
# overrides the field names set in ServingConfig.
|
|
12972
|
+
# geo_search_query_detection_field_names.
|
|
12973
|
+
# Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
|
|
12974
|
+
# @return [Array<String>]
|
|
12975
|
+
attr_accessor :geo_search_query_detection_field_names
|
|
12976
|
+
|
|
12977
|
+
def initialize(**args)
|
|
12978
|
+
update!(**args)
|
|
12979
|
+
end
|
|
12980
|
+
|
|
12981
|
+
# Update properties of this object
|
|
12982
|
+
def update!(**args)
|
|
12983
|
+
@allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
|
|
12984
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
|
12985
|
+
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
|
12986
|
+
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
|
12987
|
+
end
|
|
12988
|
+
end
|
|
12989
|
+
|
|
12716
12990
|
# Specification to determine under which conditions query expansion should occur.
|
|
12717
12991
|
class GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec
|
|
12718
12992
|
include Google::Apis::Core::Hashable
|
|
@@ -13772,6 +14046,11 @@ module Google
|
|
|
13772
14046
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Answer]
|
|
13773
14047
|
attr_accessor :detailed_answer
|
|
13774
14048
|
|
|
14049
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
14050
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
|
14051
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswer]
|
|
14052
|
+
attr_accessor :detailed_assist_answer
|
|
14053
|
+
|
|
13775
14054
|
# Defines a user inputed query.
|
|
13776
14055
|
# Corresponds to the JSON property `query`
|
|
13777
14056
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query]
|
|
@@ -13792,6 +14071,7 @@ module Google
|
|
|
13792
14071
|
def update!(**args)
|
|
13793
14072
|
@answer = args[:answer] if args.key?(:answer)
|
|
13794
14073
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
14074
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
13795
14075
|
@query = args[:query] if args.key?(:query)
|
|
13796
14076
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
13797
14077
|
end
|
|
@@ -14858,12 +15138,11 @@ module Google
|
|
|
14858
15138
|
# Search for Documents. * `view-item`: Detailed page view of a Document. * `view-
|
|
14859
15139
|
# item-list`: View of a panel or ordered list of Documents. * `view-home-page`:
|
|
14860
15140
|
# View of the home page. * `view-category-page`: View of a category page, e.g.
|
|
14861
|
-
# Home > Men > Jeans * `add-
|
|
14862
|
-
#
|
|
14863
|
-
#
|
|
14864
|
-
#
|
|
14865
|
-
#
|
|
14866
|
-
# * `conversion`: Customer defined conversion event.
|
|
15141
|
+
# Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to
|
|
15142
|
+
# cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-
|
|
15143
|
+
# related values: * `media-play`: Start/resume watching a video, playing a song,
|
|
15144
|
+
# etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
|
|
15145
|
+
# Custom conversion value: * `conversion`: Customer defined conversion event.
|
|
14867
15146
|
# Corresponds to the JSON property `eventType`
|
|
14868
15147
|
# @return [String]
|
|
14869
15148
|
attr_accessor :event_type
|
|
@@ -15160,12 +15439,7 @@ module Google
|
|
|
15160
15439
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
|
15161
15440
|
include Google::Apis::Core::Hashable
|
|
15162
15441
|
|
|
15163
|
-
#
|
|
15164
|
-
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
|
|
15165
|
-
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
|
|
15166
|
-
# client_id` * Value: type STRING. The client ID for the service provider to
|
|
15167
|
-
# identify your application. * Key: `client_secret` * Value:type STRING. The
|
|
15168
|
-
# client secret generated by the application's authorization server.
|
|
15442
|
+
# Optional. Action parameters in structured json format.
|
|
15169
15443
|
# Corresponds to the JSON property `actionParams`
|
|
15170
15444
|
# @return [Hash<String,Object>]
|
|
15171
15445
|
attr_accessor :action_params
|
|
@@ -15177,6 +15451,11 @@ module Google
|
|
|
15177
15451
|
attr_accessor :is_action_configured
|
|
15178
15452
|
alias_method :is_action_configured?, :is_action_configured
|
|
15179
15453
|
|
|
15454
|
+
# Optional. Action parameters in json string format.
|
|
15455
|
+
# Corresponds to the JSON property `jsonActionParams`
|
|
15456
|
+
# @return [String]
|
|
15457
|
+
attr_accessor :json_action_params
|
|
15458
|
+
|
|
15180
15459
|
# Optional. The Service Directory resource name (projects/*/locations/*/
|
|
15181
15460
|
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
|
15182
15461
|
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
|
@@ -15200,6 +15479,7 @@ module Google
|
|
|
15200
15479
|
def update!(**args)
|
|
15201
15480
|
@action_params = args[:action_params] if args.key?(:action_params)
|
|
15202
15481
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
|
15482
|
+
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
|
15203
15483
|
@service_name = args[:service_name] if args.key?(:service_name)
|
|
15204
15484
|
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
|
15205
15485
|
end
|
|
@@ -15282,6 +15562,77 @@ module Google
|
|
|
15282
15562
|
end
|
|
15283
15563
|
end
|
|
15284
15564
|
|
|
15565
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
15566
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
15567
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig
|
|
15568
|
+
include Google::Apis::Core::Hashable
|
|
15569
|
+
|
|
15570
|
+
# Optional. The enrollment state of each alert.
|
|
15571
|
+
# Corresponds to the JSON property `alertEnrollments`
|
|
15572
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment>]
|
|
15573
|
+
attr_accessor :alert_enrollments
|
|
15574
|
+
|
|
15575
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
|
15576
|
+
# Corresponds to the JSON property `alertPolicy`
|
|
15577
|
+
# @return [String]
|
|
15578
|
+
attr_accessor :alert_policy
|
|
15579
|
+
|
|
15580
|
+
# Optional. The contact details for each alert policy.
|
|
15581
|
+
# Corresponds to the JSON property `contactDetails`
|
|
15582
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaContactDetails>]
|
|
15583
|
+
attr_accessor :contact_details
|
|
15584
|
+
|
|
15585
|
+
# Optional. The language code used for notifications
|
|
15586
|
+
# Corresponds to the JSON property `languageCode`
|
|
15587
|
+
# @return [String]
|
|
15588
|
+
attr_accessor :language_code
|
|
15589
|
+
|
|
15590
|
+
def initialize(**args)
|
|
15591
|
+
update!(**args)
|
|
15592
|
+
end
|
|
15593
|
+
|
|
15594
|
+
# Update properties of this object
|
|
15595
|
+
def update!(**args)
|
|
15596
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
|
15597
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
|
15598
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
|
15599
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
15600
|
+
end
|
|
15601
|
+
end
|
|
15602
|
+
|
|
15603
|
+
# The alert enrollment status.
|
|
15604
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
|
|
15605
|
+
include Google::Apis::Core::Hashable
|
|
15606
|
+
|
|
15607
|
+
# Immutable. The id of an alert.
|
|
15608
|
+
# Corresponds to the JSON property `alertId`
|
|
15609
|
+
# @return [String]
|
|
15610
|
+
attr_accessor :alert_id
|
|
15611
|
+
|
|
15612
|
+
# Required. The enrollment status of a customer.
|
|
15613
|
+
# Corresponds to the JSON property `enrollState`
|
|
15614
|
+
# @return [String]
|
|
15615
|
+
attr_accessor :enroll_state
|
|
15616
|
+
|
|
15617
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
|
15618
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
|
15619
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
|
15620
|
+
# Corresponds to the JSON property `notificationParams`
|
|
15621
|
+
# @return [Hash<String,String>]
|
|
15622
|
+
attr_accessor :notification_params
|
|
15623
|
+
|
|
15624
|
+
def initialize(**args)
|
|
15625
|
+
update!(**args)
|
|
15626
|
+
end
|
|
15627
|
+
|
|
15628
|
+
# Update properties of this object
|
|
15629
|
+
def update!(**args)
|
|
15630
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
|
15631
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
|
15632
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
|
15633
|
+
end
|
|
15634
|
+
end
|
|
15635
|
+
|
|
15285
15636
|
# Defines an answer.
|
|
15286
15637
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
|
15287
15638
|
include Google::Apis::Core::Hashable
|
|
@@ -16041,21 +16392,535 @@ module Google
|
|
|
16041
16392
|
end
|
|
16042
16393
|
end
|
|
16043
16394
|
|
|
16044
|
-
#
|
|
16045
|
-
class
|
|
16395
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
16396
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
|
16046
16397
|
include Google::Apis::Core::Hashable
|
|
16047
16398
|
|
|
16048
|
-
#
|
|
16049
|
-
# Corresponds to the JSON property `
|
|
16399
|
+
# Reasons for not answering the assist call.
|
|
16400
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
|
16050
16401
|
# @return [Array<String>]
|
|
16051
|
-
attr_accessor :
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16402
|
+
attr_accessor :assist_skipped_reasons
|
|
16403
|
+
|
|
16404
|
+
# Customer policy enforcement results. Contains the results of the various
|
|
16405
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
|
16406
|
+
# Corresponds to the JSON property `customerPolicyEnforcementResult`
|
|
16407
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult]
|
|
16408
|
+
attr_accessor :customer_policy_enforcement_result
|
|
16409
|
+
|
|
16410
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
|
16411
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
16412
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
|
16413
|
+
# encoded string with a length limit of 1024 characters.
|
|
16414
|
+
# Corresponds to the JSON property `name`
|
|
16415
|
+
# @return [String]
|
|
16416
|
+
attr_accessor :name
|
|
16417
|
+
|
|
16418
|
+
# Replies of the assistant.
|
|
16419
|
+
# Corresponds to the JSON property `replies`
|
|
16420
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
|
16421
|
+
attr_accessor :replies
|
|
16422
|
+
|
|
16423
|
+
# State of the answer generation.
|
|
16424
|
+
# Corresponds to the JSON property `state`
|
|
16425
|
+
# @return [String]
|
|
16426
|
+
attr_accessor :state
|
|
16427
|
+
|
|
16428
|
+
def initialize(**args)
|
|
16429
|
+
update!(**args)
|
|
16430
|
+
end
|
|
16431
|
+
|
|
16432
|
+
# Update properties of this object
|
|
16433
|
+
def update!(**args)
|
|
16434
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
|
16435
|
+
@customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
|
|
16436
|
+
@name = args[:name] if args.key?(:name)
|
|
16437
|
+
@replies = args[:replies] if args.key?(:replies)
|
|
16438
|
+
@state = args[:state] if args.key?(:state)
|
|
16439
|
+
end
|
|
16440
|
+
end
|
|
16441
|
+
|
|
16442
|
+
# Customer policy enforcement results. Contains the results of the various
|
|
16443
|
+
# policy checks, like the banned phrases or the Model Armor checks.
|
|
16444
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
|
|
16445
|
+
include Google::Apis::Core::Hashable
|
|
16446
|
+
|
|
16447
|
+
# Customer policy enforcement results. Populated only if the assist call was
|
|
16448
|
+
# skipped due to a policy violation. It contains results from those filters that
|
|
16449
|
+
# blocked the processing of the query.
|
|
16450
|
+
# Corresponds to the JSON property `policyResults`
|
|
16451
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
|
|
16452
|
+
attr_accessor :policy_results
|
|
16453
|
+
|
|
16454
|
+
# Final verdict of the customer policy enforcement. If only one policy blocked
|
|
16455
|
+
# the processing, the verdict is BLOCK.
|
|
16456
|
+
# Corresponds to the JSON property `verdict`
|
|
16457
|
+
# @return [String]
|
|
16458
|
+
attr_accessor :verdict
|
|
16459
|
+
|
|
16460
|
+
def initialize(**args)
|
|
16461
|
+
update!(**args)
|
|
16462
|
+
end
|
|
16463
|
+
|
|
16464
|
+
# Update properties of this object
|
|
16465
|
+
def update!(**args)
|
|
16466
|
+
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
|
16467
|
+
@verdict = args[:verdict] if args.key?(:verdict)
|
|
16468
|
+
end
|
|
16469
|
+
end
|
|
16470
|
+
|
|
16471
|
+
# Customer policy enforcement result for the banned phrase policy.
|
|
16472
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
|
|
16473
|
+
include Google::Apis::Core::Hashable
|
|
16474
|
+
|
|
16475
|
+
# The banned phrases that were found in the query or the answer.
|
|
16476
|
+
# Corresponds to the JSON property `bannedPhrases`
|
|
16477
|
+
# @return [Array<String>]
|
|
16478
|
+
attr_accessor :banned_phrases
|
|
16479
|
+
|
|
16480
|
+
def initialize(**args)
|
|
16481
|
+
update!(**args)
|
|
16482
|
+
end
|
|
16483
|
+
|
|
16484
|
+
# Update properties of this object
|
|
16485
|
+
def update!(**args)
|
|
16486
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
|
16487
|
+
end
|
|
16488
|
+
end
|
|
16489
|
+
|
|
16490
|
+
# Customer policy enforcement result for the Model Armor policy.
|
|
16491
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
|
|
16492
|
+
include Google::Apis::Core::Hashable
|
|
16493
|
+
|
|
16494
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
16495
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
16496
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
16497
|
+
# data: error code, error message, and error details. You can find out more
|
|
16498
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
16499
|
+
# //cloud.google.com/apis/design/errors).
|
|
16500
|
+
# Corresponds to the JSON property `error`
|
|
16501
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
|
|
16502
|
+
attr_accessor :error
|
|
16503
|
+
|
|
16504
|
+
# The Model Armor violation that was found.
|
|
16505
|
+
# Corresponds to the JSON property `modelArmorViolation`
|
|
16506
|
+
# @return [String]
|
|
16507
|
+
attr_accessor :model_armor_violation
|
|
16508
|
+
|
|
16509
|
+
def initialize(**args)
|
|
16510
|
+
update!(**args)
|
|
16511
|
+
end
|
|
16512
|
+
|
|
16513
|
+
# Update properties of this object
|
|
16514
|
+
def update!(**args)
|
|
16515
|
+
@error = args[:error] if args.key?(:error)
|
|
16516
|
+
@model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
|
|
16517
|
+
end
|
|
16518
|
+
end
|
|
16519
|
+
|
|
16520
|
+
# Customer policy enforcement result for a single policy type.
|
|
16521
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
|
|
16522
|
+
include Google::Apis::Core::Hashable
|
|
16523
|
+
|
|
16524
|
+
# Customer policy enforcement result for the banned phrase policy.
|
|
16525
|
+
# Corresponds to the JSON property `bannedPhraseEnforcementResult`
|
|
16526
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
|
|
16527
|
+
attr_accessor :banned_phrase_enforcement_result
|
|
16528
|
+
|
|
16529
|
+
# Customer policy enforcement result for the Model Armor policy.
|
|
16530
|
+
# Corresponds to the JSON property `modelArmorEnforcementResult`
|
|
16531
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
|
|
16532
|
+
attr_accessor :model_armor_enforcement_result
|
|
16533
|
+
|
|
16534
|
+
def initialize(**args)
|
|
16535
|
+
update!(**args)
|
|
16536
|
+
end
|
|
16537
|
+
|
|
16538
|
+
# Update properties of this object
|
|
16539
|
+
def update!(**args)
|
|
16540
|
+
@banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
|
|
16541
|
+
@model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
|
|
16542
|
+
end
|
|
16543
|
+
end
|
|
16544
|
+
|
|
16545
|
+
# One part of the multi-part response of the assist call.
|
|
16546
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
|
16547
|
+
include Google::Apis::Core::Hashable
|
|
16548
|
+
|
|
16549
|
+
# A piece of content and possibly its grounding information. Not all content
|
|
16550
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
16551
|
+
# not need grounding.
|
|
16552
|
+
# Corresponds to the JSON property `groundedContent`
|
|
16553
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
|
16554
|
+
attr_accessor :grounded_content
|
|
16555
|
+
|
|
16556
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
|
16557
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
|
16558
|
+
# messages with the same ID can occur within the response stream (across
|
|
16559
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
|
16560
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
|
16561
|
+
# Corresponds to the JSON property `replyId`
|
|
16562
|
+
# @return [String]
|
|
16563
|
+
attr_accessor :reply_id
|
|
16564
|
+
|
|
16565
|
+
def initialize(**args)
|
|
16566
|
+
update!(**args)
|
|
16567
|
+
end
|
|
16568
|
+
|
|
16569
|
+
# Update properties of this object
|
|
16570
|
+
def update!(**args)
|
|
16571
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
|
16572
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
|
16573
|
+
end
|
|
16574
|
+
end
|
|
16575
|
+
|
|
16576
|
+
# Multi-modal content.
|
|
16577
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
|
16578
|
+
include Google::Apis::Core::Hashable
|
|
16579
|
+
|
|
16580
|
+
# Result of executing ExecutableCode.
|
|
16581
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
|
16582
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
|
16583
|
+
attr_accessor :code_execution_result
|
|
16584
|
+
|
|
16585
|
+
# Code generated by the model that is meant to be executed by the model.
|
|
16586
|
+
# Corresponds to the JSON property `executableCode`
|
|
16587
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
|
16588
|
+
attr_accessor :executable_code
|
|
16589
|
+
|
|
16590
|
+
# A file, e.g., an audio summary.
|
|
16591
|
+
# Corresponds to the JSON property `file`
|
|
16592
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
|
16593
|
+
attr_accessor :file
|
|
16594
|
+
|
|
16595
|
+
# Inline blob.
|
|
16596
|
+
# Corresponds to the JSON property `inlineData`
|
|
16597
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
|
16598
|
+
attr_accessor :inline_data
|
|
16599
|
+
|
|
16600
|
+
# The producer of the content. Can be "model" or "user".
|
|
16601
|
+
# Corresponds to the JSON property `role`
|
|
16602
|
+
# @return [String]
|
|
16603
|
+
attr_accessor :role
|
|
16604
|
+
|
|
16605
|
+
# Inline text.
|
|
16606
|
+
# Corresponds to the JSON property `text`
|
|
16607
|
+
# @return [String]
|
|
16608
|
+
attr_accessor :text
|
|
16609
|
+
|
|
16610
|
+
# Optional. Indicates if the part is thought from the model.
|
|
16611
|
+
# Corresponds to the JSON property `thought`
|
|
16612
|
+
# @return [Boolean]
|
|
16613
|
+
attr_accessor :thought
|
|
16614
|
+
alias_method :thought?, :thought
|
|
16615
|
+
|
|
16616
|
+
def initialize(**args)
|
|
16617
|
+
update!(**args)
|
|
16618
|
+
end
|
|
16619
|
+
|
|
16620
|
+
# Update properties of this object
|
|
16621
|
+
def update!(**args)
|
|
16622
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
|
16623
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
|
16624
|
+
@file = args[:file] if args.key?(:file)
|
|
16625
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
|
16626
|
+
@role = args[:role] if args.key?(:role)
|
|
16627
|
+
@text = args[:text] if args.key?(:text)
|
|
16628
|
+
@thought = args[:thought] if args.key?(:thought)
|
|
16629
|
+
end
|
|
16630
|
+
end
|
|
16631
|
+
|
|
16632
|
+
# Inline blob.
|
|
16633
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
|
16634
|
+
include Google::Apis::Core::Hashable
|
|
16635
|
+
|
|
16636
|
+
# Required. Raw bytes.
|
|
16637
|
+
# Corresponds to the JSON property `data`
|
|
16638
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
16639
|
+
# @return [String]
|
|
16640
|
+
attr_accessor :data
|
|
16641
|
+
|
|
16642
|
+
# Required. The media type (MIME type) of the generated data.
|
|
16643
|
+
# Corresponds to the JSON property `mimeType`
|
|
16644
|
+
# @return [String]
|
|
16645
|
+
attr_accessor :mime_type
|
|
16646
|
+
|
|
16647
|
+
def initialize(**args)
|
|
16648
|
+
update!(**args)
|
|
16649
|
+
end
|
|
16650
|
+
|
|
16651
|
+
# Update properties of this object
|
|
16652
|
+
def update!(**args)
|
|
16653
|
+
@data = args[:data] if args.key?(:data)
|
|
16654
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16655
|
+
end
|
|
16656
|
+
end
|
|
16657
|
+
|
|
16658
|
+
# Result of executing ExecutableCode.
|
|
16659
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
|
16660
|
+
include Google::Apis::Core::Hashable
|
|
16661
|
+
|
|
16662
|
+
# Required. Outcome of the code execution.
|
|
16663
|
+
# Corresponds to the JSON property `outcome`
|
|
16664
|
+
# @return [String]
|
|
16665
|
+
attr_accessor :outcome
|
|
16666
|
+
|
|
16667
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
|
16668
|
+
# description otherwise.
|
|
16669
|
+
# Corresponds to the JSON property `output`
|
|
16670
|
+
# @return [String]
|
|
16671
|
+
attr_accessor :output
|
|
16672
|
+
|
|
16673
|
+
def initialize(**args)
|
|
16674
|
+
update!(**args)
|
|
16675
|
+
end
|
|
16676
|
+
|
|
16677
|
+
# Update properties of this object
|
|
16678
|
+
def update!(**args)
|
|
16679
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
|
16680
|
+
@output = args[:output] if args.key?(:output)
|
|
16681
|
+
end
|
|
16682
|
+
end
|
|
16683
|
+
|
|
16684
|
+
# Code generated by the model that is meant to be executed by the model.
|
|
16685
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
|
16686
|
+
include Google::Apis::Core::Hashable
|
|
16687
|
+
|
|
16688
|
+
# Required. The code content. Currently only supports Python.
|
|
16689
|
+
# Corresponds to the JSON property `code`
|
|
16690
|
+
# @return [String]
|
|
16691
|
+
attr_accessor :code
|
|
16692
|
+
|
|
16693
|
+
def initialize(**args)
|
|
16694
|
+
update!(**args)
|
|
16695
|
+
end
|
|
16696
|
+
|
|
16697
|
+
# Update properties of this object
|
|
16698
|
+
def update!(**args)
|
|
16699
|
+
@code = args[:code] if args.key?(:code)
|
|
16700
|
+
end
|
|
16701
|
+
end
|
|
16702
|
+
|
|
16703
|
+
# A file, e.g., an audio summary.
|
|
16704
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
|
16705
|
+
include Google::Apis::Core::Hashable
|
|
16706
|
+
|
|
16707
|
+
# Required. The file ID.
|
|
16708
|
+
# Corresponds to the JSON property `fileId`
|
|
16709
|
+
# @return [String]
|
|
16710
|
+
attr_accessor :file_id
|
|
16711
|
+
|
|
16712
|
+
# Required. The media type (MIME type) of the file.
|
|
16713
|
+
# Corresponds to the JSON property `mimeType`
|
|
16714
|
+
# @return [String]
|
|
16715
|
+
attr_accessor :mime_type
|
|
16716
|
+
|
|
16717
|
+
def initialize(**args)
|
|
16718
|
+
update!(**args)
|
|
16719
|
+
end
|
|
16720
|
+
|
|
16721
|
+
# Update properties of this object
|
|
16722
|
+
def update!(**args)
|
|
16723
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
|
16724
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16725
|
+
end
|
|
16726
|
+
end
|
|
16727
|
+
|
|
16728
|
+
# A piece of content and possibly its grounding information. Not all content
|
|
16729
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
16730
|
+
# not need grounding.
|
|
16731
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
|
16732
|
+
include Google::Apis::Core::Hashable
|
|
16733
|
+
|
|
16734
|
+
# Multi-modal content.
|
|
16735
|
+
# Corresponds to the JSON property `content`
|
|
16736
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
|
16737
|
+
attr_accessor :content
|
|
16738
|
+
|
|
16739
|
+
# Grounding details for text sources.
|
|
16740
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
|
16741
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
|
16742
|
+
attr_accessor :text_grounding_metadata
|
|
16743
|
+
|
|
16744
|
+
def initialize(**args)
|
|
16745
|
+
update!(**args)
|
|
16746
|
+
end
|
|
16747
|
+
|
|
16748
|
+
# Update properties of this object
|
|
16749
|
+
def update!(**args)
|
|
16750
|
+
@content = args[:content] if args.key?(:content)
|
|
16751
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
|
16752
|
+
end
|
|
16753
|
+
end
|
|
16754
|
+
|
|
16755
|
+
# Grounding details for text sources.
|
|
16756
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
|
16757
|
+
include Google::Apis::Core::Hashable
|
|
16758
|
+
|
|
16759
|
+
# References for the grounded text.
|
|
16760
|
+
# Corresponds to the JSON property `references`
|
|
16761
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
|
16762
|
+
attr_accessor :references
|
|
16763
|
+
|
|
16764
|
+
# Grounding information for parts of the text.
|
|
16765
|
+
# Corresponds to the JSON property `segments`
|
|
16766
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
|
16767
|
+
attr_accessor :segments
|
|
16768
|
+
|
|
16769
|
+
def initialize(**args)
|
|
16770
|
+
update!(**args)
|
|
16771
|
+
end
|
|
16772
|
+
|
|
16773
|
+
# Update properties of this object
|
|
16774
|
+
def update!(**args)
|
|
16775
|
+
@references = args[:references] if args.key?(:references)
|
|
16776
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
16777
|
+
end
|
|
16778
|
+
end
|
|
16779
|
+
|
|
16780
|
+
# Referenced content and related document metadata.
|
|
16781
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
16782
|
+
include Google::Apis::Core::Hashable
|
|
16783
|
+
|
|
16784
|
+
# Referenced text content.
|
|
16785
|
+
# Corresponds to the JSON property `content`
|
|
16786
|
+
# @return [String]
|
|
16787
|
+
attr_accessor :content
|
|
16788
|
+
|
|
16789
|
+
# Document metadata.
|
|
16790
|
+
# Corresponds to the JSON property `documentMetadata`
|
|
16791
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
|
16792
|
+
attr_accessor :document_metadata
|
|
16793
|
+
|
|
16794
|
+
def initialize(**args)
|
|
16795
|
+
update!(**args)
|
|
16796
|
+
end
|
|
16797
|
+
|
|
16798
|
+
# Update properties of this object
|
|
16799
|
+
def update!(**args)
|
|
16800
|
+
@content = args[:content] if args.key?(:content)
|
|
16801
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
16802
|
+
end
|
|
16803
|
+
end
|
|
16804
|
+
|
|
16805
|
+
# Document metadata.
|
|
16806
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
|
16807
|
+
include Google::Apis::Core::Hashable
|
|
16808
|
+
|
|
16809
|
+
# Document resource name.
|
|
16810
|
+
# Corresponds to the JSON property `document`
|
|
16811
|
+
# @return [String]
|
|
16812
|
+
attr_accessor :document
|
|
16813
|
+
|
|
16814
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
|
16815
|
+
# that redirects to the actual website, in which case this will contain the
|
|
16816
|
+
# domain name of the target site.
|
|
16817
|
+
# Corresponds to the JSON property `domain`
|
|
16818
|
+
# @return [String]
|
|
16819
|
+
attr_accessor :domain
|
|
16820
|
+
|
|
16821
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
|
16822
|
+
# media-types.xhtml.
|
|
16823
|
+
# Corresponds to the JSON property `mimeType`
|
|
16824
|
+
# @return [String]
|
|
16825
|
+
attr_accessor :mime_type
|
|
16826
|
+
|
|
16827
|
+
# Page identifier.
|
|
16828
|
+
# Corresponds to the JSON property `pageIdentifier`
|
|
16829
|
+
# @return [String]
|
|
16830
|
+
attr_accessor :page_identifier
|
|
16831
|
+
|
|
16832
|
+
# Title.
|
|
16833
|
+
# Corresponds to the JSON property `title`
|
|
16834
|
+
# @return [String]
|
|
16835
|
+
attr_accessor :title
|
|
16836
|
+
|
|
16837
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
|
16838
|
+
# website.
|
|
16839
|
+
# Corresponds to the JSON property `uri`
|
|
16840
|
+
# @return [String]
|
|
16841
|
+
attr_accessor :uri
|
|
16842
|
+
|
|
16843
|
+
def initialize(**args)
|
|
16844
|
+
update!(**args)
|
|
16845
|
+
end
|
|
16846
|
+
|
|
16847
|
+
# Update properties of this object
|
|
16848
|
+
def update!(**args)
|
|
16849
|
+
@document = args[:document] if args.key?(:document)
|
|
16850
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
16851
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
16852
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
|
16853
|
+
@title = args[:title] if args.key?(:title)
|
|
16854
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
16855
|
+
end
|
|
16856
|
+
end
|
|
16857
|
+
|
|
16858
|
+
# Grounding information for a segment of the text.
|
|
16859
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
|
16860
|
+
include Google::Apis::Core::Hashable
|
|
16861
|
+
|
|
16862
|
+
# End of the segment, exclusive.
|
|
16863
|
+
# Corresponds to the JSON property `endIndex`
|
|
16864
|
+
# @return [Fixnum]
|
|
16865
|
+
attr_accessor :end_index
|
|
16866
|
+
|
|
16867
|
+
# Score for the segment.
|
|
16868
|
+
# Corresponds to the JSON property `groundingScore`
|
|
16869
|
+
# @return [Float]
|
|
16870
|
+
attr_accessor :grounding_score
|
|
16871
|
+
|
|
16872
|
+
# References for the segment.
|
|
16873
|
+
# Corresponds to the JSON property `referenceIndices`
|
|
16874
|
+
# @return [Array<Fixnum>]
|
|
16875
|
+
attr_accessor :reference_indices
|
|
16876
|
+
|
|
16877
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
|
16878
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
|
16879
|
+
# than one).
|
|
16880
|
+
# Corresponds to the JSON property `startIndex`
|
|
16881
|
+
# @return [Fixnum]
|
|
16882
|
+
attr_accessor :start_index
|
|
16883
|
+
|
|
16884
|
+
# The text segment itself.
|
|
16885
|
+
# Corresponds to the JSON property `text`
|
|
16886
|
+
# @return [String]
|
|
16887
|
+
attr_accessor :text
|
|
16888
|
+
|
|
16889
|
+
def initialize(**args)
|
|
16890
|
+
update!(**args)
|
|
16891
|
+
end
|
|
16892
|
+
|
|
16893
|
+
# Update properties of this object
|
|
16894
|
+
def update!(**args)
|
|
16895
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
|
16896
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
|
16897
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
|
16898
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
|
16899
|
+
@text = args[:text] if args.key?(:text)
|
|
16900
|
+
end
|
|
16901
|
+
end
|
|
16902
|
+
|
|
16903
|
+
# The configuration for the BAP connector.
|
|
16904
|
+
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
|
16905
|
+
include Google::Apis::Core::Hashable
|
|
16906
|
+
|
|
16907
|
+
# Optional. The actions enabled on the associated BAP connection.
|
|
16908
|
+
# Corresponds to the JSON property `enabledActions`
|
|
16909
|
+
# @return [Array<String>]
|
|
16910
|
+
attr_accessor :enabled_actions
|
|
16911
|
+
|
|
16912
|
+
# Required. The supported connector modes for the associated BAP connection.
|
|
16913
|
+
# Corresponds to the JSON property `supportedConnectorModes`
|
|
16914
|
+
# @return [Array<String>]
|
|
16915
|
+
attr_accessor :supported_connector_modes
|
|
16916
|
+
|
|
16917
|
+
def initialize(**args)
|
|
16918
|
+
update!(**args)
|
|
16919
|
+
end
|
|
16056
16920
|
|
|
16057
16921
|
# Update properties of this object
|
|
16058
16922
|
def update!(**args)
|
|
16923
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
|
16059
16924
|
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
|
16060
16925
|
end
|
|
16061
16926
|
end
|
|
@@ -16574,6 +17439,27 @@ module Google
|
|
|
16574
17439
|
end
|
|
16575
17440
|
end
|
|
16576
17441
|
|
|
17442
|
+
# The contact info stored in resource level. If both project level and resource
|
|
17443
|
+
# level is populated, the resource level contact info will override the project
|
|
17444
|
+
# level contact info.
|
|
17445
|
+
class GoogleCloudDiscoveryengineV1alphaContactDetails
|
|
17446
|
+
include Google::Apis::Core::Hashable
|
|
17447
|
+
|
|
17448
|
+
# Optional. The email address of the contact.
|
|
17449
|
+
# Corresponds to the JSON property `emailAddress`
|
|
17450
|
+
# @return [String]
|
|
17451
|
+
attr_accessor :email_address
|
|
17452
|
+
|
|
17453
|
+
def initialize(**args)
|
|
17454
|
+
update!(**args)
|
|
17455
|
+
end
|
|
17456
|
+
|
|
17457
|
+
# Update properties of this object
|
|
17458
|
+
def update!(**args)
|
|
17459
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
17460
|
+
end
|
|
17461
|
+
end
|
|
17462
|
+
|
|
16577
17463
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
|
16578
17464
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
|
16579
17465
|
# `SolutionType`.
|
|
@@ -17418,6 +18304,12 @@ module Google
|
|
|
17418
18304
|
# @return [Hash<String,Object>]
|
|
17419
18305
|
attr_accessor :auth_params
|
|
17420
18306
|
|
|
18307
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
|
18308
|
+
# string format.
|
|
18309
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
|
18310
|
+
# @return [String]
|
|
18311
|
+
attr_accessor :json_auth_params
|
|
18312
|
+
|
|
17421
18313
|
# Tenant information for a connector source. This includes some of the same
|
|
17422
18314
|
# information stored in the Credential message, but is limited to only what is
|
|
17423
18315
|
# needed to provide a list of accessible tenants to the user.
|
|
@@ -17433,6 +18325,7 @@ module Google
|
|
|
17433
18325
|
def update!(**args)
|
|
17434
18326
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
|
17435
18327
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
|
18328
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
|
17436
18329
|
@tenant = args[:tenant] if args.key?(:tenant)
|
|
17437
18330
|
end
|
|
17438
18331
|
end
|
|
@@ -17447,11 +18340,17 @@ module Google
|
|
|
17447
18340
|
# @return [Hash<String,Object>]
|
|
17448
18341
|
attr_accessor :additional_params
|
|
17449
18342
|
|
|
17450
|
-
# Optional. Any authentication parameters specific to FEDERATED.
|
|
18343
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
|
17451
18344
|
# Corresponds to the JSON property `authParams`
|
|
17452
18345
|
# @return [Hash<String,Object>]
|
|
17453
18346
|
attr_accessor :auth_params
|
|
17454
18347
|
|
|
18348
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
|
18349
|
+
# json string format.
|
|
18350
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
|
18351
|
+
# @return [String]
|
|
18352
|
+
attr_accessor :json_auth_params
|
|
18353
|
+
|
|
17455
18354
|
def initialize(**args)
|
|
17456
18355
|
update!(**args)
|
|
17457
18356
|
end
|
|
@@ -17460,6 +18359,7 @@ module Google
|
|
|
17460
18359
|
def update!(**args)
|
|
17461
18360
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
|
17462
18361
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
|
18362
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
|
17463
18363
|
end
|
|
17464
18364
|
end
|
|
17465
18365
|
|
|
@@ -17624,6 +18524,11 @@ module Google
|
|
|
17624
18524
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
|
17625
18525
|
attr_accessor :cmek_config
|
|
17626
18526
|
|
|
18527
|
+
# Optional. Configuration for configurable billing approach. See
|
|
18528
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
|
18529
|
+
# @return [String]
|
|
18530
|
+
attr_accessor :configurable_billing_approach
|
|
18531
|
+
|
|
17627
18532
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
17628
18533
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
17629
18534
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -17742,6 +18647,7 @@ module Google
|
|
|
17742
18647
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
|
17743
18648
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
17744
18649
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
18650
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
17745
18651
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
17746
18652
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
17747
18653
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -18516,8 +19422,7 @@ module Google
|
|
|
18516
19422
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
|
18517
19423
|
attr_accessor :common_config
|
|
18518
19424
|
|
|
18519
|
-
# Optional. Configuration for configurable billing approach.
|
|
18520
|
-
# repricing-billing-dd for more details.
|
|
19425
|
+
# Optional. Configuration for configurable billing approach.
|
|
18521
19426
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
18522
19427
|
# @return [String]
|
|
18523
19428
|
attr_accessor :configurable_billing_approach
|
|
@@ -18554,8 +19459,9 @@ module Google
|
|
|
18554
19459
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
18555
19460
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
18556
19461
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
18557
|
-
# personalization-memory` * `disable-
|
|
18558
|
-
# generation`
|
|
19462
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
19463
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
19464
|
+
# content` * `disable-google-drive-upload`
|
|
18559
19465
|
# Corresponds to the JSON property `features`
|
|
18560
19466
|
# @return [Hash<String,String>]
|
|
18561
19467
|
attr_accessor :features
|
|
@@ -20028,6 +20934,99 @@ module Google
|
|
|
20028
20934
|
end
|
|
20029
20935
|
end
|
|
20030
20936
|
|
|
20937
|
+
# Information about users' licenses.
|
|
20938
|
+
class GoogleCloudDiscoveryengineV1alphaLicenseConfig
|
|
20939
|
+
include Google::Apis::Core::Hashable
|
|
20940
|
+
|
|
20941
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
20942
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
20943
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
|
20944
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig]
|
|
20945
|
+
attr_accessor :alert_policy_resource_config
|
|
20946
|
+
|
|
20947
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
20948
|
+
# the end date.
|
|
20949
|
+
# Corresponds to the JSON property `autoRenew`
|
|
20950
|
+
# @return [Boolean]
|
|
20951
|
+
attr_accessor :auto_renew
|
|
20952
|
+
alias_method :auto_renew?, :auto_renew
|
|
20953
|
+
|
|
20954
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
20955
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
20956
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
20957
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
20958
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
20959
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
20960
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
20961
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
20962
|
+
# Corresponds to the JSON property `endDate`
|
|
20963
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
20964
|
+
attr_accessor :end_date
|
|
20965
|
+
|
|
20966
|
+
# Optional. Whether the license config is for free trial.
|
|
20967
|
+
# Corresponds to the JSON property `freeTrial`
|
|
20968
|
+
# @return [Boolean]
|
|
20969
|
+
attr_accessor :free_trial
|
|
20970
|
+
alias_method :free_trial?, :free_trial
|
|
20971
|
+
|
|
20972
|
+
# Required. Number of licenses purchased.
|
|
20973
|
+
# Corresponds to the JSON property `licenseCount`
|
|
20974
|
+
# @return [Fixnum]
|
|
20975
|
+
attr_accessor :license_count
|
|
20976
|
+
|
|
20977
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
20978
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
20979
|
+
# license_config``
|
|
20980
|
+
# Corresponds to the JSON property `name`
|
|
20981
|
+
# @return [String]
|
|
20982
|
+
attr_accessor :name
|
|
20983
|
+
|
|
20984
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
20985
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
20986
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
20987
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
20988
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
20989
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
20990
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
20991
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
20992
|
+
# Corresponds to the JSON property `startDate`
|
|
20993
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
20994
|
+
attr_accessor :start_date
|
|
20995
|
+
|
|
20996
|
+
# Output only. The state of the license config.
|
|
20997
|
+
# Corresponds to the JSON property `state`
|
|
20998
|
+
# @return [String]
|
|
20999
|
+
attr_accessor :state
|
|
21000
|
+
|
|
21001
|
+
# Required. Subscription term.
|
|
21002
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
21003
|
+
# @return [String]
|
|
21004
|
+
attr_accessor :subscription_term
|
|
21005
|
+
|
|
21006
|
+
# Required. Subscription tier information for the license config.
|
|
21007
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
21008
|
+
# @return [String]
|
|
21009
|
+
attr_accessor :subscription_tier
|
|
21010
|
+
|
|
21011
|
+
def initialize(**args)
|
|
21012
|
+
update!(**args)
|
|
21013
|
+
end
|
|
21014
|
+
|
|
21015
|
+
# Update properties of this object
|
|
21016
|
+
def update!(**args)
|
|
21017
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
|
21018
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
21019
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
21020
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
21021
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
21022
|
+
@name = args[:name] if args.key?(:name)
|
|
21023
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
21024
|
+
@state = args[:state] if args.key?(:state)
|
|
21025
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
21026
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
21027
|
+
end
|
|
21028
|
+
end
|
|
21029
|
+
|
|
20031
21030
|
# Request for ListSessions method.
|
|
20032
21031
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
|
20033
21032
|
include Google::Apis::Core::Hashable
|
|
@@ -21358,9 +22357,8 @@ module Google
|
|
|
21358
22357
|
alias_method :safe_search?, :safe_search
|
|
21359
22358
|
|
|
21360
22359
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
|
21361
|
-
# model.
|
|
21362
|
-
#
|
|
21363
|
-
# applicable.
|
|
22360
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
|
22361
|
+
# the customer wants to enable them wherever applicable.
|
|
21364
22362
|
# Corresponds to the JSON property `searchAddonSpec`
|
|
21365
22363
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec]
|
|
21366
22364
|
attr_accessor :search_addon_spec
|
|
@@ -22417,9 +23415,8 @@ module Google
|
|
|
22417
23415
|
end
|
|
22418
23416
|
|
|
22419
23417
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
|
22420
|
-
# model.
|
|
22421
|
-
#
|
|
22422
|
-
# applicable.
|
|
23418
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
|
23419
|
+
# the customer wants to enable them wherever applicable.
|
|
22423
23420
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec
|
|
22424
23421
|
include Google::Apis::Core::Hashable
|
|
22425
23422
|
|
|
@@ -22617,6 +23614,11 @@ module Google
|
|
|
22617
23614
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswer]
|
|
22618
23615
|
attr_accessor :detailed_answer
|
|
22619
23616
|
|
|
23617
|
+
# AssistAnswer resource, main part of AssistResponse.
|
|
23618
|
+
# Corresponds to the JSON property `detailedAssistAnswer`
|
|
23619
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
|
23620
|
+
attr_accessor :detailed_assist_answer
|
|
23621
|
+
|
|
22620
23622
|
# Defines a user inputed query.
|
|
22621
23623
|
# Corresponds to the JSON property `query`
|
|
22622
23624
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQuery]
|
|
@@ -22637,6 +23639,7 @@ module Google
|
|
|
22637
23639
|
def update!(**args)
|
|
22638
23640
|
@answer = args[:answer] if args.key?(:answer)
|
|
22639
23641
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
23642
|
+
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
22640
23643
|
@query = args[:query] if args.key?(:query)
|
|
22641
23644
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
22642
23645
|
end
|
|
@@ -23439,6 +24442,77 @@ module Google
|
|
|
23439
24442
|
end
|
|
23440
24443
|
end
|
|
23441
24444
|
|
|
24445
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
24446
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
24447
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig
|
|
24448
|
+
include Google::Apis::Core::Hashable
|
|
24449
|
+
|
|
24450
|
+
# Optional. The enrollment state of each alert.
|
|
24451
|
+
# Corresponds to the JSON property `alertEnrollments`
|
|
24452
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment>]
|
|
24453
|
+
attr_accessor :alert_enrollments
|
|
24454
|
+
|
|
24455
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
|
24456
|
+
# Corresponds to the JSON property `alertPolicy`
|
|
24457
|
+
# @return [String]
|
|
24458
|
+
attr_accessor :alert_policy
|
|
24459
|
+
|
|
24460
|
+
# Optional. The contact details for each alert policy.
|
|
24461
|
+
# Corresponds to the JSON property `contactDetails`
|
|
24462
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaContactDetails>]
|
|
24463
|
+
attr_accessor :contact_details
|
|
24464
|
+
|
|
24465
|
+
# Optional. The language code used for notifications
|
|
24466
|
+
# Corresponds to the JSON property `languageCode`
|
|
24467
|
+
# @return [String]
|
|
24468
|
+
attr_accessor :language_code
|
|
24469
|
+
|
|
24470
|
+
def initialize(**args)
|
|
24471
|
+
update!(**args)
|
|
24472
|
+
end
|
|
24473
|
+
|
|
24474
|
+
# Update properties of this object
|
|
24475
|
+
def update!(**args)
|
|
24476
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
|
24477
|
+
@alert_policy = args[:alert_policy] if args.key?(:alert_policy)
|
|
24478
|
+
@contact_details = args[:contact_details] if args.key?(:contact_details)
|
|
24479
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
24480
|
+
end
|
|
24481
|
+
end
|
|
24482
|
+
|
|
24483
|
+
# The alert enrollment status.
|
|
24484
|
+
class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment
|
|
24485
|
+
include Google::Apis::Core::Hashable
|
|
24486
|
+
|
|
24487
|
+
# Immutable. The id of an alert.
|
|
24488
|
+
# Corresponds to the JSON property `alertId`
|
|
24489
|
+
# @return [String]
|
|
24490
|
+
attr_accessor :alert_id
|
|
24491
|
+
|
|
24492
|
+
# Required. The enrollment status of a customer.
|
|
24493
|
+
# Corresponds to the JSON property `enrollState`
|
|
24494
|
+
# @return [String]
|
|
24495
|
+
attr_accessor :enroll_state
|
|
24496
|
+
|
|
24497
|
+
# Optional. Parameters used to instantiate a notification. Used for
|
|
24498
|
+
# notifications that are triggered when registered. Not stored. * Gemini
|
|
24499
|
+
# Business welcome emails. * Gemini Business user invitation emails.
|
|
24500
|
+
# Corresponds to the JSON property `notificationParams`
|
|
24501
|
+
# @return [Hash<String,String>]
|
|
24502
|
+
attr_accessor :notification_params
|
|
24503
|
+
|
|
24504
|
+
def initialize(**args)
|
|
24505
|
+
update!(**args)
|
|
24506
|
+
end
|
|
24507
|
+
|
|
24508
|
+
# Update properties of this object
|
|
24509
|
+
def update!(**args)
|
|
24510
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
|
24511
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
|
24512
|
+
@notification_params = args[:notification_params] if args.key?(:notification_params)
|
|
24513
|
+
end
|
|
24514
|
+
end
|
|
24515
|
+
|
|
23442
24516
|
# Metadata related to the progress of the SiteSearchEngineService.
|
|
23443
24517
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
|
23444
24518
|
# longrunning.Operation.metadata field.
|
|
@@ -23705,6 +24779,27 @@ module Google
|
|
|
23705
24779
|
end
|
|
23706
24780
|
end
|
|
23707
24781
|
|
|
24782
|
+
# The contact info stored in resource level. If both project level and resource
|
|
24783
|
+
# level is populated, the resource level contact info will override the project
|
|
24784
|
+
# level contact info.
|
|
24785
|
+
class GoogleCloudDiscoveryengineV1betaContactDetails
|
|
24786
|
+
include Google::Apis::Core::Hashable
|
|
24787
|
+
|
|
24788
|
+
# Optional. The email address of the contact.
|
|
24789
|
+
# Corresponds to the JSON property `emailAddress`
|
|
24790
|
+
# @return [String]
|
|
24791
|
+
attr_accessor :email_address
|
|
24792
|
+
|
|
24793
|
+
def initialize(**args)
|
|
24794
|
+
update!(**args)
|
|
24795
|
+
end
|
|
24796
|
+
|
|
24797
|
+
# Update properties of this object
|
|
24798
|
+
def update!(**args)
|
|
24799
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
24800
|
+
end
|
|
24801
|
+
end
|
|
24802
|
+
|
|
23708
24803
|
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
|
23709
24804
|
# ServingConfig to be considered at serving time. Permitted actions dependent on
|
|
23710
24805
|
# `SolutionType`.
|
|
@@ -24232,6 +25327,11 @@ module Google
|
|
|
24232
25327
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
|
24233
25328
|
attr_accessor :cmek_config
|
|
24234
25329
|
|
|
25330
|
+
# Optional. Configuration for configurable billing approach. See
|
|
25331
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
|
25332
|
+
# @return [String]
|
|
25333
|
+
attr_accessor :configurable_billing_approach
|
|
25334
|
+
|
|
24235
25335
|
# Immutable. The content config of the data store. If this field is unset, the
|
|
24236
25336
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
|
24237
25337
|
# Corresponds to the JSON property `contentConfig`
|
|
@@ -24345,6 +25445,7 @@ module Google
|
|
|
24345
25445
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
|
24346
25446
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
|
24347
25447
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
25448
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
24348
25449
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
24349
25450
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24350
25451
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
@@ -24978,8 +26079,7 @@ module Google
|
|
|
24978
26079
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
|
24979
26080
|
attr_accessor :common_config
|
|
24980
26081
|
|
|
24981
|
-
# Optional. Configuration for configurable billing approach.
|
|
24982
|
-
# repricing-billing-dd for more details.
|
|
26082
|
+
# Optional. Configuration for configurable billing approach.
|
|
24983
26083
|
# Corresponds to the JSON property `configurableBillingApproach`
|
|
24984
26084
|
# @return [String]
|
|
24985
26085
|
attr_accessor :configurable_billing_approach
|
|
@@ -25016,8 +26116,9 @@ module Google
|
|
|
25016
26116
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
25017
26117
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
25018
26118
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
25019
|
-
# personalization-memory` * `disable-
|
|
25020
|
-
# generation`
|
|
26119
|
+
# personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
|
|
26120
|
+
# * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
26121
|
+
# content` * `disable-google-drive-upload`
|
|
25021
26122
|
# Corresponds to the JSON property `features`
|
|
25022
26123
|
# @return [Hash<String,String>]
|
|
25023
26124
|
attr_accessor :features
|
|
@@ -26083,6 +27184,99 @@ module Google
|
|
|
26083
27184
|
end
|
|
26084
27185
|
end
|
|
26085
27186
|
|
|
27187
|
+
# Information about users' licenses.
|
|
27188
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfig
|
|
27189
|
+
include Google::Apis::Core::Hashable
|
|
27190
|
+
|
|
27191
|
+
# The resource level alert config. Used in: * UserLicense * EngineUserData The
|
|
27192
|
+
# AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
|
|
27193
|
+
# Corresponds to the JSON property `alertPolicyResourceConfig`
|
|
27194
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig]
|
|
27195
|
+
attr_accessor :alert_policy_resource_config
|
|
27196
|
+
|
|
27197
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
27198
|
+
# the end date.
|
|
27199
|
+
# Corresponds to the JSON property `autoRenew`
|
|
27200
|
+
# @return [Boolean]
|
|
27201
|
+
attr_accessor :auto_renew
|
|
27202
|
+
alias_method :auto_renew?, :auto_renew
|
|
27203
|
+
|
|
27204
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
27205
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
27206
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
27207
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
27208
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
27209
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
27210
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
27211
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
27212
|
+
# Corresponds to the JSON property `endDate`
|
|
27213
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
27214
|
+
attr_accessor :end_date
|
|
27215
|
+
|
|
27216
|
+
# Optional. Whether the license config is for free trial.
|
|
27217
|
+
# Corresponds to the JSON property `freeTrial`
|
|
27218
|
+
# @return [Boolean]
|
|
27219
|
+
attr_accessor :free_trial
|
|
27220
|
+
alias_method :free_trial?, :free_trial
|
|
27221
|
+
|
|
27222
|
+
# Required. Number of licenses purchased.
|
|
27223
|
+
# Corresponds to the JSON property `licenseCount`
|
|
27224
|
+
# @return [Fixnum]
|
|
27225
|
+
attr_accessor :license_count
|
|
27226
|
+
|
|
27227
|
+
# Immutable. Identifier. The fully qualified resource name of the license config.
|
|
27228
|
+
# Format: `projects/`project`/locations/`location`/licenseConfigs/`
|
|
27229
|
+
# license_config``
|
|
27230
|
+
# Corresponds to the JSON property `name`
|
|
27231
|
+
# @return [String]
|
|
27232
|
+
attr_accessor :name
|
|
27233
|
+
|
|
27234
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
27235
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
27236
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
27237
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
27238
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
27239
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
27240
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
27241
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
27242
|
+
# Corresponds to the JSON property `startDate`
|
|
27243
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleTypeDate]
|
|
27244
|
+
attr_accessor :start_date
|
|
27245
|
+
|
|
27246
|
+
# Output only. The state of the license config.
|
|
27247
|
+
# Corresponds to the JSON property `state`
|
|
27248
|
+
# @return [String]
|
|
27249
|
+
attr_accessor :state
|
|
27250
|
+
|
|
27251
|
+
# Required. Subscription term.
|
|
27252
|
+
# Corresponds to the JSON property `subscriptionTerm`
|
|
27253
|
+
# @return [String]
|
|
27254
|
+
attr_accessor :subscription_term
|
|
27255
|
+
|
|
27256
|
+
# Required. Subscription tier information for the license config.
|
|
27257
|
+
# Corresponds to the JSON property `subscriptionTier`
|
|
27258
|
+
# @return [String]
|
|
27259
|
+
attr_accessor :subscription_tier
|
|
27260
|
+
|
|
27261
|
+
def initialize(**args)
|
|
27262
|
+
update!(**args)
|
|
27263
|
+
end
|
|
27264
|
+
|
|
27265
|
+
# Update properties of this object
|
|
27266
|
+
def update!(**args)
|
|
27267
|
+
@alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
|
|
27268
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
|
27269
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
27270
|
+
@free_trial = args[:free_trial] if args.key?(:free_trial)
|
|
27271
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
27272
|
+
@name = args[:name] if args.key?(:name)
|
|
27273
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
27274
|
+
@state = args[:state] if args.key?(:state)
|
|
27275
|
+
@subscription_term = args[:subscription_term] if args.key?(:subscription_term)
|
|
27276
|
+
@subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier)
|
|
27277
|
+
end
|
|
27278
|
+
end
|
|
27279
|
+
|
|
26086
27280
|
# Configuration for Natural Language Query Understanding.
|
|
26087
27281
|
class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
|
|
26088
27282
|
include Google::Apis::Core::Hashable
|
|
@@ -26966,9 +28160,8 @@ module Google
|
|
|
26966
28160
|
alias_method :safe_search?, :safe_search
|
|
26967
28161
|
|
|
26968
28162
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
|
26969
|
-
# model.
|
|
26970
|
-
#
|
|
26971
|
-
# applicable.
|
|
28163
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
|
28164
|
+
# the customer wants to enable them wherever applicable.
|
|
26972
28165
|
# Corresponds to the JSON property `searchAddonSpec`
|
|
26973
28166
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec]
|
|
26974
28167
|
attr_accessor :search_addon_spec
|
|
@@ -28014,9 +29207,8 @@ module Google
|
|
|
28014
29207
|
end
|
|
28015
29208
|
|
|
28016
29209
|
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
|
28017
|
-
# model.
|
|
28018
|
-
#
|
|
28019
|
-
# applicable.
|
|
29210
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
|
29211
|
+
# the customer wants to enable them wherever applicable.
|
|
28020
29212
|
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec
|
|
28021
29213
|
include Google::Apis::Core::Hashable
|
|
28022
29214
|
|
|
@@ -28730,6 +29922,13 @@ module Google
|
|
|
28730
29922
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation>]
|
|
28731
29923
|
attr_accessor :operations
|
|
28732
29924
|
|
|
29925
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
29926
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
29927
|
+
# when attempting to list all resources across all supported locations.
|
|
29928
|
+
# Corresponds to the JSON property `unreachable`
|
|
29929
|
+
# @return [Array<String>]
|
|
29930
|
+
attr_accessor :unreachable
|
|
29931
|
+
|
|
28733
29932
|
def initialize(**args)
|
|
28734
29933
|
update!(**args)
|
|
28735
29934
|
end
|
|
@@ -28738,6 +29937,7 @@ module Google
|
|
|
28738
29937
|
def update!(**args)
|
|
28739
29938
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
28740
29939
|
@operations = args[:operations] if args.key?(:operations)
|
|
29940
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
28741
29941
|
end
|
|
28742
29942
|
end
|
|
28743
29943
|
|