google-apis-retail_v2beta 0.99.0 → 0.100.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,75 @@ module Google
|
|
54
54
|
@batch_path = 'batch'
|
55
55
|
end
|
56
56
|
|
57
|
+
# Get the AlertConfig of the requested project.
|
58
|
+
# @param [String] name
|
59
|
+
# Required. Full AlertConfig resource name. Format: projects/`project_number`/
|
60
|
+
# alertConfig
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def get_project_alert_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
80
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig::Representation
|
81
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig
|
82
|
+
command.params['name'] = name unless name.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
|
+
# Update the alert config of the requested project.
|
89
|
+
# @param [String] name
|
90
|
+
# Required. Immutable. The name of the AlertConfig singleton resource. Format:
|
91
|
+
# projects/*/alertConfig
|
92
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig] google_cloud_retail_v2beta_alert_config_object
|
93
|
+
# @param [String] update_mask
|
94
|
+
# Indicates which fields in the provided AlertConfig to update. If not set, all
|
95
|
+
# supported fields are updated.
|
96
|
+
# @param [String] fields
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
98
|
+
# @param [String] quota_user
|
99
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
101
|
+
# @param [Google::Apis::RequestOptions] options
|
102
|
+
# Request-specific options
|
103
|
+
#
|
104
|
+
# @yield [result, err] Result & error if block supplied
|
105
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig] parsed result object
|
106
|
+
# @yieldparam err [StandardError] error object if request failed
|
107
|
+
#
|
108
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig]
|
109
|
+
#
|
110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
+
def update_project_alert_config(name, google_cloud_retail_v2beta_alert_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
|
+
command = make_simple_command(:patch, 'v2beta/{+name}', options)
|
115
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig::Representation
|
116
|
+
command.request_object = google_cloud_retail_v2beta_alert_config_object
|
117
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig::Representation
|
118
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfig
|
119
|
+
command.params['name'] = name unless name.nil?
|
120
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
57
126
|
# Completes the specified prefix with keyword suggestions. This feature is only
|
58
127
|
# available for users who have Retail Search enabled. Enable Retail Search on
|
59
128
|
# Cloud Console before using this feature.
|
@@ -269,6 +338,38 @@ module Google
|
|
269
338
|
execute_or_queue_command(command, &block)
|
270
339
|
end
|
271
340
|
|
341
|
+
# Manages overal generative question feature state -- enables toggling feature
|
342
|
+
# on and off.
|
343
|
+
# @param [String] catalog
|
344
|
+
# Required. Resource name of the parent catalog. Format: projects/`project`/
|
345
|
+
# locations/`location`/catalogs/`catalog`
|
346
|
+
# @param [String] fields
|
347
|
+
# Selector specifying which fields to include in a partial response.
|
348
|
+
# @param [String] quota_user
|
349
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
350
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
351
|
+
# @param [Google::Apis::RequestOptions] options
|
352
|
+
# Request-specific options
|
353
|
+
#
|
354
|
+
# @yield [result, err] Result & error if block supplied
|
355
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig] parsed result object
|
356
|
+
# @yieldparam err [StandardError] error object if request failed
|
357
|
+
#
|
358
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig]
|
359
|
+
#
|
360
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
361
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
362
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
363
|
+
def get_project_location_catalog_generative_question_feature(catalog, fields: nil, quota_user: nil, options: nil, &block)
|
364
|
+
command = make_simple_command(:get, 'v2beta/{+catalog}/generativeQuestionFeature', options)
|
365
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig::Representation
|
366
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig
|
367
|
+
command.params['catalog'] = catalog unless catalog.nil?
|
368
|
+
command.query['fields'] = fields unless fields.nil?
|
369
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
370
|
+
execute_or_queue_command(command, &block)
|
371
|
+
end
|
372
|
+
|
272
373
|
# Lists all the Catalogs associated with the project.
|
273
374
|
# @param [String] parent
|
274
375
|
# Required. The account resource name with an associated location. If the caller
|
@@ -486,6 +587,85 @@ module Google
|
|
486
587
|
execute_or_queue_command(command, &block)
|
487
588
|
end
|
488
589
|
|
590
|
+
# Allows management of individual questions.
|
591
|
+
# @param [String] catalog
|
592
|
+
# Required. Resource name of the catalog. Format: projects/`project`/locations/`
|
593
|
+
# location`/catalogs/`catalog`
|
594
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig] google_cloud_retail_v2beta_generative_question_config_object
|
595
|
+
# @param [String] update_mask
|
596
|
+
# Optional. Indicates which fields in the provided GenerativeQuestionConfig to
|
597
|
+
# update. The following are NOT supported: * GenerativeQuestionConfig.frequency
|
598
|
+
# If not set or empty, all supported fields are updated.
|
599
|
+
# @param [String] fields
|
600
|
+
# Selector specifying which fields to include in a partial response.
|
601
|
+
# @param [String] quota_user
|
602
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
603
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
604
|
+
# @param [Google::Apis::RequestOptions] options
|
605
|
+
# Request-specific options
|
606
|
+
#
|
607
|
+
# @yield [result, err] Result & error if block supplied
|
608
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig] parsed result object
|
609
|
+
# @yieldparam err [StandardError] error object if request failed
|
610
|
+
#
|
611
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig]
|
612
|
+
#
|
613
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
614
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
615
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
616
|
+
def update_project_location_catalog_generative_question(catalog, google_cloud_retail_v2beta_generative_question_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
617
|
+
command = make_simple_command(:patch, 'v2beta/{+catalog}/generativeQuestion', options)
|
618
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig::Representation
|
619
|
+
command.request_object = google_cloud_retail_v2beta_generative_question_config_object
|
620
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig::Representation
|
621
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig
|
622
|
+
command.params['catalog'] = catalog unless catalog.nil?
|
623
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
624
|
+
command.query['fields'] = fields unless fields.nil?
|
625
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
626
|
+
execute_or_queue_command(command, &block)
|
627
|
+
end
|
628
|
+
|
629
|
+
# Manages overal generative question feature state -- enables toggling feature
|
630
|
+
# on and off.
|
631
|
+
# @param [String] catalog
|
632
|
+
# Required. Resource name of the affected catalog. Format: projects/`project`/
|
633
|
+
# locations/`location`/catalogs/`catalog`
|
634
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig] google_cloud_retail_v2beta_generative_questions_feature_config_object
|
635
|
+
# @param [String] update_mask
|
636
|
+
# Optional. Indicates which fields in the provided
|
637
|
+
# GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported
|
638
|
+
# fields are updated.
|
639
|
+
# @param [String] fields
|
640
|
+
# Selector specifying which fields to include in a partial response.
|
641
|
+
# @param [String] quota_user
|
642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
644
|
+
# @param [Google::Apis::RequestOptions] options
|
645
|
+
# Request-specific options
|
646
|
+
#
|
647
|
+
# @yield [result, err] Result & error if block supplied
|
648
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig] parsed result object
|
649
|
+
# @yieldparam err [StandardError] error object if request failed
|
650
|
+
#
|
651
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig]
|
652
|
+
#
|
653
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
654
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
655
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
656
|
+
def update_project_location_catalog_generative_question_feature(catalog, google_cloud_retail_v2beta_generative_questions_feature_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
657
|
+
command = make_simple_command(:patch, 'v2beta/{+catalog}/generativeQuestionFeature', options)
|
658
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig::Representation
|
659
|
+
command.request_object = google_cloud_retail_v2beta_generative_questions_feature_config_object
|
660
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig::Representation
|
661
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig
|
662
|
+
command.params['catalog'] = catalog unless catalog.nil?
|
663
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
664
|
+
command.query['fields'] = fields unless fields.nil?
|
665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
666
|
+
execute_or_queue_command(command, &block)
|
667
|
+
end
|
668
|
+
|
489
669
|
# Adds the specified CatalogAttribute to the AttributesConfig. If the
|
490
670
|
# CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
|
491
671
|
# @param [String] attributes_config
|
@@ -835,6 +1015,41 @@ module Google
|
|
835
1015
|
execute_or_queue_command(command, &block)
|
836
1016
|
end
|
837
1017
|
|
1018
|
+
# Exports multiple Products.
|
1019
|
+
# @param [String] parent
|
1020
|
+
# Required. Resource name of a Branch, and `default_branch` for branch_id
|
1021
|
+
# component is supported. For example `projects/1234/locations/global/catalogs/
|
1022
|
+
# default_catalog/branches/default_branch`
|
1023
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportProductsRequest] google_cloud_retail_v2beta_export_products_request_object
|
1024
|
+
# @param [String] fields
|
1025
|
+
# Selector specifying which fields to include in a partial response.
|
1026
|
+
# @param [String] quota_user
|
1027
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1028
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1029
|
+
# @param [Google::Apis::RequestOptions] options
|
1030
|
+
# Request-specific options
|
1031
|
+
#
|
1032
|
+
# @yield [result, err] Result & error if block supplied
|
1033
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleLongrunningOperation] parsed result object
|
1034
|
+
# @yieldparam err [StandardError] error object if request failed
|
1035
|
+
#
|
1036
|
+
# @return [Google::Apis::RetailV2beta::GoogleLongrunningOperation]
|
1037
|
+
#
|
1038
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1039
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1040
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1041
|
+
def export_project_location_catalog_branch_product(parent, google_cloud_retail_v2beta_export_products_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1042
|
+
command = make_simple_command(:post, 'v2beta/{+parent}/products:export', options)
|
1043
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportProductsRequest::Representation
|
1044
|
+
command.request_object = google_cloud_retail_v2beta_export_products_request_object
|
1045
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleLongrunningOperation::Representation
|
1046
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleLongrunningOperation
|
1047
|
+
command.params['parent'] = parent unless parent.nil?
|
1048
|
+
command.query['fields'] = fields unless fields.nil?
|
1049
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1050
|
+
execute_or_queue_command(command, &block)
|
1051
|
+
end
|
1052
|
+
|
838
1053
|
# Gets a Product.
|
839
1054
|
# @param [String] name
|
840
1055
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
@@ -1440,6 +1655,71 @@ module Google
|
|
1440
1655
|
execute_or_queue_command(command, &block)
|
1441
1656
|
end
|
1442
1657
|
|
1658
|
+
# Allows management of multiple questions.
|
1659
|
+
# @param [String] parent
|
1660
|
+
# Optional. Resource name of the parent catalog. Format: projects/`project`/
|
1661
|
+
# locations/`location`/catalogs/`catalog`
|
1662
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest] google_cloud_retail_v2beta_batch_update_generative_question_configs_request_object
|
1663
|
+
# @param [String] fields
|
1664
|
+
# Selector specifying which fields to include in a partial response.
|
1665
|
+
# @param [String] quota_user
|
1666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1668
|
+
# @param [Google::Apis::RequestOptions] options
|
1669
|
+
# Request-specific options
|
1670
|
+
#
|
1671
|
+
# @yield [result, err] Result & error if block supplied
|
1672
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse] parsed result object
|
1673
|
+
# @yieldparam err [StandardError] error object if request failed
|
1674
|
+
#
|
1675
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse]
|
1676
|
+
#
|
1677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1680
|
+
def batch_project_location_catalog_generative_question_update(parent, google_cloud_retail_v2beta_batch_update_generative_question_configs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1681
|
+
command = make_simple_command(:post, 'v2beta/{+parent}/generativeQuestion:batchUpdate', options)
|
1682
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest::Representation
|
1683
|
+
command.request_object = google_cloud_retail_v2beta_batch_update_generative_question_configs_request_object
|
1684
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse::Representation
|
1685
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse
|
1686
|
+
command.params['parent'] = parent unless parent.nil?
|
1687
|
+
command.query['fields'] = fields unless fields.nil?
|
1688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1689
|
+
execute_or_queue_command(command, &block)
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# Returns all questions for a given catalog.
|
1693
|
+
# @param [String] parent
|
1694
|
+
# Required. Resource name of the parent catalog. Format: projects/`project`/
|
1695
|
+
# locations/`location`/catalogs/`catalog`
|
1696
|
+
# @param [String] fields
|
1697
|
+
# Selector specifying which fields to include in a partial response.
|
1698
|
+
# @param [String] quota_user
|
1699
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1700
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1701
|
+
# @param [Google::Apis::RequestOptions] options
|
1702
|
+
# Request-specific options
|
1703
|
+
#
|
1704
|
+
# @yield [result, err] Result & error if block supplied
|
1705
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse] parsed result object
|
1706
|
+
# @yieldparam err [StandardError] error object if request failed
|
1707
|
+
#
|
1708
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse]
|
1709
|
+
#
|
1710
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1711
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1712
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1713
|
+
def list_project_location_catalog_generative_questions(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1714
|
+
command = make_simple_command(:get, 'v2beta/{+parent}/generativeQuestions', options)
|
1715
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse::Representation
|
1716
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse
|
1717
|
+
command.params['parent'] = parent unless parent.nil?
|
1718
|
+
command.query['fields'] = fields unless fields.nil?
|
1719
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1720
|
+
execute_or_queue_command(command, &block)
|
1721
|
+
end
|
1722
|
+
|
1443
1723
|
# Creates a new model.
|
1444
1724
|
# @param [String] parent
|
1445
1725
|
# Required. The parent resource under which to create the model. Format: `
|
@@ -2279,6 +2559,41 @@ module Google
|
|
2279
2559
|
execute_or_queue_command(command, &block)
|
2280
2560
|
end
|
2281
2561
|
|
2562
|
+
# Exports user events. `Operation.response` is of type `ExportResponse`. `
|
2563
|
+
# Operation.metadata` is of type `ExportMetadata`.
|
2564
|
+
# @param [String] parent
|
2565
|
+
# Required. Resource name of a Catalog. For example `projects/1234/locations/
|
2566
|
+
# global/catalogs/default_catalog`
|
2567
|
+
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportUserEventsRequest] google_cloud_retail_v2beta_export_user_events_request_object
|
2568
|
+
# @param [String] fields
|
2569
|
+
# Selector specifying which fields to include in a partial response.
|
2570
|
+
# @param [String] quota_user
|
2571
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2572
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2573
|
+
# @param [Google::Apis::RequestOptions] options
|
2574
|
+
# Request-specific options
|
2575
|
+
#
|
2576
|
+
# @yield [result, err] Result & error if block supplied
|
2577
|
+
# @yieldparam result [Google::Apis::RetailV2beta::GoogleLongrunningOperation] parsed result object
|
2578
|
+
# @yieldparam err [StandardError] error object if request failed
|
2579
|
+
#
|
2580
|
+
# @return [Google::Apis::RetailV2beta::GoogleLongrunningOperation]
|
2581
|
+
#
|
2582
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2583
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2584
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2585
|
+
def export_project_location_catalog_user_event(parent, google_cloud_retail_v2beta_export_user_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2586
|
+
command = make_simple_command(:post, 'v2beta/{+parent}/userEvents:export', options)
|
2587
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportUserEventsRequest::Representation
|
2588
|
+
command.request_object = google_cloud_retail_v2beta_export_user_events_request_object
|
2589
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleLongrunningOperation::Representation
|
2590
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleLongrunningOperation
|
2591
|
+
command.params['parent'] = parent unless parent.nil?
|
2592
|
+
command.query['fields'] = fields unless fields.nil?
|
2593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2594
|
+
execute_or_queue_command(command, &block)
|
2595
|
+
end
|
2596
|
+
|
2282
2597
|
# Bulk import of User events. Request processing might be synchronous. Events
|
2283
2598
|
# that already exist are skipped. Use this method for backfilling historical
|
2284
2599
|
# user events. `Operation.response` is of type `ImportResponse`. Note that it is
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.100.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-12-04 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-retail_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.100.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI Search for Retail API V2beta
|