google-apis-connectors_v1 0.42.0 → 0.44.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: 7349a3e16845897ff39bb276ca696a7d080407e95d09a200b1013c265c60fadd
|
4
|
+
data.tar.gz: 11453498b3fa67b6cd3361a3fba9a99c07ea3a06559de1d677c7c07aa5fd68cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9946d56c4748337e3918c3a2d17b3537c6f2de942afe79f74621d261736bbaf668b06f0b0de2073ca9bb2336a177ac08a585a562d0638ba402672466af3b3563
|
7
|
+
data.tar.gz: 2718b678f008fe7cdffdb011a7f404bdc16bb9db3e21c4549e76b8bd7c3f758a7b2ba3ef6ea34581af9cad9db1bc481675a08c8bc078ea3fcdef5b772f4ddffb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v1
|
2
2
|
|
3
|
+
### v0.44.0 (2023-11-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231106
|
6
|
+
|
7
|
+
### v0.43.0 (2023-11-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231031
|
10
|
+
|
3
11
|
### v0.42.0 (2023-10-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231024
|
@@ -1104,6 +1104,150 @@ module Google
|
|
1104
1104
|
end
|
1105
1105
|
end
|
1106
1106
|
|
1107
|
+
# CustomConnector represents the custom connector defined by the customer as
|
1108
|
+
# part of byoc.
|
1109
|
+
class CustomConnector
|
1110
|
+
include Google::Apis::Core::Hashable
|
1111
|
+
|
1112
|
+
# Output only. Created time.
|
1113
|
+
# Corresponds to the JSON property `createTime`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :create_time
|
1116
|
+
|
1117
|
+
# Required. Type of the custom connector.
|
1118
|
+
# Corresponds to the JSON property `customConnectorType`
|
1119
|
+
# @return [String]
|
1120
|
+
attr_accessor :custom_connector_type
|
1121
|
+
|
1122
|
+
# Optional. Description of the resource.
|
1123
|
+
# Corresponds to the JSON property `description`
|
1124
|
+
# @return [String]
|
1125
|
+
attr_accessor :description
|
1126
|
+
|
1127
|
+
# Optional. Display name.
|
1128
|
+
# Corresponds to the JSON property `displayName`
|
1129
|
+
# @return [String]
|
1130
|
+
attr_accessor :display_name
|
1131
|
+
|
1132
|
+
# Optional. Resource labels to represent user-provided metadata. Refer to cloud
|
1133
|
+
# documentation on labels for more details. https://cloud.google.com/compute/
|
1134
|
+
# docs/labeling-resources
|
1135
|
+
# Corresponds to the JSON property `labels`
|
1136
|
+
# @return [Hash<String,String>]
|
1137
|
+
attr_accessor :labels
|
1138
|
+
|
1139
|
+
# Output only. Launch stage.
|
1140
|
+
# Corresponds to the JSON property `launchStage`
|
1141
|
+
# @return [String]
|
1142
|
+
attr_accessor :launch_stage
|
1143
|
+
|
1144
|
+
# Optional. Logo of the resource.
|
1145
|
+
# Corresponds to the JSON property `logo`
|
1146
|
+
# @return [String]
|
1147
|
+
attr_accessor :logo
|
1148
|
+
|
1149
|
+
# Identifier. Resource name of the CustomConnector. Format: projects/`project`/
|
1150
|
+
# locations/`location`/customConnectors/`connector`
|
1151
|
+
# Corresponds to the JSON property `name`
|
1152
|
+
# @return [String]
|
1153
|
+
attr_accessor :name
|
1154
|
+
|
1155
|
+
# Output only. Updated time.
|
1156
|
+
# Corresponds to the JSON property `updateTime`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :update_time
|
1159
|
+
|
1160
|
+
def initialize(**args)
|
1161
|
+
update!(**args)
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# Update properties of this object
|
1165
|
+
def update!(**args)
|
1166
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1167
|
+
@custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
|
1168
|
+
@description = args[:description] if args.key?(:description)
|
1169
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1170
|
+
@labels = args[:labels] if args.key?(:labels)
|
1171
|
+
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1172
|
+
@logo = args[:logo] if args.key?(:logo)
|
1173
|
+
@name = args[:name] if args.key?(:name)
|
1174
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# CustomConnectorVersion indicates a specific version of a connector.
|
1179
|
+
class CustomConnectorVersion
|
1180
|
+
include Google::Apis::Core::Hashable
|
1181
|
+
|
1182
|
+
# AuthConfig defines details of a authentication type.
|
1183
|
+
# Corresponds to the JSON property `authConfig`
|
1184
|
+
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
1185
|
+
attr_accessor :auth_config
|
1186
|
+
|
1187
|
+
# Output only. Created time.
|
1188
|
+
# Corresponds to the JSON property `createTime`
|
1189
|
+
# @return [String]
|
1190
|
+
attr_accessor :create_time
|
1191
|
+
|
1192
|
+
# Define the Connectors target endpoint.
|
1193
|
+
# Corresponds to the JSON property `destinationConfig`
|
1194
|
+
# @return [Google::Apis::ConnectorsV1::DestinationConfig]
|
1195
|
+
attr_accessor :destination_config
|
1196
|
+
|
1197
|
+
# Optional. Whether to enable backend destination config. This is the backend
|
1198
|
+
# server that the connector connects to.
|
1199
|
+
# Corresponds to the JSON property `enableBackendDestinationConfig`
|
1200
|
+
# @return [Boolean]
|
1201
|
+
attr_accessor :enable_backend_destination_config
|
1202
|
+
alias_method :enable_backend_destination_config?, :enable_backend_destination_config
|
1203
|
+
|
1204
|
+
# Optional. Resource labels to represent user-provided metadata. Refer to cloud
|
1205
|
+
# documentation on labels for more details. https://cloud.google.com/compute/
|
1206
|
+
# docs/labeling-resources
|
1207
|
+
# Corresponds to the JSON property `labels`
|
1208
|
+
# @return [Hash<String,String>]
|
1209
|
+
attr_accessor :labels
|
1210
|
+
|
1211
|
+
# Output only. Identifier. Resource name of the Version. Format: projects/`
|
1212
|
+
# project`/locations/`location`/customConnectors/`custom_connector`/
|
1213
|
+
# customConnectorVersions/`custom_connector_version`
|
1214
|
+
# Corresponds to the JSON property `name`
|
1215
|
+
# @return [String]
|
1216
|
+
attr_accessor :name
|
1217
|
+
|
1218
|
+
# Optional. Location of the custom connector spec.
|
1219
|
+
# Corresponds to the JSON property `specLocation`
|
1220
|
+
# @return [String]
|
1221
|
+
attr_accessor :spec_location
|
1222
|
+
|
1223
|
+
# Required. Type of the customConnector.
|
1224
|
+
# Corresponds to the JSON property `type`
|
1225
|
+
# @return [String]
|
1226
|
+
attr_accessor :type
|
1227
|
+
|
1228
|
+
# Output only. Updated time.
|
1229
|
+
# Corresponds to the JSON property `updateTime`
|
1230
|
+
# @return [String]
|
1231
|
+
attr_accessor :update_time
|
1232
|
+
|
1233
|
+
def initialize(**args)
|
1234
|
+
update!(**args)
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# Update properties of this object
|
1238
|
+
def update!(**args)
|
1239
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
1240
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1241
|
+
@destination_config = args[:destination_config] if args.key?(:destination_config)
|
1242
|
+
@enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config)
|
1243
|
+
@labels = args[:labels] if args.key?(:labels)
|
1244
|
+
@name = args[:name] if args.key?(:name)
|
1245
|
+
@spec_location = args[:spec_location] if args.key?(:spec_location)
|
1246
|
+
@type = args[:type] if args.key?(:type)
|
1247
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
|
1107
1251
|
#
|
1108
1252
|
class Destination
|
1109
1253
|
include Google::Apis::Core::Hashable
|
@@ -1276,6 +1420,32 @@ module Google
|
|
1276
1420
|
end
|
1277
1421
|
end
|
1278
1422
|
|
1423
|
+
# Regional encryption config for CMEK details.
|
1424
|
+
class EncryptionConfig
|
1425
|
+
include Google::Apis::Core::Hashable
|
1426
|
+
|
1427
|
+
# Optional. Encryption type for the region.
|
1428
|
+
# Corresponds to the JSON property `encryptionType`
|
1429
|
+
# @return [String]
|
1430
|
+
attr_accessor :encryption_type
|
1431
|
+
|
1432
|
+
# Optional. KMS crypto key. This field accepts identifiers of the form `projects/
|
1433
|
+
# `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
|
1434
|
+
# Corresponds to the JSON property `kmsKeyName`
|
1435
|
+
# @return [String]
|
1436
|
+
attr_accessor :kms_key_name
|
1437
|
+
|
1438
|
+
def initialize(**args)
|
1439
|
+
update!(**args)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Update properties of this object
|
1443
|
+
def update!(**args)
|
1444
|
+
@encryption_type = args[:encryption_type] if args.key?(:encryption_type)
|
1445
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1279
1449
|
# Encryption Key value.
|
1280
1450
|
class EncryptionKey
|
1281
1451
|
include Google::Apis::Core::Hashable
|
@@ -1774,6 +1944,11 @@ module Google
|
|
1774
1944
|
# @return [Array<String>]
|
1775
1945
|
attr_accessor :search_tags
|
1776
1946
|
|
1947
|
+
# Output only. The type of the event listener for a specific connector.
|
1948
|
+
# Corresponds to the JSON property `type`
|
1949
|
+
# @return [String]
|
1950
|
+
attr_accessor :type
|
1951
|
+
|
1777
1952
|
def initialize(**args)
|
1778
1953
|
update!(**args)
|
1779
1954
|
end
|
@@ -1787,6 +1962,7 @@ module Google
|
|
1787
1962
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1788
1963
|
@name = args[:name] if args.key?(:name)
|
1789
1964
|
@search_tags = args[:search_tags] if args.key?(:search_tags)
|
1965
|
+
@type = args[:type] if args.key?(:type)
|
1790
1966
|
end
|
1791
1967
|
end
|
1792
1968
|
|
@@ -2295,6 +2471,31 @@ module Google
|
|
2295
2471
|
end
|
2296
2472
|
end
|
2297
2473
|
|
2474
|
+
# Response message for ListActions API
|
2475
|
+
class ListActionsResponse
|
2476
|
+
include Google::Apis::Core::Hashable
|
2477
|
+
|
2478
|
+
# list of actions
|
2479
|
+
# Corresponds to the JSON property `actions`
|
2480
|
+
# @return [Array<Google::Apis::ConnectorsV1::RuntimeActionSchema>]
|
2481
|
+
attr_accessor :actions
|
2482
|
+
|
2483
|
+
# token for next page
|
2484
|
+
# Corresponds to the JSON property `nextPageToken`
|
2485
|
+
# @return [String]
|
2486
|
+
attr_accessor :next_page_token
|
2487
|
+
|
2488
|
+
def initialize(**args)
|
2489
|
+
update!(**args)
|
2490
|
+
end
|
2491
|
+
|
2492
|
+
# Update properties of this object
|
2493
|
+
def update!(**args)
|
2494
|
+
@actions = args[:actions] if args.key?(:actions)
|
2495
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2496
|
+
end
|
2497
|
+
end
|
2498
|
+
|
2298
2499
|
# Response message for ConnectorsService.ListConnections
|
2299
2500
|
class ListConnectionsResponse
|
2300
2501
|
include Google::Apis::Core::Hashable
|
@@ -2388,6 +2589,68 @@ module Google
|
|
2388
2589
|
end
|
2389
2590
|
end
|
2390
2591
|
|
2592
|
+
# Response message for Connectors.ListCustomConnectorVersions.
|
2593
|
+
class ListCustomConnectorVersionsResponse
|
2594
|
+
include Google::Apis::Core::Hashable
|
2595
|
+
|
2596
|
+
# A list of connector versions.
|
2597
|
+
# Corresponds to the JSON property `customConnectorVersions`
|
2598
|
+
# @return [Array<Google::Apis::ConnectorsV1::CustomConnectorVersion>]
|
2599
|
+
attr_accessor :custom_connector_versions
|
2600
|
+
|
2601
|
+
# Next page token.
|
2602
|
+
# Corresponds to the JSON property `nextPageToken`
|
2603
|
+
# @return [String]
|
2604
|
+
attr_accessor :next_page_token
|
2605
|
+
|
2606
|
+
# Locations that could not be reached.
|
2607
|
+
# Corresponds to the JSON property `unreachable`
|
2608
|
+
# @return [Array<String>]
|
2609
|
+
attr_accessor :unreachable
|
2610
|
+
|
2611
|
+
def initialize(**args)
|
2612
|
+
update!(**args)
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
# Update properties of this object
|
2616
|
+
def update!(**args)
|
2617
|
+
@custom_connector_versions = args[:custom_connector_versions] if args.key?(:custom_connector_versions)
|
2618
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2619
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2620
|
+
end
|
2621
|
+
end
|
2622
|
+
|
2623
|
+
# Response message for Connectors.ListCustomConnectors.
|
2624
|
+
class ListCustomConnectorsResponse
|
2625
|
+
include Google::Apis::Core::Hashable
|
2626
|
+
|
2627
|
+
# A list of customConnectors.
|
2628
|
+
# Corresponds to the JSON property `customConnectors`
|
2629
|
+
# @return [Array<Google::Apis::ConnectorsV1::CustomConnector>]
|
2630
|
+
attr_accessor :custom_connectors
|
2631
|
+
|
2632
|
+
# Next page token.
|
2633
|
+
# Corresponds to the JSON property `nextPageToken`
|
2634
|
+
# @return [String]
|
2635
|
+
attr_accessor :next_page_token
|
2636
|
+
|
2637
|
+
# Locations that could not be reached.
|
2638
|
+
# Corresponds to the JSON property `unreachable`
|
2639
|
+
# @return [Array<String>]
|
2640
|
+
attr_accessor :unreachable
|
2641
|
+
|
2642
|
+
def initialize(**args)
|
2643
|
+
update!(**args)
|
2644
|
+
end
|
2645
|
+
|
2646
|
+
# Update properties of this object
|
2647
|
+
def update!(**args)
|
2648
|
+
@custom_connectors = args[:custom_connectors] if args.key?(:custom_connectors)
|
2649
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2650
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2651
|
+
end
|
2652
|
+
end
|
2653
|
+
|
2391
2654
|
# Response message for ConnectorsService.ListEndpointAttachments
|
2392
2655
|
class ListEndpointAttachmentsResponse
|
2393
2656
|
include Google::Apis::Core::Hashable
|
@@ -2419,6 +2682,31 @@ module Google
|
|
2419
2682
|
end
|
2420
2683
|
end
|
2421
2684
|
|
2685
|
+
# Response message for ListEntityTypes API
|
2686
|
+
class ListEntityTypesResponse
|
2687
|
+
include Google::Apis::Core::Hashable
|
2688
|
+
|
2689
|
+
# list of entity types
|
2690
|
+
# Corresponds to the JSON property `entityTypes`
|
2691
|
+
# @return [Array<Google::Apis::ConnectorsV1::RuntimeEntitySchema>]
|
2692
|
+
attr_accessor :entity_types
|
2693
|
+
|
2694
|
+
# token for next page
|
2695
|
+
# Corresponds to the JSON property `nextPageToken`
|
2696
|
+
# @return [String]
|
2697
|
+
attr_accessor :next_page_token
|
2698
|
+
|
2699
|
+
def initialize(**args)
|
2700
|
+
update!(**args)
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
# Update properties of this object
|
2704
|
+
def update!(**args)
|
2705
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
2706
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
|
2422
2710
|
# Response message for ConnectorsService.ListEventSubscriptions
|
2423
2711
|
class ListEventSubscriptionsResponse
|
2424
2712
|
include Google::Apis::Core::Hashable
|
@@ -3276,6 +3564,11 @@ module Google
|
|
3276
3564
|
class RegionalSettings
|
3277
3565
|
include Google::Apis::Core::Hashable
|
3278
3566
|
|
3567
|
+
# Regional encryption config for CMEK details.
|
3568
|
+
# Corresponds to the JSON property `encryptionConfig`
|
3569
|
+
# @return [Google::Apis::ConnectorsV1::EncryptionConfig]
|
3570
|
+
attr_accessor :encryption_config
|
3571
|
+
|
3279
3572
|
# Output only. Resource name of the Connection. Format: projects/`project`/
|
3280
3573
|
# locations/`location`/regionalSettings
|
3281
3574
|
# Corresponds to the JSON property `name`
|
@@ -3293,6 +3586,7 @@ module Google
|
|
3293
3586
|
|
3294
3587
|
# Update properties of this object
|
3295
3588
|
def update!(**args)
|
3589
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
3296
3590
|
@name = args[:name] if args.key?(:name)
|
3297
3591
|
@network_config = args[:network_config] if args.key?(:network_config)
|
3298
3592
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ConnectorsV1
|
18
18
|
# Version of the google-apis-connectors_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,18 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class CustomConnector
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class CustomConnectorVersion
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class Destination
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -154,6 +166,12 @@ module Google
|
|
154
166
|
include Google::Apis::Core::JsonObjectSupport
|
155
167
|
end
|
156
168
|
|
169
|
+
class EncryptionConfig
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
157
175
|
class EncryptionKey
|
158
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
177
|
|
@@ -298,6 +316,12 @@ module Google
|
|
298
316
|
include Google::Apis::Core::JsonObjectSupport
|
299
317
|
end
|
300
318
|
|
319
|
+
class ListActionsResponse
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
301
325
|
class ListConnectionsResponse
|
302
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
327
|
|
@@ -316,12 +340,30 @@ module Google
|
|
316
340
|
include Google::Apis::Core::JsonObjectSupport
|
317
341
|
end
|
318
342
|
|
343
|
+
class ListCustomConnectorVersionsResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class ListCustomConnectorsResponse
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
319
355
|
class ListEndpointAttachmentsResponse
|
320
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
357
|
|
322
358
|
include Google::Apis::Core::JsonObjectSupport
|
323
359
|
end
|
324
360
|
|
361
|
+
class ListEntityTypesResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
325
367
|
class ListEventSubscriptionsResponse
|
326
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
369
|
|
@@ -859,6 +901,38 @@ module Google
|
|
859
901
|
end
|
860
902
|
end
|
861
903
|
|
904
|
+
class CustomConnector
|
905
|
+
# @private
|
906
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
907
|
+
property :create_time, as: 'createTime'
|
908
|
+
property :custom_connector_type, as: 'customConnectorType'
|
909
|
+
property :description, as: 'description'
|
910
|
+
property :display_name, as: 'displayName'
|
911
|
+
hash :labels, as: 'labels'
|
912
|
+
property :launch_stage, as: 'launchStage'
|
913
|
+
property :logo, as: 'logo'
|
914
|
+
property :name, as: 'name'
|
915
|
+
property :update_time, as: 'updateTime'
|
916
|
+
end
|
917
|
+
end
|
918
|
+
|
919
|
+
class CustomConnectorVersion
|
920
|
+
# @private
|
921
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
922
|
+
property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
|
923
|
+
|
924
|
+
property :create_time, as: 'createTime'
|
925
|
+
property :destination_config, as: 'destinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
|
926
|
+
|
927
|
+
property :enable_backend_destination_config, as: 'enableBackendDestinationConfig'
|
928
|
+
hash :labels, as: 'labels'
|
929
|
+
property :name, as: 'name'
|
930
|
+
property :spec_location, as: 'specLocation'
|
931
|
+
property :type, as: 'type'
|
932
|
+
property :update_time, as: 'updateTime'
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
862
936
|
class Destination
|
863
937
|
# @private
|
864
938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -907,6 +981,14 @@ module Google
|
|
907
981
|
end
|
908
982
|
end
|
909
983
|
|
984
|
+
class EncryptionConfig
|
985
|
+
# @private
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
987
|
+
property :encryption_type, as: 'encryptionType'
|
988
|
+
property :kms_key_name, as: 'kmsKeyName'
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
910
992
|
class EncryptionKey
|
911
993
|
# @private
|
912
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1041,6 +1123,7 @@ module Google
|
|
1041
1123
|
property :launch_stage, as: 'launchStage'
|
1042
1124
|
property :name, as: 'name'
|
1043
1125
|
collection :search_tags, as: 'searchTags'
|
1126
|
+
property :type, as: 'type'
|
1044
1127
|
end
|
1045
1128
|
end
|
1046
1129
|
|
@@ -1179,6 +1262,15 @@ module Google
|
|
1179
1262
|
end
|
1180
1263
|
end
|
1181
1264
|
|
1265
|
+
class ListActionsResponse
|
1266
|
+
# @private
|
1267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1268
|
+
collection :actions, as: 'actions', class: Google::Apis::ConnectorsV1::RuntimeActionSchema, decorator: Google::Apis::ConnectorsV1::RuntimeActionSchema::Representation
|
1269
|
+
|
1270
|
+
property :next_page_token, as: 'nextPageToken'
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
|
1182
1274
|
class ListConnectionsResponse
|
1183
1275
|
# @private
|
1184
1276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1209,6 +1301,26 @@ module Google
|
|
1209
1301
|
end
|
1210
1302
|
end
|
1211
1303
|
|
1304
|
+
class ListCustomConnectorVersionsResponse
|
1305
|
+
# @private
|
1306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1307
|
+
collection :custom_connector_versions, as: 'customConnectorVersions', class: Google::Apis::ConnectorsV1::CustomConnectorVersion, decorator: Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
|
1308
|
+
|
1309
|
+
property :next_page_token, as: 'nextPageToken'
|
1310
|
+
collection :unreachable, as: 'unreachable'
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
class ListCustomConnectorsResponse
|
1315
|
+
# @private
|
1316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1317
|
+
collection :custom_connectors, as: 'customConnectors', class: Google::Apis::ConnectorsV1::CustomConnector, decorator: Google::Apis::ConnectorsV1::CustomConnector::Representation
|
1318
|
+
|
1319
|
+
property :next_page_token, as: 'nextPageToken'
|
1320
|
+
collection :unreachable, as: 'unreachable'
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1212
1324
|
class ListEndpointAttachmentsResponse
|
1213
1325
|
# @private
|
1214
1326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1219,6 +1331,15 @@ module Google
|
|
1219
1331
|
end
|
1220
1332
|
end
|
1221
1333
|
|
1334
|
+
class ListEntityTypesResponse
|
1335
|
+
# @private
|
1336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1337
|
+
collection :entity_types, as: 'entityTypes', class: Google::Apis::ConnectorsV1::RuntimeEntitySchema, decorator: Google::Apis::ConnectorsV1::RuntimeEntitySchema::Representation
|
1338
|
+
|
1339
|
+
property :next_page_token, as: 'nextPageToken'
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
|
1222
1343
|
class ListEventSubscriptionsResponse
|
1223
1344
|
# @private
|
1224
1345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1449,6 +1570,8 @@ module Google
|
|
1449
1570
|
class RegionalSettings
|
1450
1571
|
# @private
|
1451
1572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1573
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ConnectorsV1::EncryptionConfig, decorator: Google::Apis::ConnectorsV1::EncryptionConfig::Representation
|
1574
|
+
|
1452
1575
|
property :name, as: 'name'
|
1453
1576
|
property :network_config, as: 'networkConfig', class: Google::Apis::ConnectorsV1::NetworkConfig, decorator: Google::Apis::ConnectorsV1::NetworkConfig::Representation
|
1454
1577
|
|
@@ -598,6 +598,160 @@ module Google
|
|
598
598
|
execute_or_queue_command(command, &block)
|
599
599
|
end
|
600
600
|
|
601
|
+
# Get action.
|
602
|
+
# @param [String] name
|
603
|
+
# Required. Resource name format: projects/`project`/locations/`location`/
|
604
|
+
# connections/`connection`/connectionSchemaMetadata
|
605
|
+
# @param [String] action_id
|
606
|
+
# Required. Id of the action.
|
607
|
+
# @param [String] fields
|
608
|
+
# Selector specifying which fields to include in a partial response.
|
609
|
+
# @param [String] quota_user
|
610
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
611
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
612
|
+
# @param [Google::Apis::RequestOptions] options
|
613
|
+
# Request-specific options
|
614
|
+
#
|
615
|
+
# @yield [result, err] Result & error if block supplied
|
616
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
617
|
+
# @yieldparam err [StandardError] error object if request failed
|
618
|
+
#
|
619
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
620
|
+
#
|
621
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
622
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
623
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
624
|
+
def get_project_location_connection_connection_schema_metadatum_action(name, action_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
625
|
+
command = make_simple_command(:get, 'v1/{+name}:getAction', options)
|
626
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
627
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
628
|
+
command.params['name'] = name unless name.nil?
|
629
|
+
command.query['actionId'] = action_id unless action_id.nil?
|
630
|
+
command.query['fields'] = fields unless fields.nil?
|
631
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
632
|
+
execute_or_queue_command(command, &block)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Get entity type.
|
636
|
+
# @param [String] name
|
637
|
+
# Required. Resource name format: projects/`project`/locations/`location`/
|
638
|
+
# connections/`connection`/connectionSchemaMetadata
|
639
|
+
# @param [String] entity_id
|
640
|
+
# Required. Id of the entity type.
|
641
|
+
# @param [String] fields
|
642
|
+
# Selector specifying which fields to include in a partial response.
|
643
|
+
# @param [String] quota_user
|
644
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
645
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
646
|
+
# @param [Google::Apis::RequestOptions] options
|
647
|
+
# Request-specific options
|
648
|
+
#
|
649
|
+
# @yield [result, err] Result & error if block supplied
|
650
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
651
|
+
# @yieldparam err [StandardError] error object if request failed
|
652
|
+
#
|
653
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
654
|
+
#
|
655
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
656
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
657
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
658
|
+
def get_project_location_connection_connection_schema_metadatum_entity_type(name, entity_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
659
|
+
command = make_simple_command(:get, 'v1/{+name}:getEntityType', options)
|
660
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
661
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
662
|
+
command.params['name'] = name unless name.nil?
|
663
|
+
command.query['entityId'] = entity_id unless entity_id.nil?
|
664
|
+
command.query['fields'] = fields unless fields.nil?
|
665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
666
|
+
execute_or_queue_command(command, &block)
|
667
|
+
end
|
668
|
+
|
669
|
+
# List actions.
|
670
|
+
# @param [String] name
|
671
|
+
# Required. Resource name format. projects/`project`/locations/`location`/
|
672
|
+
# connections/`connection`/connectionSchemaMetadata
|
673
|
+
# @param [String] filter
|
674
|
+
# Required. Filter Wildcards are not supported in the filter currently.
|
675
|
+
# @param [Fixnum] page_size
|
676
|
+
# Page size. If unspecified, at most 50 actions will be returned.
|
677
|
+
# @param [String] page_token
|
678
|
+
# Page token.
|
679
|
+
# @param [String] view
|
680
|
+
# Specifies which fields are returned in response. Defaults to BASIC view.
|
681
|
+
# @param [String] fields
|
682
|
+
# Selector specifying which fields to include in a partial response.
|
683
|
+
# @param [String] quota_user
|
684
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
685
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
686
|
+
# @param [Google::Apis::RequestOptions] options
|
687
|
+
# Request-specific options
|
688
|
+
#
|
689
|
+
# @yield [result, err] Result & error if block supplied
|
690
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListActionsResponse] parsed result object
|
691
|
+
# @yieldparam err [StandardError] error object if request failed
|
692
|
+
#
|
693
|
+
# @return [Google::Apis::ConnectorsV1::ListActionsResponse]
|
694
|
+
#
|
695
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
696
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
697
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
698
|
+
def list_project_location_connection_connection_schema_metadatum_actions(name, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
699
|
+
command = make_simple_command(:get, 'v1/{+name}:listActions', options)
|
700
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListActionsResponse::Representation
|
701
|
+
command.response_class = Google::Apis::ConnectorsV1::ListActionsResponse
|
702
|
+
command.params['name'] = name unless name.nil?
|
703
|
+
command.query['filter'] = filter unless filter.nil?
|
704
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
705
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
706
|
+
command.query['view'] = view unless view.nil?
|
707
|
+
command.query['fields'] = fields unless fields.nil?
|
708
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
709
|
+
execute_or_queue_command(command, &block)
|
710
|
+
end
|
711
|
+
|
712
|
+
# List entity types.
|
713
|
+
# @param [String] name
|
714
|
+
# Required. Resource name format: projects/`project`/locations/`location`/
|
715
|
+
# connections/`connection`/connectionSchemaMetadata
|
716
|
+
# @param [String] filter
|
717
|
+
# Required. Filter Wildcards are not supported in the filter currently.
|
718
|
+
# @param [Fixnum] page_size
|
719
|
+
# Page size. If unspecified, at most 50 entity types will be returned.
|
720
|
+
# @param [String] page_token
|
721
|
+
# Page token.
|
722
|
+
# @param [String] view
|
723
|
+
# Specifies which fields are returned in response. Defaults to BASIC view.
|
724
|
+
# @param [String] fields
|
725
|
+
# Selector specifying which fields to include in a partial response.
|
726
|
+
# @param [String] quota_user
|
727
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
728
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
729
|
+
# @param [Google::Apis::RequestOptions] options
|
730
|
+
# Request-specific options
|
731
|
+
#
|
732
|
+
# @yield [result, err] Result & error if block supplied
|
733
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListEntityTypesResponse] parsed result object
|
734
|
+
# @yieldparam err [StandardError] error object if request failed
|
735
|
+
#
|
736
|
+
# @return [Google::Apis::ConnectorsV1::ListEntityTypesResponse]
|
737
|
+
#
|
738
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
739
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
740
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
741
|
+
def list_project_location_connection_connection_schema_metadatum_entity_types(name, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
742
|
+
command = make_simple_command(:get, 'v1/{+name}:listEntityTypes', options)
|
743
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListEntityTypesResponse::Representation
|
744
|
+
command.response_class = Google::Apis::ConnectorsV1::ListEntityTypesResponse
|
745
|
+
command.params['name'] = name unless name.nil?
|
746
|
+
command.query['filter'] = filter unless filter.nil?
|
747
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
748
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
749
|
+
command.query['view'] = view unless view.nil?
|
750
|
+
command.query['fields'] = fields unless fields.nil?
|
751
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
752
|
+
execute_or_queue_command(command, &block)
|
753
|
+
end
|
754
|
+
|
601
755
|
# Refresh runtime schema of a connection.
|
602
756
|
# @param [String] name
|
603
757
|
# Required. Resource name. Format: projects/`project`/locations/`location`/
|
@@ -1185,6 +1339,367 @@ module Google
|
|
1185
1339
|
execute_or_queue_command(command, &block)
|
1186
1340
|
end
|
1187
1341
|
|
1342
|
+
# Creates a new CustomConnector in a given project and location.
|
1343
|
+
# @param [String] parent
|
1344
|
+
# Required. Parent resource of the CreateCustomConnector, of the form: `projects/
|
1345
|
+
# `project`/locations/*`
|
1346
|
+
# @param [Google::Apis::ConnectorsV1::CustomConnector] custom_connector_object
|
1347
|
+
# @param [String] custom_connector_id
|
1348
|
+
# Required. Identifier to assign to the CreateCustomConnector. Must be unique
|
1349
|
+
# within scope of the parent resource.
|
1350
|
+
# @param [String] fields
|
1351
|
+
# Selector specifying which fields to include in a partial response.
|
1352
|
+
# @param [String] quota_user
|
1353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1355
|
+
# @param [Google::Apis::RequestOptions] options
|
1356
|
+
# Request-specific options
|
1357
|
+
#
|
1358
|
+
# @yield [result, err] Result & error if block supplied
|
1359
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1360
|
+
# @yieldparam err [StandardError] error object if request failed
|
1361
|
+
#
|
1362
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1363
|
+
#
|
1364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1367
|
+
def create_project_location_global_custom_connector(parent, custom_connector_object = nil, custom_connector_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1368
|
+
command = make_simple_command(:post, 'v1/{+parent}/customConnectors', options)
|
1369
|
+
command.request_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
|
1370
|
+
command.request_object = custom_connector_object
|
1371
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1372
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1373
|
+
command.params['parent'] = parent unless parent.nil?
|
1374
|
+
command.query['customConnectorId'] = custom_connector_id unless custom_connector_id.nil?
|
1375
|
+
command.query['fields'] = fields unless fields.nil?
|
1376
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1377
|
+
execute_or_queue_command(command, &block)
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# Deletes a single CustomConnector.
|
1381
|
+
# @param [String] name
|
1382
|
+
# Required. Resource name of the form: `projects/`project`/locations/`location`/
|
1383
|
+
# customConnectors/`connector``
|
1384
|
+
# @param [String] fields
|
1385
|
+
# Selector specifying which fields to include in a partial response.
|
1386
|
+
# @param [String] quota_user
|
1387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1389
|
+
# @param [Google::Apis::RequestOptions] options
|
1390
|
+
# Request-specific options
|
1391
|
+
#
|
1392
|
+
# @yield [result, err] Result & error if block supplied
|
1393
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1394
|
+
# @yieldparam err [StandardError] error object if request failed
|
1395
|
+
#
|
1396
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1397
|
+
#
|
1398
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1399
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1400
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1401
|
+
def delete_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
|
1402
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1403
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1404
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1405
|
+
command.params['name'] = name unless name.nil?
|
1406
|
+
command.query['fields'] = fields unless fields.nil?
|
1407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1408
|
+
execute_or_queue_command(command, &block)
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
# Gets details of a single CustomConnector.
|
1412
|
+
# @param [String] name
|
1413
|
+
# Required. Resource name of the form: `projects/*/locations/*/customConnectors/*
|
1414
|
+
# `
|
1415
|
+
# @param [String] fields
|
1416
|
+
# Selector specifying which fields to include in a partial response.
|
1417
|
+
# @param [String] quota_user
|
1418
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1419
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1420
|
+
# @param [Google::Apis::RequestOptions] options
|
1421
|
+
# Request-specific options
|
1422
|
+
#
|
1423
|
+
# @yield [result, err] Result & error if block supplied
|
1424
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::CustomConnector] parsed result object
|
1425
|
+
# @yieldparam err [StandardError] error object if request failed
|
1426
|
+
#
|
1427
|
+
# @return [Google::Apis::ConnectorsV1::CustomConnector]
|
1428
|
+
#
|
1429
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1430
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1431
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1432
|
+
def get_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
|
1433
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1434
|
+
command.response_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
|
1435
|
+
command.response_class = Google::Apis::ConnectorsV1::CustomConnector
|
1436
|
+
command.params['name'] = name unless name.nil?
|
1437
|
+
command.query['fields'] = fields unless fields.nil?
|
1438
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1439
|
+
execute_or_queue_command(command, &block)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# List CustomConnectorVersions in a given project
|
1443
|
+
# @param [String] parent
|
1444
|
+
# Required. Parent resource of the custom connectors, of the form: `projects/*/
|
1445
|
+
# locations/*` Only global location is supported for CustomConnector resource.
|
1446
|
+
# @param [String] filter
|
1447
|
+
# Filter string.
|
1448
|
+
# @param [Fixnum] page_size
|
1449
|
+
# Page size.
|
1450
|
+
# @param [String] page_token
|
1451
|
+
# Page token.
|
1452
|
+
# @param [String] fields
|
1453
|
+
# Selector specifying which fields to include in a partial response.
|
1454
|
+
# @param [String] quota_user
|
1455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1457
|
+
# @param [Google::Apis::RequestOptions] options
|
1458
|
+
# Request-specific options
|
1459
|
+
#
|
1460
|
+
# @yield [result, err] Result & error if block supplied
|
1461
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListCustomConnectorsResponse] parsed result object
|
1462
|
+
# @yieldparam err [StandardError] error object if request failed
|
1463
|
+
#
|
1464
|
+
# @return [Google::Apis::ConnectorsV1::ListCustomConnectorsResponse]
|
1465
|
+
#
|
1466
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1467
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1468
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1469
|
+
def list_project_location_global_custom_connectors(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1470
|
+
command = make_simple_command(:get, 'v1/{+parent}/customConnectors', options)
|
1471
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListCustomConnectorsResponse::Representation
|
1472
|
+
command.response_class = Google::Apis::ConnectorsV1::ListCustomConnectorsResponse
|
1473
|
+
command.params['parent'] = parent unless parent.nil?
|
1474
|
+
command.query['filter'] = filter unless filter.nil?
|
1475
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1476
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1477
|
+
command.query['fields'] = fields unless fields.nil?
|
1478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1479
|
+
execute_or_queue_command(command, &block)
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Updates the parameters of a CustomConnector.
|
1483
|
+
# @param [String] name
|
1484
|
+
# Identifier. Resource name of the CustomConnector. Format: projects/`project`/
|
1485
|
+
# locations/`location`/customConnectors/`connector`
|
1486
|
+
# @param [Google::Apis::ConnectorsV1::CustomConnector] custom_connector_object
|
1487
|
+
# @param [String] update_mask
|
1488
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
1489
|
+
# Connector resource by the update. The fields specified in the update_mask are
|
1490
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
1491
|
+
# it is in the mask. Set the mask as "*" for full replacement, which means all
|
1492
|
+
# fields will be overwritten.
|
1493
|
+
# @param [String] fields
|
1494
|
+
# Selector specifying which fields to include in a partial response.
|
1495
|
+
# @param [String] quota_user
|
1496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1498
|
+
# @param [Google::Apis::RequestOptions] options
|
1499
|
+
# Request-specific options
|
1500
|
+
#
|
1501
|
+
# @yield [result, err] Result & error if block supplied
|
1502
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1503
|
+
# @yieldparam err [StandardError] error object if request failed
|
1504
|
+
#
|
1505
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1506
|
+
#
|
1507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1510
|
+
def patch_project_location_global_custom_connector(name, custom_connector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1511
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1512
|
+
command.request_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
|
1513
|
+
command.request_object = custom_connector_object
|
1514
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1515
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1516
|
+
command.params['name'] = name unless name.nil?
|
1517
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1518
|
+
command.query['fields'] = fields unless fields.nil?
|
1519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1520
|
+
execute_or_queue_command(command, &block)
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# Creates a new CustomConnectorVersion in a given project and location.
|
1524
|
+
# @param [String] parent
|
1525
|
+
# Required. Parent resource of the CreateCustomConnector, of the form: `projects/
|
1526
|
+
# `project`/locations/`location`/customConnectors/`custom_connector``
|
1527
|
+
# @param [Google::Apis::ConnectorsV1::CustomConnectorVersion] custom_connector_version_object
|
1528
|
+
# @param [String] custom_connector_version_id
|
1529
|
+
# Required. Identifier to assign to the CreateCustomConnectorVersion. Must be
|
1530
|
+
# unique within scope of the parent resource.
|
1531
|
+
# @param [String] fields
|
1532
|
+
# Selector specifying which fields to include in a partial response.
|
1533
|
+
# @param [String] quota_user
|
1534
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1535
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1536
|
+
# @param [Google::Apis::RequestOptions] options
|
1537
|
+
# Request-specific options
|
1538
|
+
#
|
1539
|
+
# @yield [result, err] Result & error if block supplied
|
1540
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1541
|
+
# @yieldparam err [StandardError] error object if request failed
|
1542
|
+
#
|
1543
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1544
|
+
#
|
1545
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1546
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1547
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1548
|
+
def create_project_location_global_custom_connector_custom_connector_version(parent, custom_connector_version_object = nil, custom_connector_version_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1549
|
+
command = make_simple_command(:post, 'v1/{+parent}/customConnectorVersions', options)
|
1550
|
+
command.request_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
|
1551
|
+
command.request_object = custom_connector_version_object
|
1552
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1553
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1554
|
+
command.params['parent'] = parent unless parent.nil?
|
1555
|
+
command.query['customConnectorVersionId'] = custom_connector_version_id unless custom_connector_version_id.nil?
|
1556
|
+
command.query['fields'] = fields unless fields.nil?
|
1557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1558
|
+
execute_or_queue_command(command, &block)
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Deletes a single CustomConnectorVersion.
|
1562
|
+
# @param [String] name
|
1563
|
+
# Required. Resource name of the form: `projects/`project`/locations/`location`/
|
1564
|
+
# customConnectors/`custom_connector`/customConnectorVersions/`
|
1565
|
+
# custom_connector_version``
|
1566
|
+
# @param [String] fields
|
1567
|
+
# Selector specifying which fields to include in a partial response.
|
1568
|
+
# @param [String] quota_user
|
1569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1571
|
+
# @param [Google::Apis::RequestOptions] options
|
1572
|
+
# Request-specific options
|
1573
|
+
#
|
1574
|
+
# @yield [result, err] Result & error if block supplied
|
1575
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1576
|
+
# @yieldparam err [StandardError] error object if request failed
|
1577
|
+
#
|
1578
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1579
|
+
#
|
1580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1583
|
+
def delete_project_location_global_custom_connector_custom_connector_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1584
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1585
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1586
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1587
|
+
command.params['name'] = name unless name.nil?
|
1588
|
+
command.query['fields'] = fields unless fields.nil?
|
1589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1590
|
+
execute_or_queue_command(command, &block)
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
# Gets details of a single CustomConnectorVersion.
|
1594
|
+
# @param [String] name
|
1595
|
+
# Required. Resource name of the form: `projects/*/locations/`location`/
|
1596
|
+
# customConnectors/*/customConnectorVersions/*`
|
1597
|
+
# @param [String] fields
|
1598
|
+
# Selector specifying which fields to include in a partial response.
|
1599
|
+
# @param [String] quota_user
|
1600
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1601
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1602
|
+
# @param [Google::Apis::RequestOptions] options
|
1603
|
+
# Request-specific options
|
1604
|
+
#
|
1605
|
+
# @yield [result, err] Result & error if block supplied
|
1606
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::CustomConnectorVersion] parsed result object
|
1607
|
+
# @yieldparam err [StandardError] error object if request failed
|
1608
|
+
#
|
1609
|
+
# @return [Google::Apis::ConnectorsV1::CustomConnectorVersion]
|
1610
|
+
#
|
1611
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1612
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1613
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1614
|
+
def get_project_location_global_custom_connector_custom_connector_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1615
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1616
|
+
command.response_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
|
1617
|
+
command.response_class = Google::Apis::ConnectorsV1::CustomConnectorVersion
|
1618
|
+
command.params['name'] = name unless name.nil?
|
1619
|
+
command.query['fields'] = fields unless fields.nil?
|
1620
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1621
|
+
execute_or_queue_command(command, &block)
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# List CustomConnectorVersions in a given project
|
1625
|
+
# @param [String] parent
|
1626
|
+
# Required. Parent resource of the connectors, of the form: `projects/*/
|
1627
|
+
# locations/`location`/customConnectors/*/customConnectorVersions/*`
|
1628
|
+
# @param [Fixnum] page_size
|
1629
|
+
# Page size.
|
1630
|
+
# @param [String] page_token
|
1631
|
+
# Page token.
|
1632
|
+
# @param [String] fields
|
1633
|
+
# Selector specifying which fields to include in a partial response.
|
1634
|
+
# @param [String] quota_user
|
1635
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1636
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1637
|
+
# @param [Google::Apis::RequestOptions] options
|
1638
|
+
# Request-specific options
|
1639
|
+
#
|
1640
|
+
# @yield [result, err] Result & error if block supplied
|
1641
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse] parsed result object
|
1642
|
+
# @yieldparam err [StandardError] error object if request failed
|
1643
|
+
#
|
1644
|
+
# @return [Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse]
|
1645
|
+
#
|
1646
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1647
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1648
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1649
|
+
def list_project_location_global_custom_connector_custom_connector_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1650
|
+
command = make_simple_command(:get, 'v1/{+parent}/customConnectorVersions', options)
|
1651
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse::Representation
|
1652
|
+
command.response_class = Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse
|
1653
|
+
command.params['parent'] = parent unless parent.nil?
|
1654
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1655
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1656
|
+
command.query['fields'] = fields unless fields.nil?
|
1657
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1658
|
+
execute_or_queue_command(command, &block)
|
1659
|
+
end
|
1660
|
+
|
1661
|
+
# Updates the parameters of a CustomConnectorVersion.
|
1662
|
+
# @param [String] name
|
1663
|
+
# Output only. Identifier. Resource name of the Version. Format: projects/`
|
1664
|
+
# project`/locations/`location`/customConnectors/`custom_connector`/
|
1665
|
+
# customConnectorVersions/`custom_connector_version`
|
1666
|
+
# @param [Google::Apis::ConnectorsV1::CustomConnectorVersion] custom_connector_version_object
|
1667
|
+
# @param [String] update_mask
|
1668
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
1669
|
+
# Connector resource by the update. The fields specified in the update_mask are
|
1670
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
1671
|
+
# it is in the mask. Set the mask as "*" for full replacement, which means all
|
1672
|
+
# fields will be overwritten.
|
1673
|
+
# @param [String] fields
|
1674
|
+
# Selector specifying which fields to include in a partial response.
|
1675
|
+
# @param [String] quota_user
|
1676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1678
|
+
# @param [Google::Apis::RequestOptions] options
|
1679
|
+
# Request-specific options
|
1680
|
+
#
|
1681
|
+
# @yield [result, err] Result & error if block supplied
|
1682
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1683
|
+
# @yieldparam err [StandardError] error object if request failed
|
1684
|
+
#
|
1685
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1686
|
+
#
|
1687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1690
|
+
def patch_project_location_global_custom_connector_custom_connector_version(name, custom_connector_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1691
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1692
|
+
command.request_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
|
1693
|
+
command.request_object = custom_connector_version_object
|
1694
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1695
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1696
|
+
command.params['name'] = name unless name.nil?
|
1697
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1698
|
+
command.query['fields'] = fields unless fields.nil?
|
1699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1700
|
+
execute_or_queue_command(command, &block)
|
1701
|
+
end
|
1702
|
+
|
1188
1703
|
# Creates a new ManagedZone in a given project and location.
|
1189
1704
|
# @param [String] parent
|
1190
1705
|
# Required. Parent resource of the ManagedZone, of the form: `projects/*/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.44.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|