Skip to content

Commit 01abb1c

Browse files
feat: Automated regeneration of integrations v1 client (googleapis#22347)
Auto-created at 2025-04-06 09:17:51 +0000 using the toys pull request generator.
1 parent 182e60e commit 01abb1c

File tree

6 files changed

+77
-2
lines changed

6 files changed

+77
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256710,6 +256710,8 @@
256710256710
"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/task": task
256711256711
"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/taskConfig": task_config
256712256712
"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/taskNumber": task_number
256713+
"/integrations:v1/GoogleCloudIntegrationsV1alphaToggleHttpRequest": google_cloud_integrations_v1alpha_toggle_http_request
256714+
"/integrations:v1/GoogleCloudIntegrationsV1alphaToggleHttpRequest/enableHttpCall": enable_http_call
256713256715
"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig": google_cloud_integrations_v1alpha_trigger_config
256714256716
"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/alertConfig": alert_config
256715256717
"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/alertConfig/alert_config": alert_config
@@ -256858,6 +256860,8 @@
256858256860
"/integrations:v1/integrations.projects.locations.clients.switch/parent": parent
256859256861
"/integrations:v1/integrations.projects.locations.clients.switchVariableMasking": switch_project_location_client_variable_masking
256860256862
"/integrations:v1/integrations.projects.locations.clients.switchVariableMasking/parent": parent
256863+
"/integrations:v1/integrations.projects.locations.clients.toggleHttp": toggle_project_location_client_http
256864+
"/integrations:v1/integrations.projects.locations.clients.toggleHttp/parent": parent
256861256865
"/integrations:v1/integrations.projects.locations.cloudFunctions.create": create_project_location_cloud_function
256862256866
"/integrations:v1/integrations.projects.locations.cloudFunctions.create/parent": parent
256863256867
"/integrations:v1/integrations.projects.locations.connections.getConnectionSchemaMetadata": get_project_location_connection_connection_schema_metadata

generated/google-apis-integrations_v1/CHANGELOG.md

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

3+
### v0.8.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250330
6+
37
### v0.7.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250316

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11478,6 +11478,27 @@ def update!(**args)
1147811478
end
1147911479
end
1148011480

11481+
# Request to enable/disable http call for a provisioned client
11482+
class GoogleCloudIntegrationsV1alphaToggleHttpRequest
11483+
include Google::Apis::Core::Hashable
11484+
11485+
# Required. REQUIRED: True if http call feature should be turned on for this
11486+
# region
11487+
# Corresponds to the JSON property `enableHttpCall`
11488+
# @return [Boolean]
11489+
attr_accessor :enable_http_call
11490+
alias_method :enable_http_call?, :enable_http_call
11491+
11492+
def initialize(**args)
11493+
update!(**args)
11494+
end
11495+
11496+
# Update properties of this object
11497+
def update!(**args)
11498+
@enable_http_call = args[:enable_http_call] if args.key?(:enable_http_call)
11499+
end
11500+
end
11501+
1148111502
# Configuration detail of a trigger.
1148211503
class GoogleCloudIntegrationsV1alphaTriggerConfig
1148311504
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module IntegrationsV1
1818
# Version of the google-apis-integrations_v1 gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
17321732
include Google::Apis::Core::JsonObjectSupport
17331733
end
17341734

1735+
class GoogleCloudIntegrationsV1alphaToggleHttpRequest
1736+
class Representation < Google::Apis::Core::JsonRepresentation; end
1737+
1738+
include Google::Apis::Core::JsonObjectSupport
1739+
end
1740+
17351741
class GoogleCloudIntegrationsV1alphaTriggerConfig
17361742
class Representation < Google::Apis::Core::JsonRepresentation; end
17371743

@@ -5028,6 +5034,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
50285034
end
50295035
end
50305036

5037+
class GoogleCloudIntegrationsV1alphaToggleHttpRequest
5038+
# @private
5039+
class Representation < Google::Apis::Core::JsonRepresentation
5040+
property :enable_http_call, as: 'enableHttpCall'
5041+
end
5042+
end
5043+
50315044
class GoogleCloudIntegrationsV1alphaTriggerConfig
50325045
# @private
50335046
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,39 @@ def switch_project_location_client_variable_masking(parent, google_cloud_integra
893893
execute_or_queue_command(command, &block)
894894
end
895895

896+
# Enable/Disable http call for provisioned client
897+
# @param [String] parent
898+
# Required. Required: The ID of the GCP Project to be provisioned.
899+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaToggleHttpRequest] google_cloud_integrations_v1alpha_toggle_http_request_object
900+
# @param [String] fields
901+
# Selector specifying which fields to include in a partial response.
902+
# @param [String] quota_user
903+
# Available to use for quota purposes for server-side applications. Can be any
904+
# arbitrary string assigned to a user, but should not exceed 40 characters.
905+
# @param [Google::Apis::RequestOptions] options
906+
# Request-specific options
907+
#
908+
# @yield [result, err] Result & error if block supplied
909+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
910+
# @yieldparam err [StandardError] error object if request failed
911+
#
912+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
913+
#
914+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
915+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
916+
# @raise [Google::Apis::AuthorizationError] Authorization is required
917+
def toggle_project_location_client_http(parent, google_cloud_integrations_v1alpha_toggle_http_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
918+
command = make_simple_command(:post, 'v1/{+parent}/clients:toggleHttp', options)
919+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaToggleHttpRequest::Representation
920+
command.request_object = google_cloud_integrations_v1alpha_toggle_http_request_object
921+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
922+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
923+
command.params['parent'] = parent unless parent.nil?
924+
command.query['fields'] = fields unless fields.nil?
925+
command.query['quotaUser'] = quota_user unless quota_user.nil?
926+
execute_or_queue_command(command, &block)
927+
end
928+
896929
# Creates a cloud function project.
897930
# @param [String] parent
898931
# Required. The project that the executed integration belongs to.

0 commit comments

Comments
 (0)