google-apis-connectors_v2 0.29.0 → 0.30.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f076d5f1dd02b7dba38da683aa84dbf87446bde067333216b1705304d752e0f
|
|
4
|
+
data.tar.gz: b04f7b9d9cfc8784ade0ed63f2f098a8067a50bca55388fbab7c436c3fc4521c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1896c22331121bf3b7bef10bd8995307798f31c67e42b0ba72c4afcdccad94f4e8fb1ed3433a742eaba607e31df536102fefd039e47c14b5c1547f9f303d2ac5
|
|
7
|
+
data.tar.gz: e970d10c1c28ae620214f901b16a700657a97a8ae73e439fe12766d8bdc6023f470812b2b4555a10c3a295bce81b2cf48493a4ae9918934ab9e24b7b0b9eef06
|
data/CHANGELOG.md
CHANGED
|
@@ -431,6 +431,16 @@ module Google
|
|
|
431
431
|
# @return [Google::Apis::ConnectorsV2::AuthCodeData]
|
|
432
432
|
attr_accessor :auth_code_data
|
|
433
433
|
|
|
434
|
+
# ExecutionConfig contains the configuration for the execution of the request.
|
|
435
|
+
# Corresponds to the JSON property `executionConfig`
|
|
436
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
437
|
+
attr_accessor :execution_config
|
|
438
|
+
|
|
439
|
+
# OAuth2Config contains the OAuth2 config for the connection.
|
|
440
|
+
# Corresponds to the JSON property `oauth2Config`
|
|
441
|
+
# @return [Google::Apis::ConnectorsV2::OAuth2Config]
|
|
442
|
+
attr_accessor :oauth2_config
|
|
443
|
+
|
|
434
444
|
def initialize(**args)
|
|
435
445
|
update!(**args)
|
|
436
446
|
end
|
|
@@ -438,6 +448,8 @@ module Google
|
|
|
438
448
|
# Update properties of this object
|
|
439
449
|
def update!(**args)
|
|
440
450
|
@auth_code_data = args[:auth_code_data] if args.key?(:auth_code_data)
|
|
451
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
452
|
+
@oauth2_config = args[:oauth2_config] if args.key?(:oauth2_config)
|
|
441
453
|
end
|
|
442
454
|
end
|
|
443
455
|
|
|
@@ -472,6 +484,11 @@ module Google
|
|
|
472
484
|
class ExecuteActionRequest
|
|
473
485
|
include Google::Apis::Core::Hashable
|
|
474
486
|
|
|
487
|
+
# Execution config for the request.
|
|
488
|
+
# Corresponds to the JSON property `executionConfig`
|
|
489
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
490
|
+
attr_accessor :execution_config
|
|
491
|
+
|
|
475
492
|
# Parameters for executing the action. The parameters can be key/value pairs or
|
|
476
493
|
# nested structs.
|
|
477
494
|
# Corresponds to the JSON property `parameters`
|
|
@@ -484,6 +501,7 @@ module Google
|
|
|
484
501
|
|
|
485
502
|
# Update properties of this object
|
|
486
503
|
def update!(**args)
|
|
504
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
487
505
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
488
506
|
end
|
|
489
507
|
end
|
|
@@ -566,18 +584,30 @@ module Google
|
|
|
566
584
|
class ExecuteToolRequest
|
|
567
585
|
include Google::Apis::Core::Hashable
|
|
568
586
|
|
|
587
|
+
# execution config for the request.
|
|
588
|
+
# Corresponds to the JSON property `executionConfig`
|
|
589
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
590
|
+
attr_accessor :execution_config
|
|
591
|
+
|
|
569
592
|
# Input parameters for the tool.
|
|
570
593
|
# Corresponds to the JSON property `parameters`
|
|
571
594
|
# @return [Hash<String,Object>]
|
|
572
595
|
attr_accessor :parameters
|
|
573
596
|
|
|
597
|
+
# Tool definition for the tool to be executed.
|
|
598
|
+
# Corresponds to the JSON property `toolDefinition`
|
|
599
|
+
# @return [Hash<String,Object>]
|
|
600
|
+
attr_accessor :tool_definition
|
|
601
|
+
|
|
574
602
|
def initialize(**args)
|
|
575
603
|
update!(**args)
|
|
576
604
|
end
|
|
577
605
|
|
|
578
606
|
# Update properties of this object
|
|
579
607
|
def update!(**args)
|
|
608
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
580
609
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
610
|
+
@tool_definition = args[:tool_definition] if args.key?(:tool_definition)
|
|
581
611
|
end
|
|
582
612
|
end
|
|
583
613
|
|
|
@@ -606,6 +636,27 @@ module Google
|
|
|
606
636
|
end
|
|
607
637
|
end
|
|
608
638
|
|
|
639
|
+
#
|
|
640
|
+
class ExecutionConfig
|
|
641
|
+
include Google::Apis::Core::Hashable
|
|
642
|
+
|
|
643
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
644
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
645
|
+
# config":"runtime-cfg"`'
|
|
646
|
+
# Corresponds to the JSON property `headers`
|
|
647
|
+
# @return [String]
|
|
648
|
+
attr_accessor :headers
|
|
649
|
+
|
|
650
|
+
def initialize(**args)
|
|
651
|
+
update!(**args)
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
# Update properties of this object
|
|
655
|
+
def update!(**args)
|
|
656
|
+
@headers = args[:headers] if args.key?(:headers)
|
|
657
|
+
end
|
|
658
|
+
end
|
|
659
|
+
|
|
609
660
|
# Message contains EntityType's Field metadata.
|
|
610
661
|
class Field
|
|
611
662
|
include Google::Apis::Core::Hashable
|
|
@@ -679,6 +730,31 @@ module Google
|
|
|
679
730
|
end
|
|
680
731
|
end
|
|
681
732
|
|
|
733
|
+
# Request message for ConnectorAgentService.GetResourcePost
|
|
734
|
+
class GetResourcePostRequest
|
|
735
|
+
include Google::Apis::Core::Hashable
|
|
736
|
+
|
|
737
|
+
# execution config for the request.
|
|
738
|
+
# Corresponds to the JSON property `executionConfig`
|
|
739
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
740
|
+
attr_accessor :execution_config
|
|
741
|
+
|
|
742
|
+
# List of tool specifications.
|
|
743
|
+
# Corresponds to the JSON property `toolSpec`
|
|
744
|
+
# @return [Google::Apis::ConnectorsV2::ToolSpec]
|
|
745
|
+
attr_accessor :tool_spec
|
|
746
|
+
|
|
747
|
+
def initialize(**args)
|
|
748
|
+
update!(**args)
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# Update properties of this object
|
|
752
|
+
def update!(**args)
|
|
753
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
754
|
+
@tool_spec = args[:tool_spec] if args.key?(:tool_spec)
|
|
755
|
+
end
|
|
756
|
+
end
|
|
757
|
+
|
|
682
758
|
#
|
|
683
759
|
class GetResourceResponse
|
|
684
760
|
include Google::Apis::Core::Hashable
|
|
@@ -1161,6 +1237,43 @@ module Google
|
|
|
1161
1237
|
end
|
|
1162
1238
|
end
|
|
1163
1239
|
|
|
1240
|
+
# Request message for ConnectorAgentService.ListToolsPost
|
|
1241
|
+
class ListToolsPostRequest
|
|
1242
|
+
include Google::Apis::Core::Hashable
|
|
1243
|
+
|
|
1244
|
+
# execution config for the request.
|
|
1245
|
+
# Corresponds to the JSON property `executionConfig`
|
|
1246
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
1247
|
+
attr_accessor :execution_config
|
|
1248
|
+
|
|
1249
|
+
# Page size.
|
|
1250
|
+
# Corresponds to the JSON property `pageSize`
|
|
1251
|
+
# @return [Fixnum]
|
|
1252
|
+
attr_accessor :page_size
|
|
1253
|
+
|
|
1254
|
+
# Page token.
|
|
1255
|
+
# Corresponds to the JSON property `pageToken`
|
|
1256
|
+
# @return [String]
|
|
1257
|
+
attr_accessor :page_token
|
|
1258
|
+
|
|
1259
|
+
# List of tool specifications.
|
|
1260
|
+
# Corresponds to the JSON property `toolSpec`
|
|
1261
|
+
# @return [Google::Apis::ConnectorsV2::ToolSpec]
|
|
1262
|
+
attr_accessor :tool_spec
|
|
1263
|
+
|
|
1264
|
+
def initialize(**args)
|
|
1265
|
+
update!(**args)
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1268
|
+
# Update properties of this object
|
|
1269
|
+
def update!(**args)
|
|
1270
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
1271
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
|
1272
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
1273
|
+
@tool_spec = args[:tool_spec] if args.key?(:tool_spec)
|
|
1274
|
+
end
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1164
1277
|
# Response message for ConnectorAgentService.ListTools
|
|
1165
1278
|
class ListToolsResponse
|
|
1166
1279
|
include Google::Apis::Core::Hashable
|
|
@@ -1425,6 +1538,37 @@ module Google
|
|
|
1425
1538
|
end
|
|
1426
1539
|
end
|
|
1427
1540
|
|
|
1541
|
+
#
|
|
1542
|
+
class OAuth2Config
|
|
1543
|
+
include Google::Apis::Core::Hashable
|
|
1544
|
+
|
|
1545
|
+
# Authorization Server URL/Token Endpoint for Authorization Code Flow
|
|
1546
|
+
# Corresponds to the JSON property `authUri`
|
|
1547
|
+
# @return [String]
|
|
1548
|
+
attr_accessor :auth_uri
|
|
1549
|
+
|
|
1550
|
+
# Client ID for the OAuth2 flow.
|
|
1551
|
+
# Corresponds to the JSON property `clientId`
|
|
1552
|
+
# @return [String]
|
|
1553
|
+
attr_accessor :client_id
|
|
1554
|
+
|
|
1555
|
+
# Client secret for the OAuth2 flow.
|
|
1556
|
+
# Corresponds to the JSON property `clientSecret`
|
|
1557
|
+
# @return [String]
|
|
1558
|
+
attr_accessor :client_secret
|
|
1559
|
+
|
|
1560
|
+
def initialize(**args)
|
|
1561
|
+
update!(**args)
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# Update properties of this object
|
|
1565
|
+
def update!(**args)
|
|
1566
|
+
@auth_uri = args[:auth_uri] if args.key?(:auth_uri)
|
|
1567
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
|
1568
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
|
1569
|
+
end
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1428
1572
|
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
|
1429
1573
|
class PerSliSloEligibility
|
|
1430
1574
|
include Google::Apis::Core::Hashable
|
|
@@ -1579,6 +1723,16 @@ module Google
|
|
|
1579
1723
|
class RefreshAccessTokenRequest
|
|
1580
1724
|
include Google::Apis::Core::Hashable
|
|
1581
1725
|
|
|
1726
|
+
# ExecutionConfig contains the configuration for the execution of the request.
|
|
1727
|
+
# Corresponds to the JSON property `executionConfig`
|
|
1728
|
+
# @return [Google::Apis::ConnectorsV2::ExecutionConfig]
|
|
1729
|
+
attr_accessor :execution_config
|
|
1730
|
+
|
|
1731
|
+
# OAuth2Config contains the OAuth2 config for the connection.
|
|
1732
|
+
# Corresponds to the JSON property `oauth2Config`
|
|
1733
|
+
# @return [Google::Apis::ConnectorsV2::OAuth2Config]
|
|
1734
|
+
attr_accessor :oauth2_config
|
|
1735
|
+
|
|
1582
1736
|
# Optional. Refresh Token String. If the Refresh Token is not provided, the
|
|
1583
1737
|
# runtime will read the data from the secret manager.
|
|
1584
1738
|
# Corresponds to the JSON property `refreshToken`
|
|
@@ -1591,6 +1745,8 @@ module Google
|
|
|
1591
1745
|
|
|
1592
1746
|
# Update properties of this object
|
|
1593
1747
|
def update!(**args)
|
|
1748
|
+
@execution_config = args[:execution_config] if args.key?(:execution_config)
|
|
1749
|
+
@oauth2_config = args[:oauth2_config] if args.key?(:oauth2_config)
|
|
1594
1750
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
|
1595
1751
|
end
|
|
1596
1752
|
end
|
|
@@ -1963,6 +2119,31 @@ module Google
|
|
|
1963
2119
|
end
|
|
1964
2120
|
end
|
|
1965
2121
|
|
|
2122
|
+
#
|
|
2123
|
+
class ToolSpec
|
|
2124
|
+
include Google::Apis::Core::Hashable
|
|
2125
|
+
|
|
2126
|
+
# List of tool definitions.
|
|
2127
|
+
# Corresponds to the JSON property `toolDefinitions`
|
|
2128
|
+
# @return [Array<Hash<String,Object>>]
|
|
2129
|
+
attr_accessor :tool_definitions
|
|
2130
|
+
|
|
2131
|
+
# Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId
|
|
2132
|
+
# Corresponds to the JSON property `toolSpecVersion`
|
|
2133
|
+
# @return [String]
|
|
2134
|
+
attr_accessor :tool_spec_version
|
|
2135
|
+
|
|
2136
|
+
def initialize(**args)
|
|
2137
|
+
update!(**args)
|
|
2138
|
+
end
|
|
2139
|
+
|
|
2140
|
+
# Update properties of this object
|
|
2141
|
+
def update!(**args)
|
|
2142
|
+
@tool_definitions = args[:tool_definitions] if args.key?(:tool_definitions)
|
|
2143
|
+
@tool_spec_version = args[:tool_spec_version] if args.key?(:tool_spec_version)
|
|
2144
|
+
end
|
|
2145
|
+
end
|
|
2146
|
+
|
|
1966
2147
|
# Response message for EntityService.UpdateEntitiesWithConditions
|
|
1967
2148
|
class UpdateEntitiesWithConditionsResponse
|
|
1968
2149
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ConnectorsV2
|
|
18
18
|
# Version of the google-apis-connectors_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.30.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 = "
|
|
25
|
+
REVISION = "20251216"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -136,12 +136,24 @@ module Google
|
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
+
class ExecutionConfig
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
139
145
|
class Field
|
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
147
|
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
149
|
end
|
|
144
150
|
|
|
151
|
+
class GetResourcePostRequest
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
145
157
|
class GetResourceResponse
|
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
159
|
|
|
@@ -190,6 +202,12 @@ module Google
|
|
|
190
202
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
203
|
end
|
|
192
204
|
|
|
205
|
+
class ListToolsPostRequest
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
193
211
|
class ListToolsResponse
|
|
194
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
213
|
|
|
@@ -232,6 +250,12 @@ module Google
|
|
|
232
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
251
|
end
|
|
234
252
|
|
|
253
|
+
class OAuth2Config
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
235
259
|
class PerSliSloEligibility
|
|
236
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
261
|
|
|
@@ -322,6 +346,12 @@ module Google
|
|
|
322
346
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
347
|
end
|
|
324
348
|
|
|
349
|
+
class ToolSpec
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
325
355
|
class UpdateEntitiesWithConditionsResponse
|
|
326
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
357
|
|
|
@@ -457,6 +487,10 @@ module Google
|
|
|
457
487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
458
488
|
property :auth_code_data, as: 'authCodeData', class: Google::Apis::ConnectorsV2::AuthCodeData, decorator: Google::Apis::ConnectorsV2::AuthCodeData::Representation
|
|
459
489
|
|
|
490
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
491
|
+
|
|
492
|
+
property :oauth2_config, as: 'oauth2Config', class: Google::Apis::ConnectorsV2::OAuth2Config, decorator: Google::Apis::ConnectorsV2::OAuth2Config::Representation
|
|
493
|
+
|
|
460
494
|
end
|
|
461
495
|
end
|
|
462
496
|
|
|
@@ -472,6 +506,8 @@ module Google
|
|
|
472
506
|
class ExecuteActionRequest
|
|
473
507
|
# @private
|
|
474
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
509
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
510
|
+
|
|
475
511
|
hash :parameters, as: 'parameters'
|
|
476
512
|
end
|
|
477
513
|
end
|
|
@@ -502,7 +538,10 @@ module Google
|
|
|
502
538
|
class ExecuteToolRequest
|
|
503
539
|
# @private
|
|
504
540
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
541
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
542
|
+
|
|
505
543
|
hash :parameters, as: 'parameters'
|
|
544
|
+
hash :tool_definition, as: 'toolDefinition'
|
|
506
545
|
end
|
|
507
546
|
end
|
|
508
547
|
|
|
@@ -514,6 +553,13 @@ module Google
|
|
|
514
553
|
end
|
|
515
554
|
end
|
|
516
555
|
|
|
556
|
+
class ExecutionConfig
|
|
557
|
+
# @private
|
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
559
|
+
property :headers, as: 'headers'
|
|
560
|
+
end
|
|
561
|
+
end
|
|
562
|
+
|
|
517
563
|
class Field
|
|
518
564
|
# @private
|
|
519
565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -531,6 +577,16 @@ module Google
|
|
|
531
577
|
end
|
|
532
578
|
end
|
|
533
579
|
|
|
580
|
+
class GetResourcePostRequest
|
|
581
|
+
# @private
|
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
583
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
584
|
+
|
|
585
|
+
property :tool_spec, as: 'toolSpec', class: Google::Apis::ConnectorsV2::ToolSpec, decorator: Google::Apis::ConnectorsV2::ToolSpec::Representation
|
|
586
|
+
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
|
|
534
590
|
class GetResourceResponse
|
|
535
591
|
# @private
|
|
536
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -643,6 +699,18 @@ module Google
|
|
|
643
699
|
end
|
|
644
700
|
end
|
|
645
701
|
|
|
702
|
+
class ListToolsPostRequest
|
|
703
|
+
# @private
|
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
705
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
706
|
+
|
|
707
|
+
property :page_size, as: 'pageSize'
|
|
708
|
+
property :page_token, as: 'pageToken'
|
|
709
|
+
property :tool_spec, as: 'toolSpec', class: Google::Apis::ConnectorsV2::ToolSpec, decorator: Google::Apis::ConnectorsV2::ToolSpec::Representation
|
|
710
|
+
|
|
711
|
+
end
|
|
712
|
+
end
|
|
713
|
+
|
|
646
714
|
class ListToolsResponse
|
|
647
715
|
# @private
|
|
648
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -715,6 +783,15 @@ module Google
|
|
|
715
783
|
end
|
|
716
784
|
end
|
|
717
785
|
|
|
786
|
+
class OAuth2Config
|
|
787
|
+
# @private
|
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
789
|
+
property :auth_uri, as: 'authUri'
|
|
790
|
+
property :client_id, as: 'clientId'
|
|
791
|
+
property :client_secret, as: 'clientSecret'
|
|
792
|
+
end
|
|
793
|
+
end
|
|
794
|
+
|
|
718
795
|
class PerSliSloEligibility
|
|
719
796
|
# @private
|
|
720
797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -761,6 +838,10 @@ module Google
|
|
|
761
838
|
class RefreshAccessTokenRequest
|
|
762
839
|
# @private
|
|
763
840
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
841
|
+
property :execution_config, as: 'executionConfig', class: Google::Apis::ConnectorsV2::ExecutionConfig, decorator: Google::Apis::ConnectorsV2::ExecutionConfig::Representation
|
|
842
|
+
|
|
843
|
+
property :oauth2_config, as: 'oauth2Config', class: Google::Apis::ConnectorsV2::OAuth2Config, decorator: Google::Apis::ConnectorsV2::OAuth2Config::Representation
|
|
844
|
+
|
|
764
845
|
property :refresh_token, as: 'refreshToken'
|
|
765
846
|
end
|
|
766
847
|
end
|
|
@@ -863,6 +944,14 @@ module Google
|
|
|
863
944
|
end
|
|
864
945
|
end
|
|
865
946
|
|
|
947
|
+
class ToolSpec
|
|
948
|
+
# @private
|
|
949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
950
|
+
collection :tool_definitions, as: 'toolDefinitions'
|
|
951
|
+
property :tool_spec_version, as: 'toolSpecVersion'
|
|
952
|
+
end
|
|
953
|
+
end
|
|
954
|
+
|
|
866
955
|
class UpdateEntitiesWithConditionsResponse
|
|
867
956
|
# @private
|
|
868
957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -88,6 +88,10 @@ module Google
|
|
|
88
88
|
# that is not "OK", which indicates that ConnectionStatus itself, not the
|
|
89
89
|
# connection, failed.
|
|
90
90
|
# @param [String] name
|
|
91
|
+
# @param [String] execution_config_headers
|
|
92
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
93
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
94
|
+
# config":"runtime-cfg"`'
|
|
91
95
|
# @param [String] fields
|
|
92
96
|
# Selector specifying which fields to include in a partial response.
|
|
93
97
|
# @param [String] quota_user
|
|
@@ -105,11 +109,12 @@ module Google
|
|
|
105
109
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
106
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
107
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
108
|
-
def check_project_location_connection_status(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
112
|
+
def check_project_location_connection_status(name, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
109
113
|
command = make_simple_command(:get, 'v2/{+name}:checkStatus', options)
|
|
110
114
|
command.response_representation = Google::Apis::ConnectorsV2::CheckStatusResponse::Representation
|
|
111
115
|
command.response_class = Google::Apis::ConnectorsV2::CheckStatusResponse
|
|
112
116
|
command.params['name'] = name unless name.nil?
|
|
117
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
113
118
|
command.query['fields'] = fields unless fields.nil?
|
|
114
119
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
115
120
|
execute_or_queue_command(command, &block)
|
|
@@ -217,6 +222,40 @@ module Google
|
|
|
217
222
|
execute_or_queue_command(command, &block)
|
|
218
223
|
end
|
|
219
224
|
|
|
225
|
+
# Lists all available tools with POST.
|
|
226
|
+
# @param [String] parent
|
|
227
|
+
# Required. Resource name of the Connection. Format: projects/`project`/
|
|
228
|
+
# locations/`location`/connections/`connection`
|
|
229
|
+
# @param [Google::Apis::ConnectorsV2::ListToolsPostRequest] list_tools_post_request_object
|
|
230
|
+
# @param [String] fields
|
|
231
|
+
# Selector specifying which fields to include in a partial response.
|
|
232
|
+
# @param [String] quota_user
|
|
233
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
234
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
235
|
+
# @param [Google::Apis::RequestOptions] options
|
|
236
|
+
# Request-specific options
|
|
237
|
+
#
|
|
238
|
+
# @yield [result, err] Result & error if block supplied
|
|
239
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::ListToolsResponse] parsed result object
|
|
240
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
241
|
+
#
|
|
242
|
+
# @return [Google::Apis::ConnectorsV2::ListToolsResponse]
|
|
243
|
+
#
|
|
244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
247
|
+
def tools_project_location_connection(parent, list_tools_post_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
248
|
+
command = make_simple_command(:post, 'v2/{+parent}/tools', options)
|
|
249
|
+
command.request_representation = Google::Apis::ConnectorsV2::ListToolsPostRequest::Representation
|
|
250
|
+
command.request_object = list_tools_post_request_object
|
|
251
|
+
command.response_representation = Google::Apis::ConnectorsV2::ListToolsResponse::Representation
|
|
252
|
+
command.response_class = Google::Apis::ConnectorsV2::ListToolsResponse
|
|
253
|
+
command.params['parent'] = parent unless parent.nil?
|
|
254
|
+
command.query['fields'] = fields unless fields.nil?
|
|
255
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
256
|
+
execute_or_queue_command(command, &block)
|
|
257
|
+
end
|
|
258
|
+
|
|
220
259
|
# Executes an action with the name specified in the request. The input
|
|
221
260
|
# parameters for executing the action are passed through the body of the
|
|
222
261
|
# ExecuteAction request.
|
|
@@ -257,6 +296,10 @@ module Google
|
|
|
257
296
|
# @param [String] name
|
|
258
297
|
# Required. Resource name of the Action. Format: projects/`project`/locations/`
|
|
259
298
|
# location`/connections/`connection`/actions/`action`
|
|
299
|
+
# @param [String] execution_config_headers
|
|
300
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
301
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
302
|
+
# config":"runtime-cfg"`'
|
|
260
303
|
# @param [String] view
|
|
261
304
|
# Specified view of the action schema.
|
|
262
305
|
# @param [String] fields
|
|
@@ -276,11 +319,12 @@ module Google
|
|
|
276
319
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
277
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
278
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
279
|
-
def get_project_location_connection_action(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
322
|
+
def get_project_location_connection_action(name, execution_config_headers: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
280
323
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
281
324
|
command.response_representation = Google::Apis::ConnectorsV2::Action::Representation
|
|
282
325
|
command.response_class = Google::Apis::ConnectorsV2::Action
|
|
283
326
|
command.params['name'] = name unless name.nil?
|
|
327
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
284
328
|
command.query['view'] = view unless view.nil?
|
|
285
329
|
command.query['fields'] = fields unless fields.nil?
|
|
286
330
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -291,6 +335,10 @@ module Google
|
|
|
291
335
|
# @param [String] parent
|
|
292
336
|
# Required. Parent resource name of the Action. Format: projects/`project`/
|
|
293
337
|
# locations/`location`/connections/`connection`
|
|
338
|
+
# @param [String] execution_config_headers
|
|
339
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
340
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
341
|
+
# config":"runtime-cfg"`'
|
|
294
342
|
# @param [Fixnum] page_size
|
|
295
343
|
# Number of Actions to return. Defaults to 25.
|
|
296
344
|
# @param [String] page_token
|
|
@@ -316,11 +364,12 @@ module Google
|
|
|
316
364
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
317
365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
318
366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
319
|
-
def list_project_location_connection_actions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
367
|
+
def list_project_location_connection_actions(parent, execution_config_headers: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
320
368
|
command = make_simple_command(:get, 'v2/{+parent}/actions', options)
|
|
321
369
|
command.response_representation = Google::Apis::ConnectorsV2::ListActionsResponse::Representation
|
|
322
370
|
command.response_class = Google::Apis::ConnectorsV2::ListActionsResponse
|
|
323
371
|
command.params['parent'] = parent unless parent.nil?
|
|
372
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
324
373
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
325
374
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
326
375
|
command.query['view'] = view unless view.nil?
|
|
@@ -336,6 +385,10 @@ module Google
|
|
|
336
385
|
# @param [String] context_metadata
|
|
337
386
|
# Context metadata for request could be used to fetch customization of entity
|
|
338
387
|
# type schema.
|
|
388
|
+
# @param [String] execution_config_headers
|
|
389
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
390
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
391
|
+
# config":"runtime-cfg"`'
|
|
339
392
|
# @param [String] view
|
|
340
393
|
# Specifies view for entity type schema.
|
|
341
394
|
# @param [String] fields
|
|
@@ -355,12 +408,13 @@ module Google
|
|
|
355
408
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
356
409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
357
410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
358
|
-
def get_project_location_connection_entity_type(name, context_metadata: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
411
|
+
def get_project_location_connection_entity_type(name, context_metadata: nil, execution_config_headers: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
359
412
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
360
413
|
command.response_representation = Google::Apis::ConnectorsV2::EntityType::Representation
|
|
361
414
|
command.response_class = Google::Apis::ConnectorsV2::EntityType
|
|
362
415
|
command.params['name'] = name unless name.nil?
|
|
363
416
|
command.query['contextMetadata'] = context_metadata unless context_metadata.nil?
|
|
417
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
364
418
|
command.query['view'] = view unless view.nil?
|
|
365
419
|
command.query['fields'] = fields unless fields.nil?
|
|
366
420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -371,6 +425,10 @@ module Google
|
|
|
371
425
|
# @param [String] parent
|
|
372
426
|
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
|
373
427
|
# locations/`location`/connections/`connection`
|
|
428
|
+
# @param [String] execution_config_headers
|
|
429
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
430
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
431
|
+
# config":"runtime-cfg"`'
|
|
374
432
|
# @param [Fixnum] page_size
|
|
375
433
|
# Number of entity types to return. Defaults to 25.
|
|
376
434
|
# @param [String] page_token
|
|
@@ -396,11 +454,12 @@ module Google
|
|
|
396
454
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
397
455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
398
456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
399
|
-
def list_project_location_connection_entity_types(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
457
|
+
def list_project_location_connection_entity_types(parent, execution_config_headers: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
400
458
|
command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
|
|
401
459
|
command.response_representation = Google::Apis::ConnectorsV2::ListEntityTypesResponse::Representation
|
|
402
460
|
command.response_class = Google::Apis::ConnectorsV2::ListEntityTypesResponse
|
|
403
461
|
command.params['parent'] = parent unless parent.nil?
|
|
462
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
404
463
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
405
464
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
406
465
|
command.query['view'] = view unless view.nil?
|
|
@@ -417,6 +476,10 @@ module Google
|
|
|
417
476
|
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
|
418
477
|
# locations/`location`/connections/`connection`/entityTypes/`type`
|
|
419
478
|
# @param [Google::Apis::ConnectorsV2::Entity] entity_object
|
|
479
|
+
# @param [String] execution_config_headers
|
|
480
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
481
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
482
|
+
# config":"runtime-cfg"`'
|
|
420
483
|
# @param [String] fields
|
|
421
484
|
# Selector specifying which fields to include in a partial response.
|
|
422
485
|
# @param [String] quota_user
|
|
@@ -434,13 +497,14 @@ module Google
|
|
|
434
497
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
435
498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
436
499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
437
|
-
def create_project_location_connection_entity_type_entity(parent, entity_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
500
|
+
def create_project_location_connection_entity_type_entity(parent, entity_object = nil, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
438
501
|
command = make_simple_command(:post, 'v2/{+parent}/entities', options)
|
|
439
502
|
command.request_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
440
503
|
command.request_object = entity_object
|
|
441
504
|
command.response_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
442
505
|
command.response_class = Google::Apis::ConnectorsV2::Entity
|
|
443
506
|
command.params['parent'] = parent unless parent.nil?
|
|
507
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
444
508
|
command.query['fields'] = fields unless fields.nil?
|
|
445
509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
446
510
|
execute_or_queue_command(command, &block)
|
|
@@ -451,6 +515,10 @@ module Google
|
|
|
451
515
|
# @param [String] name
|
|
452
516
|
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
|
453
517
|
# locations/`location`/connections/`connection`/entityTypes/`type`/entities/`id`
|
|
518
|
+
# @param [String] execution_config_headers
|
|
519
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
520
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
521
|
+
# config":"runtime-cfg"`'
|
|
454
522
|
# @param [String] fields
|
|
455
523
|
# Selector specifying which fields to include in a partial response.
|
|
456
524
|
# @param [String] quota_user
|
|
@@ -468,11 +536,12 @@ module Google
|
|
|
468
536
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
469
537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
470
538
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
471
|
-
def delete_project_location_connection_entity_type_entity(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
539
|
+
def delete_project_location_connection_entity_type_entity(name, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
472
540
|
command = make_simple_command(:delete, 'v2/{+name}', options)
|
|
473
541
|
command.response_representation = Google::Apis::ConnectorsV2::Empty::Representation
|
|
474
542
|
command.response_class = Google::Apis::ConnectorsV2::Empty
|
|
475
543
|
command.params['name'] = name unless name.nil?
|
|
544
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
476
545
|
command.query['fields'] = fields unless fields.nil?
|
|
477
546
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
478
547
|
execute_or_queue_command(command, &block)
|
|
@@ -491,6 +560,10 @@ module Google
|
|
|
491
560
|
# an exception is thrown. We don't want to consider 'empty conditions' to be a
|
|
492
561
|
# match-all case. Connector developers can determine and document what a match-
|
|
493
562
|
# all case constraint would be.
|
|
563
|
+
# @param [String] execution_config_headers
|
|
564
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
565
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
566
|
+
# config":"runtime-cfg"`'
|
|
494
567
|
# @param [String] fields
|
|
495
568
|
# Selector specifying which fields to include in a partial response.
|
|
496
569
|
# @param [String] quota_user
|
|
@@ -508,12 +581,13 @@ module Google
|
|
|
508
581
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
509
582
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
510
583
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
511
|
-
def delete_project_location_connection_entity_type_entity_entities_with_conditions(entity_type, conditions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
584
|
+
def delete_project_location_connection_entity_type_entity_entities_with_conditions(entity_type, conditions: nil, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
512
585
|
command = make_simple_command(:post, 'v2/{+entityType}/entities:deleteEntitiesWithConditions', options)
|
|
513
586
|
command.response_representation = Google::Apis::ConnectorsV2::Empty::Representation
|
|
514
587
|
command.response_class = Google::Apis::ConnectorsV2::Empty
|
|
515
588
|
command.params['entityType'] = entity_type unless entity_type.nil?
|
|
516
589
|
command.query['conditions'] = conditions unless conditions.nil?
|
|
590
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
517
591
|
command.query['fields'] = fields unless fields.nil?
|
|
518
592
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
519
593
|
execute_or_queue_command(command, &block)
|
|
@@ -524,6 +598,10 @@ module Google
|
|
|
524
598
|
# @param [String] name
|
|
525
599
|
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
|
526
600
|
# locations/`location`/connections/`connection`/entityTypes/`type`/entities/`id`
|
|
601
|
+
# @param [String] execution_config_headers
|
|
602
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
603
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
604
|
+
# config":"runtime-cfg"`'
|
|
527
605
|
# @param [String] fields
|
|
528
606
|
# Selector specifying which fields to include in a partial response.
|
|
529
607
|
# @param [String] quota_user
|
|
@@ -541,11 +619,12 @@ module Google
|
|
|
541
619
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
542
620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
543
621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
544
|
-
def get_project_location_connection_entity_type_entity(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
622
|
+
def get_project_location_connection_entity_type_entity(name, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
545
623
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
546
624
|
command.response_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
547
625
|
command.response_class = Google::Apis::ConnectorsV2::Entity
|
|
548
626
|
command.params['name'] = name unless name.nil?
|
|
627
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
549
628
|
command.query['fields'] = fields unless fields.nil?
|
|
550
629
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
551
630
|
execute_or_queue_command(command, &block)
|
|
@@ -568,6 +647,10 @@ module Google
|
|
|
568
647
|
# are no restrictions on what can be passed using this field. The connector
|
|
569
648
|
# documentation should have information about what format of filters/conditions
|
|
570
649
|
# are supported.
|
|
650
|
+
# @param [String] execution_config_headers
|
|
651
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
652
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
653
|
+
# config":"runtime-cfg"`'
|
|
571
654
|
# @param [Fixnum] page_size
|
|
572
655
|
# Number of entity rows to return. Defaults page size = 25. Max page size = 200.
|
|
573
656
|
# @param [String] page_token
|
|
@@ -593,12 +676,13 @@ module Google
|
|
|
593
676
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
594
677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
595
678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
596
|
-
def list_project_location_connection_entity_type_entities(parent, conditions: nil, page_size: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
679
|
+
def list_project_location_connection_entity_type_entities(parent, conditions: nil, execution_config_headers: nil, page_size: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
597
680
|
command = make_simple_command(:get, 'v2/{+parent}/entities', options)
|
|
598
681
|
command.response_representation = Google::Apis::ConnectorsV2::ListEntitiesResponse::Representation
|
|
599
682
|
command.response_class = Google::Apis::ConnectorsV2::ListEntitiesResponse
|
|
600
683
|
command.params['parent'] = parent unless parent.nil?
|
|
601
684
|
command.query['conditions'] = conditions unless conditions.nil?
|
|
685
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
602
686
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
603
687
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
604
688
|
command.query['sortBy'] = sort_by unless sort_by.nil?
|
|
@@ -617,6 +701,10 @@ module Google
|
|
|
617
701
|
# Output only. Resource name of the Entity. Format: projects/`project`/locations/
|
|
618
702
|
# `location`/connections/`connection`/entityTypes/`type`/entities/`id`
|
|
619
703
|
# @param [Google::Apis::ConnectorsV2::Entity] entity_object
|
|
704
|
+
# @param [String] execution_config_headers
|
|
705
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
706
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
707
|
+
# config":"runtime-cfg"`'
|
|
620
708
|
# @param [String] fields
|
|
621
709
|
# Selector specifying which fields to include in a partial response.
|
|
622
710
|
# @param [String] quota_user
|
|
@@ -634,13 +722,14 @@ module Google
|
|
|
634
722
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
635
723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
636
724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
637
|
-
def patch_project_location_connection_entity_type_entity(name, entity_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
725
|
+
def patch_project_location_connection_entity_type_entity(name, entity_object = nil, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
638
726
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
|
639
727
|
command.request_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
640
728
|
command.request_object = entity_object
|
|
641
729
|
command.response_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
642
730
|
command.response_class = Google::Apis::ConnectorsV2::Entity
|
|
643
731
|
command.params['name'] = name unless name.nil?
|
|
732
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
644
733
|
command.query['fields'] = fields unless fields.nil?
|
|
645
734
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
646
735
|
execute_or_queue_command(command, &block)
|
|
@@ -660,6 +749,10 @@ module Google
|
|
|
660
749
|
# an exception is thrown. We don't want to consider 'empty conditions' to be a
|
|
661
750
|
# match-all case. Connector developers can determine and document what a match-
|
|
662
751
|
# all case constraint would be.
|
|
752
|
+
# @param [String] execution_config_headers
|
|
753
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
754
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
755
|
+
# config":"runtime-cfg"`'
|
|
663
756
|
# @param [String] fields
|
|
664
757
|
# Selector specifying which fields to include in a partial response.
|
|
665
758
|
# @param [String] quota_user
|
|
@@ -677,7 +770,7 @@ module Google
|
|
|
677
770
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
678
771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
679
772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
680
|
-
def update_project_location_connection_entity_type_entity_entities_with_conditions(entity_type, entity_object = nil, conditions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
773
|
+
def update_project_location_connection_entity_type_entity_entities_with_conditions(entity_type, entity_object = nil, conditions: nil, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
681
774
|
command = make_simple_command(:post, 'v2/{+entityType}/entities:updateEntitiesWithConditions', options)
|
|
682
775
|
command.request_representation = Google::Apis::ConnectorsV2::Entity::Representation
|
|
683
776
|
command.request_object = entity_object
|
|
@@ -685,6 +778,7 @@ module Google
|
|
|
685
778
|
command.response_class = Google::Apis::ConnectorsV2::UpdateEntitiesWithConditionsResponse
|
|
686
779
|
command.params['entityType'] = entity_type unless entity_type.nil?
|
|
687
780
|
command.query['conditions'] = conditions unless conditions.nil?
|
|
781
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
688
782
|
command.query['fields'] = fields unless fields.nil?
|
|
689
783
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
690
784
|
execute_or_queue_command(command, &block)
|
|
@@ -694,6 +788,10 @@ module Google
|
|
|
694
788
|
# @param [String] name
|
|
695
789
|
# Required. Resource name of the Resource. Format: projects/`project`/locations/`
|
|
696
790
|
# location`/connections/`connection`/resources/`resource`
|
|
791
|
+
# @param [String] execution_config_headers
|
|
792
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
793
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
794
|
+
# config":"runtime-cfg"`'
|
|
697
795
|
# @param [String] fields
|
|
698
796
|
# Selector specifying which fields to include in a partial response.
|
|
699
797
|
# @param [String] quota_user
|
|
@@ -711,11 +809,46 @@ module Google
|
|
|
711
809
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
712
810
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
713
811
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
714
|
-
def get_project_location_connection_resource(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
812
|
+
def get_project_location_connection_resource(name, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
715
813
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
716
814
|
command.response_representation = Google::Apis::ConnectorsV2::GetResourceResponse::Representation
|
|
717
815
|
command.response_class = Google::Apis::ConnectorsV2::GetResourceResponse
|
|
718
816
|
command.params['name'] = name unless name.nil?
|
|
817
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
818
|
+
command.query['fields'] = fields unless fields.nil?
|
|
819
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
820
|
+
execute_or_queue_command(command, &block)
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
# Gets a specific resource with POST.
|
|
824
|
+
# @param [String] name
|
|
825
|
+
# Required. Resource name of the Resource. Format: projects/`project`/locations/`
|
|
826
|
+
# location`/connections/`connection`/resources/`resource`
|
|
827
|
+
# @param [Google::Apis::ConnectorsV2::GetResourcePostRequest] get_resource_post_request_object
|
|
828
|
+
# @param [String] fields
|
|
829
|
+
# Selector specifying which fields to include in a partial response.
|
|
830
|
+
# @param [String] quota_user
|
|
831
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
832
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
833
|
+
# @param [Google::Apis::RequestOptions] options
|
|
834
|
+
# Request-specific options
|
|
835
|
+
#
|
|
836
|
+
# @yield [result, err] Result & error if block supplied
|
|
837
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::GetResourceResponse] parsed result object
|
|
838
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
839
|
+
#
|
|
840
|
+
# @return [Google::Apis::ConnectorsV2::GetResourceResponse]
|
|
841
|
+
#
|
|
842
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
843
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
844
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
845
|
+
def get_resource_post(name, get_resource_post_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
846
|
+
command = make_simple_command(:post, 'v2/{+name}', options)
|
|
847
|
+
command.request_representation = Google::Apis::ConnectorsV2::GetResourcePostRequest::Representation
|
|
848
|
+
command.request_object = get_resource_post_request_object
|
|
849
|
+
command.response_representation = Google::Apis::ConnectorsV2::GetResourceResponse::Representation
|
|
850
|
+
command.response_class = Google::Apis::ConnectorsV2::GetResourceResponse
|
|
851
|
+
command.params['name'] = name unless name.nil?
|
|
719
852
|
command.query['fields'] = fields unless fields.nil?
|
|
720
853
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
721
854
|
execute_or_queue_command(command, &block)
|
|
@@ -725,6 +858,10 @@ module Google
|
|
|
725
858
|
# @param [String] parent
|
|
726
859
|
# Required. Resource name of the connection. Format: projects/`project`/
|
|
727
860
|
# locations/`location`/connections/`connection`
|
|
861
|
+
# @param [String] execution_config_headers
|
|
862
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
863
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
864
|
+
# config":"runtime-cfg"`'
|
|
728
865
|
# @param [Fixnum] page_size
|
|
729
866
|
# Optional. Page size for the request.
|
|
730
867
|
# @param [String] page_token
|
|
@@ -746,11 +883,12 @@ module Google
|
|
|
746
883
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
747
884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
748
885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
749
|
-
def list_project_location_connection_resources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
886
|
+
def list_project_location_connection_resources(parent, execution_config_headers: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
750
887
|
command = make_simple_command(:get, 'v2/{+parent}/resources', options)
|
|
751
888
|
command.response_representation = Google::Apis::ConnectorsV2::ListResourcesResponse::Representation
|
|
752
889
|
command.response_class = Google::Apis::ConnectorsV2::ListResourcesResponse
|
|
753
890
|
command.params['parent'] = parent unless parent.nil?
|
|
891
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
754
892
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
755
893
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
756
894
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -796,6 +934,10 @@ module Google
|
|
|
796
934
|
# @param [String] parent
|
|
797
935
|
# Required. Resource name of the Connection. Format: projects/`project`/
|
|
798
936
|
# locations/`location`/connections/`connection`
|
|
937
|
+
# @param [String] execution_config_headers
|
|
938
|
+
# headers to be used for the request. For example: headers:'`"x-integration-
|
|
939
|
+
# connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-
|
|
940
|
+
# config":"runtime-cfg"`'
|
|
799
941
|
# @param [Fixnum] page_size
|
|
800
942
|
# Page size.
|
|
801
943
|
# @param [String] page_token
|
|
@@ -817,11 +959,12 @@ module Google
|
|
|
817
959
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
818
960
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
819
961
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
820
|
-
def list_project_location_connection_tools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
962
|
+
def list_project_location_connection_tools(parent, execution_config_headers: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
821
963
|
command = make_simple_command(:get, 'v2/{+parent}/tools', options)
|
|
822
964
|
command.response_representation = Google::Apis::ConnectorsV2::ListToolsResponse::Representation
|
|
823
965
|
command.response_class = Google::Apis::ConnectorsV2::ListToolsResponse
|
|
824
966
|
command.params['parent'] = parent unless parent.nil?
|
|
967
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
825
968
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
826
969
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
827
970
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-connectors_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.30.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.30.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|