google-apis-connectors_v1 0.43.0 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5c8333b7b279b017efb52f5bcebcf034b091025d70ceb18e747487ffc58d929
4
- data.tar.gz: f9d221e4b7340f8b479e6fa9ff85cb4645c480766c13df92343db3917f850f1f
3
+ metadata.gz: 906a1ca993a255521946b258539d5b78514125252acb90f6ca4693300fd6ef84
4
+ data.tar.gz: b5452fbf2a9b33202caca7afdcf625070797757c5f329ee910c1b9739b592598
5
5
  SHA512:
6
- metadata.gz: 5cff721f45e0610932bc6110cc78146e74cacb05b120d4e872e5fffad05f9d9da39509e44e1a308cc09bfc9831110ea5d8a8decfa654424eaa13f3c3a38a3018
7
- data.tar.gz: c032459a3ff98d610132f8cc991a509b7c30db0ea971390044cb2be3c69cef6b82310a02b6614a14a0f038f38bd9447f6595fdcb447cf1ccceb05c3ac826164d
6
+ metadata.gz: 87c952a0c3100465940fa6a14dc6bac6e28254284fd76a5ad1717a0e2687b1321434d5e9905ca8bca7ec4d5ffa01d7345c4fd47605c39f970766423a05dfadfd
7
+ data.tar.gz: ac4861a98d914572d2fc87025bb1408c545fb34071834d72c1eba6a6417facc483583c38a794541a9203576cd1a325f6ce7c50ba070537f8632ef89273e14714
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.45.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231126
6
+
7
+ ### v0.44.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231106
10
+
3
11
  ### v0.43.0 (2023-11-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20231031
@@ -687,6 +687,11 @@ module Google
687
687
  # @return [Array<String>]
688
688
  attr_accessor :entities
689
689
 
690
+ # Error message for users.
691
+ # Corresponds to the JSON property `errorMessage`
692
+ # @return [String]
693
+ attr_accessor :error_message
694
+
690
695
  # Output only. Resource name. Format: projects/`project`/locations/`location`/
691
696
  # connections/`connection`/connectionSchemaMetadata
692
697
  # Corresponds to the JSON property `name`
@@ -717,6 +722,7 @@ module Google
717
722
  def update!(**args)
718
723
  @actions = args[:actions] if args.key?(:actions)
719
724
  @entities = args[:entities] if args.key?(:entities)
725
+ @error_message = args[:error_message] if args.key?(:error_message)
720
726
  @name = args[:name] if args.key?(:name)
721
727
  @refresh_time = args[:refresh_time] if args.key?(:refresh_time)
722
728
  @state = args[:state] if args.key?(:state)
@@ -1104,6 +1110,145 @@ module Google
1104
1110
  end
1105
1111
  end
1106
1112
 
1113
+ # CustomConnector represents the custom connector defined by the customer as
1114
+ # part of byoc.
1115
+ class CustomConnector
1116
+ include Google::Apis::Core::Hashable
1117
+
1118
+ # Output only. Created time.
1119
+ # Corresponds to the JSON property `createTime`
1120
+ # @return [String]
1121
+ attr_accessor :create_time
1122
+
1123
+ # Required. Type of the custom connector.
1124
+ # Corresponds to the JSON property `customConnectorType`
1125
+ # @return [String]
1126
+ attr_accessor :custom_connector_type
1127
+
1128
+ # Optional. Description of the resource.
1129
+ # Corresponds to the JSON property `description`
1130
+ # @return [String]
1131
+ attr_accessor :description
1132
+
1133
+ # Optional. Display name.
1134
+ # Corresponds to the JSON property `displayName`
1135
+ # @return [String]
1136
+ attr_accessor :display_name
1137
+
1138
+ # Optional. Resource labels to represent user-provided metadata. Refer to cloud
1139
+ # documentation on labels for more details. https://cloud.google.com/compute/
1140
+ # docs/labeling-resources
1141
+ # Corresponds to the JSON property `labels`
1142
+ # @return [Hash<String,String>]
1143
+ attr_accessor :labels
1144
+
1145
+ # Optional. Logo of the resource.
1146
+ # Corresponds to the JSON property `logo`
1147
+ # @return [String]
1148
+ attr_accessor :logo
1149
+
1150
+ # Identifier. Resource name of the CustomConnector. Format: projects/`project`/
1151
+ # locations/`location`/customConnectors/`connector`
1152
+ # Corresponds to the JSON property `name`
1153
+ # @return [String]
1154
+ attr_accessor :name
1155
+
1156
+ # Output only. Updated time.
1157
+ # Corresponds to the JSON property `updateTime`
1158
+ # @return [String]
1159
+ attr_accessor :update_time
1160
+
1161
+ def initialize(**args)
1162
+ update!(**args)
1163
+ end
1164
+
1165
+ # Update properties of this object
1166
+ def update!(**args)
1167
+ @create_time = args[:create_time] if args.key?(:create_time)
1168
+ @custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
1169
+ @description = args[:description] if args.key?(:description)
1170
+ @display_name = args[:display_name] if args.key?(:display_name)
1171
+ @labels = args[:labels] if args.key?(:labels)
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
+ # Required. Service account needed for runtime plane to access Custom Connector
1219
+ # secrets.
1220
+ # Corresponds to the JSON property `serviceAccount`
1221
+ # @return [String]
1222
+ attr_accessor :service_account
1223
+
1224
+ # Optional. Location of the custom connector spec.
1225
+ # Corresponds to the JSON property `specLocation`
1226
+ # @return [String]
1227
+ attr_accessor :spec_location
1228
+
1229
+ # Output only. Updated time.
1230
+ # Corresponds to the JSON property `updateTime`
1231
+ # @return [String]
1232
+ attr_accessor :update_time
1233
+
1234
+ def initialize(**args)
1235
+ update!(**args)
1236
+ end
1237
+
1238
+ # Update properties of this object
1239
+ def update!(**args)
1240
+ @auth_config = args[:auth_config] if args.key?(:auth_config)
1241
+ @create_time = args[:create_time] if args.key?(:create_time)
1242
+ @destination_config = args[:destination_config] if args.key?(:destination_config)
1243
+ @enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config)
1244
+ @labels = args[:labels] if args.key?(:labels)
1245
+ @name = args[:name] if args.key?(:name)
1246
+ @service_account = args[:service_account] if args.key?(:service_account)
1247
+ @spec_location = args[:spec_location] if args.key?(:spec_location)
1248
+ @update_time = args[:update_time] if args.key?(:update_time)
1249
+ end
1250
+ end
1251
+
1107
1252
  #
