Skip to content

Commit 8f904ce

Browse files
feat: Automated regeneration of connectors v1 client (googleapis#21844)
Auto-created at 2025-02-26 21:01:58 +0000 using the toys pull request generator.
1 parent 9d42804 commit 8f904ce

File tree

5 files changed

+151
-5
lines changed

5 files changed

+151
-5
lines changed

api_names_out.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117214,6 +117214,8 @@
117214117214
"/connectors:v1/EndpointAttachment/serviceAttachment": service_attachment
117215117215
"/connectors:v1/EndpointAttachment/state": state
117216117216
"/connectors:v1/EndpointAttachment/updateTime": update_time
117217+
"/connectors:v1/EnrichmentConfig": enrichment_config
117218+
"/connectors:v1/EnrichmentConfig/appendAcl": append_acl
117217117219
"/connectors:v1/EnumOption": enum_option
117218117220
"/connectors:v1/EnumOption/displayName": display_name
117219117221
"/connectors:v1/EnumOption/id": id
@@ -117232,6 +117234,7 @@
117232117234
"/connectors:v1/EventSubscriptionDestination": event_subscription_destination
117233117235
"/connectors:v1/EventSubscriptionDestination/endpoint": endpoint
117234117236
"/connectors:v1/EventSubscriptionDestination/gsutil": gsutil
117237+
"/connectors:v1/EventSubscriptionDestination/pubsub": pubsub
117235117238
"/connectors:v1/EventSubscriptionDestination/serviceAccount": service_account
117236117239
"/connectors:v1/EventSubscriptionDestination/type": type
117237117240
"/connectors:v1/EventSubscriptionStatus": event_subscription_status
@@ -117252,6 +117255,7 @@
117252117255
"/connectors:v1/EventingConfig/authConfig": auth_config
117253117256
"/connectors:v1/EventingConfig/deadLetterConfig": dead_letter_config
117254117257
"/connectors:v1/EventingConfig/encryptionKey": encryption_key
117258+
"/connectors:v1/EventingConfig/enrichmentConfig": enrichment_config
117255117259
"/connectors:v1/EventingConfig/enrichmentEnabled": enrichment_enabled
117256117260
"/connectors:v1/EventingConfig/eventsListenerIngressEndpoint": events_listener_ingress_endpoint
117257117261
"/connectors:v1/EventingConfig/listenerAuthConfig": listener_auth_config
@@ -117377,6 +117381,8 @@
117377117381
"/connectors:v1/JsonAuthSchema/oneOf": one_of
117378117382
"/connectors:v1/JsonAuthSchema/oneOf/one_of": one_of
117379117383
"/connectors:v1/JsonSchema": json_schema
117384+
"/connectors:v1/JsonSchema/additionalDetails": additional_details
117385+
"/connectors:v1/JsonSchema/additionalDetails/additional_detail": additional_detail
117380117386
"/connectors:v1/JsonSchema/default": default
117381117387
"/connectors:v1/JsonSchema/description": description
117382117388
"/connectors:v1/JsonSchema/enum": enum
@@ -117599,7 +117605,9 @@
117599117605
"/connectors:v1/PartnerMetadata/additionalComments": additional_comments
117600117606
"/connectors:v1/PartnerMetadata/confirmPartnerRequirements": confirm_partner_requirements
117601117607
"/connectors:v1/PartnerMetadata/demoUri": demo_uri
117608+
"/connectors:v1/PartnerMetadata/hasDynamicSpecUri": has_dynamic_spec_uri
117602117609
"/connectors:v1/PartnerMetadata/integrationTemplates": integration_templates
117610+
"/connectors:v1/PartnerMetadata/localSpecPath": local_spec_path
117603117611
"/connectors:v1/PartnerMetadata/marketplaceProduct": marketplace_product
117604117612
"/connectors:v1/PartnerMetadata/marketplaceProductId": marketplace_product_id
117605117613
"/connectors:v1/PartnerMetadata/marketplaceProductProjectId": marketplace_product_project_id
@@ -117635,6 +117643,13 @@
117635117643
"/connectors:v1/ProvisionedResource": provisioned_resource
117636117644
"/connectors:v1/ProvisionedResource/resourceType": resource_type
117637117645
"/connectors:v1/ProvisionedResource/resourceUrl": resource_url
117646+
"/connectors:v1/PubSub": pub_sub
117647+
"/connectors:v1/PubSub/attributes": attributes
117648+
"/connectors:v1/PubSub/attributes/attribute": attribute
117649+
"/connectors:v1/PubSub/configVariables": config_variables
117650+
"/connectors:v1/PubSub/configVariables/config_variable": config_variable
117651+
"/connectors:v1/PubSub/projectId": project_id
117652+
"/connectors:v1/PubSub/topicId": topic_id
117638117653
"/connectors:v1/PublishCustomConnectorVersionRequest": publish_custom_connector_version_request
117639117654
"/connectors:v1/PublishCustomConnectorVersionRequest/partnerMetadata": partner_metadata
117640117655
"/connectors:v1/PublishStatus": publish_status

generated/google-apis-connectors_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-connectors_v1
22

3+
### v0.67.0 (2025-02-26)
4+
5+
* Regenerated from discovery document revision 20250218
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.66.0 (2025-01-07)
49

510
* Regenerated from discovery document revision 20250101

generated/google-apis-connectors_v1/lib/google/apis/connectors_v1/classes.rb

Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,6 +2232,26 @@ def update!(**args)
22322232
end
22332233
end
22342234

2235+
# Data enrichment configuration.
2236+
class EnrichmentConfig
2237+
include Google::Apis::Core::Hashable
2238+
2239+
# Optional. Append ACL to the event.
2240+
# Corresponds to the JSON property `appendAcl`
2241+
# @return [Boolean]
2242+
attr_accessor :append_acl
2243+
alias_method :append_acl?, :append_acl
2244+
2245+
def initialize(**args)
2246+
update!(**args)
2247+
end
2248+
2249+
# Update properties of this object
2250+
def update!(**args)
2251+
@append_acl = args[:append_acl] if args.key?(:append_acl)
2252+
end
2253+
end
2254+
22352255
# EnumOption definition
22362256
class EnumOption
22372257
include Google::Apis::Core::Hashable
@@ -2341,6 +2361,11 @@ class EventSubscriptionDestination
23412361
# @return [Google::Apis::ConnectorsV1::EndPoint]
23422362
attr_accessor :endpoint
23432363

2364+
# Pub/Sub message includes details of the Destination Pub/Sub topic.
2365+
# Corresponds to the JSON property `pubsub`
2366+
# @return [Google::Apis::ConnectorsV1::PubSub]
2367+
attr_accessor :pubsub
2368+
23442369
# Service account needed for runtime plane to trigger IP workflow.
23452370
# Corresponds to the JSON property `serviceAccount`
23462371
# @return [String]
@@ -2358,6 +2383,7 @@ def initialize(**args)
23582383
# Update properties of this object
23592384
def update!(**args)
23602385
@endpoint = args[:endpoint] if args.key?(:endpoint)
2386+
@pubsub = args[:pubsub] if args.key?(:pubsub)
23612387
@service_account = args[:service_account] if args.key?(:service_account)
23622388
@type = args[:type] if args.key?(:type)
23632389
end
@@ -2473,6 +2499,11 @@ class EventingConfig
24732499
# @return [Google::Apis::ConnectorsV1::DeadLetterConfig]
24742500
attr_accessor :dead_letter_config
24752501

2502+
# Data enrichment configuration.
2503+
# Corresponds to the JSON property `enrichmentConfig`
2504+
# @return [Google::Apis::ConnectorsV1::EnrichmentConfig]
2505+
attr_accessor :enrichment_config
2506+
24762507
# Optional. Enrichment Enabled.
24772508
# Corresponds to the JSON property `enrichmentEnabled`
24782509
# @return [Boolean]
@@ -2515,6 +2546,7 @@ def update!(**args)
25152546
@additional_variables = args[:additional_variables] if args.key?(:additional_variables)
25162547
@auth_config = args[:auth_config] if args.key?(:auth_config)
25172548
@dead_letter_config = args[:dead_letter_config] if args.key?(:dead_letter_config)
2549+
@enrichment_config = args[:enrichment_config] if args.key?(:enrichment_config)
25182550
@enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
25192551
@events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
25202552
@listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
@@ -3310,6 +3342,12 @@ def update!(**args)
33103342
class JsonSchema
33113343
include Google::Apis::Core::Hashable
33123344

3345+
# Additional details apart from standard json schema fields, this gives
3346+
# flexibility to store metadata about the schema
3347+
# Corresponds to the JSON property `additionalDetails`
3348+
# @return [Hash<String,Object>]
3349+
attr_accessor :additional_details
3350+
33133351
# The default value of the field or object described by this schema.
33143352
# Corresponds to the JSON property `default`
33153353
# @return [Object]
@@ -3365,6 +3403,7 @@ def initialize(**args)
33653403

33663404
# Update properties of this object
33673405
def update!(**args)
3406+
@additional_details = args[:additional_details] if args.key?(:additional_details)
33683407
@default = args[:default] if args.key?(:default)
33693408
@description = args[:description] if args.key?(:description)
33703409
@enum = args[:enum] if args.key?(:enum)
@@ -4752,11 +4791,22 @@ class PartnerMetadata
47524791
# @return [String]
47534792
attr_accessor :demo_uri
47544793

4794+
# Output only. Has dynamic open api spec uri.
4795+
# Corresponds to the JSON property `hasDynamicSpecUri`
4796+
# @return [Boolean]
4797+
attr_accessor :has_dynamic_spec_uri
4798+
alias_method :has_dynamic_spec_uri?, :has_dynamic_spec_uri
4799+
47554800
# Required. Integration example templates for the custom connector.
47564801
# Corresponds to the JSON property `integrationTemplates`
47574802
# @return [String]
47584803
attr_accessor :integration_templates
47594804

4805+
# Output only. Local spec path. Required if has_dynamic_spec_uri is true.
4806+
# Corresponds to the JSON property `localSpecPath`
4807+
# @return [String]
4808+
attr_accessor :local_spec_path
4809+
47604810
# Optional. Marketplace product name.
47614811
# Corresponds to the JSON property `marketplaceProduct`
47624812
# @return [String]
@@ -4817,7 +4867,9 @@ def update!(**args)
48174867
@additional_comments = args[:additional_comments] if args.key?(:additional_comments)
48184868
@confirm_partner_requirements = args[:confirm_partner_requirements] if args.key?(:confirm_partner_requirements)
48194869
@demo_uri = args[:demo_uri] if args.key?(:demo_uri)
4870+
@has_dynamic_spec_uri = args[:has_dynamic_spec_uri] if args.key?(:has_dynamic_spec_uri)
48204871
@integration_templates = args[:integration_templates] if args.key?(:integration_templates)
4872+
@local_spec_path = args[:local_spec_path] if args.key?(:local_spec_path)
48214873
@marketplace_product = args[:marketplace_product] if args.key?(:marketplace_product)
48224874
@marketplace_product_id = args[:marketplace_product_id] if args.key?(:marketplace_product_id)
48234875
@marketplace_product_project_id = args[:marketplace_product_project_id] if args.key?(:marketplace_product_project_id)
@@ -5062,6 +5114,43 @@ def update!(**args)
50625114
end
50635115
end
50645116

5117+
# Pub/Sub message includes details of the Destination Pub/Sub topic.
5118+
class PubSub
5119+
include Google::Apis::Core::Hashable
5120+
5121+
# Optional. Pub/Sub message attributes to be added to the Pub/Sub message.
5122+
# Corresponds to the JSON property `attributes`
5123+
# @return [Hash<String,String>]
5124+
attr_accessor :attributes
5125+
5126+
# Optional. Configuration for configuring the trigger
5127+
# Corresponds to the JSON property `configVariables`
5128+
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
5129+
attr_accessor :config_variables
5130+
5131+
# Required. The project id which has the Pub/Sub topic.
5132+
# Corresponds to the JSON property `projectId`
5133+
# @return [String]
5134+
attr_accessor :project_id
5135+
5136+
# Required. The topic id of the Pub/Sub topic.
5137+
# Corresponds to the JSON property `topicId`
5138+
# @return [String]
5139+
attr_accessor :topic_id
5140+
5141+
def initialize(**args)
5142+
update!(**args)
5143+
end
5144+
5145+
# Update properties of this object
5146+
def update!(**args)
5147+
@attributes = args[:attributes] if args.key?(:attributes)
5148+
@config_variables = args[:config_variables] if args.key?(:config_variables)
5149+
@project_id = args[:project_id] if args.key?(:project_id)
5150+
@topic_id = args[:topic_id] if args.key?(:topic_id)
5151+
end
5152+
end
5153+
50655154
# Request message for ConnectorsService.PublishCustomConnectorVersion
50665155
class PublishCustomConnectorVersionRequest
50675156
include Google::Apis::Core::Hashable
@@ -5341,7 +5430,7 @@ class RoleGrant
53415430
# @return [String]
53425431
attr_accessor :helper_text_template
53435432

5344-
# Optional. Prinicipal/Identity for whom the role need to assigned.
5433+
# Optional. Principal/Identity for whom the role need to assigned.
53455434
# Corresponds to the JSON property `principal`
53465435
# @return [String]
53475436
attr_accessor :principal
@@ -5859,7 +5948,7 @@ def update!(**args)
58595948
class Source
58605949
include Google::Apis::Core::Hashable
58615950

5862-
# Field identifier. For example config vaiable name.
5951+
# Field identifier. For example config variable name.
58635952
# Corresponds to the JSON property `fieldId`
58645953
# @return [String]
58655954
attr_accessor :field_id

generated/google-apis-connectors_v1/lib/google/apis/connectors_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ConnectorsV1
1818
# Version of the google-apis-connectors_v1 gem
19-
GEM_VERSION = "0.66.0"
19+
GEM_VERSION = "0.67.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250101"
25+
REVISION = "20250218"
2626
end
2727
end
2828
end

generated/google-apis-connectors_v1/lib/google/apis/connectors_v1/representations.rb

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
250250
include Google::Apis::Core::JsonObjectSupport
251251
end
252252

253+
class EnrichmentConfig
254+
class Representation < Google::Apis::Core::JsonRepresentation; end
255+
256+
include Google::Apis::Core::JsonObjectSupport
257+
end
258+
253259
class EnumOption
254260
class Representation < Google::Apis::Core::JsonRepresentation; end
255261

@@ -658,6 +664,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
658664
include Google::Apis::Core::JsonObjectSupport
659665
end
660666

667+
class PubSub
668+
class Representation < Google::Apis::Core::JsonRepresentation; end
669+
670+
include Google::Apis::Core::JsonObjectSupport
671+
end
672+
661673
class PublishCustomConnectorVersionRequest
662674
class Representation < Google::Apis::Core::JsonRepresentation; end
663675

@@ -1448,6 +1460,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
14481460
end
14491461
end
14501462

1463+
class EnrichmentConfig
1464+
# @private
1465+
class Representation < Google::Apis::Core::JsonRepresentation
1466+
property :append_acl, as: 'appendAcl'
1467+
end
1468+
end
1469+
14511470
class EnumOption
14521471
# @private
14531472
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1481,6 +1500,8 @@ class EventSubscriptionDestination
14811500
class Representation < Google::Apis::Core::JsonRepresentation
14821501
property :endpoint, as: 'endpoint', class: Google::Apis::ConnectorsV1::EndPoint, decorator: Google::Apis::ConnectorsV1::EndPoint::Representation
14831502

1503+
property :pubsub, as: 'pubsub', class: Google::Apis::ConnectorsV1::PubSub, decorator: Google::Apis::ConnectorsV1::PubSub::Representation
1504+
14841505
property :service_account, as: 'serviceAccount'
14851506
property :type, as: 'type'
14861507
end
@@ -1517,6 +1538,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
15171538

15181539
property :dead_letter_config, as: 'deadLetterConfig', class: Google::Apis::ConnectorsV1::DeadLetterConfig, decorator: Google::Apis::ConnectorsV1::DeadLetterConfig::Representation
15191540

1541+
property :enrichment_config, as: 'enrichmentConfig', class: Google::Apis::ConnectorsV1::EnrichmentConfig, decorator: Google::Apis::ConnectorsV1::EnrichmentConfig::Representation
1542+
15201543
property :enrichment_enabled, as: 'enrichmentEnabled'
15211544
property :events_listener_ingress_endpoint, as: 'eventsListenerIngressEndpoint'
15221545
property :listener_auth_config, as: 'listenerAuthConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
@@ -1731,6 +1754,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17311754
class JsonSchema
17321755
# @private
17331756
class Representation < Google::Apis::Core::JsonRepresentation
1757+
hash :additional_details, as: 'additionalDetails'
17341758
property :default, as: 'default'
17351759
property :description, as: 'description'
17361760
collection :enum, as: 'enum'
@@ -2146,7 +2170,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
21462170
property :additional_comments, as: 'additionalComments'
21472171
property :confirm_partner_requirements, as: 'confirmPartnerRequirements'
21482172
property :demo_uri, as: 'demoUri'
2173+
property :has_dynamic_spec_uri, as: 'hasDynamicSpecUri'
21492174
property :integration_templates, as: 'integrationTemplates'
2175+
property :local_spec_path, as: 'localSpecPath'
21502176
property :marketplace_product, as: 'marketplaceProduct'
21512177
property :marketplace_product_id, as: 'marketplaceProductId'
21522178
property :marketplace_product_project_id, as: 'marketplaceProductProjectId'
@@ -2204,6 +2230,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
22042230
end
22052231
end
22062232

2233+
class PubSub
2234+
# @private
2235+
class Representation < Google::Apis::Core::JsonRepresentation
2236+
hash :attributes, as: 'attributes'
2237+
collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
2238+
2239+
property :project_id, as: 'projectId'
2240+
property :topic_id, as: 'topicId'
2241+
end
2242+
end
2243+
22072244
class PublishCustomConnectorVersionRequest
22082245
# @private
22092246
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)