google-apis-discoveryengine_v1alpha 0.48.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1134 -10
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +431 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +94 -3
- metadata +3 -3
@@ -1258,7 +1258,8 @@ module Google
|
|
1258
1258
|
# @param [String] parent
|
1259
1259
|
# Required. Full resource name of parent data store. Format: `projects/`
|
1260
1260
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
1261
|
-
# `data_store_id``
|
1261
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
1262
|
+
# collections/`collection_id`/engines/`engine_id``.
|
1262
1263
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControl] google_cloud_discoveryengine_v1alpha_control_object
|
1263
1264
|
# @param [String] control_id
|
1264
1265
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -1363,6 +1364,8 @@ module Google
|
|
1363
1364
|
# @param [String] parent
|
1364
1365
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
1365
1366
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
1367
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
1368
|
+
# collection_id`/engines/`engine_id``.
|
1366
1369
|
# @param [String] filter
|
1367
1370
|
# Optional. A filter to apply on the list results. Supported features: * List
|
1368
1371
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -3633,7 +3636,8 @@ module Google
|
|
3633
3636
|
# @param [String] parent
|
3634
3637
|
# Required. Full resource name of parent data store. Format: `projects/`
|
3635
3638
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
3636
|
-
# `data_store_id``
|
3639
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
3640
|
+
# collections/`collection_id`/engines/`engine_id``.
|
3637
3641
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControl] google_cloud_discoveryengine_v1alpha_control_object
|
3638
3642
|
# @param [String] control_id
|
3639
3643
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -3738,6 +3742,8 @@ module Google
|
|
3738
3742
|
# @param [String] parent
|
3739
3743
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
3740
3744
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
3745
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
3746
|
+
# collection_id`/engines/`engine_id``.
|
3741
3747
|
# @param [String] filter
|
3742
3748
|
# Optional. A filter to apply on the list results. Supported features: * List
|
3743
3749
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -5532,7 +5538,8 @@ module Google
|
|
5532
5538
|
# @param [String] parent
|
5533
5539
|
# Required. Full resource name of parent data store. Format: `projects/`
|
5534
5540
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
5535
|
-
# `data_store_id``
|
5541
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
5542
|
+
# collections/`collection_id`/engines/`engine_id``.
|
5536
5543
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControl] google_cloud_discoveryengine_v1alpha_control_object
|
5537
5544
|
# @param [String] control_id
|
5538
5545
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -5637,6 +5644,8 @@ module Google
|
|
5637
5644
|
# @param [String] parent
|
5638
5645
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
5639
5646
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
5647
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
5648
|
+
# collection_id`/engines/`engine_id``.
|
5640
5649
|
# @param [String] filter
|
5641
5650
|
# Optional. A filter to apply on the list results. Supported features: * List
|
5642
5651
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -7452,6 +7461,40 @@ module Google
|
|
7452
7461
|
execute_or_queue_command(command, &block)
|
7453
7462
|
end
|
7454
7463
|
|
7464
|
+
# Check a particular requirement.
|
7465
|
+
# @param [String] location
|
7466
|
+
# Required. Full resource name of the location. Format `projects/`
|
7467
|
+
# project_number_or_id`/locations/`location``
|
7468
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest] google_cloud_discoveryengine_v1alpha_check_requirement_request_object
|
7469
|
+
# @param [String] fields
|
7470
|
+
# Selector specifying which fields to include in a partial response.
|
7471
|
+
# @param [String] quota_user
|
7472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7474
|
+
# @param [Google::Apis::RequestOptions] options
|
7475
|
+
# Request-specific options
|
7476
|
+
#
|
7477
|
+
# @yield [result, err] Result & error if block supplied
|
7478
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse] parsed result object
|
7479
|
+
# @yieldparam err [StandardError] error object if request failed
|
7480
|
+
#
|
7481
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse]
|
7482
|
+
#
|
7483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7486
|
+
def check_project_location_requirement_requirement(location, google_cloud_discoveryengine_v1alpha_check_requirement_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7487
|
+
command = make_simple_command(:post, 'v1alpha/{+location}/requirements:checkRequirement', options)
|
7488
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest::Representation
|
7489
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_check_requirement_request_object
|
7490
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse::Representation
|
7491
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse
|
7492
|
+
command.params['location'] = location unless location.nil?
|
7493
|
+
command.query['fields'] = fields unless fields.nil?
|
7494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7495
|
+
execute_or_queue_command(command, &block)
|
7496
|
+
end
|
7497
|
+
|
7455
7498
|
# Gets the latest state of a long-running operation. Clients can use this method
|
7456
7499
|
# to poll the operation result at intervals as recommended by the API service.
|
7457
7500
|
# @param [String] name
|
@@ -7483,6 +7526,54 @@ module Google
|
|
7483
7526
|
execute_or_queue_command(command, &block)
|
7484
7527
|
end
|
7485
7528
|
|
7529
|
+
# Writes a single user event from the browser. This uses a GET request to due to
|
7530
|
+
# browser restriction of POST-ing to a third-party domain. This method is used
|
7531
|
+
# only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
|
7532
|
+
# Users should not call this method directly.
|
7533
|
+
# @param [String] parent
|
7534
|
+
# Required. The parent DataStore resource name, such as `projects/`project`/
|
7535
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store``.
|
7536
|
+
# @param [Fixnum] ets
|
7537
|
+
# The event timestamp in milliseconds. This prevents browser caching of
|
7538
|
+
# otherwise identical get requests. The name is abbreviated to reduce the
|
7539
|
+
# payload bytes.
|
7540
|
+
# @param [String] uri
|
7541
|
+
# The URL including cgi-parameters but excluding the hash fragment with a length
|
7542
|
+
# limit of 5,000 characters. This is often more useful than the referer URL,
|
7543
|
+
# because many browsers only send the domain for third-party requests.
|
7544
|
+
# @param [String] user_event
|
7545
|
+
# Required. URL encoded UserEvent proto with a length limit of 2,000,000
|
7546
|
+
# characters.
|
7547
|
+
# @param [String] fields
|
7548
|
+
# Selector specifying which fields to include in a partial response.
|
7549
|
+
# @param [String] quota_user
|
7550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7552
|
+
# @param [Google::Apis::RequestOptions] options
|
7553
|
+
# Request-specific options
|
7554
|
+
#
|
7555
|
+
# @yield [result, err] Result & error if block supplied
|
7556
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleApiHttpBody] parsed result object
|
7557
|
+
# @yieldparam err [StandardError] error object if request failed
|
7558
|
+
#
|
7559
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleApiHttpBody]
|
7560
|
+
#
|
7561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7564
|
+
def collect_project_location_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7565
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userEvents:collect', options)
|
7566
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleApiHttpBody::Representation
|
7567
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleApiHttpBody
|
7568
|
+
command.params['parent'] = parent unless parent.nil?
|
7569
|
+
command.query['ets'] = ets unless ets.nil?
|
7570
|
+
command.query['uri'] = uri unless uri.nil?
|
7571
|
+
command.query['userEvent'] = user_event unless user_event.nil?
|
7572
|
+
command.query['fields'] = fields unless fields.nil?
|
7573
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7574
|
+
execute_or_queue_command(command, &block)
|
7575
|
+
end
|
7576
|
+
|
7486
7577
|
# Writes a single user event.
|
7487
7578
|
# @param [String] parent
|
7488
7579
|
# Required. The parent resource name. If the write user event action is applied
|
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.50.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-06-
|
11
|
+
date: 2024-06-16 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.50.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: []
|