1108
1253
  class Destination
1109
1254
  include Google::Apis::Core::Hashable
@@ -1642,12 +1787,6 @@ module Google
1642
1787
  # @return [Google::Apis::ConnectorsV1::AuthConfig]
1643
1788
  attr_accessor :auth_config
1644
1789
 
1645
- # ConfigVariable represents a configuration variable present in a Connection. or
1646
- # AuthConfig.
1647
- # Corresponds to the JSON property `encryptionKey`
1648
- # @return [Google::Apis::ConnectorsV1::ConfigVariable]
1649
- attr_accessor :encryption_key
1650
-
1651
1790
  # Enrichment Enabled.
1652
1791
  # Corresponds to the JSON property `enrichmentEnabled`
1653
1792
  # @return [Boolean]
@@ -1660,6 +1799,11 @@ module Google
1660
1799
  # @return [String]
1661
1800
  attr_accessor :events_listener_ingress_endpoint
1662
1801
 
1802
+ # AuthConfig defines details of a authentication type.
1803
+ # Corresponds to the JSON property `listenerAuthConfig`
1804
+ # @return [Google::Apis::ConnectorsV1::AuthConfig]
1805
+ attr_accessor :listener_auth_config
1806
+
1663
1807
  # Optional. Private Connectivity Enabled.
1664
1808
  # Corresponds to the JSON property `privateConnectivityEnabled`
1665
1809
  # @return [Boolean]
@@ -1679,9 +1823,9 @@ module Google
1679
1823
  def update!(**args)
1680
1824
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1681
1825
  @auth_config = args[:auth_config] if args.key?(:auth_config)
1682
- @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
1683
1826
  @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
1684
1827
  @events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
1828
+ @listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
1685
1829
  @private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
1686
1830
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1687
1831
  end
@@ -1736,6 +1880,11 @@ module Google
1736
1880
  attr_accessor :is_eventing_supported
1737
1881
  alias_method :is_eventing_supported?, :is_eventing_supported
1738
1882
 
1883
+ # ListenerAuthConfigTemplates represents the auth values for the event listener.
1884
+ # Corresponds to the JSON property `listenerAuthConfigTemplates`
1885
+ # @return [Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>]
1886
+ attr_accessor :listener_auth_config_templates
1887
+
1739
1888
  # DestinationConfigTemplate defines required destinations supported by the
1740
1889
  # Connector.
1741
1890
  # Corresponds to the JSON property `registrationDestinationConfig`
@@ -1756,6 +1905,7 @@ module Google
1756
1905
  @enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
1757
1906
  @event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
1758
1907
  @is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
1908
+ @listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
1759
1909
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1760
1910
  end
1761
1911
  end
@@ -2327,6 +2477,31 @@ module Google
2327
2477
  end
2328
2478
  end
2329
2479
 
2480
+ # Response message for ListActions API
2481
+ class ListActionsResponse
2482
+ include Google::Apis::Core::Hashable
2483
+
2484
+ # list of actions
2485
+ # Corresponds to the JSON property `actions`
2486
+ # @return [Array<Google::Apis::ConnectorsV1::RuntimeActionSchema>]
2487
+ attr_accessor :actions
2488
+
2489
+ # token for next page
2490
+ # Corresponds to the JSON property `nextPageToken`
2491
+ # @return [String]
2492
+ attr_accessor :next_page_token
2493
+
2494
+ def initialize(**args)
2495
+ update!(**args)
2496
+ end
2497
+
2498
+ # Update properties of this object
2499
+ def update!(**args)
2500
+ @actions = args[:actions] if args.key?(:actions)
2501
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2502
+ end
2503
+ end
2504
+
2330
2505
  # Response message for ConnectorsService.ListConnections
2331
2506
  class ListConnectionsResponse
2332
2507
  include Google::Apis::Core::Hashable
@@ -2420,6 +2595,68 @@ module Google
2420
2595
  end
2421
2596
  end
2422
2597
 
2598
+ # Response message for Connectors.ListCustomConnectorVersions.
2599
+ class ListCustomConnectorVersionsResponse
2600
+ include Google::Apis::Core::Hashable
2601
+
2602
+ # A list of connector versions.
2603
+ # Corresponds to the JSON property `customConnectorVersions`
2604
+ # @return [Array<Google::Apis::ConnectorsV1::CustomConnectorVersion>]
2605
+ attr_accessor :custom_connector_versions
2606
+
2607
+ # Next page token.
2608
+ # Corresponds to the JSON property `nextPageToken`
2609
+ # @return [String]
2610
+ attr_accessor :next_page_token
2611
+
2612
+ # Locations that could not be reached.
2613
+ # Corresponds to the JSON property `unreachable`
2614
+ # @return [Array<String>]
2615
+ attr_accessor :unreachable
2616
+
2617
+ def initialize(**args)
2618
+ update!(**args)
2619
+ end
2620
+
2621
+ # Update properties of this object
2622
+ def update!(**args)
2623
+ @custom_connector_versions = args[:custom_connector_versions] if args.key?(:custom_connector_versions)
2624
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2625
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2626
+ end
2627
+ end
2628
+
2629
+ # Response message for Connectors.ListCustomConnectors.
2630
+ class ListCustomConnectorsResponse
2631
+ include Google::Apis::Core::Hashable
2632
+
2633
+ # A list of customConnectors.
2634
+ # Corresponds to the JSON property `customConnectors`
2635
+ # @return [Array<Google::Apis::ConnectorsV1::CustomConnector>]
2636
+ attr_accessor :custom_connectors
2637
+
2638
+ # Next page token.
2639
+ # Corresponds to the JSON property `nextPageToken`
2640
+ # @return [String]
2641
+ attr_accessor :next_page_token
2642
+
2643
+ # Locations that could not be reached.
2644
+ # Corresponds to the JSON property `unreachable`
2645
+ # @return [Array<String>]
2646
+ attr_accessor :unreachable
2647
+
2648
+ def initialize(**args)
2649
+ update!(**args)
2650
+ end
2651
+
2652
+ # Update properties of this object
2653
+ def update!(**args)
2654
+ @custom_connectors = args[:custom_connectors] if args.key?(:custom_connectors)
2655
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2656
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2657
+ end
2658
+ end
2659
+
2423
2660
  # Response message for ConnectorsService.ListEndpointAttachments
