google-apis-integrations_v1alpha 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,38 +120,6 @@ module Google
120
120
  execute_or_queue_command(command, &block)
121
121
  end
122
122
 
123
- # This is a UI only method and will be moved away. Returns a list of common
124
- # tasks.
125
- # @param [String] parent
126
- # Required. The location resource of the request. This is not going to be used
127
- # but preserve the field for future.
128
- # @param [String] fields
129
- # Selector specifying which fields to include in a partial response.
130
- # @param [String] quota_user
131
- # Available to use for quota purposes for server-side applications. Can be any
132
- # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [Google::Apis::RequestOptions] options
134
- # Request-specific options
135
- #
136
- # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse] parsed result object
138
- # @yieldparam err [StandardError] error object if request failed
139
- #
140
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse]
141
- #
142
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
- # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def list_project_location_task_entities(parent, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:get, 'v1alpha/{+parent}:listTaskEntities', options)
147
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse::Representation
148
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
149
- command.params['parent'] = parent unless parent.nil?
150
- command.query['fields'] = fields unless fields.nil?
151
- command.query['quotaUser'] = quota_user unless quota_user.nil?
152
- execute_or_queue_command(command, &block)
153
- end
154
-
155
123
  # Creates an Apps Script project.
156
124
  # @param [String] parent
157
125
  # Required. The project that the executed integration belongs to.
@@ -1039,48 +1007,6 @@ module Google
1039
1007
  execute_or_queue_command(command, &block)
1040
1008
  end
1041
1009
 
1042
- # Soft-deletes the integration. Changes the status of the integration to
1043
- # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
1044
- # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
1045
- # PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
1046
- # exception if the version being archived is DRAFT, and if the `locked_by` user
1047
- # is not the same as the user performing the Archive. Audit fields updated
1048
- # include last_modified_timestamp, last_modified_by. Any existing lock is
1049
- # released when Archiving a integration. Currently, there is no unarchive
1050
- # mechanism.
1051
- # @param [String] name
1052
- # Required. The version to archive. Format: projects/`project`/locations/`
1053
- # location`/integrations/`integration`/versions/`version`
1054
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
1055
- # @param [String] fields
1056
- # Selector specifying which fields to include in a partial response.
1057
- # @param [String] quota_user
1058
- # Available to use for quota purposes for server-side applications. Can be any
1059
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1060
- # @param [Google::Apis::RequestOptions] options
1061
- # Request-specific options
1062
- #
1063
- # @yield [result, err] Result & error if block supplied
1064
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse] parsed result object
1065
- # @yieldparam err [StandardError] error object if request failed
1066
- #
1067
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse]
1068
- #
1069
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1070
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1071
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1072
- 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)
1073
- command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
1074
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
1075
- command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
1076
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
1077
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
1078
- command.params['name'] = name unless name.nil?
1079
- command.query['fields'] = fields unless fields.nil?
1080
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1081
- execute_or_queue_command(command, &block)
1082
- end
1083
-
1084
1010
  # Create a integration with a draft version in the specified project.
1085
1011
  # @param [String] parent
1086
1012
  # Required. The parent resource where this version will be created. Format:
@@ -1121,43 +1047,6 @@ module Google
1121
1047
  execute_or_queue_command(command, &block)
1122
1048
  end
1123
1049
 
1124
- # Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
1125
- # PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
1126
- # tags do not change. This RPC throws an exception if the version being snapshot
1127
- # is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
1128
- # @param [String] name
1129
- # Required. The version to deactivate. Format: projects/`project`/locations/`
1130
- # location`/integrations/`integration`/versions/`version`
1131
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest] google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
1132
- # @param [String] fields
1133
- # Selector specifying which fields to include in a partial response.
1134
- # @param [String] quota_user
1135
- # Available to use for quota purposes for server-side applications. Can be any
1136
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1137
- # @param [Google::Apis::RequestOptions] options
1138
- # Request-specific options
1139
- #
1140
- # @yield [result, err] Result & error if block supplied
1141
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse] parsed result object
1142
- # @yieldparam err [StandardError] error object if request failed
1143
- #
1144
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse]
1145
- #
1146
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1147
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1148
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1149
- 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)
1150
- command = make_simple_command(:post, 'v1alpha/{+name}:deactivate', options)
1151
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest::Representation
1152
- command.request_object = google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
1153
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
1154
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
1155
- command.params['name'] = name unless name.nil?
1156
- command.query['fields'] = fields unless fields.nil?
1157
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1158
- execute_or_queue_command(command, &block)
1159
- end
1160
-
1161
1050
  # Soft-deletes the integration. Changes the status of the integration to
