google-apis-connectors_v1 0.44.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: 7349a3e16845897ff39bb276ca696a7d080407e95d09a200b1013c265c60fadd
4
- data.tar.gz: 11453498b3fa67b6cd3361a3fba9a99c07ea3a06559de1d677c7c07aa5fd68cd
3
+ metadata.gz: 906a1ca993a255521946b258539d5b78514125252acb90f6ca4693300fd6ef84
4
+ data.tar.gz: b5452fbf2a9b33202caca7afdcf625070797757c5f329ee910c1b9739b592598
5
5
  SHA512:
6
- metadata.gz: 9946d56c4748337e3918c3a2d17b3537c6f2de942afe79f74621d261736bbaf668b06f0b0de2073ca9bb2336a177ac08a585a562d0638ba402672466af3b3563
7
- data.tar.gz: 2718b678f008fe7cdffdb011a7f404bdc16bb9db3e21c4549e76b8bd7c3f758a7b2ba3ef6ea34581af9cad9db1bc481675a08c8bc078ea3fcdef5b772f4ddffb
6
+ metadata.gz: 87c952a0c3100465940fa6a14dc6bac6e28254284fd76a5ad1717a0e2687b1321434d5e9905ca8bca7ec4d5ffa01d7345c4fd47605c39f970766423a05dfadfd
7
+ data.tar.gz: ac4861a98d914572d2fc87025bb1408c545fb34071834d72c1eba6a6417facc483583c38a794541a9203576cd1a325f6ce7c50ba070537f8632ef89273e14714
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.44.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231106
@@ -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)
@@ -1136,11 +1142,6 @@ module Google
1136
1142
  # @return [Hash<String,String>]
1137
1143
  attr_accessor :labels
1138
1144
 
1139
- # Output only. Launch stage.
1140
- # Corresponds to the JSON property `launchStage`
1141
- # @return [String]
1142
- attr_accessor :launch_stage
1143
-
1144
1145
  # Optional. Logo of the resource.
1145
1146
  # Corresponds to the JSON property `logo`
1146
1147
  # @return [String]
@@ -1168,7 +1169,6 @@ module Google
1168
1169
  @description = args[:description] if args.key?(:description)
1169
1170
  @display_name = args[:display_name] if args.key?(:display_name)
1170
1171
  @labels = args[:labels] if args.key?(:labels)
1171
- @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1172
1172
  @logo = args[:logo] if args.key?(:logo)
1173
1173
  @name = args[:name] if args.key?(:name)
1174
1174
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1215,16 +1215,17 @@ module Google
1215
1215
  # @return [String]
1216
1216
  attr_accessor :name
1217
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
+
1218
1224
  # Optional. Location of the custom connector spec.
1219
1225
  # Corresponds to the JSON property `specLocation`
1220
1226
  # @return [String]
1221
1227
  attr_accessor :spec_location
1222
1228
 
1223
- # Required. Type of the customConnector.
1224
- # Corresponds to the JSON property `type`
1225
- # @return [String]
1226
- attr_accessor :type
1227
-
1228
1229
  # Output only. Updated time.
1229
1230
  # Corresponds to the JSON property `updateTime`
1230
1231
  # @return [String]
@@ -1242,8 +1243,8 @@ module Google
1242
1243
  @enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config)
1243
1244
  @labels = args[:labels] if args.key?(:labels)
1244
1245
  @name = args[:name] if args.key?(:name)
1246
+ @service_account = args[:service_account] if args.key?(:service_account)
1245
1247
  @spec_location = args[:spec_location] if args.key?(:spec_location)
1246
- @type = args[:type] if args.key?(:type)
1247
1248
  @update_time = args[:update_time] if args.key?(:update_time)
1248
1249
  end
1249
1250
  end
@@ -1786,12 +1787,6 @@ module Google
1786
1787
  # @return [Google::Apis::ConnectorsV1::AuthConfig]
1787
1788
  attr_accessor :auth_config
