google-apis-integrations_v1 0.10.0 → 0.11.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: 03225dc0f6714d82f74d29694614086475f65cba752fc4e0776afcdc70d05497
4
- data.tar.gz: d842c97fb38986b6fb3b5f1d1f919303195d5b16497c1495d2ff0e6fb5d5850a
3
+ metadata.gz: 471a0fb9be2950357a10e058f1a5fea8b04c82bcf69dacc081e556c15da5fab2
4
+ data.tar.gz: 5a85084bc6e2c85c240fa6862ac9f389e35511a5b2fd28488315f538c6e55c3d
5
5
  SHA512:
6
- metadata.gz: d7efa7a127e4d41703dfe567e058edee8a8e26bf39e606d4d5bd98f294f243e02d87fb7b4fe99361aa5dad040d34b708862ebe680c14fae240204c20909dd6a1
7
- data.tar.gz: 4431ecd9b1637f451fec022789589d0b73d5f5deded15e406aee2375068f3fc8b0061a7cc38a5bc64dd6c23cabab9352647b4802d8f9f50d164041488a756fd4
6
+ metadata.gz: 571e1b880ee412eb1cb835fbaf595b0654a0dcc4f5ed82af8cd74d765b1ff89087495cc0c97da462da4a2941b648f504469f243ae0d1f39abc4559e151ad6aed
7
+ data.tar.gz: 966fa32b74b84e843a3936575c9bd7f96f2daec79c14f38e52d9be18d1d4e8c7ffd4f1fa49641f5c7f6e3cc10d8409a48f6137c1b7f2590084926841b806ee73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-integrations_v1
2
2
 
3
+ ### v0.11.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250427
6
+ * Regenerated using generator version 0.17.0
7
+
3
8
  ### v0.10.0 (2025-04-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20250423
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/application-integration) ma
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -6480,6 +6480,67 @@ module Google
6480
6480
  end
6481
6481
  end
6482
6482
 
6483
+ # AgentFlow configurations.
6484
+ class GoogleCloudIntegrationsV1alphaAgentFlow
6485
+ include Google::Apis::Core::Hashable
6486
+
6487
+ # Output only. The timestamp when the agent flow was created.
6488
+ # Corresponds to the JSON property `createTime`
6489
+ # @return [String]
6490
+ attr_accessor :create_time
6491
+
6492
+ # Output only. The user who created the agent flow.
6493
+ # Corresponds to the JSON property `creator`
6494
+ # @return [String]
6495
+ attr_accessor :creator
6496
+
6497
+ # Optional. Description of the agent flow.
6498
+ # Corresponds to the JSON property `description`
6499
+ # @return [String]
6500
+ attr_accessor :description
6501
+
6502
+ # Optional. Display name of the agent flow.
6503
+ # Corresponds to the JSON property `displayName`
6504
+ # @return [String]
6505
+ attr_accessor :display_name
6506
+
6507
+ # Required. The flow configuration, represented as a string.
6508
+ # Corresponds to the JSON property `flowConfig`
6509
+ # @return [String]
6510
+ attr_accessor :flow_config
6511
+
6512
+ # Required. Resource name of the agent flow.
6513
+ # Corresponds to the JSON property `name`
6514
+ # @return [String]
6515
+ attr_accessor :name
6516
+
6517
+ # Optional. Name of the NoCodeAgent.
6518
+ # Corresponds to the JSON property `noCodeAgent`
6519
+ # @return [String]
6520
+ attr_accessor :no_code_agent
6521
+
6522
+ # Output only. The timestamp when the agent flow was last updated.
6523
+ # Corresponds to the JSON property `updateTime`
6524
+ # @return [String]
6525
+ attr_accessor :update_time
6526
+
6527
+ def initialize(**args)
6528
+ update!(**args)
6529
+ end
6530
+
6531
+ # Update properties of this object
6532
+ def update!(**args)
6533
+ @create_time = args[:create_time] if args.key?(:create_time)
6534
+ @creator = args[:creator] if args.key?(:creator)
6535
+ @description = args[:description] if args.key?(:description)
6536
+ @display_name = args[:display_name] if args.key?(:display_name)
6537
+ @flow_config = args[:flow_config] if args.key?(:flow_config)
6538
+ @name = args[:name] if args.key?(:name)
6539
+ @no_code_agent = args[:no_code_agent] if args.key?(:no_code_agent)
6540
+ @update_time = args[:update_time] if args.key?(:update_time)
6541
+ end
6542
+ end
6543
+
6483
6544
  # List of API triggerID and their workflow resource name.
