google-apis-ces_v1 0.3.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 165f88f4cad55d03c739d1393ff421391f637a024eb6b417905414bc40a564b8
4
- data.tar.gz: d2ef3ac0db512900a506895a1b4539f8bb78cfe22c3ce5bb083cc19c53bd487a
3
+ metadata.gz: 9bc1b2541133ca9fa5fc618d0718d327745498fe274dd7f02f2ac0e098df68fd
4
+ data.tar.gz: 93c6f06caee89e04cd285e82139b683258ff6c6db23e9dd5ba098c74ee87941e
5
5
  SHA512:
6
- metadata.gz: d426b05ed8234c2705ca2ddccbbb432393a9a11c82aeb1050a8d9ddf20bfb9ab79b3fc9e20062816e9c436c6568e62e0ea99e53c9249daab19e8ea40f5ee5b7e
7
- data.tar.gz: 8005f4dff6ce4059a696df021df4b68350c1c19dca1af8accf0eac0e28898961f9b00f9800bbbb0a8ecd60c8c8a8b528d10e7ea63d3041e3058c1e7fc1342e6e
6
+ metadata.gz: 5939499dc9722cdd27629556ceec809ef43a0ba5f5386a02a87decab0a439620cbb3f9f3202ad96e47217bd9e5766055d59d42162c01114996a905acb5de4247
7
+ data.tar.gz: b7e5252f4e572a1a114fae6d9ad693c170a364728a9857f6a09a62af56a4e1fd5ce3a72171ac3685ce546dda7fa2194b6ef78dbfe815bb556e6cf680baabb620
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ces_v1
2
2
 
3
+ ### v0.4.0 (2026-03-08)
4
+
5
+ * Regenerated from discovery document revision 20260227
6
+
3
7
  ### v0.3.0 (2026-03-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20260218
@@ -580,6 +580,11 @@ module Google
580
580
  # @return [String]
581
581
  attr_accessor :display_name
582
582
 
583
+ # Settings to describe how errors should be handled in the app.
584
+ # Corresponds to the JSON property `errorHandlingSettings`
585
+ # @return [Google::Apis::CesV1::ErrorHandlingSettings]
586
+ attr_accessor :error_handling_settings
587
+
583
588
  # Output only. Etag used to ensure the object hasn't changed during a read-
584
589
  # modify-write operation. If the etag is empty, the update will overwrite any
585
590
  # concurrent changes.
@@ -690,6 +695,7 @@ module Google
690
695
  @deployment_count = args[:deployment_count] if args.key?(:deployment_count)
691
696
  @description = args[:description] if args.key?(:description)
692
697
  @display_name = args[:display_name] if args.key?(:display_name)
698
+ @error_handling_settings = args[:error_handling_settings] if args.key?(:error_handling_settings)
693
699
  @etag = args[:etag] if args.key?(:etag)
694
700
  @evaluation_metrics_thresholds = args[:evaluation_metrics_thresholds] if args.key?(:evaluation_metrics_thresholds)
695
701
  @global_instruction = args[:global_instruction] if args.key?(:global_instruction)
@@ -1387,6 +1393,11 @@ module Google
1387
1393
  # @return [Google::Apis::CesV1::AgentTransfer]
1388
1394
  attr_accessor :agent_transfer
1389
1395
 
1396
+ # Represents a blob input or output in the conversation.
1397
+ # Corresponds to the JSON property `blob`
1398
+ # @return [Google::Apis::CesV1::Blob]
1399
+ attr_accessor :blob
1400
+
1390
1401
  # A struct represents default variables at the start of the conversation, keyed
1391
1402
  # by variable names.
1392
1403
  # Corresponds to the JSON property `defaultVariables`
@@ -1436,6 +1447,7 @@ module Google
1436
1447
  # Update properties of this object
1437
1448
  def update!(**args)
1438
1449
  @agent_transfer = args[:agent_transfer] if args.key?(:agent_transfer)