2424
2661
  class ListEndpointAttachmentsResponse
2425
2662
  include Google::Apis::Core::Hashable
@@ -2451,6 +2688,31 @@ module Google
2451
2688
  end
2452
2689
  end
2453
2690
 
2691
+ # Response message for ListEntityTypes API
2692
+ class ListEntityTypesResponse
2693
+ include Google::Apis::Core::Hashable
2694
+
2695
+ # list of entity types
2696
+ # Corresponds to the JSON property `entityTypes`
2697
+ # @return [Array<Google::Apis::ConnectorsV1::RuntimeEntitySchema>]
2698
+ attr_accessor :entity_types
2699
+
2700
+ # token for next page
2701
+ # Corresponds to the JSON property `nextPageToken`
2702
+ # @return [String]
2703
+ attr_accessor :next_page_token
2704
+
2705
+ def initialize(**args)
2706
+ update!(**args)
2707
+ end
2708
+
2709
+ # Update properties of this object
2710
+ def update!(**args)
2711
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
2712
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2713
+ end
2714
+ end
2715
+
2454
2716
  # Response message for ConnectorsService.ListEventSubscriptions
2455
2717
  class ListEventSubscriptionsResponse
2456
2718
  include Google::Apis::Core::Hashable
@@ -2663,6 +2925,38 @@ module Google
2663
2925
  end
2664
2926
  end
2665
2927
 
2928
+ # Expected request for ListenEvent API.
2929
+ class ListenEventRequest
2930
+ include Google::Apis::Core::Hashable
2931
+
2932
+ # Optional. Request payload.
2933
+ # Corresponds to the JSON property `payload`
2934
+ # @return [Hash<String,Object>]
2935
+ attr_accessor :payload
2936
+
2937
+ def initialize(**args)
2938
+ update!(**args)
2939
+ end
2940
+
2941
+ # Update properties of this object
2942
+ def update!(**args)
2943
+ @payload = args[:payload] if args.key?(:payload)
2944
+ end
2945
+ end
2946
+
2947
+ # Expected response for ListenEvent API.
2948
+ class ListenEventResponse
2949
+ include Google::Apis::Core::Hashable
2950
+
2951
+ def initialize(**args)
2952
+ update!(**args)
2953
+ end
2954
+
2955
+ # Update properties of this object
2956
+ def update!(**args)
2957
+ end
2958
+ end
2959
+
2666
2960
  # A resource that represents a Google Cloud location.
2667
2961
  class Location
2668
2962
  include Google::Apis::Core::Hashable
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20231031"
25
+ REVISION = "20231126"
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
 
@@ -304,6 +316,12 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class ListActionsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
307
325
  class ListConnectionsResponse
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
@@ -322,12 +340,30 @@ module Google
322
340
  include Google::Apis::Core::JsonObjectSupport
323
341
  end
324
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
+
325
355
  class ListEndpointAttachmentsResponse
326
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
357
 
328
358
  include Google::Apis::Core::JsonObjectSupport
329
359
  end
330
360
 
361
+ class ListEntityTypesResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
331
367
  class ListEventSubscriptionsResponse
332
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
369
 
@@ -376,6 +412,18 @@ module Google
376
412
  include Google::Apis::Core::JsonObjectSupport
377
413
  end
378
414
 
415
+ class ListenEventRequest
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class ListenEventResponse
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
379
427
  class Location
380
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
429
 
@@ -758,6 +806,7 @@ module Google
758
806
  class Representation < Google::Apis::Core::JsonRepresentation
759
807
  collection :actions, as: 'actions'
760
808
  collection :entities, as: 'entities'
809
+ property :error_message, as: 'errorMessage'
761
810
  property :name, as: 'name'
762
811
  property :refresh_time, as: 'refreshTime'
763
812
  property :state, as: 'state'
@@ -865,6 +914,37 @@ module Google
865
914
  end
866
915
  end
867
916
 
917
+ class CustomConnector
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ property :create_time, as: 'createTime'
921
+ property :custom_connector_type, as: 'customConnectorType'
922
+ property :description, as: 'description'
923
+ property :display_name, as: 'displayName'
924
+ hash :labels, as: 'labels'
925
+ property :logo, as: 'logo'
926
+ property :name, as: 'name'
927
+ property :update_time, as: 'updateTime'
928
+ end
929
+ end
930
+
931
+ class CustomConnectorVersion
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
935
+
936
+ property :create_time, as: 'createTime'
937
+ property :destination_config, as: 'destinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
938
+
939
+ property :enable_backend_destination_config, as: 'enableBackendDestinationConfig'
940
+ hash :labels, as: 'labels'
941
+ property :name, as: 'name'
942
+ property :service_account, as: 'serviceAccount'
943
+ property :spec_location, as: 'specLocation'
944
+ property :update_time, as: 'updateTime'
945
+ end
946
+ end
947
+
868
948
  class Destination