6484
6545
  class GoogleCloudIntegrationsV1alphaApiTriggerResource
6485
6546
  include Google::Apis::Core::Hashable
@@ -8287,6 +8348,108 @@ module Google
8287
8348
  end
8288
8349
  end
8289
8350
 
8351
+ # Request message for GenerateAgentFlow.
8352
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest
8353
+ include Google::Apis::Core::Hashable
8354
+
8355
+ # Optional. The creator id;
8356
+ # Corresponds to the JSON property `creator`
8357
+ # @return [String]
8358
+ attr_accessor :creator
8359
+
8360
+ # Optional. The description of the AgentFlow to be generated.
8361
+ # Corresponds to the JSON property `description`
8362
+ # @return [String]
8363
+ attr_accessor :description
8364
+
8365
+ # Optional. The display name of the AgentFlow to be generated.
8366
+ # Corresponds to the JSON property `displayName`
8367
+ # @return [String]
8368
+ attr_accessor :display_name
8369
+
8370
+ # Required. The intent, described in natural language, for the AgentFlow to
8371
+ # generate.
8372
+ # Corresponds to the JSON property `intent`
8373
+ # @return [String]
8374
+ attr_accessor :intent
8375
+
8376
+ def initialize(**args)
8377
+ update!(**args)
8378
+ end
8379
+
8380
+ # Update properties of this object
8381
+ def update!(**args)
8382
+ @creator = args[:creator] if args.key?(:creator)
8383
+ @description = args[:description] if args.key?(:description)
8384
+ @display_name = args[:display_name] if args.key?(:display_name)
8385
+ @intent = args[:intent] if args.key?(:intent)
8386
+ end
8387
+ end
8388
+
8389
+ # Response message for GenerateAgentFlow.
8390
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse
8391
+ include Google::Apis::Core::Hashable
8392
+
8393
+ # AgentFlow configurations.
8394
+ # Corresponds to the JSON property `agentFlow`
8395
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow]
8396
+ attr_accessor :agent_flow
8397
+
8398
+ def initialize(**args)
8399
+ update!(**args)
8400
+ end
8401
+
8402
+ # Update properties of this object
8403
+ def update!(**args)
8404
+ @agent_flow = args[:agent_flow] if args.key?(:agent_flow)
8405
+ end
8406
+ end
8407
+
8408
+ # Request message for GenerateAndUpdateAgentFlow.
8409
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest
8410
+ include Google::Apis::Core::Hashable
8411
+
8412
+ # Required. The intent, described in natural language, for the AgentFlow to
8413
+ # update.
8414
+ # Corresponds to the JSON property `intent`
8415
+ # @return [String]
8416
+ attr_accessor :intent
8417
+
8418
+ # Optional. The updater id;
8419
+ # Corresponds to the JSON property `updater`
8420
+ # @return [String]
8421
+ attr_accessor :updater
8422
+
8423
+ def initialize(**args)
8424
+ update!(**args)
8425
+ end
8426
+
8427
+ # Update properties of this object
8428
+ def update!(**args)
8429
+ @intent = args[:intent] if args.key?(:intent)
8430
+ @updater = args[:updater] if args.key?(:updater)
8431
+ end
8432
+ end
8433
+
8434
+ # Response message for GenerateAndUpdateAgentFlow.
8435
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse
8436
+ include Google::Apis::Core::Hashable
8437
+
8438
+ # AgentFlow configurations.
8439
+ # Corresponds to the JSON property `agentFlow`
8440
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow]
8441
+ attr_accessor :agent_flow
8442
+
8443
+ def initialize(**args)
8444
+ update!(**args)
8445
+ end
8446
+
8447
+ # Update properties of this object
8448
+ def update!(**args)
8449
+ @agent_flow = args[:agent_flow] if args.key?(:agent_flow)
8450
+ end
8451
+ end
8452
+
8290
8453
  # Request for GenerateOpenApiSpec.