1450
+ @blob = args[:blob] if args.key?(:blob)
1439
1451
  @default_variables = args[:default_variables] if args.key?(:default_variables)
1440
1452
  @image = args[:image] if args.key?(:image)
1441
1453
  @payload = args[:payload] if args.key?(:payload)
@@ -2404,8 +2416,9 @@ module Google
2404
2416
  class Deployment
2405
2417
  include Google::Apis::Core::Hashable
2406
2418
 
2407
- # Required. The resource name of the app version to deploy. Format: projects/`
2408
- # project`/locations/`location`/apps/`app`/versions/`version`
2419
+ # Optional. The resource name of the app version to deploy. Format: `projects/`
2420
+ # project`/locations/`location`/apps/`app`/versions/`version`` Use `projects/`
2421
+ # project`/locations/`location`/apps/`app`/versions/-` to use the draft app.
2409
2422
  # Corresponds to the JSON property `appVersion`
2410
2423
  # @return [String]
2411
2424
  attr_accessor :app_version
@@ -2433,8 +2446,8 @@ module Google
2433
2446
  # @return [String]
2434
2447
  attr_accessor :etag
2435
2448
 
2436
- # Identifier. The resource name of the deployment. Format: projects/`project`/
2437
- # locations/`location`/apps/`app`/deployments/`deployment`
2449
+ # Identifier. The resource name of the deployment. Format: `projects/`project`/
2450
+ # locations/`location`/apps/`app`/deployments/`deployment``
2438
2451
  # Corresponds to the JSON property `name`
2439
2452
  # @return [String]
2440
2453
  attr_accessor :name
@@ -2580,6 +2593,55 @@ module Google
2580
2593
  end
2581
2594
  end
2582
2595
 
2596
+ # Defines project/location level endpoint control policy.
2597
+ class EndpointControlPolicy
2598
+ include Google::Apis::Core::Hashable
2599
+
2600
+ # Optional. The allowed HTTP(s) origins that tools in the App are able to
2601
+ # directly call. The enforcement depends on the value of enforcement_scope and
2602
+ # the VPC-SC status of the project. If a port number is not provided, all ports
2603
+ # will be allowed. Otherwise, the port number must match exactly. For example, "
2604
+ # https://example.com" will match "https://example.com:443" and any other port. "
2605
+ # https://example.com:443" will only match "https://example.com:443".
2606
+ # Corresponds to the JSON property `allowedOrigins`
2607
+ # @return [Array<String>]
2608
+ attr_accessor :allowed_origins
2609
+
2610
+ # Optional. The scope in which this policy's allowed_origins list is enforced.
2611
+ # Corresponds to the JSON property `enforcementScope`
2612
+ # @return [String]
2613
+ attr_accessor :enforcement_scope
2614
+
2615
+ def initialize(**args)
2616
+ update!(**args)
2617
+ end
2618
+
2619
+ # Update properties of this object
2620
+ def update!(**args)
2621
+ @allowed_origins = args[:allowed_origins] if args.key?(:allowed_origins)
2622
+ @enforcement_scope = args[:enforcement_scope] if args.key?(:enforcement_scope)
2623
+ end
2624
+ end
2625
+
2626
+ # Settings to describe how errors should be handled in the app.
2627
+ class ErrorHandlingSettings
2628
+ include Google::Apis::Core::Hashable
2629
+
2630
+ # Optional. The strategy to use for error handling.
2631
+ # Corresponds to the JSON property `errorHandlingStrategy`
2632
+ # @return [String]
2633
+ attr_accessor :error_handling_strategy
2634
+
2635
+ def initialize(**args)
2636
+ update!(**args)
2637
+ end
2638
+
2639
+ # Update properties of this object
2640
+ def update!(**args)
2641
+ @error_handling_strategy = args[:error_handling_strategy] if args.key?(:error_handling_strategy)
2642
+ end
2643
+ end
2644
+
2583
2645
  # Threshold settings for metrics in an Evaluation.
