google-apis-discoveryengine_v1 0.25.0 → 0.27.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 +9 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +2057 -190
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1/representations.rb +771 -4
- data/lib/google/apis/discoveryengine_v1/service.rb +35 -2
- 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::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest] google_cloud_discoveryengine_v1_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::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse]
|
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_v1_generate_grounded_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
+
command = make_simple_command(:post, 'v1/{+location}:generateGroundedContent', options)
|
114
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest::Representation
|
115
|
+
command.request_object = google_cloud_discoveryengine_v1_generate_grounded_content_request_object
|
116
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse::Representation
|
117
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse
|
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.
|
@@ -4700,7 +4733,7 @@ module Google
|
|
4700
4733
|
# is returned. This field must be unique among all Documents with the same
|
4701
4734
|
# parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must
|
4702
4735
|
# conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
4703
|
-
# length limit of
|
4736
|
+
# length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
4704
4737
|
# returned.
|
4705
4738
|
# @param [String] fields
|
4706
4739
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.27.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
|
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 V1
|
82
79
|
test_files: []
|