8291
8454
  class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
8292
8455
  include Google::Apis::Core::Hashable
@@ -9120,6 +9283,32 @@ module Google
9120
9283
  end
9121
9284
  end
9122
9285
 
9286
+ # Response for ListAgentFlows.
9287
+ class GoogleCloudIntegrationsV1alphaListAgentFlowsResponse
9288
+ include Google::Apis::Core::Hashable
9289
+
9290
+ # Output only. The AgentFlows from the specified collection.
9291
+ # Corresponds to the JSON property `agentFlows`
9292
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow>]
9293
+ attr_accessor :agent_flows
9294
+
9295
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
9296
+ # page. If this field is omitted, there are no subsequent pages.
9297
+ # Corresponds to the JSON property `nextPageToken`
9298
+ # @return [String]
9299
+ attr_accessor :next_page_token
9300
+
9301
+ def initialize(**args)
9302
+ update!(**args)
9303
+ end
9304
+
9305
+ # Update properties of this object
9306
+ def update!(**args)
9307
+ @agent_flows = args[:agent_flows] if args.key?(:agent_flows)
9308
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9309
+ end
9310
+ end
9311
+
9123
9312
  # Response to list AuthConfigs.
9124
9313
  class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
9125
9314
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IntegrationsV1
18
18
  # Version of the google-apis-integrations_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250423"
25
+ REVISION = "20250427"
26
26
  end
27
27
  end
28
28
  end
@@ -952,6 +952,12 @@ module Google
952
952
  include Google::Apis::Core::JsonObjectSupport
953
953
  end
954
954
 
955
+ class GoogleCloudIntegrationsV1alphaAgentFlow
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
955
961
  class GoogleCloudIntegrationsV1alphaApiTriggerResource
956
962
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
963
 
@@ -1234,6 +1240,30 @@ module Google
1234
1240
  include Google::Apis::Core::JsonObjectSupport
1235
1241
  end
1236
1242
 
1243
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest
1244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1245
+
1246
+ include Google::Apis::Core::JsonObjectSupport
1247
+ end
1248
+
1249
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse
1250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1251
+
1252
+ include Google::Apis::Core::JsonObjectSupport
1253
+ end
1254
+
1255
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest
1256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1257
+
1258
+ include Google::Apis::Core::JsonObjectSupport
1259
+ end
1260
+
1261
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1237
1267
  class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
1238
1268
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1269
 
@@ -1354,6 +1384,12 @@ module Google
1354
1384
  include Google::Apis::Core::JsonObjectSupport
1355
1385
  end
1356
1386
 
1387
+ class GoogleCloudIntegrationsV1alphaListAgentFlowsResponse
1388
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1389
+
1390
+ include Google::Apis::Core::JsonObjectSupport
1391
+ end
1392
+
1357
1393
  class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
1358
1394
  class Representation < Google::Apis::Core::JsonRepresentation; end
1359
1395
 
@@ -3636,6 +3672,20 @@ module Google
3636
3672
  end
3637
3673
  end
3638
3674
 
3675
+ class GoogleCloudIntegrationsV1alphaAgentFlow
3676
+ # @private
3677
+ class Representation < Google::Apis::Core::JsonRepresentation
3678
+ property :create_time, as: 'createTime'
3679
+ property :creator, as: 'creator'
3680
+ property :description, as: 'description'
3681
+ property :display_name, as: 'displayName'
3682
+ property :flow_config, as: 'flowConfig'
3683
+ property :name, as: 'name'
3684
+ property :no_code_agent, as: 'noCodeAgent'
3685
+ property :update_time, as: 'updateTime'
3686
+ end
3687
+ end
3688
+
3639
3689
  class GoogleCloudIntegrationsV1alphaApiTriggerResource
3640
3690
  # @private
3641
3691
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4138,6 +4188,40 @@ module Google
4138
4188
  end
4139
4189
  end
4140
4190
 