1162
1051
  # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
1163
1052
  # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
@@ -1521,108 +1410,6 @@ module Google
1521
1410
  execute_or_queue_command(command, &block)
1522
1411
  end
1523
1412
 
1524
- # Validates the given integration. If the id doesn't exist, a NotFoundException
1525
- # is thrown. If validation fails a CanonicalCodeException is thrown. If there
1526
- # was no failure an empty response is returned.
1527
- # @param [String] name
1528
- # Required. The version to validate. Format: projects/`project`/locations/`
1529
- # location`/integrations/`integration`/versions/`version`
1530
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest] google_cloud_integrations_v1alpha_validate_integration_version_request_object
1531
- # @param [String] fields
1532
- # Selector specifying which fields to include in a partial response.
1533
- # @param [String] quota_user
1534
- # Available to use for quota purposes for server-side applications. Can be any
1535
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1536
- # @param [Google::Apis::RequestOptions] options
1537
- # Request-specific options
1538
- #
1539
- # @yield [result, err] Result & error if block supplied
1540
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse] parsed result object
1541
- # @yieldparam err [StandardError] error object if request failed
1542
- #
1543
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse]
1544
- #
1545
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1546
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1547
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1548
- 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)
1549
- command = make_simple_command(:post, 'v1alpha/{+name}:validate', options)
1550
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest::Representation
1551
- command.request_object = google_cloud_integrations_v1alpha_validate_integration_version_request_object
1552
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse::Representation
1553
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse
1554
- command.params['name'] = name unless name.nil?
1555
- command.query['fields'] = fields unless fields.nil?
1556
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1557
- execute_or_queue_command(command, &block)
1558
- end
1559
-
1560
- # PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE
1561
- # SERVICE. Create a bundle.
1562
- # @param [String] parent
1563
- # Required. The location resource of the request.
1564
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest] google_cloud_integrations_v1alpha_create_bundle_request_object
1565
- # @param [String] fields
1566
- # Selector specifying which fields to include in a partial response.
1567
- # @param [String] quota_user
1568
- # Available to use for quota purposes for server-side applications. Can be any
1569
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1570
- # @param [Google::Apis::RequestOptions] options
1571
- # Request-specific options
1572
- #
1573
- # @yield [result, err] Result & error if block supplied
1574
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse] parsed result object
1575
- # @yieldparam err [StandardError] error object if request failed
1576
- #
1577
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse]
1578
- #
1579
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1580
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1581
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1582
- def create_project_location_product_bundle(parent, google_cloud_integrations_v1alpha_create_bundle_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1583
- command = make_simple_command(:post, 'v1alpha/{+parent}:createBundle', options)
1584
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest::Representation
1585
- command.request_object = google_cloud_integrations_v1alpha_create_bundle_request_object
1586
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse::Representation
1587
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleResponse
1588
- command.params['parent'] = parent unless parent.nil?
1589
- command.query['fields'] = fields unless fields.nil?
1590
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1591
- execute_or_queue_command(command, &block)
1592
- end
1593
-
1594
- # This is a UI only method and will be moved away. Returns a list of common
1595
- # tasks.
1596
- # @param [String] parent
1597
- # Required. The location resource of the request. This is not going to be used
1598
- # but preserve the field for future.
1599
- # @param [String] fields
1600
- # Selector specifying which fields to include in a partial response.
1601
- # @param [String] quota_user
1602
- # Available to use for quota purposes for server-side applications. Can be any
1603
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1604
- # @param [Google::Apis::RequestOptions] options
1605
- # Request-specific options
1606
- #
1607
- # @yield [result, err] Result & error if block supplied
1608
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse] parsed result object
1609
- # @yieldparam err [StandardError] error object if request failed
1610
- #
1611
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse]
1612
- #
1613
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1614
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1615
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1616
- def list_project_location_product_task_entities(parent, fields: nil, quota_user: nil, options: nil, &block)
1617
- command = make_simple_command(:get, 'v1alpha/{+parent}:listTaskEntities', options)
1618
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse::Representation
1619
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
1620
- command.params['parent'] = parent unless parent.nil?
1621
- command.query['fields'] = fields unless fields.nil?
1622
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1623
- execute_or_queue_command(command, &block)
1624
- end
1625
-
1626
1413
  # Creates an auth config record. Fetch corresponding credentials for specific
