google-apis-ces_v1 0.14.0 → 0.15.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 +4 -0
- data/lib/google/apis/ces_v1/classes.rb +61 -0
- data/lib/google/apis/ces_v1/gem_version.rb +2 -2
- data/lib/google/apis/ces_v1/representations.rb +20 -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: fa01f65aaf85e8fc69ad0aa6e60f3c2e7fbbc8fe4ee40ee5715da7ff153463ff
|
|
4
|
+
data.tar.gz: 21247f75b97776a28f3d2260c02f2c392d7074408ece73119152b120da08ac6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5e68c9b21e87b782cf986e020bc2d1270ee8e4c3d2b3bf9c9bef2d3a853e496d9b65e784b765a99bf7e76785b5731e5f02f5e85b3e4258a6b029427967224b5
|
|
7
|
+
data.tar.gz: 6f04977cfd9684496ea5121183efbbf88c96f3b10cd39113efa616d6fe742f49391fb605884587a356c3bd72ae875c8e9a0ca480ccefbab2e46a6e23541dc50d
|
data/CHANGELOG.md
CHANGED
|
@@ -3455,6 +3455,11 @@ module Google
|
|
|
3455
3455
|
# @return [String]
|
|
3456
3456
|
attr_accessor :event
|
|
3457
3457
|
|
|
3458
|
+
# Optional. Additional variables associated with the event.
|
|
3459
|
+
# Corresponds to the JSON property `variables`
|
|
3460
|
+
# @return [Hash<String,Object>]
|
|
3461
|
+
attr_accessor :variables
|
|
3462
|
+
|
|
3458
3463
|
def initialize(**args)
|
|
3459
3464
|
update!(**args)
|
|
3460
3465
|
end
|
|
@@ -3462,6 +3467,7 @@ module Google
|
|
|
3462
3467
|
# Update properties of this object
|
|
3463
3468
|
def update!(**args)
|
|
3464
3469
|
@event = args[:event] if args.key?(:event)
|
|
3470
|
+
@variables = args[:variables] if args.key?(:variables)
|
|
3465
3471
|
end
|
|
3466
3472
|
end
|
|
3467
3473
|
|
|
@@ -4085,6 +4091,11 @@ module Google
|
|
|
4085
4091
|
# @return [String]
|
|
4086
4092
|
attr_accessor :name
|
|
4087
4093
|
|
|
4094
|
+
# Guardrail that runs supervisor intervention.
|
|
4095
|
+
# Corresponds to the JSON property `supervisor`
|
|
4096
|
+
# @return [Google::Apis::CesV1::GuardrailSupervisor]
|
|
4097
|
+
attr_accessor :supervisor
|
|
4098
|
+
|
|
4088
4099
|
# Output only. Timestamp when the guardrail was last updated.
|
|
4089
4100
|
# Corresponds to the JSON property `updateTime`
|
|
4090
4101
|
# @return [String]
|
|
@@ -4108,6 +4119,7 @@ module Google
|
|
|
4108
4119
|
@llm_prompt_security = args[:llm_prompt_security] if args.key?(:llm_prompt_security)
|
|
4109
4120
|
@model_safety = args[:model_safety] if args.key?(:model_safety)
|
|
4110
4121
|
@name = args[:name] if args.key?(:name)
|
|
4122
|
+
@supervisor = args[:supervisor] if args.key?(:supervisor)
|
|
4111
4123
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4112
4124
|
end
|
|
4113
4125
|
end
|
|
@@ -4361,6 +4373,31 @@ module Google
|
|
|
4361
4373
|
end
|
|
4362
4374
|
end
|
|
4363
4375
|
|
|
4376
|
+
# Guardrail that runs supervisor intervention.
|
|
4377
|
+
class GuardrailSupervisor
|
|
4378
|
+
include Google::Apis::Core::Hashable
|
|
4379
|
+
|
|
4380
|
+
# Optional. The detection mode of the supervisor.
|
|
4381
|
+
# Corresponds to the JSON property `detectionMode`
|
|
4382
|
+
# @return [String]
|
|
4383
|
+
attr_accessor :detection_mode
|
|
4384
|
+
|
|
4385
|
+
# Optional. The type of the supervisor.
|
|
4386
|
+
# Corresponds to the JSON property `type`
|
|
4387
|
+
# @return [String]
|
|
4388
|
+
attr_accessor :type
|
|
4389
|
+
|
|
4390
|
+
def initialize(**args)
|
|
4391
|
+
update!(**args)
|
|
4392
|
+
end
|
|
4393
|
+
|
|
4394
|
+
# Update properties of this object
|
|
4395
|
+
def update!(**args)
|
|
4396
|
+
@detection_mode = args[:detection_mode] if args.key?(:detection_mode)
|
|
4397
|
+
@type = args[:type] if args.key?(:type)
|
|
4398
|
+
end
|
|
4399
|
+
end
|
|
4400
|
+
|
|
4364
4401
|
# Represents an image input or output in the conversation.
|
|
4365
4402
|
class Image
|
|
4366
4403
|
include Google::Apis::Core::Hashable
|
|
@@ -7341,11 +7378,32 @@ module Google
|
|
|
7341
7378
|
# @return [String]
|
|
7342
7379
|
attr_accessor :description
|
|
7343
7380
|
|
|
7381
|
+
# Optional. Mapping of input variable names of remote agent to GECX variable
|
|
7382
|
+
# names.
|
|
7383
|
+
# Corresponds to the JSON property `inputVariableMapping`
|
|
7384
|
+
# @return [Hash<String,String>]
|
|
7385
|
+
attr_accessor :input_variable_mapping
|
|
7386
|
+
|
|
7344
7387
|
# Required. The name of the tool.
|
|
7345
7388
|
# Corresponds to the JSON property `name`
|
|
7346
7389
|
# @return [String]
|
|
7347
7390
|
attr_accessor :name
|
|
7348
7391
|
|
|
7392
|
+
# Optional. Mapping of output variable names of remote agent to GECX variable
|
|
7393
|
+
# names.
|
|
7394
|
+
# Corresponds to the JSON property `outputVariableMapping`
|
|
7395
|
+
# @return [Hash<String,String>]
|
|
7396
|
+
attr_accessor :output_variable_mapping
|
|
7397
|
+
|
|
7398
|
+
# Optional. When enabled, the interaction between the CXAS app and the remote
|
|
7399
|
+
# agent will share the same context. If the remote agent returns a context_id,
|
|
7400
|
+
# it will be persisted for the entirety of the session for this remote agent
|
|
7401
|
+
# tool.
|
|
7402
|
+
# Corresponds to the JSON property `statefulAgent`
|
|
7403
|
+
# @return [Boolean]
|
|
7404
|
+
attr_accessor :stateful_agent
|
|
7405
|
+
alias_method :stateful_agent?, :stateful_agent
|
|
7406
|
+
|
|
7349
7407
|
def initialize(**args)
|
|
7350
7408
|
update!(**args)
|
|
7351
7409
|
end
|
|
@@ -7355,7 +7413,10 @@ module Google
|
|
|
7355
7413
|
@agent_card = args[:agent_card] if args.key?(:agent_card)
|
|
7356
7414
|
@api_authentication = args[:api_authentication] if args.key?(:api_authentication)
|
|
7357
7415
|
@description = args[:description] if args.key?(:description)
|
|
7416
|
+
@input_variable_mapping = args[:input_variable_mapping] if args.key?(:input_variable_mapping)
|
|
7358
7417
|
@name = args[:name] if args.key?(:name)
|
|
7418
|
+
@output_variable_mapping = args[:output_variable_mapping] if args.key?(:output_variable_mapping)
|
|
7419
|
+
@stateful_agent = args[:stateful_agent] if args.key?(:stateful_agent)
|
|
7359
7420
|
end
|
|
7360
7421
|
end
|
|
7361
7422
|
|
|
@@ -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.15.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 = "20260914"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -670,6 +670,12 @@ module Google
|
|
|
670
670
|
include Google::Apis::Core::JsonObjectSupport
|
|
671
671
|
end
|
|
672
672
|
|
|
673
|
+
class GuardrailSupervisor
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
|
+
|
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
677
|
+
end
|
|
678
|
+
|
|
673
679
|
class Image
|
|
674
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
681
|
|
|
@@ -2339,6 +2345,7 @@ module Google
|
|
|
2339
2345
|
# @private
|
|
2340
2346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2341
2347
|
property :event, as: 'event'
|
|
2348
|
+
hash :variables, as: 'variables'
|
|
2342
2349
|
end
|
|
2343
2350
|
end
|
|
2344
2351
|
|
|
@@ -2515,6 +2522,8 @@ module Google
|
|
|
2515
2522
|
property :model_safety, as: 'modelSafety', class: Google::Apis::CesV1::GuardrailModelSafety, decorator: Google::Apis::CesV1::GuardrailModelSafety::Representation
|
|
2516
2523
|
|
|
2517
2524
|
property :name, as: 'name'
|
|
2525
|
+
property :supervisor, as: 'supervisor', class: Google::Apis::CesV1::GuardrailSupervisor, decorator: Google::Apis::CesV1::GuardrailSupervisor::Representation
|
|
2526
|
+
|
|
2518
2527
|
property :update_time, as: 'updateTime'
|
|
2519
2528
|
end
|
|
2520
2529
|
end
|
|
@@ -2591,6 +2600,14 @@ module Google
|
|
|
2591
2600
|
end
|
|
2592
2601
|
end
|
|
2593
2602
|
|
|
2603
|
+
class GuardrailSupervisor
|
|
2604
|
+
# @private
|
|
2605
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2606
|
+
property :detection_mode, as: 'detectionMode'
|
|
2607
|
+
property :type, as: 'type'
|
|
2608
|
+
end
|
|
2609
|
+
end
|
|
2610
|
+
|
|
2594
2611
|
class Image
|
|
2595
2612
|
# @private
|
|
2596
2613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3417,7 +3434,10 @@ module Google
|
|
|
3417
3434
|
property :api_authentication, as: 'apiAuthentication', class: Google::Apis::CesV1::ApiAuthentication, decorator: Google::Apis::CesV1::ApiAuthentication::Representation
|
|
3418
3435
|
|
|
3419
3436
|
property :description, as: 'description'
|
|
3437
|
+
hash :input_variable_mapping, as: 'inputVariableMapping'
|
|
3420
3438
|
property :name, as: 'name'
|
|
3439
|
+
hash :output_variable_mapping, as: 'outputVariableMapping'
|
|
3440
|
+
property :stateful_agent, as: 'statefulAgent'
|
|
3421
3441
|
end
|
|
3422
3442
|
end
|
|
3423
3443
|
|
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.15.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.15.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:
|