Class: Google::Apis::IntegrationsV1::IntegrationsService

Inherits:
Core::BaseService
  • Object
show all
Defined in:
lib/google/apis/integrations_v1/service.rb

Overview

Application Integration API

Examples:

require 'google/apis/integrations_v1'

Integrations = Google::Apis::IntegrationsV1 # Alias the module
service = Integrations::IntegrationsService.new

See Also:

Constant Summary collapse

DEFAULT_ENDPOINT_TEMPLATE =
"https://integrations.$UNIVERSE_DOMAIN$/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIntegrationsService

Returns a new instance of IntegrationsService.



47
48
49
50
51
52
# File 'lib/google/apis/integrations_v1/service.rb', line 47

def initialize
  super(DEFAULT_ENDPOINT_TEMPLATE, '',
        client_name: 'google-apis-integrations_v1',
        client_version: Google::Apis::IntegrationsV1::GEM_VERSION)
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Returns:

  • (String)

    API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.



40
41
42
# File 'lib/google/apis/integrations_v1/service.rb', line 40

def key
  @key
end

#quota_userString

Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

Returns:

  • (String)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.



45
46
47
# File 'lib/google/apis/integrations_v1/service.rb', line 45

def quota_user
  @quota_user
end

Instance Method Details

#cancel_project_location_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse

Cancellation of an execution and associated sub-executions. This will not cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions.

Parameters:

  • name (String)

    Required. The execution resource name. Format: projects/gcp_project_id/ locations/location/products/product/integrations/integration_id/ executions/execution_id

  • google_cloud_integrations_v1alpha_cancel_execution_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'lib/google/apis/integrations_v1/service.rb', line 1333

def cancel_project_location_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:cancel', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_apps_script_project(parent, google_cloud_integrations_v1alpha_create_apps_script_project_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse

Creates an Apps Script project.

Parameters:

  • parent (String)

    Required. The project that the executed integration belongs to.

  • google_cloud_integrations_v1alpha_create_apps_script_project_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



240
241
242
243
244
245
246
247
248
249
250
# File 'lib/google/apis/integrations_v1/service.rb', line 240

def create_project_location_apps_script_project(parent, google_cloud_integrations_v1alpha_create_apps_script_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/appsScriptProjects', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_create_apps_script_project_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig) (defaults to: nil)
  • client_certificate_encrypted_private_key (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • client_certificate_passphrase (String) (defaults to: nil)

    'passphrase' should be left unset if private key is not encrypted. Note that ' passphrase' is not the password for web server, but an extra layer of security to protected private key.

  • client_certificate_ssl_certificate (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



345
346
347
348
349
350
351
352
353
354
355
356
357
358
# File 'lib/google/apis/integrations_v1/service.rb', line 345

def create_project_location_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)
  command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['parent'] = parent unless parent.nil?
  command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
  command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
  command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_certificate_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



570
571
572
573
574
575
576
577
578
579
580
# File 'lib/google/apis/integrations_v1/service.rb', line 570

def create_project_location_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/certificates', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_cloud_function(parent, google_cloud_integrations_v1alpha_create_cloud_function_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse

Creates a cloud function project.

Parameters:

  • parent (String)

    Required. The project that the executed integration belongs to.

  • google_cloud_integrations_v1alpha_create_cloud_function_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



917
918
919
920
921
922
923
924
925
926
927
# File 'lib/google/apis/integrations_v1/service.rb', line 917

def create_project_location_cloud_function(parent, google_cloud_integrations_v1alpha_create_cloud_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Create a integration with a draft version in the specified project.

Parameters:

  • parent (String)

    Required. The parent resource where this version will be created. Format: projects/project/locations/location/integrations/integration

  • google_cloud_integrations_v1alpha_integration_version_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • create_sample_integrations (Boolean) (defaults to: nil)

    Optional. Optional. Indicates if sample workflow should be created.

  • new_integration (Boolean) (defaults to: nil)

    Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to false and no existing integration is found, a new draft integration will still be created.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/apis/integrations_v1/service.rb', line 1705

def create_project_location_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)
  command = make_simple_command(:post, 'v1/{+parent}/versions', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['parent'] = parent unless parent.nil?
  command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
  command.query['newIntegration'] = new_integration unless new_integration.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase

Creates a new test case

Parameters:

  • parent (String)

    Required. The parent resource where this test case will be created. Format: projects/project/locations/location/integrations/integration/versions/ integration_version

  • google_cloud_integrations_v1alpha_test_case_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase) (defaults to: nil)
  • test_case_id (String) (defaults to: nil)

    Required. Required

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
# File 'lib/google/apis/integrations_v1/service.rb', line 2103

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)
  command = make_simple_command(:post, 'v1/{+parent}/testCases', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.request_object = google_cloud_integrations_v1alpha_test_case_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
  command.params['parent'] = parent unless parent.nil?
  command.query['testCaseId'] = test_case_id unless test_case_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig) (defaults to: nil)
  • client_certificate_encrypted_private_key (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • client_certificate_passphrase (String) (defaults to: nil)

    'passphrase' should be left unset if private key is not encrypted. Note that ' passphrase' is not the password for web server, but an extra layer of security to protected private key.

  • client_certificate_ssl_certificate (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
# File 'lib/google/apis/integrations_v1/service.rb', line 2529

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)
  command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['parent'] = parent unless parent.nil?
  command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
  command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
  command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_certificate_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
# File 'lib/google/apis/integrations_v1/service.rb', line 2754

def create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/certificates', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_product_cloud_function(parent, google_cloud_integrations_v1alpha_create_cloud_function_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse

Creates a cloud function project.

Parameters:

  • parent (String)

    Required. The project that the executed integration belongs to.

  • google_cloud_integrations_v1alpha_create_cloud_function_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
# File 'lib/google/apis/integrations_v1/service.rb', line 2933

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)
  command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Create a integration with a draft version in the specified project.

Parameters:

  • parent (String)

    Required. The parent resource where this version will be created. Format: projects/project/locations/location/integrations/integration

  • google_cloud_integrations_v1alpha_integration_version_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • create_sample_integrations (Boolean) (defaults to: nil)

    Optional. Optional. Indicates if sample workflow should be created.

  • new_integration (Boolean) (defaults to: nil)

    Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to false and no existing integration is found, a new draft integration will still be created.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
# File 'lib/google/apis/integrations_v1/service.rb', line 3425

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)
  command = make_simple_command(:post, 'v1/{+parent}/versions', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['parent'] = parent unless parent.nil?
  command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
  command.query['newIntegration'] = new_integration unless new_integration.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_sfdc_instance_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
# File 'lib/google/apis/integrations_v1/service.rb', line 3827

def create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_product_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_sfdc_channel_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
# File 'lib/google/apis/integrations_v1/service.rb', line 4006

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)
  command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_sfdc_instance_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
# File 'lib/google/apis/integrations_v1/service.rb', line 4185