869
949
  # @private
870
950
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1016,10 +1096,10 @@ module Google
1016
1096
 
1017
1097
  property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
1018
1098
 
1019
- property :encryption_key, as: 'encryptionKey', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
1020
-
1021
1099
  property :enrichment_enabled, as: 'enrichmentEnabled'
1022
1100
  property :events_listener_ingress_endpoint, as: 'eventsListenerIngressEndpoint'
1101
+ property :listener_auth_config, as: 'listenerAuthConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
1102
+
1023
1103
  property :private_connectivity_enabled, as: 'privateConnectivityEnabled'
1024
1104
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
1025
1105
 
@@ -1040,6 +1120,8 @@ module Google
1040
1120
  property :enrichment_supported, as: 'enrichmentSupported'
1041
1121
  property :event_listener_type, as: 'eventListenerType'
1042
1122
  property :is_eventing_supported, as: 'isEventingSupported'
1123
+ collection :listener_auth_config_templates, as: 'listenerAuthConfigTemplates', class: Google::Apis::ConnectorsV1::AuthConfigTemplate, decorator: Google::Apis::ConnectorsV1::AuthConfigTemplate::Representation
1124
+
1043
1125
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
1044
1126
 
1045
1127
  end
@@ -1194,6 +1276,15 @@ module Google
1194
1276
  end
1195
1277
  end
1196
1278
 
1279
+ class ListActionsResponse
1280
+ # @private
1281
+ class Representation < Google::Apis::Core::JsonRepresentation
1282
+ collection :actions, as: 'actions', class: Google::Apis::ConnectorsV1::RuntimeActionSchema, decorator: Google::Apis::ConnectorsV1::RuntimeActionSchema::Representation
1283
+
1284
+ property :next_page_token, as: 'nextPageToken'
1285
+ end
1286
+ end
1287
+
1197
1288
  class ListConnectionsResponse
1198
1289
  # @private
1199
1290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1224,6 +1315,26 @@ module Google
1224
1315
  end
1225
1316
  end
1226
1317
 
1318
+ class ListCustomConnectorVersionsResponse
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ collection :custom_connector_versions, as: 'customConnectorVersions', class: Google::Apis::ConnectorsV1::CustomConnectorVersion, decorator: Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
1322
+
1323
+ property :next_page_token, as: 'nextPageToken'
1324
+ collection :unreachable, as: 'unreachable'
1325
+ end
1326
+ end
1327
+
1328
+ class ListCustomConnectorsResponse
1329
+ # @private
1330
+ class Representation < Google::Apis::Core::JsonRepresentation
1331
+ collection :custom_connectors, as: 'customConnectors', class: Google::Apis::ConnectorsV1::CustomConnector, decorator: Google::Apis::ConnectorsV1::CustomConnector::Representation
1332
+
1333
+ property :next_page_token, as: 'nextPageToken'
1334
+ collection :unreachable, as: 'unreachable'
1335
+ end
1336
+ end
1337
+
1227
1338
  class ListEndpointAttachmentsResponse
1228
1339
  # @private
1229
1340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1234,6 +1345,15 @@ module Google
1234
1345
  end
1235
1346
  end
1236
1347
 
1348
+ class ListEntityTypesResponse
1349
+ # @private
1350
+ class Representation < Google::Apis::Core::JsonRepresentation
1351
+ collection :entity_types, as: 'entityTypes', class: Google::Apis::ConnectorsV1::RuntimeEntitySchema, decorator: Google::Apis::ConnectorsV1::RuntimeEntitySchema::Representation
1352
+
1353
+ property :next_page_token, as: 'nextPageToken'
1354
+ end
1355
+ end
1356
+
1237
1357
  class ListEventSubscriptionsResponse
1238
1358
  # @private
1239
1359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1308,6 +1428,19 @@ module Google
1308
1428
  end
1309
1429
  end
1310
1430
 
1431
+ class ListenEventRequest
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ hash :payload, as: 'payload'
1435
+ end
1436
+ end
1437
+
1438
+ class ListenEventResponse
1439
+ # @private
1440
+ class Representation < Google::Apis::Core::JsonRepresentation
1441
+ end
1442
+ end
1443
+
1311
1444
  class Location
1312
1445
  # @private
1313
1446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -448,6 +448,39 @@ module Google
448
448
  execute_or_queue_command(command, &block)
449
449
  end
450
450
 
