google-apis-connectors_v1 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 636cf3c3b0ab8172fdd6635fd5a7d05eff7820713a411483c41742d139b77c78
4
- data.tar.gz: 4de92b51207124e4b54e649f4712bbf31aca44fd8ab7ecfee316f7596b8293fe
3
+ metadata.gz: 2bb574044650d4cd6a3d0405be33355802f9f705d3935098a6cc611cb27439aa
4
+ data.tar.gz: c67da2d6d9b9251f8066d2329e86ee83304351aa389c1ffafed87abce915c544
5
5
  SHA512:
6
- metadata.gz: 21d107c933347938df5e69c8aff8692c42106c9d529f3caeafbc2a5b3dace6adf932857050286ee5d2c541aed7b698fd593da252e8dd1e0238b8829bacef83db
7
- data.tar.gz: 2c5ec1ca91dad987a01fd3f0a9e09a4841f19e4b36bbce78855f54ffe11aeb88207206cc1e77281d0ee82a6abce8e6240ad23f90f38e74ed0635eca5fc515412
6
+ metadata.gz: 524521de679ea8e173107868038a8fbbd42cfef32c29fb7a31694719419ec1ec14e664558916a38be10fd68c7f0449ae02a12d9142edc472a72e9f4cdaff6688
7
+ data.tar.gz: f7443a0d01e73e9ec220ed008d7943872b8af63f190439c16ff0ced6d458848388717fb8f00a1b7558a35e5816551c90fc58fe728d485ab4ef228cd36f207c97
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.54.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.53.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240226
@@ -1290,6 +1290,11 @@ module Google
1290
1290
  # @return [String]
1291
1291
  attr_accessor :spec_location
1292
1292
 
1293
+ # Output only. Server URLs parsed from the spec.
1294
+ # Corresponds to the JSON property `specServerUrls`
1295
+ # @return [Array<String>]
1296
+ attr_accessor :spec_server_urls
1297
+
1293
1298
  # Output only. State of the custom connector version.
1294
1299
  # Corresponds to the JSON property `state`
1295
1300
  # @return [String]
@@ -1315,6 +1320,7 @@ module Google
1315
1320
  @name = args[:name] if args.key?(:name)
1316
1321
  @service_account = args[:service_account] if args.key?(:service_account)
1317
1322
  @spec_location = args[:spec_location] if args.key?(:spec_location)
1323
+ @spec_server_urls = args[:spec_server_urls] if args.key?(:spec_server_urls)
1318
1324
  @state = args[:state] if args.key?(:state)
1319
1325
  @update_time = args[:update_time] if args.key?(:update_time)
1320
1326
  end
@@ -1522,6 +1528,11 @@ module Google
1522
1528
  class DestinationConfigTemplate
1523
1529
  include Google::Apis::Core::Hashable
1524
1530
 
1531
+ # Autocomplete suggestions for destination URL field.
1532
+ # Corresponds to the JSON property `autocompleteSuggestions`
1533
+ # @return [Array<String>]
1534
+ attr_accessor :autocomplete_suggestions
1535
+
1525
1536
  # The default port.
1526
1537
  # Corresponds to the JSON property `defaultPort`
1527
1538
  # @return [Fixnum]
@@ -1574,6 +1585,7 @@ module Google
1574
1585
 
1575
1586
  # Update properties of this object
1576
1587
  def update!(**args)
1588
+ @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
1577
1589
  @default_port = args[:default_port] if args.key?(:default_port)
1578
1590
  @description = args[:description] if args.key?(:description)
1579
1591
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2238,6 +2250,11 @@ module Google
2238
2250
  # @return [Google::Apis::ConnectorsV1::EventingStatus]
2239
2251
  attr_accessor :status
2240
2252
 
2253
+ # WebhookData has details of webhook configuration.
2254
+ # Corresponds to the JSON property `webhookData`
2255
+ # @return [Google::Apis::ConnectorsV1::WebhookData]
2256
+ attr_accessor :webhook_data
2257
+
2241
2258
  def initialize(**args)
2242
2259
  update!(**args)
2243
2260
  end
@@ -2247,6 +2264,7 @@ module Google
2247
2264
  @events_listener_endpoint = args[:events_listener_endpoint] if args.key?(:events_listener_endpoint)
2248
2265
  @events_listener_psc_sa = args[:events_listener_psc_sa] if args.key?(:events_listener_psc_sa)
2249
2266
  @status = args[:status] if args.key?(:status)