def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_sfdc_channel_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'lib/google/apis/integrations_v1/service.rb', line 4364

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)
  command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_location_template(parent, google_cloud_integrations_v1alpha_template_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate

Creates a new template

Parameters:

  • parent (String)

    Required. "projects/project/locations/location" format.

  • google_cloud_integrations_v1alpha_template_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
# File 'lib/google/apis/integrations_v1/service.rb', line 4542

def create_project_location_template(parent, google_cloud_integrations_v1alpha_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/templates', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
  command.request_object = google_cloud_integrations_v1alpha_template_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an auth config.

Parameters:

  • name (String)

    Required. The name that is associated with the AuthConfig.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



380
381
382
383
384
385
386
387
388
# File 'lib/google/apis/integrations_v1/service.rb', line 380

def delete_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_certificate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Delete a certificate

Parameters:

  • name (String)

    Required. The name that is associated with the Certificate.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



602
603
604
605
606
607
608
609
610
# File 'lib/google/apis/integrations_v1/service.rb', line 602

def delete_project_location_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_integration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Delete the selected integration and all versions inside

Parameters:

  • name (String)

    Required. The location resource of the request.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1105
1106
1107
1108
1109
1110
1111
1112
1113
# File 'lib/google/apis/integrations_v1/service.rb', line 1105

def delete_project_location_integration(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the locked_by user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.

Parameters:

  • name (String)

    Required. The version to delete. Format: projects/project/locations/ location/integrations/integration/versions/version

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1748
1749
1750
1751
1752
1753
1754
1755
1756
# File 'lib/google/apis/integrations_v1/service.rb', line 1748

def delete_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes a test case

Parameters:

  • name (String)

    Required. ID for the test case to be deleted

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2136
2137
2138
2139
2140
2141
2142
2143
2144
# File 'lib/google/apis/integrations_v1/service.rb', line 2136

def delete_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an auth config.

Parameters:

  • name (String)

    Required. The name that is associated with the AuthConfig.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2564
2565
2566
2567
2568
2569
2570
2571
2572
# File 'lib/google/apis/integrations_v1/service.rb', line 2564

def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Delete a certificate

Parameters:

  • name (String)

    Required. The name that is associated with the Certificate.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2786
2787
2788
2789
2790
2791
2792
2793
2794
# File 'lib/google/apis/integrations_v1/service.rb', line 2786

def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the locked_by user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.

Parameters:

  • name (String)

    Required. The version to delete. Format: projects/project/locations/ location/integrations/integration/versions/version

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3468
3469
3470
3471
3472
3473
3474
3475
3476
# File 'lib/google/apis/integrations_v1/service.rb', line 3468

def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an sfdc instance.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcInstance.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3859
3860
3861
3862
3863
3864
3865
3866
3867
# File 'lib/google/apis/integrations_v1/service.rb', line 3859

def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an sfdc channel.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcChannel.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4038
4039
4040
4041
4042
4043
4044
4045
4046
# File 'lib/google/apis/integrations_v1/service.rb', line 4038

def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an sfdc instance.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcInstance.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4217
4218
4219
4220
4221
4222
4223
4224
4225
# File 'lib/google/apis/integrations_v1/service.rb', line 4217

def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes an sfdc channel.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcChannel.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4396
4397
4398
4399
4400
4401
4402
4403
4404
# File 'lib/google/apis/integrations_v1/service.rb', line 4396

def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_location_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Deletes a template

Parameters:

  • name (String)

    Required. The name that is associated with the Template.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4574
4575
4576
4577
4578
4579
4580
4581
4582
# File 'lib/google/apis/integrations_v1/service.rb', line 4574

def delete_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#deprovision_project_location_client(parent, google_cloud_integrations_v1alpha_deprovision_client_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Perform the deprovisioning steps to disable a user GCP project to use IP and purge all related data in a wipeout-compliant way.

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be deprovisioned.

  • google_cloud_integrations_v1alpha_deprovision_client_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeprovisionClientRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



750
751
752
753
754
755
756
757
758
759
760
# File 'lib/google/apis/integrations_v1/service.rb', line 750

def deprovision_project_location_client(parent, google_cloud_integrations_v1alpha_deprovision_client_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/clients:deprovision', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeprovisionClientRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_deprovision_client_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_integration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse

Download the execution.

Parameters:

  • name (String)

    Required. The execution resource name. Format: projects/gcp_project_id/ locations/location/products/product/integrations/integration_id/ executions/execution_id

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'lib/google/apis/integrations_v1/service.rb', line 1367

def download_project_location_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse

Downloads an integration. Retrieves the IntegrationVersion for a given integration_id and returns the response as a string.

Parameters:

  • name (String)

    Required. The version to download. Format: projects/project/locations/ location/integrations/integration/versions/version

  • file_format (String) (defaults to: nil)

    File format for download request.

  • files (Array<String>, String) (defaults to: nil)

    Optional. Integration related file to download like Integration Json, Config variable, testcase etc.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
# File 'lib/google/apis/integrations_v1/service.rb', line 1785

def download_project_location_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
  command.params['name'] = name unless name.nil?
  command.query['fileFormat'] = file_format unless file_format.nil?
  command.query['files'] = files unless files.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_integration_version_json_package(name, files: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse

Downloads an Integration version package like IntegrationVersion,Integration Config etc. Retrieves the IntegrationVersion package for a given integration_id and returns the response as a JSON.

Parameters:

  • name (String)

    Required. Integration version name Format: projects/project/locations/ location/integrations/integration/versions/version

  • files (Array<String>, String) (defaults to: nil)

    Optional. Integration related file to download like Integration Version, Config variable, testcase etc.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/google/apis/integrations_v1/service.rb', line 1823

def download_project_location_integration_version_json_package(name, files: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:downloadJsonPackage', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse
  command.params['name'] = name unless name.nil?
  command.query['files'] = files unless files.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_integration_version_test_case(name, file_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse

Downloads a test case. Retrieves the TestCase for a given test_case_id and returns the response as a string.

Parameters:

  • name (String)

    Required. The test case to download. Format: projects/project/locations/ location/integrations/integration/versions/integration_version/testCases/ test_case_id

  • file_format (String) (defaults to: nil)

    File format for download request.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
# File 'lib/google/apis/integrations_v1/service.rb', line 2171

def download_project_location_integration_version_test_case(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse
  command.params['name'] = name unless name.nil?
  command.query['fileFormat'] = file_format unless file_format.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse

Download the execution.

Parameters:

  • name (String)

    Required. The execution resource name. Format: projects/gcp_project_id/ locations/location/products/product/integrations/integration_id/ executions/execution_id

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3123
3124
3125
3126
3127
3128
3129
3130
3131
# File 'lib/google/apis/integrations_v1/service.rb', line 3123

def download_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse

Downloads an integration. Retrieves the IntegrationVersion for a given integration_id and returns the response as a string.

Parameters:

  • name (String)

    Required. The version to download. Format: projects/project/locations/ location/integrations/integration/versions/version

  • file_format (String) (defaults to: nil)

    File format for download request.

  • files (Array<String>, String) (defaults to: nil)

    Optional. Integration related file to download like Integration Json, Config variable, testcase etc.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
# File 'lib/google/apis/integrations_v1/service.rb', line 3505

def download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
  command.params['name'] = name unless name.nil?
  command.query['fileFormat'] = file_format unless file_format.nil?
  command.query['files'] = files unless files.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#download_project_location_template(name, file_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse

Downloads a template. Retrieves the Template and returns the response as a string.

Parameters:

  • name (String)

    Required. The template to download. Format: projects/project/locations/ location/template/template_id

  • file_format (String) (defaults to: nil)

    Required. File format for download request.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
# File 'lib/google/apis/integrations_v1/service.rb', line 4608

def download_project_location_template(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse
  command.params['name'] = name unless name.nil?
  command.query['fileFormat'] = file_format unless file_format.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#enumerate_connector_platform_region(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse

Enumerates the regions for which Connector Platform is provisioned.

Parameters:

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



116
117
118
119
120
121
122
123
# File 'lib/google/apis/integrations_v1/service.rb', line 116

def enumerate_connector_platform_region(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/connectorPlatformRegions:enumerate', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#execute_project_location_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified ( passing -), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given trigger_id is executed. This is helpful for execution the integration from UI.

Parameters:

  • name (String)

    Required. The integration resource name.

  • google_cloud_integrations_v1alpha_execute_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
# File 'lib/google/apis/integrations_v1/service.rb', line 1141

def execute_project_location_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:execute', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#execute_project_location_integration_event(name, trigger_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse

Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format

Parameters:

  • name (String)

    Required. The integration resource name. Format: projects/gcp_project_id/ locations/location/integrations/integration_id

  • trigger_id (String) (defaults to: nil)

    Required. Id of the integration trigger config. The trigger_id is in the format: integration_connector_trigger/projects/gcp_project_id/location/ location/connections/connection_name/subscriptions/subscription_name``.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
# File 'lib/google/apis/integrations_v1/service.rb', line 1180

def execute_project_location_integration_event(name, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:executeEvent', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse
  command.params['name'] = name unless name.nil?
  command.query['triggerId'] = trigger_id unless trigger_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse

Executes functional test

Parameters:

  • test_case_name (String)

    Required. Test case resource name

  • google_cloud_integrations_v1alpha_execute_test_case_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
# File 'lib/google/apis/integrations_v1/service.rb', line 2203

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)
  command = make_simple_command(:post, 'v1/{+testCaseName}:executeTest', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_execute_test_case_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse
  command.params['testCaseName'] = test_case_name unless test_case_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#execute_project_location_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified ( passing -), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given trigger_id is executed. This is helpful for execution the integration from UI.

Parameters:

  • name (String)

    Required. The integration resource name.

  • google_cloud_integrations_v1alpha_execute_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'lib/google/apis/integrations_v1/service.rb', line 2971

def execute_project_location_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:execute', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_callback_token(code: nil, gcp_project_id: nil, product: nil, redirect_uri: nil, state: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateTokenResponse

Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.

Parameters:

  • code (String) (defaults to: nil)

    The auth code for the given request

  • gcp_project_id (String) (defaults to: nil)

    The gcp project id of the request

  • product (String) (defaults to: nil)

    Which product sends the request

  • redirect_uri (String) (defaults to: nil)

    Redirect uri of the auth code request

  • state (String) (defaults to: nil)

    The auth config id for the given request

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/google/apis/integrations_v1/service.rb', line 84

def generate_callback_token(code: nil, gcp_project_id: nil, product: nil, redirect_uri: nil, state: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/callback:generateToken', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateTokenResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateTokenResponse
  command.query['code'] = code unless code.nil?
  command.query['gcpProjectId'] = gcp_project_id unless gcp_project_id.nil?
  command.query['product'] = product unless product.nil?
  command.query['redirectUri'] = redirect_uri unless redirect_uri.nil?
  command.query['state'] = state unless state.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse

Generate OpenAPI spec for the requested integrations and api triggers

Parameters:

  • name (String)

    Required. Project and location from which the integrations should be fetched. Format: projects/project/location/location

  • google_cloud_integrations_v1alpha_generate_open_api_spec_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



177
178
179
180
181
182
183
184
185
186
187
# File 'lib/google/apis/integrations_v1/service.rb', line 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)
  command = make_simple_command(:post, 'v1/{+name}:generateOpenApiSpec', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_generate_open_api_spec_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_clientmetadata(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientMetadataResponse

Gets the metadata info for the requested client

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



145
146
147
148
149
150
151
152
153
# File 'lib/google/apis/integrations_v1/service.rb', line 145

def (parent, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/clientmetadata', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientMetadataResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientMetadataResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.

Parameters:

  • name (String)

    Required. The name that is associated with the AuthConfig.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



411
412
413
414
415
416
417
418
419
# File 'lib/google/apis/integrations_v1/service.rb', line 411

def get_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_certificate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Get a certificates in the specified project.

Parameters:

  • name (String)

    Required. The certificate to retrieve. Format: projects/project/locations/ location/certificates/certificate

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



633
634
635
636
637
638
639
640
641
# File 'lib/google/apis/integrations_v1/service.rb', line 633

def get_project_location_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_clients(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse

Gets the client configuration for the given project and location resource name

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



209
210
211
212
213
214
215
216
217
# File 'lib/google/apis/integrations_v1/service.rb', line 209

def get_project_location_clients(parent, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/clients', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_connection_connection_schema_metadata(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata

Lists the available entities and actions associated with a Connection.

Parameters:

  • name (String)

    Required. ConnectionSchemaMetadata name. Format: projects/project/locations/ location/connections/connection/connectionSchemaMetadata

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



950
951
952
953
954
955
956
957
958
# File 'lib/google/apis/integrations_v1/service.rb', line 950

def (name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_integration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution

Get an execution in the specified project.

Parameters:

  • name (String)

    Required. The execution resource name. Format: projects/gcp_project_id/ locations/location/products/product/integrations/integration_id/ executions/execution_id

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1399
1400
1401
1402
1403
1404
1405
1406
1407
# File 'lib/google/apis/integrations_v1/service.rb', line 1399

def get_project_location_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Get a integration in the specified project.

Parameters:

  • name (String)

    Required. The version to retrieve. Format: projects/project/locations/ location/integrations/integration/versions/version

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/google/apis/integrations_v1/service.rb', line 1855

def get_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase

Get a test case

Parameters:

  • name (String)

    Required. The ID of the test case to retrieve

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2235
2236
2237
2238
2239
2240
2241
2242
2243
# File 'lib/google/apis/integrations_v1/service.rb', line 2235

def get_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.

Parameters:

  • name (String)

    Required. The name that is associated with the AuthConfig.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2595
2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/google/apis/integrations_v1/service.rb', line 2595

def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Get a certificates in the specified project.

Parameters:

  • name (String)

    Required. The certificate to retrieve. Format: projects/project/locations/ location/certificates/certificate

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2817
2818
2819
2820
2821
2822
2823
2824
2825
# File 'lib/google/apis/integrations_v1/service.rb', line 2817

def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution

Get an execution in the specified project.

Parameters:

  • name (String)

    Required. The execution resource name. Format: projects/gcp_project_id/ locations/location/products/product/integrations/integration_id/ executions/execution_id

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/google/apis/integrations_v1/service.rb', line 3155

def get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Get a integration in the specified project.

Parameters:

  • name (String)

    Required. The version to retrieve. Format: projects/project/locations/ location/integrations/integration/versions/version

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3538
3539
3540
3541
3542
3543
3544
3545
3546
# File 'lib/google/apis/integrations_v1/service.rb', line 3538

def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcInstance.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3890
3891
3892
3893
3894
3895
3896
3897
3898
# File 'lib/google/apis/integrations_v1/service.rb', line 3890

def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcChannel.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4069
4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/google/apis/integrations_v1/service.rb', line 4069

def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcInstance.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4248
4249
4250
4251
4252
4253
4254
4255
4256
# File 'lib/google/apis/integrations_v1/service.rb', line 4248

def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.

Parameters:

  • name (String)

    Required. The name that is associated with the SfdcChannel.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4427
4428
4429
4430
4431
4432
4433
4434
4435
# File 'lib/google/apis/integrations_v1/service.rb', line 4427

def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_location_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate

Get a template in the specified project.

Parameters:

  • name (String)

    Required. The template to retrieve. Format: projects/project/locations/ location/templates/template

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4640
4641
4642
4643
4644
4645
4646
4647
4648
# File 'lib/google/apis/integrations_v1/service.rb', line 4640

def get_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#import_project_location_template(name, google_cloud_integrations_v1alpha_import_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse

Import the template to an existing integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.

Parameters:

  • name (String)

    Required. The name that is associated with the Template.

  • google_cloud_integrations_v1alpha_import_template_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/google/apis/integrations_v1/service.rb', line 4673

def import_project_location_template(name, google_cloud_integrations_v1alpha_import_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:import', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_import_template_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#lift_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse

  • Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.

Parameters:

  • name (String)

    Required. The resource that the suspension belongs to. "projects/project/ locations/location/products/product/integrations/integration/executions/ execution/suspensions/suspenion" format.

  • google_cloud_integrations_v1alpha_lift_suspension_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
# File 'lib/google/apis/integrations_v1/service.rb', line 1583

def lift_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:lift', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#lift_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse

  • Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.

Parameters:

  • name (String)

    Required. The resource that the suspension belongs to. "projects/project/ locations/location/products/product/integrations/integration/executions/ execution/suspensions/suspenion" format.

  • google_cloud_integrations_v1alpha_lift_suspension_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'lib/google/apis/integrations_v1/service.rb', line 3303

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)
  command = make_simple_command(:post, 'v1/{+name}:lift', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Links a existing Apps Script project.

Parameters:

  • parent (String)

    Required. The project that the executed integration belongs to.

  • google_cloud_integrations_v1alpha_link_apps_script_project_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



273
274
275
276
277
278
279
280
281
282
283
# File 'lib/google/apis/integrations_v1/service.rb', line 273

def link_project_location_apps_script_project(parent, google_cloud_integrations_v1alpha_link_apps_script_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/appsScriptProjects:link', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_link_apps_script_project_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse

Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of AuthConfigs.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the AuthConfig's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



452
453
454
455
456
457
458
459
460
461
462
463
464
# File 'lib/google/apis/integrations_v1/service.rb', line 452

def list_project_location_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse

List all the certificates that match the filter. Restrict to certificate of current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of Certificates.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the Certificate's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



674
675
676
677
678
679
680
681
682
683
684
685
686
# File 'lib/google/apis/integrations_v1/service.rb', line 674

def list_project_location_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/certificates', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_connection_runtime_action_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse

Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.

Parameters:

  • parent (String)

    Required. Parent resource of RuntimeActionSchema. Format: projects/project/ locations/location/connections/connection

  • filter (String) (defaults to: nil)

    Filter. Only the action field with literal equality operator is supported.

  • page_size (Fixnum) (defaults to: nil)

    Page size.

  • page_token (String) (defaults to: nil)

    Page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'lib/google/apis/integrations_v1/service.rb', line 1031

def list_project_location_connection_runtime_action_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/runtimeActionSchemas', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_connection_runtime_entity_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse

Lists the JSON schemas for the properties of runtime entities, filtered by entity name.

Parameters:

  • parent (String)

    Required. Parent resource of RuntimeEntitySchema. Format: projects/project/ locations/location/connections/connection

  • filter (String) (defaults to: nil)

    Filter. Only the entity field with literal equality operator is supported.

  • page_size (Fixnum) (defaults to: nil)

    Page size.

  • page_token (String) (defaults to: nil)

    Page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
# File 'lib/google/apis/integrations_v1/service.rb', line 1072

def list_project_location_connection_runtime_entity_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/runtimeEntitySchemas', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListConnectionsResponse

Lists Connections in a given project and location.

Parameters:

  • parent (String)

    Required. Parent resource of the Connection, of the form: projects/*/ locations/*

  • filter (String) (defaults to: nil)

    Filter.

  • order_by (String) (defaults to: nil)

    Order by parameters.

  • page_size (Fixnum) (defaults to: nil)

    Page size.

  • page_token (String) (defaults to: nil)

    Page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



989
990
991
992
993
994
995
996
997
998
999
1000
1001
# File 'lib/google/apis/integrations_v1/service.rb', line 989

def list_project_location_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/connections', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListConnectionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListConnectionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse

  • Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.

Parameters:

  • parent (String)

    Required. projects/gcp_project_id/locations/location/products/product/ integrations/integration_name/executions/execution_name

  • filter (String) (defaults to: nil)

    Standard filter field.

  • order_by (String) (defaults to: nil)

    Field name to order by.

  • page_size (Fixnum) (defaults to: nil)

    Maximum number of entries in the response.

  • page_token (String) (defaults to: nil)

    Token to retrieve a specific page.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'lib/google/apis/integrations_v1/service.rb', line 1625

def list_project_location_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/suspensions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse

Lists the results of all the integration executions. The response includes the same information as the execution log in the Integration UI.

Parameters:

  • parent (String)

    Required. The parent resource name of the integration execution.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: "parameter_type" HAS \"string\" Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND workflow_name=\"testWorkflow\"

  • filter_params_custom_filter (String) (defaults to: nil)

    Optional user-provided custom filter.

  • filter_params_end_time (Fixnum) (defaults to: nil)

    End timestamp.

  • filter_params_event_statuses (Array<String>, String) (defaults to: nil)

    List of possible event statuses.

  • filter_params_execution_id (String) (defaults to: nil)

    Execution id.

  • filter_params_parameter_key (String) (defaults to: nil)

    Param key. DEPRECATED. User parameter_pair_key instead.

  • filter_params_parameter_pair_key (String) (defaults to: nil)

    Param key in the key value pair filter.

  • filter_params_parameter_pair_value (String) (defaults to: nil)

    Param value in the key value pair filter.

  • filter_params_parameter_type (String) (defaults to: nil)

    Param type.

  • filter_params_parameter_value (String) (defaults to: nil)

    Param value. DEPRECATED. User parameter_pair_value instead.

  • filter_params_start_time (Fixnum) (defaults to: nil)

    Start timestamp.

  • filter_params_task_statuses (Array<String>, String) (defaults to: nil)

    List of possible task statuses.

  • filter_params_workflow_name (String) (defaults to: nil)

    Workflow name.

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in order you specified here. Currently supporting "create_time".

  • page_size (Fixnum) (defaults to: nil)

    Optional. The size of entries in the response.

  • page_token (String) (defaults to: nil)

    Optional. The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in Execution will be filled and returned. Supported fields: trigger_id execution_method create_time update_time execution_details execution_details.state execution_details.execution_snapshots execution_details.attempt_stats execution_details.event_execution_snapshots_size request_parameters cloud_logging_details snapshot_number replay_info

  • refresh_acl (Boolean) (defaults to: nil)

    Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.

  • snapshot_metadata_without_params (Boolean) (defaults to: nil)

    Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.

  • truncate_params (Boolean) (defaults to: nil)

    Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
# File 'lib/google/apis/integrations_v1/service.rb', line 1492

def list_project_location_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)
  command = make_simple_command(:get, 'v1/{+parent}/executions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil?
  command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil?
  command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil?
  command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil?
  command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil?
  command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil?
  command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil?
  command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil?
  command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil?
  command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil?
  command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil?
  command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
  command.query['snapshotMetadataWithoutParams'] =  unless .nil?
  command.query['truncateParams'] = truncate_params unless truncate_params.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse

Lists the results of all functional test executions. The response includes the same information as the execution log in the Integration UI.

Parameters:

  • parent (String)

    Required. The parent resource name of the test case execution.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field, we support filtering on following fields: test_case_id: the ID of the test case. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: "parameter_type" HAS \"string\" Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND test_case_id=\" testCaseId\"

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in order you specified here. Currently supporting "last_modified_time" and "create_time".

  • page_size (Fixnum) (defaults to: nil)

    Optional. The size of entries in the response.

  • page_token (String) (defaults to: nil)

    Optional. The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.

  • truncate_params (Boolean) (defaults to: nil)

    Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'lib/google/apis/integrations_v1/service.rb', line 2345

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)
  command = make_simple_command(:get, 'v1/{+parent}:executions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['truncateParams'] = truncate_params unless truncate_params.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse

Lists all the test cases that satisfy the filters.

Parameters:

  • parent (String)

    Required. The parent resource where this TestCase was created.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field. Filtering as supported in https://developers. google.com/authorized-buyers/apis/guides/list-filters.

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in order specified here. Currently supported sort keys are: Descending sort order for "last_modified_time", " created_time". Ascending sort order for "name".

  • page_size (Fixnum) (defaults to: nil)

    Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 100 test cases will be returned.

  • page_token (String) (defaults to: nil)

    Optional. A page token, received from a previous ListTestCases call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTestCases must match the call that provided the page token.

  • read_mask (String) (defaults to: nil)

    Optional. The mask which specifies fields that need to be returned in the TestCases's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'lib/google/apis/integrations_v1/service.rb', line 2282

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)
  command = make_simple_command(:get, 'v1/{+parent}/testCases', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_integration_versions(parent, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse

Returns the list of all integration versions in the specified project.

Parameters:

  • parent (String)

    Required. The parent resource where this version will be created. Format: projects/project/locations/location/integrations/integration Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: "List versions (with filter) for a particular integration". 2. projects//locations//integrations/- Meaning: "List versions (with filter) for a client within a particular region".

  • field_mask (String) (defaults to: nil)

    The field mask which specifies the particular data to be returned.

  • filter (String) (defaults to: nil)

    Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= ACTIVE AND description:"test". Filtering cannot be performed on repeated fields like task_config.

  • order_by (String) (defaults to: nil)

    The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for "last_modified_time", "created\ _time", and "snapshot_number". Ascending sort order for name.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous ListIntegrationVersions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListIntegrationVersions must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'lib/google/apis/integrations_v1/service.rb', line 1913

def list_project_location_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)
  command = make_simple_command(:get, 'v1/{+parent}/versions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fieldMask'] = field_mask unless field_mask.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse

Returns the list of all integrations in the specified project.

Parameters:

  • parent (String)

    Required. Project and location from which the integrations should be listed. Format: projects/project

  • filter (String) (defaults to: nil)

    Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= ACTIVE AND description:"test". Filtering cannot be performed on repeated fields like task_config.

  • order_by (String) (defaults to: nil)

    The results would be returned in order you specified here. Supported sort keys are: Descending sort order by "last_modified_time", "created_time", " snapshot_number". Ascending sort order by the integration name.

  • page_size (Fixnum) (defaults to: nil)

    The page size for the resquest.

  • page_token (String) (defaults to: nil)

    The page token for the resquest.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
# File 'lib/google/apis/integrations_v1/service.rb', line 1228

def list_project_location_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/integrations', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse

Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of AuthConfigs.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the AuthConfig's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'lib/google/apis/integrations_v1/service.rb', line 2636

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)
  command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_product_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse

List all the certificates that match the filter. Restrict to certificate of current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of Certificates.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the Certificate's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
# File 'lib/google/apis/integrations_v1/service.rb', line 2858

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)
  command = make_simple_command(:get, 'v1/{+parent}/certificates', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse

  • Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.

Parameters:

  • parent (String)

    Required. projects/gcp_project_id/locations/location/products/product/ integrations/integration_name/executions/execution_name

  • filter (String) (defaults to: nil)

    Standard filter field.

  • order_by (String) (defaults to: nil)

    Field name to order by.

  • page_size (Fixnum) (defaults to: nil)

    Maximum number of entries in the response.

  • page_token (String) (defaults to: nil)

    Token to retrieve a specific page.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
# File 'lib/google/apis/integrations_v1/service.rb', line 3345

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)
  command = make_simple_command(:get, 'v1/{+parent}/suspensions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse

Lists the results of all the integration executions. The response includes the same information as the execution log in the Integration UI.

Parameters:

  • parent (String)

    Required. The parent resource name of the integration execution.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: "parameter_type" HAS \"string\" Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND workflow_name=\"testWorkflow\"

  • filter_params_custom_filter (String) (defaults to: nil)

    Optional user-provided custom filter.

  • filter_params_end_time (Fixnum) (defaults to: nil)

    End timestamp.

  • filter_params_event_statuses (Array<String>, String) (defaults to: nil)

    List of possible event statuses.

  • filter_params_execution_id (String) (defaults to: nil)

    Execution id.

  • filter_params_parameter_key (String) (defaults to: nil)

    Param key. DEPRECATED. User parameter_pair_key instead.

  • filter_params_parameter_pair_key (String) (defaults to: nil)

    Param key in the key value pair filter.

  • filter_params_parameter_pair_value (String) (defaults to: nil)

    Param value in the key value pair filter.

  • filter_params_parameter_type (String) (defaults to: nil)

    Param type.

  • filter_params_parameter_value (String) (defaults to: nil)

    Param value. DEPRECATED. User parameter_pair_value instead.

  • filter_params_start_time (Fixnum) (defaults to: nil)

    Start timestamp.

  • filter_params_task_statuses (Array<String>, String) (defaults to: nil)

    List of possible task statuses.

  • filter_params_workflow_name (String) (defaults to: nil)

    Workflow name.

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in order you specified here. Currently supporting "create_time".

  • page_size (Fixnum) (defaults to: nil)

    Optional. The size of entries in the response.

  • page_token (String) (defaults to: nil)

    Optional. The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in Execution will be filled and returned. Supported fields: trigger_id execution_method create_time update_time execution_details execution_details.state execution_details.execution_snapshots execution_details.attempt_stats execution_details.event_execution_snapshots_size request_parameters cloud_logging_details snapshot_number replay_info

  • refresh_acl (Boolean) (defaults to: nil)

    Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.

  • snapshot_metadata_without_params (Boolean) (defaults to: nil)

    Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.

  • truncate_params (Boolean) (defaults to: nil)

    Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
# File 'lib/google/apis/integrations_v1/service.rb', line 3248

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)
  command = make_simple_command(:get, 'v1/{+parent}/executions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil?
  command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil?
  command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil?
  command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil?
  command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil?
  command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil?
  command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil?
  command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil?
  command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil?
  command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil?
  command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil?
  command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
  command.query['snapshotMetadataWithoutParams'] =  unless .nil?
  command.query['truncateParams'] = truncate_params unless truncate_params.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse

Returns the list of all integration versions in the specified project.

Parameters:

  • parent (String)

    Required. The parent resource where this version will be created. Format: projects/project/locations/location/integrations/integration Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: "List versions (with filter) for a particular integration". 2. projects//locations//integrations/- Meaning: "List versions (with filter) for a client within a particular region".

  • field_mask (String) (defaults to: nil)

    The field mask which specifies the particular data to be returned.

  • filter (String) (defaults to: nil)

    Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= ACTIVE AND description:"test". Filtering cannot be performed on repeated fields like task_config.

  • order_by (String) (defaults to: nil)

    The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for "last_modified_time", "created\ _time", and "snapshot_number". Ascending sort order for name.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous ListIntegrationVersions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListIntegrationVersions must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/google/apis/integrations_v1/service.rb', line 3596

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)
  command = make_simple_command(:get, 'v1/{+parent}/versions', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fieldMask'] = field_mask unless field_mask.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_product_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse

Returns the list of all integrations in the specified project.

Parameters:

  • parent (String)

    Required. Project and location from which the integrations should be listed. Format: projects/project

  • filter (String) (defaults to: nil)

    Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= ACTIVE AND description:"test". Filtering cannot be performed on repeated fields like task_config.

  • order_by (String) (defaults to: nil)

    The results would be returned in order you specified here. Supported sort keys are: Descending sort order by "last_modified_time", "created_time", " snapshot_number". Ascending sort order by the integration name.

  • page_size (Fixnum) (defaults to: nil)

    The page size for the resquest.

  • page_token (String) (defaults to: nil)

    The page token for the resquest.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
# File 'lib/google/apis/integrations_v1/service.rb', line 3020

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)
  command = make_simple_command(:get, 'v1/{+parent}/integrations', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse

Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of SfdcChannels.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the SfdcChannel's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
# File 'lib/google/apis/integrations_v1/service.rb', line 4110

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)
  command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse

Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of SfdcInstances.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the SfdcInstance's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
# File 'lib/google/apis/integrations_v1/service.rb', line 3931

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)
  command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse

Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of SfdcChannels.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the SfdcChannel's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
# File 'lib/google/apis/integrations_v1/service.rb', line 4468

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)
  command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse

Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of SfdcInstances.

  • filter (String) (defaults to: nil)

    Filtering as supported in https://developers.google.com/authorized-buyers/apis/ guides/list-filters.

  • page_size (Fixnum) (defaults to: nil)

    The size of entries in the response. If unspecified, defaults to 100.

  • page_token (String) (defaults to: nil)

    The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    The mask which specifies fields that need to be returned in the SfdcInstance's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
# File 'lib/google/apis/integrations_v1/service.rb', line 4289

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)
  command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse

Lists all templates matching the filter.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of Templates.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field to filter templates. client_id filter won't be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in the order you specified here.

  • page_size (Fixnum) (defaults to: nil)

    Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    Optional. The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    Optional. The mask which specifies fields that need to be returned in the template's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
# File 'lib/google/apis/integrations_v1/service.rb', line 4720

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)
  command = make_simple_command(:get, 'v1/{+parent}/templates', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.

Parameters:

  • name (String)

    Resource name of the auth config. For more information, see Manage authentication profiles. projects/project/locations/location/authConfigs/ authConfig.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig) (defaults to: nil)
  • client_certificate_encrypted_private_key (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • client_certificate_passphrase (String) (defaults to: nil)

    'passphrase' should be left unset if private key is not encrypted. Note that ' passphrase' is not the password for web server, but an extra layer of security to protected private key.

  • client_certificate_ssl_certificate (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'lib/google/apis/integrations_v1/service.rb', line 531

def patch_project_location_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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['name'] = name unless name.nil?
  command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
  command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
  command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.

Parameters:

  • name (String)

    Output only. Auto generated primary key

  • google_cloud_integrations_v1alpha_certificate_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above Certificate that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



715
716
717
718
719
720
721
722
723
724
725
726
# File 'lib/google/apis/integrations_v1/service.rb', line 715

def patch_project_location_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_integration_version(name, google_cloud_integrations_v1alpha_integration_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Update a integration with a draft version in the specified project.

Parameters:

  • name (String)

    Output only. Auto-generated primary key.

  • google_cloud_integrations_v1alpha_integration_version_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above integration that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
# File 'lib/google/apis/integrations_v1/service.rb', line 1952

def patch_project_location_integration_version(name, google_cloud_integrations_v1alpha_integration_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase

Updates a test case

Parameters:

  • name (String)

    Output only. Auto-generated primary key.

  • google_cloud_integrations_v1alpha_test_case_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Optional. Field mask specifying the fields in the above integration that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
# File 'lib/google/apis/integrations_v1/service.rb', line 2385

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.request_object = google_cloud_integrations_v1alpha_test_case_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig

Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.

Parameters:

  • name (String)

    Resource name of the auth config. For more information, see Manage authentication profiles. projects/project/locations/location/authConfigs/ authConfig.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig) (defaults to: nil)
  • client_certificate_encrypted_private_key (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • client_certificate_passphrase (String) (defaults to: nil)

    'passphrase' should be left unset if private key is not encrypted. Note that ' passphrase' is not the password for web server, but an extra layer of security to protected private key.

  • client_certificate_ssl_certificate (String) (defaults to: nil)

    The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/google/apis/integrations_v1/service.rb', line 2715

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
  command.params['name'] = name unless name.nil?
  command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
  command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
  command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_product_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.

Parameters:

  • name (String)

    Output only. Auto generated primary key

  • google_cloud_integrations_v1alpha_certificate_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above Certificate that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/google/apis/integrations_v1/service.rb', line 2899

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Update a integration with a draft version in the specified project.

Parameters:

  • name (String)

    Output only. Auto-generated primary key.

  • google_cloud_integrations_v1alpha_integration_version_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above integration that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
# File 'lib/google/apis/integrations_v1/service.rb', line 3635

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.

Parameters:

  • name (String)

    Resource name of the SFDC instance projects/project/locations/location/ sfdcInstances/sfdcInstance.

  • google_cloud_integrations_v1alpha_sfdc_instance_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
# File 'lib/google/apis/integrations_v1/service.rb', line 3971

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.

Parameters:

  • name (String)

    Resource name of the SFDC channel projects/project/locations/location/ sfdcInstances/sfdc_instance/sfdcChannels/sfdc_channel.

  • google_cloud_integrations_v1alpha_sfdc_channel_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
# File 'lib/google/apis/integrations_v1/service.rb', line 4150

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance

Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.

Parameters:

  • name (String)

    Resource name of the SFDC instance projects/project/locations/location/ sfdcInstances/sfdcInstance.

  • google_cloud_integrations_v1alpha_sfdc_instance_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
# File 'lib/google/apis/integrations_v1/service.rb', line 4329

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel

Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.

Parameters:

  • name (String)

    Resource name of the SFDC channel projects/project/locations/location/ sfdcInstances/sfdc_instance/sfdcChannels/sfdc_channel.

  • google_cloud_integrations_v1alpha_sfdc_channel_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
# File 'lib/google/apis/integrations_v1/service.rb', line 4508

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)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_location_template(name, google_cloud_integrations_v1alpha_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate

Updates the template by given id.

Parameters:

  • name (String)

    Identifier. Resource name of the template.

  • google_cloud_integrations_v1alpha_template_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Required. Field mask specifying the fields in the above template that have been modified and must be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
# File 'lib/google/apis/integrations_v1/service.rb', line 4759

def patch_project_location_template(name, google_cloud_integrations_v1alpha_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
  command.request_object = google_cloud_integrations_v1alpha_template_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#provision_project_location_client(parent, google_cloud_integrations_v1alpha_provision_client_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Perform the provisioning steps to enable a user GCP project to use IP. If GCP project already registered on IP end via Apigee Integration, provisioning will fail.

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • google_cloud_integrations_v1alpha_provision_client_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



785
786
787
788
789
790
791
792
793
794
795
# File 'lib/google/apis/integrations_v1/service.rb', line 785

def provision_project_location_client(parent, google_cloud_integrations_v1alpha_provision_client_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/clients:provision', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_provision_client_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#publish_project_location_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse

This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the locked_by user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.

Parameters:

  • name (String)

    Required. The version to publish. Format: projects/project/locations/ location/integrations/integration/versions/version

  • google_cloud_integrations_v1alpha_publish_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
# File 'lib/google/apis/integrations_v1/service.rb', line 1992

def publish_project_location_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:publish', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#publish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse

This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the locked_by user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.

Parameters:

  • name (String)

    Required. The version to publish. Format: projects/project/locations/ location/integrations/integration/versions/version

  • google_cloud_integrations_v1alpha_publish_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
# File 'lib/google/apis/integrations_v1/service.rb', line 3675

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)
  command = make_simple_command(:post, 'v1/{+name}:publish', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#replace_project_location_client(parent, google_cloud_integrations_v1alpha_replace_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Update run-as service account for provisioned client

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • google_cloud_integrations_v1alpha_replace_service_account_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



818
819
820
821
822
823
824
825
826
827
828
# File 'lib/google/apis/integrations_v1/service.rb', line 818

def replace_project_location_client(parent,  = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/clients:replace', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest::Representation
  command.request_object = 
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#replay_project_location_integration_execution(name, google_cloud_integrations_v1alpha_replay_execution_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse

Re-execute an existing execution, with same request parameters and execution strategy.

Parameters:

  • name (String)

    Required. Next ID: 6 The execution resource name. Format: projects/ gcp_project_id/locations/location/integrations/integration/executions/ execution_id

  • google_cloud_integrations_v1alpha_replay_execution_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
# File 'lib/google/apis/integrations_v1/service.rb', line 1546

def replay_project_location_integration_execution(name, google_cloud_integrations_v1alpha_replay_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:replay', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_replay_execution_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#resolve_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse

  • Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.

Parameters:

  • name (String)

    Required. projects/gcp_project_id/locations/location/products/product/ integrations/integration_name/executions/execution_name/suspensions/ suspension_id

  • google_cloud_integrations_v1alpha_resolve_suspension_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'lib/google/apis/integrations_v1/service.rb', line 1664

def resolve_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:resolve', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#resolve_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse

  • Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.

Parameters:

  • name (String)

    Required. projects/gcp_project_id/locations/location/products/product/ integrations/integration_name/executions/execution_name/suspensions/ suspension_id

  • google_cloud_integrations_v1alpha_resolve_suspension_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
# File 'lib/google/apis/integrations_v1/service.rb', line 3384

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)
  command = make_simple_command(:post, 'v1/{+name}:resolve', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#schedule_project_location_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse

Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.

Parameters:

  • name (String)

    The integration resource name.

  • google_cloud_integrations_v1alpha_schedule_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
# File 'lib/google/apis/integrations_v1/service.rb', line 1264

def schedule_project_location_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:schedule', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#schedule_project_location_product_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse

Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.

Parameters:

  • name (String)

    The integration resource name.

  • google_cloud_integrations_v1alpha_schedule_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
# File 'lib/google/apis/integrations_v1/service.rb', line 3056

def schedule_project_location_product_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:schedule', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse

Search templates based on user query and filters. This api would query the templates and return a list of templates based on the user filter.

Parameters:

  • parent (String)

    Required. The client, which owns this collection of Templates.

  • filter (String) (defaults to: nil)

    Optional. Standard filter field to filter templates. client_id filter won't be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"

  • order_by (String) (defaults to: nil)

    Optional. The results would be returned in the order you specified here.

  • page_size (Fixnum) (defaults to: nil)

    Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    Optional. The token returned in the previous response.

  • read_mask (String) (defaults to: nil)

    Optional. The mask which specifies fields that need to be returned in the template's response.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
# File 'lib/google/apis/integrations_v1/service.rb', line 4808

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)
  command = make_simple_command(:get, 'v1/{+parent}/templates:search', options)
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['readMask'] = read_mask unless read_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#share_project_location_template(name, google_cloud_integrations_v1alpha_share_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Share a template with other clients. Only the template owner can share the templates with other projects. PERMISSION_DENIED would be thrown if the request is not from the owner.

Parameters:

  • name (String)

    Required. The name that is associated with the Template.

  • google_cloud_integrations_v1alpha_share_template_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
# File 'lib/google/apis/integrations_v1/service.rb', line 4846

def share_project_location_template(name, google_cloud_integrations_v1alpha_share_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:share', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_share_template_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#switch_project_location_client(parent, google_cloud_integrations_v1alpha_switch_encryption_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Update client from GMEK to CMEK

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • google_cloud_integrations_v1alpha_switch_encryption_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



851
852
853
854
855
856
857
858
859
860
861
# File 'lib/google/apis/integrations_v1/service.rb', line 851

def switch_project_location_client(parent, google_cloud_integrations_v1alpha_switch_encryption_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/clients:switch', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_switch_encryption_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#switch_project_location_client_variable_masking(parent, google_cloud_integrations_v1alpha_switch_variable_masking_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Update variable masking for provisioned client

Parameters:

  • parent (String)

    Required. Required: The ID of the GCP Project to be provisioned.

  • google_cloud_integrations_v1alpha_switch_variable_masking_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



884
885
886
887
888
889
890
891
892
893
894
# File 'lib/google/apis/integrations_v1/service.rb', line 884

def switch_project_location_client_variable_masking(parent, google_cloud_integrations_v1alpha_switch_variable_masking_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/clients:switchVariableMasking', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_switch_variable_masking_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase

Clear the lock fields and assign them to current user

Parameters:

  • name (String)

    Required. The ID of test case to takeover edit lock. Format: projects/project /locations/location/integrations/integration/versions/integration_version /testCases/test_case_id

  • google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'lib/google/apis/integrations_v1/service.rb', line 2421

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)
  command = make_simple_command(:post, 'v1/{+name}:takeoverEditLock', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse

Clears the locked_by and locked_at_timestampin the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the locked_by set to the user_taking_over and the locked_at_timestamp set to the current timestamp). Both the locked_by and user_taking_over are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the locked_by and locked_at_timestamp fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.

Parameters:

  • integration_version (String)

    Required. The version to take over edit lock. Format: projects/project/ locations/location/integrations/integration/versions/version

  • google_cloud_integrations_v1alpha_takeover_edit_lock_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
# File 'lib/google/apis/integrations_v1/service.rb', line 3719

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)
  command = make_simple_command(:post, 'v1/{+integrationVersion}:takeoverEditLock', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
  command.params['integrationVersion'] = integration_version unless integration_version.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#test_project_location_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse

Execute the integration in draft state

Parameters:

  • name (String)

    Output only. Auto-generated primary key.

  • google_cloud_integrations_v1alpha_test_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
# File 'lib/google/apis/integrations_v1/service.rb', line 1297

def test_project_location_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:test', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_test_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#test_project_location_product_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse

Execute the integration in draft state

Parameters:

  • name (String)

    Output only. Auto-generated primary key.

  • google_cloud_integrations_v1alpha_test_integrations_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
# File 'lib/google/apis/integrations_v1/service.rb', line 3089

def test_project_location_product_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:test', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_test_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#unpublish_project_location_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag " PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

Parameters:

  • name (String)

    Required. The version to deactivate. Format: projects/project/locations/ location/integrations/integration/versions/version

  • google_cloud_integrations_v1alpha_unpublish_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/google/apis/integrations_v1/service.rb', line 2029

def unpublish_project_location_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:unpublish', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#unpublish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag " PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

Parameters:

  • name (String)

    Required. The version to deactivate. Format: projects/project/locations/ location/integrations/integration/versions/version

  • google_cloud_integrations_v1alpha_unpublish_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
# File 'lib/google/apis/integrations_v1/service.rb', line 3756

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)
  command = make_simple_command(:post, 'v1/{+name}:unpublish', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#unshare_project_location_template(name, google_cloud_integrations_v1alpha_unshare_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleProtobufEmpty

Unshare a template from given clients. Owner of the template can unshare template with clients. Shared client can only unshare the template from itself. PERMISSION_DENIED would be thrown if request is not from owner or for unsharing itself.

Parameters:

  • name (String)

    Required. The name that is associated with the Template.

  • google_cloud_integrations_v1alpha_unshare_template_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
# File 'lib/google/apis/integrations_v1/service.rb', line 4882

def unshare_project_location_template(name, google_cloud_integrations_v1alpha_unshare_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:unshare', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_unshare_template_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_project_location_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse

Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.

Parameters:

  • parent (String)

    Required. The version to upload. Format: projects/project/locations/ location/integrations/integration

  • google_cloud_integrations_v1alpha_upload_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'lib/google/apis/integrations_v1/service.rb', line 2066

def upload_project_location_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse

Uploads a test case. The content can be a previously downloaded test case. Performs the same function as CreateTestCase, but accepts input in a string format, which holds the complete representation of the TestCase content.

Parameters:

  • parent (String)

    Required. The test case to upload. Format: projects/project/locations/ location/integrations/integration/versions/integration_version

  • google_cloud_integrations_v1alpha_upload_test_case_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'lib/google/apis/integrations_v1/service.rb', line 2457

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)
  command = make_simple_command(:post, 'v1/{+parent}/testCases:upload', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_upload_test_case_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse

Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.

Parameters:

  • parent (String)

    Required. The version to upload. Format: projects/project/locations/ location/integrations/integration

  • google_cloud_integrations_v1alpha_upload_integration_version_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
# File 'lib/google/apis/integrations_v1/service.rb', line 3793

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)
  command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_project_location_template(parent, google_cloud_integrations_v1alpha_upload_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse

Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.

Parameters:

  • parent (String)

    Required. The template to upload. Format: projects/project/locations/ location

  • google_cloud_integrations_v1alpha_upload_template_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'lib/google/apis/integrations_v1/service.rb', line 4918

def upload_project_location_template(parent, google_cloud_integrations_v1alpha_upload_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/templates:upload', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_upload_template_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#use_project_location_template(name, google_cloud_integrations_v1alpha_use_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse

Use the template to create integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.

Parameters:

  • name (String)

    Required. The name that is associated with the Template.

  • google_cloud_integrations_v1alpha_use_template_request_object (Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
# File 'lib/google/apis/integrations_v1/service.rb', line 4953

def use_project_location_template(name, google_cloud_integrations_v1alpha_use_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:use', options)
  command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_use_template_request_object
  command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end