google-apis-connectors_v2 0.28.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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-connectors_v2
|
|
2
2
|
|
|
3
|
+
### v0.30.0 (2026-01-18)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251216
|
|
6
|
+
|
|
7
|
+
### v0.29.0 (2025-10-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250930
|
|
10
|
+
|
|
3
11
|
### v0.28.0 (2025-09-28)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250917
|
|
@@ -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
|
|
|
@@ -585,6 +615,11 @@ module Google
|
|
|
585
615
|
class ExecuteToolResponse
|
|
586
616
|
include Google::Apis::Core::Hashable
|
|
587
617
|
|
|
618
|
+
# Metadata like service latency, etc.
|
|
619
|
+
# Corresponds to the JSON property `metadata`
|
|
620
|
+
# @return [Hash<String,Hash<String,Object>>]
|
|
621
|
+
attr_accessor :metadata
|
|
622
|
+
|
|
588
623
|
# Output from the tool execution.
|
|
589
624
|
# Corresponds to the JSON property `result`
|
|
590
625
|
# @return [Hash<String,Object>]
|
|
@@ -596,10 +631,32 @@ module Google
|
|
|
596
631
|
|
|
597
632
|
# Update properties of this object
|
|
598
633
|
def update!(**args)
|
|
634
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
599
635
|
@result = args[:result] if args.key?(:result)
|
|
600
636
|
end
|
|
601
637
|
end
|
|
602
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
|
+
|
|
603
660
|
# Message contains EntityType's Field metadata.
|
|
604
661
|
class Field
|
|
605
662
|
include Google::Apis::Core::Hashable
|
|
@@ -673,6 +730,63 @@ module Google
|
|
|
673
730
|
end
|
|
674
731
|
end
|
|
675
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
|
+
|
|
758
|
+
#
|
|
759
|
+
class GetResourceResponse
|
|
760
|
+
include Google::Apis::Core::Hashable
|
|
761
|
+
|
|
762
|
+
# The content of the resource.
|
|
763
|
+
# Corresponds to the JSON property `data`
|
|
764
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
765
|
+
# @return [String]
|
|
766
|
+
attr_accessor :data
|
|
767
|
+
|
|
768
|
+
# Metadata like service latency, etc.
|
|
769
|
+
# Corresponds to the JSON property `metadata`
|
|
770
|
+
# @return [Hash<String,Hash<String,Object>>]
|
|
771
|
+
attr_accessor :metadata
|
|
772
|
+
|
|
773
|
+
# The MIME type of the resource.
|
|
774
|
+
# Corresponds to the JSON property `mimeType`
|
|
775
|
+
# @return [String]
|
|
776
|
+
attr_accessor :mime_type
|
|
777
|
+
|
|
778
|
+
def initialize(**args)
|
|
779
|
+
update!(**args)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Update properties of this object
|
|
783
|
+
def update!(**args)
|
|
784
|
+
@data = args[:data] if args.key?(:data)
|
|
785
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
786
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
|
|
676
790
|
# Input Parameter message contains metadata about the parameters required for
|
|
677
791
|
# executing an Action.
|
|
678
792
|
class InputParameter
|
|
@@ -1092,10 +1206,83 @@ module Google
|
|
|
1092
1206
|
end
|
|
1093
1207
|
end
|
|
1094
1208
|
|
|
1209
|
+
#
|
|
1210
|
+
class ListResourcesResponse
|
|
1211
|
+
include Google::Apis::Core::Hashable
|
|
1212
|
+
|
|
1213
|
+
# Metadata like service latency, etc.
|
|
1214
|
+
# Corresponds to the JSON property `metadata`
|
|
1215
|
+
# @return [Hash<String,Hash<String,Object>>]
|
|
1216
|
+
attr_accessor :metadata
|
|
1217
|
+
|
|
1218
|
+
# Next page token if more resources available.
|
|
1219
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1220
|
+
# @return [String]
|
|
1221
|
+
attr_accessor :next_page_token
|
|
1222
|
+
|
|
1223
|
+
# List of available resources.
|
|
1224
|
+
# Corresponds to the JSON property `resources`
|
|
1225
|
+
# @return [Array<Google::Apis::ConnectorsV2::Resource>]
|
|
1226
|
+
attr_accessor :resources
|
|
1227
|
+
|
|
1228
|
+
def initialize(**args)
|
|
1229
|
+
update!(**args)
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
# Update properties of this object
|
|
1233
|
+
def update!(**args)
|
|
1234
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1235
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1236
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1237
|
+
end
|
|
1238
|
+
end
|
|
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
|
+
|
|
1095
1277
|
# Response message for ConnectorAgentService.ListTools
|
|
1096
1278
|
class ListToolsResponse
|
|
1097
1279
|
include Google::Apis::Core::Hashable
|
|
1098
1280
|
|
|
1281
|
+
# Metadata like service latency, etc.
|
|
1282
|
+
# Corresponds to the JSON property `metadata`
|
|
1283
|
+
# @return [Hash<String,Hash<String,Object>>]
|
|
1284
|
+
attr_accessor :metadata
|
|
1285
|
+
|
|
1099
1286
|
# Next page token.
|
|
1100
1287
|
# Corresponds to the JSON property `nextPageToken`
|
|
1101
1288
|
# @return [String]
|
|
@@ -1112,6 +1299,7 @@ module Google
|
|
|
1112
1299
|
|
|
1113
1300
|
# Update properties of this object
|
|
1114
1301
|
def update!(**args)
|
|
1302
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1115
1303
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1116
1304
|
@tools = args[:tools] if args.key?(:tools)
|
|
1117
1305
|
end
|
|
@@ -1350,6 +1538,37 @@ module Google
|
|
|
1350
1538
|
end
|
|
1351
1539
|
end
|
|
1352
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
|
+
|
|
1353
1572
|
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
|
1354
1573
|
class PerSliSloEligibility
|
|
1355
1574
|
include Google::Apis::Core::Hashable
|
|
@@ -1504,6 +1723,16 @@ module Google
|
|
|
1504
1723
|
class RefreshAccessTokenRequest
|
|
1505
1724
|
include Google::Apis::Core::Hashable
|
|
1506
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
|
+
|
|
1507
1736
|
# Optional. Refresh Token String. If the Refresh Token is not provided, the
|
|
1508
1737
|
# runtime will read the data from the secret manager.
|
|
1509
1738
|
# Corresponds to the JSON property `refreshToken`
|
|
@@ -1516,6 +1745,8 @@ module Google
|
|
|
1516
1745
|
|
|
1517
1746
|
# Update properties of this object
|
|
1518
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)
|
|
1519
1750
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
|
1520
1751
|
end
|
|
1521
1752
|
end
|
|
@@ -1547,6 +1778,49 @@ module Google
|
|
|
1547
1778
|
end
|
|
1548
1779
|
end
|
|
1549
1780
|
|
|
1781
|
+
#
|
|
1782
|
+
class Resource
|
|
1783
|
+
include Google::Apis::Core::Hashable
|
|
1784
|
+
|
|
1785
|
+
# A description of what this resource represents.
|
|
1786
|
+
# Corresponds to the JSON property `description`
|
|
1787
|
+
# @return [String]
|
|
1788
|
+
attr_accessor :description
|
|
1789
|
+
|
|
1790
|
+
# The MIME type of this resource, if known.
|
|
1791
|
+
# Corresponds to the JSON property `mimeType`
|
|
1792
|
+
# @return [String]
|
|
1793
|
+
attr_accessor :mime_type
|
|
1794
|
+
|
|
1795
|
+
# A human-readable name for this resource.
|
|
1796
|
+
# Corresponds to the JSON property `name`
|
|
1797
|
+
# @return [String]
|
|
1798
|
+
attr_accessor :name
|
|
1799
|
+
|
|
1800
|
+
# The size of the raw resource content, in bytes, if known.
|
|
1801
|
+
# Corresponds to the JSON property `size`
|
|
1802
|
+
# @return [Fixnum]
|
|
1803
|
+
attr_accessor :size
|
|
1804
|
+
|
|
1805
|
+
# The URI of this resource.
|
|
1806
|
+
# Corresponds to the JSON property `uri`
|
|
1807
|
+
# @return [String]
|
|
1808
|
+
attr_accessor :uri
|
|
1809
|
+
|
|
1810
|
+
def initialize(**args)
|
|
1811
|
+
update!(**args)
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1814
|
+
# Update properties of this object
|
|
1815
|
+
def update!(**args)
|
|
1816
|
+
@description = args[:description] if args.key?(:description)
|
|
1817
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
1818
|
+
@name = args[:name] if args.key?(:name)
|
|
1819
|
+
@size = args[:size] if args.key?(:size)
|
|
1820
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
1821
|
+
end
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1550
1824
|
# Result Metadata message contains metadata about the result returned after
|
|
1551
1825
|
# executing an Action.
|
|
1552
1826
|
class ResultMetadata
|
|
@@ -1845,6 +2119,31 @@ module Google
|
|
|
1845
2119
|
end
|
|
1846
2120
|
end
|
|
1847
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
|
+
|
|
1848
2147
|
# Response message for EntityService.UpdateEntitiesWithConditions
|
|
1849
2148
|
class UpdateEntitiesWithConditionsResponse
|
|
1850
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,30 @@ 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
|
+
|
|
157
|
+
class GetResourceResponse
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
145
163
|
class InputParameter
|
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
165
|
|
|
@@ -178,6 +196,18 @@ module Google
|
|
|
178
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
179
197
|
end
|
|
180
198
|
|
|
199
|
+
class ListResourcesResponse
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class ListToolsPostRequest
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
181
211
|
class ListToolsResponse
|
|
182
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
213
|
|
|
@@ -220,6 +250,12 @@ module Google
|
|
|
220
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
221
251
|
end
|
|
222
252
|
|
|
253
|
+
class OAuth2Config
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
223
259
|
class PerSliSloEligibility
|
|
224
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
261
|
|
|
@@ -262,6 +298,12 @@ module Google
|
|
|
262
298
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
299
|
end
|
|
264
300
|
|
|
301
|
+
class Resource
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
265
307
|
class ResultMetadata
|
|
266
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
309
|
|
|
@@ -304,6 +346,12 @@ module Google
|
|
|
304
346
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
347
|
end
|
|
306
348
|
|
|
349
|
+
class ToolSpec
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
307
355
|
class UpdateEntitiesWithConditionsResponse
|
|
308
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
357
|
|
|
@@ -439,6 +487,10 @@ module Google
|
|
|
439
487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
440
488
|
property :auth_code_data, as: 'authCodeData', class: Google::Apis::ConnectorsV2::AuthCodeData, decorator: Google::Apis::ConnectorsV2::AuthCodeData::Representation
|
|
441
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
|
+
|
|
442
494
|
end
|
|
443
495
|
end
|
|
444
496
|
|
|
@@ -454,6 +506,8 @@ module Google
|
|
|
454
506
|
class ExecuteActionRequest
|
|
455
507
|
# @private
|
|
456
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
|
+
|
|
457
511
|
hash :parameters, as: 'parameters'
|
|
458
512
|
end
|
|
459
513
|
end
|
|
@@ -484,17 +538,28 @@ module Google
|
|
|
484
538
|
class ExecuteToolRequest
|
|
485
539
|
# @private
|
|
486
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
|
+
|
|
487
543
|
hash :parameters, as: 'parameters'
|
|
544
|
+
hash :tool_definition, as: 'toolDefinition'
|
|
488
545
|
end
|
|
489
546
|
end
|
|
490
547
|
|
|
491
548
|
class ExecuteToolResponse
|
|
492
549
|
# @private
|
|
493
550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
551
|
+
hash :metadata, as: 'metadata'
|
|
494
552
|
hash :result, as: 'result'
|
|
495
553
|
end
|
|
496
554
|
end
|
|
497
555
|
|
|
556
|
+
class ExecutionConfig
|
|
557
|
+
# @private
|
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
559
|
+
property :headers, as: 'headers'
|
|
560
|
+
end
|
|
561
|
+
end
|
|
562
|
+
|
|
498
563
|
class Field
|
|
499
564
|
# @private
|
|
500
565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -512,6 +577,25 @@ module Google
|
|
|
512
577
|
end
|
|
513
578
|
end
|
|
514
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
|
+
|
|
590
|
+
class GetResourceResponse
|
|
591
|
+
# @private
|
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
593
|
+
property :data, :base64 => true, as: 'data'
|
|
594
|
+
hash :metadata, as: 'metadata'
|
|
595
|
+
property :mime_type, as: 'mimeType'
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
|
|
515
599
|
class InputParameter
|
|
516
600
|
# @private
|
|
517
601
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -605,9 +689,32 @@ module Google
|
|
|
605
689
|
end
|
|
606
690
|
end
|
|
607
691
|
|
|
692
|
+
class ListResourcesResponse
|
|
693
|
+
# @private
|
|
694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
695
|
+
hash :metadata, as: 'metadata'
|
|
696
|
+
property :next_page_token, as: 'nextPageToken'
|
|
697
|
+
collection :resources, as: 'resources', class: Google::Apis::ConnectorsV2::Resource, decorator: Google::Apis::ConnectorsV2::Resource::Representation
|
|
698
|
+
|
|
699
|
+
end
|
|
700
|
+
end
|
|
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
|
+
|
|
608
714
|
class ListToolsResponse
|
|
609
715
|
# @private
|
|
610
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
717
|
+
hash :metadata, as: 'metadata'
|
|
611
718
|
property :next_page_token, as: 'nextPageToken'
|
|
612
719
|
collection :tools, as: 'tools', class: Google::Apis::ConnectorsV2::Tool, decorator: Google::Apis::ConnectorsV2::Tool::Representation
|
|
613
720
|
|
|
@@ -676,6 +783,15 @@ module Google
|
|
|
676
783
|
end
|
|
677
784
|
end
|
|
678
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
|
+
|
|
679
795
|
class PerSliSloEligibility
|
|
680
796
|
# @private
|
|
681
797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -722,6 +838,10 @@ module Google
|
|
|
722
838
|
class RefreshAccessTokenRequest
|
|
723
839
|
# @private
|
|
724
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
|
+
|
|
725
845
|
property :refresh_token, as: 'refreshToken'
|
|
726
846
|
end
|
|
727
847
|
end
|
|
@@ -735,6 +855,17 @@ module Google
|
|
|
735
855
|
end
|
|
736
856
|
end
|
|
737
857
|
|
|
858
|
+
class Resource
|
|
859
|
+
# @private
|
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
861
|
+
property :description, as: 'description'
|
|
862
|
+
property :mime_type, as: 'mimeType'
|
|
863
|
+
property :name, as: 'name'
|
|
864
|
+
property :size, :numeric_string => true, as: 'size'
|
|
865
|
+
property :uri, as: 'uri'
|
|
866
|
+
end
|
|
867
|
+
end
|
|
868
|
+
|
|
738
869
|
class ResultMetadata
|
|
739
870
|
# @private
|
|
740
871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -813,6 +944,14 @@ module Google
|
|
|
813
944
|
end
|
|
814
945
|
end
|
|
815
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
|
+
|
|
816
955
|
class UpdateEntitiesWithConditionsResponse
|
|
817
956
|
# @private
|
|
818
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,119 @@ 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?
|
|
782
|
+
command.query['fields'] = fields unless fields.nil?
|
|
783
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
784
|
+
execute_or_queue_command(command, &block)
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
# Gets a specific resource.
|
|
788
|
+
# @param [String] name
|
|
789
|
+
# Required. Resource name of the Resource. Format: projects/`project`/locations/`
|
|
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"`'
|
|
795
|
+
# @param [String] fields
|
|
796
|
+
# Selector specifying which fields to include in a partial response.
|
|
797
|
+
# @param [String] quota_user
|
|
798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
800
|
+
# @param [Google::Apis::RequestOptions] options
|
|
801
|
+
# Request-specific options
|
|
802
|
+
#
|
|
803
|
+
# @yield [result, err] Result & error if block supplied
|
|
804
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::GetResourceResponse] parsed result object
|
|
805
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
806
|
+
#
|
|
807
|
+
# @return [Google::Apis::ConnectorsV2::GetResourceResponse]
|
|
808
|
+
#
|
|
809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
812
|
+
def get_project_location_connection_resource(name, execution_config_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
813
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
814
|
+
command.response_representation = Google::Apis::ConnectorsV2::GetResourceResponse::Representation
|
|
815
|
+
command.response_class = Google::Apis::ConnectorsV2::GetResourceResponse
|
|
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?
|
|
852
|
+
command.query['fields'] = fields unless fields.nil?
|
|
853
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
854
|
+
execute_or_queue_command(command, &block)
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
# Lists all available resources.
|
|
858
|
+
# @param [String] parent
|
|
859
|
+
# Required. Resource name of the connection. Format: projects/`project`/
|
|
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"`'
|
|
865
|
+
# @param [Fixnum] page_size
|
|
866
|
+
# Optional. Page size for the request.
|
|
867
|
+
# @param [String] page_token
|
|
868
|
+
# Optional. Page token for the request.
|
|
869
|
+
# @param [String] fields
|
|
870
|
+
# Selector specifying which fields to include in a partial response.
|
|
871
|
+
# @param [String] quota_user
|
|
872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
874
|
+
# @param [Google::Apis::RequestOptions] options
|
|
875
|
+
# Request-specific options
|
|
876
|
+
#
|
|
877
|
+
# @yield [result, err] Result & error if block supplied
|
|
878
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::ListResourcesResponse] parsed result object
|
|
879
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
880
|
+
#
|
|
881
|
+
# @return [Google::Apis::ConnectorsV2::ListResourcesResponse]
|
|
882
|
+
#
|
|
883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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)
|
|
887
|
+
command = make_simple_command(:get, 'v2/{+parent}/resources', options)
|
|
888
|
+
command.response_representation = Google::Apis::ConnectorsV2::ListResourcesResponse::Representation
|
|
889
|
+
command.response_class = Google::Apis::ConnectorsV2::ListResourcesResponse
|
|
890
|
+
command.params['parent'] = parent unless parent.nil?
|
|
891
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
892
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
893
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
688
894
|
command.query['fields'] = fields unless fields.nil?
|
|
689
895
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
690
896
|
execute_or_queue_command(command, &block)
|
|
@@ -728,6 +934,10 @@ module Google
|
|
|
728
934
|
# @param [String] parent
|
|
729
935
|
# Required. Resource name of the Connection. Format: projects/`project`/
|
|
730
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"`'
|
|
731
941
|
# @param [Fixnum] page_size
|
|
732
942
|
# Page size.
|
|
733
943
|
# @param [String] page_token
|
|
@@ -749,11 +959,12 @@ module Google
|
|
|
749
959
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
750
960
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
751
961
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
752
|
-
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)
|
|
753
963
|
command = make_simple_command(:get, 'v2/{+parent}/tools', options)
|
|
754
964
|
command.response_representation = Google::Apis::ConnectorsV2::ListToolsResponse::Representation
|
|
755
965
|
command.response_class = Google::Apis::ConnectorsV2::ListToolsResponse
|
|
756
966
|
command.params['parent'] = parent unless parent.nil?
|
|
967
|
+
command.query['executionConfig.headers'] = execution_config_headers unless execution_config_headers.nil?
|
|
757
968
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
758
969
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
759
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:
|