1788
1789
 
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
1790
  # Enrichment Enabled.
1796
1791
  # Corresponds to the JSON property `enrichmentEnabled`
1797
1792
  # @return [Boolean]
@@ -1804,6 +1799,11 @@ module Google
1804
1799
  # @return [String]
1805
1800
  attr_accessor :events_listener_ingress_endpoint
1806
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
+
1807
1807
  # Optional. Private Connectivity Enabled.
1808
1808
  # Corresponds to the JSON property `privateConnectivityEnabled`
1809
1809
  # @return [Boolean]
@@ -1823,9 +1823,9 @@ module Google
1823
1823
  def update!(**args)
1824
1824
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1825
1825
  @auth_config = args[:auth_config] if args.key?(:auth_config)
1826
- @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
1827
1826
  @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
1828
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)
1829
1829
  @private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
1830
1830
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1831
1831
  end
@@ -1880,6 +1880,11 @@ module Google
1880
1880
  attr_accessor :is_eventing_supported
1881
1881
  alias_method :is_eventing_supported?, :is_eventing_supported
1882
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
+
1883
1888
  # DestinationConfigTemplate defines required destinations supported by the
1884
1889
  # Connector.
1885
1890
  # Corresponds to the JSON property `registrationDestinationConfig`
@@ -1900,6 +1905,7 @@ module Google
1900
1905
  @enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
1901
1906
  @event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
1902
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)
1903
1909
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1904
1910
  end
1905
1911
  end
@@ -2919,6 +2925,38 @@ module Google
2919
2925
  end
2920
2926
  end
2921
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
+
2922
2960
  # A resource that represents a Google Cloud location.
2923
2961
  class Location
2924
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.44.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 = "20231106"
25
+ REVISION = "20231126"
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
 
@@ -794,6 +806,7 @@ module Google
794
806
  class Representation < Google::Apis::Core::JsonRepresentation
795
807
  collection :actions, as: 'actions'
796
808
  collection :entities, as: 'entities'
809
+ property :error_message, as: 'errorMessage'
797
810
  property :name, as: 'name'
798
811
  property :refresh_time, as: 'refreshTime'
799
812
  property :state, as: 'state'
@@ -909,7 +922,6 @@ module Google
909
922
  property :description, as: 'description'
910
923
  property :display_name, as: 'displayName'
911
924
  hash :labels, as: 'labels'
912
- property :launch_stage, as: 'launchStage'
913
925
  property :logo, as: 'logo'
914
926
  property :name, as: 'name'
915
927
  property :update_time, as: 'updateTime'
@@ -927,8 +939,8 @@ module Google
927
939
  property :enable_backend_destination_config, as: 'enableBackendDestinationConfig'
928
940
  hash :labels, as: 'labels'
929
941
  property :name, as: 'name'
942
+ property :service_account, as: 'serviceAccount'
930
943
  property :spec_location, as: 'specLocation'
931
- property :type, as: 'type'
932
944
  property :update_time, as: 'updateTime'
933
945
  end
934
946
  end
@@ -1084,10 +1096,10 @@ module Google
1084
1096
 
1085
1097
  property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
1086
1098
 
1087
- property :encryption_key, as: 'encryptionKey', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
1088
-
1089
1099
  property :enrichment_enabled, as: 'enrichmentEnabled'
1090
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
+
1091
1103
  property :private_connectivity_enabled, as: 'privateConnectivityEnabled'
1092
1104
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
1093
1105
 
@@ -1108,6 +1120,8 @@ module Google
1108
1120
  property :enrichment_supported, as: 'enrichmentSupported'
1109
1121
  property :event_listener_type, as: 'eventListenerType'
1110
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
+
1111
1125
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
1112
1126
 
1113
1127
  end
@@ -1414,6 +1428,19 @@ module Google
1414
1428
  end
1415
1429
  end
1416
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
+
1417
1444
  class Location
1418
1445
  # @private
1419
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`/
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.44.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-19 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.44.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: []