google-apis-connectors_v1 0.71.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -493,8 +493,11 @@ module Google
|
|
493
493
|
# locations/`location`/connections/`connection`
|
494
494
|
# @param [Google::Apis::ConnectorsV1::Connection] connection_object
|
495
495
|
# @param [String] update_mask
|
496
|
-
# Required.
|
497
|
-
# connection
|
496
|
+
# Required. The list of fields to update. Fields are specified relative to the
|
497
|
+
# connection. A field will be overwritten if it is in the mask. The field mask
|
498
|
+
# must not be empty, and it must not contain fields that are immutable or only
|
499
|
+
# set by the server. You can modify only the fields listed below. To lock/unlock
|
500
|
+
# a connection: * `lock_config` To suspend/resume a connection: * `suspended` To
|
498
501
|
# update the connection details: * `description` * `labels` * `connector_version`
|
499
502
|
# * `config_variables` * `auth_config` * `destination_configs` * `node_config` *
|
500
503
|
# `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` *
|
@@ -866,6 +869,192 @@ module Google
|
|
866
869
|
execute_or_queue_command(command, &block)
|
867
870
|
end
|
868
871
|
|
872
|
+
# Creates a new EndUserAuthentication in a given project,location and connection.
|
873
|
+
# @param [String] parent
|
874
|
+
# Required. Parent resource of the EndUserAuthentication, of the form: `projects/
|
875
|
+
# */locations/*/connections/*`
|
876
|
+
# @param [Google::Apis::ConnectorsV1::EndUserAuthentication] end_user_authentication_object
|
877
|
+
# @param [String] end_user_authentication_id
|
878
|
+
# Required. Identifier to assign to the EndUserAuthentication. Must be unique
|
879
|
+
# within scope of the parent resource.
|
880
|
+
# @param [String] fields
|
881
|
+
# Selector specifying which fields to include in a partial response.
|
882
|
+
# @param [String] quota_user
|
883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
885
|
+
# @param [Google::Apis::RequestOptions] options
|
886
|
+
# Request-specific options
|
887
|
+
#
|
888
|
+
# @yield [result, err] Result & error if block supplied
|
889
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
890
|
+
# @yieldparam err [StandardError] error object if request failed
|
891
|
+
#
|
892
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
893
|
+
#
|
894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
897
|
+
def create_project_location_connection_end_user_authentication(parent, end_user_authentication_object = nil, end_user_authentication_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
898
|
+
command = make_simple_command(:post, 'v1/{+parent}/endUserAuthentications', options)
|
899
|
+
command.request_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
900
|
+
command.request_object = end_user_authentication_object
|
901
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
902
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
903
|
+
command.params['parent'] = parent unless parent.nil?
|
904
|
+
command.query['endUserAuthenticationId'] = end_user_authentication_id unless end_user_authentication_id.nil?
|
905
|
+
command.query['fields'] = fields unless fields.nil?
|
906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
907
|
+
execute_or_queue_command(command, &block)
|
908
|
+
end
|
909
|
+
|
910
|
+
# Deletes a single EndUserAuthentication.
|
911
|
+
# @param [String] name
|
912
|
+
# Required. Resource name of the form: `projects/*/locations/*/connections/*/
|
913
|
+
# endUserAuthentication/*`
|
914
|
+
# @param [String] fields
|
915
|
+
# Selector specifying which fields to include in a partial response.
|
916
|
+
# @param [String] quota_user
|
917
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
918
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
919
|
+
# @param [Google::Apis::RequestOptions] options
|
920
|
+
# Request-specific options
|
921
|
+
#
|
922
|
+
# @yield [result, err] Result & error if block supplied
|
923
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
924
|
+
# @yieldparam err [StandardError] error object if request failed
|
925
|
+
#
|
926
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
927
|
+
#
|
928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
931
|
+
def delete_project_location_connection_end_user_authentication(name, fields: nil, quota_user: nil, options: nil, &block)
|
932
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
933
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
934
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
935
|
+
command.params['name'] = name unless name.nil?
|
936
|
+
command.query['fields'] = fields unless fields.nil?
|
937
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
938
|
+
execute_or_queue_command(command, &block)
|
939
|
+
end
|
940
|
+
|
941
|
+
# Gets details of a single EndUserAuthentication.
|
942
|
+
# @param [String] name
|
943
|
+
# Required. Resource name of the form: `projects/*/locations/*/connections/*/
|
944
|
+
# EndUserAuthentications/*`
|
945
|
+
# @param [String] view
|
946
|
+
# Optional. View of the EndUserAuthentication to return.
|
947
|
+
# @param [String] fields
|
948
|
+
# Selector specifying which fields to include in a partial response.
|
949
|
+
# @param [String] quota_user
|
950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
952
|
+
# @param [Google::Apis::RequestOptions] options
|
953
|
+
# Request-specific options
|
954
|
+
#
|
955
|
+
# @yield [result, err] Result & error if block supplied
|
956
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::EndUserAuthentication] parsed result object
|
957
|
+
# @yieldparam err [StandardError] error object if request failed
|
958
|
+
#
|
959
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthentication]
|
960
|
+
#
|
961
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
962
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
963
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
964
|
+
def get_project_location_connection_end_user_authentication(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
965
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
966
|
+
command.response_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
967
|
+
command.response_class = Google::Apis::ConnectorsV1::EndUserAuthentication
|
968
|
+
command.params['name'] = name unless name.nil?
|
969
|
+
command.query['view'] = view unless view.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
|
+
# List EndUserAuthentications in a given project,location and connection.
|
976
|
+
# @param [String] parent
|
977
|
+
# Required. Parent resource of the EndUserAuthentication, of the form: `projects/
|
978
|
+
# */locations/*/connections/*`
|
979
|
+
# @param [String] filter
|
980
|
+
# Filter.
|
981
|
+
# @param [String] order_by
|
982
|
+
# Order by parameters.
|
983
|
+
# @param [Fixnum] page_size
|
984
|
+
# Page size.
|
985
|
+
# @param [String] page_token
|
986
|
+
# Page token.
|
987
|
+
# @param [String] fields
|
988
|
+
# Selector specifying which fields to include in a partial response.
|
989
|
+
# @param [String] quota_user
|
990
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
991
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
992
|
+
# @param [Google::Apis::RequestOptions] options
|
993
|
+
# Request-specific options
|
994
|
+
#
|
995
|
+
# @yield [result, err] Result & error if block supplied
|
996
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse] parsed result object
|
997
|
+
# @yieldparam err [StandardError] error object if request failed
|
998
|
+
#
|
999
|
+
# @return [Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse]
|
1000
|
+
#
|
1001
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1002
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1003
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1004
|
+
def list_project_location_connection_end_user_authentications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1005
|
+
command = make_simple_command(:get, 'v1/{+parent}/endUserAuthentications', options)
|
1006
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse::Representation
|
1007
|
+
command.response_class = Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse
|
1008
|
+
command.params['parent'] = parent unless parent.nil?
|
1009
|
+
command.query['filter'] = filter unless filter.nil?
|
1010
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1011
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1012
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1013
|
+
command.query['fields'] = fields unless fields.nil?
|
1014
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1015
|
+
execute_or_queue_command(command, &block)
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Updates the parameters of a single EndUserAuthentication.
|
1019
|
+
# @param [String] name
|
1020
|
+
# Required. Identifier. Resource name of the EndUserAuthentication. Format:
|
1021
|
+
# projects/`project`/locations/`location`/connections/`connection`/
|
1022
|
+
# endUserAuthentications/`end_user_authentication`
|
1023
|
+
# @param [Google::Apis::ConnectorsV1::EndUserAuthentication] end_user_authentication_object
|
1024
|
+
# @param [String] update_mask
|
1025
|
+
# Required. The list of fields to update. A field will be overwritten if it is
|
1026
|
+
# in the mask. You can modify only the fields listed below. To update the
|
1027
|
+
# EndUserAuthentication details: * `notify_endpoint_destination`
|
1028
|
+
# @param [String] fields
|
1029
|
+
# Selector specifying which fields to include in a partial response.
|
1030
|
+
# @param [String] quota_user
|
1031
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1032
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1033
|
+
# @param [Google::Apis::RequestOptions] options
|
1034
|
+
# Request-specific options
|
1035
|
+
#
|
1036
|
+
# @yield [result, err] Result & error if block supplied
|
1037
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1038
|
+
# @yieldparam err [StandardError] error object if request failed
|
1039
|
+
#
|
1040
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1041
|
+
#
|
1042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1045
|
+
def patch_project_location_connection_end_user_authentication(name, end_user_authentication_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1046
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1047
|
+
command.request_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
1048
|
+
command.request_object = end_user_authentication_object
|
1049
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1050
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1051
|
+
command.params['name'] = name unless name.nil?
|
1052
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1053
|
+
command.query['fields'] = fields unless fields.nil?
|
1054
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1055
|
+
execute_or_queue_command(command, &block)
|
1056
|
+
end
|
1057
|
+
|
869
1058
|
# Creates a new EventSubscription in a given project,location and connection.
|
870
1059
|
# @param [String] parent
|
871
1060
|
# Required. Parent resource of the EventSubscription, of the form: `projects/*/
|
@@ -1011,8 +1200,8 @@ module Google
|
|
1011
1200
|
|
1012
1201
|
# Updates the parameters of a single EventSubscription.
|
1013
1202
|
# @param [String] name
|
1014
|
-
# Required. Resource name of the EventSubscription. Format: projects
|
1015
|
-
# locations/`location`/connections/`connection`/eventSubscriptions/`
|
1203
|
+
# Required. Identifier. Resource name of the EventSubscription. Format: projects/
|
1204
|
+
# `project`/locations/`location`/connections/`connection`/eventSubscriptions/`
|
1016
1205
|
# event_subscription`
|
1017
1206
|
# @param [Google::Apis::ConnectorsV1::EventSubscription] event_subscription_object
|
1018
1207
|
# @param [String] update_mask
|
@@ -2525,6 +2714,9 @@ module Google
|
|
2525
2714
|
# Required. Resource name of the form: `projects/*/locations/*/providers/*/
|
2526
2715
|
# connectors/*/versions/*` Only global location is supported for
|
2527
2716
|
# ConnectorVersion resource.
|
2717
|
+
# @param [String] schema_view
|
2718
|
+
# Optional. Enum to control whether schema enrichment related fields should be
|
2719
|
+
# included in the response.
|
2528
2720
|
# @param [String] view
|
2529
2721
|
# Specifies which fields of the ConnectorVersion are returned in the response.
|
2530
2722
|
# Defaults to `CUSTOMER` view.
|
@@ -2545,11 +2737,12 @@ module Google
|
|
2545
2737
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2546
2738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2547
2739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2548
|
-
def get_project_location_provider_connector_version(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2740
|
+
def get_project_location_provider_connector_version(name, schema_view: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2549
2741
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2550
2742
|
command.response_representation = Google::Apis::ConnectorsV1::ConnectorVersion::Representation
|
2551
2743
|
command.response_class = Google::Apis::ConnectorsV1::ConnectorVersion
|
2552
2744
|
command.params['name'] = name unless name.nil?
|
2745
|
+
command.query['schemaView'] = schema_view unless schema_view.nil?
|
2553
2746
|
command.query['view'] = view unless view.nil?
|
2554
2747
|
command.query['fields'] = fields unless fields.nil?
|
2555
2748
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2565,6 +2758,9 @@ module Google
|
|
2565
2758
|
# Page size.
|
2566
2759
|
# @param [String] page_token
|
2567
2760
|
# Page token.
|
2761
|
+
# @param [String] schema_view
|
2762
|
+
# Optional. Enum to control whether schema enrichment related fields should be
|
2763
|
+
# included in the response.
|
2568
2764
|
# @param [String] view
|
2569
2765
|
# Specifies which fields of the ConnectorVersion are returned in the response.
|
2570
2766
|
# Defaults to `BASIC` view.
|
@@ -2585,13 +2781,14 @@ module Google
|
|
2585
2781
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2586
2782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2587
2783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2588
|
-
def list_project_location_provider_connector_versions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2784
|
+
def list_project_location_provider_connector_versions(parent, page_size: nil, page_token: nil, schema_view: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2589
2785
|
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
|
2590
2786
|
command.response_representation = Google::Apis::ConnectorsV1::ListConnectorVersionsResponse::Representation
|
2591
2787
|
command.response_class = Google::Apis::ConnectorsV1::ListConnectorVersionsResponse
|
2592
2788
|
command.params['parent'] = parent unless parent.nil?
|
2593
2789
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2594
2790
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2791
|
+
command.query['schemaView'] = schema_view unless schema_view.nil?
|
2595
2792
|
command.query['view'] = view unless view.nil?
|
2596
2793
|
command.query['fields'] = fields unless fields.nil?
|
2597
2794
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.72.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|