Skip to content

Commit a3a9921

Browse files
feat: Automated regeneration of connectors v1 client (googleapis#23300)
Auto-created at 2025-06-01 10:26:48 +0000 using the toys pull request generator.
1 parent de73fe2 commit a3a9921

File tree

5 files changed

+13
-80
lines changed

5 files changed

+13
-80
lines changed

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.73.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250521
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.72.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250507

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,11 +1384,6 @@ class ConnectorVersion
13841384
# @return [String]
13851385
attr_accessor :name
13861386

1387-
# Optional. The priority entity types for the connector version.
1388-
# Corresponds to the JSON property `priorityEntityTypes`
1389-
# @return [Array<Google::Apis::ConnectorsV1::PriorityEntityType>]
1390-
attr_accessor :priority_entity_types
1391-
13921387
# Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha".
13931388
# Corresponds to the JSON property `releaseVersion`
13941389
# @return [String]
@@ -1463,7 +1458,6 @@ def update!(**args)
14631458
@labels = args[:labels] if args.key?(:labels)
14641459
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
14651460
@name = args[:name] if args.key?(:name)
1466-
@priority_entity_types = args[:priority_entity_types] if args.key?(:priority_entity_types)
14671461
@release_version = args[:release_version] if args.key?(:release_version)
14681462
@role_grant = args[:role_grant] if args.key?(:role_grant)
14691463
@role_grants = args[:role_grants] if args.key?(:role_grants)
@@ -5761,44 +5755,6 @@ def update!(**args)
57615755
end
57625756
end
57635757

5764-
# PriorityEntityType represents an entity type with its associated priority and
5765-
# order.
5766-
class PriorityEntityType
5767-
include Google::Apis::Core::Hashable
5768-
5769-
# The description of the entity type.
5770-
# Corresponds to the JSON property `description`
5771-
# @return [String]
5772-
attr_accessor :description
5773-
5774-
# The entity type.
5775-
# Corresponds to the JSON property `id`
5776-
# @return [String]
5777-
attr_accessor :id
5778-
5779-
# The order of the entity type within its priority group.
5780-
# Corresponds to the JSON property `order`
5781-
# @return [Fixnum]
5782-
attr_accessor :order
5783-
5784-
# The priority of the entity type, such as P0, P1, etc.
5785-
# Corresponds to the JSON property `priority`
5786-
# @return [String]
5787-
attr_accessor :priority
5788-
5789-
def initialize(**args)
5790-
update!(**args)
5791-
end
5792-
5793-
# Update properties of this object
5794-
def update!(**args)
5795-
@description = args[:description] if args.key?(:description)
5796-
@id = args[:id] if args.key?(:id)
5797-
@order = args[:order] if args.key?(:order)
5798-
@priority = args[:priority] if args.key?(:priority)
5799-
end
5800-
end
5801-
58025758
# Provider indicates the owner who provides the connectors.
58035759
class Provider
58045760
include Google::Apis::Core::Hashable

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.72.0"
19+
GEM_VERSION = "0.73.0"
2020

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

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

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -754,12 +754,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
754754
include Google::Apis::Core::JsonObjectSupport
755755
end
756756

757-
class PriorityEntityType
758-
class Representation < Google::Apis::Core::JsonRepresentation; end
759-
760-
include Google::Apis::Core::JsonObjectSupport
761-
end
762-
763757
class Provider
764758
class Representation < Google::Apis::Core::JsonRepresentation; end
765759

@@ -1356,8 +1350,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
13561350
hash :labels, as: 'labels'
13571351
property :launch_stage, as: 'launchStage'
13581352
property :name, as: 'name'
1359-
collection :priority_entity_types, as: 'priorityEntityTypes', class: Google::Apis::ConnectorsV1::PriorityEntityType, decorator: Google::Apis::ConnectorsV1::PriorityEntityType::Representation
1360-
13611353
property :release_version, as: 'releaseVersion'
13621354
property :role_grant, as: 'roleGrant', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
13631355

@@ -2536,16 +2528,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
25362528
end
25372529
end
25382530

2539-
class PriorityEntityType
2540-
# @private
2541-
class Representation < Google::Apis::Core::JsonRepresentation
2542-
property :description, as: 'description'
2543-
property :id, as: 'id'
2544-
property :order, as: 'order'
2545-
property :priority, as: 'priority'
2546-
end
2547-
end
2548-
25492531
class Provider
25502532
# @private
25512533
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def listen_connection_event(resource_path, listen_event_request_object = nil, fi
501501
# update the connection details: * `description` * `labels` * `connector_version`
502502
# * `config_variables` * `auth_config` * `destination_configs` * `node_config` *
503503
# `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` *
504-
# `auth_override_enabled`
504+
# `auth_override_enabled` * `async_operations_enabled`
505505
# @param [String] fields
506506
# Selector specifying which fields to include in a partial response.
507507
# @param [String] quota_user
@@ -1539,7 +1539,8 @@ def withdraw_custom_connector_version(name, withdraw_custom_connector_version_re
15391539
# @param [Google::Apis::ConnectorsV1::EndpointAttachment] endpoint_attachment_object
15401540
# @param [String] endpoint_attachment_id
15411541
# Required. Identifier to assign to the EndpointAttachment. Must be unique
1542-
# within scope of the parent resource.
1542+
# within scope of the parent resource. The regex is: `^[a-z]([a-z0-9-]`0,61`[a-
1543+
# z0-9])?$`.
15431544
# @param [String] fields
15441545
# Selector specifying which fields to include in a partial response.
15451546
# @param [String] quota_user
@@ -2714,9 +2715,6 @@ def fetch_project_location_provider_connector_version_auth_schema(name, view: ni
27142715
# Required. Resource name of the form: `projects/*/locations/*/providers/*/
27152716
# connectors/*/versions/*` Only global location is supported for
27162717
# ConnectorVersion resource.
2717-
# @param [String] schema_view
2718-
# Optional. Enum to control whether schema enrichment related fields should be
2719-
# included in the response.
27202718
# @param [String] view
27212719
# Specifies which fields of the ConnectorVersion are returned in the response.
27222720
# Defaults to `CUSTOMER` view.
@@ -2737,12 +2735,11 @@ def fetch_project_location_provider_connector_version_auth_schema(name, view: ni
27372735
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27382736
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27392737
# @raise [Google::Apis::AuthorizationError] Authorization is required
2740-
def get_project_location_provider_connector_version(name, schema_view: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
2738+
def get_project_location_provider_connector_version(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
27412739
command = make_simple_command(:get, 'v1/{+name}', options)
27422740
command.response_representation = Google::Apis::ConnectorsV1::ConnectorVersion::Representation
27432741
command.response_class = Google::Apis::ConnectorsV1::ConnectorVersion
27442742
command.params['name'] = name unless name.nil?
2745-
command.query['schemaView'] = schema_view unless schema_view.nil?
27462743
command.query['view'] = view unless view.nil?
27472744
command.query['fields'] = fields unless fields.nil?
27482745
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2751,16 +2748,10 @@ def get_project_location_provider_connector_version(name, schema_view: nil, view
27512748

27522749
# Lists Connector Versions in a given project and location.
27532750
# @param [String] parent
2754-
# Required. Parent resource of the connectors, of the form: `projects/*/
2755-
# locations/*/providers/*/connectors/*` Only global location is supported for
2756-
# ConnectorVersion resource.
27572751
# @param [Fixnum] page_size
27582752
# Page size.
27592753
# @param [String] page_token
27602754
# Page token.
2761-
# @param [String] schema_view
2762-
# Optional. Enum to control whether schema enrichment related fields should be
2763-
# included in the response.
27642755
# @param [String] view
27652756
# Specifies which fields of the ConnectorVersion are returned in the response.
27662757
# Defaults to `BASIC` view.
@@ -2781,14 +2772,13 @@ def get_project_location_provider_connector_version(name, schema_view: nil, view
27812772
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27822773
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27832774
# @raise [Google::Apis::AuthorizationError] Authorization is required
2784-
def list_project_location_provider_connector_versions(parent, page_size: nil, page_token: nil, schema_view: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
2775+
def list_project_location_provider_connector_versions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
27852776
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
27862777
command.response_representation = Google::Apis::ConnectorsV1::ListConnectorVersionsResponse::Representation
27872778
command.response_class = Google::Apis::ConnectorsV1::ListConnectorVersionsResponse
27882779
command.params['parent'] = parent unless parent.nil?
27892780
command.query['pageSize'] = page_size unless page_size.nil?
27902781
command.query['pageToken'] = page_token unless page_token.nil?
2791-
command.query['schemaView'] = schema_view unless schema_view.nil?
27922782
command.query['view'] = view unless view.nil?
27932783
command.query['fields'] = fields unless fields.nil?
27942784
command.query['quotaUser'] = quota_user unless quota_user.nil?

0 commit comments

Comments
 (0)