4191
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest
4192
+ # @private
4193
+ class Representation < Google::Apis::Core::JsonRepresentation
4194
+ property :creator, as: 'creator'
4195
+ property :description, as: 'description'
4196
+ property :display_name, as: 'displayName'
4197
+ property :intent, as: 'intent'
4198
+ end
4199
+ end
4200
+
4201
+ class GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse
4202
+ # @private
4203
+ class Representation < Google::Apis::Core::JsonRepresentation
4204
+ property :agent_flow, as: 'agentFlow', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
4205
+
4206
+ end
4207
+ end
4208
+
4209
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest
4210
+ # @private
4211
+ class Representation < Google::Apis::Core::JsonRepresentation
4212
+ property :intent, as: 'intent'
4213
+ property :updater, as: 'updater'
4214
+ end
4215
+ end
4216
+
4217
+ class GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse
4218
+ # @private
4219
+ class Representation < Google::Apis::Core::JsonRepresentation
4220
+ property :agent_flow, as: 'agentFlow', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
4221
+
4222
+ end
4223
+ end
4224
+
4141
4225
  class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
4142
4226
  # @private
4143
4227
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4359,6 +4443,15 @@ module Google
4359
4443
  end
4360
4444
  end
4361
4445
 
4446
+ class GoogleCloudIntegrationsV1alphaListAgentFlowsResponse
4447
+ # @private
4448
+ class Representation < Google::Apis::Core::JsonRepresentation
4449
+ collection :agent_flows, as: 'agentFlows', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
4450
+
4451
+ property :next_page_token, as: 'nextPageToken'
4452
+ end
4453
+ end
4454
+
4362
4455
  class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
4363
4456
  # @private
4364
4457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -959,6 +959,257 @@ module Google
959
959
  execute_or_queue_command(command, &block)
960
960
  end
961
961
 
