@@ -2155,6 +2155,39 @@ def publish_project_location_integration_version(name, google_cloud_integrations
21552155 execute_or_queue_command ( command , &block )
21562156 end
21572157
2158+ # Execute the integration in draft state
2159+ # @param [String] name
2160+ # Output only. Auto-generated primary key.
2161+ # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest] google_cloud_integrations_v1alpha_test_integrations_request_object
2162+ # @param [String] fields
2163+ # Selector specifying which fields to include in a partial response.
2164+ # @param [String] quota_user
2165+ # Available to use for quota purposes for server-side applications. Can be any
2166+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2167+ # @param [Google::Apis::RequestOptions] options
2168+ # Request-specific options
2169+ #
2170+ # @yield [result, err] Result & error if block supplied
2171+ # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] parsed result object
2172+ # @yieldparam err [StandardError] error object if request failed
2173+ #
2174+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse]
2175+ #
2176+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2177+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2178+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2179+ def test_project_location_integration_version ( name , google_cloud_integrations_v1alpha_test_integrations_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
2180+ command = make_simple_command ( :post , 'v1/{+name}:test' , options )
2181+ command . request_representation = Google ::Apis ::IntegrationsV1 ::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest ::Representation
2182+ command . request_object = google_cloud_integrations_v1alpha_test_integrations_request_object
2183+ command . response_representation = Google ::Apis ::IntegrationsV1 ::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse ::Representation
2184+ command . response_class = Google ::Apis ::IntegrationsV1 ::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
2185+ command . params [ 'name' ] = name unless name . nil?
2186+ command . query [ 'fields' ] = fields unless fields . nil?
2187+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
2188+ execute_or_queue_command ( command , &block )
2189+ end
2190+
21582191 # Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
21592192 # PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
21602193 # tags do not change. This RPC throws an exception if the version being snapshot
0 commit comments