451
+ # ListenEvent listens to the event.
452
+ # @param [String] resource_path
453
+ # Required. Resource path for request.
454
+ # @param [Google::Apis::ConnectorsV1::ListenEventRequest] listen_event_request_object
455
+ # @param [String] fields
456
+ # Selector specifying which fields to include in a partial response.
457
+ # @param [String] quota_user
458
+ # Available to use for quota purposes for server-side applications. Can be any
459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
460
+ # @param [Google::Apis::RequestOptions] options
461
+ # Request-specific options
462
+ #
463
+ # @yield [result, err] Result & error if block supplied
464
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListenEventResponse] parsed result object
465
+ # @yieldparam err [StandardError] error object if request failed
466
+ #
467
+ # @return [Google::Apis::ConnectorsV1::ListenEventResponse]
468
+ #
469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
472
+ def listen_connection_event(resource_path, listen_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
473
+ command = make_simple_command(:post, 'v1/{+resourcePath}:listenEvent', options)
474
+ command.request_representation = Google::Apis::ConnectorsV1::ListenEventRequest::Representation
475
+ command.request_object = listen_event_request_object
476
+ command.response_representation = Google::Apis::ConnectorsV1::ListenEventResponse::Representation
477
+ command.response_class = Google::Apis::ConnectorsV1::ListenEventResponse
478
+ command.params['resourcePath'] = resource_path unless resource_path.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
481
+ execute_or_queue_command(command, &block)
482
+ end
483
+
451
484
  # Updates the parameters of a single Connection.
452
485
  # @param [String] name
453
486
  # Output only. Resource name of the Connection. Format: projects/`project`/
@@ -598,6 +631,160 @@ module Google
598
631
  execute_or_queue_command(command, &block)
599
632
  end
600
633
 
634
+ # Get action.
635
+ # @param [String] name
636
+ # Required. Resource name format: projects/`project`/locations/`location`/
637
+ # connections/`connection`/connectionSchemaMetadata
638
+ # @param [String] action_id
639
+ # Required. Id of the action.
640
+ # @param [String] fields
641
+ # Selector specifying which fields to include in a partial response.
642
+ # @param [String] quota_user
643
+ # Available to use for quota purposes for server-side applications. Can be any
644
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
645
+ # @param [Google::Apis::RequestOptions] options
646
+ # Request-specific options
647
+ #
648
+ # @yield [result, err] Result & error if block supplied
649
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
650
+ # @yieldparam err [StandardError] error object if request failed
651
+ #
652
+ # @return [Google::Apis::ConnectorsV1::Operation]
653
+ #
654
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
655
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
656
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
657
+ def get_project_location_connection_connection_schema_metadatum_action(name, action_id: nil, fields: nil, quota_user: nil, options: nil, &block)
658
+ command = make_simple_command(:get, 'v1/{+name}:getAction', options)
659
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
660
+ command.response_class = Google::Apis::ConnectorsV1::Operation
661
+ command.params['name'] = name unless name.nil?
662
+ command.query['actionId'] = action_id unless action_id.nil?
663
+ command.query['fields'] = fields unless fields.nil?
664
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
665
+ execute_or_queue_command(command, &block)
666
+ end
667
+
668
+ # Get entity type.
669
+ # @param [String] name
670
+ # Required. Resource name format: projects/`project`/locations/`location`/
671
+ # connections/`connection`/connectionSchemaMetadata
672
+ # @param [String] entity_id
673
+ # Required. Id of the entity type.
674
+ # @param [String] fields
675
+ # Selector specifying which fields to include in a partial response.
676
+ # @param [String] quota_user
677
+ # Available to use for quota purposes for server-side applications. Can be any
678
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
679
+ # @param [Google::Apis::RequestOptions] options
680
+ # Request-specific options
681
+ #
682
+ # @yield [result, err] Result & error if block supplied
683
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
684
+ # @yieldparam err [StandardError] error object if request failed
685
+ #
686
+ # @return [Google::Apis::ConnectorsV1::Operation]
687
+ #
688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
691
+ def get_project_location_connection_connection_schema_metadatum_entity_type(name, entity_id: nil, fields: nil, quota_user: nil, options: nil, &block)
692
+ command = make_simple_command(:get, 'v1/{+name}:getEntityType', options)
693
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
694
+ command.response_class = Google::Apis::ConnectorsV1::Operation
695
+ command.params['name'] = name unless name.nil?
696
+ command.query['entityId'] = entity_id unless entity_id.nil?
697
+ command.query['fields'] = fields unless fields.nil?
698
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
699
+ execute_or_queue_command(command, &block)
700
+ end
701
+
702
+ # List actions.
703
+ # @param [String] name
704
+ # Required. Resource name format. projects/`project`/locations/`location`/
705
+ # connections/`connection`/connectionSchemaMetadata
706
+ # @param [String] filter
707
+ # Required. Filter Wildcards are not supported in the filter currently.
708
+ # @param [Fixnum] page_size
709
+ # Page size. If unspecified, at most 50 actions will be returned.
710
+ # @param [String] page_token
711
+ # Page token.
712
+ # @param [String] view
713
+ # Specifies which fields are returned in response. Defaults to BASIC view.
714
+ # @param [String] fields
715
+ # Selector specifying which fields to include in a partial response.
716
+ # @param [String] quota_user
717
+ # Available to use for quota purposes for server-side applications. Can be any
718
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
719
+ # @param [Google::Apis::RequestOptions] options
720
+ # Request-specific options
721
+ #
722
+ # @yield [result, err] Result & error if block supplied
723
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListActionsResponse] parsed result object
724
+ # @yieldparam err [StandardError] error object if request failed
725
+ #
726
+ # @return [Google::Apis::ConnectorsV1::ListActionsResponse]
727
+ #
728
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
729
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
730
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
731
+ 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)
732
+ command = make_simple_command(:get, 'v1/{+name}:listActions', options)
733
+ command.response_representation = Google::Apis::ConnectorsV1::ListActionsResponse::Representation
734
+ command.response_class = Google::Apis::ConnectorsV1::ListActionsResponse
735
+ command.params['name'] = name unless name.nil?
736
+ command.query['filter'] = filter unless filter.nil?
737
+ command.query['pageSize'] = page_size unless page_size.nil?
738
+ command.query['pageToken'] = page_token unless page_token.nil?
739
+ command.query['view'] = view unless view.nil?
740
+ command.query['fields'] = fields unless fields.nil?
741
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
742
+ execute_or_queue_command(command, &block)
743
+ end
744
+
745
+ # List entity types.
746
+ # @param [String] name
747
+ # Required. Resource name format: projects/`project`/locations/`location`/
748
+ # connections/`connection`/connectionSchemaMetadata
749
+ # @param [String] filter
750
+ # Required. Filter Wildcards are not supported in the filter currently.
751
+ # @param [Fixnum] page_size
752
+ # Page size. If unspecified, at most 50 entity types will be returned.
753
+ # @param [String] page_token
754
+ # Page token.
755
+ # @param [String] view
756
+ # Specifies which fields are returned in response. Defaults to BASIC view.
757
+ # @param [String] fields
758
+ # Selector specifying which fields to include in a partial response.
759
+ # @param [String] quota_user
760
+ # Available to use for quota purposes for server-side applications. Can be any
761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
762
+ # @param [Google::Apis::RequestOptions] options
763
+ # Request-specific options
764
+ #
765
+ # @yield [result, err] Result & error if block supplied
766
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListEntityTypesResponse] parsed result object
767
+ # @yieldparam err [StandardError] error object if request failed
768
+ #
769
+ # @return [Google::Apis::ConnectorsV1::ListEntityTypesResponse]
770
+ #
771
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
772
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
773
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
774
+ 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)
775
+ command = make_simple_command(:get, 'v1/{+name}:listEntityTypes', options)
776
+ command.response_representation = Google::Apis::ConnectorsV1::ListEntityTypesResponse::Representation
777
+ command.response_class = Google::Apis::ConnectorsV1::ListEntityTypesResponse
778
+ command.params['name'] = name unless name.nil?
779
+ command.query['filter'] = filter unless filter.nil?
780
+ command.query['pageSize'] = page_size unless page_size.nil?
781
+ command.query['pageToken'] = page_token unless page_token.nil?
782
+ command.query['view'] = view unless view.nil?
783
+ command.query['fields'] = fields unless fields.nil?
784
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
785
+ execute_or_queue_command(command, &block)
786
+ end
787
+
601
788
  # Refresh runtime schema of a connection.