2267
+ @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
2250
2268
  end
2251
2269
  end
2252
2270
 
@@ -5286,6 +5304,108 @@ module Google
5286
5304
  end
5287
5305
  end
5288
5306
 
5307
+ # Request message for ConnectorsService.ValidateCustomConnectorSpec
5308
+ class ValidateCustomConnectorSpecRequest
5309
+ include Google::Apis::Core::Hashable
5310
+
5311
+ # Required. Service account to access the spec from Google Cloud Storage.
5312
+ # Corresponds to the JSON property `serviceAccount`
5313
+ # @return [String]
5314
+ attr_accessor :service_account
5315
+
5316
+ # Required. Location of the custom connector spec. The location can be either a
5317
+ # public url like `https://public-url.com/spec` Or a Google Cloud Storage
5318
+ # location like `gs:///`
5319
+ # Corresponds to the JSON property `specLocation`
5320
+ # @return [String]
5321
+ attr_accessor :spec_location
5322
+
5323
+ # Required. Spec type of the custom connector spec.
5324
+ # Corresponds to the JSON property `specType`
5325
+ # @return [String]
5326
+ attr_accessor :spec_type
5327
+
5328
+ def initialize(**args)
5329
+ update!(**args)
5330
+ end
5331
+
5332
+ # Update properties of this object
5333
+ def update!(**args)
5334
+ @service_account = args[:service_account] if args.key?(:service_account)
5335
+ @spec_location = args[:spec_location] if args.key?(:spec_location)
5336
+ @spec_type = args[:spec_type] if args.key?(:spec_type)
5337
+ end
5338
+ end
5339
+
5340
+ # Response message for ConnectorsService.ValidateCustomConnectorSpec
5341
+ class ValidateCustomConnectorSpecResponse
5342
+ include Google::Apis::Core::Hashable
5343
+
5344
+ # Error message. The spec is valid if the error message is empty.
5345
+ # Corresponds to the JSON property `errorMessage`
5346
+ # @return [String]
5347
+ attr_accessor :error_message
5348
+
5349
+ def initialize(**args)
5350
+ update!(**args)
5351
+ end
5352
+
5353
+ # Update properties of this object
5354
+ def update!(**args)
5355
+ @error_message = args[:error_message] if args.key?(:error_message)
5356
+ end
5357
+ end
5358
+
5359
+ # WebhookData has details of webhook configuration.
5360
+ class WebhookData
5361
+ include Google::Apis::Core::Hashable
5362
+
5363
+ # Output only. Additional webhook related field values.
5364
+ # Corresponds to the JSON property `additionalVariables`
5365
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
5366
+ attr_accessor :additional_variables
5367
+
5368
+ # Output only. Timestamp when the webhook was created.
5369
+ # Corresponds to the JSON property `createTime`
5370
+ # @return [String]
5371
+ attr_accessor :create_time
5372
+
5373
+ # Output only. ID to uniquely identify webhook.
5374
+ # Corresponds to the JSON property `id`
5375
+ # @return [String]
5376
+ attr_accessor :id
5377
+
5378
+ # Output only. Name of the Webhook
5379
+ # Corresponds to the JSON property `name`
5380
+ # @return [String]
5381
+ attr_accessor :name
5382
+
5383
+ # Output only. Next webhook refresh time. Will be null if refresh is not
5384
+ # supported.
5385
+ # Corresponds to the JSON property `nextRefreshTime`
5386
+ # @return [String]
5387
+ attr_accessor :next_refresh_time
5388
+
5389
+ # Output only. Timestamp when the webhook was last updated.
5390
+ # Corresponds to the JSON property `updateTime`
5391
+ # @return [String]
5392
+ attr_accessor :update_time
5393
+
5394
+ def initialize(**args)
5395
+ update!(**args)
5396
+ end
5397
+
5398
+ # Update properties of this object
5399
+ def update!(**args)
5400
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
5401
+ @create_time = args[:create_time] if args.key?(:create_time)
5402
+ @id = args[:id] if args.key?(:id)
5403
+ @name = args[:name] if args.key?(:name)
5404
+ @next_refresh_time = args[:next_refresh_time] if args.key?(:next_refresh_time)
5405
+ @update_time = args[:update_time] if args.key?(:update_time)
5406
+ end
5407
+ end
5408
+
5289
5409
  # Time window specified for weekly operations.
5290
5410
  class WeeklyCycle
5291
5411
  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.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240226"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -754,6 +754,24 @@ module Google
