Class: Google::Apis::IntegrationsV1alpha::IntegrationsService

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

Overview

Application Integration API

Examples:

require 'google/apis/integrations_v1alpha'

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

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIntegrationsService

Returns a new instance of IntegrationsService.



45
46
47
48
49
50
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 45

def initialize
  super('https://integrations.googleapis.com/', '',
        client_name: 'google-apis-integrations_v1alpha',
        client_version: Google::Apis::IntegrationsV1alpha::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.



38
39
40
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 38

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.



43
44
45
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 43

def quota_user
  @quota_user
end

Instance Method Details

#archive_project_location_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse

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 archived is DRAFT, and if the locked_by user is not the same as the user performing the Archive. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism.

Parameters:

  • name (String)

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

  • google_cloud_integrations_v1alpha_archive_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest) (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



924
925
926
927
928
929
930
931
932
933
934
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 924

def archive_project_location_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
  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

#archive_project_location_product_integration_bundle(name, google_cloud_integrations_v1alpha_archive_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse

PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Soft-deletes the bundle.

Parameters:

  • name (String)

    Required. The bundle to archive. Format: projects/project/locations/ location/integrations/integration

  • google_cloud_integrations_v1alpha_archive_bundle_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest) (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



1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1795

def archive_project_location_product_integration_bundle(name, google_cloud_integrations_v1alpha_archive_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:archiveBundle', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_archive_bundle_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse
  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

#archive_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse

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 archived is DRAFT, and if the locked_by user is not the same as the user performing the Archive. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism.

Parameters:

  • name (String)

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

  • google_cloud_integrations_v1alpha_archive_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest) (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



2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2292

def archive_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_archive_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
  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

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

Cancellation of an execution

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::IntegrationsV1alpha::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



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

def cancel_project_location_product_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, 'v1alpha/{+name}:cancel', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



176
177
178
179
180
181
182
183
184
185
186
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 176

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, 'v1alpha/{+parent}/appsScriptProjects', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_create_apps_script_project_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



281
282
283
284
285
286
287
288
289
290
291
292
293
294
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 281

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, 'v1alpha/{+parent}/authConfigs', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, new_integration: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • 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



963
964
965
966
967
968
969
970
971
972
973
974
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 963

def create_project_location_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, new_integration: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+parent}/versions', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['parent'] = parent unless parent.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_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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1390

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, 'v1alpha/{+parent}/authConfigs', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_bundle(parent, google_cloud_integrations_v1alpha_create_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse

PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Create a bundle.

Parameters:

  • parent (String)

    Required. The location resource of the request.

  • google_cloud_integrations_v1alpha_create_bundle_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest) (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



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1286

def create_project_location_product_bundle(parent, google_cloud_integrations_v1alpha_create_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+parent}:createBundle', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_create_bundle_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse
  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_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1614

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, 'v1alpha/{+parent}/certificates', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, new_integration: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion) (defaults to: nil)
  • 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



2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2331

def create_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, new_integration: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+parent}/versions', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion
  command.params['parent'] = parent unless parent.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_integrationtemplate_version(parent, google_cloud_integrations_v1alpha_integration_template_version_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion

Creates an IntegrationTemplateVersion.

Parameters:

  • parent (String)

    Required. The parent resource where this TemplateVersion will be created. Format: projects/project/location/location/product/product/ integrationtemplates/integrationtemplate

  • google_cloud_integrations_v1alpha_integration_template_version_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion) (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



2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2791

def create_project_location_product_integrationtemplate_version(parent, google_cloud_integrations_v1alpha_integration_template_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+parent}/versions', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_template_version_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
  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(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2902

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, 'v1alpha/{+parent}/sfdcInstances', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3081

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, 'v1alpha/{+parent}/sfdcChannels', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3260

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, 'v1alpha/{+parent}/sfdcInstances', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3439

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, 'v1alpha/{+parent}/sfdcChannels', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#deactivate_project_location_integration_version(name, google_cloud_integrations_v1alpha_deactivate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse

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_deactivate_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest) (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



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1001

def deactivate_project_location_integration_version(name, google_cloud_integrations_v1alpha_deactivate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:deactivate', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
  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

#deactivate_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_deactivate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse

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_deactivate_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest) (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



2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2369

def deactivate_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_deactivate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:deactivate', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
  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_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



316
317
318
319
320
321
322
323
324
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 316

def delete_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1425

def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1646
1647
1648
1649
1650
1651
1652
1653
1654
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1646

def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



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

def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3113
3114
3115
3116
3117
3118
3119
3120
3121
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3113

def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3292
3293
3294
3295
3296
3297
3298
3299
3300
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3292

def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3471

def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#download_project_location_product_integration_version(name, file_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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.

  • 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



2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2405

def download_project_location_product_integration_version(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}:download', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
  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::IntegrationsV1alpha::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



114
115
116
117
118
119
120
121
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 114

def enumerate_connector_platform_region(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/connectorPlatformRegions:enumerate', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



695
696
697
698
699
700
701
702
703
704
705
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 695

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, 'v1alpha/{+name}:execute', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1833

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, 'v1alpha/{+name}:execute', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 82

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, 'v1alpha/callback:generateToken', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGenerateTokenResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#get_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



347
348
349
350
351
352
353
354
355
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 347

def get_project_location_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



503
504
505
506
507
508
509
510
511
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 503

def get_project_location_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_connection_connection_schema_metadata(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



534
535
536
537
538
539
540
541
542
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 534

def (name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



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

def get_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_auth_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



1456
1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1456

def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1677
1678
1679
1680
1681
1682
1683
1684
1685
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1677

def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1987
1988
1989
1990
1991
1992
1993
1994
1995
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1987

def get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecution::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2437
2438
2439
2440
2441
2442
2443
2444
2445
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2437

def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_integration_version_bundle(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse

PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to get details of the Bundle

Parameters:

  • name (String)

    Required. The bundle 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



2468
2469
2470
2471
2472
2473
2474
2475
2476
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2468

def get_project_location_product_integration_version_bundle(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}:getBundle', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse
  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_integrationtemplate_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion

Returns an IntegrationTemplateVersion in the specified project.

Parameters:

  • name (String)

    Required. The TemplateVersion to retrieve. Format: projects/project/ locations/location/products/product/integrationtemplates/ integrationtemplate/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



2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2825

def get_project_location_product_integrationtemplate_version(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
  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::IntegrationsV1alpha::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



2965
2966
2967
2968
2969
2970
2971
2972
2973
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2965

def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3144
3145
3146
3147
3148
3149
3150
3151
3152
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3144

def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3323
3324
3325
3326
3327
3328
3329
3330
3331
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3323

def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3502
3503
3504
3505
3506
3507
3508
3509
3510
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3502

def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#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::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse

  • Lifts suspension for advanced 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::IntegrationsV1alpha::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



2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2124

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, 'v1alpha/{+name}:lift', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



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

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, 'v1alpha/{+parent}/appsScriptProjects:link', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_link_apps_script_project_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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/v2/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



388
389
390
391
392
393
394
395
396
397
398
399
400
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 388

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, 'v1alpha/{+parent}/authConfigs', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_connection_runtime_action_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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



615
616
617
618
619
620
621
622
623
624
625
626
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 615

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, 'v1alpha/{+parent}/runtimeActionSchemas', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



656
657
658
659
660
661
662
663
664
665
666
667
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 656

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, 'v1alpha/{+parent}/runtimeEntitySchemas', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



573
574
575
576
577
578
579
580
581
582
583
584
585
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 573

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, 'v1alpha/{+parent}/connections', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListConnectionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_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, truncate_params: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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 all fields in EventExecutionParamIndexes table. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue, ParameterType support for HAS For example: "parameter_value" HAS \"parameter1\" Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND event_execution_state=\"FAILED\"

  • 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 "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.

  • 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.

  • 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



865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 865

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, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}/executions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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['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_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::IntegrationsV1alpha::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". 3. projects//locations/-/integrations/- Meaning: "List versions (with filter) for a client".

  • 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", "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



1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1093

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, 'v1alpha/{+parent}/versions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



744
745
746
747
748
749
750
751
752
753
754
755
756
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 744

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, 'v1alpha/{+parent}/integrations', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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/v2/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



1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1497

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, 'v1alpha/{+parent}/authConfigs', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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/v2/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



1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1718

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, 'v1alpha/{+parent}/certificates', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2166

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, 'v1alpha/{+parent}/suspensions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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, truncate_params: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::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 all fields in EventExecutionParamIndexes table. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue, ParameterType support for HAS For example: "parameter_value" HAS \"parameter1\" Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND event_execution_state=\"FAILED\"

  • 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 "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.

  • 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.

  • 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



2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2070

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, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}/executions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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['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_executionsnapshots(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse

Lists the snapshots of a given integration executions. This RPC is not being used.

Parameters:

  • parent (String)

    Required. The parent resource name of the integration execution.

  • filter (String) (defaults to: nil)

    Currently supports filter by execution_info_id or execution_snapshot_id.

  • page_size (Fixnum) (defaults to: nil)

    Number of entries to be returned in a page.

  • page_token (String) (defaults to: nil)

    The token used to retrieve the next page results.

  • read_mask (String) (defaults to: nil)

    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 snapshot will be filled and returned.

  • 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



2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2248

def list_project_location_product_integration_executionsnapshots(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}/executionsnapshots', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse
  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_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::IntegrationsV1alpha::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". 3. projects//locations/-/integrations/- Meaning: "List versions (with filter) for a client".

  • 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", "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



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

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, 'v1alpha/{+parent}/versions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1882

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, 'v1alpha/{+parent}/integrations', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_integrationtemplate_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse

Returns the list of all IntegrationTemplateVersions in the specified project.

Parameters:

  • parent (String)

    Required. Format: projects/project/location/location/product/product/ integrationtemplates/integrationtemplate

  • filter (String) (defaults to: nil)

    Filter syntax: defined in the EBNF grammar.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of IntegrationTemplateVersions 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 ListIntegrationTemplateVersions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListIntegrationTemplateVersions 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



2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2867

def list_project_location_product_integrationtemplate_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}/versions', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse
  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_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::IntegrationsV1alpha::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/v2/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



3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3185

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, 'v1alpha/{+parent}/sfdcChannels', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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/v2/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



3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3006

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, 'v1alpha/{+parent}/sfdcInstances', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_product_task_entities(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse

This is a UI only method and will be moved away. Returns a list of common tasks.

Parameters:

  • parent (String)

    Required. The location resource of the request. This is not going to be used but preserve the field for future.

  • 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



1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1320

def list_project_location_product_task_entities(parent, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}:listTaskEntities', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
  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_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::IntegrationsV1alpha::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/v2/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



3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3543

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, 'v1alpha/{+parent}/sfdcChannels', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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/v2/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



3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3364

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, 'v1alpha/{+parent}/sfdcInstances', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_task_entities(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse

This is a UI only method and will be moved away. Returns a list of common tasks.

Parameters:

  • parent (String)

    Required. The location resource of the request. This is not going to be used but preserve the field for future.

  • 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_v1alpha/service.rb', line 145

def list_project_location_task_entities(parent, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha/{+parent}:listTaskEntities', options)
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
  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

#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::IntegrationsV1alpha::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 SFDC instance projects/project/locations/location/ authConfigs/authConfig.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1alpha::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



466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 466

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1132

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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_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::IntegrationsV1alpha::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 SFDC instance projects/project/locations/location/ authConfigs/authConfig.

  • google_cloud_integrations_v1alpha_auth_config_object (Google::Apis::IntegrationsV1alpha::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



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1575

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.request_object = google_cloud_integrations_v1alpha_auth_config_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1759

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.request_object = google_cloud_integrations_v1alpha_certificate_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2566

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.request_object = google_cloud_integrations_v1alpha_integration_version_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3046

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3225

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3404

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 3583

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, 'v1alpha/{+name}', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1172

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, 'v1alpha/{+name}:publish', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2606

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, 'v1alpha/{+name}:publish', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2205

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, 'v1alpha/{+name}:resolve', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



780
781
782
783
784
785
786
787
788
789
790
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 780

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, 'v1alpha/{+name}:schedule', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1918

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, 'v1alpha/{+name}:schedule', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#takeover_project_location_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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1216

def takeover_project_location_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, 'v1alpha/{+integrationVersion}:takeoverEditLock', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2650

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, 'v1alpha/{+integrationVersion}:takeoverEditLock', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#update_project_location_product_integration_version_bundle(name, google_cloud_integrations_v1alpha_update_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse

THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle

Parameters:

  • name (String)

    Required. Bundle name

  • google_cloud_integrations_v1alpha_update_bundle_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleRequest) (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



2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2683

def update_project_location_product_integration_version_bundle(name, google_cloud_integrations_v1alpha_update_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha/{+name}:updateBundle', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_update_bundle_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse
  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_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::IntegrationsV1alpha::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::IntegrationsV1alpha::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



2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2720

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, 'v1alpha/{+parent}/versions:upload', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::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

#validate_project_location_integration_version(name, google_cloud_integrations_v1alpha_validate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse

Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.

Parameters:

  • name (String)

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

  • google_cloud_integrations_v1alpha_validate_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest) (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



1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 1252

def validate_project_location_integration_version(name, google_cloud_integrations_v1alpha_validate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:validate', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_validate_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse
  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

#validate_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_validate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse

Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.

Parameters:

  • name (String)

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

  • google_cloud_integrations_v1alpha_validate_integration_version_request_object (Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest) (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



2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
# File 'lib/google/apis/integrations_v1alpha/service.rb', line 2756

def validate_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_validate_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha/{+name}:validate', options)
  command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest::Representation
  command.request_object = google_cloud_integrations_v1alpha_validate_integration_version_request_object
  command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse::Representation
  command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse
  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