962
+ # Request to create a new AgentFlow with user-provided flow configuration.
963
+ # @param [String] parent
964
+ # Required. Parent resource name where this AgentFlow will be created.
965
+ # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow] google_cloud_integrations_v1alpha_agent_flow_object
966
+ # @param [String] fields
967
+ # Selector specifying which fields to include in a partial response.
968
+ # @param [String] quota_user
969
+ # Available to use for quota purposes for server-side applications. Can be any
970
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
971
+ # @param [Google::Apis::RequestOptions] options
972
+ # Request-specific options
973
+ #
974
+ # @yield [result, err] Result & error if block supplied
975
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow] parsed result object
976
+ # @yieldparam err [StandardError] error object if request failed
977
+ #
978
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow]
979
+ #
980
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
981
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
982
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
983
+ def create_project_location_collection_engine_assistant_agent_flow(parent, google_cloud_integrations_v1alpha_agent_flow_object = nil, fields: nil, quota_user: nil, options: nil, &block)
984
+ command = make_simple_command(:post, 'v1/{+parent}/agentFlows', options)
985
+ command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
986
+ command.request_object = google_cloud_integrations_v1alpha_agent_flow_object
987
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
988
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow
989
+ command.params['parent'] = parent unless parent.nil?
990
+ command.query['fields'] = fields unless fields.nil?
991
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
992
+ execute_or_queue_command(command, &block)
993
+ end
994
+
995
+ # Deletes an existing AgentFlow.
996
+ # @param [String] name
997
+ # Required. The resource name of the AgentFlow to delete.
998
+ # @param [String] fields
999
+ # Selector specifying which fields to include in a partial response.
1000
+ # @param [String] quota_user
1001
+ # Available to use for quota purposes for server-side applications. Can be any
1002
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1003
+ # @param [Google::Apis::RequestOptions] options
1004
+ # Request-specific options
1005
+ #
1006
+ # @yield [result, err] Result & error if block supplied
1007
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
1008
+ # @yieldparam err [StandardError] error object if request failed
1009
+ #
1010
+ # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
1011
+ #
1012
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1013
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
+ def delete_project_location_collection_engine_assistant_agent_flow(name, fields: nil, quota_user: nil, options: nil, &block)
1016
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1017
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
1018
+ command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
1019
+ command.params['name'] = name unless name.nil?
1020
+ command.query['fields'] = fields unless fields.nil?
1021
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1022
+ execute_or_queue_command(command, &block)
1023
+ end
1024
+
1025
+ # Uses Natural Language (NL) to generate an AgentFlow configuration and create a
1026
+ # new AgentFlow.
1027
+ # @param [String] parent
1028
+ # Required. Parent resource name where this AgentFlow will be created.
1029
+ # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest] google_cloud_integrations_v1alpha_generate_agent_flow_request_object
1030
+ # @param [String] fields
1031
+ # Selector specifying which fields to include in a partial response.
1032
+ # @param [String] quota_user
1033
+ # Available to use for quota purposes for server-side applications. Can be any
1034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1035
+ # @param [Google::Apis::RequestOptions] options
1036
+ # Request-specific options
1037
+ #
1038
+ # @yield [result, err] Result & error if block supplied
1039
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse] parsed result object
1040
+ # @yieldparam err [StandardError] error object if request failed
1041
+ #
1042
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse]
1043
+ #
1044
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1045
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1046
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1047
+ def generate_project_location_collection_engine_assistant_agent_flow(parent, google_cloud_integrations_v1alpha_generate_agent_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1048
+ command = make_simple_command(:post, 'v1/{+parent}/agentFlows:generate', options)
1049
+ command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowRequest::Representation
1050
+ command.request_object = google_cloud_integrations_v1alpha_generate_agent_flow_request_object
1051
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse::Representation
1052
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAgentFlowResponse
1053
+ command.params['parent'] = parent unless parent.nil?
1054
+ command.query['fields'] = fields unless fields.nil?
1055
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1056
+ execute_or_queue_command(command, &block)
1057
+ end
1058
+
1059
+ # Uses Natural Language (NL) to generate an AgentFlow configuration and update
1060
+ # an existing AgentFlow.
1061
+ # @param [String] name
1062
+ # Required. The resource name of the AgentFlow to update.
1063
+ # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest] google_cloud_integrations_v1alpha_generate_and_update_agent_flow_request_object
1064
+ # @param [String] fields
1065
+ # Selector specifying which fields to include in a partial response.
1066
+ # @param [String] quota_user
1067
+ # Available to use for quota purposes for server-side applications. Can be any
1068
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1069
+ # @param [Google::Apis::RequestOptions] options
1070
+ # Request-specific options
1071
+ #
1072
+ # @yield [result, err] Result & error if block supplied
1073
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse] parsed result object
1074
+ # @yieldparam err [StandardError] error object if request failed
1075
+ #
1076
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse]
1077
+ #
1078
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1079
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1080
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1081
+ def generate_project_location_collection_engine_assistant_agent_flow_and_update(name, google_cloud_integrations_v1alpha_generate_and_update_agent_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1082
+ command = make_simple_command(:post, 'v1/{+name}:generateAndUpdate', options)
1083
+ command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowRequest::Representation
1084
+ command.request_object = google_cloud_integrations_v1alpha_generate_and_update_agent_flow_request_object
1085
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse::Representation
1086
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateAndUpdateAgentFlowResponse
1087
+ command.params['name'] = name unless name.nil?
1088
+ command.query['fields'] = fields unless fields.nil?
1089
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1090
+ execute_or_queue_command(command, &block)
1091
+ end
1092
+
1093
+ # Gets an existing AgentFlow.
1094
+ # @param [String] name
1095
+ # Required. The resource name of the AgentFlow to get.
1096
+ # @param [String] fields
1097
+ # Selector specifying which fields to include in a partial response.
1098
+ # @param [String] quota_user
1099
+ # Available to use for quota purposes for server-side applications. Can be any
1100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1101
+ # @param [Google::Apis::RequestOptions] options
1102
+ # Request-specific options
1103
+ #
1104
+ # @yield [result, err] Result & error if block supplied
1105
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow] parsed result object
1106
+ # @yieldparam err [StandardError] error object if request failed
1107
+ #
1108
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow]
1109
+ #
1110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1113
+ def get_project_location_collection_engine_assistant_agent_flow(name, fields: nil, quota_user: nil, options: nil, &block)
1114
+ command = make_simple_command(:get, 'v1/{+name}', options)
1115
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
1116
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow
1117
+ command.params['name'] = name unless name.nil?
1118
+ command.query['fields'] = fields unless fields.nil?
1119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1120
+ execute_or_queue_command(command, &block)
1121
+ end
1122
+
1123
+ # Lists all AgentFlows.
1124
+ # @param [String] parent
1125
+ # Required. The parent resource where this AgentFlow was created.
1126
+ # @param [String] filter
1127
+ # Optional. Standard filter field. Filtering as supported in https://developers.
1128
+ # google.com/authorized-buyers/apis/guides/list-filters.
1129
+ # @param [String] order_by
1130
+ # Optional. The results would be returned in order specified here. Currently
1131
+ # supported sort keys are: Descending sort order for "create_time", "update_time"
1132
+ # . Ascending sort order for "agent_flow_id", "display_name".
1133
+ # @param [Fixnum] page_size
1134
+ # Optional. The maximum number of AgentFlows to return. The service may return
1135
+ # fewer than this value. If unspecified, at most 100 AgentFlows will be returned.
1136
+ # @param [String] page_token
1137
+ # Optional. A page token, received from a previous `ListAgentFlows` call.
1138
+ # Provide this to retrieve the subsequent page. When paginating, all other
1139
+ # parameters provided to `ListAgentFlows` must match the call that provided the
1140
+ # page token.
1141
+ # @param [String] read_mask
1142
+ # Optional. The mask which specifies fields that need to be returned in the
1143
+ # AgentFlow's response.
1144
+ # @param [String] fields
1145
+ # Selector specifying which fields to include in a partial response.
1146
+ # @param [String] quota_user
1147
+ # Available to use for quota purposes for server-side applications. Can be any
1148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1149
+ # @param [Google::Apis::RequestOptions] options
1150
+ # Request-specific options
1151
+ #
1152
+ # @yield [result, err] Result & error if block supplied
1153
+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAgentFlowsResponse] parsed result object
1154
+ # @yieldparam err [StandardError] error object if request failed
1155
+ #
1156
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAgentFlowsResponse]
1157
+ #
1158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1161
+ def list_project_location_collection_engine_assistant_agent_flows(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1162
+ command = make_simple_command(:get, 'v1/{+parent}/agentFlows', options)
1163
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAgentFlowsResponse::Representation
1164
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAgentFlowsResponse
1165
+ command.params['parent'] = parent unless parent.nil?
1166
+ command.query['filter'] = filter unless filter.nil?
1167
+ command.query['orderBy'] = order_by unless order_by.nil?
1168
+ command.query['pageSize'] = page_size unless page_size.nil?
1169
+ command.query['pageToken'] = page_token unless page_token.nil?
1170
+ command.query['readMask'] = read_mask unless read_mask.nil?
1171
+ command.query['fields'] = fields unless fields.nil?
1172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1173
+ execute_or_queue_command(command, &block)
1174
+ end
1175
+
1176
+ # Updates an existing AgentFlow.
1177
+ # @param [String] name
1178
+ # Required. Resource name of the agent flow.
1179
+ # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow] google_cloud_integrations_v1alpha_agent_flow_object
1180
+ # @param [String] update_mask
1181
+ # Optional. Field mask specifying the fields in the above AgentFlow that have
1182
+ # been modified and need to be updated.
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::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow] parsed result object
1193
+ # @yieldparam err [StandardError] error object if request failed
1194
+ #
1195
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow]
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 patch_project_location_collection_engine_assistant_agent_flow(name, google_cloud_integrations_v1alpha_agent_flow_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1201
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1202
+ command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
1203
+ command.request_object = google_cloud_integrations_v1alpha_agent_flow_object
1204
+ command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow::Representation
1205
+ command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAgentFlow
1206
+ command.params['name'] = name unless name.nil?
1207
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1208
+ command.query['fields'] = fields unless fields.nil?
1209
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1210
+ execute_or_queue_command(command, &block)
1211
+ end
1212
+
962
1213
  # Lists the available entities and actions associated with a Connection.
963
1214
  # @param [String] name
964
1215
  # Required. ConnectionSchemaMetadata name. Format: projects/`project`/locations/`
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-integrations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1/v0.10.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1/v0.11.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Application Integration API V1
79
79
  test_files: []