754
754
  include Google::Apis::Core::JsonObjectSupport
755
755
  end
756
756
 
757
+ class ValidateCustomConnectorSpecRequest
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class ValidateCustomConnectorSpecResponse
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class WebhookData
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
757
775
  class WeeklyCycle
758
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
777
 
@@ -1062,6 +1080,7 @@ module Google
1062
1080
  property :name, as: 'name'
1063
1081
  property :service_account, as: 'serviceAccount'
1064
1082
  property :spec_location, as: 'specLocation'
1083
+ collection :spec_server_urls, as: 'specServerUrls'
1065
1084
  property :state, as: 'state'
1066
1085
  property :update_time, as: 'updateTime'
1067
1086
  end
@@ -1126,6 +1145,7 @@ module Google
1126
1145
  class DestinationConfigTemplate
1127
1146
  # @private
1128
1147
  class Representation < Google::Apis::Core::JsonRepresentation
1148
+ collection :autocomplete_suggestions, as: 'autocompleteSuggestions'
1129
1149
  property :default_port, as: 'defaultPort'
1130
1150
  property :description, as: 'description'
1131
1151
  property :display_name, as: 'displayName'
@@ -1318,6 +1338,8 @@ module Google
1318
1338
  property :events_listener_psc_sa, as: 'eventsListenerPscSa'
1319
1339
  property :status, as: 'status', class: Google::Apis::ConnectorsV1::EventingStatus, decorator: Google::Apis::ConnectorsV1::EventingStatus::Representation
1320
1340
 
1341
+ property :webhook_data, as: 'webhookData', class: Google::Apis::ConnectorsV1::WebhookData, decorator: Google::Apis::ConnectorsV1::WebhookData::Representation
1342
+
1321
1343
  end
1322
1344
  end
1323
1345
 
@@ -2154,6 +2176,35 @@ module Google
2154
2176
  end
2155
2177
  end
2156
2178
 
2179
+ class ValidateCustomConnectorSpecRequest
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ property :service_account, as: 'serviceAccount'
2183
+ property :spec_location, as: 'specLocation'
2184
+ property :spec_type, as: 'specType'
2185
+ end
2186
+ end
2187
+
2188
+ class ValidateCustomConnectorSpecResponse
2189
+ # @private
2190
+ class Representation < Google::Apis::Core::JsonRepresentation
2191
+ property :error_message, as: 'errorMessage'
2192
+ end
2193
+ end
2194
+
2195
+ class WebhookData
2196
+ # @private
2197
+ class Representation < Google::Apis::Core::JsonRepresentation
2198
+ collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
2199
+
2200
+ property :create_time, as: 'createTime'
2201
+ property :id, as: 'id'
2202
+ property :name, as: 'name'
2203
+ property :next_refresh_time, as: 'nextRefreshTime'
2204
+ property :update_time, as: 'updateTime'
2205
+ end
2206
+ end
2207
+
2157
2208
  class WeeklyCycle
2158
2209
  # @private
2159
2210
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1123,6 +1123,39 @@ module Google
1123
1123
  execute_or_queue_command(command, &block)
1124
1124
  end
1125
1125
 
