google-apis-connectors_v1 0.44.0 → 0.46.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 161812d4fff5e0e348afcd94964824210f755bf6efc1fcd32010c3683ed48abf
|
4
|
+
data.tar.gz: 6461f2d8799bb0f994858dc56eacb87c15cc9cffc26381d47fe21a355f65f6dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5820375ddf437a83da7276c37380b94fed3ec405fe01224cacfd541dab154977e0eb416606b6a4d451bf81b54393e90fb9efad887e6365c79cb709a6517a4f1d
|
7
|
+
data.tar.gz: b3fc99fc875215bd8c2a8a6855c8c4fcf1914239b286bcfae84f7b1bf5e02201998ac45e446a195e6004f8cb68c03d09f627a2c6215b10739e413a01288a86a1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v1
|
2
2
|
|
3
|
+
### v0.46.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231205
|
6
|
+
|
7
|
+
### v0.45.0 (2023-12-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231126
|
10
|
+
|
3
11
|
### v0.44.0 (2023-11-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231106
|
@@ -419,6 +419,12 @@ module Google
|
|
419
419
|
# @return [String]
|
420
420
|
attr_accessor :key
|
421
421
|
|
422
|
+
# Optional. Location Tyep denotes where this value should be sent in BYOC
|
423
|
+
# connections.
|
424
|
+
# Corresponds to the JSON property `locationType`
|
425
|
+
# @return [String]
|
426
|
+
attr_accessor :location_type
|
427
|
+
|
422
428
|
# Flag represents that this `ConfigVariable` must be provided for a connection.
|
423
429
|
# Corresponds to the JSON property `required`
|
424
430
|
# @return [Boolean]
|
@@ -468,6 +474,7 @@ module Google
|
|
468
474
|
@enum_options = args[:enum_options] if args.key?(:enum_options)
|
469
475
|
@is_advanced = args[:is_advanced] if args.key?(:is_advanced)
|
470
476
|
@key = args[:key] if args.key?(:key)
|
477
|
+
@location_type = args[:location_type] if args.key?(:location_type)
|
471
478
|
@required = args[:required] if args.key?(:required)
|
472
479
|
@required_condition = args[:required_condition] if args.key?(:required_condition)
|
473
480
|
@role_grant = args[:role_grant] if args.key?(:role_grant)
|
@@ -687,6 +694,11 @@ module Google
|
|
687
694
|
# @return [Array<String>]
|
688
695
|
attr_accessor :entities
|
689
696
|
|
697
|
+
# Error message for users.
|
698
|
+
# Corresponds to the JSON property `errorMessage`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :error_message
|
701
|
+
|
690
702
|
# Output only. Resource name. Format: projects/`project`/locations/`location`/
|
691
703
|
# connections/`connection`/connectionSchemaMetadata
|
692
704
|
# Corresponds to the JSON property `name`
|
@@ -717,6 +729,7 @@ module Google
|
|
717
729
|
def update!(**args)
|
718
730
|
@actions = args[:actions] if args.key?(:actions)
|
719
731
|
@entities = args[:entities] if args.key?(:entities)
|
732
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
720
733
|
@name = args[:name] if args.key?(:name)
|
721
734
|
@refresh_time = args[:refresh_time] if args.key?(:refresh_time)
|
722
735
|
@state = args[:state] if args.key?(:state)
|
@@ -996,6 +1009,11 @@ module Google
|
|
996
1009
|
# @return [Google::Apis::ConnectorsV1::SupportedRuntimeFeatures]
|
997
1010
|
attr_accessor :supported_runtime_features
|
998
1011
|
|
1012
|
+
# Output only. Unsupported connection types.
|
1013
|
+
# Corresponds to the JSON property `unsupportedConnectionTypes`
|
1014
|
+
# @return [Array<String>]
|
1015
|
+
attr_accessor :unsupported_connection_types
|
1016
|
+
|
999
1017
|
# Output only. Updated time.
|
1000
1018
|
# Corresponds to the JSON property `updateTime`
|
1001
1019
|
# @return [String]
|
@@ -1023,6 +1041,7 @@ module Google
|
|
1023
1041
|
@role_grants = args[:role_grants] if args.key?(:role_grants)
|
1024
1042
|
@ssl_config_template = args[:ssl_config_template] if args.key?(:ssl_config_template)
|
1025
1043
|
@supported_runtime_features = args[:supported_runtime_features] if args.key?(:supported_runtime_features)
|
1044
|
+
@unsupported_connection_types = args[:unsupported_connection_types] if args.key?(:unsupported_connection_types)
|
1026
1045
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1027
1046
|
end
|
1028
1047
|
end
|
@@ -1136,11 +1155,6 @@ module Google
|
|
1136
1155
|
# @return [Hash<String,String>]
|
1137
1156
|
attr_accessor :labels
|
1138
1157
|
|
1139
|
-
# Output only. Launch stage.
|
1140
|
-
# Corresponds to the JSON property `launchStage`
|
1141
|
-
# @return [String]
|
1142
|
-
attr_accessor :launch_stage
|
1143
|
-
|
1144
1158
|
# Optional. Logo of the resource.
|
1145
1159
|
# Corresponds to the JSON property `logo`
|
1146
1160
|
# @return [String]
|
@@ -1168,7 +1182,6 @@ module Google
|
|
1168
1182
|
@description = args[:description] if args.key?(:description)
|
1169
1183
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1170
1184
|
@labels = args[:labels] if args.key?(:labels)
|
1171
|
-
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1172
1185
|
@logo = args[:logo] if args.key?(:logo)
|
1173
1186
|
@name = args[:name] if args.key?(:name)
|
1174
1187
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -1184,18 +1197,25 @@ module Google
|
|
1184
1197
|
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
1185
1198
|
attr_accessor :auth_config
|
1186
1199
|
|
1200
|
+
# Optional. Backend variables config templates. This translates to additional
|
1201
|
+
# variable templates in connection.
|
1202
|
+
# Corresponds to the JSON property `backendVariableTemplates`
|
1203
|
+
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
|
1204
|
+
attr_accessor :backend_variable_templates
|
1205
|
+
|
1187
1206
|
# Output only. Created time.
|
1188
1207
|
# Corresponds to the JSON property `createTime`
|
1189
1208
|
# @return [String]
|
1190
1209
|
attr_accessor :create_time
|
1191
1210
|
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
|
1211
|
+
# Optional. Destination config(s) for accessing connector facade/ proxy. This is
|
1212
|
+
# used only when enable_backend_destination_config is true.
|
1213
|
+
# Corresponds to the JSON property `destinationConfigs`
|
1214
|
+
# @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
|
1215
|
+
attr_accessor :destination_configs
|
1196
1216
|
|
1197
|
-
# Optional.
|
1198
|
-
#
|
1217
|
+
# Optional. When enabled, the connector will be a facade/ proxy, and connects to
|
1218
|
+
# the destination provided during connection creation.
|
1199
1219
|
# Corresponds to the JSON property `enableBackendDestinationConfig`
|
1200
1220
|
# @return [Boolean]
|
1201
1221
|
attr_accessor :enable_backend_destination_config
|
@@ -1215,16 +1235,16 @@ module Google
|
|
1215
1235
|
# @return [String]
|
1216
1236
|
attr_accessor :name
|
1217
1237
|
|
1238
|
+
# Required. Service account used by runtime plane to access auth config secrets.
|
1239
|
+
# Corresponds to the JSON property `serviceAccount`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :service_account
|
1242
|
+
|
1218
1243
|
# Optional. Location of the custom connector spec.
|
1219
1244
|
# Corresponds to the JSON property `specLocation`
|
1220
1245
|
# @return [String]
|
1221
1246
|
attr_accessor :spec_location
|
1222
1247
|
|
1223
|
-
# Required. Type of the customConnector.
|
1224
|
-
# Corresponds to the JSON property `type`
|
1225
|
-
# @return [String]
|
1226
|
-
attr_accessor :type
|
1227
|
-
|
1228
1248
|
# Output only. Updated time.
|
1229
1249
|
# Corresponds to the JSON property `updateTime`
|
1230
1250
|
# @return [String]
|
@@ -1237,13 +1257,14 @@ module Google
|
|
1237
1257
|
# Update properties of this object
|
1238
1258
|
def update!(**args)
|
1239
1259
|
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
1260
|
+
@backend_variable_templates = args[:backend_variable_templates] if args.key?(:backend_variable_templates)
|
1240
1261
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1241
|
-
@
|
1262
|
+
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
1242
1263
|
@enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config)
|
1243
1264
|
@labels = args[:labels] if args.key?(:labels)
|
1244
1265
|
@name = args[:name] if args.key?(:name)
|
1266
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1245
1267
|
@spec_location = args[:spec_location] if args.key?(:spec_location)
|
1246
|
-
@type = args[:type] if args.key?(:type)
|
1247
1268
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1248
1269
|
end
|
1249
1270
|
end
|
@@ -1786,12 +1807,6 @@ module Google
|
|
1786
1807
|
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
1787
1808
|
attr_accessor :auth_config
|
1788
1809
|
|
1789
|
-
# ConfigVariable represents a configuration variable present in a Connection. or
|
1790
|
-
# AuthConfig.
|
1791
|
-
# Corresponds to the JSON property `encryptionKey`
|
1792
|
-
# @return [Google::Apis::ConnectorsV1::ConfigVariable]
|
1793
|
-
attr_accessor :encryption_key
|
1794
|
-
|
1795
1810
|
# Enrichment Enabled.
|
1796
1811
|
# Corresponds to the JSON property `enrichmentEnabled`
|
1797
1812
|
# @return [Boolean]
|
@@ -1804,6 +1819,11 @@ module Google
|
|
1804
1819
|
# @return [String]
|
1805
1820
|
attr_accessor :events_listener_ingress_endpoint
|
1806
1821
|
|
1822
|
+
# AuthConfig defines details of a authentication type.
|
1823
|
+
# Corresponds to the JSON property `listenerAuthConfig`
|
1824
|
+
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
1825
|
+
attr_accessor :listener_auth_config
|
1826
|
+
|
1807
1827
|
# Optional. Private Connectivity Enabled.
|
1808
1828
|
# Corresponds to the JSON property `privateConnectivityEnabled`
|
1809
1829
|
# @return [Boolean]
|
@@ -1823,9 +1843,9 @@ module Google
|
|
1823
1843
|
def update!(**args)
|
1824
1844
|
@additional_variables = args[:additional_variables] if args.key?(:additional_variables)
|
1825
1845
|
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
1826
|
-
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
1827
1846
|
@enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
|
1828
1847
|
@events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
|
1848
|
+
@listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
|
1829
1849
|
@private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
|
1830
1850
|
@registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
|
1831
1851
|
end
|
@@ -1880,6 +1900,11 @@ module Google
|
|
1880
1900
|
attr_accessor :is_eventing_supported
|
1881
1901
|
alias_method :is_eventing_supported?, :is_eventing_supported
|
1882
1902
|
|
1903
|
+
# ListenerAuthConfigTemplates represents the auth values for the event listener.
|
1904
|
+
# Corresponds to the JSON property `listenerAuthConfigTemplates`
|
1905
|
+
# @return [Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>]
|
1906
|
+
attr_accessor :listener_auth_config_templates
|
1907
|
+
|
1883
1908
|
# DestinationConfigTemplate defines required destinations supported by the
|
1884
1909
|
# Connector.
|
1885
1910
|
# Corresponds to the JSON property `registrationDestinationConfig`
|
@@ -1900,6 +1925,7 @@ module Google
|
|
1900
1925
|
@enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
|
1901
1926
|
@event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
|
1902
1927
|
@is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
|
1928
|
+
@listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
|
1903
1929
|
@registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
|
1904
1930
|
end
|
1905
1931
|
end
|
@@ -2919,6 +2945,38 @@ module Google
|
|
2919
2945
|
end
|
2920
2946
|
end
|
2921
2947
|
|
2948
|
+
# Expected request for ListenEvent API.
|
2949
|
+
class ListenEventRequest
|
2950
|
+
include Google::Apis::Core::Hashable
|
2951
|
+
|
2952
|
+
# Optional. Request payload.
|
2953
|
+
# Corresponds to the JSON property `payload`
|
2954
|
+
# @return [Hash<String,Object>]
|
2955
|
+
attr_accessor :payload
|
2956
|
+
|
2957
|
+
def initialize(**args)
|
2958
|
+
update!(**args)
|
2959
|
+
end
|
2960
|
+
|
2961
|
+
# Update properties of this object
|
2962
|
+
def update!(**args)
|
2963
|
+
@payload = args[:payload] if args.key?(:payload)
|
2964
|
+
end
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
# Expected response for ListenEvent API.
|
2968
|
+
class ListenEventResponse
|
2969
|
+
include Google::Apis::Core::Hashable
|
2970
|
+
|
2971
|
+
def initialize(**args)
|
2972
|
+
update!(**args)
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# Update properties of this object
|
2976
|
+
def update!(**args)
|
2977
|
+
end
|
2978
|
+
end
|
2979
|
+
|
2922
2980
|
# A resource that represents a Google Cloud location.
|
2923
2981
|
class Location
|
2924
2982
|
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.
|
19
|
+
GEM_VERSION = "0.46.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 = "20231205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -412,6 +412,18 @@ module Google
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
413
413
|
end
|
414
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
|
+
|
415
427
|
class Location
|
416
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
429
|
|
@@ -734,6 +746,7 @@ module Google
|
|
734
746
|
|
735
747
|
property :is_advanced, as: 'isAdvanced'
|
736
748
|
property :key, as: 'key'
|
749
|
+
property :location_type, as: 'locationType'
|
737
750
|
property :required, as: 'required'
|
738
751
|
property :required_condition, as: 'requiredCondition', class: Google::Apis::ConnectorsV1::LogicalExpression, decorator: Google::Apis::ConnectorsV1::LogicalExpression::Representation
|
739
752
|
|
@@ -794,6 +807,7 @@ module Google
|
|
794
807
|
class Representation < Google::Apis::Core::JsonRepresentation
|
795
808
|
collection :actions, as: 'actions'
|
796
809
|
collection :entities, as: 'entities'
|
810
|
+
property :error_message, as: 'errorMessage'
|
797
811
|
property :name, as: 'name'
|
798
812
|
property :refresh_time, as: 'refreshTime'
|
799
813
|
property :state, as: 'state'
|
@@ -874,6 +888,7 @@ module Google
|
|
874
888
|
|
875
889
|
property :supported_runtime_features, as: 'supportedRuntimeFeatures', class: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures, decorator: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures::Representation
|
876
890
|
|
891
|
+
collection :unsupported_connection_types, as: 'unsupportedConnectionTypes'
|
877
892
|
property :update_time, as: 'updateTime'
|
878
893
|
end
|
879
894
|
end
|
@@ -909,7 +924,6 @@ module Google
|
|
909
924
|
property :description, as: 'description'
|
910
925
|
property :display_name, as: 'displayName'
|
911
926
|
hash :labels, as: 'labels'
|
912
|
-
property :launch_stage, as: 'launchStage'
|
913
927
|
property :logo, as: 'logo'
|
914
928
|
property :name, as: 'name'
|
915
929
|
property :update_time, as: 'updateTime'
|
@@ -921,14 +935,16 @@ module Google
|
|
921
935
|
class Representation < Google::Apis::Core::JsonRepresentation
|
922
936
|
property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
|
923
937
|
|
938
|
+
collection :backend_variable_templates, as: 'backendVariableTemplates', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
|
939
|
+
|
924
940
|
property :create_time, as: 'createTime'
|
925
|
-
|
941
|
+
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
|
926
942
|
|
927
943
|
property :enable_backend_destination_config, as: 'enableBackendDestinationConfig'
|
928
944
|
hash :labels, as: 'labels'
|
929
945
|
property :name, as: 'name'
|
946
|
+
property :service_account, as: 'serviceAccount'
|
930
947
|
property :spec_location, as: 'specLocation'
|
931
|
-
property :type, as: 'type'
|
932
948
|
property :update_time, as: 'updateTime'
|
933
949
|
end
|
934
950
|
end
|
@@ -1084,10 +1100,10 @@ module Google
|
|
1084
1100
|
|
1085
1101
|
property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
|
1086
1102
|
|
1087
|
-
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
|
1088
|
-
|
1089
1103
|
property :enrichment_enabled, as: 'enrichmentEnabled'
|
1090
1104
|
property :events_listener_ingress_endpoint, as: 'eventsListenerIngressEndpoint'
|
1105
|
+
property :listener_auth_config, as: 'listenerAuthConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
|
1106
|
+
|
1091
1107
|
property :private_connectivity_enabled, as: 'privateConnectivityEnabled'
|
1092
1108
|
property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
|
1093
1109
|
|
@@ -1108,6 +1124,8 @@ module Google
|
|
1108
1124
|
property :enrichment_supported, as: 'enrichmentSupported'
|
1109
1125
|
property :event_listener_type, as: 'eventListenerType'
|
1110
1126
|
property :is_eventing_supported, as: 'isEventingSupported'
|
1127
|
+
collection :listener_auth_config_templates, as: 'listenerAuthConfigTemplates', class: Google::Apis::ConnectorsV1::AuthConfigTemplate, decorator: Google::Apis::ConnectorsV1::AuthConfigTemplate::Representation
|
1128
|
+
|
1111
1129
|
property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
|
1112
1130
|
|
1113
1131
|
end
|
@@ -1414,6 +1432,19 @@ module Google
|
|
1414
1432
|
end
|
1415
1433
|
end
|
1416
1434
|
|
1435
|
+
class ListenEventRequest
|
1436
|
+
# @private
|
1437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1438
|
+
hash :payload, as: 'payload'
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
class ListenEventResponse
|
1443
|
+
# @private
|
1444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1417
1448
|
class Location
|
1418
1449
|
# @private
|
1419
1450
|
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`/
|
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.46.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-12-10 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.46.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: []
|