1627
1414
  # auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the
1628
1415
  # auth config with Cloud KMS and store the encrypted credentials in Spanner.
@@ -2065,41 +1852,6 @@ module Google
2065
1852
  execute_or_queue_command(command, &block)
2066
1853
  end
2067
1854
 
2068
- # PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE
2069
- # SERVICE. Soft-deletes the bundle.
2070
- # @param [String] name
2071
- # Required. The bundle to archive. Format: projects/`project`/locations/`
2072
- # location`/integrations/`integration`
2073
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest] google_cloud_integrations_v1alpha_archive_bundle_request_object
2074
- # @param [String] fields
2075
- # Selector specifying which fields to include in a partial response.
2076
- # @param [String] quota_user
2077
- # Available to use for quota purposes for server-side applications. Can be any
2078
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2079
- # @param [Google::Apis::RequestOptions] options
2080
- # Request-specific options
2081
- #
2082
- # @yield [result, err] Result & error if block supplied
2083
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse] parsed result object
2084
- # @yieldparam err [StandardError] error object if request failed
2085
- #
2086
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse]
2087
- #
2088
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2089
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2090
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2091
- 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)
2092
- command = make_simple_command(:post, 'v1alpha/{+name}:archiveBundle', options)
2093
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleRequest::Representation
2094
- command.request_object = google_cloud_integrations_v1alpha_archive_bundle_request_object
2095
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse::Representation
2096
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveBundleResponse
2097
- command.params['name'] = name unless name.nil?
2098
- command.query['fields'] = fields unless fields.nil?
2099
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2100
- execute_or_queue_command(command, &block)
2101
- end
2102
-
2103
1855
  # Executes integrations synchronously by passing the trigger id in the request
2104
1856
  # body. The request is not returned until the requested executions are either
2105
1857
  # fulfilled or experienced an error. If the integration name is not specified (
@@ -2510,93 +2262,6 @@ module Google
2510
2262
  execute_or_queue_command(command, &block)
2511
2263
  end
2512
2264
 
