google-apis-discoveryengine_v1beta 0.110.0 → 0.112.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +103 -28
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +33 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +174 -0
- data/lib/google/apis/discoveryengine_v1beta.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65017b7ecfcf01b258eb42bdd70a6c9cf482e164945d61ce38c494187791f7c5
|
|
4
|
+
data.tar.gz: 9048faae0054baa30b14366ad1cccc6d10a82e020f4223870e803849fc28fedc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9db9bbd3ff66d089ef481e83eef0088db930c571eb2935268b31662b9ff948cdfcff37f8183c4b70e3023ce263e9ec99e65c512f1c2dec2d3aebc6d0d11108d
|
|
7
|
+
data.tar.gz: 779729e44c872cf69400c54e9495c41a67ace9a9965d80f4153398e5e03e4f2c0a004d715263e7460ca1461a4c2bc3c991e3f38bf6509518a3d3aa6a8046c54a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.112.0 (2026-09-06)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260831
|
|
6
|
+
|
|
7
|
+
### v0.111.0 (2026-08-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260815
|
|
10
|
+
|
|
3
11
|
### v0.110.0 (2026-08-16)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260809
|
|
@@ -4014,15 +4014,16 @@ module Google
|
|
|
4014
4014
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
|
4015
4015
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
4016
4016
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
4017
|
-
# org-chart` * `bi-directional-audio` * `
|
|
4018
|
-
# personalization-memory` * `personalization-suggested-highlights` *
|
|
4019
|
-
# access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
4020
|
-
# video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
4021
|
-
# disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
4022
|
-
# canvas-workspace` * `
|
|
4023
|
-
#
|
|
4024
|
-
# * `
|
|
4025
|
-
#
|
|
4017
|
+
# org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-
|
|
4018
|
+
# sharing` * `personalization-memory` * `personalization-suggested-highlights` *
|
|
4019
|
+
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
4020
|
+
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
4021
|
+
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
4022
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
4023
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
4024
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
4025
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
4026
|
+
# `in-app-notifications`
|
|
4026
4027
|
# Corresponds to the JSON property `features`
|
|
4027
4028
|
# @return [Hash<String,String>]
|
|
4028
4029
|
attr_accessor :features
|
|
@@ -8777,6 +8778,11 @@ module Google
|
|
|
8777
8778
|
# @return [String]
|
|
8778
8779
|
attr_accessor :verdict
|
|
8779
8780
|
|
|
8781
|
+
# Output only. The source of the violation.
|
|
8782
|
+
# Corresponds to the JSON property `violationSource`
|
|
8783
|
+
# @return [String]
|
|
8784
|
+
attr_accessor :violation_source
|
|
8785
|
+
|
|
8780
8786
|
def initialize(**args)
|
|
8781
8787
|
update!(**args)
|
|
8782
8788
|
end
|
|
@@ -8785,6 +8791,7 @@ module Google
|
|
|
8785
8791
|
def update!(**args)
|
|
8786
8792
|
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
|
8787
8793
|
@verdict = args[:verdict] if args.key?(:verdict)
|
|
8794
|
+
@violation_source = args[:violation_source] if args.key?(:violation_source)
|
|
8788
8795
|
end
|
|
8789
8796
|
end
|
|
8790
8797
|
|
|
@@ -9119,6 +9126,12 @@ module Google
|
|
|
9119
9126
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
9120
9127
|
include Google::Apis::Core::Hashable
|
|
9121
9128
|
|
|
9129
|
+
# Output only. Generic structured chunk metadata from upstream data source
|
|
9130
|
+
# connectors.
|
|
9131
|
+
# Corresponds to the JSON property `chunkMetadata`
|
|
9132
|
+
# @return [Hash<String,Object>]
|
|
9133
|
+
attr_accessor :chunk_metadata
|
|
9134
|
+
|
|
9122
9135
|
# Chunk of code snippet from the referenced document.
|
|
9123
9136
|
# Corresponds to the JSON property `codeSnippet`
|
|
9124
9137
|
# @return [String]
|
|
@@ -9140,6 +9153,7 @@ module Google
|
|
|
9140
9153
|
|
|
9141
9154
|
# Update properties of this object
|
|
9142
9155
|
def update!(**args)
|
|
9156
|
+
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
|
|
9143
9157
|
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
9144
9158
|
@content = args[:content] if args.key?(:content)
|
|
9145
9159
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
@@ -12513,15 +12527,16 @@ module Google
|
|
|
12513
12527
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
|
12514
12528
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
12515
12529
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
12516
|
-
# org-chart` * `bi-directional-audio` * `
|
|
12517
|
-
# personalization-memory` * `personalization-suggested-highlights` *
|
|
12518
|
-
# access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
12519
|
-
# video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
12520
|
-
# disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
12521
|
-
# canvas-workspace` * `
|
|
12522
|
-
#
|
|
12523
|
-
# * `
|
|
12524
|
-
#
|
|
12530
|
+
# org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-
|
|
12531
|
+
# sharing` * `personalization-memory` * `personalization-suggested-highlights` *
|
|
12532
|
+
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
12533
|
+
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
12534
|
+
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
12535
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
12536
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
12537
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
12538
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
12539
|
+
# `in-app-notifications`
|
|
12525
12540
|
# Corresponds to the JSON property `features`
|
|
12526
12541
|
# @return [Hash<String,String>]
|
|
12527
12542
|
attr_accessor :features
|
|
@@ -20969,6 +20984,11 @@ module Google
|
|
|
20969
20984
|
# @return [String]
|
|
20970
20985
|
attr_accessor :verdict
|
|
20971
20986
|
|
|
20987
|
+
# Output only. The source of the violation.
|
|
20988
|
+
# Corresponds to the JSON property `violationSource`
|
|
20989
|
+
# @return [String]
|
|
20990
|
+
attr_accessor :violation_source
|
|
20991
|
+
|
|
20972
20992
|
def initialize(**args)
|
|
20973
20993
|
update!(**args)
|
|
20974
20994
|
end
|
|
@@ -20977,6 +20997,7 @@ module Google
|
|
|
20977
20997
|
def update!(**args)
|
|
20978
20998
|
@policy_results = args[:policy_results] if args.key?(:policy_results)
|
|
20979
20999
|
@verdict = args[:verdict] if args.key?(:verdict)
|
|
21000
|
+
@violation_source = args[:violation_source] if args.key?(:violation_source)
|
|
20980
21001
|
end
|
|
20981
21002
|
end
|
|
20982
21003
|
|
|
@@ -21579,6 +21600,12 @@ module Google
|
|
|
21579
21600
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
|
21580
21601
|
include Google::Apis::Core::Hashable
|
|
21581
21602
|
|
|
21603
|
+
# Output only. Generic structured chunk metadata from upstream data source
|
|
21604
|
+
# connectors.
|
|
21605
|
+
# Corresponds to the JSON property `chunkMetadata`
|
|
21606
|
+
# @return [Hash<String,Object>]
|
|
21607
|
+
attr_accessor :chunk_metadata
|
|
21608
|
+
|
|
21582
21609
|
# Chunk of code snippet from the referenced document.
|
|
21583
21610
|
# Corresponds to the JSON property `codeSnippet`
|
|
21584
21611
|
# @return [String]
|
|
@@ -21600,6 +21627,7 @@ module Google
|
|
|
21600
21627
|
|
|
21601
21628
|
# Update properties of this object
|
|
21602
21629
|
def update!(**args)
|
|
21630
|
+
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
|
|
21603
21631
|
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
21604
21632
|
@content = args[:content] if args.key?(:content)
|
|
21605
21633
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
@@ -25488,15 +25516,16 @@ module Google
|
|
|
25488
25516
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
|
25489
25517
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
|
25490
25518
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
25491
|
-
# org-chart` * `bi-directional-audio` * `
|
|
25492
|
-
# personalization-memory` * `personalization-suggested-highlights` *
|
|
25493
|
-
# access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
25494
|
-
# video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
25495
|
-
# disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
25496
|
-
# canvas-workspace` * `
|
|
25497
|
-
#
|
|
25498
|
-
# * `
|
|
25499
|
-
#
|
|
25519
|
+
# org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-
|
|
25520
|
+
# sharing` * `personalization-memory` * `personalization-suggested-highlights` *
|
|
25521
|
+
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
25522
|
+
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
25523
|
+
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
25524
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
25525
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
25526
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
25527
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
25528
|
+
# `in-app-notifications`
|
|
25500
25529
|
# Corresponds to the JSON property `features`
|
|
25501
25530
|
# @return [Hash<String,String>]
|
|
25502
25531
|
attr_accessor :features
|
|
@@ -32083,7 +32112,7 @@ module Google
|
|
|
32083
32112
|
class GoogleCloudDiscoveryengineV1betaSearchResponse
|
|
32084
32113
|
include Google::Apis::Core::Hashable
|
|
32085
32114
|
|
|
32086
|
-
# Controls applied as part of the Control service.
|
|
32115
|
+
# Optional. Controls applied as part of the Control service.
|
|
32087
32116
|
# Corresponds to the JSON property `appliedControls`
|
|
32088
32117
|
# @return [Array<String>]
|
|
32089
32118
|
attr_accessor :applied_controls
|
|
@@ -33844,6 +33873,11 @@ module Google
|
|
|
33844
33873
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
|
|
33845
33874
|
include Google::Apis::Core::Hashable
|
|
33846
33875
|
|
|
33876
|
+
# Specification of agents that are used to serve the request.
|
|
33877
|
+
# Corresponds to the JSON property `agentsSpec`
|
|
33878
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec]
|
|
33879
|
+
attr_accessor :agents_spec
|
|
33880
|
+
|
|
33847
33881
|
# Assistant generation specification for the request. This allows to override
|
|
33848
33882
|
# the default generation configuration at the engine level.
|
|
33849
33883
|
# Corresponds to the JSON property `generationSpec`
|
|
@@ -33881,6 +33915,7 @@ module Google
|
|
|
33881
33915
|
|
|
33882
33916
|
# Update properties of this object
|
|
33883
33917
|
def update!(**args)
|
|
33918
|
+
@agents_spec = args[:agents_spec] if args.key?(:agents_spec)
|
|
33884
33919
|
@generation_spec = args[:generation_spec] if args.key?(:generation_spec)
|
|
33885
33920
|
@query = args[:query] if args.key?(:query)
|
|
33886
33921
|
@session = args[:session] if args.key?(:session)
|
|
@@ -33889,6 +33924,46 @@ module Google
|
|
|
33889
33924
|
end
|
|
33890
33925
|
end
|
|
33891
33926
|
|
|
33927
|
+
# Specification of agents that are used to serve the request.
|
|
33928
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
|
|
33929
|
+
include Google::Apis::Core::Hashable
|
|
33930
|
+
|
|
33931
|
+
# Optional. Specification of agents that are used to serve the request.
|
|
33932
|
+
# Corresponds to the JSON property `agentSpecs`
|
|
33933
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec>]
|
|
33934
|
+
attr_accessor :agent_specs
|
|
33935
|
+
|
|
33936
|
+
def initialize(**args)
|
|
33937
|
+
update!(**args)
|
|
33938
|
+
end
|
|
33939
|
+
|
|
33940
|
+
# Update properties of this object
|
|
33941
|
+
def update!(**args)
|
|
33942
|
+
@agent_specs = args[:agent_specs] if args.key?(:agent_specs)
|
|
33943
|
+
end
|
|
33944
|
+
end
|
|
33945
|
+
|
|
33946
|
+
# Specification of an agent.
|
|
33947
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
|
|
33948
|
+
include Google::Apis::Core::Hashable
|
|
33949
|
+
|
|
33950
|
+
# Required. ID to identify the agent resource serving the request. This field
|
|
33951
|
+
# must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length
|
|
33952
|
+
# limit of 63 characters.
|
|
33953
|
+
# Corresponds to the JSON property `agentId`
|
|
33954
|
+
# @return [String]
|
|
33955
|
+
attr_accessor :agent_id
|
|
33956
|
+
|
|
33957
|
+
def initialize(**args)
|
|
33958
|
+
update!(**args)
|
|
33959
|
+
end
|
|
33960
|
+
|
|
33961
|
+
# Update properties of this object
|
|
33962
|
+
def update!(**args)
|
|
33963
|
+
@agent_id = args[:agent_id] if args.key?(:agent_id)
|
|
33964
|
+
end
|
|
33965
|
+
end
|
|
33966
|
+
|
|
33892
33967
|
# Assistant generation specification for the request. This allows to override
|
|
33893
33968
|
# the default generation configuration at the engine level.
|
|
33894
33969
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1beta
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.112.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260831"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -5308,6 +5308,18 @@ module Google
|
|
|
5308
5308
|
include Google::Apis::Core::JsonObjectSupport
|
|
5309
5309
|
end
|
|
5310
5310
|
|
|
5311
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
|
|
5312
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5313
|
+
|
|
5314
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5315
|
+
end
|
|
5316
|
+
|
|
5317
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
|
|
5318
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5319
|
+
|
|
5320
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5321
|
+
end
|
|
5322
|
+
|
|
5311
5323
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|
|
5312
5324
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5313
5325
|
|
|
@@ -7905,6 +7917,7 @@ module Google
|
|
|
7905
7917
|
collection :policy_results, as: 'policyResults', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult::Representation
|
|
7906
7918
|
|
|
7907
7919
|
property :verdict, as: 'verdict'
|
|
7920
|
+
property :violation_source, as: 'violationSource'
|
|
7908
7921
|
end
|
|
7909
7922
|
end
|
|
7910
7923
|
|
|
@@ -8019,6 +8032,7 @@ module Google
|
|
|
8019
8032
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
8020
8033
|
# @private
|
|
8021
8034
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8035
|
+
hash :chunk_metadata, as: 'chunkMetadata'
|
|
8022
8036
|
property :code_snippet, as: 'codeSnippet'
|
|
8023
8037
|
property :content, as: 'content'
|
|
8024
8038
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
|
|
@@ -11134,6 +11148,7 @@ module Google
|
|
|
11134
11148
|
collection :policy_results, as: 'policyResults', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult::Representation
|
|
11135
11149
|
|
|
11136
11150
|
property :verdict, as: 'verdict'
|
|
11151
|
+
property :violation_source, as: 'violationSource'
|
|
11137
11152
|
end
|
|
11138
11153
|
end
|
|
11139
11154
|
|
|
@@ -11320,6 +11335,7 @@ module Google
|
|
|
11320
11335
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
|
11321
11336
|
# @private
|
|
11322
11337
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11338
|
+
hash :chunk_metadata, as: 'chunkMetadata'
|
|
11323
11339
|
property :code_snippet, as: 'codeSnippet'
|
|
11324
11340
|
property :content, as: 'content'
|
|
11325
11341
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
|
|
@@ -14645,6 +14661,8 @@ module Google
|
|
|
14645
14661
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
|
|
14646
14662
|
# @private
|
|
14647
14663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14664
|
+
property :agents_spec, as: 'agentsSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec::Representation
|
|
14665
|
+
|
|
14648
14666
|
property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec::Representation
|
|
14649
14667
|
|
|
14650
14668
|
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation
|
|
@@ -14657,6 +14675,21 @@ module Google
|
|
|
14657
14675
|
end
|
|
14658
14676
|
end
|
|
14659
14677
|
|
|
14678
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
|
|
14679
|
+
# @private
|
|
14680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14681
|
+
collection :agent_specs, as: 'agentSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec::Representation
|
|
14682
|
+
|
|
14683
|
+
end
|
|
14684
|
+
end
|
|
14685
|
+
|
|
14686
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
|
|
14687
|
+
# @private
|
|
14688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14689
|
+
property :agent_id, as: 'agentId'
|
|
14690
|
+
end
|
|
14691
|
+
end
|
|
14692
|
+
|
|
14660
14693
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|
|
14661
14694
|
# @private
|
|
14662
14695
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -864,6 +864,52 @@ module Google
|
|
|
864
864
|
execute_or_queue_command(command, &block)
|
|
865
865
|
end
|
|
866
866
|
|
|
867
|
+
# Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
|
|
868
|
+
# returned if the resource does not exist. An empty policy is returned if the
|
|
869
|
+
# resource exists but does not have a policy set on it.
|
|
870
|
+
# @param [String] resource
|
|
871
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
872
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
873
|
+
# appropriate value for this field.
|
|
874
|
+
# @param [Fixnum] options_requested_policy_version
|
|
875
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
876
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
877
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
878
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
879
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
880
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
881
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
882
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
883
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
884
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
885
|
+
# @param [String] fields
|
|
886
|
+
# Selector specifying which fields to include in a partial response.
|
|
887
|
+
# @param [String] quota_user
|
|
888
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
889
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
890
|
+
# @param [Google::Apis::RequestOptions] options
|
|
891
|
+
# Request-specific options
|
|
892
|
+
#
|
|
893
|
+
# @yield [result, err] Result & error if block supplied
|
|
894
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
|
|
895
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
896
|
+
#
|
|
897
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
|
|
898
|
+
#
|
|
899
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
900
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
901
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
902
|
+
def get_project_location_collection_data_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
903
|
+
command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
|
|
904
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
|
|
905
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
|
|
906
|
+
command.params['resource'] = resource unless resource.nil?
|
|
907
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
908
|
+
command.query['fields'] = fields unless fields.nil?
|
|
909
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
910
|
+
execute_or_queue_command(command, &block)
|
|
911
|
+
end
|
|
912
|
+
|
|
867
913
|
# Gets the SiteSearchEngine.
|
|
868
914
|
# @param [String] name
|
|
869
915
|
# Required. Resource name of SiteSearchEngine, such as `projects/`project`/
|
|
@@ -987,6 +1033,47 @@ module Google
|
|
|
987
1033
|
execute_or_queue_command(command, &block)
|
|
988
1034
|
end
|
|
989
1035
|
|
|
1036
|
+
# Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
|
|
1037
|
+
# returned if the resource does not exist. **Important:** When setting a policy
|
|
1038
|
+
# directly on a DataStore resource, the only recommended roles in the bindings
|
|
1039
|
+
# are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `
|
|
1040
|
+
# roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/
|
|
1041
|
+
# discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to
|
|
1042
|
+
# grant any other role will result in a warning in logging.
|
|
1043
|
+
# @param [String] resource
|
|
1044
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
1045
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
1046
|
+
# appropriate value for this field.
|
|
1047
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
1048
|
+
# @param [String] fields
|
|
1049
|
+
# Selector specifying which fields to include in a partial response.
|
|
1050
|
+
# @param [String] quota_user
|
|
1051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1053
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1054
|
+
# Request-specific options
|
|
1055
|
+
#
|
|
1056
|
+
# @yield [result, err] Result & error if block supplied
|
|
1057
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
|
|
1058
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1059
|
+
#
|
|
1060
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
|
|
1061
|
+
#
|
|
1062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1065
|
+
def set_project_location_collection_data_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1066
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
|
|
1067
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest::Representation
|
|
1068
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
1069
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
|
|
1070
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
|
|
1071
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1072
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1073
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1074
|
+
execute_or_queue_command(command, &block)
|
|
1075
|
+
end
|
|
1076
|
+
|
|
990
1077
|
# Trains a custom model.
|
|
991
1078
|
# @param [String] data_store
|
|
992
1079
|
# Required. The resource name of the Data Store, such as `projects/*/locations/
|
|
@@ -6097,6 +6184,52 @@ module Google
|
|
|
6097
6184
|
execute_or_queue_command(command, &block)
|
|
6098
6185
|
end
|
|
6099
6186
|
|
|
6187
|
+
# Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
|
|
6188
|
+
# returned if the resource does not exist. An empty policy is returned if the
|
|
6189
|
+
# resource exists but does not have a policy set on it.
|
|
6190
|
+
# @param [String] resource
|
|
6191
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
6192
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
6193
|
+
# appropriate value for this field.
|
|
6194
|
+
# @param [Fixnum] options_requested_policy_version
|
|
6195
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
6196
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
6197
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
6198
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
6199
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
6200
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
6201
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
6202
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
6203
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
6204
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
6205
|
+
# @param [String] fields
|
|
6206
|
+
# Selector specifying which fields to include in a partial response.
|
|
6207
|
+
# @param [String] quota_user
|
|
6208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6210
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6211
|
+
# Request-specific options
|
|
6212
|
+
#
|
|
6213
|
+
# @yield [result, err] Result & error if block supplied
|
|
6214
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
|
|
6215
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6216
|
+
#
|
|
6217
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
|
|
6218
|
+
#
|
|
6219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6222
|
+
def get_project_location_data_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6223
|
+
command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
|
|
6224
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
|
|
6225
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
|
|
6226
|
+
command.params['resource'] = resource unless resource.nil?
|
|
6227
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
6228
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6230
|
+
execute_or_queue_command(command, &block)
|
|
6231
|
+
end
|
|
6232
|
+
|
|
6100
6233
|
# Gets the SiteSearchEngine.
|
|
6101
6234
|
# @param [String] name
|
|
6102
6235
|
# Required. Resource name of SiteSearchEngine, such as `projects/`project`/
|
|
@@ -6220,6 +6353,47 @@ module Google
|
|
|
6220
6353
|
execute_or_queue_command(command, &block)
|
|
6221
6354
|
end
|
|
6222
6355
|
|
|
6356
|
+
# Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
|
|
6357
|
+
# returned if the resource does not exist. **Important:** When setting a policy
|
|
6358
|
+
# directly on a DataStore resource, the only recommended roles in the bindings
|
|
6359
|
+
# are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `
|
|
6360
|
+
# roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/
|
|
6361
|
+
# discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to
|
|
6362
|
+
# grant any other role will result in a warning in logging.
|
|
6363
|
+
# @param [String] resource
|
|
6364
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
6365
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
6366
|
+
# appropriate value for this field.
|
|
6367
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
6368
|
+
# @param [String] fields
|
|
6369
|
+
# Selector specifying which fields to include in a partial response.
|
|
6370
|
+
# @param [String] quota_user
|
|
6371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6373
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6374
|
+
# Request-specific options
|
|
6375
|
+
#
|
|
6376
|
+
# @yield [result, err] Result & error if block supplied
|
|
6377
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
|
|
6378
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6379
|
+
#
|
|
6380
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
|
|
6381
|
+
#
|
|
6382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6385
|
+
def set_project_location_data_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6386
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
|
|
6387
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest::Representation
|
|
6388
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
6389
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
|
|
6390
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
|
|
6391
|
+
command.params['resource'] = resource unless resource.nil?
|
|
6392
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6393
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6394
|
+
execute_or_queue_command(command, &block)
|
|
6395
|
+
end
|
|
6396
|
+
|
|
6223
6397
|
# Gets index freshness metadata for Documents. Supported for website search only.
|
|
6224
6398
|
# @param [String] parent
|
|
6225
6399
|
# Required. The parent branch resource name, such as `projects/`project`/
|
|
@@ -35,7 +35,7 @@ module Google
|
|
|
35
35
|
# Search your organization's data in the Cloud Search index
|
|
36
36
|
AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
|
|
37
37
|
|
|
38
|
-
# View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
|
|
38
|
+
# View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf. Also view the artifacts you access through NotebookLM Enterprise.
|
|
39
39
|
AUTH_DISCOVERYENGINE_ASSIST_READWRITE = 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite'
|
|
40
40
|
|
|
41
41
|
# View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.112.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.112.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|