google-apis-integrations_v1alpha 0.6.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/integrations_v1alpha/classes.rb +46 -349
- data/lib/google/apis/integrations_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/integrations_v1alpha/representations.rb +2 -201
- data/lib/google/apis/integrations_v1alpha/service.rb +141 -359
- metadata +3 -3
@@ -120,38 +120,6 @@ module Google
|
|
120
120
|
execute_or_queue_command(command, &block)
|
121
121
|
end
|
122
122
|
|
123
|
-
# This is a UI only method and will be moved away. Returns a list of common
|
124
|
-
# tasks.
|
125
|
-
# @param [String] parent
|
126
|
-
# Required. The location resource of the request. This is not going to be used
|
127
|
-
# but preserve the field for future.
|
128
|
-
# @param [String] fields
|
129
|
-
# Selector specifying which fields to include in a partial response.
|
130
|
-
# @param [String] quota_user
|
131
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
132
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
133
|
-
# @param [Google::Apis::RequestOptions] options
|
134
|
-
# Request-specific options
|
135
|
-
#
|
136
|
-
# @yield [result, err] Result & error if block supplied
|
137
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse] parsed result object
|
138
|
-
# @yieldparam err [StandardError] error object if request failed
|
139
|
-
#
|
140
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse]
|
141
|
-
#
|
142
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
143
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
|
-
def list_project_location_task_entities(parent, fields: nil, quota_user: nil, options: nil, &block)
|
146
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}:listTaskEntities', options)
|
147
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse::Representation
|
148
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
|
149
|
-
command.params['parent'] = parent unless parent.nil?
|
150
|
-
command.query['fields'] = fields unless fields.nil?
|
151
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
152
|
-
execute_or_queue_command(command, &block)
|
153
|
-
end
|
154
|
-
|
155
123
|
# Creates an Apps Script project.
|
156
124
|
# @param [String] parent
|
157
125
|
# Required. The project that the executed integration belongs to.
|
@@ -666,6 +634,36 @@ module Google
|
|
666
634
|
execute_or_queue_command(command, &block)
|
667
635
|
end
|
668
636
|
|
637
|
+
# Delete the selected integration and all versions inside
|
638
|
+
# @param [String] name
|
639
|
+
# Required. The location resource of the request.
|
640
|
+
# @param [String] fields
|
641
|
+
# Selector specifying which fields to include in a partial response.
|
642
|
+
# @param [String] quota_user
|
643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
645
|
+
# @param [Google::Apis::RequestOptions] options
|
646
|
+
# Request-specific options
|
647
|
+
#
|
648
|
+
# @yield [result, err] Result & error if block supplied
|
649
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
650
|
+
# @yieldparam err [StandardError] error object if request failed
|
651
|
+
#
|
652
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
653
|
+
#
|
654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
657
|
+
def delete_project_location_integration(name, fields: nil, quota_user: nil, options: nil, &block)
|
658
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
659
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
660
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
661
|
+
command.params['name'] = name unless name.nil?
|
662
|
+
command.query['fields'] = fields unless fields.nil?
|
663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
664
|
+
execute_or_queue_command(command, &block)
|
665
|
+
end
|
666
|
+
|
669
667
|
# Executes integrations synchronously by passing the trigger id in the request
|
670
668
|
# body. The request is not returned until the requested executions are either
|
671
669
|
# fulfilled or experienced an error. If the integration name is not specified (
|
@@ -1009,48 +1007,6 @@ module Google
|
|
1009
1007
|
execute_or_queue_command(command, &block)
|
1010
1008
|
end
|
1011
1009
|
|
1012
|
-
# Soft-deletes the integration. Changes the status of the integration to
|
1013
|
-
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
1014
|
-
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
1015
|
-
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
1016
|
-
# exception if the version being archived is DRAFT, and if the `locked_by` user
|
1017
|
-
# is not the same as the user performing the Archive. Audit fields updated
|
1018
|
-
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
1019
|
-
# released when Archiving a integration. Currently, there is no unarchive
|
1020
|
-
# mechanism.
|
1021
|
-
# @param [String] name
|
1022
|
-
# Required. The version to archive. Format: projects/`project`/locations/`
|
1023
|
-
# location`/integrations/`integration`/versions/`version`
|
1024
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
1025
|
-
# @param [String] fields
|
1026
|
-
# Selector specifying which fields to include in a partial response.
|
1027
|
-
# @param [String] quota_user
|
1028
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1029
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1030
|
-
# @param [Google::Apis::RequestOptions] options
|
1031
|
-
# Request-specific options
|
1032
|
-
#
|
1033
|
-
# @yield [result, err] Result & error if block supplied
|
1034
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse] parsed result object
|
1035
|
-
# @yieldparam err [StandardError] error object if request failed
|
1036
|
-
#
|
1037
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse]
|
1038
|
-
#
|
1039
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
-
def archive_project_location_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1043
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1044
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
|
1045
|
-
command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
1046
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
|
1047
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
|
1048
|
-
command.params['name'] = name unless name.nil?
|
1049
|
-
command.query['fields'] = fields unless fields.nil?
|
1050
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1051
|
-
execute_or_queue_command(command, &block)
|
1052
|
-
end
|
1053
|
-
|
1054
1010
|
# Create a integration with a draft version in the specified project.
|
1055
1011
|
# @param [String] parent
|
1056
1012
|
# Required. The parent resource where this version will be created. Format:
|
@@ -1091,14 +1047,18 @@ module Google
|
|
1091
1047
|
execute_or_queue_command(command, &block)
|
1092
1048
|
end
|
1093
1049
|
|
1094
|
-
#
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1050
|
+
# Soft-deletes the integration. Changes the status of the integration to
|
1051
|
+
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
1052
|
+
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
1053
|
+
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
1054
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
1055
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
1056
|
+
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
1057
|
+
# released when Deleting a integration. Currently, there is no undelete
|
1058
|
+
# mechanism.
|
1098
1059
|
# @param [String] name
|
1099
|
-
# Required. The version to
|
1060
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
1100
1061
|
# location`/integrations/`integration`/versions/`version`
|
1101
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest] google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
|
1102
1062
|
# @param [String] fields
|
1103
1063
|
# Selector specifying which fields to include in a partial response.
|
1104
1064
|
# @param [String] quota_user
|
@@ -1108,21 +1068,54 @@ module Google
|
|
1108
1068
|
# Request-specific options
|
1109
1069
|
#
|
1110
1070
|
# @yield [result, err] Result & error if block supplied
|
1111
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::
|
1071
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
1072
|
+
# @yieldparam err [StandardError] error object if request failed
|
1073
|
+
#
|
1074
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
1075
|
+
#
|
1076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1079
|
+
def delete_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1080
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1081
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
1082
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
1083
|
+
command.params['name'] = name unless name.nil?
|
1084
|
+
command.query['fields'] = fields unless fields.nil?
|
1085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1086
|
+
execute_or_queue_command(command, &block)
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
1090
|
+
# integration_id` and returns the response as a string.
|
1091
|
+
# @param [String] name
|
1092
|
+
# Required. The version to download. Format: projects/`project`/locations/`
|
1093
|
+
# location`/integrations/`integration`/versions/`version`
|
1094
|
+
# @param [String] file_format
|
1095
|
+
# File format for download request.
|
1096
|
+
# @param [String] fields
|
1097
|
+
# Selector specifying which fields to include in a partial response.
|
1098
|
+
# @param [String] quota_user
|
1099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1101
|
+
# @param [Google::Apis::RequestOptions] options
|
1102
|
+
# Request-specific options
|
1103
|
+
#
|
1104
|
+
# @yield [result, err] Result & error if block supplied
|
1105
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object
|
1112
1106
|
# @yieldparam err [StandardError] error object if request failed
|
1113
1107
|
#
|
1114
|
-
# @return [Google::Apis::IntegrationsV1alpha::
|
1108
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse]
|
1115
1109
|
#
|
1116
1110
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1117
1111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1118
1112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1119
|
-
def
|
1120
|
-
command = make_simple_command(:
|
1121
|
-
command.
|
1122
|
-
command.
|
1123
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
|
1124
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
|
1113
|
+
def download_project_location_integration_version(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1114
|
+
command = make_simple_command(:get, 'v1alpha/{+name}:download', options)
|
1115
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
|
1116
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
|
1125
1117
|
command.params['name'] = name unless name.nil?
|
1118
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
1126
1119
|
command.query['fields'] = fields unless fields.nil?
|
1127
1120
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1128
1121
|
execute_or_queue_command(command, &block)
|
@@ -1343,13 +1336,14 @@ module Google
|
|
1343
1336
|
execute_or_queue_command(command, &block)
|
1344
1337
|
end
|
1345
1338
|
|
1346
|
-
#
|
1347
|
-
#
|
1348
|
-
#
|
1339
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
1340
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
1341
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
1342
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
1349
1343
|
# @param [String] name
|
1350
|
-
# Required. The version to
|
1344
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
1351
1345
|
# location`/integrations/`integration`/versions/`version`
|
1352
|
-
# @param [Google::Apis::IntegrationsV1alpha::
|
1346
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
1353
1347
|
# @param [String] fields
|
1354
1348
|
# Selector specifying which fields to include in a partial response.
|
1355
1349
|
# @param [String] quota_user
|
@@ -1359,65 +1353,34 @@ module Google
|
|
1359
1353
|
# Request-specific options
|
1360
1354
|
#
|
1361
1355
|
# @yield [result, err] Result & error if block supplied
|
1362
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::
|
1356
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
1363
1357
|
# @yieldparam err [StandardError] error object if request failed
|
1364
1358
|
#
|
1365
|
-
# @return [Google::Apis::IntegrationsV1alpha::
|
1359
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
1366
1360
|
#
|
1367
1361
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1368
1362
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1369
1363
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1370
|
-
def
|
1371
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:
|
1372
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::
|
1373
|
-
command.request_object =
|
1374
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::
|
1375
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::
|
1364
|
+
def unpublish_project_location_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1365
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:unpublish', options)
|
1366
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
1367
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
1368
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
1369
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
1376
1370
|
command.params['name'] = name unless name.nil?
|
1377
1371
|
command.query['fields'] = fields unless fields.nil?
|
1378
1372
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1379
1373
|
execute_or_queue_command(command, &block)
|
1380
1374
|
end
|
1381
1375
|
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
1385
|
-
#
|
1386
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest] google_cloud_integrations_v1alpha_create_bundle_request_object
|
1387
|
-
# @param [String] fields
|
1388
|
-
# Selector specifying which fields to include in a partial response.
|
1389
|
-
# @param [String] quota_user
|
1390
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1391
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1392
|
-
# @param [Google::Apis::RequestOptions] options
|
1393
|
-
# Request-specific options
|
1394
|
-
#
|
1395
|
-
# @yield [result, err] Result & error if block supplied
|
1396
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse] parsed result object
|
1397
|
-
# @yieldparam err [StandardError] error object if request failed
|
1398
|
-
#
|
1399
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse]
|
1400
|
-
#
|
1401
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1402
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1403
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1404
|
-
def create_project_location_product_bundle(parent, google_cloud_integrations_v1alpha_create_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1405
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}:createBundle', options)
|
1406
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest::Representation
|
1407
|
-
command.request_object = google_cloud_integrations_v1alpha_create_bundle_request_object
|
1408
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse::Representation
|
1409
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse
|
1410
|
-
command.params['parent'] = parent unless parent.nil?
|
1411
|
-
command.query['fields'] = fields unless fields.nil?
|
1412
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1413
|
-
execute_or_queue_command(command, &block)
|
1414
|
-
end
|
1415
|
-
|
1416
|
-
# This is a UI only method and will be moved away. Returns a list of common
|
1417
|
-
# tasks.
|
1376
|
+
# Uploads an integration. The content can be a previously downloaded integration.
|
1377
|
+
# Performs the same function as CreateDraftIntegrationVersion, but accepts
|
1378
|
+
# input in a string format, which holds the complete representation of the
|
1379
|
+
# IntegrationVersion content.
|
1418
1380
|
# @param [String] parent
|
1419
|
-
# Required. The
|
1420
|
-
#
|
1381
|
+
# Required. The version to upload. Format: projects/`project`/locations/`
|
1382
|
+
# location`/integrations/`integration`
|
1383
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
1421
1384
|
# @param [String] fields
|
1422
1385
|
# Selector specifying which fields to include in a partial response.
|
1423
1386
|
# @param [String] quota_user
|
@@ -1427,18 +1390,20 @@ module Google
|
|
1427
1390
|
# Request-specific options
|
1428
1391
|
#
|
1429
1392
|
# @yield [result, err] Result & error if block supplied
|
1430
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::
|
1393
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object
|
1431
1394
|
# @yieldparam err [StandardError] error object if request failed
|
1432
1395
|
#
|
1433
|
-
# @return [Google::Apis::IntegrationsV1alpha::
|
1396
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse]
|
1434
1397
|
#
|
1435
1398
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1436
1399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1437
1400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1438
|
-
def
|
1439
|
-
command = make_simple_command(:
|
1440
|
-
command.
|
1441
|
-
command.
|
1401
|
+
def upload_project_location_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1402
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/versions:upload', options)
|
1403
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
|
1404
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
1405
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
|
1406
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
|
1442
1407
|
command.params['parent'] = parent unless parent.nil?
|
1443
1408
|
command.query['fields'] = fields unless fields.nil?
|
1444
1409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1887,41 +1852,6 @@ module Google
|
|
1887
1852
|
execute_or_queue_command(command, &block)
|
1888
1853
|
end
|
1889
1854
|
|
1890
|
-
# PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE
|
1891
|
-
# SERVICE. Soft-deletes the bundle.
|
1892
|
-
# @param [String] name
|
1893
|
-
# Required. The bundle to archive. Format: projects/`project`/locations/`
|
1894
|
-
# location`/integrations/`integration`
|
1895
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest] google_cloud_integrations_v1alpha_archive_bundle_request_object
|
1896
|
-
# @param [String] fields
|
1897
|
-
# Selector specifying which fields to include in a partial response.
|
1898
|
-
# @param [String] quota_user
|
1899
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1900
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1901
|
-
# @param [Google::Apis::RequestOptions] options
|
1902
|
-
# Request-specific options
|
1903
|
-
#
|
1904
|
-
# @yield [result, err] Result & error if block supplied
|
1905
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse] parsed result object
|
1906
|
-
# @yieldparam err [StandardError] error object if request failed
|
1907
|
-
#
|
1908
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse]
|
1909
|
-
#
|
1910
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1911
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1912
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1913
|
-
def archive_project_location_product_integration_bundle(name, google_cloud_integrations_v1alpha_archive_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1914
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:archiveBundle', options)
|
1915
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest::Representation
|
1916
|
-
command.request_object = google_cloud_integrations_v1alpha_archive_bundle_request_object
|
1917
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse::Representation
|
1918
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse
|
1919
|
-
command.params['name'] = name unless name.nil?
|
1920
|
-
command.query['fields'] = fields unless fields.nil?
|
1921
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1922
|
-
execute_or_queue_command(command, &block)
|
1923
|
-
end
|
1924
|
-
|
1925
1855
|
# Executes integrations synchronously by passing the trigger id in the request
|
1926
1856
|
# body. The request is not returned until the requested executions are either
|
1927
1857
|
# fulfilled or experienced an error. If the integration name is not specified (
|
@@ -2332,93 +2262,6 @@ module Google
|
|
2332
2262
|
execute_or_queue_command(command, &block)
|
2333
2263
|
end
|
2334
2264
|
|
2335
|
-
# Lists the snapshots of a given integration executions. This RPC is not being
|
2336
|
-
# used.
|
2337
|
-
# @param [String] parent
|
2338
|
-
# Required. The parent resource name of the integration execution.
|
2339
|
-
# @param [String] filter
|
2340
|
-
# Currently supports filter by `execution_info_id` or `execution_snapshot_id`.
|
2341
|
-
# @param [Fixnum] page_size
|
2342
|
-
# Number of entries to be returned in a page.
|
2343
|
-
# @param [String] page_token
|
2344
|
-
# The token used to retrieve the next page results.
|
2345
|
-
# @param [String] read_mask
|
2346
|
-
# View mask for the response data. If set, only the field specified will be
|
2347
|
-
# returned as part of the result. If not set, all fields in event execution
|
2348
|
-
# snapshot will be filled and returned.
|
2349
|
-
# @param [String] fields
|
2350
|
-
# Selector specifying which fields to include in a partial response.
|
2351
|
-
# @param [String] quota_user
|
2352
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2353
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2354
|
-
# @param [Google::Apis::RequestOptions] options
|
2355
|
-
# Request-specific options
|
2356
|
-
#
|
2357
|
-
# @yield [result, err] Result & error if block supplied
|
2358
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse] parsed result object
|
2359
|
-
# @yieldparam err [StandardError] error object if request failed
|
2360
|
-
#
|
2361
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse]
|
2362
|
-
#
|
2363
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2364
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2365
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2366
|
-
def list_project_location_product_integration_executionsnapshots(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2367
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/executionsnapshots', options)
|
2368
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse::Representation
|
2369
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse
|
2370
|
-
command.params['parent'] = parent unless parent.nil?
|
2371
|
-
command.query['filter'] = filter unless filter.nil?
|
2372
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2373
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2374
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
2375
|
-
command.query['fields'] = fields unless fields.nil?
|
2376
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2377
|
-
execute_or_queue_command(command, &block)
|
2378
|
-
end
|
2379
|
-
|
2380
|
-
# Soft-deletes the integration. Changes the status of the integration to
|
2381
|
-
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
2382
|
-
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
2383
|
-
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
2384
|
-
# exception if the version being archived is DRAFT, and if the `locked_by` user
|
2385
|
-
# is not the same as the user performing the Archive. Audit fields updated
|
2386
|
-
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
2387
|
-
# released when Archiving a integration. Currently, there is no unarchive
|
2388
|
-
# mechanism.
|
2389
|
-
# @param [String] name
|
2390
|
-
# Required. The version to archive. Format: projects/`project`/locations/`
|
2391
|
-
# location`/integrations/`integration`/versions/`version`
|
2392
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
2393
|
-
# @param [String] fields
|
2394
|
-
# Selector specifying which fields to include in a partial response.
|
2395
|
-
# @param [String] quota_user
|
2396
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2397
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2398
|
-
# @param [Google::Apis::RequestOptions] options
|
2399
|
-
# Request-specific options
|
2400
|
-
#
|
2401
|
-
# @yield [result, err] Result & error if block supplied
|
2402
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse] parsed result object
|
2403
|
-
# @yieldparam err [StandardError] error object if request failed
|
2404
|
-
#
|
2405
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse]
|
2406
|
-
#
|
2407
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2408
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2409
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2410
|
-
def archive_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2411
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
2412
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
|
2413
|
-
command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
2414
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
|
2415
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
|
2416
|
-
command.params['name'] = name unless name.nil?
|
2417
|
-
command.query['fields'] = fields unless fields.nil?
|
2418
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2419
|
-
execute_or_queue_command(command, &block)
|
2420
|
-
end
|
2421
|
-
|
2422
2265
|
# Create a integration with a draft version in the specified project.
|
2423
2266
|
# @param [String] parent
|
2424
2267
|
# Required. The parent resource where this version will be created. Format:
|
@@ -2459,14 +2302,18 @@ module Google
|
|
2459
2302
|
execute_or_queue_command(command, &block)
|
2460
2303
|
end
|
2461
2304
|
|
2462
|
-
#
|
2463
|
-
#
|
2464
|
-
#
|
2465
|
-
#
|
2305
|
+
# Soft-deletes the integration. Changes the status of the integration to
|
2306
|
+
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
2307
|
+
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
2308
|
+
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
2309
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
2310
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
2311
|
+
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
2312
|
+
# released when Deleting a integration. Currently, there is no undelete
|
2313
|
+
# mechanism.
|
2466
2314
|
# @param [String] name
|
2467
|
-
# Required. The version to
|
2315
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
2468
2316
|
# location`/integrations/`integration`/versions/`version`
|
2469
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest] google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
|
2470
2317
|
# @param [String] fields
|
2471
2318
|
# Selector specifying which fields to include in a partial response.
|
2472
2319
|
# @param [String] quota_user
|
@@ -2476,20 +2323,18 @@ module Google
|
|
2476
2323
|
# Request-specific options
|
2477
2324
|
#
|
2478
2325
|
# @yield [result, err] Result & error if block supplied
|
2479
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::
|
2326
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
2480
2327
|
# @yieldparam err [StandardError] error object if request failed
|
2481
2328
|
#
|
2482
|
-
# @return [Google::Apis::IntegrationsV1alpha::
|
2329
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
2483
2330
|
#
|
2484
2331
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2485
2332
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2486
2333
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2487
|
-
def
|
2488
|
-
command = make_simple_command(:
|
2489
|
-
command.
|
2490
|
-
command.
|
2491
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
|
2492
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
|
2334
|
+
def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
2335
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2336
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
2337
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
2493
2338
|
command.params['name'] = name unless name.nil?
|
2494
2339
|
command.query['fields'] = fields unless fields.nil?
|
2495
2340
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2562,37 +2407,6 @@ module Google
|
|
2562
2407
|
execute_or_queue_command(command, &block)
|
2563
2408
|
end
|
2564
2409
|
|
2565
|
-
# PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE
|
2566
|
-
# SERVICE. RPC to get details of the Bundle
|
2567
|
-
# @param [String] name
|
2568
|
-
# Required. The bundle name.
|
2569
|
-
# @param [String] fields
|
2570
|
-
# Selector specifying which fields to include in a partial response.
|
2571
|
-
# @param [String] quota_user
|
2572
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2573
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2574
|
-
# @param [Google::Apis::RequestOptions] options
|
2575
|
-
# Request-specific options
|
2576
|
-
#
|
2577
|
-
# @yield [result, err] Result & error if block supplied
|
2578
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse] parsed result object
|
2579
|
-
# @yieldparam err [StandardError] error object if request failed
|
2580
|
-
#
|
2581
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse]
|
2582
|
-
#
|
2583
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2584
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2585
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2586
|
-
def get_project_location_product_integration_version_bundle(name, fields: nil, quota_user: nil, options: nil, &block)
|
2587
|
-
command = make_simple_command(:get, 'v1alpha/{+name}:getBundle', options)
|
2588
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse::Representation
|
2589
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse
|
2590
|
-
command.params['name'] = name unless name.nil?
|
2591
|
-
command.query['fields'] = fields unless fields.nil?
|
2592
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2593
|
-
execute_or_queue_command(command, &block)
|
2594
|
-
end
|
2595
|
-
|
2596
2410
|
# Returns the list of all integration versions in the specified project.
|
2597
2411
|
# @param [String] parent
|
2598
2412
|
# Required. The parent resource where this version will be created. Format:
|
@@ -2777,10 +2591,14 @@ module Google
|
|
2777
2591
|
execute_or_queue_command(command, &block)
|
2778
2592
|
end
|
2779
2593
|
|
2780
|
-
#
|
2594
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
2595
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
2596
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
2597
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
2781
2598
|
# @param [String] name
|
2782
|
-
# Required.
|
2783
|
-
#
|
2599
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
2600
|
+
# location`/integrations/`integration`/versions/`version`
|
2601
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
2784
2602
|
# @param [String] fields
|
2785
2603
|
# Selector specifying which fields to include in a partial response.
|
2786
2604
|
# @param [String] quota_user
|
@@ -2790,20 +2608,20 @@ module Google
|
|
2790
2608
|
# Request-specific options
|
2791
2609
|
#
|
2792
2610
|
# @yield [result, err] Result & error if block supplied
|
2793
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::
|
2611
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
2794
2612
|
# @yieldparam err [StandardError] error object if request failed
|
2795
2613
|
#
|
2796
|
-
# @return [Google::Apis::IntegrationsV1alpha::
|
2614
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
2797
2615
|
#
|
2798
2616
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2799
2617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2800
2618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2801
|
-
def
|
2802
|
-
command = make_simple_command(:
|
2803
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::
|
2804
|
-
command.request_object =
|
2805
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::
|
2806
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::
|
2619
|
+
def unpublish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2620
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:unpublish', options)
|
2621
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
2622
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
2623
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
2624
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
2807
2625
|
command.params['name'] = name unless name.nil?
|
2808
2626
|
command.query['fields'] = fields unless fields.nil?
|
2809
2627
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2847,42 +2665,6 @@ module Google
|
|
2847
2665
|
execute_or_queue_command(command, &block)
|
2848
2666
|
end
|
2849
2667
|
|
2850
|
-
# Validates the given integration. If the id doesn't exist, a NotFoundException
|
2851
|
-
# is thrown. If validation fails a CanonicalCodeException is thrown. If there
|
2852
|
-
# was no failure an empty response is returned.
|
2853
|
-
# @param [String] name
|
2854
|
-
# Required. The version to validate. Format: projects/`project`/locations/`
|
2855
|
-
# location`/integrations/`integration`/versions/`version`
|
2856
|
-
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest] google_cloud_integrations_v1alpha_validate_integration_version_request_object
|
2857
|
-
# @param [String] fields
|
2858
|
-
# Selector specifying which fields to include in a partial response.
|
2859
|
-
# @param [String] quota_user
|
2860
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2861
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2862
|
-
# @param [Google::Apis::RequestOptions] options
|
2863
|
-
# Request-specific options
|
2864
|
-
#
|
2865
|
-
# @yield [result, err] Result & error if block supplied
|
2866
|
-
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse] parsed result object
|
2867
|
-
# @yieldparam err [StandardError] error object if request failed
|
2868
|
-
#
|
2869
|
-
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse]
|
2870
|
-
#
|
2871
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2872
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2873
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2874
|
-
def validate_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_validate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2875
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:validate', options)
|
2876
|
-
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest::Representation
|
2877
|
-
command.request_object = google_cloud_integrations_v1alpha_validate_integration_version_request_object
|
2878
|
-
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse::Representation
|
2879
|
-
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse
|
2880
|
-
command.params['name'] = name unless name.nil?
|
2881
|
-
command.query['fields'] = fields unless fields.nil?
|
2882
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2883
|
-
execute_or_queue_command(command, &block)
|
2884
|
-
end
|
2885
|
-
|
2886
2668
|
# Creates an IntegrationTemplateVersion.
|
2887
2669
|
# @param [String] parent
|
2888
2670
|
# Required. The parent resource where this TemplateVersion will be created.
|