google-apis-discoveryengine_v1beta 0.53.0 → 0.55.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 +9 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +2076 -209
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +769 -2
- data/lib/google/apis/discoveryengine_v1beta/service.rb +42 -7
- metadata +4 -7
@@ -88,6 +88,39 @@ module Google
|
|
88
88
|
execute_or_queue_command(command, &block)
|
89
89
|
end
|
90
90
|
|
91
|
+
# Generates grounded content.
|
92
|
+
# @param [String] location
|
93
|
+
# Required. Location resource. Format: `projects/`project`/locations/`location``.
|
94
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest] google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object
|
95
|
+
# @param [String] fields
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
97
|
+
# @param [String] quota_user
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
101
|
+
# Request-specific options
|
102
|
+
#
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
104
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse]
|
108
|
+
#
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
|
+
def generate_project_location_grounded_content(location, google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
+
command = make_simple_command(:post, 'v1beta/{+location}:generateGroundedContent', options)
|
114
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest::Representation
|
115
|
+
command.request_object = google_cloud_discoveryengine_v1beta_generate_grounded_content_request_object
|
116
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse::Representation
|
117
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse
|
118
|
+
command.params['location'] = location unless location.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
91
124
|
# Gets the latest state of a long-running operation. Clients can use this method
|
92
125
|
# to poll the operation result at intervals as recommended by the API service.
|
93
126
|
# @param [String] name
|
@@ -562,7 +595,7 @@ module Google
|
|
562
595
|
# is returned. This field must be unique among all Documents with the same
|
563
596
|
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
564
597
|
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
565
|
-
# length limit of
|
598
|
+
# length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
566
599
|
# returned.
|
567
600
|
# @param [String] fields
|
568
601
|
# Selector specifying which fields to include in a partial response.
|
@@ -5090,7 +5123,7 @@ module Google
|
|
5090
5123
|
# is returned. This field must be unique among all Documents with the same
|
5091
5124
|
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
5092
5125
|
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
5093
|
-
# length limit of
|
5126
|
+
# length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
5094
5127
|
# returned.
|
5095
5128
|
# @param [String] fields
|
5096
5129
|
# Selector specifying which fields to include in a partial response.
|
@@ -7646,12 +7679,14 @@ module Google
|
|
7646
7679
|
# @param [String] evaluation
|
7647
7680
|
# Required. The evaluation resource name, such as `projects/`project`/locations/`
|
7648
7681
|
# location`/evaluations/`evaluation``. If the caller does not have permission to
|
7649
|
-
# list EvaluationResult under this evaluation,
|
7650
|
-
# evaluation set exists, a `PERMISSION_DENIED`
|
7682
|
+
# list ListEvaluationResultsResponse.EvaluationResult under this evaluation,
|
7683
|
+
# regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
|
7684
|
+
# error is returned.
|
7651
7685
|
# @param [Fixnum] page_size
|
7652
|
-
# Maximum number of EvaluationResult to return. If
|
7653
|
-
# The maximum allowed value is 1000. Values above
|
7654
|
-
# If this field is negative, an `INVALID_ARGUMENT`
|
7686
|
+
# Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If
|
7687
|
+
# unspecified, defaults to 100. The maximum allowed value is 1000. Values above
|
7688
|
+
# 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT`
|
7689
|
+
# error is returned.
|
7655
7690
|
# @param [String] page_token
|
7656
7691
|
# A page token ListEvaluationResultsResponse.next_page_token, received from a
|
7657
7692
|
# previous EvaluationService.ListEvaluationResults call. Provide this to
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.55.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Discovery Engine API V1beta
|
82
79
|
test_files: []
|