1126
+ # Validates a Custom Connector Spec.
1127
+ # @param [String] parent
1128
+ # Required. Location at which the custom connector is being created.
1129
+ # @param [Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecRequest] validate_custom_connector_spec_request_object
1130
+ # @param [String] fields
1131
+ # Selector specifying which fields to include in a partial response.
1132
+ # @param [String] quota_user
1133
+ # Available to use for quota purposes for server-side applications. Can be any
1134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1135
+ # @param [Google::Apis::RequestOptions] options
1136
+ # Request-specific options
1137
+ #
1138
+ # @yield [result, err] Result & error if block supplied
1139
+ # @yieldparam result [Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecResponse] parsed result object
1140
+ # @yieldparam err [StandardError] error object if request failed
1141
+ #
1142
+ # @return [Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecResponse]
1143
+ #
1144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1147
+ def validate_custom_connector_spec(parent, validate_custom_connector_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1148
+ command = make_simple_command(:post, 'v1/{+parent}/customConnectors:validateCustomConnectorSpec', options)
1149
+ command.request_representation = Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecRequest::Representation
1150
+ command.request_object = validate_custom_connector_spec_request_object
1151
+ command.response_representation = Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecResponse::Representation
1152
+ command.response_class = Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecResponse
1153
+ command.params['parent'] = parent unless parent.nil?
1154
+ command.query['fields'] = fields unless fields.nil?
1155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1156
+ execute_or_queue_command(command, &block)
1157
+ end
1158
+
1126
1159
  # Creates a new EndpointAttachment in a given project and location.
1127
1160
  # @param [String] parent
1128
1161
  # Required. Parent resource of the EndpointAttachment, of the form: `projects/*/
@@ -1597,38 +1630,6 @@ module Google
1597
1630
  execute_or_queue_command(command, &block)
1598
1631
  end
1599
1632
 
1600
- # Deletes a single CustomConnectorVersion.
1601
- # @param [String] name
1602
- # Required. Resource name of the form: `projects/`project`/locations/`location`/
1603
- # customConnectors/`custom_connector`/customConnectorVersions/`
1604
- # custom_connector_version``
1605
- # @param [String] fields
1606
- # Selector specifying which fields to include in a partial response.
1607
- # @param [String] quota_user
1608
- # Available to use for quota purposes for server-side applications. Can be any
1609
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1610
- # @param [Google::Apis::RequestOptions] options
1611
- # Request-specific options
1612
- #
1613
- # @yield [result, err] Result & error if block supplied
1614
- # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1615
- # @yieldparam err [StandardError] error object if request failed
1616
- #
1617
- # @return [Google::Apis::ConnectorsV1::Operation]
1618
- #
1619
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1620
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1621
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1622
- def delete_project_location_global_custom_connector_custom_connector_version(name, fields: nil, quota_user: nil, options: nil, &block)
1623
- command = make_simple_command(:delete, 'v1/{+name}', options)
1624
- command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1625
- command.response_class = Google::Apis::ConnectorsV1::Operation
1626
- command.params['name'] = name unless name.nil?
1627
- command.query['fields'] = fields unless fields.nil?
1628
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1629
- execute_or_queue_command(command, &block)
1630
- end
1631
-
1632
1633
  # Gets details of a single CustomConnectorVersion.
1633
1634
  # @param [String] name
1634
1635
  # Required. Resource name of the form: `projects/*/locations/`location`/
@@ -1697,48 +1698,6 @@ module Google
1697
1698
  execute_or_queue_command(command, &block)
1698
1699
  end
1699
1700
 
1700
- # Updates the parameters of a CustomConnectorVersion.
1701
- # @param [String] name
1702
- # Output only. Identifier. Resource name of the Version. Format: projects/`
1703
- # project`/locations/`location`/customConnectors/`custom_connector`/
1704
- # customConnectorVersions/`custom_connector_version`
1705
- # @param [Google::Apis::ConnectorsV1::CustomConnectorVersion] custom_connector_version_object
1706
- # @param [String] update_mask
1707
- # Required. Field mask is used to specify the fields to be overwritten in the
1708
- # Connector resource by the update. The fields specified in the update_mask are
1709
- # relative to the resource, not the full request. A field will be overwritten if
1710
- # it is in the mask. Set the mask as "*" for full replacement, which means all
1711
- # fields will be overwritten.
1712
- # @param [String] fields
1713
- # Selector specifying which fields to include in a partial response.
1714
- # @param [String] quota_user
1715
- # Available to use for quota purposes for server-side applications. Can be any
1716
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1717
- # @param [Google::Apis::RequestOptions] options
1718
- # Request-specific options
1719
- #
1720
- # @yield [result, err] Result & error if block supplied
1721
- # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1722
- # @yieldparam err [StandardError] error object if request failed
1723
- #
1724
- # @return [Google::Apis::ConnectorsV1::Operation]
1725
- #
1726
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1727
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1728
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1729
- 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)
1730
- command = make_simple_command(:patch, 'v1/{+name}', options)
1731
- command.request_representation = Google::Apis::ConnectorsV1::CustomConnectorVersion::Representation
1732
- command.request_object = custom_connector_version_object
1733
- command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1734
- command.response_class = Google::Apis::ConnectorsV1::Operation
1735
- command.params['name'] = name unless name.nil?
1736
- command.query['updateMask'] = update_mask unless update_mask.nil?
1737
- command.query['fields'] = fields unless fields.nil?
1738
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1739
- execute_or_queue_command(command, &block)
1740
- end
1741
-
1742
1701
  # Creates a new ManagedZone in a given project and location.
1743
1702
  # @param [String] parent
1744
1703
  # 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.53.0
4
+ version: 0.54.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: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.54.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: []