2584
2646
  class EvaluationMetricsThresholds
2585
2647
  include Google::Apis::Core::Hashable
@@ -5299,6 +5361,50 @@ module Google
5299
5361
  end
5300
5362
  end
5301
5363
 
5364
+ # Project/Location level security settings for CES.
5365
+ class SecuritySettings
5366
+ include Google::Apis::Core::Hashable
5367
+
5368
+ # Output only. Create time of the security settings.
5369
+ # Corresponds to the JSON property `createTime`
5370
+ # @return [String]
5371
+ attr_accessor :create_time
5372
+
5373
+ # Defines project/location level endpoint control policy.
5374
+ # Corresponds to the JSON property `endpointControlPolicy`
5375
+ # @return [Google::Apis::CesV1::EndpointControlPolicy]
5376
+ attr_accessor :endpoint_control_policy
5377
+
5378
+ # Output only. Etag of the security settings.
5379
+ # Corresponds to the JSON property `etag`
5380
+ # @return [String]
5381
+ attr_accessor :etag
5382
+
5383
+ # Identifier. The unique identifier of the security settings. Format: `projects/`
5384
+ # project`/locations/`location`/securitySettings`
5385
+ # Corresponds to the JSON property `name`
5386
+ # @return [String]
5387
+ attr_accessor :name
5388
+
5389
+ # Output only. Last update time of the security settings.
5390
+ # Corresponds to the JSON property `updateTime`
5391
+ # @return [String]
5392
+ attr_accessor :update_time
5393
+
5394
+ def initialize(**args)
5395
+ update!(**args)
5396
+ end
5397
+
5398
+ # Update properties of this object
5399
+ def update!(**args)
5400
+ @create_time = args[:create_time] if args.key?(:create_time)
5401
+ @endpoint_control_policy = args[:endpoint_control_policy] if args.key?(:endpoint_control_policy)
5402
+ @etag = args[:etag] if args.key?(:etag)
5403
+ @name = args[:name] if args.key?(:name)
5404
+ @update_time = args[:update_time] if args.key?(:update_time)
5405
+ end
5406
+ end
5407
+
5302
5408
  # Configurations for authentication using a custom service account.
5303
5409
  class ServiceAccountAuthConfig
5304
5410
  include Google::Apis::Core::Hashable
@@ -5377,7 +5483,7 @@ module Google
5377
5483
 
5378
5484
  # Optional. The entry agent to handle the session. If not specified, the session
5379
5485
  # will be handled by the root agent of the app. Format: `projects/`project`/
5380
- # locations/`location`/agents/`agent``
5486
+ # locations/`location`/apps/`app`/agents/`agent``
5381
5487
  # Corresponds to the JSON property `entryAgent`
5382
5488
  # @return [String]
5383
5489
  attr_accessor :entry_agent
@@ -5420,6 +5526,13 @@ module Google
5420
5526
  # @return [String]
5421
5527
  attr_accessor :time_zone
5422
5528
 
5529
+ # Optional. Whether to use tool fakes for the session. If this field is set, the
5530
+ # agent will attempt use tool fakes instead of calling the real tools.
5531
+ # Corresponds to the JSON property `useToolFakes`
5532
+ # @return [Boolean]
5533
+ attr_accessor :use_tool_fakes
5534
+ alias_method :use_tool_fakes?, :use_tool_fakes
5535
+
5423
5536
  def initialize(**args)
5424
5537
  update!(**args)
5425
5538
  end
@@ -5433,6 +5546,7 @@ module Google
5433
5546
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
5434
5547
  @remote_dialogflow_query_parameters = args[:remote_dialogflow_query_parameters] if args.key?(:remote_dialogflow_query_parameters)
5435
5548
  @time_zone = args[:time_zone] if args.key?(:time_zone)
