google-apis-discoveryengine_v1alpha 0.43.0 → 0.45.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_v1alpha/classes.rb +492 -875
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +161 -319
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +174 -102
- metadata +3 -3
@@ -51,48 +51,10 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Gets
|
55
|
-
# @param [String]
|
56
|
-
# Required.
|
57
|
-
#
|
58
|
-
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigRequest] google_cloud_discoveryengine_v1alpha_lookup_widget_config_request_object
|
59
|
-
# @param [String] fields
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
61
|
-
# @param [String] quota_user
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
65
|
-
# Request-specific options
|
66
|
-
#
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse] parsed result object
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
70
|
-
#
|
71
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse]
|
72
|
-
#
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def lookup_location_widget_config(location, google_cloud_discoveryengine_v1alpha_lookup_widget_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command = make_simple_command(:post, 'v1alpha/{+location}/lookupWidgetConfig', options)
|
78
|
-
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigRequest::Representation
|
79
|
-
command.request_object = google_cloud_discoveryengine_v1alpha_lookup_widget_config_request_object
|
80
|
-
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse::Representation
|
81
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse
|
82
|
-
command.params['location'] = location unless location.nil?
|
83
|
-
command.query['fields'] = fields unless fields.nil?
|
84
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
|
-
execute_or_queue_command(command, &block)
|
86
|
-
end
|
87
|
-
|
88
|
-
# Performs a user input completion with keyword suggestion. Similar to the
|
89
|
-
# CompletionService.CompleteQuery method, but a widget version that allows
|
90
|
-
# CompleteQuery without API Key. It supports CompleteQuery with or without JWT
|
91
|
-
# token.
|
92
|
-
# @param [String] location
|
93
|
-
# Required. The location resource where widget complete query will be performed.
|
94
|
-
# Format: `locations/`location``
|
95
|
-
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryRequest] google_cloud_discoveryengine_v1alpha_widget_complete_query_request_object
|
54
|
+
# Gets a Project. Returns NOT_FOUND when the project is not yet created.
|
55
|
+
# @param [String] name
|
56
|
+
# Required. Full resource name of a Project, such as `projects/`
|
57
|
+
# project_id_or_number``.
|
96
58
|
# @param [String] fields
|
97
59
|
# Selector specifying which fields to include in a partial response.
|
98
60
|
# @param [String] quota_user
|
@@ -102,31 +64,32 @@ module Google
|
|
102
64
|
# Request-specific options
|
103
65
|
#
|
104
66
|
# @yield [result, err] Result & error if block supplied
|
105
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::
|
67
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject] parsed result object
|
106
68
|
# @yieldparam err [StandardError] error object if request failed
|
107
69
|
#
|
108
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::
|
70
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject]
|
109
71
|
#
|
110
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
-
def
|
114
|
-
command = make_simple_command(:
|
115
|
-
command.
|
116
|
-
command.
|
117
|
-
command.
|
118
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse
|
119
|
-
command.params['location'] = location unless location.nil?
|
75
|
+
def get_project(name, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
77
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject::Representation
|
78
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject
|
79
|
+
command.params['name'] = name unless name.nil?
|
120
80
|
command.query['fields'] = fields unless fields.nil?
|
121
81
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
122
82
|
execute_or_queue_command(command, &block)
|
123
83
|
end
|
124
84
|
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# @param [
|
85
|
+
# Provisions the project resource. During the process, related systems will get
|
86
|
+
# prepared and initialized. Caller must read the [Terms for data use](https://
|
87
|
+
# cloud.google.com/retail/data-use-terms), and optionally specify in request to
|
88
|
+
# provide consent to that service terms.
|
89
|
+
# @param [String] name
|
90
|
+
# Required. Full resource name of a Project, such as `projects/`
|
91
|
+
# project_id_or_number``.
|
92
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest] google_cloud_discoveryengine_v1alpha_provision_project_request_object
|
130
93
|
# @param [String] fields
|
131
94
|
# Selector specifying which fields to include in a partial response.
|
132
95
|
# @param [String] quota_user
|
@@ -136,33 +99,33 @@ module Google
|
|
136
99
|
# Request-specific options
|
137
100
|
#
|
138
101
|
# @yield [result, err] Result & error if block supplied
|
139
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::
|
102
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
|
140
103
|
# @yieldparam err [StandardError] error object if request failed
|
141
104
|
#
|
142
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::
|
105
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
|
143
106
|
#
|
144
107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
145
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
146
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
147
|
-
def
|
148
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
149
|
-
command.request_representation = Google::Apis::DiscoveryengineV1alpha::
|
150
|
-
command.request_object =
|
151
|
-
command.response_representation = Google::Apis::DiscoveryengineV1alpha::
|
152
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::
|
153
|
-
command.params['
|
110
|
+
def provision_project(name, google_cloud_discoveryengine_v1alpha_provision_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:provision', options)
|
112
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest::Representation
|
113
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_provision_project_request_object
|
114
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
|
115
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
|
116
|
+
command.params['name'] = name unless name.nil?
|
154
117
|
command.query['fields'] = fields unless fields.nil?
|
155
118
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
156
119
|
execute_or_queue_command(command, &block)
|
157
120
|
end
|
158
121
|
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# @param [String]
|
163
|
-
# Required.
|
164
|
-
#
|
165
|
-
# @param [Google::Apis::DiscoveryengineV1alpha::
|
122
|
+
# Updates service terms for this project. This method can be used to
|
123
|
+
# retroactively accept the latest terms. Terms available for update: * [Terms
|
124
|
+
# for data use](https://cloud.google.com/retail/data-use-terms)
|
125
|
+
# @param [String] project
|
126
|
+
# Required. Full resource name of a Project, such as `projects/`
|
127
|
+
# project_id_or_number``.
|
128
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest] google_cloud_discoveryengine_v1alpha_report_consent_change_request_object
|
166
129
|
# @param [String] fields
|
167
130
|
# Selector specifying which fields to include in a partial response.
|
168
131
|
# @param [String] quota_user
|
@@ -172,21 +135,21 @@ module Google
|
|
172
135
|
# Request-specific options
|
173
136
|
#
|
174
137
|
# @yield [result, err] Result & error if block supplied
|
175
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::
|
138
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject] parsed result object
|
176
139
|
# @yieldparam err [StandardError] error object if request failed
|
177
140
|
#
|
178
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::
|
141
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject]
|
179
142
|
#
|
180
143
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
181
144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
182
145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
183
|
-
def
|
184
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
185
|
-
command.request_representation = Google::Apis::DiscoveryengineV1alpha::
|
186
|
-
command.request_object =
|
187
|
-
command.response_representation = Google::Apis::DiscoveryengineV1alpha::
|
188
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::
|
189
|
-
command.params['
|
146
|
+
def report_project_consent_change(project, google_cloud_discoveryengine_v1alpha_report_consent_change_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
147
|
+
command = make_simple_command(:post, 'v1alpha/{+project}:reportConsentChange', options)
|
148
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest::Representation
|
149
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_report_consent_change_request_object
|
150
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject::Representation
|
151
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject
|
152
|
+
command.params['project'] = project unless project.nil?
|
190
153
|
command.query['fields'] = fields unless fields.nil?
|
191
154
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
155
|
execute_or_queue_command(command, &block)
|
@@ -618,7 +581,7 @@ module Google
|
|
618
581
|
# permission to list DataStores under this location, regardless of whether or
|
619
582
|
# not this data store exists, a PERMISSION_DENIED error is returned.
|
620
583
|
# @param [String] filter
|
621
|
-
# Filter by solution type. For example: filter = 'solution_type:
|
584
|
+
# Filter by solution type . For example: filter = 'solution_type:
|
622
585
|
# SOLUTION_TYPE_SEARCH'
|
623
586
|
# @param [Fixnum] page_size
|
624
587
|
# Maximum number of DataStores to return. If unspecified, defaults to 10. The
|
@@ -1439,9 +1402,9 @@ module Google
|
|
1439
1402
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
1440
1403
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
1441
1404
|
# @param [String] name
|
1442
|
-
# Immutable. Fully qualified name `project
|
1443
|
-
# collection`/dataStore/*/conversations/*` or `project
|
1444
|
-
# collections/`collection`/engines/*/conversations/*`.
|
1405
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
1406
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
1407
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
1445
1408
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation] google_cloud_discoveryengine_v1alpha_conversation_object
|
1446
1409
|
# @param [String] update_mask
|
1447
1410
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -1477,6 +1440,38 @@ module Google
|
|
1477
1440
|
execute_or_queue_command(command, &block)
|
1478
1441
|
end
|
1479
1442
|
|
1443
|
+
# Gets a list of all the custom models.
|
1444
|
+
# @param [String] data_store
|
1445
|
+
# Required. The resource name of the parent Data Store, such as `projects/*/
|
1446
|
+
# locations/global/collections/default_collection/dataStores/default_data_store`.
|
1447
|
+
# This field is used to identify the data store where to fetch the models from.
|
1448
|
+
# @param [String] fields
|
1449
|
+
# Selector specifying which fields to include in a partial response.
|
1450
|
+
# @param [String] quota_user
|
1451
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1452
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1453
|
+
# @param [Google::Apis::RequestOptions] options
|
1454
|
+
# Request-specific options
|
1455
|
+
#
|
1456
|
+
# @yield [result, err] Result & error if block supplied
|
1457
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse] parsed result object
|
1458
|
+
# @yieldparam err [StandardError] error object if request failed
|
1459
|
+
#
|
1460
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse]
|
1461
|
+
#
|
1462
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1463
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1464
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1465
|
+
def list_project_location_collection_data_store_custom_models(data_store, fields: nil, quota_user: nil, options: nil, &block)
|
1466
|
+
command = make_simple_command(:get, 'v1alpha/{+dataStore}/customModels', options)
|
1467
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse::Representation
|
1468
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
|
1469
|
+
command.params['dataStore'] = data_store unless data_store.nil?
|
1470
|
+
command.query['fields'] = fields unless fields.nil?
|
1471
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1472
|
+
execute_or_queue_command(command, &block)
|
1473
|
+
end
|
1474
|
+
|
1480
1475
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1481
1476
|
# to poll the operation result at intervals as recommended by the API service.
|
1482
1477
|
# @param [String] name
|
@@ -2258,8 +2253,8 @@ module Google
|
|
2258
2253
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
2259
2254
|
# update does not exist, a NOT_FOUND error is returned.
|
2260
2255
|
# @param [String] name
|
2261
|
-
# Immutable. Fully qualified name `project
|
2262
|
-
# collection`/engines/`engine`/sessions/*`
|
2256
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
2257
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
2263
2258
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession] google_cloud_discoveryengine_v1alpha_session_object
|
2264
2259
|
# @param [String] update_mask
|
2265
2260
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -3068,8 +3063,12 @@ module Google
|
|
3068
3063
|
|
3069
3064
|
# Writes a single user event.
|
3070
3065
|
# @param [String] parent
|
3071
|
-
# Required. The parent
|
3072
|
-
# locations/`location`/
|
3066
|
+
# Required. The parent resource name. If the write user event action is applied
|
3067
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
3068
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
3069
|
+
# action is applied in Location level, for example, the event with Document
|
3070
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
3071
|
+
# location``.
|
3073
3072
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent] google_cloud_discoveryengine_v1alpha_user_event_object
|
3074
3073
|
# @param [String] fields
|
3075
3074
|
# Selector specifying which fields to include in a partial response.
|
@@ -3583,9 +3582,9 @@ module Google
|
|
3583
3582
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
3584
3583
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
3585
3584
|
# @param [String] name
|
3586
|
-
# Immutable. Fully qualified name `project
|
3587
|
-
# collection`/dataStore/*/conversations/*` or `project
|
3588
|
-
# collections/`collection`/engines/*/conversations/*`.
|
3585
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
3586
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
3587
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
3589
3588
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation] google_cloud_discoveryengine_v1alpha_conversation_object
|
3590
3589
|
# @param [String] update_mask
|
3591
3590
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -4073,8 +4072,8 @@ module Google
|
|
4073
4072
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
4074
4073
|
# update does not exist, a NOT_FOUND error is returned.
|
4075
4074
|
# @param [String] name
|
4076
|
-
# Immutable. Fully qualified name `project
|
4077
|
-
# collection`/engines/`engine`/sessions/*`
|
4075
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
4076
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
4078
4077
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession] google_cloud_discoveryengine_v1alpha_session_object
|
4079
4078
|
# @param [String] update_mask
|
4080
4079
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -4465,7 +4464,7 @@ module Google
|
|
4465
4464
|
# permission to list DataStores under this location, regardless of whether or
|
4466
4465
|
# not this data store exists, a PERMISSION_DENIED error is returned.
|
4467
4466
|
# @param [String] filter
|
4468
|
-
# Filter by solution type. For example: filter = 'solution_type:
|
4467
|
+
# Filter by solution type . For example: filter = 'solution_type:
|
4469
4468
|
# SOLUTION_TYPE_SEARCH'
|
4470
4469
|
# @param [Fixnum] page_size
|
4471
4470
|
# Maximum number of DataStores to return. If unspecified, defaults to 10. The
|
@@ -5251,9 +5250,9 @@ module Google
|
|
5251
5250
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
5252
5251
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
5253
5252
|
# @param [String] name
|
5254
|
-
# Immutable. Fully qualified name `project
|
5255
|
-
# collection`/dataStore/*/conversations/*` or `project
|
5256
|
-
# collections/`collection`/engines/*/conversations/*`.
|
5253
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
5254
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
5255
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
5257
5256
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation] google_cloud_discoveryengine_v1alpha_conversation_object
|
5258
5257
|
# @param [String] update_mask
|
5259
5258
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -5999,8 +5998,8 @@ module Google
|
|
5999
5998
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
6000
5999
|
# update does not exist, a NOT_FOUND error is returned.
|
6001
6000
|
# @param [String] name
|
6002
|
-
# Immutable. Fully qualified name `project
|
6003
|
-
# collection`/engines/`engine`/sessions/*`
|
6001
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
6002
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
6004
6003
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession] google_cloud_discoveryengine_v1alpha_session_object
|
6005
6004
|
# @param [String] update_mask
|
6006
6005
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -6586,8 +6585,12 @@ module Google
|
|
6586
6585
|
|
6587
6586
|
# Writes a single user event.
|
6588
6587
|
# @param [String] parent
|
6589
|
-
# Required. The parent
|
6590
|
-
# locations/`location`/
|
6588
|
+
# Required. The parent resource name. If the write user event action is applied
|
6589
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
6590
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
6591
|
+
# action is applied in Location level, for example, the event with Document
|
6592
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
6593
|
+
# location``.
|
6591
6594
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent] google_cloud_discoveryengine_v1alpha_user_event_object
|
6592
6595
|
# @param [String] fields
|
6593
6596
|
# Selector specifying which fields to include in a partial response.
|
@@ -6788,6 +6791,75 @@ module Google
|
|
6788
6791
|
execute_or_queue_command(command, &block)
|
6789
6792
|
end
|
6790
6793
|
|
6794
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
6795
|
+
# to poll the operation result at intervals as recommended by the API service.
|
6796
|
+
# @param [String] name
|
6797
|
+
# The name of the operation resource.
|
6798
|
+
# @param [String] fields
|
6799
|
+
# Selector specifying which fields to include in a partial response.
|
6800
|
+
# @param [String] quota_user
|
6801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6803
|
+
# @param [Google::Apis::RequestOptions] options
|
6804
|
+
# Request-specific options
|
6805
|
+
#
|
6806
|
+
# @yield [result, err] Result & error if block supplied
|
6807
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
|
6808
|
+
# @yieldparam err [StandardError] error object if request failed
|
6809
|
+
#
|
6810
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
|
6811
|
+
#
|
6812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6815
|
+
def get_project_location_sample_query_set_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6816
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
6817
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
|
6818
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
|
6819
|
+
command.params['name'] = name unless name.nil?
|
6820
|
+
command.query['fields'] = fields unless fields.nil?
|
6821
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6822
|
+
execute_or_queue_command(command, &block)
|
6823
|
+
end
|
6824
|
+
|
6825
|
+
# Writes a single user event.
|
6826
|
+
# @param [String] parent
|
6827
|
+
# Required. The parent resource name. If the write user event action is applied
|
6828
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
6829
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
6830
|
+
# action is applied in Location level, for example, the event with Document
|
6831
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
6832
|
+
# location``.
|
6833
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent] google_cloud_discoveryengine_v1alpha_user_event_object
|
6834
|
+
# @param [String] fields
|
6835
|
+
# Selector specifying which fields to include in a partial response.
|
6836
|
+
# @param [String] quota_user
|
6837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6839
|
+
# @param [Google::Apis::RequestOptions] options
|
6840
|
+
# Request-specific options
|
6841
|
+
#
|
6842
|
+
# @yield [result, err] Result & error if block supplied
|
6843
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent] parsed result object
|
6844
|
+
# @yieldparam err [StandardError] error object if request failed
|
6845
|
+
#
|
6846
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent]
|
6847
|
+
#
|
6848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6851
|
+
def write_project_location_user_event(parent, google_cloud_discoveryengine_v1alpha_user_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6852
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userEvents:write', options)
|
6853
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent::Representation
|
6854
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_user_event_object
|
6855
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent::Representation
|
6856
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent
|
6857
|
+
command.params['parent'] = parent unless parent.nil?
|
6858
|
+
command.query['fields'] = fields unless fields.nil?
|
6859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6860
|
+
execute_or_queue_command(command, &block)
|
6861
|
+
end
|
6862
|
+
|
6791
6863
|
# Gets the latest state of a long-running operation. Clients can use this method
|
6792
6864
|
# to poll the operation result at intervals as recommended by the API service.
|
6793
6865
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|