2513
- # Lists the snapshots of a given integration executions. This RPC is not being
2514
- # used.
2515
- # @param [String] parent
2516
- # Required. The parent resource name of the integration execution.
2517
- # @param [String] filter
2518
- # Currently supports filter by `execution_info_id` or `execution_snapshot_id`.
2519
- # @param [Fixnum] page_size
2520
- # Number of entries to be returned in a page.
2521
- # @param [String] page_token
2522
- # The token used to retrieve the next page results.
2523
- # @param [String] read_mask
2524
- # View mask for the response data. If set, only the field specified will be
2525
- # returned as part of the result. If not set, all fields in event execution
2526
- # snapshot will be filled and returned.
2527
- # @param [String] fields
2528
- # Selector specifying which fields to include in a partial response.
2529
- # @param [String] quota_user
2530
- # Available to use for quota purposes for server-side applications. Can be any
2531
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2532
- # @param [Google::Apis::RequestOptions] options
2533
- # Request-specific options
2534
- #
2535
- # @yield [result, err] Result & error if block supplied
2536
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse] parsed result object
2537
- # @yieldparam err [StandardError] error object if request failed
2538
- #
2539
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse]
2540
- #
2541
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2542
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2543
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2544
- 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)
2545
- command = make_simple_command(:get, 'v1alpha/{+parent}/executionsnapshots', options)
2546
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse::Representation
2547
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse
2548
- command.params['parent'] = parent unless parent.nil?
2549
- command.query['filter'] = filter unless filter.nil?
2550
- command.query['pageSize'] = page_size unless page_size.nil?
2551
- command.query['pageToken'] = page_token unless page_token.nil?
2552
- command.query['readMask'] = read_mask unless read_mask.nil?
2553
- command.query['fields'] = fields unless fields.nil?
2554
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2555
- execute_or_queue_command(command, &block)
2556
- end
2557
-
2558
- # Soft-deletes the integration. Changes the status of the integration to
2559
- # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
2560
- # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
2561
- # PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
2562
- # exception if the version being archived is DRAFT, and if the `locked_by` user
2563
- # is not the same as the user performing the Archive. Audit fields updated
2564
- # include last_modified_timestamp, last_modified_by. Any existing lock is
2565
- # released when Archiving a integration. Currently, there is no unarchive
2566
- # mechanism.
2567
- # @param [String] name
2568
- # Required. The version to archive. Format: projects/`project`/locations/`
2569
- # location`/integrations/`integration`/versions/`version`
2570
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
2571
- # @param [String] fields
2572
- # Selector specifying which fields to include in a partial response.
2573
- # @param [String] quota_user
2574
- # Available to use for quota purposes for server-side applications. Can be any
2575
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2576
- # @param [Google::Apis::RequestOptions] options
2577
- # Request-specific options
2578
- #
2579
- # @yield [result, err] Result & error if block supplied
2580
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse] parsed result object
2581
- # @yieldparam err [StandardError] error object if request failed
2582
- #
2583
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse]
2584
- #
2585
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2586
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2587
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2588
- 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)
2589
- command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
2590
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest::Representation
2591
- command.request_object = google_cloud_integrations_v1alpha_archive_integration_version_request_object
2592
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
2593
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
2594
- command.params['name'] = name unless name.nil?
2595
- command.query['fields'] = fields unless fields.nil?
2596
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2597
- execute_or_queue_command(command, &block)
2598
- end
2599
-
2600
2265
  # Create a integration with a draft version in the specified project.
2601
2266
  # @param [String] parent
2602
2267
  # Required. The parent resource where this version will be created. Format:
@@ -2637,43 +2302,6 @@ module Google
2637
2302
  execute_or_queue_command(command, &block)
2638
2303
  end
2639
2304
 
2640
- # Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
2641
- # PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
2642
- # tags do not change. This RPC throws an exception if the version being snapshot
2643
- # is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
2644
- # @param [String] name
2645
- # Required. The version to deactivate. Format: projects/`project`/locations/`
2646
- # location`/integrations/`integration`/versions/`version`
2647
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest] google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
2648
- # @param [String] fields
2649
- # Selector specifying which fields to include in a partial response.
2650
- # @param [String] quota_user
2651
- # Available to use for quota purposes for server-side applications. Can be any
2652
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2653
- # @param [Google::Apis::RequestOptions] options
2654
- # Request-specific options
2655
- #
2656
- # @yield [result, err] Result & error if block supplied
2657
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse] parsed result object
2658
- # @yieldparam err [StandardError] error object if request failed
2659
- #
2660
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse]
2661
- #
2662
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2663
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2664
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2665
- 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)
2666
- command = make_simple_command(:post, 'v1alpha/{+name}:deactivate', options)
2667
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest::Representation
2668
- command.request_object = google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
2669
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
2670
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
2671
- command.params['name'] = name unless name.nil?
2672
- command.query['fields'] = fields unless fields.nil?
2673
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2674
- execute_or_queue_command(command, &block)
2675
- end
2676
-
2677
2305
  # Soft-deletes the integration. Changes the status of the integration to
2678
2306
  # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
2679
2307
  # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
@@ -2779,37 +2407,6 @@ module Google
2779
2407
  execute_or_queue_command(command, &block)
2780
2408
  end
2781
2409
 
