google-cloud-discovery_engine-v1beta 0.32.0 → 0.33.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/lib/google/cloud/discovery_engine/v1beta/project_service/client.rb +21 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +21 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/service_stub.rb +8 -0
- data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/project_service_pb.rb +3 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/project_service.rb +36 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afef3dd388b843ae9fed031ab38178b893446a99b17eeba5d5b095393247bfb7
|
|
4
|
+
data.tar.gz: f9a05c325fc30e32d4cfa84c194af312c10c082b9546af6abf3157e8482bd058
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b1c8e39e4e0cabef61342e7586c98e839e580614cc5929999063e75619ff12f8637ce5b240a5534d956fd82687117f4a291aee4814004fb8a85020d2658b956
|
|
7
|
+
data.tar.gz: d77637923bd82c66eeb49eb528df426fa7b8e89c78e8f993aaa36a8d90f715f26cc62221caa882187564eece37b021122a865de0a9e69f0128d8a6a6793950e4
|
|
@@ -237,7 +237,7 @@ module Google
|
|
|
237
237
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
238
238
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
239
239
|
#
|
|
240
|
-
# @overload provision_project(name: nil, accept_data_use_terms: nil, data_use_terms_version: nil, saas_params: nil)
|
|
240
|
+
# @overload provision_project(name: nil, accept_data_use_terms: nil, data_use_terms_version: nil, saas_params: nil, provision_intent: nil, idp_config: nil, pre_provision_mode: nil)
|
|
241
241
|
# Pass arguments to `provision_project` via keyword arguments. Note that at
|
|
242
242
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
243
243
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -258,6 +258,26 @@ module Google
|
|
|
258
258
|
# Acceptable version is `2022-11-23`, and this may change over time.
|
|
259
259
|
# @param saas_params [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::SaasParams, ::Hash]
|
|
260
260
|
# Optional. Parameters for Agentspace.
|
|
261
|
+
# @param provision_intent [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::ProvisionIntent]
|
|
262
|
+
# Optional. The caller states whether the provisioning is for the new or the
|
|
263
|
+
# classic Gemini Enterprise experience.
|
|
264
|
+
# @param idp_config [::Google::Cloud::DiscoveryEngine::V1beta::IdpConfig, ::Hash]
|
|
265
|
+
# Optional. The identity provider for this location. When provided, the
|
|
266
|
+
# location's {::Google::Cloud::DiscoveryEngine::V1beta::AclConfig AclConfig} is
|
|
267
|
+
# set from it as part of provisioning.
|
|
268
|
+
# @param pre_provision_mode [::Boolean]
|
|
269
|
+
# Optional. Runs only the common project-level pre-provisioning steps
|
|
270
|
+
# (service agents, agent identity pools, project-scoped extension bindings,
|
|
271
|
+
# App Hub registry, Sobi agent default identity, and Sobi default Model Armor
|
|
272
|
+
# template) without reading or writing the Customer, Collection, or UserStore
|
|
273
|
+
# tables, CapabilityConfig, tenant project, default engine, or trial licenses
|
|
274
|
+
# when `true`.
|
|
275
|
+
#
|
|
276
|
+
# Assumes no customer exists yet. Customer-level or non-SOBI fields
|
|
277
|
+
# (`accept_data_use_terms`, `data_use_terms_version`, `saas_params`,
|
|
278
|
+
# `idp_config`, and `PROVISION_INTENT_LEGACY`) are rejected with
|
|
279
|
+
# `INVALID_ARGUMENT`, and the returned completed `Operation` has an empty
|
|
280
|
+
# response.
|
|
261
281
|
#
|
|
262
282
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
263
283
|
# @yieldparam response [::Gapic::Operation]
|
|
@@ -230,7 +230,7 @@ module Google
|
|
|
230
230
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
231
231
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
232
232
|
#
|
|
233
|
-
# @overload provision_project(name: nil, accept_data_use_terms: nil, data_use_terms_version: nil, saas_params: nil)
|
|
233
|
+
# @overload provision_project(name: nil, accept_data_use_terms: nil, data_use_terms_version: nil, saas_params: nil, provision_intent: nil, idp_config: nil, pre_provision_mode: nil)
|
|
234
234
|
# Pass arguments to `provision_project` via keyword arguments. Note that at
|
|
235
235
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
236
236
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -251,6 +251,26 @@ module Google
|
|
|
251
251
|
# Acceptable version is `2022-11-23`, and this may change over time.
|
|
252
252
|
# @param saas_params [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::SaasParams, ::Hash]
|
|
253
253
|
# Optional. Parameters for Agentspace.
|
|
254
|
+
# @param provision_intent [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::ProvisionIntent]
|
|
255
|
+
# Optional. The caller states whether the provisioning is for the new or the
|
|
256
|
+
# classic Gemini Enterprise experience.
|
|
257
|
+
# @param idp_config [::Google::Cloud::DiscoveryEngine::V1beta::IdpConfig, ::Hash]
|
|
258
|
+
# Optional. The identity provider for this location. When provided, the
|
|
259
|
+
# location's {::Google::Cloud::DiscoveryEngine::V1beta::AclConfig AclConfig} is
|
|
260
|
+
# set from it as part of provisioning.
|
|
261
|
+
# @param pre_provision_mode [::Boolean]
|
|
262
|
+
# Optional. Runs only the common project-level pre-provisioning steps
|
|
263
|
+
# (service agents, agent identity pools, project-scoped extension bindings,
|
|
264
|
+
# App Hub registry, Sobi agent default identity, and Sobi default Model Armor
|
|
265
|
+
# template) without reading or writing the Customer, Collection, or UserStore
|
|
266
|
+
# tables, CapabilityConfig, tenant project, default engine, or trial licenses
|
|
267
|
+
# when `true`.
|
|
268
|
+
#
|
|
269
|
+
# Assumes no customer exists yet. Customer-level or non-SOBI fields
|
|
270
|
+
# (`accept_data_use_terms`, `data_use_terms_version`, `saas_params`,
|
|
271
|
+
# `idp_config`, and `PROVISION_INTENT_LEGACY`) are rejected with
|
|
272
|
+
# `INVALID_ARGUMENT`, and the returned completed `Operation` has an empty
|
|
273
|
+
# response.
|
|
254
274
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
255
275
|
# @yieldparam result [::Gapic::Operation]
|
|
256
276
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -132,6 +132,14 @@ module Google
|
|
|
132
132
|
["name", %r{^projects/[^/]+/?$}, false]
|
|
133
133
|
]
|
|
134
134
|
)
|
|
135
|
+
.with_bindings(
|
|
136
|
+
uri_method: :post,
|
|
137
|
+
uri_template: "/v1beta/{name}:provision",
|
|
138
|
+
body: "*",
|
|
139
|
+
matches: [
|
|
140
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
141
|
+
]
|
|
142
|
+
)
|
|
135
143
|
transcoder.transcode request_pb
|
|
136
144
|
end
|
|
137
145
|
end
|
|
@@ -8,11 +8,12 @@ require 'google/api/annotations_pb'
|
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
|
+
require 'google/cloud/discoveryengine/v1beta/common_pb'
|
|
11
12
|
require 'google/cloud/discoveryengine/v1beta/project_pb'
|
|
12
13
|
require 'google/longrunning/operations_pb'
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
descriptor_data = "\n9google/cloud/discoveryengine/v1beta/project_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/discoveryengine/v1beta/project.proto\x1a#google/longrunning/operations.proto\"\
|
|
16
|
+
descriptor_data = "\n9google/cloud/discoveryengine/v1beta/project_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/common.proto\x1a\x31google/cloud/discoveryengine/v1beta/project.proto\x1a#google/longrunning/operations.proto\"\x90\x05\n\x17ProvisionProjectRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&discoveryengine.googleapis.com/Project\x12#\n\x15\x61\x63\x63\x65pt_data_use_terms\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x02\x12$\n\x16\x64\x61ta_use_terms_version\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x62\n\x0bsaas_params\x18\x04 \x01(\x0b\x32G.google.cloud.discoveryengine.v1beta.ProvisionProjectRequest.SaasParamsB\x04\xe2\x41\x01\x01\x12l\n\x10provision_intent\x18\x05 \x01(\x0e\x32L.google.cloud.discoveryengine.v1beta.ProvisionProjectRequest.ProvisionIntentB\x04\xe2\x41\x01\x01\x12H\n\nidp_config\x18\x06 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.IdpConfigB\x04\xe2\x41\x01\x01\x12 \n\x12pre_provision_mode\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a@\n\nSaasParams\x12\x1c\n\x0e\x61\x63\x63\x65pt_biz_qos\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x14\n\x06is_biz\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"k\n\x0fProvisionIntent\x12 \n\x1cPROVISION_INTENT_UNSPECIFIED\x10\x00\x12\x19\n\x15PROVISION_INTENT_SOBI\x10\x01\x12\x1b\n\x17PROVISION_INTENT_LEGACY\x10\x02\"\x1a\n\x18ProvisionProjectMetadata2\xb0\x04\n\x0eProjectService\x12\xcb\x02\n\x10ProvisionProject\x12<.google.cloud.discoveryengine.v1beta.ProvisionProjectRequest\x1a\x1d.google.longrunning.Operation\"\xd9\x01\xca\x41k\n+google.cloud.discoveryengine.v1beta.Project\x12<google.cloud.discoveryengine.v1beta.ProvisionProjectMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02^\"#/v1beta/{name=projects/*}:provision:\x01*Z4\"//v1beta/{name=projects/*/locations/*}:provision:\x01*\x1a\xcf\x01\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41\xaa\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/discoveryengine.readwrite,https://www.googleapis.com/auth/discoveryengine.serving.readwriteB\x9a\x02\n\'com.google.cloud.discoveryengine.v1betaB\x13ProjectServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
|
16
17
|
|
|
17
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -23,6 +24,7 @@ module Google
|
|
|
23
24
|
module V1beta
|
|
24
25
|
ProvisionProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ProvisionProjectRequest").msgclass
|
|
25
26
|
ProvisionProjectRequest::SaasParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ProvisionProjectRequest.SaasParams").msgclass
|
|
27
|
+
ProvisionProjectRequest::ProvisionIntent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ProvisionProjectRequest.ProvisionIntent").enummodule
|
|
26
28
|
ProvisionProjectMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ProvisionProjectMetadata").msgclass
|
|
27
29
|
end
|
|
28
30
|
end
|
|
@@ -44,6 +44,29 @@ module Google
|
|
|
44
44
|
# @!attribute [rw] saas_params
|
|
45
45
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::SaasParams]
|
|
46
46
|
# Optional. Parameters for Agentspace.
|
|
47
|
+
# @!attribute [rw] provision_intent
|
|
48
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::ProvisionIntent]
|
|
49
|
+
# Optional. The caller states whether the provisioning is for the new or the
|
|
50
|
+
# classic Gemini Enterprise experience.
|
|
51
|
+
# @!attribute [rw] idp_config
|
|
52
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::IdpConfig]
|
|
53
|
+
# Optional. The identity provider for this location. When provided, the
|
|
54
|
+
# location's {::Google::Cloud::DiscoveryEngine::V1beta::AclConfig AclConfig} is
|
|
55
|
+
# set from it as part of provisioning.
|
|
56
|
+
# @!attribute [rw] pre_provision_mode
|
|
57
|
+
# @return [::Boolean]
|
|
58
|
+
# Optional. Runs only the common project-level pre-provisioning steps
|
|
59
|
+
# (service agents, agent identity pools, project-scoped extension bindings,
|
|
60
|
+
# App Hub registry, Sobi agent default identity, and Sobi default Model Armor
|
|
61
|
+
# template) without reading or writing the Customer, Collection, or UserStore
|
|
62
|
+
# tables, CapabilityConfig, tenant project, default engine, or trial licenses
|
|
63
|
+
# when `true`.
|
|
64
|
+
#
|
|
65
|
+
# Assumes no customer exists yet. Customer-level or non-SOBI fields
|
|
66
|
+
# (`accept_data_use_terms`, `data_use_terms_version`, `saas_params`,
|
|
67
|
+
# `idp_config`, and `PROVISION_INTENT_LEGACY`) are rejected with
|
|
68
|
+
# `INVALID_ARGUMENT`, and the returned completed `Operation` has an empty
|
|
69
|
+
# response.
|
|
47
70
|
class ProvisionProjectRequest
|
|
48
71
|
include ::Google::Protobuf::MessageExts
|
|
49
72
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -62,6 +85,19 @@ module Google
|
|
|
62
85
|
include ::Google::Protobuf::MessageExts
|
|
63
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
64
87
|
end
|
|
88
|
+
|
|
89
|
+
# Which experience the caller is provisioning.
|
|
90
|
+
module ProvisionIntent
|
|
91
|
+
# Unspecified.
|
|
92
|
+
PROVISION_INTENT_UNSPECIFIED = 0
|
|
93
|
+
|
|
94
|
+
# The caller is provisioning for the new Gemini Enterprise experience.
|
|
95
|
+
PROVISION_INTENT_SOBI = 1
|
|
96
|
+
|
|
97
|
+
# The caller is provisioning for the classic Gemini Enterprise
|
|
98
|
+
# experience.
|
|
99
|
+
PROVISION_INTENT_LEGACY = 2
|
|
100
|
+
end
|
|
65
101
|
end
|
|
66
102
|
|
|
67
103
|
# Metadata associated with a project provision operation.
|