5549
+ @use_tool_fakes = args[:use_tool_fakes] if args.key?(:use_tool_fakes)
5436
5550
  end
5437
5551
  end
5438
5552
 
@@ -5850,10 +5964,10 @@ module Google
5850
5964
  # verification. This overrides the default SSL trust store. If this is empty or
5851
5965
  # unspecified, CES will use Google's default trust store to verify certificates.
5852
5966
  # N.B. Make sure the HTTPS server certificates are signed with "subject alt name"
5853
- # . For instance a certificate can be self-signed using the following command,
5854
- # openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -
5855
- # out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'
5856
- # ")
5967
+ # . For instance a certificate can be self-signed using the following command: ``
5968
+ # ` openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \
5969
+ # -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.
5970
+ # com'") ```
5857
5971
  # Corresponds to the JSON property `cert`
5858
5972
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
5859
5973
  # @return [String]
@@ -5953,11 +6067,11 @@ module Google
5953
6067
  # @return [Google::Apis::CesV1::McpTool]
5954
6068
  attr_accessor :mcp_tool
5955
6069
 
5956
- # Identifier. The unique identifier of the tool. Format: - `projects/`project`/
5957
- # locations/`location`/apps/`app`/tools/`tool`` for ## standalone tools. `
6070
+ # Identifier. The resource name of the tool. Format: * `projects/`project`/
6071
+ # locations/`location`/apps/`app`/tools/`tool`` for standalone tools. * `
5958
6072
  # projects/`project`/locations/`location`/apps/`app`/toolsets/`toolset`/tools/`
5959
6073
  # tool`` for tools retrieved from a toolset. These tools are dynamic and output-
5960
- # only, they cannot be referenced directly where a tool is expected.
6074
+ # only; they cannot be referenced directly where a tool is expected.
5961
6075
  # Corresponds to the JSON property `name`
5962
6076
  # @return [String]
5963
6077
  attr_accessor :name
@@ -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.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260218"
25
+ REVISION = "20260227"
26
26
  end
27
27
  end
28
28
  end
@@ -394,6 +394,18 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class EndpointControlPolicy
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class ErrorHandlingSettings
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
397
409
  class EvaluationMetricsThresholds
398
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
411
 
@@ -850,6 +862,12 @@ module Google
850
862
  include Google::Apis::Core::JsonObjectSupport
851
863
  end
852
864
 
865
+ class SecuritySettings
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
853
871
  class ServiceAccountAuthConfig
854
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
873
 
@@ -1190,6 +1208,8 @@ module Google
1190
1208
  property :deployment_count, as: 'deploymentCount'
1191
1209
  property :description, as: 'description'
1192
1210
  property :display_name, as: 'displayName'
1211
+ property :error_handling_settings, as: 'errorHandlingSettings', class: Google::Apis::CesV1::ErrorHandlingSettings, decorator: Google::Apis::CesV1::ErrorHandlingSettings::Representation
1212
+
1193
1213
  property :etag, as: 'etag'
1194
1214
  property :evaluation_metrics_thresholds, as: 'evaluationMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholds::Representation
1195
1215
 
@@ -1401,6 +1421,8 @@ module Google
1401
1421
  class Representation < Google::Apis::Core::JsonRepresentation
1402
1422
  property :agent_transfer, as: 'agentTransfer', class: Google::Apis::CesV1::AgentTransfer, decorator: Google::Apis::CesV1::AgentTransfer::Representation
1403
1423
 
1424
+ property :blob, as: 'blob', class: Google::Apis::CesV1::Blob, decorator: Google::Apis::CesV1::Blob::Representation
1425
+
1404
1426
  hash :default_variables, as: 'defaultVariables'
1405
1427
  property :image, as: 'image', class: Google::Apis::CesV1::Image, decorator: Google::Apis::CesV1::Image::Representation
1406
1428
 
@@ -1743,6 +1765,21 @@ module Google
1743
1765
  end