2782
- # PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE
2783
- # SERVICE. RPC to get details of the Bundle
2784
- # @param [String] name
2785
- # Required. The bundle name.
2786
- # @param [String] fields
2787
- # Selector specifying which fields to include in a partial response.
2788
- # @param [String] quota_user
2789
- # Available to use for quota purposes for server-side applications. Can be any
2790
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2791
- # @param [Google::Apis::RequestOptions] options
2792
- # Request-specific options
2793
- #
2794
- # @yield [result, err] Result & error if block supplied
2795
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse] parsed result object
2796
- # @yieldparam err [StandardError] error object if request failed
2797
- #
2798
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse]
2799
- #
2800
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2801
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2802
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2803
- def get_project_location_product_integration_version_bundle(name, fields: nil, quota_user: nil, options: nil, &block)
2804
- command = make_simple_command(:get, 'v1alpha/{+name}:getBundle', options)
2805
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse::Representation
2806
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaGetBundleResponse
2807
- command.params['name'] = name unless name.nil?
2808
- command.query['fields'] = fields unless fields.nil?
2809
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2810
- execute_or_queue_command(command, &block)
2811
- end
2812
-
2813
2410
  # Returns the list of all integration versions in the specified project.
2814
2411
  # @param [String] parent
2815
2412
  # Required. The parent resource where this version will be created. Format:
@@ -3031,39 +2628,6 @@ module Google
3031
2628
  execute_or_queue_command(command, &block)
3032
2629
  end
3033
2630
 
3034
- # THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle
3035
- # @param [String] name
3036
- # Required. Bundle name
3037
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleRequest] google_cloud_integrations_v1alpha_update_bundle_request_object
3038
- # @param [String] fields
3039
- # Selector specifying which fields to include in a partial response.
3040
- # @param [String] quota_user
3041
- # Available to use for quota purposes for server-side applications. Can be any
3042
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3043
- # @param [Google::Apis::RequestOptions] options
3044
- # Request-specific options
3045
- #
3046
- # @yield [result, err] Result & error if block supplied
3047
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse] parsed result object
3048
- # @yieldparam err [StandardError] error object if request failed
3049
- #
3050
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse]
3051
- #
3052
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3053
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3054
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3055
- 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)
3056
- command = make_simple_command(:patch, 'v1alpha/{+name}:updateBundle', options)
3057
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleRequest::Representation
3058
- command.request_object = google_cloud_integrations_v1alpha_update_bundle_request_object
3059
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse::Representation
3060
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUpdateBundleResponse
3061
- command.params['name'] = name unless name.nil?
3062
- command.query['fields'] = fields unless fields.nil?
3063
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3064
- execute_or_queue_command(command, &block)
3065
- end
3066
-
3067
2631
  # Uploads an integration. The content can be a previously downloaded integration.
3068
2632
  # Performs the same function as CreateDraftIntegrationVersion, but accepts
3069
2633
  # input in a string format, which holds the complete representation of the
@@ -3101,42 +2665,6 @@ module Google
3101
2665
  execute_or_queue_command(command, &block)
3102
2666
  end
3103
2667
 
3104
- # Validates the given integration. If the id doesn't exist, a NotFoundException
3105
- # is thrown. If validation fails a CanonicalCodeException is thrown. If there
3106
- # was no failure an empty response is returned.
3107
- # @param [String] name
3108
- # Required. The version to validate. Format: projects/`project`/locations/`
3109
- # location`/integrations/`integration`/versions/`version`
3110
- # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest] google_cloud_integrations_v1alpha_validate_integration_version_request_object
3111
- # @param [String] fields
3112
- # Selector specifying which fields to include in a partial response.
3113
- # @param [String] quota_user
3114
- # Available to use for quota purposes for server-side applications. Can be any
3115
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3116
- # @param [Google::Apis::RequestOptions] options
3117
- # Request-specific options
3118
- #
3119
- # @yield [result, err] Result & error if block supplied
3120
- # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse] parsed result object
3121
- # @yieldparam err [StandardError] error object if request failed
3122
- #
3123
- # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse]
3124
- #
3125
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3126
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3127
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3128
- def 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)
3129
- command = make_simple_command(:post, 'v1alpha/{+name}:validate', options)
3130
- command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest::Representation
3131
- command.request_object = google_cloud_integrations_v1alpha_validate_integration_version_request_object
3132
- command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse::Representation
3133
- command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse
3134
- command.params['name'] = name unless name.nil?
3135
- command.query['fields'] = fields unless fields.nil?
3136
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3137
- execute_or_queue_command(command, &block)
3138
- end
3139
-
3140
2668
  # Creates an IntegrationTemplateVersion.
3141
2669
  # @param [String] parent
3142
2670
  # Required. The parent resource where this TemplateVersion will be created.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-integrations_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-22 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []