google-apis-ces_v1 0.12.0 → 0.14.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/ces_v1/classes.rb +480 -0
- data/lib/google/apis/ces_v1/gem_version.rb +2 -2
- data/lib/google/apis/ces_v1/representations.rb +188 -0
- data/lib/google/apis/ces_v1/service.rb +143 -0
- 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: 68b7345847b61256a9ef0c8f932505717704585aa3cc3a875bf38d3d5e0046d5
|
|
4
|
+
data.tar.gz: f7012d5a17a6406f2d7f78d8ea4257ff7ccf24fdba4e7a2b4a9842ea5c83082a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 451d3f6d005ec85dd5c6b33d4260735d8a247303f09b933caa2f1eee87615ee01d919192d70a7ca3e122cff527d240337cb518131e98a316f553972f0231cc77
|
|
7
|
+
data.tar.gz: 3eb894d631de08565cdfda22559b91ec62b4a2b4b0fea5ae6ee35735576fa1d337f279d7237e9aebbb3b2825eb8c940dd3471dcbcbc4b9f3dcda5c6944835f33
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-ces_v1
|
|
2
2
|
|
|
3
|
+
### v0.14.0 (2026-09-06)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260903
|
|
6
|
+
|
|
7
|
+
### v0.13.0 (2026-08-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260806
|
|
10
|
+
|
|
3
11
|
### v0.12.0 (2026-08-02)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260730
|
|
@@ -207,6 +207,12 @@ module Google
|
|
|
207
207
|
# @return [String]
|
|
208
208
|
attr_accessor :name
|
|
209
209
|
|
|
210
|
+
# The agent which will transfer execution to a remote [A2A](https://github.com/
|
|
211
|
+
# a2aproject/A2A) agent.
|
|
212
|
+
# Corresponds to the JSON property `remoteA2aAgent`
|
|
213
|
+
# @return [Google::Apis::CesV1::AgentRemoteA2aAgent]
|
|
214
|
+
attr_accessor :remote_a2a_agent
|
|
215
|
+
|
|
210
216
|
# The agent which will transfer execution to a remote [Dialogflow CX](https://
|
|
211
217
|
# docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent. The Dialogflow
|
|
212
218
|
# agent will process subsequent user queries until the session ends or flow ends,
|
|
@@ -266,6 +272,7 @@ module Google
|
|
|
266
272
|
@llm_agent = args[:llm_agent] if args.key?(:llm_agent)
|
|
267
273
|
@model_settings = args[:model_settings] if args.key?(:model_settings)
|
|
268
274
|
@name = args[:name] if args.key?(:name)
|
|
275
|
+
@remote_a2a_agent = args[:remote_a2a_agent] if args.key?(:remote_a2a_agent)
|
|
269
276
|
@remote_dialogflow_agent = args[:remote_dialogflow_agent] if args.key?(:remote_dialogflow_agent)
|
|
270
277
|
@tools = args[:tools] if args.key?(:tools)
|
|
271
278
|
@toolsets = args[:toolsets] if args.key?(:toolsets)
|
|
@@ -406,6 +413,47 @@ module Google
|
|
|
406
413
|
end
|
|
407
414
|
end
|
|
408
415
|
|
|
416
|
+
# Configuration and status for Agent Registry deployment.
|
|
417
|
+
class AgentRegistryDeployment
|
|
418
|
+
include Google::Apis::Core::Hashable
|
|
419
|
+
|
|
420
|
+
# Optional. Output only. The resource name of the deployed Agent Registry
|
|
421
|
+
# service. Format: `projects/`project`/locations/`location`/services/`service``
|
|
422
|
+
# Corresponds to the JSON property `agentRegistryServiceName`
|
|
423
|
+
# @return [String]
|
|
424
|
+
attr_accessor :agent_registry_service_name
|
|
425
|
+
|
|
426
|
+
def initialize(**args)
|
|
427
|
+
update!(**args)
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
# Update properties of this object
|
|
431
|
+
def update!(**args)
|
|
432
|
+
@agent_registry_service_name = args[:agent_registry_service_name] if args.key?(:agent_registry_service_name)
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# The agent which will transfer execution to a remote [A2A](https://github.com/
|
|
437
|
+
# a2aproject/A2A) agent.
|
|
438
|
+
class AgentRemoteA2aAgent
|
|
439
|
+
include Google::Apis::Core::Hashable
|
|
440
|
+
|
|
441
|
+
# Shared configuration for connecting to a remote [A2A](https://github.com/
|
|
442
|
+
# a2aproject/A2A) agent.
|
|
443
|
+
# Corresponds to the JSON property `a2aConfig`
|
|
444
|
+
# @return [Google::Apis::CesV1::RemoteA2aConfig]
|
|
445
|
+
attr_accessor :a2a_config
|
|
446
|
+
|
|
447
|
+
def initialize(**args)
|
|
448
|
+
update!(**args)
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
# Update properties of this object
|
|
452
|
+
def update!(**args)
|
|
453
|
+
@a2a_config = args[:a2a_config] if args.key?(:a2a_config)
|
|
454
|
+
end
|
|
455
|
+
end
|
|
456
|
+
|
|
409
457
|
# The agent which will transfer execution to a remote [Dialogflow CX](https://
|
|
410
458
|
# docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent. The Dialogflow
|
|
411
459
|
# agent will process subsequent user queries until the session ends or flow ends,
|
|
@@ -749,6 +797,12 @@ module Google
|
|
|
749
797
|
# @return [String]
|
|
750
798
|
attr_accessor :create_time
|
|
751
799
|
|
|
800
|
+
# Settings for dashboards associated with the app, that show up in the
|
|
801
|
+
# Monitoring view.
|
|
802
|
+
# Corresponds to the JSON property `dashboardSettings`
|
|
803
|
+
# @return [Google::Apis::CesV1::DashboardSettings]
|
|
804
|
+
attr_accessor :dashboard_settings
|
|
805
|
+
|
|
752
806
|
# Data store related settings for the app.
|
|
753
807
|
# Corresponds to the JSON property `dataStoreSettings`
|
|
754
808
|
# @return [Google::Apis::CesV1::DataStoreSettings]
|
|
@@ -895,6 +949,7 @@ module Google
|
|
|
895
949
|
@audio_processing_config = args[:audio_processing_config] if args.key?(:audio_processing_config)
|
|
896
950
|
@client_certificate_settings = args[:client_certificate_settings] if args.key?(:client_certificate_settings)
|
|
897
951
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
952
|
+
@dashboard_settings = args[:dashboard_settings] if args.key?(:dashboard_settings)
|
|
898
953
|
@data_store_settings = args[:data_store_settings] if args.key?(:data_store_settings)
|
|
899
954
|
@default_channel_profile = args[:default_channel_profile] if args.key?(:default_channel_profile)
|
|
900
955
|
@deployment_count = args[:deployment_count] if args.key?(:deployment_count)
|
|
@@ -1049,6 +1104,11 @@ module Google
|
|
|
1049
1104
|
# @return [Google::Apis::CesV1::AppSnapshot]
|
|
1050
1105
|
attr_accessor :snapshot
|
|
1051
1106
|
|
|
1107
|
+
# Output only. Timestamp when the app version was last updated.
|
|
1108
|
+
# Corresponds to the JSON property `updateTime`
|
|
1109
|
+
# @return [String]
|
|
1110
|
+
attr_accessor :update_time
|
|
1111
|
+
|
|
1052
1112
|
def initialize(**args)
|
|
1053
1113
|
update!(**args)
|
|
1054
1114
|
end
|
|
@@ -1062,6 +1122,7 @@ module Google
|
|
|
1062
1122
|
@etag = args[:etag] if args.key?(:etag)
|
|
1063
1123
|
@name = args[:name] if args.key?(:name)
|
|
1064
1124
|
@snapshot = args[:snapshot] if args.key?(:snapshot)
|
|
1125
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1065
1126
|
end
|
|
1066
1127
|
end
|
|
1067
1128
|
|
|
@@ -1081,6 +1142,11 @@ module Google
|
|
|
1081
1142
|
# @return [Google::Apis::CesV1::BargeInConfig]
|
|
1082
1143
|
attr_accessor :barge_in_config
|
|
1083
1144
|
|
|
1145
|
+
# Optional. Configures custom voice samples for voice cloning.
|
|
1146
|
+
# Corresponds to the JSON property `customVoiceSamples`
|
|
1147
|
+
# @return [Array<Google::Apis::CesV1::CustomVoiceSample>]
|
|
1148
|
+
attr_accessor :custom_voice_samples
|
|
1149
|
+
|
|
1084
1150
|
# Optional. The duration of user inactivity (no speech or interaction) before
|
|
1085
1151
|
# the agent prompts the user for reengagement. If not set, the agent will not
|
|
1086
1152
|
# prompt the user for reengagement.
|
|
@@ -1106,6 +1172,7 @@ module Google
|
|
|
1106
1172
|
def update!(**args)
|
|
1107
1173
|
@ambient_sound_config = args[:ambient_sound_config] if args.key?(:ambient_sound_config)
|
|
1108
1174
|
@barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
|
|
1175
|
+
@custom_voice_samples = args[:custom_voice_samples] if args.key?(:custom_voice_samples)
|
|
1109
1176
|
@inactivity_timeout = args[:inactivity_timeout] if args.key?(:inactivity_timeout)
|
|
1110
1177
|
@synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs)
|
|
1111
1178
|
end
|
|
@@ -1773,6 +1840,11 @@ module Google
|
|
|
1773
1840
|
# @return [Array<Google::Apis::CesV1::CitationsCitedChunk>]
|
|
1774
1841
|
attr_accessor :cited_chunks
|
|
1775
1842
|
|
|
1843
|
+
# Optional. List of inline citations in the agent response.
|
|
1844
|
+
# Corresponds to the JSON property `inlineCitations`
|
|
1845
|
+
# @return [Array<Google::Apis::CesV1::CitationsInlineCitation>]
|
|
1846
|
+
attr_accessor :inline_citations
|
|
1847
|
+
|
|
1776
1848
|
def initialize(**args)
|
|
1777
1849
|
update!(**args)
|
|
1778
1850
|
end
|
|
@@ -1780,6 +1852,7 @@ module Google
|
|
|
1780
1852
|
# Update properties of this object
|
|
1781
1853
|
def update!(**args)
|
|
1782
1854
|
@cited_chunks = args[:cited_chunks] if args.key?(:cited_chunks)
|
|
1855
|
+
@inline_citations = args[:inline_citations] if args.key?(:inline_citations)
|
|
1783
1856
|
end
|
|
1784
1857
|
end
|
|
1785
1858
|
|
|
@@ -1821,6 +1894,38 @@ module Google
|
|
|
1821
1894
|
end
|
|
1822
1895
|
end
|
|
1823
1896
|
|
|
1897
|
+
# An inline citation in the response text.
|
|
1898
|
+
class CitationsInlineCitation
|
|
1899
|
+
include Google::Apis::Core::Hashable
|
|
1900
|
+
|
|
1901
|
+
# The indices of the cited chunks that back this text segment. Indices refer to
|
|
1902
|
+
# the elements in `cited_chunks`.
|
|
1903
|
+
# Corresponds to the JSON property `citedChunkIndices`
|
|
1904
|
+
# @return [Array<Fixnum>]
|
|
1905
|
+
attr_accessor :cited_chunk_indices
|
|
1906
|
+
|
|
1907
|
+
# The ending index (in bytes) of the text segment in the agent response.
|
|
1908
|
+
# Corresponds to the JSON property `endIndex`
|
|
1909
|
+
# @return [Fixnum]
|
|
1910
|
+
attr_accessor :end_index
|
|
1911
|
+
|
|
1912
|
+
# The starting index (in bytes) of the text segment in the agent response.
|
|
1913
|
+
# Corresponds to the JSON property `startIndex`
|
|
1914
|
+
# @return [Fixnum]
|
|
1915
|
+
attr_accessor :start_index
|
|
1916
|
+
|
|
1917
|
+
def initialize(**args)
|
|
1918
|
+
update!(**args)
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
# Update properties of this object
|
|
1922
|
+
def update!(**args)
|
|
1923
|
+
@cited_chunk_indices = args[:cited_chunk_indices] if args.key?(:cited_chunk_indices)
|
|
1924
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
|
1925
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
|
1926
|
+
end
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1824
1929
|
# Settings for custom client certificates.
|
|
1825
1930
|
class ClientCertificateSettings
|
|
1826
1931
|
include Google::Apis::Core::Hashable
|
|
@@ -2187,6 +2292,82 @@ module Google
|
|
|
2187
2292
|
end
|
|
2188
2293
|
end
|
|
2189
2294
|
|
|
2295
|
+
# Configuration for a custom voice sample used for voice cloning.
|
|
2296
|
+
class CustomVoiceSample
|
|
2297
|
+
include Google::Apis::Core::Hashable
|
|
2298
|
+
|
|
2299
|
+
# Optional. Consent audio for voice cloning.
|
|
2300
|
+
# Corresponds to the JSON property `consentAudioGcsUri`
|
|
2301
|
+
# @return [String]
|
|
2302
|
+
attr_accessor :consent_audio_gcs_uri
|
|
2303
|
+
|
|
2304
|
+
# Optional. The user-defined name for the custom voice sample.
|
|
2305
|
+
# Corresponds to the JSON property `name`
|
|
2306
|
+
# @return [String]
|
|
2307
|
+
attr_accessor :name
|
|
2308
|
+
|
|
2309
|
+
# Output only. Synthesized preview audio for custom voice, formatted as
|
|
2310
|
+
# canonical WAV (LINEAR16, 24kHz, 16-bit, mono).
|
|
2311
|
+
# Corresponds to the JSON property `previewAudioContent`
|
|
2312
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2313
|
+
# @return [String]
|
|
2314
|
+
attr_accessor :preview_audio_content
|
|
2315
|
+
|
|
2316
|
+
# Optional. Text for synthesizing preview audio for custom voice.
|
|
2317
|
+
# Corresponds to the JSON property `previewText`
|
|
2318
|
+
# @return [String]
|
|
2319
|
+
attr_accessor :preview_text
|
|
2320
|
+
|
|
2321
|
+
# Optional. Natural language instructions for voice style, tone, pacing, or
|
|
2322
|
+
# pronunciation.
|
|
2323
|
+
# Corresponds to the JSON property `voiceInstruction`
|
|
2324
|
+
# @return [String]
|
|
2325
|
+
attr_accessor :voice_instruction
|
|
2326
|
+
|
|
2327
|
+
# Optional. The Cloud Storage URI to the audio sample for voice cloning. The
|
|
2328
|
+
# audio sample should be a mono-channel, 24kHz WAV file.
|
|
2329
|
+
# Corresponds to the JSON property `voiceSampleGcsUri`
|
|
2330
|
+
# @return [String]
|
|
2331
|
+
attr_accessor :voice_sample_gcs_uri
|
|
2332
|
+
|
|
2333
|
+
def initialize(**args)
|
|
2334
|
+
update!(**args)
|
|
2335
|
+
end
|
|
2336
|
+
|
|
2337
|
+
# Update properties of this object
|
|
2338
|
+
def update!(**args)
|
|
2339
|
+
@consent_audio_gcs_uri = args[:consent_audio_gcs_uri] if args.key?(:consent_audio_gcs_uri)
|
|
2340
|
+
@name = args[:name] if args.key?(:name)
|
|
2341
|
+
@preview_audio_content = args[:preview_audio_content] if args.key?(:preview_audio_content)
|
|
2342
|
+
@preview_text = args[:preview_text] if args.key?(:preview_text)
|
|
2343
|
+
@voice_instruction = args[:voice_instruction] if args.key?(:voice_instruction)
|
|
2344
|
+
@voice_sample_gcs_uri = args[:voice_sample_gcs_uri] if args.key?(:voice_sample_gcs_uri)
|
|
2345
|
+
end
|
|
2346
|
+
end
|
|
2347
|
+
|
|
2348
|
+
# Settings for dashboards associated with the app, that show up in the
|
|
2349
|
+
# Monitoring view.
|
|
2350
|
+
class DashboardSettings
|
|
2351
|
+
include Google::Apis::Core::Hashable
|
|
2352
|
+
|
|
2353
|
+
# Optional. The resource name of the default Contact Center Insights dashboard
|
|
2354
|
+
# associated with the app. This is the dashboard that will be displayed when
|
|
2355
|
+
# users navigate to the Monitoring view for the app. Format: `projects/`project`/
|
|
2356
|
+
# locations/`location`/dashboards/`dashboard``
|
|
2357
|
+
# Corresponds to the JSON property `defaultDashboard`
|
|
2358
|
+
# @return [String]
|
|
2359
|
+
attr_accessor :default_dashboard
|
|
2360
|
+
|
|
2361
|
+
def initialize(**args)
|
|
2362
|
+
update!(**args)
|
|
2363
|
+
end
|
|
2364
|
+
|
|
2365
|
+
# Update properties of this object
|
|
2366
|
+
def update!(**args)
|
|
2367
|
+
@default_dashboard = args[:default_dashboard] if args.key?(:default_dashboard)
|
|
2368
|
+
end
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2190
2371
|
# A DataStore resource in Vertex AI Search.
|
|
2191
2372
|
class DataStore
|
|
2192
2373
|
include Google::Apis::Core::Hashable
|
|
@@ -2721,6 +2902,12 @@ module Google
|
|
|
2721
2902
|
attr_accessor :enable_snippets
|
|
2722
2903
|
alias_method :enable_snippets?, :enable_snippets
|
|
2723
2904
|
|
|
2905
|
+
# Optional. Number of snippets to return per query. If unset, returns all
|
|
2906
|
+
# snippets from the service by default.
|
|
2907
|
+
# Corresponds to the JSON property `maxSnippets`
|
|
2908
|
+
# @return [Fixnum]
|
|
2909
|
+
attr_accessor :max_snippets
|
|
2910
|
+
|
|
2724
2911
|
def initialize(**args)
|
|
2725
2912
|
update!(**args)
|
|
2726
2913
|
end
|
|
@@ -2728,6 +2915,7 @@ module Google
|
|
|
2728
2915
|
# Update properties of this object
|
|
2729
2916
|
def update!(**args)
|
|
2730
2917
|
@enable_snippets = args[:enable_snippets] if args.key?(:enable_snippets)
|
|
2918
|
+
@max_snippets = args[:max_snippets] if args.key?(:max_snippets)
|
|
2731
2919
|
end
|
|
2732
2920
|
end
|
|
2733
2921
|
|
|
@@ -2763,11 +2951,36 @@ module Google
|
|
|
2763
2951
|
end
|
|
2764
2952
|
end
|
|
2765
2953
|
|
|
2954
|
+
# Response message for AgentService.DeployChannel.
|
|
2955
|
+
class DeployChannelResponse
|
|
2956
|
+
include Google::Apis::Core::Hashable
|
|
2957
|
+
|
|
2958
|
+
# A deployment represents an immutable, queryable version of the app. It is used
|
|
2959
|
+
# to deploy an app version with a specific channel profile.
|
|
2960
|
+
# Corresponds to the JSON property `deployment`
|
|
2961
|
+
# @return [Google::Apis::CesV1::Deployment]
|
|
2962
|
+
attr_accessor :deployment
|
|
2963
|
+
|
|
2964
|
+
def initialize(**args)
|
|
2965
|
+
update!(**args)
|
|
2966
|
+
end
|
|
2967
|
+
|
|
2968
|
+
# Update properties of this object
|
|
2969
|
+
def update!(**args)
|
|
2970
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
2971
|
+
end
|
|
2972
|
+
end
|
|
2973
|
+
|
|
2766
2974
|
# A deployment represents an immutable, queryable version of the app. It is used
|
|
2767
2975
|
# to deploy an app version with a specific channel profile.
|
|
2768
2976
|
class Deployment
|
|
2769
2977
|
include Google::Apis::Core::Hashable
|
|
2770
2978
|
|
|
2979
|
+
# Configuration and status for Agent Registry deployment.
|
|
2980
|
+
# Corresponds to the JSON property `agentRegistryDeployment`
|
|
2981
|
+
# @return [Google::Apis::CesV1::AgentRegistryDeployment]
|
|
2982
|
+
attr_accessor :agent_registry_deployment
|
|
2983
|
+
|
|
2771
2984
|
# Optional. The resource name of the app version to deploy. Format: `projects/`
|
|
2772
2985
|
# project`/locations/`location`/apps/`app`/versions/`version`` Use `projects/`
|
|
2773
2986
|
# project`/locations/`location`/apps/`app`/versions/-` to use the draft app.
|
|
@@ -2842,6 +3055,7 @@ module Google
|
|
|
2842
3055
|
|
|
2843
3056
|
# Update properties of this object
|
|
2844
3057
|
def update!(**args)
|
|
3058
|
+
@agent_registry_deployment = args[:agent_registry_deployment] if args.key?(:agent_registry_deployment)
|
|
2845
3059
|
@app_version = args[:app_version] if args.key?(:app_version)
|
|
2846
3060
|
@channel_profile = args[:channel_profile] if args.key?(:channel_profile)
|
|
2847
3061
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
@@ -4151,6 +4365,11 @@ module Google
|
|
|
4151
4365
|
class Image
|
|
4152
4366
|
include Google::Apis::Core::Hashable
|
|
4153
4367
|
|
|
4368
|
+
# Optional. The alternative text for the image.
|
|
4369
|
+
# Corresponds to the JSON property `altText`
|
|
4370
|
+
# @return [String]
|
|
4371
|
+
attr_accessor :alt_text
|
|
4372
|
+
|
|
4154
4373
|
# Required. Raw bytes of the image.
|
|
4155
4374
|
# Corresponds to the JSON property `data`
|
|
4156
4375
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -4169,6 +4388,7 @@ module Google
|
|
|
4169
4388
|
|
|
4170
4389
|
# Update properties of this object
|
|
4171
4390
|
def update!(**args)
|
|
4391
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
|
4172
4392
|
@data = args[:data] if args.key?(:data)
|
|
4173
4393
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
4174
4394
|
end
|
|
@@ -4222,6 +4442,16 @@ module Google
|
|
|
4222
4442
|
# @return [Google::Apis::CesV1::ImportAppRequestImportOptions]
|
|
4223
4443
|
attr_accessor :import_options
|
|
4224
4444
|
|
|
4445
|
+
# Optional. Patch content as a JSON string.
|
|
4446
|
+
# Corresponds to the JSON property `jsonPatchContent`
|
|
4447
|
+
# @return [String]
|
|
4448
|
+
attr_accessor :json_patch_content
|
|
4449
|
+
|
|
4450
|
+
# Optional. A Cloud Storage URI pointing to a JSON file containing the patches.
|
|
4451
|
+
# Corresponds to the JSON property `jsonPatchGcsUri`
|
|
4452
|
+
# @return [String]
|
|
4453
|
+
attr_accessor :json_patch_gcs_uri
|
|
4454
|
+
|
|
4225
4455
|
def initialize(**args)
|
|
4226
4456
|
update!(**args)
|
|
4227
4457
|
end
|
|
@@ -4234,6 +4464,8 @@ module Google
|
|
|
4234
4464
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
4235
4465
|
@ignore_app_lock = args[:ignore_app_lock] if args.key?(:ignore_app_lock)
|
|
4236
4466
|
@import_options = args[:import_options] if args.key?(:import_options)
|
|
4467
|
+
@json_patch_content = args[:json_patch_content] if args.key?(:json_patch_content)
|
|
4468
|
+
@json_patch_gcs_uri = args[:json_patch_gcs_uri] if args.key?(:json_patch_gcs_uri)
|
|
4237
4469
|
end
|
|
4238
4470
|
end
|
|
4239
4471
|
|
|
@@ -5512,6 +5744,51 @@ module Google
|
|
|
5512
5744
|
end
|
|
5513
5745
|
end
|
|
5514
5746
|
|
|
5747
|
+
# A wrapper object used in streaming operations to encapsulate different types
|
|
5748
|
+
# of response data.
|
|
5749
|
+
class LfA2aV1StreamResponse
|
|
5750
|
+
include Google::Apis::Core::Hashable
|
|
5751
|
+
|
|
5752
|
+
# A task delta where an artifact has been generated.
|
|
5753
|
+
# Corresponds to the JSON property `artifactUpdate`
|
|
5754
|
+
# @return [Google::Apis::CesV1::LfA2aV1TaskArtifactUpdateEvent]
|
|
5755
|
+
attr_accessor :artifact_update
|
|
5756
|
+
|
|
5757
|
+
# `Message` is one unit of communication between client and server. It can be
|
|
5758
|
+
# associated with a context and/or a task. For server messages, `context_id`
|
|
5759
|
+
# must be provided, and `task_id` only if a task was created. For client
|
|
5760
|
+
# messages, both fields are optional, with the caveat that if both are provided,
|
|
5761
|
+
# they have to match (the `context_id` has to be the one that is set on the task)
|
|
5762
|
+
# . If only `task_id` is provided, the server will infer `context_id` from it.
|
|
5763
|
+
# Corresponds to the JSON property `message`
|
|
5764
|
+
# @return [Google::Apis::CesV1::LfA2aV1Message]
|
|
5765
|
+
attr_accessor :message
|
|
5766
|
+
|
|
5767
|
+
# An event sent by the agent to notify the client of a change in a task's status.
|
|
5768
|
+
# Corresponds to the JSON property `statusUpdate`
|
|
5769
|
+
# @return [Google::Apis::CesV1::LfA2aV1TaskStatusUpdateEvent]
|
|
5770
|
+
attr_accessor :status_update
|
|
5771
|
+
|
|
5772
|
+
# `Task` is the core unit of action for A2A. It has a current status and when
|
|
5773
|
+
# results are created for the task they are stored in the artifact. If there are
|
|
5774
|
+
# multiple turns for a task, these are stored in history.
|
|
5775
|
+
# Corresponds to the JSON property `task`
|
|
5776
|
+
# @return [Google::Apis::CesV1::LfA2aV1Task]
|
|
5777
|
+
attr_accessor :task
|
|
5778
|
+
|
|
5779
|
+
def initialize(**args)
|
|
5780
|
+
update!(**args)
|
|
5781
|
+
end
|
|
5782
|
+
|
|
5783
|
+
# Update properties of this object
|
|
5784
|
+
def update!(**args)
|
|
5785
|
+
@artifact_update = args[:artifact_update] if args.key?(:artifact_update)
|
|
5786
|
+
@message = args[:message] if args.key?(:message)
|
|
5787
|
+
@status_update = args[:status_update] if args.key?(:status_update)
|
|
5788
|
+
@task = args[:task] if args.key?(:task)
|
|
5789
|
+
end
|
|
5790
|
+
end
|
|
5791
|
+
|
|
5515
5792
|
# protolint:disable REPEATED_FIELD_NAMES_PLURALIZED A list of strings.
|
|
5516
5793
|
class LfA2aV1StringList
|
|
5517
5794
|
include Google::Apis::Core::Hashable
|
|
@@ -5586,6 +5863,58 @@ module Google
|
|
|
5586
5863
|
end
|
|
5587
5864
|
end
|
|
5588
5865
|
|
|
5866
|
+
# A task delta where an artifact has been generated.
|
|
5867
|
+
class LfA2aV1TaskArtifactUpdateEvent
|
|
5868
|
+
include Google::Apis::Core::Hashable
|
|
5869
|
+
|
|
5870
|
+
# If true, the content of this artifact should be appended to a previously sent
|
|
5871
|
+
# artifact with the same ID.
|
|
5872
|
+
# Corresponds to the JSON property `append`
|
|
5873
|
+
# @return [Boolean]
|
|
5874
|
+
attr_accessor :append
|
|
5875
|
+
alias_method :append?, :append
|
|
5876
|
+
|
|
5877
|
+
# Artifacts represent task outputs.
|
|
5878
|
+
# Corresponds to the JSON property `artifact`
|
|
5879
|
+
# @return [Google::Apis::CesV1::LfA2aV1Artifact]
|
|
5880
|
+
attr_accessor :artifact
|
|
5881
|
+
|
|
5882
|
+
# Required. The ID of the context that this task belongs to.
|
|
5883
|
+
# Corresponds to the JSON property `contextId`
|
|
5884
|
+
# @return [String]
|
|
5885
|
+
attr_accessor :context_id
|
|
5886
|
+
|
|
5887
|
+
# If true, this is the final chunk of the artifact.
|
|
5888
|
+
# Corresponds to the JSON property `lastChunk`
|
|
5889
|
+
# @return [Boolean]
|
|
5890
|
+
attr_accessor :last_chunk
|
|
5891
|
+
alias_method :last_chunk?, :last_chunk
|
|
5892
|
+
|
|
5893
|
+
# Optional. Metadata associated with the artifact update.
|
|
5894
|
+
# Corresponds to the JSON property `metadata`
|
|
5895
|
+
# @return [Hash<String,Object>]
|
|
5896
|
+
attr_accessor :metadata
|
|
5897
|
+
|
|
5898
|
+
# Required. The ID of the task for this artifact.
|
|
5899
|
+
# Corresponds to the JSON property `taskId`
|
|
5900
|
+
# @return [String]
|
|
5901
|
+
attr_accessor :task_id
|
|
5902
|
+
|
|
5903
|
+
def initialize(**args)
|
|
5904
|
+
update!(**args)
|
|
5905
|
+
end
|
|
5906
|
+
|
|
5907
|
+
# Update properties of this object
|
|
5908
|
+
def update!(**args)
|
|
5909
|
+
@append = args[:append] if args.key?(:append)
|
|
5910
|
+
@artifact = args[:artifact] if args.key?(:artifact)
|
|
5911
|
+
@context_id = args[:context_id] if args.key?(:context_id)
|
|
5912
|
+
@last_chunk = args[:last_chunk] if args.key?(:last_chunk)
|
|
5913
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
5914
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
|
5915
|
+
end
|
|
5916
|
+
end
|
|
5917
|
+
|
|
5589
5918
|
# A container associating a push notification configuration with a specific task.
|
|
5590
5919
|
class LfA2aV1TaskPushNotificationConfig
|
|
5591
5920
|
include Google::Apis::Core::Hashable
|
|
@@ -5674,6 +6003,43 @@ module Google
|
|
|
5674
6003
|
end
|
|
5675
6004
|
end
|
|
5676
6005
|
|
|
6006
|
+
# An event sent by the agent to notify the client of a change in a task's status.
|
|
6007
|
+
class LfA2aV1TaskStatusUpdateEvent
|
|
6008
|
+
include Google::Apis::Core::Hashable
|
|
6009
|
+
|
|
6010
|
+
# Required. The ID of the context that the task belongs to.
|
|
6011
|
+
# Corresponds to the JSON property `contextId`
|
|
6012
|
+
# @return [String]
|
|
6013
|
+
attr_accessor :context_id
|
|
6014
|
+
|
|
6015
|
+
# Optional. Metadata associated with the task update.
|
|
6016
|
+
# Corresponds to the JSON property `metadata`
|
|
6017
|
+
# @return [Hash<String,Object>]
|
|
6018
|
+
attr_accessor :metadata
|
|
6019
|
+
|
|
6020
|
+
# A container for the status of a task
|
|
6021
|
+
# Corresponds to the JSON property `status`
|
|
6022
|
+
# @return [Google::Apis::CesV1::LfA2aV1TaskStatus]
|
|
6023
|
+
attr_accessor :status
|
|
6024
|
+
|
|
6025
|
+
# Required. The ID of the task that has changed.
|
|
6026
|
+
# Corresponds to the JSON property `taskId`
|
|
6027
|
+
# @return [String]
|
|
6028
|
+
attr_accessor :task_id
|
|
6029
|
+
|
|
6030
|
+
def initialize(**args)
|
|
6031
|
+
update!(**args)
|
|
6032
|
+
end
|
|
6033
|
+
|
|
6034
|
+
# Update properties of this object
|
|
6035
|
+
def update!(**args)
|
|
6036
|
+
@context_id = args[:context_id] if args.key?(:context_id)
|
|
6037
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
6038
|
+
@status = args[:status] if args.key?(:status)
|
|
6039
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
|
6040
|
+
end
|
|
6041
|
+
end
|
|
6042
|
+
|
|
5677
6043
|
# Response message for AgentService.ListAgents.
|
|
5678
6044
|
class ListAgentsResponse
|
|
5679
6045
|
include Google::Apis::Core::Hashable
|
|
@@ -6890,6 +7256,70 @@ module Google
|
|
|
6890
7256
|
end
|
|
6891
7257
|
end
|
|
6892
7258
|
|
|
7259
|
+
# Shared configuration for connecting to a remote [A2A](https://github.com/
|
|
7260
|
+
# a2aproject/A2A) agent.
|
|
7261
|
+
class RemoteA2aConfig
|
|
7262
|
+
include Google::Apis::Core::Hashable
|
|
7263
|
+
|
|
7264
|
+
# AgentCard conveys key information about a remote agent. It is a trimmed
|
|
7265
|
+
# version of the AgentCard defined in the A2A protocol https://a2a-protocol.org/
|
|
7266
|
+
# dev/specification/#441-agentcard
|
|
7267
|
+
# Corresponds to the JSON property `agentCard`
|
|
7268
|
+
# @return [Google::Apis::CesV1::AgentCard]
|
|
7269
|
+
attr_accessor :agent_card
|
|
7270
|
+
|
|
7271
|
+
# Optional. Reference to the agent in the Agent Registry. Format: `projects/`
|
|
7272
|
+
# project`/locations/`location`/agents/`agent``
|
|
7273
|
+
# Corresponds to the JSON property `agentRegistry`
|
|
7274
|
+
# @return [String]
|
|
7275
|
+
attr_accessor :agent_registry
|
|
7276
|
+
|
|
7277
|
+
# Authentication information required for API calls.
|
|
7278
|
+
# Corresponds to the JSON property `apiAuthentication`
|
|
7279
|
+
# @return [Google::Apis::CesV1::ApiAuthentication]
|
|
7280
|
+
attr_accessor :api_authentication
|
|
7281
|
+
|
|
7282
|
+
# Optional. If not empty, interactions with the remote A2A agent will use this
|
|
7283
|
+
# context ID. This context_id field can refer to a session variable like `$
|
|
7284
|
+
# context.variables.order_agent_session_id`.
|
|
7285
|
+
# Corresponds to the JSON property `contextId`
|
|
7286
|
+
# @return [String]
|
|
7287
|
+
attr_accessor :context_id
|
|
7288
|
+
|
|
7289
|
+
# Optional. Mapping of input variable names of remote agent to GECX variable
|
|
7290
|
+
# names.
|
|
7291
|
+
# Corresponds to the JSON property `inputVariableMapping`
|
|
7292
|
+
# @return [Hash<String,String>]
|
|
7293
|
+
attr_accessor :input_variable_mapping
|
|
7294
|
+
|
|
7295
|
+
# Optional. Mapping of output variable names of remote agent to GECX variable
|
|
7296
|
+
# names.
|
|
7297
|
+
# Corresponds to the JSON property `outputVariableMapping`
|
|
7298
|
+
# @return [Hash<String,String>]
|
|
7299
|
+
attr_accessor :output_variable_mapping
|
|
7300
|
+
|
|
7301
|
+
# Optional. Whether streaming is enabled for the remote agent.
|
|
7302
|
+
# Corresponds to the JSON property `streamingEnabled`
|
|
7303
|
+
# @return [Boolean]
|
|
7304
|
+
attr_accessor :streaming_enabled
|
|
7305
|
+
alias_method :streaming_enabled?, :streaming_enabled
|
|
7306
|
+
|
|
7307
|
+
def initialize(**args)
|
|
7308
|
+
update!(**args)
|
|
7309
|
+
end
|
|
7310
|
+
|
|
7311
|
+
# Update properties of this object
|
|
7312
|
+
def update!(**args)
|
|
7313
|
+
@agent_card = args[:agent_card] if args.key?(:agent_card)
|
|
7314
|
+
@agent_registry = args[:agent_registry] if args.key?(:agent_registry)
|
|
7315
|
+
@api_authentication = args[:api_authentication] if args.key?(:api_authentication)
|
|
7316
|
+
@context_id = args[:context_id] if args.key?(:context_id)
|
|
7317
|
+
@input_variable_mapping = args[:input_variable_mapping] if args.key?(:input_variable_mapping)
|
|
7318
|
+
@output_variable_mapping = args[:output_variable_mapping] if args.key?(:output_variable_mapping)
|
|
7319
|
+
@streaming_enabled = args[:streaming_enabled] if args.key?(:streaming_enabled)
|
|
7320
|
+
end
|
|
7321
|
+
end
|
|
7322
|
+
|
|
6893
7323
|
# Represents a tool that allows the agent to call another remote agent.
|
|
6894
7324
|
class RemoteAgentTool
|
|
6895
7325
|
include Google::Apis::Core::Hashable
|
|
@@ -6901,6 +7331,11 @@ module Google
|
|
|
6901
7331
|
# @return [Google::Apis::CesV1::AgentCard]
|
|
6902
7332
|
attr_accessor :agent_card
|
|
6903
7333
|
|
|
7334
|
+
# Authentication information required for API calls.
|
|
7335
|
+
# Corresponds to the JSON property `apiAuthentication`
|
|
7336
|
+
# @return [Google::Apis::CesV1::ApiAuthentication]
|
|
7337
|
+
attr_accessor :api_authentication
|
|
7338
|
+
|
|
6904
7339
|
# Required. The description of the tool.
|
|
6905
7340
|
# Corresponds to the JSON property `description`
|
|
6906
7341
|
# @return [String]
|
|
@@ -6918,6 +7353,7 @@ module Google
|
|
|
6918
7353
|
# Update properties of this object
|
|
6919
7354
|
def update!(**args)
|
|
6920
7355
|
@agent_card = args[:agent_card] if args.key?(:agent_card)
|
|
7356
|
+
@api_authentication = args[:api_authentication] if args.key?(:api_authentication)
|
|
6921
7357
|
@description = args[:description] if args.key?(:description)
|
|
6922
7358
|
@name = args[:name] if args.key?(:name)
|
|
6923
7359
|
end
|
|
@@ -7594,11 +8030,21 @@ module Google
|
|
|
7594
8030
|
# @return [Google::Apis::CesV1::GoogleSearchSuggestions]
|
|
7595
8031
|
attr_accessor :google_search_suggestions
|
|
7596
8032
|
|
|
8033
|
+
# Represents an image input or output in the conversation.
|
|
8034
|
+
# Corresponds to the JSON property `image`
|
|
8035
|
+
# @return [Google::Apis::CesV1::Image]
|
|
8036
|
+
attr_accessor :image
|
|
8037
|
+
|
|
7597
8038
|
# Custom payload with structured output from the CES agent.
|
|
7598
8039
|
# Corresponds to the JSON property `payload`
|
|
7599
8040
|
# @return [Hash<String,Object>]
|
|
7600
8041
|
attr_accessor :payload
|
|
7601
8042
|
|
|
8043
|
+
# Intermediate progress update from the CES agent.
|
|
8044
|
+
# Corresponds to the JSON property `progress`
|
|
8045
|
+
# @return [String]
|
|
8046
|
+
attr_accessor :progress
|
|
8047
|
+
|
|
7602
8048
|
# Output text from the CES agent.
|
|
7603
8049
|
# Corresponds to the JSON property `text`
|
|
7604
8050
|
# @return [String]
|
|
@@ -7635,7 +8081,9 @@ module Google
|
|
|
7635
8081
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
|
7636
8082
|
@end_session = args[:end_session] if args.key?(:end_session)
|
|
7637
8083
|
@google_search_suggestions = args[:google_search_suggestions] if args.key?(:google_search_suggestions)
|
|
8084
|
+
@image = args[:image] if args.key?(:image)
|
|
7638
8085
|
@payload = args[:payload] if args.key?(:payload)
|
|
8086
|
+
@progress = args[:progress] if args.key?(:progress)
|
|
7639
8087
|
@text = args[:text] if args.key?(:text)
|
|
7640
8088
|
@tool_calls = args[:tool_calls] if args.key?(:tool_calls)
|
|
7641
8089
|
@turn_completed = args[:turn_completed] if args.key?(:turn_completed)
|
|
@@ -8085,6 +8533,12 @@ module Google
|
|
|
8085
8533
|
class ToolCall
|
|
8086
8534
|
include Google::Apis::Core::Hashable
|
|
8087
8535
|
|
|
8536
|
+
# Output only. Human-readable name of the agent that issued this call, e.g. "
|
|
8537
|
+
# Contract Architect". Empty when the root agent issued it.
|
|
8538
|
+
# Corresponds to the JSON property `agentName`
|
|
8539
|
+
# @return [String]
|
|
8540
|
+
attr_accessor :agent_name
|
|
8541
|
+
|
|
8088
8542
|
# Optional. The input parameters and values for the tool in JSON object format.
|
|
8089
8543
|
# Corresponds to the JSON property `args`
|
|
8090
8544
|
# @return [Hash<String,Object>]
|
|
@@ -8101,6 +8555,14 @@ module Google
|
|
|
8101
8555
|
# @return [String]
|
|
8102
8556
|
attr_accessor :id
|
|
8103
8557
|
|
|
8558
|
+
# Output only. The id of the tool call that caused this one, when it was issued
|
|
8559
|
+
# by a sub-agent working on behalf of a parent call. Empty for top-level calls.
|
|
8560
|
+
# Lets a client group a sub-agent's work under the call that started it instead
|
|
8561
|
+
# of rendering every step as a sibling.
|
|
8562
|
+
# Corresponds to the JSON property `parentToolCallId`
|
|
8563
|
+
# @return [String]
|
|
8564
|
+
attr_accessor :parent_tool_call_id
|
|
8565
|
+
|
|
8104
8566
|
# Optional. The name of the tool to execute. Format: `projects/`project`/
|
|
8105
8567
|
# locations/`location`/apps/`app`/tools/`tool``
|
|
8106
8568
|
# Corresponds to the JSON property `tool`
|
|
@@ -8118,9 +8580,11 @@ module Google
|
|
|
8118
8580
|
|
|
8119
8581
|
# Update properties of this object
|
|
8120
8582
|
def update!(**args)
|
|
8583
|
+
@agent_name = args[:agent_name] if args.key?(:agent_name)
|
|
8121
8584
|
@args = args[:args] if args.key?(:args)
|
|
8122
8585
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
8123
8586
|
@id = args[:id] if args.key?(:id)
|
|
8587
|
+
@parent_tool_call_id = args[:parent_tool_call_id] if args.key?(:parent_tool_call_id)
|
|
8124
8588
|
@tool = args[:tool] if args.key?(:tool)
|
|
8125
8589
|
@toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
|
|
8126
8590
|
end
|
|
@@ -8176,6 +8640,12 @@ module Google
|
|
|
8176
8640
|
class ToolResponse
|
|
8177
8641
|
include Google::Apis::Core::Hashable
|
|
8178
8642
|
|
|
8643
|
+
# Output only. Human-readable name of the agent that issued this call, e.g. "
|
|
8644
|
+
# Contract Architect". Empty when the root agent issued it.
|
|
8645
|
+
# Corresponds to the JSON property `agentName`
|
|
8646
|
+
# @return [String]
|
|
8647
|
+
attr_accessor :agent_name
|
|
8648
|
+
|
|
8179
8649
|
# Output only. Display name of the tool.
|
|
8180
8650
|
# Corresponds to the JSON property `displayName`
|
|
8181
8651
|
# @return [String]
|
|
@@ -8186,6 +8656,14 @@ module Google
|
|
|
8186
8656
|
# @return [String]
|
|
8187
8657
|
attr_accessor :id
|
|
8188
8658
|
|
|
8659
|
+
# Output only. The id of the tool call that caused this one, when it was issued
|
|
8660
|
+
# by a sub-agent working on behalf of a parent call. Empty for top-level calls.
|
|
8661
|
+
# Lets a client group a sub-agent's work under the call that started it instead
|
|
8662
|
+
# of rendering every step as a sibling.
|
|
8663
|
+
# Corresponds to the JSON property `parentToolCallId`
|
|
8664
|
+
# @return [String]
|
|
8665
|
+
attr_accessor :parent_tool_call_id
|
|
8666
|
+
|
|
8189
8667
|
# Required. The tool execution result in JSON object format. Use "output" key to
|
|
8190
8668
|
# specify tool response and "error" key to specify error details (if any). If "
|
|
8191
8669
|
# output" and "error" keys are not specified, then whole "response" is treated
|
|
@@ -8211,8 +8689,10 @@ module Google
|
|
|
8211
8689
|
|
|
8212
8690
|
# Update properties of this object
|
|
8213
8691
|
def update!(**args)
|
|
8692
|
+
@agent_name = args[:agent_name] if args.key?(:agent_name)
|
|
8214
8693
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
8215
8694
|
@id = args[:id] if args.key?(:id)
|
|
8695
|
+
@parent_tool_call_id = args[:parent_tool_call_id] if args.key?(:parent_tool_call_id)
|
|
8216
8696
|
@response = args[:response] if args.key?(:response)
|
|
8217
8697
|
@tool = args[:tool] if args.key?(:tool)
|
|
8218
8698
|
@toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CesV1
|
|
18
18
|
# Version of the google-apis-ces_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.14.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 = "20260903"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -64,6 +64,18 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
class AgentRegistryDeployment
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class AgentRemoteA2aAgent
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
67
79
|
class AgentRemoteDialogflowAgent
|
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
81
|
|
|
@@ -244,6 +256,12 @@ module Google
|
|
|
244
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
257
|
end
|
|
246
258
|
|
|
259
|
+
class CitationsInlineCitation
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
247
265
|
class ClientCertificateSettings
|
|
248
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
267
|
|
|
@@ -298,6 +316,18 @@ module Google
|
|
|
298
316
|
include Google::Apis::Core::JsonObjectSupport
|
|
299
317
|
end
|
|
300
318
|
|
|
319
|
+
class CustomVoiceSample
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class DashboardSettings
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
301
331
|
class DataStore
|
|
302
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
333
|
|
|
@@ -400,6 +430,12 @@ module Google
|
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
401
431
|
end
|
|
402
432
|
|
|
433
|
+
class DeployChannelResponse
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
403
439
|
class Deployment
|
|
404
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
441
|
|
|
@@ -838,6 +874,12 @@ module Google
|
|
|
838
874
|
include Google::Apis::Core::JsonObjectSupport
|
|
839
875
|
end
|
|
840
876
|
|
|
877
|
+
class LfA2aV1StreamResponse
|
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
879
|
+
|
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
881
|
+
end
|
|
882
|
+
|
|
841
883
|
class LfA2aV1StringList
|
|
842
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
843
885
|
|
|
@@ -850,6 +892,12 @@ module Google
|
|
|
850
892
|
include Google::Apis::Core::JsonObjectSupport
|
|
851
893
|
end
|
|
852
894
|
|
|
895
|
+
class LfA2aV1TaskArtifactUpdateEvent
|
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
|
+
|
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
899
|
+
end
|
|
900
|
+
|
|
853
901
|
class LfA2aV1TaskPushNotificationConfig
|
|
854
902
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
855
903
|
|
|
@@ -862,6 +910,12 @@ module Google
|
|
|
862
910
|
include Google::Apis::Core::JsonObjectSupport
|
|
863
911
|
end
|
|
864
912
|
|
|
913
|
+
class LfA2aV1TaskStatusUpdateEvent
|
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
915
|
+
|
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
917
|
+
end
|
|
918
|
+
|
|
865
919
|
class ListAgentsResponse
|
|
866
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
921
|
|
|
@@ -1054,6 +1108,12 @@ module Google
|
|
|
1054
1108
|
include Google::Apis::Core::JsonObjectSupport
|
|
1055
1109
|
end
|
|
1056
1110
|
|
|
1111
|
+
class RemoteA2aConfig
|
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1113
|
+
|
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1057
1117
|
class RemoteAgentTool
|
|
1058
1118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1059
1119
|
|
|
@@ -1383,6 +1443,8 @@ module Google
|
|
|
1383
1443
|
property :model_settings, as: 'modelSettings', class: Google::Apis::CesV1::ModelSettings, decorator: Google::Apis::CesV1::ModelSettings::Representation
|
|
1384
1444
|
|
|
1385
1445
|
property :name, as: 'name'
|
|
1446
|
+
property :remote_a2a_agent, as: 'remoteA2aAgent', class: Google::Apis::CesV1::AgentRemoteA2aAgent, decorator: Google::Apis::CesV1::AgentRemoteA2aAgent::Representation
|
|
1447
|
+
|
|
1386
1448
|
property :remote_dialogflow_agent, as: 'remoteDialogflowAgent', class: Google::Apis::CesV1::AgentRemoteDialogflowAgent, decorator: Google::Apis::CesV1::AgentRemoteDialogflowAgent::Representation
|
|
1387
1449
|
|
|
1388
1450
|
collection :tools, as: 'tools'
|
|
@@ -1432,6 +1494,21 @@ module Google
|
|
|
1432
1494
|
end
|
|
1433
1495
|
end
|
|
1434
1496
|
|
|
1497
|
+
class AgentRegistryDeployment
|
|
1498
|
+
# @private
|
|
1499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1500
|
+
property :agent_registry_service_name, as: 'agentRegistryServiceName'
|
|
1501
|
+
end
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
class AgentRemoteA2aAgent
|
|
1505
|
+
# @private
|
|
1506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1507
|
+
property :a2a_config, as: 'a2aConfig', class: Google::Apis::CesV1::RemoteA2aConfig, decorator: Google::Apis::CesV1::RemoteA2aConfig::Representation
|
|
1508
|
+
|
|
1509
|
+
end
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1435
1512
|
class AgentRemoteDialogflowAgent
|
|
1436
1513
|
# @private
|
|
1437
1514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1518,6 +1595,8 @@ module Google
|
|
|
1518
1595
|
property :client_certificate_settings, as: 'clientCertificateSettings', class: Google::Apis::CesV1::ClientCertificateSettings, decorator: Google::Apis::CesV1::ClientCertificateSettings::Representation
|
|
1519
1596
|
|
|
1520
1597
|
property :create_time, as: 'createTime'
|
|
1598
|
+
property :dashboard_settings, as: 'dashboardSettings', class: Google::Apis::CesV1::DashboardSettings, decorator: Google::Apis::CesV1::DashboardSettings::Representation
|
|
1599
|
+
|
|
1521
1600
|
property :data_store_settings, as: 'dataStoreSettings', class: Google::Apis::CesV1::DataStoreSettings, decorator: Google::Apis::CesV1::DataStoreSettings::Representation
|
|
1522
1601
|
|
|
1523
1602
|
property :default_channel_profile, as: 'defaultChannelProfile', class: Google::Apis::CesV1::ChannelProfile, decorator: Google::Apis::CesV1::ChannelProfile::Representation
|
|
@@ -1596,6 +1675,7 @@ module Google
|
|
|
1596
1675
|
property :name, as: 'name'
|
|
1597
1676
|
property :snapshot, as: 'snapshot', class: Google::Apis::CesV1::AppSnapshot, decorator: Google::Apis::CesV1::AppSnapshot::Representation
|
|
1598
1677
|
|
|
1678
|
+
property :update_time, as: 'updateTime'
|
|
1599
1679
|
end
|
|
1600
1680
|
end
|
|
1601
1681
|
|
|
@@ -1606,6 +1686,8 @@ module Google
|
|
|
1606
1686
|
|
|
1607
1687
|
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::CesV1::BargeInConfig, decorator: Google::Apis::CesV1::BargeInConfig::Representation
|
|
1608
1688
|
|
|
1689
|
+
collection :custom_voice_samples, as: 'customVoiceSamples', class: Google::Apis::CesV1::CustomVoiceSample, decorator: Google::Apis::CesV1::CustomVoiceSample::Representation
|
|
1690
|
+
|
|
1609
1691
|
property :inactivity_timeout, as: 'inactivityTimeout'
|
|
1610
1692
|
hash :synthesize_speech_configs, as: 'synthesizeSpeechConfigs', class: Google::Apis::CesV1::SynthesizeSpeechConfig, decorator: Google::Apis::CesV1::SynthesizeSpeechConfig::Representation
|
|
1611
1693
|
|
|
@@ -1788,6 +1870,8 @@ module Google
|
|
|
1788
1870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1789
1871
|
collection :cited_chunks, as: 'citedChunks', class: Google::Apis::CesV1::CitationsCitedChunk, decorator: Google::Apis::CesV1::CitationsCitedChunk::Representation
|
|
1790
1872
|
|
|
1873
|
+
collection :inline_citations, as: 'inlineCitations', class: Google::Apis::CesV1::CitationsInlineCitation, decorator: Google::Apis::CesV1::CitationsInlineCitation::Representation
|
|
1874
|
+
|
|
1791
1875
|
end
|
|
1792
1876
|
end
|
|
1793
1877
|
|
|
@@ -1801,6 +1885,15 @@ module Google
|
|
|
1801
1885
|
end
|
|
1802
1886
|
end
|
|
1803
1887
|
|
|
1888
|
+
class CitationsInlineCitation
|
|
1889
|
+
# @private
|
|
1890
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1891
|
+
collection :cited_chunk_indices, as: 'citedChunkIndices'
|
|
1892
|
+
property :end_index, as: 'endIndex'
|
|
1893
|
+
property :start_index, as: 'startIndex'
|
|
1894
|
+
end
|
|
1895
|
+
end
|
|
1896
|
+
|
|
1804
1897
|
class ClientCertificateSettings
|
|
1805
1898
|
# @private
|
|
1806
1899
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1900,6 +1993,25 @@ module Google
|
|
|
1900
1993
|
end
|
|
1901
1994
|
end
|
|
1902
1995
|
|
|
1996
|
+
class CustomVoiceSample
|
|
1997
|
+
# @private
|
|
1998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1999
|
+
property :consent_audio_gcs_uri, as: 'consentAudioGcsUri'
|
|
2000
|
+
property :name, as: 'name'
|
|
2001
|
+
property :preview_audio_content, :base64 => true, as: 'previewAudioContent'
|
|
2002
|
+
property :preview_text, as: 'previewText'
|
|
2003
|
+
property :voice_instruction, as: 'voiceInstruction'
|
|
2004
|
+
property :voice_sample_gcs_uri, as: 'voiceSampleGcsUri'
|
|
2005
|
+
end
|
|
2006
|
+
end
|
|
2007
|
+
|
|
2008
|
+
class DashboardSettings
|
|
2009
|
+
# @private
|
|
2010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2011
|
+
property :default_dashboard, as: 'defaultDashboard'
|
|
2012
|
+
end
|
|
2013
|
+
end
|
|
2014
|
+
|
|
1903
2015
|
class DataStore
|
|
1904
2016
|
# @private
|
|
1905
2017
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2057,6 +2169,7 @@ module Google
|
|
|
2057
2169
|
# @private
|
|
2058
2170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2059
2171
|
property :enable_snippets, as: 'enableSnippets'
|
|
2172
|
+
property :max_snippets, as: 'maxSnippets'
|
|
2060
2173
|
end
|
|
2061
2174
|
end
|
|
2062
2175
|
|
|
@@ -2070,9 +2183,19 @@ module Google
|
|
|
2070
2183
|
end
|
|
2071
2184
|
end
|
|
2072
2185
|
|
|
2186
|
+
class DeployChannelResponse
|
|
2187
|
+
# @private
|
|
2188
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2189
|
+
property :deployment, as: 'deployment', class: Google::Apis::CesV1::Deployment, decorator: Google::Apis::CesV1::Deployment::Representation
|
|
2190
|
+
|
|
2191
|
+
end
|
|
2192
|
+
end
|
|
2193
|
+
|
|
2073
2194
|
class Deployment
|
|
2074
2195
|
# @private
|
|
2075
2196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2197
|
+
property :agent_registry_deployment, as: 'agentRegistryDeployment', class: Google::Apis::CesV1::AgentRegistryDeployment, decorator: Google::Apis::CesV1::AgentRegistryDeployment::Representation
|
|
2198
|
+
|
|
2076
2199
|
property :app_version, as: 'appVersion'
|
|
2077
2200
|
property :channel_profile, as: 'channelProfile', class: Google::Apis::CesV1::ChannelProfile, decorator: Google::Apis::CesV1::ChannelProfile::Representation
|
|
2078
2201
|
|
|
@@ -2471,6 +2594,7 @@ module Google
|
|
|
2471
2594
|
class Image
|
|
2472
2595
|
# @private
|
|
2473
2596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2597
|
+
property :alt_text, as: 'altText'
|
|
2474
2598
|
property :data, :base64 => true, as: 'data'
|
|
2475
2599
|
property :mime_type, as: 'mimeType'
|
|
2476
2600
|
end
|
|
@@ -2486,6 +2610,8 @@ module Google
|
|
|
2486
2610
|
property :ignore_app_lock, as: 'ignoreAppLock'
|
|
2487
2611
|
property :import_options, as: 'importOptions', class: Google::Apis::CesV1::ImportAppRequestImportOptions, decorator: Google::Apis::CesV1::ImportAppRequestImportOptions::Representation
|
|
2488
2612
|
|
|
2613
|
+
property :json_patch_content, as: 'jsonPatchContent'
|
|
2614
|
+
property :json_patch_gcs_uri, as: 'jsonPatchGcsUri'
|
|
2489
2615
|
end
|
|
2490
2616
|
end
|
|
2491
2617
|
|
|
@@ -2834,6 +2960,20 @@ module Google
|
|
|
2834
2960
|
end
|
|
2835
2961
|
end
|
|
2836
2962
|
|
|
2963
|
+
class LfA2aV1StreamResponse
|
|
2964
|
+
# @private
|
|
2965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2966
|
+
property :artifact_update, as: 'artifactUpdate', class: Google::Apis::CesV1::LfA2aV1TaskArtifactUpdateEvent, decorator: Google::Apis::CesV1::LfA2aV1TaskArtifactUpdateEvent::Representation
|
|
2967
|
+
|
|
2968
|
+
property :message, as: 'message', class: Google::Apis::CesV1::LfA2aV1Message, decorator: Google::Apis::CesV1::LfA2aV1Message::Representation
|
|
2969
|
+
|
|
2970
|
+
property :status_update, as: 'statusUpdate', class: Google::Apis::CesV1::LfA2aV1TaskStatusUpdateEvent, decorator: Google::Apis::CesV1::LfA2aV1TaskStatusUpdateEvent::Representation
|
|
2971
|
+
|
|
2972
|
+
property :task, as: 'task', class: Google::Apis::CesV1::LfA2aV1Task, decorator: Google::Apis::CesV1::LfA2aV1Task::Representation
|
|
2973
|
+
|
|
2974
|
+
end
|
|
2975
|
+
end
|
|
2976
|
+
|
|
2837
2977
|
class LfA2aV1StringList
|
|
2838
2978
|
# @private
|
|
2839
2979
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2856,6 +2996,19 @@ module Google
|
|
|
2856
2996
|
end
|
|
2857
2997
|
end
|
|
2858
2998
|
|
|
2999
|
+
class LfA2aV1TaskArtifactUpdateEvent
|
|
3000
|
+
# @private
|
|
3001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3002
|
+
property :append, as: 'append'
|
|
3003
|
+
property :artifact, as: 'artifact', class: Google::Apis::CesV1::LfA2aV1Artifact, decorator: Google::Apis::CesV1::LfA2aV1Artifact::Representation
|
|
3004
|
+
|
|
3005
|
+
property :context_id, as: 'contextId'
|
|
3006
|
+
property :last_chunk, as: 'lastChunk'
|
|
3007
|
+
hash :metadata, as: 'metadata'
|
|
3008
|
+
property :task_id, as: 'taskId'
|
|
3009
|
+
end
|
|
3010
|
+
end
|
|
3011
|
+
|
|
2859
3012
|
class LfA2aV1TaskPushNotificationConfig
|
|
2860
3013
|
# @private
|
|
2861
3014
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2879,6 +3032,17 @@ module Google
|
|
|
2879
3032
|
end
|
|
2880
3033
|
end
|
|
2881
3034
|
|
|
3035
|
+
class LfA2aV1TaskStatusUpdateEvent
|
|
3036
|
+
# @private
|
|
3037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3038
|
+
property :context_id, as: 'contextId'
|
|
3039
|
+
hash :metadata, as: 'metadata'
|
|
3040
|
+
property :status, as: 'status', class: Google::Apis::CesV1::LfA2aV1TaskStatus, decorator: Google::Apis::CesV1::LfA2aV1TaskStatus::Representation
|
|
3041
|
+
|
|
3042
|
+
property :task_id, as: 'taskId'
|
|
3043
|
+
end
|
|
3044
|
+
end
|
|
3045
|
+
|
|
2882
3046
|
class ListAgentsResponse
|
|
2883
3047
|
# @private
|
|
2884
3048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3230,11 +3394,28 @@ module Google
|
|
|
3230
3394
|
end
|
|
3231
3395
|
end
|
|
3232
3396
|
|
|
3397
|
+
class RemoteA2aConfig
|
|
3398
|
+
# @private
|
|
3399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3400
|
+
property :agent_card, as: 'agentCard', class: Google::Apis::CesV1::AgentCard, decorator: Google::Apis::CesV1::AgentCard::Representation
|
|
3401
|
+
|
|
3402
|
+
property :agent_registry, as: 'agentRegistry'
|
|
3403
|
+
property :api_authentication, as: 'apiAuthentication', class: Google::Apis::CesV1::ApiAuthentication, decorator: Google::Apis::CesV1::ApiAuthentication::Representation
|
|
3404
|
+
|
|
3405
|
+
property :context_id, as: 'contextId'
|
|
3406
|
+
hash :input_variable_mapping, as: 'inputVariableMapping'
|
|
3407
|
+
hash :output_variable_mapping, as: 'outputVariableMapping'
|
|
3408
|
+
property :streaming_enabled, as: 'streamingEnabled'
|
|
3409
|
+
end
|
|
3410
|
+
end
|
|
3411
|
+
|
|
3233
3412
|
class RemoteAgentTool
|
|
3234
3413
|
# @private
|
|
3235
3414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3236
3415
|
property :agent_card, as: 'agentCard', class: Google::Apis::CesV1::AgentCard, decorator: Google::Apis::CesV1::AgentCard::Representation
|
|
3237
3416
|
|
|
3417
|
+
property :api_authentication, as: 'apiAuthentication', class: Google::Apis::CesV1::ApiAuthentication, decorator: Google::Apis::CesV1::ApiAuthentication::Representation
|
|
3418
|
+
|
|
3238
3419
|
property :description, as: 'description'
|
|
3239
3420
|
property :name, as: 'name'
|
|
3240
3421
|
end
|
|
@@ -3427,7 +3608,10 @@ module Google
|
|
|
3427
3608
|
|
|
3428
3609
|
property :google_search_suggestions, as: 'googleSearchSuggestions', class: Google::Apis::CesV1::GoogleSearchSuggestions, decorator: Google::Apis::CesV1::GoogleSearchSuggestions::Representation
|
|
3429
3610
|
|
|
3611
|
+
property :image, as: 'image', class: Google::Apis::CesV1::Image, decorator: Google::Apis::CesV1::Image::Representation
|
|
3612
|
+
|
|
3430
3613
|
hash :payload, as: 'payload'
|
|
3614
|
+
property :progress, as: 'progress'
|
|
3431
3615
|
property :text, as: 'text'
|
|
3432
3616
|
property :tool_calls, as: 'toolCalls', class: Google::Apis::CesV1::ToolCalls, decorator: Google::Apis::CesV1::ToolCalls::Representation
|
|
3433
3617
|
|
|
@@ -3554,9 +3738,11 @@ module Google
|
|
|
3554
3738
|
class ToolCall
|
|
3555
3739
|
# @private
|
|
3556
3740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3741
|
+
property :agent_name, as: 'agentName'
|
|
3557
3742
|
hash :args, as: 'args'
|
|
3558
3743
|
property :display_name, as: 'displayName'
|
|
3559
3744
|
property :id, as: 'id'
|
|
3745
|
+
property :parent_tool_call_id, as: 'parentToolCallId'
|
|
3560
3746
|
property :tool, as: 'tool'
|
|
3561
3747
|
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
|
|
3562
3748
|
|
|
@@ -3583,8 +3769,10 @@ module Google
|
|
|
3583
3769
|
class ToolResponse
|
|
3584
3770
|
# @private
|
|
3585
3771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3772
|
+
property :agent_name, as: 'agentName'
|
|
3586
3773
|
property :display_name, as: 'displayName'
|
|
3587
3774
|
property :id, as: 'id'
|
|
3775
|
+
property :parent_tool_call_id, as: 'parentToolCallId'
|
|
3588
3776
|
hash :response, as: 'response'
|
|
3589
3777
|
property :tool, as: 'tool'
|
|
3590
3778
|
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
|
|
@@ -1174,6 +1174,41 @@ module Google
|
|
|
1174
1174
|
execute_or_queue_command(command, &block)
|
|
1175
1175
|
end
|
|
1176
1176
|
|
|
1177
|
+
# Sends a streaming message to an agent, allowing for real-time interaction and
|
|
1178
|
+
# status updates. Streaming version of `SendMessage`
|
|
1179
|
+
# @param [String] tenant
|
|
1180
|
+
# Optional. Opaque routing identifier. Must match the `tenant` value from the
|
|
1181
|
+
# selected `AgentInterface` in the Agent Card when that field is set.
|
|
1182
|
+
# @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
|
|
1183
|
+
# @param [String] fields
|
|
1184
|
+
# Selector specifying which fields to include in a partial response.
|
|
1185
|
+
# @param [String] quota_user
|
|
1186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1188
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1189
|
+
# Request-specific options
|
|
1190
|
+
#
|
|
1191
|
+
# @yield [result, err] Result & error if block supplied
|
|
1192
|
+
# @yieldparam result [Google::Apis::CesV1::LfA2aV1StreamResponse] parsed result object
|
|
1193
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1194
|
+
#
|
|
1195
|
+
# @return [Google::Apis::CesV1::LfA2aV1StreamResponse]
|
|
1196
|
+
#
|
|
1197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1200
|
+
def stream_project_location_app_deployment_message(tenant, lf_a2a_v1_send_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1201
|
+
command = make_simple_command(:post, 'v1/{+tenant}/message:stream', options)
|
|
1202
|
+
command.request_representation = Google::Apis::CesV1::LfA2aV1SendMessageRequest::Representation
|
|
1203
|
+
command.request_object = lf_a2a_v1_send_message_request_object
|
|
1204
|
+
command.response_representation = Google::Apis::CesV1::LfA2aV1StreamResponse::Representation
|
|
1205
|
+
command.response_class = Google::Apis::CesV1::LfA2aV1StreamResponse
|
|
1206
|
+
command.params['tenant'] = tenant unless tenant.nil?
|
|
1207
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1209
|
+
execute_or_queue_command(command, &block)
|
|
1210
|
+
end
|
|
1211
|
+
|
|
1177
1212
|
# Creates a new example in the given app.
|
|
1178
1213
|
# @param [String] parent
|
|
1179
1214
|
# Required. The resource name of the app to create an example in.
|
|
@@ -1591,6 +1626,41 @@ module Google
|
|
|
1591
1626
|
execute_or_queue_command(command, &block)
|
|
1592
1627
|
end
|
|
1593
1628
|
|
|
1629
|
+
# Sends a streaming message to an agent, allowing for real-time interaction and
|
|
1630
|
+
# status updates. Streaming version of `SendMessage`
|
|
1631
|
+
# @param [String] tenant
|
|
1632
|
+
# Optional. Opaque routing identifier. Must match the `tenant` value from the
|
|
1633
|
+
# selected `AgentInterface` in the Agent Card when that field is set.
|
|
1634
|
+
# @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
|
|
1635
|
+
# @param [String] fields
|
|
1636
|
+
# Selector specifying which fields to include in a partial response.
|
|
1637
|
+
# @param [String] quota_user
|
|
1638
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1639
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1640
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1641
|
+
# Request-specific options
|
|
1642
|
+
#
|
|
1643
|
+
# @yield [result, err] Result & error if block supplied
|
|
1644
|
+
# @yieldparam result [Google::Apis::CesV1::LfA2aV1StreamResponse] parsed result object
|
|
1645
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1646
|
+
#
|
|
1647
|
+
# @return [Google::Apis::CesV1::LfA2aV1StreamResponse]
|
|
1648
|
+
#
|
|
1649
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1650
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1651
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1652
|
+
def stream_project_location_app_message(tenant, lf_a2a_v1_send_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1653
|
+
command = make_simple_command(:post, 'v1/{+tenant}/message:stream', options)
|
|
1654
|
+
command.request_representation = Google::Apis::CesV1::LfA2aV1SendMessageRequest::Representation
|
|
1655
|
+
command.request_object = lf_a2a_v1_send_message_request_object
|
|
1656
|
+
command.response_representation = Google::Apis::CesV1::LfA2aV1StreamResponse::Representation
|
|
1657
|
+
command.response_class = Google::Apis::CesV1::LfA2aV1StreamResponse
|
|
1658
|
+
command.params['tenant'] = tenant unless tenant.nil?
|
|
1659
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1660
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1661
|
+
execute_or_queue_command(command, &block)
|
|
1662
|
+
end
|
|
1663
|
+
|
|
1594
1664
|
# Generates a session scoped token for chat widget to authenticate with Session
|
|
1595
1665
|
# APIs.
|
|
1596
1666
|
# @param [String] name
|
|
@@ -2306,6 +2376,44 @@ module Google
|
|
|
2306
2376
|
execute_or_queue_command(command, &block)
|
|
2307
2377
|
end
|
|
2308
2378
|
|
|
2379
|
+
# Updates the specified app version.
|
|
2380
|
+
# @param [String] name
|
|
2381
|
+
# Identifier. The unique identifier of the app version. Format: `projects/`
|
|
2382
|
+
# project`/locations/`location`/apps/`app`/versions/`version``
|
|
2383
|
+
# @param [Google::Apis::CesV1::AppVersion] app_version_object
|
|
2384
|
+
# @param [String] update_mask
|
|
2385
|
+
# Optional. The list of fields to update. If empty, fields `display_name` and `
|
|
2386
|
+
# description` will be updated.
|
|
2387
|
+
# @param [String] fields
|
|
2388
|
+
# Selector specifying which fields to include in a partial response.
|
|
2389
|
+
# @param [String] quota_user
|
|
2390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2392
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2393
|
+
# Request-specific options
|
|
2394
|
+
#
|
|
2395
|
+
# @yield [result, err] Result & error if block supplied
|
|
2396
|
+
# @yieldparam result [Google::Apis::CesV1::AppVersion] parsed result object
|
|
2397
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2398
|
+
#
|
|
2399
|
+
# @return [Google::Apis::CesV1::AppVersion]
|
|
2400
|
+
#
|
|
2401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2404
|
+
def patch_project_location_app_version(name, app_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2405
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2406
|
+
command.request_representation = Google::Apis::CesV1::AppVersion::Representation
|
|
2407
|
+
command.request_object = app_version_object
|
|
2408
|
+
command.response_representation = Google::Apis::CesV1::AppVersion::Representation
|
|
2409
|
+
command.response_class = Google::Apis::CesV1::AppVersion
|
|
2410
|
+
command.params['name'] = name unless name.nil?
|
|
2411
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2412
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2413
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2414
|
+
execute_or_queue_command(command, &block)
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2309
2417
|
# Restores the specified app version. This will create a new app version from
|
|
2310
2418
|
# the current draft app and overwrite the current draft with the specified app
|
|
2311
2419
|
# version.
|
|
@@ -2375,6 +2483,41 @@ module Google
|
|
|
2375
2483
|
execute_or_queue_command(command, &block)
|
|
2376
2484
|
end
|
|
2377
2485
|
|
|
2486
|
+
# Sends a streaming message to an agent, allowing for real-time interaction and
|
|
2487
|
+
# status updates. Streaming version of `SendMessage`
|
|
2488
|
+
# @param [String] tenant
|
|
2489
|
+
# Optional. Opaque routing identifier. Must match the `tenant` value from the
|
|
2490
|
+
# selected `AgentInterface` in the Agent Card when that field is set.
|
|
2491
|
+
# @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
|
|
2492
|
+
# @param [String] fields
|
|
2493
|
+
# Selector specifying which fields to include in a partial response.
|
|
2494
|
+
# @param [String] quota_user
|
|
2495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2497
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2498
|
+
# Request-specific options
|
|
2499
|
+
#
|
|
2500
|
+
# @yield [result, err] Result & error if block supplied
|
|
2501
|
+
# @yieldparam result [Google::Apis::CesV1::LfA2aV1StreamResponse] parsed result object
|
|
2502
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2503
|
+
#
|
|
2504
|
+
# @return [Google::Apis::CesV1::LfA2aV1StreamResponse]
|
|
2505
|
+
#
|
|
2506
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2507
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2508
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2509
|
+
def stream_project_location_app_version_message(tenant, lf_a2a_v1_send_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2510
|
+
command = make_simple_command(:post, 'v1/{+tenant}/message:stream', options)
|
|
2511
|
+
command.request_representation = Google::Apis::CesV1::LfA2aV1SendMessageRequest::Representation
|
|
2512
|
+
command.request_object = lf_a2a_v1_send_message_request_object
|
|
2513
|
+
command.response_representation = Google::Apis::CesV1::LfA2aV1StreamResponse::Representation
|
|
2514
|
+
command.response_class = Google::Apis::CesV1::LfA2aV1StreamResponse
|
|
2515
|
+
command.params['tenant'] = tenant unless tenant.nil?
|
|
2516
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2517
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2518
|
+
execute_or_queue_command(command, &block)
|
|
2519
|
+
end
|
|
2520
|
+
|
|
2378
2521
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
2379
2522
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
2380
2523
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-ces_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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-ces_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.14.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ces_v1
|
|
63
63
|
rdoc_options: []
|
|
64
64
|
require_paths:
|