602
789
  # @param [String] name
603
790
  # Required. Resource name. Format: projects/`project`/locations/`location`/
@@ -1185,6 +1372,367 @@ module Google
1185
1372
  execute_or_queue_command(command, &block)
1186
1373
  end
1187
1374
 
1375
+ # Creates a new CustomConnector in a given project and location.
1376
+ # @param [String] parent
1377
+ # Required. Parent resource of the CreateCustomConnector, of the form: `projects/
1378
+ # `project`/locations/*`
1379
+ # @param [Google::Apis::ConnectorsV1::CustomConnector] custom_connector_object
1380
+ # @param [String] custom_connector_id
1381
+ # Required. Identifier to assign to the CreateCustomConnector. Must be unique
1382
+ # within scope of the parent resource.
1383
+ # @param [String] fields
1384
+ # Selector specifying which fields to include in a partial response.
1385
+ # @param [String] quota_user
1386
+ # Available to use for quota purposes for server-side applications. Can be any
1387
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1388
+ # @param [Google::Apis::RequestOptions] options
1389
+ # Request-specific options
1390
+ #
1391
+ # @yield [result, err] Result & error if block supplied
1392
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1393
+ # @yieldparam err [StandardError] error object if request failed
1394
+ #
1395
+ # @return [Google::Apis::ConnectorsV1::Operation]
1396
+ #
1397
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1398
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1399
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1400
+ def create_project_location_global_custom_connector(parent, custom_connector_object = nil, custom_connector_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1401
+ command = make_simple_command(:post, 'v1/{+parent}/customConnectors', options)
1402
+ command.request_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
1403
+ command.request_object = custom_connector_object
1404
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1405
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1406
+ command.params['parent'] = parent unless parent.nil?
1407
+ command.query['customConnectorId'] = custom_connector_id unless custom_connector_id.nil?
1408
+ command.query['fields'] = fields unless fields.nil?
1409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1410
+ execute_or_queue_command(command, &block)
1411
+ end
1412
+
1413
+ # Deletes a single CustomConnector.
1414
+ # @param [String] name
1415
+ # Required. Resource name of the form: `projects/`project`/locations/`location`/
1416
+ # customConnectors/`connector``
1417
+ # @param [String] fields
1418
+ # Selector specifying which fields to include in a partial response.
1419
+ # @param [String] quota_user
1420
+ # Available to use for quota purposes for server-side applications. Can be any
1421
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1422
+ # @param [Google::Apis::RequestOptions] options
1423
+ # Request-specific options
1424
+ #
1425
+ # @yield [result, err] Result & error if block supplied
1426
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1427
+ # @yieldparam err [StandardError] error object if request failed
1428
+ #
1429
+ # @return [Google::Apis::ConnectorsV1::Operation]
1430
+ #
1431
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1432
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1433
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1434
+ def delete_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
1435
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1436
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1437
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1438
+ command.params['name'] = name unless name.nil?
1439
+ command.query['fields'] = fields unless fields.nil?
1440
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1441
+ execute_or_queue_command(command, &block)
1442
+ end
1443
+
1444
+ # Gets details of a single CustomConnector.
1445
+ # @param [String] name
1446
+ # Required. Resource name of the form: `projects/*/locations/*/customConnectors/*
1447
+ # `
1448
+ # @param [String] fields
1449
+ # Selector specifying which fields to include in a partial response.
1450
+ # @param [String] quota_user
1451
+ # Available to use for quota purposes for server-side applications. Can be any
1452
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1453
+ # @param [Google::Apis::RequestOptions] options
1454
+ # Request-specific options
1455
+ #
1456
+ # @yield [result, err] Result & error if block supplied
1457
+ # @yieldparam result [Google::Apis::ConnectorsV1::CustomConnector] parsed result object
1458
+ # @yieldparam err [StandardError] error object if request failed
1459
+ #
1460
+ # @return [Google::Apis::ConnectorsV1::CustomConnector]
1461
+ #
1462
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1463
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1464
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1465
+ def get_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
1466
+ command = make_simple_command(:get, 'v1/{+name}', options)
1467
+ command.response_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
1468
+ command.response_class = Google::Apis::ConnectorsV1::CustomConnector
1469
+ command.params['name'] = name unless name.nil?
1470
+ command.query['fields'] = fields unless fields.nil?
1471
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1472
+ execute_or_queue_command(command, &block)
1473
+ end
1474
+
1475
+ # List CustomConnectorVersions in a given project
1476
+ # @param [String] parent
1477
+ # Required. Parent resource of the custom connectors, of the form: `projects/*/
1478
+ # locations/*` Only global location is supported for CustomConnector resource.
1479
+ # @param [String] filter
1480
+ # Filter string.
1481
+ # @param [Fixnum] page_size
1482
+ # Page size.
1483
+ # @param [String] page_token
1484
+ # Page token.
1485
+ # @param [String] fields
1486
+ # Selector specifying which fields to include in a partial response.
1487
+ # @param [String] quota_user
1488
+ # Available to use for quota purposes for server-side applications. Can be any
1489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1490
+ # @param [Google::Apis::RequestOptions] options
1491
+ # Request-specific options
1492
+ #
1493
+ # @yield [result, err] Result & error if block supplied
1494
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListCustomConnectorsResponse] parsed result object
1495
+ # @yieldparam err [StandardError] error object if request failed
1496
+ #
1497
+ # @return [Google::Apis::ConnectorsV1::ListCustomConnectorsResponse]
1498
+ #
1499
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1500
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1501
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1502
+ def list_project_location_global_custom_connectors(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1503
+ command = make_simple_command(:get, 'v1/{+parent}/customConnectors', options)
1504
+ command.response_representation = Google::Apis::ConnectorsV1::ListCustomConnectorsResponse::Representation
1505
+ command.response_class = Google::Apis::ConnectorsV1::ListCustomConnectorsResponse
1506
+ command.params['parent'] = parent unless parent.nil?
1507
+ command.query['filter'] = filter unless filter.nil?
1508
+ command.query['pageSize'] = page_size unless page_size.nil?
1509
+ command.query['pageToken'] = page_token unless page_token.nil?
1510
+ command.query['fields'] = fields unless fields.nil?
1511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1512
+ execute_or_queue_command(command, &block)
1513
+ end
1514
+
1515
+ # Updates the parameters of a CustomConnector.
1516
+ # @param [String] name
1517
+ # Identifier. Resource name of the CustomConnector. Format: projects/`project`/
1518
+ # locations/`location`/customConnectors/`connector`
1519
+ # @param [Google::Apis::ConnectorsV1::CustomConnector] custom_connector_object
1520
+ # @param [String] update_mask
1521
+ # Required. Field mask is used to specify the fields to be overwritten in the
1522
+ # Connector resource by the update. The fields specified in the update_mask are
1523
+ # relative to the resource, not the full request. A field will be overwritten if
1524
+ # it is in the mask. Set the mask as "*" for full replacement, which means all
1525
+ # fields will be overwritten.
1526
+ # @param [String] fields
1527
+ # Selector specifying which fields to include in a partial response.
1528
+ # @param [String] quota_user
1529
+ # Available to use for quota purposes for server-side applications. Can be any
1530
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1531
+ # @param [Google::Apis::RequestOptions] options
1532
+ # Request-specific options
1533
+ #
1534
+ # @yield [result, err] Result & error if block supplied
1535
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1536
+ # @yieldparam err [StandardError] error object if request failed
1537
+ #
1538
+ # @return [Google::Apis::ConnectorsV1::Operation]
1539
+ #
1540
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1541
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1542
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1543
+ def patch_project_location_global_custom_connector(name, custom_connector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1544
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1545
+ command.request_representation = Google::Apis::ConnectorsV1::CustomConnector::Representation
1546
+ command.request_object = custom_connector_object
1547
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1548
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1549
+ command.params['name'] = name unless name.nil?
1550
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1551
+ command.query['fields'] = fields unless fields.nil?
1552
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1553
+ execute_or_queue_command(command, &block)
1554
+ end
1555
+
1556
+ # Creates a new CustomConnectorVersion in a given project and location.
1557
+ # @param [String] parent
1558
+ # Required. Parent resource of the CreateCustomConnector, of the form: `projects/
1559
+ # `project`/locations/`location`/customConnectors/`custom_connector``
1560
+ # @param [Google::Apis::ConnectorsV1::CustomConnectorVersion] custom_connector_version_object
1561
+ # @param [String] custom_connector_version_id
1562
+ # Required. Identifier to assign to the CreateCustomConnectorVersion. Must be
1563
+ # unique within scope of the parent resource.
1564
+ # @param [String] fields
1565
+ # Selector specifying which fields to include in a partial response.
1566
+ # @param [String] quota_user
1567
+ # Available to use for quota purposes for server-side applications. Can be any
1568
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1569
+ # @param [Google::Apis::RequestOptions] options
1570
+ # Request-specific options
1571
+ #
1572
+ # @yield [result, err] Result & error if block supplied
1573
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1574
+ # @yieldparam err [StandardError] error object if request failed
1575
+ #
1576
+ # @return [Google::Apis::ConnectorsV1::Operation]
1577
+ #
1578
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1579
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1580
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1581
+ 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)
1582
+ command = make_simple_command(:post, 'v1/{+parent}/customConnectorVersions', options)
1583
+ command.request_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
1584
+ command.request_object = custom_connector_version_object
1585
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1586
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1587
+ command.params['parent'] = parent unless parent.nil?
1588
+ command.query['customConnectorVersionId'] = custom_connector_version_id unless custom_connector_version_id.nil?
1589
+ command.query['fields'] = fields unless fields.nil?
1590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1591
+ execute_or_queue_command(command, &block)
1592
+ end
1593
+
1594
+ # Deletes a single CustomConnectorVersion.
1595
+ # @param [String] name
1596
+ # Required. Resource name of the form: `projects/`project`/locations/`location`/
1597
+ # customConnectors/`custom_connector`/customConnectorVersions/`
1598
+ # custom_connector_version``
1599
+ # @param [String] fields
1600
+ # Selector specifying which fields to include in a partial response.
1601
+ # @param [String] quota_user
1602
+ # Available to use for quota purposes for server-side applications. Can be any
1603
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1604
+ # @param [Google::Apis::RequestOptions] options
1605
+ # Request-specific options
1606
+ #
1607
+ # @yield [result, err] Result & error if block supplied
1608
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1609
+ # @yieldparam err [StandardError] error object if request failed
1610
+ #
1611
+ # @return [Google::Apis::ConnectorsV1::Operation]
1612
+ #
1613
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1614
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1615
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1616
+ def delete_project_location_global_custom_connector_custom_connector_version(name, fields: nil, quota_user: nil, options: nil, &block)
1617
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1618
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1619
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1620
+ command.params['name'] = name unless name.nil?
1621
+ command.query['fields'] = fields unless fields.nil?
1622
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1623
+ execute_or_queue_command(command, &block)
1624
+ end
1625
+
1626
+ # Gets details of a single CustomConnectorVersion.
1627
+ # @param [String] name
1628
+ # Required. Resource name of the form: `projects/*/locations/`location`/
1629
+ # customConnectors/*/customConnectorVersions/*`
1630
+ # @param [String] fields
1631
+ # Selector specifying which fields to include in a partial response.
1632
+ # @param [String] quota_user
1633
+ # Available to use for quota purposes for server-side applications. Can be any
1634
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1635
+ # @param [Google::Apis::RequestOptions] options
1636
+ # Request-specific options
1637
+ #
1638
+ # @yield [result, err] Result & error if block supplied
1639
+ # @yieldparam result [Google::Apis::ConnectorsV1::CustomConnectorVersion] parsed result object
1640
+ # @yieldparam err [StandardError] error object if request failed
1641
+ #
1642
+ # @return [Google::Apis::ConnectorsV1::CustomConnectorVersion]
1643
+ #
1644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1647
+ def get_project_location_global_custom_connector_custom_connector_version(name, fields: nil, quota_user: nil, options: nil, &block)
1648
+ command = make_simple_command(:get, 'v1/{+name}', options)
1649
+ command.response_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
1650
+ command.response_class = Google::Apis::ConnectorsV1::CustomConnectorVersion
1651
+ command.params['name'] = name unless name.nil?
1652
+ command.query['fields'] = fields unless fields.nil?
1653
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1654
+ execute_or_queue_command(command, &block)
1655
+ end
1656
+
1657
+ # List CustomConnectorVersions in a given project
1658
+ # @param [String] parent
1659
+ # Required. Parent resource of the connectors, of the form: `projects/*/
1660
+ # locations/`location`/customConnectors/*/customConnectorVersions/*`
1661
+ # @param [Fixnum] page_size
1662
+ # Page size.
1663
+ # @param [String] page_token
1664
+ # Page token.
1665
+ # @param [String] fields
1666
+ # Selector specifying which fields to include in a partial response.
1667
+ # @param [String] quota_user
1668
+ # Available to use for quota purposes for server-side applications. Can be any
1669
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1670
+ # @param [Google::Apis::RequestOptions] options
1671
+ # Request-specific options
1672
+ #
1673
+ # @yield [result, err] Result & error if block supplied
1674
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse] parsed result object
1675
+ # @yieldparam err [StandardError] error object if request failed
1676
+ #
1677
+ # @return [Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse]
1678
+ #
1679
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1680
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1681
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1682
+ 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)
1683
+ command = make_simple_command(:get, 'v1/{+parent}/customConnectorVersions', options)
1684
+ command.response_representation = Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse::Representation
1685
+ command.response_class = Google::Apis::ConnectorsV1::ListCustomConnectorVersionsResponse
1686
+ command.params['parent'] = parent unless parent.nil?
1687
+ command.query['pageSize'] = page_size unless page_size.nil?
1688
+ command.query['pageToken'] = page_token unless page_token.nil?
1689
+ command.query['fields'] = fields unless fields.nil?
1690
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1691
+ execute_or_queue_command(command, &block)
1692
+ end
1693
+
1694
+ # Updates the parameters of a CustomConnectorVersion.
1695
+ # @param [String] name
1696
+ # Output only. Identifier. Resource name of the Version. Format: projects/`
1697
+ # project`/locations/`location`/customConnectors/`custom_connector`/
1698
+ # customConnectorVersions/`custom_connector_version`
1699
+ # @param [Google::Apis::ConnectorsV1::CustomConnectorVersion] custom_connector_version_object
1700
+ # @param [String] update_mask
1701
+ # Required. Field mask is used to specify the fields to be overwritten in the
1702
+ # Connector resource by the update. The fields specified in the update_mask are
1703
+ # relative to the resource, not the full request. A field will be overwritten if
1704
+ # it is in the mask. Set the mask as "*" for full replacement, which means all
1705
+ # fields will be overwritten.
1706
+ # @param [String] fields
1707
+ # Selector specifying which fields to include in a partial response.
1708
+ # @param [String] quota_user
1709
+ # Available to use for quota purposes for server-side applications. Can be any
1710
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1711
+ # @param [Google::Apis::RequestOptions] options
1712
+ # Request-specific options
1713
+ #
1714
+ # @yield [result, err] Result & error if block supplied
1715
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1716
+ # @yieldparam err [StandardError] error object if request failed
1717
+ #
1718
+ # @return [Google::Apis::ConnectorsV1::Operation]
1719
+ #
1720
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1721
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
+ 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)
1724
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1725
+ command.request_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
1726
+ command.request_object = custom_connector_version_object
1727
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1728
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1729
+ command.params['name'] = name unless name.nil?
1730
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1731
+ command.query['fields'] = fields unless fields.nil?
1732
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1733
+ execute_or_queue_command(command, &block)
1734
+ end
1735
+
1188
1736
  # Creates a new ManagedZone in a given project and location.
1189
1737
  # @param [String] parent
1190
1738
  # 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.43.0
4
+ version: 0.45.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-05 00:00:00.000000000 Z
11
+ date: 2023-12-03 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.45.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: []