google-apis-integrations_v1alpha 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12bb0f0a6abd2350b015815aa81890e8122c75e708fee2511ae9e2694ae9a073
4
- data.tar.gz: ed547cc9ec7fcd65a3cefb6d35e0b5e7d14887c70d3e9a9087170823ce15df4b
3
+ metadata.gz: 51e1a8a6dfaaf1736ed87004a80a11541b4948b25795df45e55031ff931fa219
4
+ data.tar.gz: a013c74dbc73e00f308692184e1dd1efeb1528fabba059681a185884987bd85e
5
5
  SHA512:
6
- metadata.gz: 06cccc0fe14b4fa4e886054f2dfca6f54a6d2e20ef6c01e4608471645211feac9f67019f7081d370207fce83215b2c778058082d61dc6925d76d945090d95b0e
7
- data.tar.gz: ce4c9c7e4c9e78cb33b90f29f7fa70c4da5b24336220fe536d4b63369cff18fd9bd07a4f35553a7c4c9c016f4e40023812e199f7562113c7280a4015a3b8ed6b
6
+ metadata.gz: cd9ab2688e990ddecfcdcebfdb01f81c2b68cc13c288984df5b691e5fa88aeb9c9067c6acd3ec1aa41bcff5837e661c3f168741253bf7ce5529bba09e4494542
7
+ data.tar.gz: ed71a6c098396f8de4b5aee6256d6acd597230f02cee53f3952f4496ab661ddabb92af8183462bbf6694f1b034ba887e2a287ab78028a8096b61caacd2034ac1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-integrations_v1alpha
2
2
 
3
+ ### v0.6.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230110
6
+
3
7
  ### v0.5.0 (2023-01-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230103
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IntegrationsV1alpha
18
18
  # Version of the google-apis-integrations_v1alpha gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230103"
25
+ REVISION = "20230110"
26
26
  end
27
27
  end
28
28
  end
@@ -891,6 +891,124 @@ module Google
891
891
  execute_or_queue_command(command, &block)
892
892
  end
893
893
 
894
+ # * Lifts suspension for advanced suspension task. Fetch corresponding
895
+ # suspension with provided suspension Id, resolve suspension, and set up
896
+ # suspension result for the Suspension Task.
897
+ # @param [String] name
898
+ # Required. The resource that the suspension belongs to. "projects/`project`/
899
+ # locations/`location`/products/`product`/integrations/`integration`/executions/`
900
+ # execution`/suspensions/`suspenion`" format.
901
+ # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest] google_cloud_integrations_v1alpha_lift_suspension_request_object
902
+ # @param [String] fields
903
+ # Selector specifying which fields to include in a partial response.
904
+ # @param [String] quota_user
905
+ # Available to use for quota purposes for server-side applications. Can be any
906
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
907
+ # @param [Google::Apis::RequestOptions] options
908
+ # Request-specific options
909
+ #
910
+ # @yield [result, err] Result & error if block supplied
911
+ # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] parsed result object
912
+ # @yieldparam err [StandardError] error object if request failed
913
+ #
914
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse]
915
+ #
916
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
917
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
918
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
919
+ def lift_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
920
+ command = make_simple_command(:post, 'v1alpha/{+name}:lift', options)
921
+ command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation
922
+ command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object
923
+ command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation
924
+ command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
925
+ command.params['name'] = name unless name.nil?
926
+ command.query['fields'] = fields unless fields.nil?
927
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
928
+ execute_or_queue_command(command, &block)
929
+ end
930
+
931
+ # * Lists suspensions associated with a specific execution. Only those with
932
+ # permissions to resolve the relevant suspensions will be able to view them.
933
+ # @param [String] parent
934
+ # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
935
+ # integrations/`integration_name`/executions/`execution_name`
936
+ # @param [String] filter
937
+ # Standard filter field.
938
+ # @param [String] order_by
939
+ # Field name to order by.
940
+ # @param [Fixnum] page_size
941
+ # Maximum number of entries in the response.
942
+ # @param [String] page_token
943
+ # Token to retrieve a specific page.
944
+ # @param [String] fields
945
+ # Selector specifying which fields to include in a partial response.
946
+ # @param [String] quota_user
947
+ # Available to use for quota purposes for server-side applications. Can be any
948
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
949
+ # @param [Google::Apis::RequestOptions] options
950
+ # Request-specific options
951
+ #
952
+ # @yield [result, err] Result & error if block supplied
953
+ # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] parsed result object
954
+ # @yieldparam err [StandardError] error object if request failed
955
+ #
956
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse]
957
+ #
958
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
959
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
960
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
961
+ def list_project_location_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
962
+ command = make_simple_command(:get, 'v1alpha/{+parent}/suspensions', options)
963
+ command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation
964
+ command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse
965
+ command.params['parent'] = parent unless parent.nil?
966
+ command.query['filter'] = filter unless filter.nil?
967
+ command.query['orderBy'] = order_by unless order_by.nil?
968
+ command.query['pageSize'] = page_size unless page_size.nil?
969
+ command.query['pageToken'] = page_token unless page_token.nil?
970
+ command.query['fields'] = fields unless fields.nil?
971
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
972
+ execute_or_queue_command(command, &block)
973
+ end
974
+
975
+ # * Resolves (lifts/rejects) any number of suspensions. If the integration is
976
+ # already running, only the status of the suspension is updated. Otherwise, the
977
+ # suspended integration will begin execution again.
978
+ # @param [String] name
979
+ # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/
980
+ # integrations/`integration_name`/executions/`execution_name`/suspensions/`
981
+ # suspension_id`
982
+ # @param [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest] google_cloud_integrations_v1alpha_resolve_suspension_request_object
983
+ # @param [String] fields
984
+ # Selector specifying which fields to include in a partial response.
985
+ # @param [String] quota_user
986
+ # Available to use for quota purposes for server-side applications. Can be any
987
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
988
+ # @param [Google::Apis::RequestOptions] options
989
+ # Request-specific options
990
+ #
991
+ # @yield [result, err] Result & error if block supplied
992
+ # @yieldparam result [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] parsed result object
993
+ # @yieldparam err [StandardError] error object if request failed
994
+ #
995
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse]
996
+ #
997
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
998
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
999
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1000
+ def resolve_project_location_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1001
+ command = make_simple_command(:post, 'v1alpha/{+name}:resolve', options)
1002
+ command.request_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation
1003
+ command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object
1004
+ command.response_representation = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation
1005
+ command.response_class = Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse
1006
+ command.params['name'] = name unless name.nil?
1007
+ command.query['fields'] = fields unless fields.nil?
1008
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1009
+ execute_or_queue_command(command, &block)
1010
+ end
1011
+
894
1012
  # Soft-deletes the integration. Changes the status of the integration to
895
1013
  # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
896
1014
  # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
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.5.0
4
+ version: 0.6.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-08 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.6.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: []