google-apis-integrations_v1 0.2.0 → 0.4.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 +10 -0
- data/lib/google/apis/integrations_v1/classes.rb +1694 -178
- data/lib/google/apis/integrations_v1/gem_version.rb +3 -3
- data/lib/google/apis/integrations_v1/representations.rb +750 -31
- data/lib/google/apis/integrations_v1/service.rb +1756 -808
- metadata +6 -9
@@ -152,6 +152,40 @@ module Google
|
|
152
152
|
execute_or_queue_command(command, &block)
|
153
153
|
end
|
154
154
|
|
155
|
+
# Generate OpenAPI spec for the requested integrations and api triggers
|
156
|
+
# @param [String] name
|
157
|
+
# Required. Project and location from which the integrations should be fetched.
|
158
|
+
# Format: projects/`project`/location/`location`
|
159
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest] google_cloud_integrations_v1alpha_generate_open_api_spec_request_object
|
160
|
+
# @param [String] fields
|
161
|
+
# Selector specifying which fields to include in a partial response.
|
162
|
+
# @param [String] quota_user
|
163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
165
|
+
# @param [Google::Apis::RequestOptions] options
|
166
|
+
# Request-specific options
|
167
|
+
#
|
168
|
+
# @yield [result, err] Result & error if block supplied
|
169
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse] parsed result object
|
170
|
+
# @yieldparam err [StandardError] error object if request failed
|
171
|
+
#
|
172
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse]
|
173
|
+
#
|
174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
|
+
def generate_project_location_open_api_spec(name, google_cloud_integrations_v1alpha_generate_open_api_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
+
command = make_simple_command(:post, 'v1/{+name}:generateOpenApiSpec', options)
|
179
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest::Representation
|
180
|
+
command.request_object = google_cloud_integrations_v1alpha_generate_open_api_spec_request_object
|
181
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse::Representation
|
182
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse
|
183
|
+
command.params['name'] = name unless name.nil?
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
+
execute_or_queue_command(command, &block)
|
187
|
+
end
|
188
|
+
|
155
189
|
# Gets the client configuration for the given project and location resource name
|
156
190
|
# @param [String] parent
|
157
191
|
# Required. Required: The ID of the GCP Project to be provisioned.
|
@@ -1122,7 +1156,9 @@ module Google
|
|
1122
1156
|
# @param [String] name
|
1123
1157
|
# Required. The integration resource name. Format: projects/`gcp_project_id`/
|
1124
1158
|
# locations/`location`/integrations/`integration_id`
|
1125
|
-
# @param [
|
1159
|
+
# @param [String] gcp_cloud_events_mode
|
1160
|
+
# Optional. LINT: LEGACY_NAMES The query parameter value for
|
1161
|
+
# __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers.
|
1126
1162
|
# @param [String] trigger_id
|
1127
1163
|
# Required. Id of the integration trigger config. The trigger_id is in the
|
1128
1164
|
# format: `integration_connector_trigger/projects/`gcp_project_id`/location/`
|
@@ -1144,13 +1180,12 @@ module Google
|
|
1144
1180
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1145
1181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1146
1182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1147
|
-
def execute_project_location_integration_event(name,
|
1183
|
+
def execute_project_location_integration_event(name, gcp_cloud_events_mode: nil, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1148
1184
|
command = make_simple_command(:post, 'v1/{+name}:executeEvent', options)
|
1149
|
-
command.request_representation = Hash<String,Object>::Representation
|
1150
|
-
command.request_object = google_protobuf_struct_object
|
1151
1185
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse::Representation
|
1152
1186
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse
|
1153
1187
|
command.params['name'] = name unless name.nil?
|
1188
|
+
command.query['GCPCloudEventsMode'] = gcp_cloud_events_mode unless gcp_cloud_events_mode.nil?
|
1154
1189
|
command.query['triggerId'] = trigger_id unless trigger_id.nil?
|
1155
1190
|
command.query['fields'] = fields unless fields.nil?
|
1156
1191
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1275,6 +1310,42 @@ module Google
|
|
1275
1310
|
execute_or_queue_command(command, &block)
|
1276
1311
|
end
|
1277
1312
|
|
1313
|
+
# Cancellation of an execution and associated sub-executions. This will not
|
1314
|
+
# cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions.
|
1315
|
+
# @param [String] name
|
1316
|
+
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
1317
|
+
# locations/`location`/products/`product`/integrations/`integration_id`/
|
1318
|
+
# executions/`execution_id`
|
1319
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object
|
1320
|
+
# @param [String] fields
|
1321
|
+
# Selector specifying which fields to include in a partial response.
|
1322
|
+
# @param [String] quota_user
|
1323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1325
|
+
# @param [Google::Apis::RequestOptions] options
|
1326
|
+
# Request-specific options
|
1327
|
+
#
|
1328
|
+
# @yield [result, err] Result & error if block supplied
|
1329
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] parsed result object
|
1330
|
+
# @yieldparam err [StandardError] error object if request failed
|
1331
|
+
#
|
1332
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse]
|
1333
|
+
#
|
1334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1337
|
+
def cancel_project_location_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1338
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1339
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation
|
1340
|
+
command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object
|
1341
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation
|
1342
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse
|
1343
|
+
command.params['name'] = name unless name.nil?
|
1344
|
+
command.query['fields'] = fields unless fields.nil?
|
1345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1346
|
+
execute_or_queue_command(command, &block)
|
1347
|
+
end
|
1348
|
+
|
1278
1349
|
# Download the execution.
|
1279
1350
|
# @param [String] name
|
1280
1351
|
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
@@ -1380,15 +1451,19 @@ module Google
|
|
1380
1451
|
# Workflow name.
|
1381
1452
|
# @param [String] order_by
|
1382
1453
|
# Optional. The results would be returned in order you specified here. Currently
|
1383
|
-
# supporting "
|
1454
|
+
# supporting "create_time".
|
1384
1455
|
# @param [Fixnum] page_size
|
1385
1456
|
# Optional. The size of entries in the response.
|
1386
1457
|
# @param [String] page_token
|
1387
1458
|
# Optional. The token returned in the previous response.
|
1388
1459
|
# @param [String] read_mask
|
1389
1460
|
# Optional. View mask for the response data. If set, only the field specified
|
1390
|
-
# will be returned as part of the result. If not set, all fields in
|
1391
|
-
#
|
1461
|
+
# will be returned as part of the result. If not set, all fields in Execution
|
1462
|
+
# will be filled and returned. Supported fields: trigger_id execution_method
|
1463
|
+
# create_time update_time execution_details execution_details.state
|
1464
|
+
# execution_details.execution_snapshots execution_details.attempt_stats
|
1465
|
+
# execution_details.event_execution_snapshots_size request_parameters
|
1466
|
+
# cloud_logging_details snapshot_number replay_info
|
1392
1467
|
# @param [Boolean] refresh_acl
|
1393
1468
|
# Optional. If true, the service will use the most recent acl information to
|
1394
1469
|
# list event execution infos and renew the acl cache. Note that fetching the
|
@@ -1448,6 +1523,42 @@ module Google
|
|
1448
1523
|
execute_or_queue_command(command, &block)
|
1449
1524
|
end
|
1450
1525
|
|
1526
|
+
# Re-execute an existing execution, with same request parameters and execution
|
1527
|
+
# strategy.
|
1528
|
+
# @param [String] name
|
1529
|
+
# Required. Next ID: 6 The execution resource name. Format: projects/`
|
1530
|
+
# gcp_project_id`/locations/`location`/integrations/`integration`/executions/`
|
1531
|
+
# execution_id`
|
1532
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest] google_cloud_integrations_v1alpha_replay_execution_request_object
|
1533
|
+
# @param [String] fields
|
1534
|
+
# Selector specifying which fields to include in a partial response.
|
1535
|
+
# @param [String] quota_user
|
1536
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1537
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1538
|
+
# @param [Google::Apis::RequestOptions] options
|
1539
|
+
# Request-specific options
|
1540
|
+
#
|
1541
|
+
# @yield [result, err] Result & error if block supplied
|
1542
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse] parsed result object
|
1543
|
+
# @yieldparam err [StandardError] error object if request failed
|
1544
|
+
#
|
1545
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse]
|
1546
|
+
#
|
1547
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1548
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1549
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1550
|
+
def replay_project_location_integration_execution(name, google_cloud_integrations_v1alpha_replay_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1551
|
+
command = make_simple_command(:post, 'v1/{+name}:replay', options)
|
1552
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest::Representation
|
1553
|
+
command.request_object = google_cloud_integrations_v1alpha_replay_execution_request_object
|
1554
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse::Representation
|
1555
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse
|
1556
|
+
command.params['name'] = name unless name.nil?
|
1557
|
+
command.query['fields'] = fields unless fields.nil?
|
1558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1559
|
+
execute_or_queue_command(command, &block)
|
1560
|
+
end
|
1561
|
+
|
1451
1562
|
# * Lifts suspension for the Suspension task. Fetch corresponding suspension
|
1452
1563
|
# with provided suspension Id, resolve suspension, and set up suspension result
|
1453
1564
|
# for the Suspension Task.
|
@@ -1762,8 +1873,7 @@ module Google
|
|
1762
1873
|
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
1763
1874
|
# Meaning: "List versions (with filter) for a particular integration". 2.
|
1764
1875
|
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
1765
|
-
# a client within a particular region".
|
1766
|
-
# Meaning: "List versions (with filter) for a client".
|
1876
|
+
# a client within a particular region".
|
1767
1877
|
# @param [String] field_mask
|
1768
1878
|
# The field mask which specifies the particular data to be returned.
|
1769
1879
|
# @param [String] filter
|
@@ -1776,8 +1886,8 @@ module Google
|
|
1776
1886
|
# fields like `task_config`.
|
1777
1887
|
# @param [String] order_by
|
1778
1888
|
# The results would be returned in order you specified here. Currently supported
|
1779
|
-
# sort keys are: Descending sort order for "
|
1780
|
-
# "
|
1889
|
+
# sort keys are: Descending sort order for "last\_modified\_time", "created\
|
1890
|
+
# _time", and "snapshot\_number". Ascending sort order for `name`.
|
1781
1891
|
# @param [Fixnum] page_size
|
1782
1892
|
# The maximum number of versions to return. The service may return fewer than
|
1783
1893
|
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
@@ -1969,49 +2079,14 @@ module Google
|
|
1969
2079
|
execute_or_queue_command(command, &block)
|
1970
2080
|
end
|
1971
2081
|
|
1972
|
-
# Creates
|
1973
|
-
# auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the
|
1974
|
-
# auth config with Cloud KMS and store the encrypted credentials in Spanner.
|
1975
|
-
# Returns the encrypted auth config.
|
2082
|
+
# Creates a new test case
|
1976
2083
|
# @param [String] parent
|
1977
|
-
# Required.
|
1978
|
-
#
|
1979
|
-
#
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
1984
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
1985
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
1986
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
1987
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
1988
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
1989
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
1990
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
1991
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
1992
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
1993
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
1994
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
1995
|
-
# @param [String] client_certificate_passphrase
|
1996
|
-
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
1997
|
-
# passphrase' is not the password for web server, but an extra layer of security
|
1998
|
-
# to protected private key.
|
1999
|
-
# @param [String] client_certificate_ssl_certificate
|
2000
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
2001
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2002
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2003
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2004
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2005
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2006
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2007
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2008
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2009
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2010
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2011
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2012
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2013
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2014
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2084
|
+
# Required. The parent resource where this test case will be created. Format:
|
2085
|
+
# projects/`project`/locations/`location`/integrations/`integration`/versions/`
|
2086
|
+
# integration_version`
|
2087
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object
|
2088
|
+
# @param [String] test_case_id
|
2089
|
+
# Required. Required
|
2015
2090
|
# @param [String] fields
|
2016
2091
|
# Selector specifying which fields to include in a partial response.
|
2017
2092
|
# @param [String] quota_user
|
@@ -2021,32 +2096,30 @@ module Google
|
|
2021
2096
|
# Request-specific options
|
2022
2097
|
#
|
2023
2098
|
# @yield [result, err] Result & error if block supplied
|
2024
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2099
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
2025
2100
|
# @yieldparam err [StandardError] error object if request failed
|
2026
2101
|
#
|
2027
|
-
# @return [Google::Apis::IntegrationsV1::
|
2102
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
2028
2103
|
#
|
2029
2104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2030
2105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2031
2106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2032
|
-
def
|
2033
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
2034
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2035
|
-
command.request_object =
|
2036
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2037
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2107
|
+
def create_project_location_integration_version_test_case(parent, google_cloud_integrations_v1alpha_test_case_object = nil, test_case_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2108
|
+
command = make_simple_command(:post, 'v1/{+parent}/testCases', options)
|
2109
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2110
|
+
command.request_object = google_cloud_integrations_v1alpha_test_case_object
|
2111
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2112
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
2038
2113
|
command.params['parent'] = parent unless parent.nil?
|
2039
|
-
command.query['
|
2040
|
-
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
2041
|
-
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
2114
|
+
command.query['testCaseId'] = test_case_id unless test_case_id.nil?
|
2042
2115
|
command.query['fields'] = fields unless fields.nil?
|
2043
2116
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2044
2117
|
execute_or_queue_command(command, &block)
|
2045
2118
|
end
|
2046
2119
|
|
2047
|
-
# Deletes
|
2120
|
+
# Deletes a test case
|
2048
2121
|
# @param [String] name
|
2049
|
-
# Required.
|
2122
|
+
# Required. ID for the test case to be deleted
|
2050
2123
|
# @param [String] fields
|
2051
2124
|
# Selector specifying which fields to include in a partial response.
|
2052
2125
|
# @param [String] quota_user
|
@@ -2064,7 +2137,7 @@ module Google
|
|
2064
2137
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2065
2138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2066
2139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2067
|
-
def
|
2140
|
+
def delete_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
|
2068
2141
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2069
2142
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
2070
2143
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
@@ -2074,10 +2147,14 @@ module Google
|
|
2074
2147
|
execute_or_queue_command(command, &block)
|
2075
2148
|
end
|
2076
2149
|
|
2077
|
-
#
|
2078
|
-
#
|
2150
|
+
# Downloads a test case. Retrieves the `TestCase` for a given `test_case_id` and
|
2151
|
+
# returns the response as a string.
|
2079
2152
|
# @param [String] name
|
2080
|
-
# Required. The
|
2153
|
+
# Required. The test case to download. Format: projects/`project`/locations/`
|
2154
|
+
# location`/integrations/`integration`/versions/`integration_version`/testCases/`
|
2155
|
+
# test_case_id`
|
2156
|
+
# @param [String] file_format
|
2157
|
+
# File format for download request.
|
2081
2158
|
# @param [String] fields
|
2082
2159
|
# Selector specifying which fields to include in a partial response.
|
2083
2160
|
# @param [String] quota_user
|
@@ -2087,38 +2164,31 @@ module Google
|
|
2087
2164
|
# Request-specific options
|
2088
2165
|
#
|
2089
2166
|
# @yield [result, err] Result & error if block supplied
|
2090
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2167
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse] parsed result object
|
2091
2168
|
# @yieldparam err [StandardError] error object if request failed
|
2092
2169
|
#
|
2093
|
-
# @return [Google::Apis::IntegrationsV1::
|
2170
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse]
|
2094
2171
|
#
|
2095
2172
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2096
2173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2097
2174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2098
|
-
def
|
2099
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
2100
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2101
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2175
|
+
def download_project_location_integration_version_test_case(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2176
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
2177
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse::Representation
|
2178
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse
|
2102
2179
|
command.params['name'] = name unless name.nil?
|
2180
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
2103
2181
|
command.query['fields'] = fields unless fields.nil?
|
2104
2182
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2105
2183
|
execute_or_queue_command(command, &block)
|
2106
2184
|
end
|
2107
2185
|
|
2108
|
-
#
|
2109
|
-
# to the current client only.
|
2186
|
+
# Executes all test cases in an integration version.
|
2110
2187
|
# @param [String] parent
|
2111
|
-
# Required. The
|
2112
|
-
#
|
2113
|
-
#
|
2114
|
-
#
|
2115
|
-
# @param [Fixnum] page_size
|
2116
|
-
# The size of entries in the response. If unspecified, defaults to 100.
|
2117
|
-
# @param [String] page_token
|
2118
|
-
# The token returned in the previous response.
|
2119
|
-
# @param [String] read_mask
|
2120
|
-
# The mask which specifies fields that need to be returned in the AuthConfig's
|
2121
|
-
# response.
|
2188
|
+
# Required. The parent resource whose test cases are executed. Format: projects/`
|
2189
|
+
# project`/locations/`location`/integrations/`integration`/versions/`
|
2190
|
+
# integration_version`
|
2191
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest] google_cloud_integrations_v1alpha_execute_test_cases_request_object
|
2122
2192
|
# @param [String] fields
|
2123
2193
|
# Selector specifying which fields to include in a partial response.
|
2124
2194
|
# @param [String] quota_user
|
@@ -2128,76 +2198,30 @@ module Google
|
|
2128
2198
|
# Request-specific options
|
2129
2199
|
#
|
2130
2200
|
# @yield [result, err] Result & error if block supplied
|
2131
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2201
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse] parsed result object
|
2132
2202
|
# @yieldparam err [StandardError] error object if request failed
|
2133
2203
|
#
|
2134
|
-
# @return [Google::Apis::IntegrationsV1::
|
2204
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse]
|
2135
2205
|
#
|
2136
2206
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2137
2207
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2138
2208
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2139
|
-
def
|
2140
|
-
command = make_simple_command(:
|
2141
|
-
command.
|
2142
|
-
command.
|
2209
|
+
def execute_project_location_integration_version_test_case(parent, google_cloud_integrations_v1alpha_execute_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2210
|
+
command = make_simple_command(:post, 'v1/{+parent}/testCases:execute', options)
|
2211
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest::Representation
|
2212
|
+
command.request_object = google_cloud_integrations_v1alpha_execute_test_cases_request_object
|
2213
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse::Representation
|
2214
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse
|
2143
2215
|
command.params['parent'] = parent unless parent.nil?
|
2144
|
-
command.query['filter'] = filter unless filter.nil?
|
2145
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2146
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2147
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
2148
2216
|
command.query['fields'] = fields unless fields.nil?
|
2149
2217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2150
2218
|
execute_or_queue_command(command, &block)
|
2151
2219
|
end
|
2152
2220
|
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
#
|
2157
|
-
# @param [String] name
|
2158
|
-
# Resource name of the auth config. For more information, see Manage
|
2159
|
-
# authentication profiles. projects/`project`/locations/`location`/authConfigs/`
|
2160
|
-
# authConfig`.
|
2161
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
2162
|
-
# @param [String] client_certificate_encrypted_private_key
|
2163
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
2164
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2165
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2166
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2167
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2168
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2169
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2170
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2171
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2172
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2173
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2174
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2175
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2176
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2177
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2178
|
-
# @param [String] client_certificate_passphrase
|
2179
|
-
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
2180
|
-
# passphrase' is not the password for web server, but an extra layer of security
|
2181
|
-
# to protected private key.
|
2182
|
-
# @param [String] client_certificate_ssl_certificate
|
2183
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
2184
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2185
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2186
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2187
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2188
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2189
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2190
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2191
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2192
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2193
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2194
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2195
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2196
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2197
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2198
|
-
# @param [String] update_mask
|
2199
|
-
# Field mask specifying the fields in the above AuthConfig that have been
|
2200
|
-
# modified and need to be updated.
|
2221
|
+
# Executes functional test
|
2222
|
+
# @param [String] test_case_name
|
2223
|
+
# Required. Test case resource name
|
2224
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest] google_cloud_integrations_v1alpha_execute_test_case_request_object
|
2201
2225
|
# @param [String] fields
|
2202
2226
|
# Selector specifying which fields to include in a partial response.
|
2203
2227
|
# @param [String] quota_user
|
@@ -2207,36 +2231,29 @@ module Google
|
|
2207
2231
|
# Request-specific options
|
2208
2232
|
#
|
2209
2233
|
# @yield [result, err] Result & error if block supplied
|
2210
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2234
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse] parsed result object
|
2211
2235
|
# @yieldparam err [StandardError] error object if request failed
|
2212
2236
|
#
|
2213
|
-
# @return [Google::Apis::IntegrationsV1::
|
2237
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse]
|
2214
2238
|
#
|
2215
2239
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2216
2240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2217
2241
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2218
|
-
def
|
2219
|
-
command = make_simple_command(:
|
2220
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2221
|
-
command.request_object =
|
2222
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2223
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2224
|
-
command.params['
|
2225
|
-
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
2226
|
-
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
2227
|
-
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
2228
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2242
|
+
def execute_project_location_integration_version_test_case_test(test_case_name, google_cloud_integrations_v1alpha_execute_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2243
|
+
command = make_simple_command(:post, 'v1/{+testCaseName}:executeTest', options)
|
2244
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest::Representation
|
2245
|
+
command.request_object = google_cloud_integrations_v1alpha_execute_test_case_request_object
|
2246
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse::Representation
|
2247
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse
|
2248
|
+
command.params['testCaseName'] = test_case_name unless test_case_name.nil?
|
2229
2249
|
command.query['fields'] = fields unless fields.nil?
|
2230
2250
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2231
2251
|
execute_or_queue_command(command, &block)
|
2232
2252
|
end
|
2233
2253
|
|
2234
|
-
#
|
2235
|
-
#
|
2236
|
-
# the
|
2237
|
-
# @param [String] parent
|
2238
|
-
# Required. "projects/`project`/locations/`location`" format.
|
2239
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object
|
2254
|
+
# Get a test case
|
2255
|
+
# @param [String] name
|
2256
|
+
# Required. The ID of the test case to retrieve
|
2240
2257
|
# @param [String] fields
|
2241
2258
|
# Selector specifying which fields to include in a partial response.
|
2242
2259
|
# @param [String] quota_user
|
@@ -2246,60 +2263,44 @@ module Google
|
|
2246
2263
|
# Request-specific options
|
2247
2264
|
#
|
2248
2265
|
# @yield [result, err] Result & error if block supplied
|
2249
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2266
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
2250
2267
|
# @yieldparam err [StandardError] error object if request failed
|
2251
2268
|
#
|
2252
|
-
# @return [Google::Apis::IntegrationsV1::
|
2269
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
2253
2270
|
#
|
2254
2271
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2255
2272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2256
2273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2257
|
-
def
|
2258
|
-
command = make_simple_command(:
|
2259
|
-
command.
|
2260
|
-
command.
|
2261
|
-
command.
|
2262
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
2263
|
-
command.params['parent'] = parent unless parent.nil?
|
2274
|
+
def get_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
|
2275
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2276
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2277
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
2278
|
+
command.params['name'] = name unless name.nil?
|
2264
2279
|
command.query['fields'] = fields unless fields.nil?
|
2265
2280
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2266
2281
|
execute_or_queue_command(command, &block)
|
2267
2282
|
end
|
2268
2283
|
|
2269
|
-
#
|
2270
|
-
# @param [String]
|
2271
|
-
# Required. The
|
2272
|
-
# @param [String]
|
2273
|
-
#
|
2274
|
-
#
|
2275
|
-
#
|
2276
|
-
#
|
2277
|
-
#
|
2278
|
-
#
|
2279
|
-
#
|
2280
|
-
#
|
2281
|
-
#
|
2282
|
-
# @
|
2283
|
-
#
|
2284
|
-
#
|
2285
|
-
#
|
2286
|
-
# @
|
2287
|
-
#
|
2288
|
-
#
|
2289
|
-
def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
2290
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2291
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
2292
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
2293
|
-
command.params['name'] = name unless name.nil?
|
2294
|
-
command.query['fields'] = fields unless fields.nil?
|
2295
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2296
|
-
execute_or_queue_command(command, &block)
|
2297
|
-
end
|
2298
|
-
|
2299
|
-
# Get a certificates in the specified project.
|
2300
|
-
# @param [String] name
|
2301
|
-
# Required. The certificate to retrieve. Format: projects/`project`/locations/`
|
2302
|
-
# location`/certificates/`certificate`
|
2284
|
+
# Lists all the test cases that satisfy the filters.
|
2285
|
+
# @param [String] parent
|
2286
|
+
# Required. The parent resource where this TestCase was created.
|
2287
|
+
# @param [String] filter
|
2288
|
+
# Optional. Standard filter field. Filtering as supported in https://developers.
|
2289
|
+
# google.com/authorized-buyers/apis/guides/list-filters.
|
2290
|
+
# @param [String] order_by
|
2291
|
+
# Optional. The results would be returned in order specified here. Currently
|
2292
|
+
# supported sort keys are: Descending sort order for "last_modified_time", "
|
2293
|
+
# created_time". Ascending sort order for "name".
|
2294
|
+
# @param [Fixnum] page_size
|
2295
|
+
# Optional. The maximum number of test cases to return. The service may return
|
2296
|
+
# fewer than this value. If unspecified, at most 100 test cases will be returned.
|
2297
|
+
# @param [String] page_token
|
2298
|
+
# Optional. A page token, received from a previous `ListTestCases` call. Provide
|
2299
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
2300
|
+
# provided to `ListTestCases` must match the call that provided the page token.
|
2301
|
+
# @param [String] read_mask
|
2302
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
2303
|
+
# TestCases's response.
|
2303
2304
|
# @param [String] fields
|
2304
2305
|
# Selector specifying which fields to include in a partial response.
|
2305
2306
|
# @param [String] quota_user
|
@@ -2309,38 +2310,60 @@ module Google
|
|
2309
2310
|
# Request-specific options
|
2310
2311
|
#
|
2311
2312
|
# @yield [result, err] Result & error if block supplied
|
2312
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2313
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse] parsed result object
|
2313
2314
|
# @yieldparam err [StandardError] error object if request failed
|
2314
2315
|
#
|
2315
|
-
# @return [Google::Apis::IntegrationsV1::
|
2316
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse]
|
2316
2317
|
#
|
2317
2318
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2318
2319
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2319
2320
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2320
|
-
def
|
2321
|
-
command = make_simple_command(:get, 'v1/{+
|
2322
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2323
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2324
|
-
command.params['
|
2321
|
+
def list_project_location_integration_version_test_cases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2322
|
+
command = make_simple_command(:get, 'v1/{+parent}/testCases', options)
|
2323
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse::Representation
|
2324
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse
|
2325
|
+
command.params['parent'] = parent unless parent.nil?
|
2326
|
+
command.query['filter'] = filter unless filter.nil?
|
2327
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2328
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2329
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2330
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
2325
2331
|
command.query['fields'] = fields unless fields.nil?
|
2326
2332
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2327
2333
|
execute_or_queue_command(command, &block)
|
2328
2334
|
end
|
2329
2335
|
|
2330
|
-
#
|
2331
|
-
#
|
2336
|
+
# Lists the results of all functional test executions. The response includes the
|
2337
|
+
# same information as the [execution log](https://cloud.google.com/application-
|
2338
|
+
# integration/docs/viewing-logs) in the Integration UI.
|
2332
2339
|
# @param [String] parent
|
2333
|
-
# Required. The
|
2340
|
+
# Required. The parent resource name of the test case execution.
|
2334
2341
|
# @param [String] filter
|
2335
|
-
#
|
2336
|
-
#
|
2342
|
+
# Optional. Standard filter field, we support filtering on following fields:
|
2343
|
+
# test_case_id: the ID of the test case. CreateTimestamp: the execution created
|
2344
|
+
# time. event_execution_state: the state of the executions. execution_id: the id
|
2345
|
+
# of the execution. trigger_id: the id of the trigger. parameter_type: the type
|
2346
|
+
# of the parameters involved in the execution. All fields support for EQUALS, in
|
2347
|
+
# additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType
|
2348
|
+
# support for HAS For example: "parameter_type" HAS \"string\" Also supports
|
2349
|
+
# operators like AND, OR, NOT For example, trigger_id=\"id1\" AND test_case_id=\"
|
2350
|
+
# testCaseId\"
|
2351
|
+
# @param [String] order_by
|
2352
|
+
# Optional. The results would be returned in order you specified here. Currently
|
2353
|
+
# supporting "last_modified_time" and "create_time".
|
2337
2354
|
# @param [Fixnum] page_size
|
2338
|
-
# The size of entries in the response.
|
2355
|
+
# Optional. The size of entries in the response.
|
2339
2356
|
# @param [String] page_token
|
2340
|
-
# The token returned in the previous response.
|
2357
|
+
# Optional. The token returned in the previous response.
|
2341
2358
|
# @param [String] read_mask
|
2342
|
-
#
|
2343
|
-
#
|
2359
|
+
# Optional. View mask for the response data. If set, only the field specified
|
2360
|
+
# will be returned as part of the result. If not set, all fields in event
|
2361
|
+
# execution info will be filled and returned.
|
2362
|
+
# @param [Boolean] truncate_params
|
2363
|
+
# Optional. If true, the service will truncate the params to only keep the first
|
2364
|
+
# 1000 characters of string params and empty the executions in order to make
|
2365
|
+
# response smaller. Only works for UI and when the params fields are not
|
2366
|
+
# filtered out.
|
2344
2367
|
# @param [String] fields
|
2345
2368
|
# Selector specifying which fields to include in a partial response.
|
2346
2369
|
# @param [String] quota_user
|
@@ -2350,38 +2373,37 @@ module Google
|
|
2350
2373
|
# Request-specific options
|
2351
2374
|
#
|
2352
2375
|
# @yield [result, err] Result & error if block supplied
|
2353
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2376
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse] parsed result object
|
2354
2377
|
# @yieldparam err [StandardError] error object if request failed
|
2355
2378
|
#
|
2356
|
-
# @return [Google::Apis::IntegrationsV1::
|
2379
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse]
|
2357
2380
|
#
|
2358
2381
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2359
2382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2360
2383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2361
|
-
def
|
2362
|
-
command = make_simple_command(:get, 'v1/{+parent}
|
2363
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2364
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2384
|
+
def list_project_location_integration_version_test_case_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2385
|
+
command = make_simple_command(:get, 'v1/{+parent}:executions', options)
|
2386
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse::Representation
|
2387
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse
|
2365
2388
|
command.params['parent'] = parent unless parent.nil?
|
2366
2389
|
command.query['filter'] = filter unless filter.nil?
|
2390
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2367
2391
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2368
2392
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2369
2393
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
2394
|
+
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
2370
2395
|
command.query['fields'] = fields unless fields.nil?
|
2371
2396
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2372
2397
|
execute_or_queue_command(command, &block)
|
2373
2398
|
end
|
2374
2399
|
|
2375
|
-
# Updates
|
2376
|
-
# register with the trawler service, re-encrypt with cloud KMS and update the
|
2377
|
-
# Spanner record. Other fields will directly update the Spanner record. Returns
|
2378
|
-
# the Certificate.
|
2400
|
+
# Updates a test case
|
2379
2401
|
# @param [String] name
|
2380
|
-
# Output only. Auto
|
2381
|
-
# @param [Google::Apis::IntegrationsV1::
|
2402
|
+
# Output only. Auto-generated primary key.
|
2403
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object
|
2382
2404
|
# @param [String] update_mask
|
2383
|
-
# Field mask specifying the fields in the above
|
2384
|
-
# modified and need to be updated.
|
2405
|
+
# Optional. Field mask specifying the fields in the above integration that have
|
2406
|
+
# been modified and need to be updated.
|
2385
2407
|
# @param [String] fields
|
2386
2408
|
# Selector specifying which fields to include in a partial response.
|
2387
2409
|
# @param [String] quota_user
|
@@ -2391,20 +2413,20 @@ module Google
|
|
2391
2413
|
# Request-specific options
|
2392
2414
|
#
|
2393
2415
|
# @yield [result, err] Result & error if block supplied
|
2394
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2416
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
2395
2417
|
# @yieldparam err [StandardError] error object if request failed
|
2396
2418
|
#
|
2397
|
-
# @return [Google::Apis::IntegrationsV1::
|
2419
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
2398
2420
|
#
|
2399
2421
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2400
2422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2401
2423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2402
|
-
def
|
2424
|
+
def patch_project_location_integration_version_test_case(name, google_cloud_integrations_v1alpha_test_case_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2403
2425
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2404
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2405
|
-
command.request_object =
|
2406
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2407
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2426
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2427
|
+
command.request_object = google_cloud_integrations_v1alpha_test_case_object
|
2428
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2429
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
2408
2430
|
command.params['name'] = name unless name.nil?
|
2409
2431
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2410
2432
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2412,10 +2434,12 @@ module Google
|
|
2412
2434
|
execute_or_queue_command(command, &block)
|
2413
2435
|
end
|
2414
2436
|
|
2415
|
-
#
|
2416
|
-
# @param [String]
|
2417
|
-
# Required. The
|
2418
|
-
#
|
2437
|
+
# Clear the lock fields and assign them to current user
|
2438
|
+
# @param [String] name
|
2439
|
+
# Required. The ID of test case to takeover edit lock. Format: projects/`project`
|
2440
|
+
# /locations/`location`/integrations/`integration`/versions/`integration_version`
|
2441
|
+
# /testCases/`test_case_id`
|
2442
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest] google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object
|
2419
2443
|
# @param [String] fields
|
2420
2444
|
# Selector specifying which fields to include in a partial response.
|
2421
2445
|
# @param [String] quota_user
|
@@ -2425,35 +2449,33 @@ module Google
|
|
2425
2449
|
# Request-specific options
|
2426
2450
|
#
|
2427
2451
|
# @yield [result, err] Result & error if block supplied
|
2428
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2452
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
2429
2453
|
# @yieldparam err [StandardError] error object if request failed
|
2430
2454
|
#
|
2431
|
-
# @return [Google::Apis::IntegrationsV1::
|
2455
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
2432
2456
|
#
|
2433
2457
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2434
2458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2435
2459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2436
|
-
def
|
2437
|
-
command = make_simple_command(:post, 'v1/{+
|
2438
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2439
|
-
command.request_object =
|
2440
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2441
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2442
|
-
command.params['
|
2460
|
+
def takeover_project_location_integration_version_test_case_edit_lock(name, google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2461
|
+
command = make_simple_command(:post, 'v1/{+name}:takeoverEditLock', options)
|
2462
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest::Representation
|
2463
|
+
command.request_object = google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object
|
2464
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
2465
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
2466
|
+
command.params['name'] = name unless name.nil?
|
2443
2467
|
command.query['fields'] = fields unless fields.nil?
|
2444
2468
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2445
2469
|
execute_or_queue_command(command, &block)
|
2446
2470
|
end
|
2447
2471
|
|
2448
|
-
#
|
2449
|
-
#
|
2450
|
-
#
|
2451
|
-
#
|
2452
|
-
#
|
2453
|
-
#
|
2454
|
-
# @param [
|
2455
|
-
# Required. The integration resource name.
|
2456
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest] google_cloud_integrations_v1alpha_execute_integrations_request_object
|
2472
|
+
# Uploads a test case. The content can be a previously downloaded test case.
|
2473
|
+
# Performs the same function as CreateTestCase, but accepts input in a string
|
2474
|
+
# format, which holds the complete representation of the TestCase content.
|
2475
|
+
# @param [String] parent
|
2476
|
+
# Required. The test case to upload. Format: projects/`project`/locations/`
|
2477
|
+
# location`/integrations/`integration`/versions/`integration_version`
|
2478
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest] google_cloud_integrations_v1alpha_upload_test_case_request_object
|
2457
2479
|
# @param [String] fields
|
2458
2480
|
# Selector specifying which fields to include in a partial response.
|
2459
2481
|
# @param [String] quota_user
|
@@ -2463,46 +2485,69 @@ module Google
|
|
2463
2485
|
# Request-specific options
|
2464
2486
|
#
|
2465
2487
|
# @yield [result, err] Result & error if block supplied
|
2466
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2488
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse] parsed result object
|
2467
2489
|
# @yieldparam err [StandardError] error object if request failed
|
2468
2490
|
#
|
2469
|
-
# @return [Google::Apis::IntegrationsV1::
|
2491
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse]
|
2470
2492
|
#
|
2471
2493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2472
2494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2473
2495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2474
|
-
def
|
2475
|
-
command = make_simple_command(:post, 'v1/{+
|
2476
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2477
|
-
command.request_object =
|
2478
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2479
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2480
|
-
command.params['
|
2496
|
+
def upload_project_location_integration_version_test_case(parent, google_cloud_integrations_v1alpha_upload_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2497
|
+
command = make_simple_command(:post, 'v1/{+parent}/testCases:upload', options)
|
2498
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest::Representation
|
2499
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_test_case_request_object
|
2500
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse::Representation
|
2501
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse
|
2502
|
+
command.params['parent'] = parent unless parent.nil?
|
2481
2503
|
command.query['fields'] = fields unless fields.nil?
|
2482
2504
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2483
2505
|
execute_or_queue_command(command, &block)
|
2484
2506
|
end
|
2485
2507
|
|
2486
|
-
#
|
2508
|
+
# Creates an auth config record. Fetch corresponding credentials for specific
|
2509
|
+
# auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the
|
2510
|
+
# auth config with Cloud KMS and store the encrypted credentials in Spanner.
|
2511
|
+
# Returns the encrypted auth config.
|
2487
2512
|
# @param [String] parent
|
2488
|
-
# Required.
|
2489
|
-
#
|
2490
|
-
# @param [String]
|
2491
|
-
#
|
2492
|
-
#
|
2493
|
-
#
|
2494
|
-
#
|
2495
|
-
#
|
2496
|
-
#
|
2497
|
-
#
|
2498
|
-
#
|
2499
|
-
#
|
2500
|
-
#
|
2501
|
-
#
|
2502
|
-
#
|
2503
|
-
#
|
2504
|
-
#
|
2505
|
-
#
|
2513
|
+
# Required. "projects/`project`/locations/`location`" format.
|
2514
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
2515
|
+
# @param [String] client_certificate_encrypted_private_key
|
2516
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
2517
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2518
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2519
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2520
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2521
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2522
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2523
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2524
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2525
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2526
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2527
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2528
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2529
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2530
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2531
|
+
# @param [String] client_certificate_passphrase
|
2532
|
+
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
2533
|
+
# passphrase' is not the password for web server, but an extra layer of security
|
2534
|
+
# to protected private key.
|
2535
|
+
# @param [String] client_certificate_ssl_certificate
|
2536
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
2537
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2538
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2539
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2540
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2541
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2542
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2543
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2544
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2545
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2546
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2547
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2548
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2549
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2550
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2506
2551
|
# @param [String] fields
|
2507
2552
|
# Selector specifying which fields to include in a partial response.
|
2508
2553
|
# @param [String] quota_user
|
@@ -2512,33 +2557,32 @@ module Google
|
|
2512
2557
|
# Request-specific options
|
2513
2558
|
#
|
2514
2559
|
# @yield [result, err] Result & error if block supplied
|
2515
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2560
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
2516
2561
|
# @yieldparam err [StandardError] error object if request failed
|
2517
2562
|
#
|
2518
|
-
# @return [Google::Apis::IntegrationsV1::
|
2563
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
2519
2564
|
#
|
2520
2565
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2521
2566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2522
2567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2523
|
-
def
|
2524
|
-
command = make_simple_command(:
|
2525
|
-
command.
|
2526
|
-
command.
|
2568
|
+
def create_project_location_product_auth_config(parent, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2569
|
+
command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options)
|
2570
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
2571
|
+
command.request_object = google_cloud_integrations_v1alpha_auth_config_object
|
2572
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
2573
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
2527
2574
|
command.params['parent'] = parent unless parent.nil?
|
2528
|
-
command.query['
|
2529
|
-
command.query['
|
2530
|
-
command.query['
|
2531
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2575
|
+
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
2576
|
+
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
2577
|
+
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
2532
2578
|
command.query['fields'] = fields unless fields.nil?
|
2533
2579
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2534
2580
|
execute_or_queue_command(command, &block)
|
2535
2581
|
end
|
2536
2582
|
|
2537
|
-
#
|
2538
|
-
# scheduled time in the request body.
|
2583
|
+
# Deletes an auth config.
|
2539
2584
|
# @param [String] name
|
2540
|
-
# The
|
2541
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest] google_cloud_integrations_v1alpha_schedule_integrations_request_object
|
2585
|
+
# Required. The name that is associated with the AuthConfig.
|
2542
2586
|
# @param [String] fields
|
2543
2587
|
# Selector specifying which fields to include in a partial response.
|
2544
2588
|
# @param [String] quota_user
|
@@ -2548,30 +2592,28 @@ module Google
|
|
2548
2592
|
# Request-specific options
|
2549
2593
|
#
|
2550
2594
|
# @yield [result, err] Result & error if block supplied
|
2551
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2595
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
2552
2596
|
# @yieldparam err [StandardError] error object if request failed
|
2553
2597
|
#
|
2554
|
-
# @return [Google::Apis::IntegrationsV1::
|
2598
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
2555
2599
|
#
|
2556
2600
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2557
2601
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2558
2602
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2559
|
-
def
|
2560
|
-
command = make_simple_command(:
|
2561
|
-
command.
|
2562
|
-
command.
|
2563
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
|
2564
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
|
2603
|
+
def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
2604
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2605
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
2606
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
2565
2607
|
command.params['name'] = name unless name.nil?
|
2566
2608
|
command.query['fields'] = fields unless fields.nil?
|
2567
2609
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2568
2610
|
execute_or_queue_command(command, &block)
|
2569
2611
|
end
|
2570
2612
|
|
2571
|
-
#
|
2613
|
+
# Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND
|
2614
|
+
# exception will be thrown. Returns the decrypted auth config.
|
2572
2615
|
# @param [String] name
|
2573
|
-
#
|
2574
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest] google_cloud_integrations_v1alpha_test_integrations_request_object
|
2616
|
+
# Required. The name that is associated with the AuthConfig.
|
2575
2617
|
# @param [String] fields
|
2576
2618
|
# Selector specifying which fields to include in a partial response.
|
2577
2619
|
# @param [String] quota_user
|
@@ -2581,32 +2623,525 @@ module Google
|
|
2581
2623
|
# Request-specific options
|
2582
2624
|
#
|
2583
2625
|
# @yield [result, err] Result & error if block supplied
|
2584
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
2626
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
2585
2627
|
# @yieldparam err [StandardError] error object if request failed
|
2586
2628
|
#
|
2587
|
-
# @return [Google::Apis::IntegrationsV1::
|
2629
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
2588
2630
|
#
|
2589
2631
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2590
2632
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2591
2633
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2592
|
-
def
|
2593
|
-
command = make_simple_command(:
|
2594
|
-
command.
|
2595
|
-
command.
|
2596
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation
|
2597
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
|
2634
|
+
def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
2635
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2636
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
2637
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
2598
2638
|
command.params['name'] = name unless name.nil?
|
2599
2639
|
command.query['fields'] = fields unless fields.nil?
|
2600
2640
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2601
2641
|
execute_or_queue_command(command, &block)
|
2602
2642
|
end
|
2603
2643
|
|
2604
|
-
#
|
2605
|
-
#
|
2644
|
+
# Lists all auth configs that match the filter. Restrict to auth configs belong
|
2645
|
+
# to the current client only.
|
2646
|
+
# @param [String] parent
|
2647
|
+
# Required. The client, which owns this collection of AuthConfigs.
|
2648
|
+
# @param [String] filter
|
2649
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
2650
|
+
# guides/list-filters.
|
2651
|
+
# @param [Fixnum] page_size
|
2652
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
2653
|
+
# @param [String] page_token
|
2654
|
+
# The token returned in the previous response.
|
2655
|
+
# @param [String] read_mask
|
2656
|
+
# The mask which specifies fields that need to be returned in the AuthConfig's
|
2657
|
+
# response.
|
2658
|
+
# @param [String] fields
|
2659
|
+
# Selector specifying which fields to include in a partial response.
|
2660
|
+
# @param [String] quota_user
|
2661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2663
|
+
# @param [Google::Apis::RequestOptions] options
|
2664
|
+
# Request-specific options
|
2665
|
+
#
|
2666
|
+
# @yield [result, err] Result & error if block supplied
|
2667
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] parsed result object
|
2668
|
+
# @yieldparam err [StandardError] error object if request failed
|
2669
|
+
#
|
2670
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse]
|
2671
|
+
#
|
2672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2675
|
+
def list_project_location_product_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2676
|
+
command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options)
|
2677
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
|
2678
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
|
2679
|
+
command.params['parent'] = parent unless parent.nil?
|
2680
|
+
command.query['filter'] = filter unless filter.nil?
|
2681
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2682
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2683
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
2684
|
+
command.query['fields'] = fields unless fields.nil?
|
2685
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2686
|
+
execute_or_queue_command(command, &block)
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
# Updates an auth config. If credential is updated, fetch the encrypted auth
|
2690
|
+
# config from Spanner, decrypt with Cloud KMS key, update the credential fields,
|
2691
|
+
# re-encrypt with Cloud KMS key and update the Spanner record. For other fields,
|
2692
|
+
# directly update the Spanner record. Returns the encrypted auth config.
|
2693
|
+
# @param [String] name
|
2694
|
+
# Resource name of the auth config. For more information, see Manage
|
2695
|
+
# authentication profiles. projects/`project`/locations/`location`/authConfigs/`
|
2696
|
+
# authConfig`.
|
2697
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
2698
|
+
# @param [String] client_certificate_encrypted_private_key
|
2699
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
2700
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2701
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2702
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2703
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2704
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2705
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2706
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2707
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2708
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2709
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2710
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2711
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2712
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2713
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2714
|
+
# @param [String] client_certificate_passphrase
|
2715
|
+
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
2716
|
+
# passphrase' is not the password for web server, but an extra layer of security
|
2717
|
+
# to protected private key.
|
2718
|
+
# @param [String] client_certificate_ssl_certificate
|
2719
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
2720
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
2721
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
2722
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
2723
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
2724
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
2725
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
2726
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
2727
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
2728
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
2729
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
2730
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
2731
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
2732
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
2733
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
2734
|
+
# @param [String] update_mask
|
2735
|
+
# Field mask specifying the fields in the above AuthConfig that have been
|
2736
|
+
# modified and need to be updated.
|
2737
|
+
# @param [String] fields
|
2738
|
+
# Selector specifying which fields to include in a partial response.
|
2739
|
+
# @param [String] quota_user
|
2740
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2741
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2742
|
+
# @param [Google::Apis::RequestOptions] options
|
2743
|
+
# Request-specific options
|
2744
|
+
#
|
2745
|
+
# @yield [result, err] Result & error if block supplied
|
2746
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
2747
|
+
# @yieldparam err [StandardError] error object if request failed
|
2748
|
+
#
|
2749
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
2750
|
+
#
|
2751
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2752
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2753
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2754
|
+
def patch_project_location_product_auth_config(name, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2755
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2756
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
2757
|
+
command.request_object = google_cloud_integrations_v1alpha_auth_config_object
|
2758
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
2759
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
2760
|
+
command.params['name'] = name unless name.nil?
|
2761
|
+
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
2762
|
+
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
2763
|
+
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
2764
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2765
|
+
command.query['fields'] = fields unless fields.nil?
|
2766
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2767
|
+
execute_or_queue_command(command, &block)
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
# Creates a new certificate. The certificate will be registered to the trawler
|
2771
|
+
# service and will be encrypted using cloud KMS and stored in Spanner Returns
|
2772
|
+
# the certificate.
|
2773
|
+
# @param [String] parent
|
2774
|
+
# Required. "projects/`project`/locations/`location`" format.
|
2775
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object
|
2776
|
+
# @param [String] fields
|
2777
|
+
# Selector specifying which fields to include in a partial response.
|
2778
|
+
# @param [String] quota_user
|
2779
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2780
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2781
|
+
# @param [Google::Apis::RequestOptions] options
|
2782
|
+
# Request-specific options
|
2783
|
+
#
|
2784
|
+
# @yield [result, err] Result & error if block supplied
|
2785
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
2786
|
+
# @yieldparam err [StandardError] error object if request failed
|
2787
|
+
#
|
2788
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
2789
|
+
#
|
2790
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2791
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2792
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2793
|
+
def create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2794
|
+
command = make_simple_command(:post, 'v1/{+parent}/certificates', options)
|
2795
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
2796
|
+
command.request_object = google_cloud_integrations_v1alpha_certificate_object
|
2797
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
2798
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
2799
|
+
command.params['parent'] = parent unless parent.nil?
|
2800
|
+
command.query['fields'] = fields unless fields.nil?
|
2801
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2802
|
+
execute_or_queue_command(command, &block)
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
# Delete a certificate
|
2806
|
+
# @param [String] name
|
2807
|
+
# Required. The name that is associated with the Certificate.
|
2808
|
+
# @param [String] fields
|
2809
|
+
# Selector specifying which fields to include in a partial response.
|
2810
|
+
# @param [String] quota_user
|
2811
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2812
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2813
|
+
# @param [Google::Apis::RequestOptions] options
|
2814
|
+
# Request-specific options
|
2815
|
+
#
|
2816
|
+
# @yield [result, err] Result & error if block supplied
|
2817
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
2818
|
+
# @yieldparam err [StandardError] error object if request failed
|
2819
|
+
#
|
2820
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
2821
|
+
#
|
2822
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2823
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2824
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2825
|
+
def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
2826
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2827
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
2828
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
2829
|
+
command.params['name'] = name unless name.nil?
|
2830
|
+
command.query['fields'] = fields unless fields.nil?
|
2831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2832
|
+
execute_or_queue_command(command, &block)
|
2833
|
+
end
|
2834
|
+
|
2835
|
+
# Get a certificates in the specified project.
|
2836
|
+
# @param [String] name
|
2837
|
+
# Required. The certificate to retrieve. Format: projects/`project`/locations/`
|
2838
|
+
# location`/certificates/`certificate`
|
2839
|
+
# @param [String] fields
|
2840
|
+
# Selector specifying which fields to include in a partial response.
|
2841
|
+
# @param [String] quota_user
|
2842
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2843
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2844
|
+
# @param [Google::Apis::RequestOptions] options
|
2845
|
+
# Request-specific options
|
2846
|
+
#
|
2847
|
+
# @yield [result, err] Result & error if block supplied
|
2848
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
2849
|
+
# @yieldparam err [StandardError] error object if request failed
|
2850
|
+
#
|
2851
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
2852
|
+
#
|
2853
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2854
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2855
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2856
|
+
def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
2857
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2858
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
2859
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
2860
|
+
command.params['name'] = name unless name.nil?
|
2861
|
+
command.query['fields'] = fields unless fields.nil?
|
2862
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2863
|
+
execute_or_queue_command(command, &block)
|
2864
|
+
end
|
2865
|
+
|
2866
|
+
# List all the certificates that match the filter. Restrict to certificate of
|
2867
|
+
# current client only.
|
2868
|
+
# @param [String] parent
|
2869
|
+
# Required. The client, which owns this collection of Certificates.
|
2870
|
+
# @param [String] filter
|
2871
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
2872
|
+
# guides/list-filters.
|
2873
|
+
# @param [Fixnum] page_size
|
2874
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
2875
|
+
# @param [String] page_token
|
2876
|
+
# The token returned in the previous response.
|
2877
|
+
# @param [String] read_mask
|
2878
|
+
# The mask which specifies fields that need to be returned in the Certificate's
|
2879
|
+
# response.
|
2880
|
+
# @param [String] fields
|
2881
|
+
# Selector specifying which fields to include in a partial response.
|
2882
|
+
# @param [String] quota_user
|
2883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2885
|
+
# @param [Google::Apis::RequestOptions] options
|
2886
|
+
# Request-specific options
|
2887
|
+
#
|
2888
|
+
# @yield [result, err] Result & error if block supplied
|
2889
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] parsed result object
|
2890
|
+
# @yieldparam err [StandardError] error object if request failed
|
2891
|
+
#
|
2892
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse]
|
2893
|
+
#
|
2894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2897
|
+
def list_project_location_product_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2898
|
+
command = make_simple_command(:get, 'v1/{+parent}/certificates', options)
|
2899
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation
|
2900
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse
|
2901
|
+
command.params['parent'] = parent unless parent.nil?
|
2902
|
+
command.query['filter'] = filter unless filter.nil?
|
2903
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2904
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2905
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
2906
|
+
command.query['fields'] = fields unless fields.nil?
|
2907
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2908
|
+
execute_or_queue_command(command, &block)
|
2909
|
+
end
|
2910
|
+
|
2911
|
+
# Updates the certificate by id. If new certificate file is updated, it will
|
2912
|
+
# register with the trawler service, re-encrypt with cloud KMS and update the
|
2913
|
+
# Spanner record. Other fields will directly update the Spanner record. Returns
|
2914
|
+
# the Certificate.
|
2915
|
+
# @param [String] name
|
2916
|
+
# Output only. Auto generated primary key
|
2917
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object
|
2918
|
+
# @param [String] update_mask
|
2919
|
+
# Field mask specifying the fields in the above Certificate that have been
|
2920
|
+
# modified and need to be updated.
|
2921
|
+
# @param [String] fields
|
2922
|
+
# Selector specifying which fields to include in a partial response.
|
2923
|
+
# @param [String] quota_user
|
2924
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2925
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2926
|
+
# @param [Google::Apis::RequestOptions] options
|
2927
|
+
# Request-specific options
|
2928
|
+
#
|
2929
|
+
# @yield [result, err] Result & error if block supplied
|
2930
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
2931
|
+
# @yieldparam err [StandardError] error object if request failed
|
2932
|
+
#
|
2933
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
2934
|
+
#
|
2935
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2936
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2937
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2938
|
+
def patch_project_location_product_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2939
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2940
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
2941
|
+
command.request_object = google_cloud_integrations_v1alpha_certificate_object
|
2942
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
2943
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
2944
|
+
command.params['name'] = name unless name.nil?
|
2945
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2946
|
+
command.query['fields'] = fields unless fields.nil?
|
2947
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2948
|
+
execute_or_queue_command(command, &block)
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# Creates a cloud function project.
|
2952
|
+
# @param [String] parent
|
2953
|
+
# Required. The project that the executed integration belongs to.
|
2954
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest] google_cloud_integrations_v1alpha_create_cloud_function_request_object
|
2955
|
+
# @param [String] fields
|
2956
|
+
# Selector specifying which fields to include in a partial response.
|
2957
|
+
# @param [String] quota_user
|
2958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2960
|
+
# @param [Google::Apis::RequestOptions] options
|
2961
|
+
# Request-specific options
|
2962
|
+
#
|
2963
|
+
# @yield [result, err] Result & error if block supplied
|
2964
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] parsed result object
|
2965
|
+
# @yieldparam err [StandardError] error object if request failed
|
2966
|
+
#
|
2967
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse]
|
2968
|
+
#
|
2969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2972
|
+
def create_project_location_product_cloud_function(parent, google_cloud_integrations_v1alpha_create_cloud_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2973
|
+
command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options)
|
2974
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation
|
2975
|
+
command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object
|
2976
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation
|
2977
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse
|
2978
|
+
command.params['parent'] = parent unless parent.nil?
|
2979
|
+
command.query['fields'] = fields unless fields.nil?
|
2980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2981
|
+
execute_or_queue_command(command, &block)
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
# Executes integrations synchronously by passing the trigger id in the request
|
2985
|
+
# body. The request is not returned until the requested executions are either
|
2986
|
+
# fulfilled or experienced an error. If the integration name is not specified (
|
2987
|
+
# passing `-`), all of the associated integration under the given trigger_id
|
2988
|
+
# will be executed. Otherwise only the specified integration for the given `
|
2989
|
+
# trigger_id` is executed. This is helpful for execution the integration from UI.
|
2990
|
+
# @param [String] name
|
2991
|
+
# Required. The integration resource name.
|
2992
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest] google_cloud_integrations_v1alpha_execute_integrations_request_object
|
2993
|
+
# @param [String] fields
|
2994
|
+
# Selector specifying which fields to include in a partial response.
|
2995
|
+
# @param [String] quota_user
|
2996
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2997
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2998
|
+
# @param [Google::Apis::RequestOptions] options
|
2999
|
+
# Request-specific options
|
3000
|
+
#
|
3001
|
+
# @yield [result, err] Result & error if block supplied
|
3002
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse] parsed result object
|
3003
|
+
# @yieldparam err [StandardError] error object if request failed
|
3004
|
+
#
|
3005
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse]
|
3006
|
+
#
|
3007
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3008
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3009
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3010
|
+
def execute_project_location_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3011
|
+
command = make_simple_command(:post, 'v1/{+name}:execute', options)
|
3012
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation
|
3013
|
+
command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object
|
3014
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation
|
3015
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse
|
3016
|
+
command.params['name'] = name unless name.nil?
|
3017
|
+
command.query['fields'] = fields unless fields.nil?
|
3018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3019
|
+
execute_or_queue_command(command, &block)
|
3020
|
+
end
|
3021
|
+
|
3022
|
+
# Returns the list of all integrations in the specified project.
|
3023
|
+
# @param [String] parent
|
3024
|
+
# Required. Project and location from which the integrations should be listed.
|
3025
|
+
# Format: projects/`project`
|
3026
|
+
# @param [String] filter
|
3027
|
+
# Filter on fields of IntegrationVersion. Fields can be compared with literal
|
3028
|
+
# values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less
|
3029
|
+
# than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (
|
3030
|
+
# inequality) operators. Negation, conjunction, and disjunction are written
|
3031
|
+
# using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=
|
3032
|
+
# ACTIVE AND description:"test". Filtering cannot be performed on repeated
|
3033
|
+
# fields like `task_config`.
|
3034
|
+
# @param [String] order_by
|
3035
|
+
# The results would be returned in order you specified here. Supported sort keys
|
3036
|
+
# are: Descending sort order by "last_modified_time", "created_time", "
|
3037
|
+
# snapshot_number". Ascending sort order by the integration name.
|
3038
|
+
# @param [Fixnum] page_size
|
3039
|
+
# The page size for the resquest.
|
3040
|
+
# @param [String] page_token
|
3041
|
+
# The page token for the resquest.
|
3042
|
+
# @param [String] fields
|
3043
|
+
# Selector specifying which fields to include in a partial response.
|
3044
|
+
# @param [String] quota_user
|
3045
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3046
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3047
|
+
# @param [Google::Apis::RequestOptions] options
|
3048
|
+
# Request-specific options
|
3049
|
+
#
|
3050
|
+
# @yield [result, err] Result & error if block supplied
|
3051
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse] parsed result object
|
3052
|
+
# @yieldparam err [StandardError] error object if request failed
|
3053
|
+
#
|
3054
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse]
|
3055
|
+
#
|
3056
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3057
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3058
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3059
|
+
def list_project_location_product_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3060
|
+
command = make_simple_command(:get, 'v1/{+parent}/integrations', options)
|
3061
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation
|
3062
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse
|
3063
|
+
command.params['parent'] = parent unless parent.nil?
|
3064
|
+
command.query['filter'] = filter unless filter.nil?
|
3065
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3066
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3067
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3068
|
+
command.query['fields'] = fields unless fields.nil?
|
3069
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3070
|
+
execute_or_queue_command(command, &block)
|
3071
|
+
end
|
3072
|
+
|
3073
|
+
# Schedules an integration for execution by passing the trigger id and the
|
3074
|
+
# scheduled time in the request body.
|
3075
|
+
# @param [String] name
|
3076
|
+
# The integration resource name.
|
3077
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest] google_cloud_integrations_v1alpha_schedule_integrations_request_object
|
3078
|
+
# @param [String] fields
|
3079
|
+
# Selector specifying which fields to include in a partial response.
|
3080
|
+
# @param [String] quota_user
|
3081
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3082
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3083
|
+
# @param [Google::Apis::RequestOptions] options
|
3084
|
+
# Request-specific options
|
3085
|
+
#
|
3086
|
+
# @yield [result, err] Result & error if block supplied
|
3087
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse] parsed result object
|
3088
|
+
# @yieldparam err [StandardError] error object if request failed
|
3089
|
+
#
|
3090
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse]
|
3091
|
+
#
|
3092
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3093
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3094
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3095
|
+
def schedule_project_location_product_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3096
|
+
command = make_simple_command(:post, 'v1/{+name}:schedule', options)
|
3097
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation
|
3098
|
+
command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object
|
3099
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
|
3100
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
|
3101
|
+
command.params['name'] = name unless name.nil?
|
3102
|
+
command.query['fields'] = fields unless fields.nil?
|
3103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3104
|
+
execute_or_queue_command(command, &block)
|
3105
|
+
end
|
3106
|
+
|
3107
|
+
# Execute the integration in draft state
|
3108
|
+
# @param [String] name
|
3109
|
+
# Output only. Auto-generated primary key.
|
3110
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest] google_cloud_integrations_v1alpha_test_integrations_request_object
|
3111
|
+
# @param [String] fields
|
3112
|
+
# Selector specifying which fields to include in a partial response.
|
3113
|
+
# @param [String] quota_user
|
3114
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3115
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3116
|
+
# @param [Google::Apis::RequestOptions] options
|
3117
|
+
# Request-specific options
|
3118
|
+
#
|
3119
|
+
# @yield [result, err] Result & error if block supplied
|
3120
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] parsed result object
|
3121
|
+
# @yieldparam err [StandardError] error object if request failed
|
3122
|
+
#
|
3123
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse]
|
3124
|
+
#
|
3125
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3126
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3127
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3128
|
+
def test_project_location_product_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3129
|
+
command = make_simple_command(:post, 'v1/{+name}:test', options)
|
3130
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest::Representation
|
3131
|
+
command.request_object = google_cloud_integrations_v1alpha_test_integrations_request_object
|
3132
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation
|
3133
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
|
3134
|
+
command.params['name'] = name unless name.nil?
|
3135
|
+
command.query['fields'] = fields unless fields.nil?
|
3136
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3137
|
+
execute_or_queue_command(command, &block)
|
3138
|
+
end
|
3139
|
+
|
3140
|
+
# Download the execution.
|
3141
|
+
# @param [String] name
|
2606
3142
|
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
2607
3143
|
# locations/`location`/products/`product`/integrations/`integration_id`/
|
2608
3144
|
# executions/`execution_id`
|
2609
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object
|
2610
3145
|
# @param [String] fields
|
2611
3146
|
# Selector specifying which fields to include in a partial response.
|
2612
3147
|
# @param [String] quota_user
|
@@ -2616,31 +3151,342 @@ module Google
|
|
2616
3151
|
# Request-specific options
|
2617
3152
|
#
|
2618
3153
|
# @yield [result, err] Result & error if block supplied
|
2619
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3154
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse] parsed result object
|
3155
|
+
# @yieldparam err [StandardError] error object if request failed
|
3156
|
+
#
|
3157
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse]
|
3158
|
+
#
|
3159
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3160
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3161
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3162
|
+
def download_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
|
3163
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
3164
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse::Representation
|
3165
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse
|
3166
|
+
command.params['name'] = name unless name.nil?
|
3167
|
+
command.query['fields'] = fields unless fields.nil?
|
3168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3169
|
+
execute_or_queue_command(command, &block)
|
3170
|
+
end
|
3171
|
+
|
3172
|
+
# Get an execution in the specified project.
|
3173
|
+
# @param [String] name
|
3174
|
+
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
3175
|
+
# locations/`location`/products/`product`/integrations/`integration_id`/
|
3176
|
+
# executions/`execution_id`
|
3177
|
+
# @param [String] fields
|
3178
|
+
# Selector specifying which fields to include in a partial response.
|
3179
|
+
# @param [String] quota_user
|
3180
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3181
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3182
|
+
# @param [Google::Apis::RequestOptions] options
|
3183
|
+
# Request-specific options
|
3184
|
+
#
|
3185
|
+
# @yield [result, err] Result & error if block supplied
|
3186
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution] parsed result object
|
3187
|
+
# @yieldparam err [StandardError] error object if request failed
|
3188
|
+
#
|
3189
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution]
|
3190
|
+
#
|
3191
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3192
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3193
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3194
|
+
def get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
|
3195
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3196
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation
|
3197
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution
|
3198
|
+
command.params['name'] = name unless name.nil?
|
3199
|
+
command.query['fields'] = fields unless fields.nil?
|
3200
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3201
|
+
execute_or_queue_command(command, &block)
|
3202
|
+
end
|
3203
|
+
|
3204
|
+
# Lists the results of all the integration executions. The response includes the
|
3205
|
+
# same information as the [execution log](https://cloud.google.com/application-
|
3206
|
+
# integration/docs/viewing-logs) in the Integration UI.
|
3207
|
+
# @param [String] parent
|
3208
|
+
# Required. The parent resource name of the integration execution.
|
3209
|
+
# @param [String] filter
|
3210
|
+
# Optional. Standard filter field, we support filtering on following fields:
|
3211
|
+
# workflow_name: the name of the integration. CreateTimestamp: the execution
|
3212
|
+
# created time. event_execution_state: the state of the executions. execution_id:
|
3213
|
+
# the id of the execution. trigger_id: the id of the trigger. parameter_type:
|
3214
|
+
# the type of the parameters involved in the execution. All fields support for
|
3215
|
+
# EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN
|
3216
|
+
# ParameterType support for HAS For example: "parameter_type" HAS \"string\"
|
3217
|
+
# Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND
|
3218
|
+
# workflow_name=\"testWorkflow\"
|
3219
|
+
# @param [String] filter_params_custom_filter
|
3220
|
+
# Optional user-provided custom filter.
|
3221
|
+
# @param [Fixnum] filter_params_end_time
|
3222
|
+
# End timestamp.
|
3223
|
+
# @param [Array<String>, String] filter_params_event_statuses
|
3224
|
+
# List of possible event statuses.
|
3225
|
+
# @param [String] filter_params_execution_id
|
3226
|
+
# Execution id.
|
3227
|
+
# @param [String] filter_params_parameter_key
|
3228
|
+
# Param key. DEPRECATED. User parameter_pair_key instead.
|
3229
|
+
# @param [String] filter_params_parameter_pair_key
|
3230
|
+
# Param key in the key value pair filter.
|
3231
|
+
# @param [String] filter_params_parameter_pair_value
|
3232
|
+
# Param value in the key value pair filter.
|
3233
|
+
# @param [String] filter_params_parameter_type
|
3234
|
+
# Param type.
|
3235
|
+
# @param [String] filter_params_parameter_value
|
3236
|
+
# Param value. DEPRECATED. User parameter_pair_value instead.
|
3237
|
+
# @param [Fixnum] filter_params_start_time
|
3238
|
+
# Start timestamp.
|
3239
|
+
# @param [Array<String>, String] filter_params_task_statuses
|
3240
|
+
# List of possible task statuses.
|
3241
|
+
# @param [String] filter_params_workflow_name
|
3242
|
+
# Workflow name.
|
3243
|
+
# @param [String] order_by
|
3244
|
+
# Optional. The results would be returned in order you specified here. Currently
|
3245
|
+
# supporting "create_time".
|
3246
|
+
# @param [Fixnum] page_size
|
3247
|
+
# Optional. The size of entries in the response.
|
3248
|
+
# @param [String] page_token
|
3249
|
+
# Optional. The token returned in the previous response.
|
3250
|
+
# @param [String] read_mask
|
3251
|
+
# Optional. View mask for the response data. If set, only the field specified
|
3252
|
+
# will be returned as part of the result. If not set, all fields in Execution
|
3253
|
+
# will be filled and returned. Supported fields: trigger_id execution_method
|
3254
|
+
# create_time update_time execution_details execution_details.state
|
3255
|
+
# execution_details.execution_snapshots execution_details.attempt_stats
|
3256
|
+
# execution_details.event_execution_snapshots_size request_parameters
|
3257
|
+
# cloud_logging_details snapshot_number replay_info
|
3258
|
+
# @param [Boolean] refresh_acl
|
3259
|
+
# Optional. If true, the service will use the most recent acl information to
|
3260
|
+
# list event execution infos and renew the acl cache. Note that fetching the
|
3261
|
+
# most recent acl is synchronous, so it will increase RPC call latency.
|
3262
|
+
# @param [Boolean] snapshot_metadata_without_params
|
3263
|
+
# Optional. If true, the service will provide execution info with snapshot
|
3264
|
+
# metadata only i.e. without event parameters.
|
3265
|
+
# @param [Boolean] truncate_params
|
3266
|
+
# Optional. If true, the service will truncate the params to only keep the first
|
3267
|
+
# 1000 characters of string params and empty the executions in order to make
|
3268
|
+
# response smaller. Only works for UI and when the params fields are not
|
3269
|
+
# filtered out.
|
3270
|
+
# @param [String] fields
|
3271
|
+
# Selector specifying which fields to include in a partial response.
|
3272
|
+
# @param [String] quota_user
|
3273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3275
|
+
# @param [Google::Apis::RequestOptions] options
|
3276
|
+
# Request-specific options
|
3277
|
+
#
|
3278
|
+
# @yield [result, err] Result & error if block supplied
|
3279
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse] parsed result object
|
3280
|
+
# @yieldparam err [StandardError] error object if request failed
|
3281
|
+
#
|
3282
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse]
|
3283
|
+
#
|
3284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3287
|
+
def list_project_location_product_integration_executions(parent, filter: nil, filter_params_custom_filter: nil, filter_params_end_time: nil, filter_params_event_statuses: nil, filter_params_execution_id: nil, filter_params_parameter_key: nil, filter_params_parameter_pair_key: nil, filter_params_parameter_pair_value: nil, filter_params_parameter_type: nil, filter_params_parameter_value: nil, filter_params_start_time: nil, filter_params_task_statuses: nil, filter_params_workflow_name: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, refresh_acl: nil, snapshot_metadata_without_params: nil, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3288
|
+
command = make_simple_command(:get, 'v1/{+parent}/executions', options)
|
3289
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
|
3290
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse
|
3291
|
+
command.params['parent'] = parent unless parent.nil?
|
3292
|
+
command.query['filter'] = filter unless filter.nil?
|
3293
|
+
command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil?
|
3294
|
+
command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil?
|
3295
|
+
command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil?
|
3296
|
+
command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil?
|
3297
|
+
command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil?
|
3298
|
+
command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil?
|
3299
|
+
command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil?
|
3300
|
+
command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil?
|
3301
|
+
command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil?
|
3302
|
+
command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil?
|
3303
|
+
command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil?
|
3304
|
+
command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil?
|
3305
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3306
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3307
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3308
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
3309
|
+
command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
|
3310
|
+
command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil?
|
3311
|
+
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
3312
|
+
command.query['fields'] = fields unless fields.nil?
|
3313
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3314
|
+
execute_or_queue_command(command, &block)
|
3315
|
+
end
|
3316
|
+
|
3317
|
+
# * Lifts suspension for the Suspension task. Fetch corresponding suspension
|
3318
|
+
# with provided suspension Id, resolve suspension, and set up suspension result
|
3319
|
+
# for the Suspension Task.
|
3320
|
+
# @param [String] name
|
3321
|
+
# Required. The resource that the suspension belongs to. "projects/`project`/
|
3322
|
+
# locations/`location`/products/`product`/integrations/`integration`/executions/`
|
3323
|
+
# execution`/suspensions/`suspenion`" format.
|
3324
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest] google_cloud_integrations_v1alpha_lift_suspension_request_object
|
3325
|
+
# @param [String] fields
|
3326
|
+
# Selector specifying which fields to include in a partial response.
|
3327
|
+
# @param [String] quota_user
|
3328
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3329
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3330
|
+
# @param [Google::Apis::RequestOptions] options
|
3331
|
+
# Request-specific options
|
3332
|
+
#
|
3333
|
+
# @yield [result, err] Result & error if block supplied
|
3334
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] parsed result object
|
3335
|
+
# @yieldparam err [StandardError] error object if request failed
|
3336
|
+
#
|
3337
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse]
|
3338
|
+
#
|
3339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3342
|
+
def lift_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3343
|
+
command = make_simple_command(:post, 'v1/{+name}:lift', options)
|
3344
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
|
3345
|
+
command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
|
3346
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
|
3347
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
|
3348
|
+
command.params['name'] = name unless name.nil?
|
3349
|
+
command.query['fields'] = fields unless fields.nil?
|
3350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3351
|
+
execute_or_queue_command(command, &block)
|
3352
|
+
end
|
3353
|
+
|
3354
|
+
# * Lists suspensions associated with a specific execution. Only those with
|
3355
|
+
# permissions to resolve the relevant suspensions will be able to view them.
|
3356
|
+
# @param [String] parent
|
3357
|
+
# Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
|
3358
|
+
# integrations/`integration_name`/executions/`execution_name`
|
3359
|
+
# @param [String] filter
|
3360
|
+
# Standard filter field.
|
3361
|
+
# @param [String] order_by
|
3362
|
+
# Field name to order by.
|
3363
|
+
# @param [Fixnum] page_size
|
3364
|
+
# Maximum number of entries in the response.
|
3365
|
+
# @param [String] page_token
|
3366
|
+
# Token to retrieve a specific page.
|
3367
|
+
# @param [String] fields
|
3368
|
+
# Selector specifying which fields to include in a partial response.
|
3369
|
+
# @param [String] quota_user
|
3370
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3371
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3372
|
+
# @param [Google::Apis::RequestOptions] options
|
3373
|
+
# Request-specific options
|
3374
|
+
#
|
3375
|
+
# @yield [result, err] Result & error if block supplied
|
3376
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] parsed result object
|
2620
3377
|
# @yieldparam err [StandardError] error object if request failed
|
2621
3378
|
#
|
2622
|
-
# @return [Google::Apis::IntegrationsV1::
|
3379
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse]
|
2623
3380
|
#
|
2624
3381
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2625
3382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2626
3383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2627
|
-
def
|
2628
|
-
command = make_simple_command(:
|
2629
|
-
command.
|
2630
|
-
command.
|
2631
|
-
command.
|
2632
|
-
command.
|
3384
|
+
def list_project_location_product_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3385
|
+
command = make_simple_command(:get, 'v1/{+parent}/suspensions', options)
|
3386
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
|
3387
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse
|
3388
|
+
command.params['parent'] = parent unless parent.nil?
|
3389
|
+
command.query['filter'] = filter unless filter.nil?
|
3390
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3391
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3392
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3393
|
+
command.query['fields'] = fields unless fields.nil?
|
3394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3395
|
+
execute_or_queue_command(command, &block)
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
# * Resolves (lifts/rejects) any number of suspensions. If the integration is
|
3399
|
+
# already running, only the status of the suspension is updated. Otherwise, the
|
3400
|
+
# suspended integration will begin execution again.
|
3401
|
+
# @param [String] name
|
3402
|
+
# Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
|
3403
|
+
# integrations/`integration_name`/executions/`execution_name`/suspensions/`
|
3404
|
+
# suspension_id`
|
3405
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest] google_cloud_integrations_v1alpha_resolve_suspension_request_object
|
3406
|
+
# @param [String] fields
|
3407
|
+
# Selector specifying which fields to include in a partial response.
|
3408
|
+
# @param [String] quota_user
|
3409
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3410
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3411
|
+
# @param [Google::Apis::RequestOptions] options
|
3412
|
+
# Request-specific options
|
3413
|
+
#
|
3414
|
+
# @yield [result, err] Result & error if block supplied
|
3415
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] parsed result object
|
3416
|
+
# @yieldparam err [StandardError] error object if request failed
|
3417
|
+
#
|
3418
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse]
|
3419
|
+
#
|
3420
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3421
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3422
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3423
|
+
def resolve_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3424
|
+
command = make_simple_command(:post, 'v1/{+name}:resolve', options)
|
3425
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
|
3426
|
+
command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
|
3427
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
|
3428
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse
|
2633
3429
|
command.params['name'] = name unless name.nil?
|
2634
3430
|
command.query['fields'] = fields unless fields.nil?
|
2635
3431
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2636
3432
|
execute_or_queue_command(command, &block)
|
2637
3433
|
end
|
2638
3434
|
|
2639
|
-
#
|
3435
|
+
# Create a integration with a draft version in the specified project.
|
3436
|
+
# @param [String] parent
|
3437
|
+
# Required. The parent resource where this version will be created. Format:
|
3438
|
+
# projects/`project`/locations/`location`/integrations/`integration`
|
3439
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
3440
|
+
# @param [Boolean] create_sample_integrations
|
3441
|
+
# Optional. Optional. Indicates if sample workflow should be created.
|
3442
|
+
# @param [Boolean] new_integration
|
3443
|
+
# Set this flag to true, if draft version is to be created for a brand new
|
3444
|
+
# integration. False, if the request is for an existing integration. For
|
3445
|
+
# backward compatibility reasons, even if this flag is set to `false` and no
|
3446
|
+
# existing integration is found, a new draft integration will still be created.
|
3447
|
+
# @param [String] fields
|
3448
|
+
# Selector specifying which fields to include in a partial response.
|
3449
|
+
# @param [String] quota_user
|
3450
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3451
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3452
|
+
# @param [Google::Apis::RequestOptions] options
|
3453
|
+
# Request-specific options
|
3454
|
+
#
|
3455
|
+
# @yield [result, err] Result & error if block supplied
|
3456
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
3457
|
+
# @yieldparam err [StandardError] error object if request failed
|
3458
|
+
#
|
3459
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
3460
|
+
#
|
3461
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3462
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3463
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3464
|
+
def create_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, create_sample_integrations: nil, new_integration: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3465
|
+
command = make_simple_command(:post, 'v1/{+parent}/versions', options)
|
3466
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
3467
|
+
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
3468
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
3469
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
3470
|
+
command.params['parent'] = parent unless parent.nil?
|
3471
|
+
command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
|
3472
|
+
command.query['newIntegration'] = new_integration unless new_integration.nil?
|
3473
|
+
command.query['fields'] = fields unless fields.nil?
|
3474
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3475
|
+
execute_or_queue_command(command, &block)
|
3476
|
+
end
|
3477
|
+
|
3478
|
+
# Soft-deletes the integration. Changes the status of the integration to
|
3479
|
+
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
3480
|
+
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
3481
|
+
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
3482
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
3483
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
3484
|
+
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
3485
|
+
# released when Deleting a integration. Currently, there is no undelete
|
3486
|
+
# mechanism.
|
2640
3487
|
# @param [String] name
|
2641
|
-
# Required. The
|
2642
|
-
#
|
2643
|
-
# executions/`execution_id`
|
3488
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
3489
|
+
# location`/integrations/`integration`/versions/`version`
|
2644
3490
|
# @param [String] fields
|
2645
3491
|
# Selector specifying which fields to include in a partial response.
|
2646
3492
|
# @param [String] quota_user
|
@@ -2650,29 +3496,67 @@ module Google
|
|
2650
3496
|
# Request-specific options
|
2651
3497
|
#
|
2652
3498
|
# @yield [result, err] Result & error if block supplied
|
2653
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3499
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
2654
3500
|
# @yieldparam err [StandardError] error object if request failed
|
2655
3501
|
#
|
2656
|
-
# @return [Google::Apis::IntegrationsV1::
|
3502
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
2657
3503
|
#
|
2658
3504
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2659
3505
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2660
3506
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2661
|
-
def
|
3507
|
+
def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
3508
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3509
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3510
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3511
|
+
command.params['name'] = name unless name.nil?
|
3512
|
+
command.query['fields'] = fields unless fields.nil?
|
3513
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3514
|
+
execute_or_queue_command(command, &block)
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
3518
|
+
# integration_id` and returns the response as a string.
|
3519
|
+
# @param [String] name
|
3520
|
+
# Required. The version to download. Format: projects/`project`/locations/`
|
3521
|
+
# location`/integrations/`integration`/versions/`version`
|
3522
|
+
# @param [String] file_format
|
3523
|
+
# File format for download request.
|
3524
|
+
# @param [Array<String>, String] files
|
3525
|
+
# Optional. Integration related file to download like Integration Json, Config
|
3526
|
+
# variable, testcase etc.
|
3527
|
+
# @param [String] fields
|
3528
|
+
# Selector specifying which fields to include in a partial response.
|
3529
|
+
# @param [String] quota_user
|
3530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3532
|
+
# @param [Google::Apis::RequestOptions] options
|
3533
|
+
# Request-specific options
|
3534
|
+
#
|
3535
|
+
# @yield [result, err] Result & error if block supplied
|
3536
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object
|
3537
|
+
# @yieldparam err [StandardError] error object if request failed
|
3538
|
+
#
|
3539
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse]
|
3540
|
+
#
|
3541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3544
|
+
def download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2662
3545
|
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
2663
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2664
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3546
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
|
3547
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
|
2665
3548
|
command.params['name'] = name unless name.nil?
|
3549
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
3550
|
+
command.query['files'] = files unless files.nil?
|
2666
3551
|
command.query['fields'] = fields unless fields.nil?
|
2667
3552
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2668
3553
|
execute_or_queue_command(command, &block)
|
2669
3554
|
end
|
2670
3555
|
|
2671
|
-
# Get
|
3556
|
+
# Get a integration in the specified project.
|
2672
3557
|
# @param [String] name
|
2673
|
-
# Required. The
|
2674
|
-
#
|
2675
|
-
# executions/`execution_id`
|
3558
|
+
# Required. The version to retrieve. Format: projects/`project`/locations/`
|
3559
|
+
# location`/integrations/`integration`/versions/`version`
|
2676
3560
|
# @param [String] fields
|
2677
3561
|
# Selector specifying which fields to include in a partial response.
|
2678
3562
|
# @param [String] quota_user
|
@@ -2682,86 +3566,55 @@ module Google
|
|
2682
3566
|
# Request-specific options
|
2683
3567
|
#
|
2684
3568
|
# @yield [result, err] Result & error if block supplied
|
2685
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3569
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
2686
3570
|
# @yieldparam err [StandardError] error object if request failed
|
2687
3571
|
#
|
2688
|
-
# @return [Google::Apis::IntegrationsV1::
|
3572
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
2689
3573
|
#
|
2690
3574
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2691
3575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2692
3576
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2693
|
-
def
|
3577
|
+
def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
2694
3578
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2695
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2696
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3579
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
3580
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
2697
3581
|
command.params['name'] = name unless name.nil?
|
2698
3582
|
command.query['fields'] = fields unless fields.nil?
|
2699
3583
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2700
3584
|
execute_or_queue_command(command, &block)
|
2701
3585
|
end
|
2702
3586
|
|
2703
|
-
#
|
2704
|
-
# same information as the [execution log](https://cloud.google.com/application-
|
2705
|
-
# integration/docs/viewing-logs) in the Integration UI.
|
3587
|
+
# Returns the list of all integration versions in the specified project.
|
2706
3588
|
# @param [String] parent
|
2707
|
-
# Required. The parent resource
|
3589
|
+
# Required. The parent resource where this version will be created. Format:
|
3590
|
+
# projects/`project`/locations/`location`/integrations/`integration`
|
3591
|
+
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
3592
|
+
# Meaning: "List versions (with filter) for a particular integration". 2.
|
3593
|
+
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
3594
|
+
# a client within a particular region".
|
3595
|
+
# @param [String] field_mask
|
3596
|
+
# The field mask which specifies the particular data to be returned.
|
2708
3597
|
# @param [String] filter
|
2709
|
-
#
|
2710
|
-
#
|
2711
|
-
#
|
2712
|
-
#
|
2713
|
-
#
|
2714
|
-
#
|
2715
|
-
#
|
2716
|
-
# Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND
|
2717
|
-
# workflow_name=\"testWorkflow\"
|
2718
|
-
# @param [String] filter_params_custom_filter
|
2719
|
-
# Optional user-provided custom filter.
|
2720
|
-
# @param [Fixnum] filter_params_end_time
|
2721
|
-
# End timestamp.
|
2722
|
-
# @param [Array<String>, String] filter_params_event_statuses
|
2723
|
-
# List of possible event statuses.
|
2724
|
-
# @param [String] filter_params_execution_id
|
2725
|
-
# Execution id.
|
2726
|
-
# @param [String] filter_params_parameter_key
|
2727
|
-
# Param key. DEPRECATED. User parameter_pair_key instead.
|
2728
|
-
# @param [String] filter_params_parameter_pair_key
|
2729
|
-
# Param key in the key value pair filter.
|
2730
|
-
# @param [String] filter_params_parameter_pair_value
|
2731
|
-
# Param value in the key value pair filter.
|
2732
|
-
# @param [String] filter_params_parameter_type
|
2733
|
-
# Param type.
|
2734
|
-
# @param [String] filter_params_parameter_value
|
2735
|
-
# Param value. DEPRECATED. User parameter_pair_value instead.
|
2736
|
-
# @param [Fixnum] filter_params_start_time
|
2737
|
-
# Start timestamp.
|
2738
|
-
# @param [Array<String>, String] filter_params_task_statuses
|
2739
|
-
# List of possible task statuses.
|
2740
|
-
# @param [String] filter_params_workflow_name
|
2741
|
-
# Workflow name.
|
3598
|
+
# Filter on fields of IntegrationVersion. Fields can be compared with literal
|
3599
|
+
# values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less
|
3600
|
+
# than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (
|
3601
|
+
# inequality) operators. Negation, conjunction, and disjunction are written
|
3602
|
+
# using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=
|
3603
|
+
# ACTIVE AND description:"test". Filtering cannot be performed on repeated
|
3604
|
+
# fields like `task_config`.
|
2742
3605
|
# @param [String] order_by
|
2743
|
-
#
|
2744
|
-
#
|
3606
|
+
# The results would be returned in order you specified here. Currently supported
|
3607
|
+
# sort keys are: Descending sort order for "last\_modified\_time", "created\
|
3608
|
+
# _time", and "snapshot\_number". Ascending sort order for `name`.
|
2745
3609
|
# @param [Fixnum] page_size
|
2746
|
-
#
|
3610
|
+
# The maximum number of versions to return. The service may return fewer than
|
3611
|
+
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
3612
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
2747
3613
|
# @param [String] page_token
|
2748
|
-
#
|
2749
|
-
#
|
2750
|
-
#
|
2751
|
-
#
|
2752
|
-
# execution info will be filled and returned.
|
2753
|
-
# @param [Boolean] refresh_acl
|
2754
|
-
# Optional. If true, the service will use the most recent acl information to
|
2755
|
-
# list event execution infos and renew the acl cache. Note that fetching the
|
2756
|
-
# most recent acl is synchronous, so it will increase RPC call latency.
|
2757
|
-
# @param [Boolean] snapshot_metadata_without_params
|
2758
|
-
# Optional. If true, the service will provide execution info with snapshot
|
2759
|
-
# metadata only i.e. without event parameters.
|
2760
|
-
# @param [Boolean] truncate_params
|
2761
|
-
# Optional. If true, the service will truncate the params to only keep the first
|
2762
|
-
# 1000 characters of string params and empty the executions in order to make
|
2763
|
-
# response smaller. Only works for UI and when the params fields are not
|
2764
|
-
# filtered out.
|
3614
|
+
# A page token, received from a previous `ListIntegrationVersions` call. Provide
|
3615
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
3616
|
+
# provided to `ListIntegrationVersions` must match the call that provided the
|
3617
|
+
# page token.
|
2765
3618
|
# @param [String] fields
|
2766
3619
|
# Selector specifying which fields to include in a partial response.
|
2767
3620
|
# @param [String] quota_user
|
@@ -2771,52 +3624,36 @@ module Google
|
|
2771
3624
|
# Request-specific options
|
2772
3625
|
#
|
2773
3626
|
# @yield [result, err] Result & error if block supplied
|
2774
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3627
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] parsed result object
|
2775
3628
|
# @yieldparam err [StandardError] error object if request failed
|
2776
3629
|
#
|
2777
|
-
# @return [Google::Apis::IntegrationsV1::
|
3630
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse]
|
2778
3631
|
#
|
2779
3632
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2780
3633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2781
3634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2782
|
-
def
|
2783
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
2784
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2785
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3635
|
+
def list_project_location_product_integration_versions(parent, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3636
|
+
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
|
3637
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
|
3638
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
|
2786
3639
|
command.params['parent'] = parent unless parent.nil?
|
3640
|
+
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
2787
3641
|
command.query['filter'] = filter unless filter.nil?
|
2788
|
-
command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil?
|
2789
|
-
command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil?
|
2790
|
-
command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil?
|
2791
|
-
command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil?
|
2792
|
-
command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil?
|
2793
|
-
command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil?
|
2794
|
-
command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil?
|
2795
|
-
command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil?
|
2796
|
-
command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil?
|
2797
|
-
command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil?
|
2798
|
-
command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil?
|
2799
|
-
command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil?
|
2800
3642
|
command.query['orderBy'] = order_by unless order_by.nil?
|
2801
3643
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2802
3644
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2803
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
2804
|
-
command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
|
2805
|
-
command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil?
|
2806
|
-
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
2807
3645
|
command.query['fields'] = fields unless fields.nil?
|
2808
3646
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2809
3647
|
execute_or_queue_command(command, &block)
|
2810
3648
|
end
|
2811
3649
|
|
2812
|
-
#
|
2813
|
-
# with provided suspension Id, resolve suspension, and set up suspension result
|
2814
|
-
# for the Suspension Task.
|
3650
|
+
# Update a integration with a draft version in the specified project.
|
2815
3651
|
# @param [String] name
|
2816
|
-
#
|
2817
|
-
#
|
2818
|
-
#
|
2819
|
-
#
|
3652
|
+
# Output only. Auto-generated primary key.
|
3653
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
3654
|
+
# @param [String] update_mask
|
3655
|
+
# Field mask specifying the fields in the above integration that have been
|
3656
|
+
# modified and need to be updated.
|
2820
3657
|
# @param [String] fields
|
2821
3658
|
# Selector specifying which fields to include in a partial response.
|
2822
3659
|
# @param [String] quota_user
|
@@ -2826,39 +3663,37 @@ module Google
|
|
2826
3663
|
# Request-specific options
|
2827
3664
|
#
|
2828
3665
|
# @yield [result, err] Result & error if block supplied
|
2829
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3666
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
2830
3667
|
# @yieldparam err [StandardError] error object if request failed
|
2831
3668
|
#
|
2832
|
-
# @return [Google::Apis::IntegrationsV1::
|
3669
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
2833
3670
|
#
|
2834
3671
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2835
3672
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2836
3673
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2837
|
-
def
|
2838
|
-
command = make_simple_command(:
|
2839
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2840
|
-
command.request_object =
|
2841
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2842
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3674
|
+
def patch_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_integration_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3675
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3676
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
3677
|
+
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
3678
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
3679
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
2843
3680
|
command.params['name'] = name unless name.nil?
|
3681
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2844
3682
|
command.query['fields'] = fields unless fields.nil?
|
2845
3683
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2846
3684
|
execute_or_queue_command(command, &block)
|
2847
3685
|
end
|
2848
3686
|
|
2849
|
-
#
|
2850
|
-
#
|
2851
|
-
#
|
2852
|
-
#
|
2853
|
-
#
|
2854
|
-
#
|
2855
|
-
#
|
2856
|
-
#
|
2857
|
-
#
|
2858
|
-
# @param [
|
2859
|
-
# Maximum number of entries in the response.
|
2860
|
-
# @param [String] page_token
|
2861
|
-
# Token to retrieve a specific page.
|
3687
|
+
# This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state.
|
3688
|
+
# This RPC throws an exception if the version being published is DRAFT, and if
|
3689
|
+
# the `locked_by` user is not the same as the user performing the Publish. Audit
|
3690
|
+
# fields updated include last_published_timestamp, last_published_by,
|
3691
|
+
# last_modified_timestamp, last_modified_by. Any existing lock is on this
|
3692
|
+
# integration is released.
|
3693
|
+
# @param [String] name
|
3694
|
+
# Required. The version to publish. Format: projects/`project`/locations/`
|
3695
|
+
# location`/integrations/`integration`/versions/`version`
|
3696
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_publish_integration_version_request_object
|
2862
3697
|
# @param [String] fields
|
2863
3698
|
# Selector specifying which fields to include in a partial response.
|
2864
3699
|
# @param [String] quota_user
|
@@ -2868,36 +3703,41 @@ module Google
|
|
2868
3703
|
# Request-specific options
|
2869
3704
|
#
|
2870
3705
|
# @yield [result, err] Result & error if block supplied
|
2871
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3706
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] parsed result object
|
2872
3707
|
# @yieldparam err [StandardError] error object if request failed
|
2873
3708
|
#
|
2874
|
-
# @return [Google::Apis::IntegrationsV1::
|
3709
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse]
|
2875
3710
|
#
|
2876
3711
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2877
3712
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2878
3713
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2879
|
-
def
|
2880
|
-
command = make_simple_command(:
|
2881
|
-
command.
|
2882
|
-
command.
|
2883
|
-
command.
|
2884
|
-
command.
|
2885
|
-
command.
|
2886
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2887
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3714
|
+
def publish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3715
|
+
command = make_simple_command(:post, 'v1/{+name}:publish', options)
|
3716
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
|
3717
|
+
command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
|
3718
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
|
3719
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse
|
3720
|
+
command.params['name'] = name unless name.nil?
|
2888
3721
|
command.query['fields'] = fields unless fields.nil?
|
2889
3722
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2890
3723
|
execute_or_queue_command(command, &block)
|
2891
3724
|
end
|
2892
3725
|
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
#
|
2896
|
-
#
|
2897
|
-
#
|
2898
|
-
#
|
2899
|
-
#
|
2900
|
-
#
|
3726
|
+
# Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this
|
3727
|
+
# integration. It then performs the same action as the
|
3728
|
+
# CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the
|
3729
|
+
# integration as a SNAPSHOT and then creates a new DRAFT version with the `
|
3730
|
+
# locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to
|
3731
|
+
# the current timestamp). Both the `locked_by` and `user_taking_over` are
|
3732
|
+
# notified via email about the takeover. This RPC throws an exception if the
|
3733
|
+
# integration is not in DRAFT status or if the `locked_by` and `
|
3734
|
+
# locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the
|
3735
|
+
# same as an edit of the integration, and hence shares ACLs with edit. Audit
|
3736
|
+
# fields updated include last_modified_timestamp, last_modified_by.
|
3737
|
+
# @param [String] integration_version
|
3738
|
+
# Required. The version to take over edit lock. Format: projects/`project`/
|
3739
|
+
# locations/`location`/integrations/`integration`/versions/`version`
|
3740
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
2901
3741
|
# @param [String] fields
|
2902
3742
|
# Selector specifying which fields to include in a partial response.
|
2903
3743
|
# @param [String] quota_user
|
@@ -2907,38 +3747,34 @@ module Google
|
|
2907
3747
|
# Request-specific options
|
2908
3748
|
#
|
2909
3749
|
# @yield [result, err] Result & error if block supplied
|
2910
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3750
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] parsed result object
|
2911
3751
|
# @yieldparam err [StandardError] error object if request failed
|
2912
3752
|
#
|
2913
|
-
# @return [Google::Apis::IntegrationsV1::
|
3753
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse]
|
2914
3754
|
#
|
2915
3755
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2916
3756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2917
3757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2918
|
-
def
|
2919
|
-
command = make_simple_command(:post, 'v1/{+
|
2920
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2921
|
-
command.request_object =
|
2922
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2923
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2924
|
-
command.params['
|
3758
|
+
def takeover_project_location_product_integration_version_edit_lock(integration_version, google_cloud_integrations_v1alpha_takeover_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3759
|
+
command = make_simple_command(:post, 'v1/{+integrationVersion}:takeoverEditLock', options)
|
3760
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation
|
3761
|
+
command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
3762
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation
|
3763
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
|
3764
|
+
command.params['integrationVersion'] = integration_version unless integration_version.nil?
|
2925
3765
|
command.query['fields'] = fields unless fields.nil?
|
2926
3766
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2927
3767
|
execute_or_queue_command(command, &block)
|
2928
3768
|
end
|
2929
3769
|
|
2930
|
-
#
|
2931
|
-
#
|
2932
|
-
#
|
2933
|
-
#
|
2934
|
-
# @param [
|
2935
|
-
#
|
2936
|
-
#
|
2937
|
-
# @param [
|
2938
|
-
# Set this flag to true, if draft version is to be created for a brand new
|
2939
|
-
# integration. False, if the request is for an existing integration. For
|
2940
|
-
# backward compatibility reasons, even if this flag is set to `false` and no
|
2941
|
-
# existing integration is found, a new draft integration will still be created.
|
3770
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
3771
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
3772
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
3773
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
3774
|
+
# @param [String] name
|
3775
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
3776
|
+
# location`/integrations/`integration`/versions/`version`
|
3777
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
2942
3778
|
# @param [String] fields
|
2943
3779
|
# Selector specifying which fields to include in a partial response.
|
2944
3780
|
# @param [String] quota_user
|
@@ -2948,40 +3784,68 @@ module Google
|
|
2948
3784
|
# Request-specific options
|
2949
3785
|
#
|
2950
3786
|
# @yield [result, err] Result & error if block supplied
|
2951
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3787
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
2952
3788
|
# @yieldparam err [StandardError] error object if request failed
|
2953
3789
|
#
|
2954
|
-
# @return [Google::Apis::IntegrationsV1::
|
3790
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
2955
3791
|
#
|
2956
3792
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2957
3793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2958
3794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2959
|
-
def
|
2960
|
-
command = make_simple_command(:post, 'v1/{+
|
2961
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
2962
|
-
command.request_object =
|
2963
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
2964
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
2965
|
-
command.params['
|
2966
|
-
command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
|
2967
|
-
command.query['newIntegration'] = new_integration unless new_integration.nil?
|
3795
|
+
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)
|
3796
|
+
command = make_simple_command(:post, 'v1/{+name}:unpublish', options)
|
3797
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
3798
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
3799
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3800
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3801
|
+
command.params['name'] = name unless name.nil?
|
2968
3802
|
command.query['fields'] = fields unless fields.nil?
|
2969
3803
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2970
3804
|
execute_or_queue_command(command, &block)
|
2971
3805
|
end
|
2972
3806
|
|
2973
|
-
#
|
2974
|
-
#
|
2975
|
-
#
|
2976
|
-
#
|
2977
|
-
#
|
2978
|
-
#
|
2979
|
-
#
|
2980
|
-
#
|
2981
|
-
#
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
#
|
3807
|
+
# Uploads an integration. The content can be a previously downloaded integration.
|
3808
|
+
# Performs the same function as CreateDraftIntegrationVersion, but accepts
|
3809
|
+
# input in a string format, which holds the complete representation of the
|
3810
|
+
# IntegrationVersion content.
|
3811
|
+
# @param [String] parent
|
3812
|
+
# Required. The version to upload. Format: projects/`project`/locations/`
|
3813
|
+
# location`/integrations/`integration`
|
3814
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
3815
|
+
# @param [String] fields
|
3816
|
+
# Selector specifying which fields to include in a partial response.
|
3817
|
+
# @param [String] quota_user
|
3818
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3819
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3820
|
+
# @param [Google::Apis::RequestOptions] options
|
3821
|
+
# Request-specific options
|
3822
|
+
#
|
3823
|
+
# @yield [result, err] Result & error if block supplied
|
3824
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object
|
3825
|
+
# @yieldparam err [StandardError] error object if request failed
|
3826
|
+
#
|
3827
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse]
|
3828
|
+
#
|
3829
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3830
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3831
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3832
|
+
def upload_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3833
|
+
command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options)
|
3834
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
|
3835
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
3836
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
|
3837
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
|
3838
|
+
command.params['parent'] = parent unless parent.nil?
|
3839
|
+
command.query['fields'] = fields unless fields.nil?
|
3840
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3841
|
+
execute_or_queue_command(command, &block)
|
3842
|
+
end
|
3843
|
+
|
3844
|
+
# Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns
|
3845
|
+
# the sfdc instance.
|
3846
|
+
# @param [String] parent
|
3847
|
+
# Required. "projects/`project`/locations/`location`" format.
|
3848
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
2985
3849
|
# @param [String] fields
|
2986
3850
|
# Selector specifying which fields to include in a partial response.
|
2987
3851
|
# @param [String] quota_user
|
@@ -2991,34 +3855,29 @@ module Google
|
|
2991
3855
|
# Request-specific options
|
2992
3856
|
#
|
2993
3857
|
# @yield [result, err] Result & error if block supplied
|
2994
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3858
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
2995
3859
|
# @yieldparam err [StandardError] error object if request failed
|
2996
3860
|
#
|
2997
|
-
# @return [Google::Apis::IntegrationsV1::
|
3861
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
2998
3862
|
#
|
2999
3863
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3000
3864
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3001
3865
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3002
|
-
def
|
3003
|
-
command = make_simple_command(:
|
3004
|
-
command.
|
3005
|
-
command.
|
3006
|
-
command.
|
3866
|
+
def create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3867
|
+
command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
|
3868
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3869
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
3870
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3871
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
3872
|
+
command.params['parent'] = parent unless parent.nil?
|
3007
3873
|
command.query['fields'] = fields unless fields.nil?
|
3008
3874
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3009
3875
|
execute_or_queue_command(command, &block)
|
3010
3876
|
end
|
3011
3877
|
|
3012
|
-
#
|
3013
|
-
# integration_id` and returns the response as a string.
|
3878
|
+
# Deletes an sfdc instance.
|
3014
3879
|
# @param [String] name
|
3015
|
-
# Required. The
|
3016
|
-
# location`/integrations/`integration`/versions/`version`
|
3017
|
-
# @param [String] file_format
|
3018
|
-
# File format for download request.
|
3019
|
-
# @param [Array<String>, String] files
|
3020
|
-
# Optional. Integration related file to download like Integration Json, Config
|
3021
|
-
# variable, testcase etc.
|
3880
|
+
# Required. The name that is associated with the SfdcInstance.
|
3022
3881
|
# @param [String] fields
|
3023
3882
|
# Selector specifying which fields to include in a partial response.
|
3024
3883
|
# @param [String] quota_user
|
@@ -3028,30 +3887,28 @@ module Google
|
|
3028
3887
|
# Request-specific options
|
3029
3888
|
#
|
3030
3889
|
# @yield [result, err] Result & error if block supplied
|
3031
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3890
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
3032
3891
|
# @yieldparam err [StandardError] error object if request failed
|
3033
3892
|
#
|
3034
|
-
# @return [Google::Apis::IntegrationsV1::
|
3893
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
3035
3894
|
#
|
3036
3895
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3037
3896
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3038
3897
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3039
|
-
def
|
3040
|
-
command = make_simple_command(:
|
3041
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3042
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3898
|
+
def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
3899
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3900
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3901
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3043
3902
|
command.params['name'] = name unless name.nil?
|
3044
|
-
command.query['fileFormat'] = file_format unless file_format.nil?
|
3045
|
-
command.query['files'] = files unless files.nil?
|
3046
3903
|
command.query['fields'] = fields unless fields.nil?
|
3047
3904
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3048
3905
|
execute_or_queue_command(command, &block)
|
3049
3906
|
end
|
3050
3907
|
|
3051
|
-
#
|
3908
|
+
# Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception
|
3909
|
+
# will be thrown.
|
3052
3910
|
# @param [String] name
|
3053
|
-
# Required. The
|
3054
|
-
# location`/integrations/`integration`/versions/`version`
|
3911
|
+
# Required. The name that is associated with the SfdcInstance.
|
3055
3912
|
# @param [String] fields
|
3056
3913
|
# Selector specifying which fields to include in a partial response.
|
3057
3914
|
# @param [String] quota_user
|
@@ -3061,56 +3918,38 @@ module Google
|
|
3061
3918
|
# Request-specific options
|
3062
3919
|
#
|
3063
3920
|
# @yield [result, err] Result & error if block supplied
|
3064
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3921
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
3065
3922
|
# @yieldparam err [StandardError] error object if request failed
|
3066
3923
|
#
|
3067
|
-
# @return [Google::Apis::IntegrationsV1::
|
3924
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
3068
3925
|
#
|
3069
3926
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3070
3927
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3071
3928
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3072
|
-
def
|
3929
|
+
def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
3073
3930
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3074
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3075
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3931
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3932
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
3076
3933
|
command.params['name'] = name unless name.nil?
|
3077
3934
|
command.query['fields'] = fields unless fields.nil?
|
3078
3935
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3079
3936
|
execute_or_queue_command(command, &block)
|
3080
3937
|
end
|
3081
3938
|
|
3082
|
-
#
|
3939
|
+
# Lists all sfdc instances that match the filter. Restrict to sfdc instances
|
3940
|
+
# belonging to the current client only.
|
3083
3941
|
# @param [String] parent
|
3084
|
-
# Required. The
|
3085
|
-
# projects/`project`/locations/`location`/integrations/`integration`
|
3086
|
-
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
3087
|
-
# Meaning: "List versions (with filter) for a particular integration". 2.
|
3088
|
-
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
3089
|
-
# a client within a particular region". 3. projects//locations/-/integrations/-
|
3090
|
-
# Meaning: "List versions (with filter) for a client".
|
3091
|
-
# @param [String] field_mask
|
3092
|
-
# The field mask which specifies the particular data to be returned.
|
3942
|
+
# Required. The client, which owns this collection of SfdcInstances.
|
3093
3943
|
# @param [String] filter
|
3094
|
-
#
|
3095
|
-
#
|
3096
|
-
# than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (
|
3097
|
-
# inequality) operators. Negation, conjunction, and disjunction are written
|
3098
|
-
# using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=
|
3099
|
-
# ACTIVE AND description:"test". Filtering cannot be performed on repeated
|
3100
|
-
# fields like `task_config`.
|
3101
|
-
# @param [String] order_by
|
3102
|
-
# The results would be returned in order you specified here. Currently supported
|
3103
|
-
# sort keys are: Descending sort order for "last_modified_time", "created_time",
|
3104
|
-
# "snapshot_number" Ascending sort order for "name".
|
3944
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
3945
|
+
# guides/list-filters.
|
3105
3946
|
# @param [Fixnum] page_size
|
3106
|
-
# The
|
3107
|
-
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
3108
|
-
# value is 1000; values above 1000 will be coerced to 1000.
|
3947
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
3109
3948
|
# @param [String] page_token
|
3110
|
-
#
|
3111
|
-
#
|
3112
|
-
#
|
3113
|
-
#
|
3949
|
+
# The token returned in the previous response.
|
3950
|
+
# @param [String] read_mask
|
3951
|
+
# The mask which specifies fields that need to be returned in the SfdcInstance's
|
3952
|
+
# response.
|
3114
3953
|
# @param [String] fields
|
3115
3954
|
# Selector specifying which fields to include in a partial response.
|
3116
3955
|
# @param [String] quota_user
|
@@ -3120,35 +3959,36 @@ module Google
|
|
3120
3959
|
# Request-specific options
|
3121
3960
|
#
|
3122
3961
|
# @yield [result, err] Result & error if block supplied
|
3123
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
3962
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] parsed result object
|
3124
3963
|
# @yieldparam err [StandardError] error object if request failed
|
3125
3964
|
#
|
3126
|
-
# @return [Google::Apis::IntegrationsV1::
|
3965
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse]
|
3127
3966
|
#
|
3128
3967
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3129
3968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3130
3969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3131
|
-
def
|
3132
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
3133
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3134
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3970
|
+
def list_project_location_product_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3971
|
+
command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
|
3972
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
|
3973
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
|
3135
3974
|
command.params['parent'] = parent unless parent.nil?
|
3136
|
-
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
3137
3975
|
command.query['filter'] = filter unless filter.nil?
|
3138
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
3139
3976
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3140
3977
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3978
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
3141
3979
|
command.query['fields'] = fields unless fields.nil?
|
3142
3980
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3143
3981
|
execute_or_queue_command(command, &block)
|
3144
3982
|
end
|
3145
3983
|
|
3146
|
-
#
|
3984
|
+
# Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the
|
3985
|
+
# sfdc instance.
|
3147
3986
|
# @param [String] name
|
3148
|
-
#
|
3149
|
-
#
|
3987
|
+
# Resource name of the SFDC instance projects/`project`/locations/`location`/
|
3988
|
+
# sfdcInstances/`sfdcInstance`.
|
3989
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
3150
3990
|
# @param [String] update_mask
|
3151
|
-
# Field mask specifying the fields in the above
|
3991
|
+
# Field mask specifying the fields in the above SfdcInstance that have been
|
3152
3992
|
# modified and need to be updated.
|
3153
3993
|
# @param [String] fields
|
3154
3994
|
# Selector specifying which fields to include in a partial response.
|
@@ -3159,20 +3999,20 @@ module Google
|
|
3159
3999
|
# Request-specific options
|
3160
4000
|
#
|
3161
4001
|
# @yield [result, err] Result & error if block supplied
|
3162
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4002
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
3163
4003
|
# @yieldparam err [StandardError] error object if request failed
|
3164
4004
|
#
|
3165
|
-
# @return [Google::Apis::IntegrationsV1::
|
4005
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
3166
4006
|
#
|
3167
4007
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3168
4008
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3169
4009
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3170
|
-
def
|
4010
|
+
def patch_project_location_product_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3171
4011
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3172
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
3173
|
-
command.request_object =
|
3174
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3175
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4012
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
4013
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
4014
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
4015
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
3176
4016
|
command.params['name'] = name unless name.nil?
|
3177
4017
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3178
4018
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3180,16 +4020,43 @@ module Google
|
|
3180
4020
|
execute_or_queue_command(command, &block)
|
3181
4021
|
end
|
3182
4022
|
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
#
|
3186
|
-
#
|
3187
|
-
#
|
3188
|
-
#
|
4023
|
+
# Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the
|
4024
|
+
# sfdc channel.
|
4025
|
+
# @param [String] parent
|
4026
|
+
# Required. "projects/`project`/locations/`location`" format.
|
4027
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
4028
|
+
# @param [String] fields
|
4029
|
+
# Selector specifying which fields to include in a partial response.
|
4030
|
+
# @param [String] quota_user
|
4031
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4032
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4033
|
+
# @param [Google::Apis::RequestOptions] options
|
4034
|
+
# Request-specific options
|
4035
|
+
#
|
4036
|
+
# @yield [result, err] Result & error if block supplied
|
4037
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
4038
|
+
# @yieldparam err [StandardError] error object if request failed
|
4039
|
+
#
|
4040
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
4041
|
+
#
|
4042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4045
|
+
def create_project_location_product_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4046
|
+
command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
|
4047
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
4048
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
4049
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
4050
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
4051
|
+
command.params['parent'] = parent unless parent.nil?
|
4052
|
+
command.query['fields'] = fields unless fields.nil?
|
4053
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4054
|
+
execute_or_queue_command(command, &block)
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
# Deletes an sfdc channel.
|
3189
4058
|
# @param [String] name
|
3190
|
-
# Required. The
|
3191
|
-
# location`/integrations/`integration`/versions/`version`
|
3192
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_publish_integration_version_request_object
|
4059
|
+
# Required. The name that is associated with the SfdcChannel.
|
3193
4060
|
# @param [String] fields
|
3194
4061
|
# Selector specifying which fields to include in a partial response.
|
3195
4062
|
# @param [String] quota_user
|
@@ -3199,41 +4066,28 @@ module Google
|
|
3199
4066
|
# Request-specific options
|
3200
4067
|
#
|
3201
4068
|
# @yield [result, err] Result & error if block supplied
|
3202
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4069
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
3203
4070
|
# @yieldparam err [StandardError] error object if request failed
|
3204
4071
|
#
|
3205
|
-
# @return [Google::Apis::IntegrationsV1::
|
4072
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
3206
4073
|
#
|
3207
4074
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3208
4075
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3209
4076
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3210
|
-
def
|
3211
|
-
command = make_simple_command(:
|
3212
|
-
command.
|
3213
|
-
command.
|
3214
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
|
3215
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse
|
4077
|
+
def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
4078
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
4079
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
4080
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3216
4081
|
command.params['name'] = name unless name.nil?
|
3217
4082
|
command.query['fields'] = fields unless fields.nil?
|
3218
4083
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3219
4084
|
execute_or_queue_command(command, &block)
|
3220
4085
|
end
|
3221
4086
|
|
3222
|
-
#
|
3223
|
-
#
|
3224
|
-
#
|
3225
|
-
#
|
3226
|
-
# locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to
|
3227
|
-
# the current timestamp). Both the `locked_by` and `user_taking_over` are
|
3228
|
-
# notified via email about the takeover. This RPC throws an exception if the
|
3229
|
-
# integration is not in DRAFT status or if the `locked_by` and `
|
3230
|
-
# locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the
|
3231
|
-
# same as an edit of the integration, and hence shares ACLs with edit. Audit
|
3232
|
-
# fields updated include last_modified_timestamp, last_modified_by.
|
3233
|
-
# @param [String] integration_version
|
3234
|
-
# Required. The version to take over edit lock. Format: projects/`project`/
|
3235
|
-
# locations/`location`/integrations/`integration`/versions/`version`
|
3236
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
4087
|
+
# Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception
|
4088
|
+
# will be thrown.
|
4089
|
+
# @param [String] name
|
4090
|
+
# Required. The name that is associated with the SfdcChannel.
|
3237
4091
|
# @param [String] fields
|
3238
4092
|
# Selector specifying which fields to include in a partial response.
|
3239
4093
|
# @param [String] quota_user
|
@@ -3243,34 +4097,38 @@ module Google
|
|
3243
4097
|
# Request-specific options
|
3244
4098
|
#
|
3245
4099
|
# @yield [result, err] Result & error if block supplied
|
3246
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4100
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
3247
4101
|
# @yieldparam err [StandardError] error object if request failed
|
3248
4102
|
#
|
3249
|
-
# @return [Google::Apis::IntegrationsV1::
|
4103
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
3250
4104
|
#
|
3251
4105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3252
4106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3253
4107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3254
|
-
def
|
3255
|
-
command = make_simple_command(:
|
3256
|
-
command.
|
3257
|
-
command.
|
3258
|
-
command.
|
3259
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
|
3260
|
-
command.params['integrationVersion'] = integration_version unless integration_version.nil?
|
4108
|
+
def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
4109
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
4110
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
4111
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
4112
|
+
command.params['name'] = name unless name.nil?
|
3261
4113
|
command.query['fields'] = fields unless fields.nil?
|
3262
4114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3263
4115
|
execute_or_queue_command(command, &block)
|
3264
4116
|
end
|
3265
4117
|
|
3266
|
-
#
|
3267
|
-
#
|
3268
|
-
#
|
3269
|
-
#
|
3270
|
-
# @param [String]
|
3271
|
-
#
|
3272
|
-
#
|
3273
|
-
# @param [
|
4118
|
+
# Lists all sfdc channels that match the filter. Restrict to sfdc channels
|
4119
|
+
# belonging to the current client only.
|
4120
|
+
# @param [String] parent
|
4121
|
+
# Required. The client, which owns this collection of SfdcChannels.
|
4122
|
+
# @param [String] filter
|
4123
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
4124
|
+
# guides/list-filters.
|
4125
|
+
# @param [Fixnum] page_size
|
4126
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
4127
|
+
# @param [String] page_token
|
4128
|
+
# The token returned in the previous response.
|
4129
|
+
# @param [String] read_mask
|
4130
|
+
# The mask which specifies fields that need to be returned in the SfdcChannel's
|
4131
|
+
# response.
|
3274
4132
|
# @param [String] fields
|
3275
4133
|
# Selector specifying which fields to include in a partial response.
|
3276
4134
|
# @param [String] quota_user
|
@@ -3280,34 +4138,37 @@ module Google
|
|
3280
4138
|
# Request-specific options
|
3281
4139
|
#
|
3282
4140
|
# @yield [result, err] Result & error if block supplied
|
3283
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4141
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] parsed result object
|
3284
4142
|
# @yieldparam err [StandardError] error object if request failed
|
3285
4143
|
#
|
3286
|
-
# @return [Google::Apis::IntegrationsV1::
|
4144
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse]
|
3287
4145
|
#
|
3288
4146
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3289
4147
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3290
4148
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3291
|
-
def
|
3292
|
-
command = make_simple_command(:
|
3293
|
-
command.
|
3294
|
-
command.
|
3295
|
-
command.
|
3296
|
-
command.
|
3297
|
-
command.
|
4149
|
+
def list_project_location_product_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4150
|
+
command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
|
4151
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
|
4152
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
|
4153
|
+
command.params['parent'] = parent unless parent.nil?
|
4154
|
+
command.query['filter'] = filter unless filter.nil?
|
4155
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4156
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4157
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
3298
4158
|
command.query['fields'] = fields unless fields.nil?
|
3299
4159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3300
4160
|
execute_or_queue_command(command, &block)
|
3301
4161
|
end
|
3302
4162
|
|
3303
|
-
#
|
3304
|
-
#
|
3305
|
-
#
|
3306
|
-
#
|
3307
|
-
#
|
3308
|
-
#
|
3309
|
-
#
|
3310
|
-
#
|
4163
|
+
# Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc
|
4164
|
+
# channel.
|
4165
|
+
# @param [String] name
|
4166
|
+
# Resource name of the SFDC channel projects/`project`/locations/`location`/
|
4167
|
+
# sfdcInstances/`sfdc_instance`/sfdcChannels/`sfdc_channel`.
|
4168
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
4169
|
+
# @param [String] update_mask
|
4170
|
+
# Field mask specifying the fields in the above SfdcChannel that have been
|
4171
|
+
# modified and need to be updated.
|
3311
4172
|
# @param [String] fields
|
3312
4173
|
# Selector specifying which fields to include in a partial response.
|
3313
4174
|
# @param [String] quota_user
|
@@ -3317,21 +4178,22 @@ module Google
|
|
3317
4178
|
# Request-specific options
|
3318
4179
|
#
|
3319
4180
|
# @yield [result, err] Result & error if block supplied
|
3320
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4181
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
3321
4182
|
# @yieldparam err [StandardError] error object if request failed
|
3322
4183
|
#
|
3323
|
-
# @return [Google::Apis::IntegrationsV1::
|
4184
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
3324
4185
|
#
|
3325
4186
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3326
4187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3327
4188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3328
|
-
def
|
3329
|
-
command = make_simple_command(:
|
3330
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
3331
|
-
command.request_object =
|
3332
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3333
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
3334
|
-
command.params['
|
4189
|
+
def patch_project_location_product_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4190
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
4191
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
4192
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
4193
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
4194
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
4195
|
+
command.params['name'] = name unless name.nil?
|
4196
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3335
4197
|
command.query['fields'] = fields unless fields.nil?
|
3336
4198
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3337
4199
|
execute_or_queue_command(command, &block)
|
@@ -3359,7 +4221,7 @@ module Google
|
|
3359
4221
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3360
4222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3361
4223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3362
|
-
def
|
4224
|
+
def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3363
4225
|
command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
|
3364
4226
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3365
4227
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
@@ -3391,7 +4253,7 @@ module Google
|
|
3391
4253
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3392
4254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3393
4255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3394
|
-
def
|
4256
|
+
def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
3395
4257
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3396
4258
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3397
4259
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
@@ -3422,7 +4284,7 @@ module Google
|
|
3422
4284
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3423
4285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3424
4286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3425
|
-
def
|
4287
|
+
def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
3426
4288
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3427
4289
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3428
4290
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
@@ -3463,7 +4325,7 @@ module Google
|
|
3463
4325
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3464
4326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3465
4327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3466
|
-
def
|
4328
|
+
def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3467
4329
|
command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
|
3468
4330
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
|
3469
4331
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
|
@@ -3503,7 +4365,7 @@ module Google
|
|
3503
4365
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3504
4366
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3505
4367
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3506
|
-
def
|
4368
|
+
def patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3507
4369
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3508
4370
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
3509
4371
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
@@ -3538,7 +4400,7 @@ module Google
|
|
3538
4400
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3539
4401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3540
4402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3541
|
-
def
|
4403
|
+
def create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3542
4404
|
command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
|
3543
4405
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
3544
4406
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
@@ -3570,7 +4432,7 @@ module Google
|
|
3570
4432
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3571
4433
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3572
4434
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3573
|
-
def
|
4435
|
+
def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
3574
4436
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3575
4437
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3576
4438
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
@@ -3601,7 +4463,7 @@ module Google
|
|
3601
4463
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3602
4464
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3603
4465
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3604
|
-
def
|
4466
|
+
def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
3605
4467
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3606
4468
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
3607
4469
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
@@ -3642,7 +4504,7 @@ module Google
|
|
3642
4504
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3643
4505
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3644
4506
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3645
|
-
def
|
4507
|
+
def list_project_location_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3646
4508
|
command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
|
3647
4509
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
|
3648
4510
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
|
@@ -3682,7 +4544,7 @@ module Google
|
|
3682
4544
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3683
4545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3684
4546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3685
|
-
def
|
4547
|
+
def patch_project_location_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3686
4548
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3687
4549
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
3688
4550
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
@@ -3695,11 +4557,10 @@ module Google
|
|
3695
4557
|
execute_or_queue_command(command, &block)
|
3696
4558
|
end
|
3697
4559
|
|
3698
|
-
# Creates
|
3699
|
-
# the sfdc instance.
|
4560
|
+
# Creates a new template
|
3700
4561
|
# @param [String] parent
|
3701
4562
|
# Required. "projects/`project`/locations/`location`" format.
|
3702
|
-
# @param [Google::Apis::IntegrationsV1::
|
4563
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object
|
3703
4564
|
# @param [String] fields
|
3704
4565
|
# Selector specifying which fields to include in a partial response.
|
3705
4566
|
# @param [String] quota_user
|
@@ -3709,29 +4570,29 @@ module Google
|
|
3709
4570
|
# Request-specific options
|
3710
4571
|
#
|
3711
4572
|
# @yield [result, err] Result & error if block supplied
|
3712
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4573
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
3713
4574
|
# @yieldparam err [StandardError] error object if request failed
|
3714
4575
|
#
|
3715
|
-
# @return [Google::Apis::IntegrationsV1::
|
4576
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
3716
4577
|
#
|
3717
4578
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3718
4579
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3719
4580
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3720
|
-
def
|
3721
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
3722
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
3723
|
-
command.request_object =
|
3724
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3725
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4581
|
+
def create_project_location_template(parent, google_cloud_integrations_v1alpha_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4582
|
+
command = make_simple_command(:post, 'v1/{+parent}/templates', options)
|
4583
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
4584
|
+
command.request_object = google_cloud_integrations_v1alpha_template_object
|
4585
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
4586
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
3726
4587
|
command.params['parent'] = parent unless parent.nil?
|
3727
4588
|
command.query['fields'] = fields unless fields.nil?
|
3728
4589
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3729
4590
|
execute_or_queue_command(command, &block)
|
3730
4591
|
end
|
3731
4592
|
|
3732
|
-
# Deletes
|
4593
|
+
# Deletes a template
|
3733
4594
|
# @param [String] name
|
3734
|
-
# Required. The name that is associated with the
|
4595
|
+
# Required. The name that is associated with the Template.
|
3735
4596
|
# @param [String] fields
|
3736
4597
|
# Selector specifying which fields to include in a partial response.
|
3737
4598
|
# @param [String] quota_user
|
@@ -3749,7 +4610,7 @@ module Google
|
|
3749
4610
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3750
4611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3751
4612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3752
|
-
def
|
4613
|
+
def delete_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
3753
4614
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3754
4615
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3755
4616
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
@@ -3759,10 +4620,13 @@ module Google
|
|
3759
4620
|
execute_or_queue_command(command, &block)
|
3760
4621
|
end
|
3761
4622
|
|
3762
|
-
#
|
3763
|
-
#
|
4623
|
+
# Downloads a template. Retrieves the `Template` and returns the response as a
|
4624
|
+
# string.
|
3764
4625
|
# @param [String] name
|
3765
|
-
# Required. The
|
4626
|
+
# Required. The template to download. Format: projects/`project`/locations/`
|
4627
|
+
# location`/template/`template_id`
|
4628
|
+
# @param [String] file_format
|
4629
|
+
# Required. File format for download request.
|
3766
4630
|
# @param [String] fields
|
3767
4631
|
# Selector specifying which fields to include in a partial response.
|
3768
4632
|
# @param [String] quota_user
|
@@ -3772,38 +4636,109 @@ module Google
|
|
3772
4636
|
# Request-specific options
|
3773
4637
|
#
|
3774
4638
|
# @yield [result, err] Result & error if block supplied
|
3775
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4639
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse] parsed result object
|
3776
4640
|
# @yieldparam err [StandardError] error object if request failed
|
3777
4641
|
#
|
3778
|
-
# @return [Google::Apis::IntegrationsV1::
|
4642
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse]
|
3779
4643
|
#
|
3780
4644
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3781
4645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3782
4646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3783
|
-
def
|
4647
|
+
def download_project_location_template(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4648
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
4649
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse::Representation
|
4650
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse
|
4651
|
+
command.params['name'] = name unless name.nil?
|
4652
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
4653
|
+
command.query['fields'] = fields unless fields.nil?
|
4654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4655
|
+
execute_or_queue_command(command, &block)
|
4656
|
+
end
|
4657
|
+
|
4658
|
+
# Get a template in the specified project.
|
4659
|
+
# @param [String] name
|
4660
|
+
# Required. The template to retrieve. Format: projects/`project`/locations/`
|
4661
|
+
# location`/templates/`template`
|
4662
|
+
# @param [String] fields
|
4663
|
+
# Selector specifying which fields to include in a partial response.
|
4664
|
+
# @param [String] quota_user
|
4665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4667
|
+
# @param [Google::Apis::RequestOptions] options
|
4668
|
+
# Request-specific options
|
4669
|
+
#
|
4670
|
+
# @yield [result, err] Result & error if block supplied
|
4671
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
4672
|
+
# @yieldparam err [StandardError] error object if request failed
|
4673
|
+
#
|
4674
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
4675
|
+
#
|
4676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4679
|
+
def get_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
3784
4680
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3785
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3786
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4681
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
4682
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
3787
4683
|
command.params['name'] = name unless name.nil?
|
3788
4684
|
command.query['fields'] = fields unless fields.nil?
|
3789
4685
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3790
4686
|
execute_or_queue_command(command, &block)
|
3791
4687
|
end
|
3792
4688
|
|
3793
|
-
#
|
3794
|
-
#
|
4689
|
+
# Import the template to an existing integration. This api would keep track of
|
4690
|
+
# usage_count and last_used_time. PERMISSION_DENIED would be thrown if template
|
4691
|
+
# is not accessible by client.
|
4692
|
+
# @param [String] name
|
4693
|
+
# Required. The name that is associated with the Template.
|
4694
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest] google_cloud_integrations_v1alpha_import_template_request_object
|
4695
|
+
# @param [String] fields
|
4696
|
+
# Selector specifying which fields to include in a partial response.
|
4697
|
+
# @param [String] quota_user
|
4698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4700
|
+
# @param [Google::Apis::RequestOptions] options
|
4701
|
+
# Request-specific options
|
4702
|
+
#
|
4703
|
+
# @yield [result, err] Result & error if block supplied
|
4704
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse] parsed result object
|
4705
|
+
# @yieldparam err [StandardError] error object if request failed
|
4706
|
+
#
|
4707
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse]
|
4708
|
+
#
|
4709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4712
|
+
def import_project_location_template(name, google_cloud_integrations_v1alpha_import_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4713
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
4714
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest::Representation
|
4715
|
+
command.request_object = google_cloud_integrations_v1alpha_import_template_request_object
|
4716
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse::Representation
|
4717
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse
|
4718
|
+
command.params['name'] = name unless name.nil?
|
4719
|
+
command.query['fields'] = fields unless fields.nil?
|
4720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4721
|
+
execute_or_queue_command(command, &block)
|
4722
|
+
end
|
4723
|
+
|
4724
|
+
# Lists all templates matching the filter.
|
3795
4725
|
# @param [String] parent
|
3796
|
-
# Required. The client, which owns this collection of
|
4726
|
+
# Required. The client, which owns this collection of Templates.
|
3797
4727
|
# @param [String] filter
|
3798
|
-
#
|
3799
|
-
#
|
4728
|
+
# Optional. Standard filter field to filter templates. client_id filter won't be
|
4729
|
+
# supported and will restrict to templates belonging to the current client only.
|
4730
|
+
# Return all templates of the current client if the filter is empty. Also
|
4731
|
+
# supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"
|
4732
|
+
# @param [String] order_by
|
4733
|
+
# Optional. The results would be returned in the order you specified here.
|
3800
4734
|
# @param [Fixnum] page_size
|
3801
|
-
# The size of
|
4735
|
+
# Optional. The size of the response entries. If unspecified, defaults to 100.
|
4736
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
3802
4737
|
# @param [String] page_token
|
3803
|
-
# The token returned in the previous response.
|
4738
|
+
# Optional. The token returned in the previous response.
|
3804
4739
|
# @param [String] read_mask
|
3805
|
-
# The mask which specifies fields that need to be returned in the
|
3806
|
-
# response.
|
4740
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
4741
|
+
# template's response.
|
3807
4742
|
# @param [String] fields
|
3808
4743
|
# Selector specifying which fields to include in a partial response.
|
3809
4744
|
# @param [String] quota_user
|
@@ -3813,20 +4748,21 @@ module Google
|
|
3813
4748
|
# Request-specific options
|
3814
4749
|
#
|
3815
4750
|
# @yield [result, err] Result & error if block supplied
|
3816
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4751
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse] parsed result object
|
3817
4752
|
# @yieldparam err [StandardError] error object if request failed
|
3818
4753
|
#
|
3819
|
-
# @return [Google::Apis::IntegrationsV1::
|
4754
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse]
|
3820
4755
|
#
|
3821
4756
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3822
4757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3823
4758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3824
|
-
def
|
3825
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
3826
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3827
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4759
|
+
def list_project_location_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4760
|
+
command = make_simple_command(:get, 'v1/{+parent}/templates', options)
|
4761
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse::Representation
|
4762
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse
|
3828
4763
|
command.params['parent'] = parent unless parent.nil?
|
3829
4764
|
command.query['filter'] = filter unless filter.nil?
|
4765
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3830
4766
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3831
4767
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3832
4768
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
@@ -3835,15 +4771,13 @@ module Google
|
|
3835
4771
|
execute_or_queue_command(command, &block)
|
3836
4772
|
end
|
3837
4773
|
|
3838
|
-
# Updates
|
3839
|
-
# sfdc instance.
|
4774
|
+
# Updates the template by given id.
|
3840
4775
|
# @param [String] name
|
3841
|
-
# Resource name of the
|
3842
|
-
#
|
3843
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
4776
|
+
# Identifier. Resource name of the template.
|
4777
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object
|
3844
4778
|
# @param [String] update_mask
|
3845
|
-
# Field mask specifying the fields in the above
|
3846
|
-
# modified and
|
4779
|
+
# Required. Field mask specifying the fields in the above template that have
|
4780
|
+
# been modified and must be updated.
|
3847
4781
|
# @param [String] fields
|
3848
4782
|
# Selector specifying which fields to include in a partial response.
|
3849
4783
|
# @param [String] quota_user
|
@@ -3853,20 +4787,20 @@ module Google
|
|
3853
4787
|
# Request-specific options
|
3854
4788
|
#
|
3855
4789
|
# @yield [result, err] Result & error if block supplied
|
3856
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4790
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
3857
4791
|
# @yieldparam err [StandardError] error object if request failed
|
3858
4792
|
#
|
3859
|
-
# @return [Google::Apis::IntegrationsV1::
|
4793
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
3860
4794
|
#
|
3861
4795
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3862
4796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3863
4797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3864
|
-
def
|
4798
|
+
def patch_project_location_template(name, google_cloud_integrations_v1alpha_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3865
4799
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3866
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
3867
|
-
command.request_object =
|
3868
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
3869
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4800
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
4801
|
+
command.request_object = google_cloud_integrations_v1alpha_template_object
|
4802
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
4803
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
3870
4804
|
command.params['name'] = name unless name.nil?
|
3871
4805
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3872
4806
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3874,11 +4808,25 @@ module Google
|
|
3874
4808
|
execute_or_queue_command(command, &block)
|
3875
4809
|
end
|
3876
4810
|
|
3877
|
-
#
|
3878
|
-
#
|
4811
|
+
# Search templates based on user query and filters. This api would query the
|
4812
|
+
# templates and return a list of templates based on the user filter.
|
3879
4813
|
# @param [String] parent
|
3880
|
-
# Required.
|
3881
|
-
# @param [
|
4814
|
+
# Required. The client, which owns this collection of Templates.
|
4815
|
+
# @param [String] filter
|
4816
|
+
# Optional. Standard filter field to filter templates. client_id filter won't be
|
4817
|
+
# supported and will restrict to templates belonging to the current client only.
|
4818
|
+
# Return all templates of the current client if the filter is empty. Also
|
4819
|
+
# supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"
|
4820
|
+
# @param [String] order_by
|
4821
|
+
# Optional. The results would be returned in the order you specified here.
|
4822
|
+
# @param [Fixnum] page_size
|
4823
|
+
# Optional. The size of the response entries. If unspecified, defaults to 100.
|
4824
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
4825
|
+
# @param [String] page_token
|
4826
|
+
# Optional. The token returned in the previous response.
|
4827
|
+
# @param [String] read_mask
|
4828
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
4829
|
+
# template's response.
|
3882
4830
|
# @param [String] fields
|
3883
4831
|
# Selector specifying which fields to include in a partial response.
|
3884
4832
|
# @param [String] quota_user
|
@@ -3888,29 +4836,35 @@ module Google
|
|
3888
4836
|
# Request-specific options
|
3889
4837
|
#
|
3890
4838
|
# @yield [result, err] Result & error if block supplied
|
3891
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4839
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse] parsed result object
|
3892
4840
|
# @yieldparam err [StandardError] error object if request failed
|
3893
4841
|
#
|
3894
|
-
# @return [Google::Apis::IntegrationsV1::
|
4842
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse]
|
3895
4843
|
#
|
3896
4844
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3897
4845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3898
4846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3899
|
-
def
|
3900
|
-
command = make_simple_command(:
|
3901
|
-
command.
|
3902
|
-
command.
|
3903
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
3904
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
4847
|
+
def search_project_location_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4848
|
+
command = make_simple_command(:get, 'v1/{+parent}/templates:search', options)
|
4849
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse::Representation
|
4850
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse
|
3905
4851
|
command.params['parent'] = parent unless parent.nil?
|
4852
|
+
command.query['filter'] = filter unless filter.nil?
|
4853
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4854
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4855
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4856
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
3906
4857
|
command.query['fields'] = fields unless fields.nil?
|
3907
4858
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3908
4859
|
execute_or_queue_command(command, &block)
|
3909
4860
|
end
|
3910
4861
|
|
3911
|
-
#
|
4862
|
+
# Share a template with other clients. Only the template owner can share the
|
4863
|
+
# templates with other projects. PERMISSION_DENIED would be thrown if the
|
4864
|
+
# request is not from the owner.
|
3912
4865
|
# @param [String] name
|
3913
|
-
# Required. The name that is associated with the
|
4866
|
+
# Required. The name that is associated with the Template.
|
4867
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest] google_cloud_integrations_v1alpha_share_template_request_object
|
3914
4868
|
# @param [String] fields
|
3915
4869
|
# Selector specifying which fields to include in a partial response.
|
3916
4870
|
# @param [String] quota_user
|
@@ -3928,8 +4882,10 @@ module Google
|
|
3928
4882
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3929
4883
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3930
4884
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3931
|
-
def
|
3932
|
-
command = make_simple_command(:
|
4885
|
+
def share_project_location_template(name, google_cloud_integrations_v1alpha_share_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4886
|
+
command = make_simple_command(:post, 'v1/{+name}:share', options)
|
4887
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest::Representation
|
4888
|
+
command.request_object = google_cloud_integrations_v1alpha_share_template_request_object
|
3933
4889
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
3934
4890
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3935
4891
|
command.params['name'] = name unless name.nil?
|
@@ -3938,10 +4894,13 @@ module Google
|
|
3938
4894
|
execute_or_queue_command(command, &block)
|
3939
4895
|
end
|
3940
4896
|
|
3941
|
-
#
|
3942
|
-
#
|
4897
|
+
# Unshare a template from given clients. Owner of the template can unshare
|
4898
|
+
# template with clients. Shared client can only unshare the template from itself.
|
4899
|
+
# PERMISSION_DENIED would be thrown if request is not from owner or for
|
4900
|
+
# unsharing itself.
|
3943
4901
|
# @param [String] name
|
3944
|
-
# Required. The name that is associated with the
|
4902
|
+
# Required. The name that is associated with the Template.
|
4903
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest] google_cloud_integrations_v1alpha_unshare_template_request_object
|
3945
4904
|
# @param [String] fields
|
3946
4905
|
# Selector specifying which fields to include in a partial response.
|
3947
4906
|
# @param [String] quota_user
|
@@ -3951,38 +4910,33 @@ module Google
|
|
3951
4910
|
# Request-specific options
|
3952
4911
|
#
|
3953
4912
|
# @yield [result, err] Result & error if block supplied
|
3954
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4913
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
3955
4914
|
# @yieldparam err [StandardError] error object if request failed
|
3956
4915
|
#
|
3957
|
-
# @return [Google::Apis::IntegrationsV1::
|
4916
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
3958
4917
|
#
|
3959
4918
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3960
4919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3961
4920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3962
|
-
def
|
3963
|
-
command = make_simple_command(:
|
3964
|
-
command.
|
3965
|
-
command.
|
4921
|
+
def unshare_project_location_template(name, google_cloud_integrations_v1alpha_unshare_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4922
|
+
command = make_simple_command(:post, 'v1/{+name}:unshare', options)
|
4923
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest::Representation
|
4924
|
+
command.request_object = google_cloud_integrations_v1alpha_unshare_template_request_object
|
4925
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
4926
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
3966
4927
|
command.params['name'] = name unless name.nil?
|
3967
4928
|
command.query['fields'] = fields unless fields.nil?
|
3968
4929
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3969
4930
|
execute_or_queue_command(command, &block)
|
3970
4931
|
end
|
3971
4932
|
|
3972
|
-
#
|
3973
|
-
#
|
4933
|
+
# Uploads a template. The content can be a previously downloaded template.
|
4934
|
+
# Performs the same function as CreateTemplate, but accepts input in a string
|
4935
|
+
# format, which holds the complete representation of the Template content.
|
3974
4936
|
# @param [String] parent
|
3975
|
-
# Required. The
|
3976
|
-
#
|
3977
|
-
#
|
3978
|
-
# guides/list-filters.
|
3979
|
-
# @param [Fixnum] page_size
|
3980
|
-
# The size of entries in the response. If unspecified, defaults to 100.
|
3981
|
-
# @param [String] page_token
|
3982
|
-
# The token returned in the previous response.
|
3983
|
-
# @param [String] read_mask
|
3984
|
-
# The mask which specifies fields that need to be returned in the SfdcChannel's
|
3985
|
-
# response.
|
4937
|
+
# Required. The template to upload. Format: projects/`project`/locations/`
|
4938
|
+
# location`
|
4939
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest] google_cloud_integrations_v1alpha_upload_template_request_object
|
3986
4940
|
# @param [String] fields
|
3987
4941
|
# Selector specifying which fields to include in a partial response.
|
3988
4942
|
# @param [String] quota_user
|
@@ -3992,37 +4946,32 @@ module Google
|
|
3992
4946
|
# Request-specific options
|
3993
4947
|
#
|
3994
4948
|
# @yield [result, err] Result & error if block supplied
|
3995
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4949
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse] parsed result object
|
3996
4950
|
# @yieldparam err [StandardError] error object if request failed
|
3997
4951
|
#
|
3998
|
-
# @return [Google::Apis::IntegrationsV1::
|
4952
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse]
|
3999
4953
|
#
|
4000
4954
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4001
4955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4002
4956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4003
|
-
def
|
4004
|
-
command = make_simple_command(:
|
4005
|
-
command.
|
4006
|
-
command.
|
4957
|
+
def upload_project_location_template(parent, google_cloud_integrations_v1alpha_upload_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4958
|
+
command = make_simple_command(:post, 'v1/{+parent}/templates:upload', options)
|
4959
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest::Representation
|
4960
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_template_request_object
|
4961
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse::Representation
|
4962
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse
|
4007
4963
|
command.params['parent'] = parent unless parent.nil?
|
4008
|
-
command.query['filter'] = filter unless filter.nil?
|
4009
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
4010
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
4011
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
4012
4964
|
command.query['fields'] = fields unless fields.nil?
|
4013
4965
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4014
4966
|
execute_or_queue_command(command, &block)
|
4015
4967
|
end
|
4016
4968
|
|
4017
|
-
#
|
4018
|
-
#
|
4969
|
+
# Use the template to create integration. This api would keep track of
|
4970
|
+
# usage_count and last_used_time. PERMISSION_DENIED would be thrown if template
|
4971
|
+
# is not accessible by client.
|
4019
4972
|
# @param [String] name
|
4020
|
-
#
|
4021
|
-
#
|
4022
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
4023
|
-
# @param [String] update_mask
|
4024
|
-
# Field mask specifying the fields in the above SfdcChannel that have been
|
4025
|
-
# modified and need to be updated.
|
4973
|
+
# Required. The name that is associated with the Template.
|
4974
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest] google_cloud_integrations_v1alpha_use_template_request_object
|
4026
4975
|
# @param [String] fields
|
4027
4976
|
# Selector specifying which fields to include in a partial response.
|
4028
4977
|
# @param [String] quota_user
|
@@ -4032,22 +4981,21 @@ module Google
|
|
4032
4981
|
# Request-specific options
|
4033
4982
|
#
|
4034
4983
|
# @yield [result, err] Result & error if block supplied
|
4035
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
4984
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse] parsed result object
|
4036
4985
|
# @yieldparam err [StandardError] error object if request failed
|
4037
4986
|
#
|
4038
|
-
# @return [Google::Apis::IntegrationsV1::
|
4987
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse]
|
4039
4988
|
#
|
4040
4989
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4041
4990
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4042
4991
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4043
|
-
def
|
4044
|
-
command = make_simple_command(:
|
4045
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
4046
|
-
command.request_object =
|
4047
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
4048
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
4992
|
+
def use_project_location_template(name, google_cloud_integrations_v1alpha_use_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4993
|
+
command = make_simple_command(:post, 'v1/{+name}:use', options)
|
4994
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest::Representation
|
4995
|
+
command.request_object = google_cloud_integrations_v1alpha_use_template_request_object
|
4996
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse::Representation
|
4997
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse
|
4049
4998
|
command.params['name'] = name unless name.nil?
|
4050
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4051
4999
|
command.query['fields'] = fields unless fields.nil?
|
4052
5000
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4053
5001
|
execute_or_queue_command(command, &block)
|