google-apis-integrations_v1alpha 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/integrations_v1alpha/classes.rb +15 -3
- data/lib/google/apis/integrations_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/integrations_v1alpha/representations.rb +12 -0
- data/lib/google/apis/integrations_v1alpha/service.rb +372 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '02459ca2135a5784f082c7cd4ca681b5bf88c11eda63c8e0ad310d222696e66b'
|
4
|
+
data.tar.gz: 89bc9eb11ca546b34bb20feb990b2ff2c750b04e0dfe96f6a8682cab4674bf04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676f32f3db8dfe76dbeb4b6b15221be12db91e3d997da9b90429cacf6dd6be55461329ae8d1d45bdf5d3276627f04e5e57b483f89d4b4bc36994c3013c6b3b86
|
7
|
+
data.tar.gz: 44185ec0c5a2c24ab2da58410bc3e2cc794799ae83663081f9a824bb86316f8e2bf9934bb6427d2ec033ab3994748c7fa37955f2215c86b119945d9320bb0249
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-integrations_v1alpha
|
2
2
|
|
3
|
+
### v0.7.0 (2023-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230117
|
6
|
+
|
7
|
+
### v0.6.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230110
|
10
|
+
|
3
11
|
### v0.5.0 (2023-01-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230103
|
@@ -4179,7 +4179,7 @@ module Google
|
|
4179
4179
|
end
|
4180
4180
|
|
4181
4181
|
# The task configuration details. This is not the implementation of Task. There
|
4182
|
-
# might be multiple TaskConfigs for the same Task.
|
4182
|
+
# might be multiple TaskConfigs for the same Task.
|
4183
4183
|
class EnterpriseCrmFrontendsEventbusProtoTaskConfig
|
4184
4184
|
include Google::Apis::Core::Hashable
|
4185
4185
|
|
@@ -4321,8 +4321,7 @@ module Google
|
|
4321
4321
|
|
4322
4322
|
# A string template that allows user to configure task parameters (with either
|
4323
4323
|
# literal default values or tokens which will be resolved at execution time) for
|
4324
|
-
# the task. It will eventually replace the old "parameters" field.
|
4325
|
-
# to go/eventbus-task-spec-example for detailed usage example.
|
4324
|
+
# the task. It will eventually replace the old "parameters" field.
|
4326
4325
|
# Corresponds to the JSON property `taskSpec`
|
4327
4326
|
# @return [String]
|
4328
4327
|
attr_accessor :task_spec
|
@@ -8740,6 +8739,19 @@ module Google
|
|
8740
8739
|
end
|
8741
8740
|
end
|
8742
8741
|
|
8742
|
+
# Request for UnpublishIntegrationVersion.
|
8743
|
+
class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
|
8744
|
+
include Google::Apis::Core::Hashable
|
8745
|
+
|
8746
|
+
def initialize(**args)
|
8747
|
+
update!(**args)
|
8748
|
+
end
|
8749
|
+
|
8750
|
+
# Update properties of this object
|
8751
|
+
def update!(**args)
|
8752
|
+
end
|
8753
|
+
end
|
8754
|
+
|
8743
8755
|
# THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Request message for Bundle
|
8744
8756
|
# update
|
8745
8757
|
class GoogleCloudIntegrationsV1alphaUpdateBundleRequest
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IntegrationsV1alpha
|
18
18
|
# Version of the google-apis-integrations_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1372,6 +1372,12 @@ module Google
|
|
1372
1372
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1373
|
end
|
1374
1374
|
|
1375
|
+
class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
|
1376
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
|
+
|
1378
|
+
include Google::Apis::Core::JsonObjectSupport
|
1379
|
+
end
|
1380
|
+
|
1375
1381
|
class GoogleCloudIntegrationsV1alphaUpdateBundleRequest
|
1376
1382
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1383
|
|
@@ -3889,6 +3895,12 @@ module Google
|
|
3889
3895
|
end
|
3890
3896
|
end
|
3891
3897
|
|
3898
|
+
class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
|
3899
|
+
# @private
|
3900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3901
|
+
end
|
3902
|
+
end
|
3903
|
+
|
3892
3904
|
class GoogleCloudIntegrationsV1alphaUpdateBundleRequest
|
3893
3905
|
# @private
|
3894
3906
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -666,6 +666,36 @@ module Google
|
|
666
666
|
execute_or_queue_command(command, &block)
|
667
667
|
end
|
668
668
|
|
669
|
+
# Delete the selected integration and all versions inside
|
670
|
+
# @param [String] name
|
671
|
+
# Required. The location resource of the request.
|
672
|
+
# @param [String] fields
|
673
|
+
# Selector specifying which fields to include in a partial response.
|
674
|
+
# @param [String] quota_user
|
675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
677
|
+
# @param [Google::Apis::RequestOptions] options
|
678
|
+
# Request-specific options
|
679
|
+
#
|
680
|
+
# @yield [result, err] Result & error if block supplied
|
681
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
682
|
+
# @yieldparam err [StandardError] error object if request failed
|
683
|
+
#
|
684
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
685
|
+
#
|
686
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
687
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
688
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
689
|
+
def delete_project_location_integration(name, fields: nil, quota_user: nil, options: nil, &block)
|
690
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
691
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
692
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
693
|
+
command.params['name'] = name unless name.nil?
|
694
|
+
command.query['fields'] = fields unless fields.nil?
|
695
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
696
|
+
execute_or_queue_command(command, &block)
|
697
|
+
end
|
698
|
+
|
669
699
|
# Executes integrations synchronously by passing the trigger id in the request
|
670
700
|
# body. The request is not returned until the requested executions are either
|
671
701
|
# fulfilled or experienced an error. If the integration name is not specified (
|
@@ -891,6 +921,124 @@ module Google
|
|
891
921
|
execute_or_queue_command(command, &block)
|
892
922
|
end
|
893
923
|
|
924
|
+
# * Lifts suspension for advanced suspension task. Fetch corresponding
|
925
|
+
# suspension with provided suspension Id, resolve suspension, and set up
|
926
|
+
# suspension result for the Suspension Task.
|
927
|
+
# @param [String] name
|
928
|
+
# Required. The resource that the suspension belongs to. "projects/`project`/
|
929
|
+
# locations/`location`/products/`product`/integrations/`integration`/executions/`
|
930
|
+
# execution`/suspensions/`suspenion`" format.
|
931
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest] google_cloud_integrations_v1alpha_lift_suspension_request_object
|
932
|
+
# @param [String] fields
|
933
|
+
# Selector specifying which fields to include in a partial response.
|
934
|
+
# @param [String] quota_user
|
935
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
936
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
937
|
+
# @param [Google::Apis::RequestOptions] options
|
938
|
+
# Request-specific options
|
939
|
+
#
|
940
|
+
# @yield [result, err] Result & error if block supplied
|
941
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] parsed result object
|
942
|
+
# @yieldparam err [StandardError] error object if request failed
|
943
|
+
#
|
944
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse]
|
945
|
+
#
|
946
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
947
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
948
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
949
|
+
def lift_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
950
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:lift', options)
|
951
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
|
952
|
+
command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
|
953
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
|
954
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
|
955
|
+
command.params['name'] = name unless name.nil?
|
956
|
+
command.query['fields'] = fields unless fields.nil?
|
957
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
958
|
+
execute_or_queue_command(command, &block)
|
959
|
+
end
|
960
|
+
|
961
|
+
# * Lists suspensions associated with a specific execution. Only those with
|
962
|
+
# permissions to resolve the relevant suspensions will be able to view them.
|
963
|
+
# @param [String] parent
|
964
|
+
# Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
|
965
|
+
# integrations/`integration_name`/executions/`execution_name`
|
966
|
+
# @param [String] filter
|
967
|
+
# Standard filter field.
|
968
|
+
# @param [String] order_by
|
969
|
+
# Field name to order by.
|
970
|
+
# @param [Fixnum] page_size
|
971
|
+
# Maximum number of entries in the response.
|
972
|
+
# @param [String] page_token
|
973
|
+
# Token to retrieve a specific page.
|
974
|
+
# @param [String] fields
|
975
|
+
# Selector specifying which fields to include in a partial response.
|
976
|
+
# @param [String] quota_user
|
977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
979
|
+
# @param [Google::Apis::RequestOptions] options
|
980
|
+
# Request-specific options
|
981
|
+
#
|
982
|
+
# @yield [result, err] Result & error if block supplied
|
983
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] parsed result object
|
984
|
+
# @yieldparam err [StandardError] error object if request failed
|
985
|
+
#
|
986
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse]
|
987
|
+
#
|
988
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
989
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
990
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
991
|
+
def list_project_location_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
992
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/suspensions', options)
|
993
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
|
994
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse
|
995
|
+
command.params['parent'] = parent unless parent.nil?
|
996
|
+
command.query['filter'] = filter unless filter.nil?
|
997
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
998
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
999
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1000
|
+
command.query['fields'] = fields unless fields.nil?
|
1001
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1002
|
+
execute_or_queue_command(command, &block)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# * Resolves (lifts/rejects) any number of suspensions. If the integration is
|
1006
|
+
# already running, only the status of the suspension is updated. Otherwise, the
|
1007
|
+
# suspended integration will begin execution again.
|
1008
|
+
# @param [String] name
|
1009
|
+
# Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
|
1010
|
+
# integrations/`integration_name`/executions/`execution_name`/suspensions/`
|
1011
|
+
# suspension_id`
|
1012
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest] google_cloud_integrations_v1alpha_resolve_suspension_request_object
|
1013
|
+
# @param [String] fields
|
1014
|
+
# Selector specifying which fields to include in a partial response.
|
1015
|
+
# @param [String] quota_user
|
1016
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1017
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1018
|
+
# @param [Google::Apis::RequestOptions] options
|
1019
|
+
# Request-specific options
|
1020
|
+
#
|
1021
|
+
# @yield [result, err] Result & error if block supplied
|
1022
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] parsed result object
|
1023
|
+
# @yieldparam err [StandardError] error object if request failed
|
1024
|
+
#
|
1025
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse]
|
1026
|
+
#
|
1027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1030
|
+
def resolve_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1031
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:resolve', options)
|
1032
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
|
1033
|
+
command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
|
1034
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
|
1035
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse
|
1036
|
+
command.params['name'] = name unless name.nil?
|
1037
|
+
command.query['fields'] = fields unless fields.nil?
|
1038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1039
|
+
execute_or_queue_command(command, &block)
|
1040
|
+
end
|
1041
|
+
|
894
1042
|
# Soft-deletes the integration. Changes the status of the integration to
|
895
1043
|
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
896
1044
|
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
@@ -1010,6 +1158,80 @@ module Google
|
|
1010
1158
|
execute_or_queue_command(command, &block)
|
1011
1159
|
end
|
1012
1160
|
|
1161
|
+
# Soft-deletes the integration. Changes the status of the integration to
|
1162
|
+
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
1163
|
+
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
1164
|
+
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
1165
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
1166
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
1167
|
+
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
1168
|
+
# released when Deleting a integration. Currently, there is no undelete
|
1169
|
+
# mechanism.
|
1170
|
+
# @param [String] name
|
1171
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
1172
|
+
# location`/integrations/`integration`/versions/`version`
|
1173
|
+
# @param [String] fields
|
1174
|
+
# Selector specifying which fields to include in a partial response.
|
1175
|
+
# @param [String] quota_user
|
1176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1178
|
+
# @param [Google::Apis::RequestOptions] options
|
1179
|
+
# Request-specific options
|
1180
|
+
#
|
1181
|
+
# @yield [result, err] Result & error if block supplied
|
1182
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
1183
|
+
# @yieldparam err [StandardError] error object if request failed
|
1184
|
+
#
|
1185
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
1186
|
+
#
|
1187
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1188
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1189
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1190
|
+
def delete_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1191
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1192
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
1193
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
1194
|
+
command.params['name'] = name unless name.nil?
|
1195
|
+
command.query['fields'] = fields unless fields.nil?
|
1196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1197
|
+
execute_or_queue_command(command, &block)
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
1201
|
+
# integration_id` and returns the response as a string.
|
1202
|
+
# @param [String] name
|
1203
|
+
# Required. The version to download. Format: projects/`project`/locations/`
|
1204
|
+
# location`/integrations/`integration`/versions/`version`
|
1205
|
+
# @param [String] file_format
|
1206
|
+
# File format for download request.
|
1207
|
+
# @param [String] fields
|
1208
|
+
# Selector specifying which fields to include in a partial response.
|
1209
|
+
# @param [String] quota_user
|
1210
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1211
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1212
|
+
# @param [Google::Apis::RequestOptions] options
|
1213
|
+
# Request-specific options
|
1214
|
+
#
|
1215
|
+
# @yield [result, err] Result & error if block supplied
|
1216
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object
|
1217
|
+
# @yieldparam err [StandardError] error object if request failed
|
1218
|
+
#
|
1219
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse]
|
1220
|
+
#
|
1221
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1222
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1223
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1224
|
+
def download_project_location_integration_version(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1225
|
+
command = make_simple_command(:get, 'v1alpha/{+name}:download', options)
|
1226
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
|
1227
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
|
1228
|
+
command.params['name'] = name unless name.nil?
|
1229
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
1230
|
+
command.query['fields'] = fields unless fields.nil?
|
1231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1232
|
+
execute_or_queue_command(command, &block)
|
1233
|
+
end
|
1234
|
+
|
1013
1235
|
# Get a integration in the specified project.
|
1014
1236
|
# @param [String] name
|
1015
1237
|
# Required. The version to retrieve. Format: projects/`project`/locations/`
|
@@ -1225,6 +1447,80 @@ module Google
|
|
1225
1447
|
execute_or_queue_command(command, &block)
|
1226
1448
|
end
|
1227
1449
|
|
1450
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
1451
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
1452
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
1453
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
1454
|
+
# @param [String] name
|
1455
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
1456
|
+
# location`/integrations/`integration`/versions/`version`
|
1457
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
1458
|
+
# @param [String] fields
|
1459
|
+
# Selector specifying which fields to include in a partial response.
|
1460
|
+
# @param [String] quota_user
|
1461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1463
|
+
# @param [Google::Apis::RequestOptions] options
|
1464
|
+
# Request-specific options
|
1465
|
+
#
|
1466
|
+
# @yield [result, err] Result & error if block supplied
|
1467
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
1468
|
+
# @yieldparam err [StandardError] error object if request failed
|
1469
|
+
#
|
1470
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
1471
|
+
#
|
1472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1475
|
+
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)
|
1476
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:unpublish', options)
|
1477
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
1478
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
1479
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
1480
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
1481
|
+
command.params['name'] = name unless name.nil?
|
1482
|
+
command.query['fields'] = fields unless fields.nil?
|
1483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1484
|
+
execute_or_queue_command(command, &block)
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# Uploads an integration. The content can be a previously downloaded integration.
|
1488
|
+
# Performs the same function as CreateDraftIntegrationVersion, but accepts
|
1489
|
+
# input in a string format, which holds the complete representation of the
|
1490
|
+
# IntegrationVersion content.
|
1491
|
+
# @param [String] parent
|
1492
|
+
# Required. The version to upload. Format: projects/`project`/locations/`
|
1493
|
+
# location`/integrations/`integration`
|
1494
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
1495
|
+
# @param [String] fields
|
1496
|
+
# Selector specifying which fields to include in a partial response.
|
1497
|
+
# @param [String] quota_user
|
1498
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1499
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1500
|
+
# @param [Google::Apis::RequestOptions] options
|
1501
|
+
# Request-specific options
|
1502
|
+
#
|
1503
|
+
# @yield [result, err] Result & error if block supplied
|
1504
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object
|
1505
|
+
# @yieldparam err [StandardError] error object if request failed
|
1506
|
+
#
|
1507
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse]
|
1508
|
+
#
|
1509
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1510
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1511
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1512
|
+
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)
|
1513
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/versions:upload', options)
|
1514
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
|
1515
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
1516
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
|
1517
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
|
1518
|
+
command.params['parent'] = parent unless parent.nil?
|
1519
|
+
command.query['fields'] = fields unless fields.nil?
|
1520
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1521
|
+
execute_or_queue_command(command, &block)
|
1522
|
+
end
|
1523
|
+
|
1228
1524
|
# Validates the given integration. If the id doesn't exist, a NotFoundException
|
1229
1525
|
# is thrown. If validation fails a CanonicalCodeException is thrown. If there
|
1230
1526
|
# was no failure an empty response is returned.
|
@@ -2378,6 +2674,45 @@ module Google
|
|
2378
2674
|
execute_or_queue_command(command, &block)
|
2379
2675
|
end
|
2380
2676
|
|
2677
|
+
# Soft-deletes the integration. Changes the status of the integration to
|
2678
|
+
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
2679
|
+
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
2680
|
+
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
2681
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
2682
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
2683
|
+
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
2684
|
+
# released when Deleting a integration. Currently, there is no undelete
|
2685
|
+
# mechanism.
|
2686
|
+
# @param [String] name
|
2687
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
2688
|
+
# location`/integrations/`integration`/versions/`version`
|
2689
|
+
# @param [String] fields
|
2690
|
+
# Selector specifying which fields to include in a partial response.
|
2691
|
+
# @param [String] quota_user
|
2692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2694
|
+
# @param [Google::Apis::RequestOptions] options
|
2695
|
+
# Request-specific options
|
2696
|
+
#
|
2697
|
+
# @yield [result, err] Result & error if block supplied
|
2698
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
2699
|
+
# @yieldparam err [StandardError] error object if request failed
|
2700
|
+
#
|
2701
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
2702
|
+
#
|
2703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2706
|
+
def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
2707
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2708
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
2709
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
2710
|
+
command.params['name'] = name unless name.nil?
|
2711
|
+
command.query['fields'] = fields unless fields.nil?
|
2712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2713
|
+
execute_or_queue_command(command, &block)
|
2714
|
+
end
|
2715
|
+
|
2381
2716
|
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
2382
2717
|
# integration_id` and returns the response as a string.
|
2383
2718
|
# @param [String] name
|
@@ -2659,6 +2994,43 @@ module Google
|
|
2659
2994
|
execute_or_queue_command(command, &block)
|
2660
2995
|
end
|
2661
2996
|
|
2997
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
2998
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
2999
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
3000
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
3001
|
+
# @param [String] name
|
3002
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
3003
|
+
# location`/integrations/`integration`/versions/`version`
|
3004
|
+
# @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
3005
|
+
# @param [String] fields
|
3006
|
+
# Selector specifying which fields to include in a partial response.
|
3007
|
+
# @param [String] quota_user
|
3008
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3009
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3010
|
+
# @param [Google::Apis::RequestOptions] options
|
3011
|
+
# Request-specific options
|
3012
|
+
#
|
3013
|
+
# @yield [result, err] Result & error if block supplied
|
3014
|
+
# @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty] parsed result object
|
3015
|
+
# @yieldparam err [StandardError] error object if request failed
|
3016
|
+
#
|
3017
|
+
# @return [Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty]
|
3018
|
+
#
|
3019
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3020
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3021
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3022
|
+
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)
|
3023
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:unpublish', options)
|
3024
|
+
command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
3025
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
3026
|
+
command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
|
3027
|
+
command.response_class = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty
|
3028
|
+
command.params['name'] = name unless name.nil?
|
3029
|
+
command.query['fields'] = fields unless fields.nil?
|
3030
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3031
|
+
execute_or_queue_command(command, &block)
|
3032
|
+
end
|
3033
|
+
|
2662
3034
|
# THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle
|
2663
3035
|
# @param [String] name
|
2664
3036
|
# Required. Bundle name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-integrations_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|