1744
1766
  end
1745
1767
 
1768
+ class EndpointControlPolicy
1769
+ # @private
1770
+ class Representation < Google::Apis::Core::JsonRepresentation
1771
+ collection :allowed_origins, as: 'allowedOrigins'
1772
+ property :enforcement_scope, as: 'enforcementScope'
1773
+ end
1774
+ end
1775
+
1776
+ class ErrorHandlingSettings
1777
+ # @private
1778
+ class Representation < Google::Apis::Core::JsonRepresentation
1779
+ property :error_handling_strategy, as: 'errorHandlingStrategy'
1780
+ end
1781
+ end
1782
+
1746
1783
  class EvaluationMetricsThresholds
1747
1784
  # @private
1748
1785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2531,6 +2568,18 @@ module Google
2531
2568
  end
2532
2569
  end
2533
2570
 
2571
+ class SecuritySettings
2572
+ # @private
2573
+ class Representation < Google::Apis::Core::JsonRepresentation
2574
+ property :create_time, as: 'createTime'
2575
+ property :endpoint_control_policy, as: 'endpointControlPolicy', class: Google::Apis::CesV1::EndpointControlPolicy, decorator: Google::Apis::CesV1::EndpointControlPolicy::Representation
2576
+
2577
+ property :etag, as: 'etag'
2578
+ property :name, as: 'name'
2579
+ property :update_time, as: 'updateTime'
2580
+ end
2581
+ end
2582
+
2534
2583
  class ServiceAccountAuthConfig
2535
2584
  # @private
2536
2585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2566,6 +2615,7 @@ module Google
2566
2615
  property :remote_dialogflow_query_parameters, as: 'remoteDialogflowQueryParameters', class: Google::Apis::CesV1::SessionConfigRemoteDialogflowQueryParameters, decorator: Google::Apis::CesV1::SessionConfigRemoteDialogflowQueryParameters::Representation
2567
2616
 
2568
2617
  property :time_zone, as: 'timeZone'
2618
+ property :use_tool_fakes, as: 'useToolFakes'
2569
2619
  end
2570
2620
  end
2571
2621
 
@@ -1038,8 +1038,8 @@ module Google
1038
1038
 
1039
1039
  # Updates the specified deployment.
1040
1040
  # @param [String] name
1041
- # Identifier. The resource name of the deployment. Format: projects/`project`/
1042
- # locations/`location`/apps/`app`/deployments/`deployment`
1041
+ # Identifier. The resource name of the deployment. Format: `projects/`project`/
1042
+ # locations/`location`/apps/`app`/deployments/`deployment``
1043
1043
  # @param [Google::Apis::CesV1::Deployment] deployment_object
1044
1044
  # @param [String] update_mask
1045
1045
  # Optional. The list of fields to update.
@@ -1684,11 +1684,11 @@ module Google
1684
1684
 
1685
1685
  # Updates the specified tool.
1686
1686
  # @param [String] name
1687
- # Identifier. The unique identifier of the tool. Format: - `projects/`project`/
1688
- # locations/`location`/apps/`app`/tools/`tool`` for ## standalone tools. `
1687
+ # Identifier. The resource name of the tool. Format: * `projects/`project`/
1688
+ # locations/`location`/apps/`app`/tools/`tool`` for standalone tools. * `
1689
1689
  # projects/`project`/locations/`location`/apps/`app`/toolsets/`toolset`/tools/`
1690
1690
  # tool`` for tools retrieved from a toolset. These tools are dynamic and output-
1691
- # only, they cannot be referenced directly where a tool is expected.
1691
+ # only; they cannot be referenced directly where a tool is expected.
1692
1692
  # @param [Google::Apis::CesV1::Tool] tool_object
1693
1693
  # @param [String] update_mask
1694
1694
  # Optional. Field mask is used to control which fields get updated. If the mask
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.3.0
4
+ version: 0.4.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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.4.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: