google-apis-integrations_v1 0.1.0 → 0.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/integrations_v1/classes.rb +2930 -772
- data/lib/google/apis/integrations_v1/gem_version.rb +3 -3
- data/lib/google/apis/integrations_v1/representations.rb +1085 -322
- data/lib/google/apis/integrations_v1/service.rb +1479 -934
- metadata +7 -10
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# @see https://cloud.google.com/application-integration
|
|
34
34
|
class IntegrationsService < Google::Apis::Core::BaseService
|
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://integrations.$UNIVERSE_DOMAIN$/"
|
|
36
|
+
|
|
35
37
|
# @return [String]
|
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
@@ -43,7 +45,7 @@ module Google
|
|
|
43
45
|
attr_accessor :quota_user
|
|
44
46
|
|
|
45
47
|
def initialize
|
|
46
|
-
super(
|
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
|
47
49
|
client_name: 'google-apis-integrations_v1',
|
|
48
50
|
client_version: Google::Apis::IntegrationsV1::GEM_VERSION)
|
|
49
51
|
@batch_path = 'batch'
|
|
@@ -150,9 +152,11 @@ module Google
|
|
|
150
152
|
execute_or_queue_command(command, &block)
|
|
151
153
|
end
|
|
152
154
|
|
|
153
|
-
#
|
|
154
|
-
# @param [String]
|
|
155
|
-
# Required.
|
|
155
|
+
# Generate OpenAPI spec for the requested integrations and api triggers
|
|
156
|
+
# @param [String] name
|
|
157
|
+
# Required. Project and location from which the integrations should be fetched.
|
|
158
|
+
# Format: projects/`project`/location/`location`
|
|
159
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest] google_cloud_integrations_v1alpha_generate_open_api_spec_request_object
|
|
156
160
|
# @param [String] fields
|
|
157
161
|
# Selector specifying which fields to include in a partial response.
|
|
158
162
|
# @param [String] quota_user
|
|
@@ -162,29 +166,29 @@ module Google
|
|
|
162
166
|
# Request-specific options
|
|
163
167
|
#
|
|
164
168
|
# @yield [result, err] Result & error if block supplied
|
|
165
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
169
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse] parsed result object
|
|
166
170
|
# @yieldparam err [StandardError] error object if request failed
|
|
167
171
|
#
|
|
168
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
172
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse]
|
|
169
173
|
#
|
|
170
174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
171
175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
172
176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
173
|
-
def
|
|
174
|
-
command = make_simple_command(:
|
|
175
|
-
command.
|
|
176
|
-
command.
|
|
177
|
-
command.
|
|
177
|
+
def generate_project_location_open_api_spec(name, google_cloud_integrations_v1alpha_generate_open_api_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
178
|
+
command = make_simple_command(:post, 'v1/{+name}:generateOpenApiSpec', options)
|
|
179
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest::Representation
|
|
180
|
+
command.request_object = google_cloud_integrations_v1alpha_generate_open_api_spec_request_object
|
|
181
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse::Representation
|
|
182
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse
|
|
183
|
+
command.params['name'] = name unless name.nil?
|
|
178
184
|
command.query['fields'] = fields unless fields.nil?
|
|
179
185
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
180
186
|
execute_or_queue_command(command, &block)
|
|
181
187
|
end
|
|
182
188
|
|
|
183
|
-
#
|
|
184
|
-
# tasks.
|
|
189
|
+
# Gets the client configuration for the given project and location resource name
|
|
185
190
|
# @param [String] parent
|
|
186
|
-
# Required. The
|
|
187
|
-
# but preserve the field for future.
|
|
191
|
+
# Required. Required: The ID of the GCP Project to be provisioned.
|
|
188
192
|
# @param [String] fields
|
|
189
193
|
# Selector specifying which fields to include in a partial response.
|
|
190
194
|
# @param [String] quota_user
|
|
@@ -194,18 +198,18 @@ module Google
|
|
|
194
198
|
# Request-specific options
|
|
195
199
|
#
|
|
196
200
|
# @yield [result, err] Result & error if block supplied
|
|
197
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
201
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse] parsed result object
|
|
198
202
|
# @yieldparam err [StandardError] error object if request failed
|
|
199
203
|
#
|
|
200
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
204
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse]
|
|
201
205
|
#
|
|
202
206
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
203
207
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
204
208
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
205
|
-
def
|
|
206
|
-
command = make_simple_command(:get, 'v1/{+parent}
|
|
207
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
208
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
209
|
+
def get_project_location_clients(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
210
|
+
command = make_simple_command(:get, 'v1/{+parent}/clients', options)
|
|
211
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse::Representation
|
|
212
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGetClientResponse
|
|
209
213
|
command.params['parent'] = parent unless parent.nil?
|
|
210
214
|
command.query['fields'] = fields unless fields.nil?
|
|
211
215
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -420,7 +424,7 @@ module Google
|
|
|
420
424
|
# Required. The client, which owns this collection of AuthConfigs.
|
|
421
425
|
# @param [String] filter
|
|
422
426
|
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
423
|
-
# guides/
|
|
427
|
+
# guides/list-filters.
|
|
424
428
|
# @param [Fixnum] page_size
|
|
425
429
|
# The size of entries in the response. If unspecified, defaults to 100.
|
|
426
430
|
# @param [String] page_token
|
|
@@ -464,8 +468,9 @@ module Google
|
|
|
464
468
|
# re-encrypt with Cloud KMS key and update the Spanner record. For other fields,
|
|
465
469
|
# directly update the Spanner record. Returns the encrypted auth config.
|
|
466
470
|
# @param [String] name
|
|
467
|
-
# Resource name of the
|
|
468
|
-
# authConfigs/`
|
|
471
|
+
# Resource name of the auth config. For more information, see Manage
|
|
472
|
+
# authentication profiles. projects/`project`/locations/`location`/authConfigs/`
|
|
473
|
+
# authConfig`.
|
|
469
474
|
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
|
470
475
|
# @param [String] client_certificate_encrypted_private_key
|
|
471
476
|
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
@@ -641,7 +646,7 @@ module Google
|
|
|
641
646
|
# Required. The client, which owns this collection of Certificates.
|
|
642
647
|
# @param [String] filter
|
|
643
648
|
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
644
|
-
# guides/
|
|
649
|
+
# guides/list-filters.
|
|
645
650
|
# @param [Fixnum] page_size
|
|
646
651
|
# The size of entries in the response. If unspecified, defaults to 100.
|
|
647
652
|
# @param [String] page_token
|
|
@@ -789,7 +794,106 @@ module Google
|
|
|
789
794
|
execute_or_queue_command(command, &block)
|
|
790
795
|
end
|
|
791
796
|
|
|
792
|
-
#
|
|
797
|
+
# Update run-as service account for provisioned client
|
|
798
|
+
# @param [String] parent
|
|
799
|
+
# Required. Required: The ID of the GCP Project to be provisioned.
|
|
800
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest] google_cloud_integrations_v1alpha_replace_service_account_request_object
|
|
801
|
+
# @param [String] fields
|
|
802
|
+
# Selector specifying which fields to include in a partial response.
|
|
803
|
+
# @param [String] quota_user
|
|
804
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
805
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
806
|
+
# @param [Google::Apis::RequestOptions] options
|
|
807
|
+
# Request-specific options
|
|
808
|
+
#
|
|
809
|
+
# @yield [result, err] Result & error if block supplied
|
|
810
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
811
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
812
|
+
#
|
|
813
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
814
|
+
#
|
|
815
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
816
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
817
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
818
|
+
def replace_project_location_client(parent, google_cloud_integrations_v1alpha_replace_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
819
|
+
command = make_simple_command(:post, 'v1/{+parent}/clients:replace', options)
|
|
820
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest::Representation
|
|
821
|
+
command.request_object = google_cloud_integrations_v1alpha_replace_service_account_request_object
|
|
822
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
823
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
824
|
+
command.params['parent'] = parent unless parent.nil?
|
|
825
|
+
command.query['fields'] = fields unless fields.nil?
|
|
826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
827
|
+
execute_or_queue_command(command, &block)
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
# Update client from GMEK to CMEK
|
|
831
|
+
# @param [String] parent
|
|
832
|
+
# Required. Required: The ID of the GCP Project to be provisioned.
|
|
833
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest] google_cloud_integrations_v1alpha_switch_encryption_request_object
|
|
834
|
+
# @param [String] fields
|
|
835
|
+
# Selector specifying which fields to include in a partial response.
|
|
836
|
+
# @param [String] quota_user
|
|
837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
839
|
+
# @param [Google::Apis::RequestOptions] options
|
|
840
|
+
# Request-specific options
|
|
841
|
+
#
|
|
842
|
+
# @yield [result, err] Result & error if block supplied
|
|
843
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
844
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
845
|
+
#
|
|
846
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
847
|
+
#
|
|
848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
851
|
+
def switch_project_location_client(parent, google_cloud_integrations_v1alpha_switch_encryption_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
852
|
+
command = make_simple_command(:post, 'v1/{+parent}/clients:switch', options)
|
|
853
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest::Representation
|
|
854
|
+
command.request_object = google_cloud_integrations_v1alpha_switch_encryption_request_object
|
|
855
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
856
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
857
|
+
command.params['parent'] = parent unless parent.nil?
|
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
860
|
+
execute_or_queue_command(command, &block)
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# Update variable masking for provisioned client
|
|
864
|
+
# @param [String] parent
|
|
865
|
+
# Required. Required: The ID of the GCP Project to be provisioned.
|
|
866
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest] google_cloud_integrations_v1alpha_switch_variable_masking_request_object
|
|
867
|
+
# @param [String] fields
|
|
868
|
+
# Selector specifying which fields to include in a partial response.
|
|
869
|
+
# @param [String] quota_user
|
|
870
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
871
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
872
|
+
# @param [Google::Apis::RequestOptions] options
|
|
873
|
+
# Request-specific options
|
|
874
|
+
#
|
|
875
|
+
# @yield [result, err] Result & error if block supplied
|
|
876
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
877
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
878
|
+
#
|
|
879
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
880
|
+
#
|
|
881
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
882
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
883
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
884
|
+
def switch_project_location_client_variable_masking(parent, google_cloud_integrations_v1alpha_switch_variable_masking_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
885
|
+
command = make_simple_command(:post, 'v1/{+parent}/clients:switchVariableMasking', options)
|
|
886
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest::Representation
|
|
887
|
+
command.request_object = google_cloud_integrations_v1alpha_switch_variable_masking_request_object
|
|
888
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
889
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
890
|
+
command.params['parent'] = parent unless parent.nil?
|
|
891
|
+
command.query['fields'] = fields unless fields.nil?
|
|
892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
893
|
+
execute_or_queue_command(command, &block)
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Creates a cloud function project.
|
|
793
897
|
# @param [String] parent
|
|
794
898
|
# Required. The project that the executed integration belongs to.
|
|
795
899
|
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest] google_cloud_integrations_v1alpha_create_cloud_function_request_object
|
|
@@ -1046,6 +1150,44 @@ module Google
|
|
|
1046
1150
|
execute_or_queue_command(command, &block)
|
|
1047
1151
|
end
|
|
1048
1152
|
|
|
1153
|
+
# Executes an integration on receiving events from Integration Connector
|
|
1154
|
+
# triggers, Eventarc or CPS Trigger. Input data to integration is received in
|
|
1155
|
+
# body in json format
|
|
1156
|
+
# @param [String] name
|
|
1157
|
+
# Required. The integration resource name. Format: projects/`gcp_project_id`/
|
|
1158
|
+
# locations/`location`/integrations/`integration_id`
|
|
1159
|
+
# @param [String] trigger_id
|
|
1160
|
+
# Required. Id of the integration trigger config. The trigger_id is in the
|
|
1161
|
+
# format: `integration_connector_trigger/projects/`gcp_project_id`/location/`
|
|
1162
|
+
# location`/connections/`connection_name`/subscriptions/`subscription_name``.
|
|
1163
|
+
# @param [String] fields
|
|
1164
|
+
# Selector specifying which fields to include in a partial response.
|
|
1165
|
+
# @param [String] quota_user
|
|
1166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1168
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1169
|
+
# Request-specific options
|
|
1170
|
+
#
|
|
1171
|
+
# @yield [result, err] Result & error if block supplied
|
|
1172
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse] parsed result object
|
|
1173
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1174
|
+
#
|
|
1175
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse]
|
|
1176
|
+
#
|
|
1177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1180
|
+
def execute_project_location_integration_event(name, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1181
|
+
command = make_simple_command(:post, 'v1/{+name}:executeEvent', options)
|
|
1182
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse::Representation
|
|
1183
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse
|
|
1184
|
+
command.params['name'] = name unless name.nil?
|
|
1185
|
+
command.query['triggerId'] = trigger_id unless trigger_id.nil?
|
|
1186
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1188
|
+
execute_or_queue_command(command, &block)
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1049
1191
|
# Returns the list of all integrations in the specified project.
|
|
1050
1192
|
# @param [String] parent
|
|
1051
1193
|
# Required. Project and location from which the integrations should be listed.
|
|
@@ -1097,34 +1239,6 @@ module Google
|
|
|
1097
1239
|
execute_or_queue_command(command, &block)
|
|
1098
1240
|
end
|
|
1099
1241
|
|
|
1100
|
-
# Get execution stats
|
|
1101
|
-
# @param [String] parent
|
|
1102
|
-
# Required. The parent resource name: `parent=projects/*/locations/*`.
|
|
1103
|
-
# @param [String] fields
|
|
1104
|
-
# Selector specifying which fields to include in a partial response.
|
|
1105
|
-
# @param [String] quota_user
|
|
1106
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1107
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1108
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1109
|
-
# Request-specific options
|
|
1110
|
-
#
|
|
1111
|
-
# @yield [result, err] Result & error if block supplied
|
|
1112
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
1113
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1114
|
-
#
|
|
1115
|
-
# @return [void]
|
|
1116
|
-
#
|
|
1117
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1118
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1119
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1120
|
-
def monitorexecutionstats_project_location_integration(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
1121
|
-
command = make_simple_command(:post, 'v1/{+parent}:monitorexecutionstats', options)
|
|
1122
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1123
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1124
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1125
|
-
execute_or_queue_command(command, &block)
|
|
1126
|
-
end
|
|
1127
|
-
|
|
1128
1242
|
# Schedules an integration for execution by passing the trigger id and the
|
|
1129
1243
|
# scheduled time in the request body.
|
|
1130
1244
|
# @param [String] name
|
|
@@ -1192,6 +1306,42 @@ module Google
|
|
|
1192
1306
|
execute_or_queue_command(command, &block)
|
|
1193
1307
|
end
|
|
1194
1308
|
|
|
1309
|
+
# Cancellation of an execution and associated sub-executions. This will not
|
|
1310
|
+
# cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions.
|
|
1311
|
+
# @param [String] name
|
|
1312
|
+
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
|
1313
|
+
# locations/`location`/products/`product`/integrations/`integration_id`/
|
|
1314
|
+
# executions/`execution_id`
|
|
1315
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object
|
|
1316
|
+
# @param [String] fields
|
|
1317
|
+
# Selector specifying which fields to include in a partial response.
|
|
1318
|
+
# @param [String] quota_user
|
|
1319
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1320
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1321
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1322
|
+
# Request-specific options
|
|
1323
|
+
#
|
|
1324
|
+
# @yield [result, err] Result & error if block supplied
|
|
1325
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] parsed result object
|
|
1326
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1327
|
+
#
|
|
1328
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse]
|
|
1329
|
+
#
|
|
1330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1333
|
+
def cancel_project_location_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1334
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
1335
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation
|
|
1336
|
+
command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object
|
|
1337
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation
|
|
1338
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse
|
|
1339
|
+
command.params['name'] = name unless name.nil?
|
|
1340
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1341
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1342
|
+
execute_or_queue_command(command, &block)
|
|
1343
|
+
end
|
|
1344
|
+
|
|
1195
1345
|
# Download the execution.
|
|
1196
1346
|
# @param [String] name
|
|
1197
1347
|
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
|
@@ -1262,12 +1412,15 @@ module Google
|
|
|
1262
1412
|
# @param [String] parent
|
|
1263
1413
|
# Required. The parent resource name of the integration execution.
|
|
1264
1414
|
# @param [String] filter
|
|
1265
|
-
# Optional. Standard filter field, we support filtering on
|
|
1266
|
-
#
|
|
1267
|
-
#
|
|
1268
|
-
#
|
|
1269
|
-
#
|
|
1270
|
-
#
|
|
1415
|
+
# Optional. Standard filter field, we support filtering on following fields:
|
|
1416
|
+
# workflow_name: the name of the integration. CreateTimestamp: the execution
|
|
1417
|
+
# created time. event_execution_state: the state of the executions. execution_id:
|
|
1418
|
+
# the id of the execution. trigger_id: the id of the trigger. parameter_type:
|
|
1419
|
+
# the type of the parameters involved in the execution. All fields support for
|
|
1420
|
+
# EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN
|
|
1421
|
+
# ParameterType support for HAS For example: "parameter_type" HAS \"string\"
|
|
1422
|
+
# Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND
|
|
1423
|
+
# workflow_name=\"testWorkflow\"
|
|
1271
1424
|
# @param [String] filter_params_custom_filter
|
|
1272
1425
|
# Optional user-provided custom filter.
|
|
1273
1426
|
# @param [Fixnum] filter_params_end_time
|
|
@@ -1294,19 +1447,26 @@ module Google
|
|
|
1294
1447
|
# Workflow name.
|
|
1295
1448
|
# @param [String] order_by
|
|
1296
1449
|
# Optional. The results would be returned in order you specified here. Currently
|
|
1297
|
-
# supporting "
|
|
1450
|
+
# supporting "create_time".
|
|
1298
1451
|
# @param [Fixnum] page_size
|
|
1299
1452
|
# Optional. The size of entries in the response.
|
|
1300
1453
|
# @param [String] page_token
|
|
1301
1454
|
# Optional. The token returned in the previous response.
|
|
1302
1455
|
# @param [String] read_mask
|
|
1303
1456
|
# Optional. View mask for the response data. If set, only the field specified
|
|
1304
|
-
# will be returned as part of the result. If not set, all fields in
|
|
1305
|
-
#
|
|
1457
|
+
# will be returned as part of the result. If not set, all fields in Execution
|
|
1458
|
+
# will be filled and returned. Supported fields: trigger_id execution_method
|
|
1459
|
+
# create_time update_time execution_details execution_details.state
|
|
1460
|
+
# execution_details.execution_snapshots execution_details.attempt_stats
|
|
1461
|
+
# execution_details.event_execution_snapshots_size request_parameters
|
|
1462
|
+
# cloud_logging_details snapshot_number replay_info
|
|
1306
1463
|
# @param [Boolean] refresh_acl
|
|
1307
1464
|
# Optional. If true, the service will use the most recent acl information to
|
|
1308
1465
|
# list event execution infos and renew the acl cache. Note that fetching the
|
|
1309
1466
|
# most recent acl is synchronous, so it will increase RPC call latency.
|
|
1467
|
+
# @param [Boolean] snapshot_metadata_without_params
|
|
1468
|
+
# Optional. If true, the service will provide execution info with snapshot
|
|
1469
|
+
# metadata only i.e. without event parameters.
|
|
1310
1470
|
# @param [Boolean] truncate_params
|
|
1311
1471
|
# Optional. If true, the service will truncate the params to only keep the first
|
|
1312
1472
|
# 1000 characters of string params and empty the executions in order to make
|
|
@@ -1329,7 +1489,7 @@ module Google
|
|
|
1329
1489
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1330
1490
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1331
1491
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1332
|
-
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)
|
|
1492
|
+
def list_project_location_integration_executions(parent, filter: nil, filter_params_custom_filter: nil, filter_params_end_time: nil, filter_params_event_statuses: nil, filter_params_execution_id: nil, filter_params_parameter_key: nil, filter_params_parameter_pair_key: nil, filter_params_parameter_pair_value: nil, filter_params_parameter_type: nil, filter_params_parameter_value: nil, filter_params_start_time: nil, filter_params_task_statuses: nil, filter_params_workflow_name: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, refresh_acl: nil, snapshot_metadata_without_params: nil, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1333
1493
|
command = make_simple_command(:get, 'v1/{+parent}/executions', options)
|
|
1334
1494
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
|
|
1335
1495
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse
|
|
@@ -1352,15 +1512,52 @@ module Google
|
|
|
1352
1512
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1353
1513
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
1354
1514
|
command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
|
|
1515
|
+
command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil?
|
|
1355
1516
|
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
|
1356
1517
|
command.query['fields'] = fields unless fields.nil?
|
|
1357
1518
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1358
1519
|
execute_or_queue_command(command, &block)
|
|
1359
1520
|
end
|
|
1360
1521
|
|
|
1361
|
-
#
|
|
1362
|
-
#
|
|
1363
|
-
#
|
|
1522
|
+
# Re-execute an existing execution, with same request parameters and execution
|
|
1523
|
+
# strategy.
|
|
1524
|
+
# @param [String] name
|
|
1525
|
+
# Required. Next ID: 6 The execution resource name. Format: projects/`
|
|
1526
|
+
# gcp_project_id`/locations/`location`/integrations/`integration`/executions/`
|
|
1527
|
+
# execution_id`
|
|
1528
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest] google_cloud_integrations_v1alpha_replay_execution_request_object
|
|
1529
|
+
# @param [String] fields
|
|
1530
|
+
# Selector specifying which fields to include in a partial response.
|
|
1531
|
+
# @param [String] quota_user
|
|
1532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1534
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1535
|
+
# Request-specific options
|
|
1536
|
+
#
|
|
1537
|
+
# @yield [result, err] Result & error if block supplied
|
|
1538
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse] parsed result object
|
|
1539
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1540
|
+
#
|
|
1541
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse]
|
|
1542
|
+
#
|
|
1543
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1544
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1545
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1546
|
+
def replay_project_location_integration_execution(name, google_cloud_integrations_v1alpha_replay_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1547
|
+
command = make_simple_command(:post, 'v1/{+name}:replay', options)
|
|
1548
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest::Representation
|
|
1549
|
+
command.request_object = google_cloud_integrations_v1alpha_replay_execution_request_object
|
|
1550
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse::Representation
|
|
1551
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse
|
|
1552
|
+
command.params['name'] = name unless name.nil?
|
|
1553
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1554
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1555
|
+
execute_or_queue_command(command, &block)
|
|
1556
|
+
end
|
|
1557
|
+
|
|
1558
|
+
# * Lifts suspension for the Suspension task. Fetch corresponding suspension
|
|
1559
|
+
# with provided suspension Id, resolve suspension, and set up suspension result
|
|
1560
|
+
# for the Suspension Task.
|
|
1364
1561
|
# @param [String] name
|
|
1365
1562
|
# Required. The resource that the suspension belongs to. "projects/`project`/
|
|
1366
1563
|
# locations/`location`/products/`product`/integrations/`integration`/executions/`
|
|
@@ -1476,20 +1673,18 @@ module Google
|
|
|
1476
1673
|
execute_or_queue_command(command, &block)
|
|
1477
1674
|
end
|
|
1478
1675
|
|
|
1479
|
-
#
|
|
1480
|
-
# used.
|
|
1676
|
+
# Create a integration with a draft version in the specified project.
|
|
1481
1677
|
# @param [String] parent
|
|
1482
|
-
# Required. The parent resource
|
|
1483
|
-
#
|
|
1484
|
-
#
|
|
1485
|
-
# @param [
|
|
1486
|
-
#
|
|
1487
|
-
# @param [
|
|
1488
|
-
#
|
|
1489
|
-
#
|
|
1490
|
-
#
|
|
1491
|
-
#
|
|
1492
|
-
# snapshot will be filled and returned.
|
|
1678
|
+
# Required. The parent resource where this version will be created. Format:
|
|
1679
|
+
# projects/`project`/locations/`location`/integrations/`integration`
|
|
1680
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
|
1681
|
+
# @param [Boolean] create_sample_integrations
|
|
1682
|
+
# Optional. Optional. Indicates if sample workflow should be created.
|
|
1683
|
+
# @param [Boolean] new_integration
|
|
1684
|
+
# Set this flag to true, if draft version is to be created for a brand new
|
|
1685
|
+
# integration. False, if the request is for an existing integration. For
|
|
1686
|
+
# backward compatibility reasons, even if this flag is set to `false` and no
|
|
1687
|
+
# existing integration is found, a new draft integration will still be created.
|
|
1493
1688
|
# @param [String] fields
|
|
1494
1689
|
# Selector specifying which fields to include in a partial response.
|
|
1495
1690
|
# @param [String] quota_user
|
|
@@ -1499,23 +1694,23 @@ module Google
|
|
|
1499
1694
|
# Request-specific options
|
|
1500
1695
|
#
|
|
1501
1696
|
# @yield [result, err] Result & error if block supplied
|
|
1502
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
1697
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
|
1503
1698
|
# @yieldparam err [StandardError] error object if request failed
|
|
1504
1699
|
#
|
|
1505
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
1700
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
|
1506
1701
|
#
|
|
1507
1702
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1508
1703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1509
1704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1510
|
-
def
|
|
1511
|
-
command = make_simple_command(:
|
|
1512
|
-
command.
|
|
1513
|
-
command.
|
|
1705
|
+
def create_project_location_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, create_sample_integrations: nil, new_integration: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1706
|
+
command = make_simple_command(:post, 'v1/{+parent}/versions', options)
|
|
1707
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
1708
|
+
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
|
1709
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
1710
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
|
1514
1711
|
command.params['parent'] = parent unless parent.nil?
|
|
1515
|
-
command.query['
|
|
1516
|
-
command.query['
|
|
1517
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1518
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
1712
|
+
command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
|
|
1713
|
+
command.query['newIntegration'] = new_integration unless new_integration.nil?
|
|
1519
1714
|
command.query['fields'] = fields unless fields.nil?
|
|
1520
1715
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1521
1716
|
execute_or_queue_command(command, &block)
|
|
@@ -1525,15 +1720,14 @@ module Google
|
|
|
1525
1720
|
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
|
1526
1721
|
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
|
1527
1722
|
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
|
1528
|
-
# exception if the version being
|
|
1529
|
-
# is not the same as the user performing the
|
|
1723
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
|
1724
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
|
1530
1725
|
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
|
1531
|
-
# released when
|
|
1726
|
+
# released when Deleting a integration. Currently, there is no undelete
|
|
1532
1727
|
# mechanism.
|
|
1533
1728
|
# @param [String] name
|
|
1534
|
-
# Required. The version to
|
|
1729
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
|
1535
1730
|
# location`/integrations/`integration`/versions/`version`
|
|
1536
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
|
1537
1731
|
# @param [String] fields
|
|
1538
1732
|
# Selector specifying which fields to include in a partial response.
|
|
1539
1733
|
# @param [String] quota_user
|
|
@@ -1543,115 +1737,34 @@ module Google
|
|
|
1543
1737
|
# Request-specific options
|
|
1544
1738
|
#
|
|
1545
1739
|
# @yield [result, err] Result & error if block supplied
|
|
1546
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
1740
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
1547
1741
|
# @yieldparam err [StandardError] error object if request failed
|
|
1548
1742
|
#
|
|
1549
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
1743
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
1550
1744
|
#
|
|
1551
1745
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1552
1746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1553
1747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1554
|
-
def
|
|
1555
|
-
command = make_simple_command(:
|
|
1556
|
-
command.
|
|
1557
|
-
command.
|
|
1558
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
|
|
1559
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
|
|
1748
|
+
def delete_project_location_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1749
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1750
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
1751
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
1560
1752
|
command.params['name'] = name unless name.nil?
|
|
1561
1753
|
command.query['fields'] = fields unless fields.nil?
|
|
1562
1754
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1563
1755
|
execute_or_queue_command(command, &block)
|
|
1564
1756
|
end
|
|
1565
1757
|
|
|
1566
|
-
#
|
|
1567
|
-
#
|
|
1568
|
-
# Required. The parent resource where this version will be created. Format:
|
|
1569
|
-
# projects/`project`/locations/`location`/integrations/`integration`
|
|
1570
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
|
1571
|
-
# @param [Boolean] new_integration
|
|
1572
|
-
# Set this flag to true, if draft version is to be created for a brand new
|
|
1573
|
-
# integration. False, if the request is for an existing integration. For
|
|
1574
|
-
# backward compatibility reasons, even if this flag is set to `false` and no
|
|
1575
|
-
# existing integration is found, a new draft integration will still be created.
|
|
1576
|
-
# @param [String] fields
|
|
1577
|
-
# Selector specifying which fields to include in a partial response.
|
|
1578
|
-
# @param [String] quota_user
|
|
1579
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1580
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1581
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1582
|
-
# Request-specific options
|
|
1583
|
-
#
|
|
1584
|
-
# @yield [result, err] Result & error if block supplied
|
|
1585
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
|
1586
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1587
|
-
#
|
|
1588
|
-
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
|
1589
|
-
#
|
|
1590
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1591
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1592
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1593
|
-
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)
|
|
1594
|
-
command = make_simple_command(:post, 'v1/{+parent}/versions', options)
|
|
1595
|
-
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
1596
|
-
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
|
1597
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
1598
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
|
1599
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1600
|
-
command.query['newIntegration'] = new_integration unless new_integration.nil?
|
|
1601
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1602
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1603
|
-
execute_or_queue_command(command, &block)
|
|
1604
|
-
end
|
|
1605
|
-
|
|
1606
|
-
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
|
1607
|
-
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
|
1608
|
-
# tags do not change. This RPC throws an exception if the version being snapshot
|
|
1609
|
-
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
|
1610
|
-
# @param [String] name
|
|
1611
|
-
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
|
1612
|
-
# location`/integrations/`integration`/versions/`version`
|
|
1613
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest] google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
|
|
1614
|
-
# @param [String] fields
|
|
1615
|
-
# Selector specifying which fields to include in a partial response.
|
|
1616
|
-
# @param [String] quota_user
|
|
1617
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1618
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1619
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1620
|
-
# Request-specific options
|
|
1621
|
-
#
|
|
1622
|
-
# @yield [result, err] Result & error if block supplied
|
|
1623
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse] parsed result object
|
|
1624
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1625
|
-
#
|
|
1626
|
-
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse]
|
|
1627
|
-
#
|
|
1628
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1629
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1630
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1631
|
-
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)
|
|
1632
|
-
command = make_simple_command(:post, 'v1/{+name}:deactivate', options)
|
|
1633
|
-
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest::Representation
|
|
1634
|
-
command.request_object = google_cloud_integrations_v1alpha_deactivate_integration_version_request_object
|
|
1635
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse::Representation
|
|
1636
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
|
|
1637
|
-
command.params['name'] = name unless name.nil?
|
|
1638
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1639
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1640
|
-
execute_or_queue_command(command, &block)
|
|
1641
|
-
end
|
|
1642
|
-
|
|
1643
|
-
# Soft-deletes the integration. Changes the status of the integration to
|
|
1644
|
-
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
|
1645
|
-
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
|
1646
|
-
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
|
1647
|
-
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
|
1648
|
-
# is not the same as the user performing the Delete. Audit fields updated
|
|
1649
|
-
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
|
1650
|
-
# released when Deleting a integration. Currently, there is no undelete
|
|
1651
|
-
# mechanism.
|
|
1758
|
+
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
|
1759
|
+
# integration_id` and returns the response as a string.
|
|
1652
1760
|
# @param [String] name
|
|
1653
|
-
# Required. The version to
|
|
1761
|
+
# Required. The version to download. Format: projects/`project`/locations/`
|
|
1654
1762
|
# location`/integrations/`integration`/versions/`version`
|
|
1763
|
+
# @param [String] file_format
|
|
1764
|
+
# File format for download request.
|
|
1765
|
+
# @param [Array<String>, String] files
|
|
1766
|
+
# Optional. Integration related file to download like Integration Json, Config
|
|
1767
|
+
# variable, testcase etc.
|
|
1655
1768
|
# @param [String] fields
|
|
1656
1769
|
# Selector specifying which fields to include in a partial response.
|
|
1657
1770
|
# @param [String] quota_user
|
|
@@ -1661,31 +1774,35 @@ module Google
|
|
|
1661
1774
|
# Request-specific options
|
|
1662
1775
|
#
|
|
1663
1776
|
# @yield [result, err] Result & error if block supplied
|
|
1664
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
1777
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object
|
|
1665
1778
|
# @yieldparam err [StandardError] error object if request failed
|
|
1666
1779
|
#
|
|
1667
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
1780
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse]
|
|
1668
1781
|
#
|
|
1669
1782
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1670
1783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1671
1784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1672
|
-
def
|
|
1673
|
-
command = make_simple_command(:
|
|
1674
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
1675
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
1785
|
+
def download_project_location_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1786
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
|
1787
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
|
|
1788
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
|
|
1676
1789
|
command.params['name'] = name unless name.nil?
|
|
1790
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
|
1791
|
+
command.query['files'] = files unless files.nil?
|
|
1677
1792
|
command.query['fields'] = fields unless fields.nil?
|
|
1678
1793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1679
1794
|
execute_or_queue_command(command, &block)
|
|
1680
1795
|
end
|
|
1681
1796
|
|
|
1682
|
-
# Downloads an
|
|
1683
|
-
#
|
|
1797
|
+
# Downloads an Integration version package like IntegrationVersion,Integration
|
|
1798
|
+
# Config etc. Retrieves the IntegrationVersion package for a given `
|
|
1799
|
+
# integration_id` and returns the response as a JSON.
|
|
1684
1800
|
# @param [String] name
|
|
1685
|
-
# Required.
|
|
1801
|
+
# Required. Integration version name Format: projects/`project`/locations/`
|
|
1686
1802
|
# location`/integrations/`integration`/versions/`version`
|
|
1687
|
-
# @param [String]
|
|
1688
|
-
#
|
|
1803
|
+
# @param [Array<String>, String] files
|
|
1804
|
+
# Optional. Integration related file to download like Integration Version,
|
|
1805
|
+
# Config variable, testcase etc.
|
|
1689
1806
|
# @param [String] fields
|
|
1690
1807
|
# Selector specifying which fields to include in a partial response.
|
|
1691
1808
|
# @param [String] quota_user
|
|
@@ -1695,20 +1812,20 @@ module Google
|
|
|
1695
1812
|
# Request-specific options
|
|
1696
1813
|
#
|
|
1697
1814
|
# @yield [result, err] Result & error if block supplied
|
|
1698
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
1815
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse] parsed result object
|
|
1699
1816
|
# @yieldparam err [StandardError] error object if request failed
|
|
1700
1817
|
#
|
|
1701
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
1818
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse]
|
|
1702
1819
|
#
|
|
1703
1820
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1704
1821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1705
1822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1706
|
-
def
|
|
1707
|
-
command = make_simple_command(:get, 'v1/{+name}:
|
|
1708
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
1709
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
1823
|
+
def download_project_location_integration_version_json_package(name, files: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1824
|
+
command = make_simple_command(:get, 'v1/{+name}:downloadJsonPackage', options)
|
|
1825
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse::Representation
|
|
1826
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse
|
|
1710
1827
|
command.params['name'] = name unless name.nil?
|
|
1711
|
-
command.query['
|
|
1828
|
+
command.query['files'] = files unless files.nil?
|
|
1712
1829
|
command.query['fields'] = fields unless fields.nil?
|
|
1713
1830
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1714
1831
|
execute_or_queue_command(command, &block)
|
|
@@ -1752,8 +1869,7 @@ module Google
|
|
|
1752
1869
|
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
|
1753
1870
|
# Meaning: "List versions (with filter) for a particular integration". 2.
|
|
1754
1871
|
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
|
1755
|
-
# a client within a particular region".
|
|
1756
|
-
# Meaning: "List versions (with filter) for a client".
|
|
1872
|
+
# a client within a particular region".
|
|
1757
1873
|
# @param [String] field_mask
|
|
1758
1874
|
# The field mask which specifies the particular data to be returned.
|
|
1759
1875
|
# @param [String] filter
|
|
@@ -1766,8 +1882,8 @@ module Google
|
|
|
1766
1882
|
# fields like `task_config`.
|
|
1767
1883
|
# @param [String] order_by
|
|
1768
1884
|
# The results would be returned in order you specified here. Currently supported
|
|
1769
|
-
# sort keys are: Descending sort order for "
|
|
1770
|
-
# "
|
|
1885
|
+
# sort keys are: Descending sort order for "last\_modified\_time", "created\
|
|
1886
|
+
# _time", and "snapshot\_number". Ascending sort order for `name`.
|
|
1771
1887
|
# @param [Fixnum] page_size
|
|
1772
1888
|
# The maximum number of versions to return. The service may return fewer than
|
|
1773
1889
|
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
|
@@ -1959,13 +2075,14 @@ module Google
|
|
|
1959
2075
|
execute_or_queue_command(command, &block)
|
|
1960
2076
|
end
|
|
1961
2077
|
|
|
1962
|
-
#
|
|
1963
|
-
#
|
|
1964
|
-
#
|
|
1965
|
-
#
|
|
1966
|
-
#
|
|
1967
|
-
#
|
|
1968
|
-
# @param [
|
|
2078
|
+
# Creates a new test case
|
|
2079
|
+
# @param [String] parent
|
|
2080
|
+
# Required. The parent resource where this test case will be created. Format:
|
|
2081
|
+
# projects/`project`/locations/`location`/integrations/`integration`/versions/`
|
|
2082
|
+
# integration_version`
|
|
2083
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object
|
|
2084
|
+
# @param [String] test_case_id
|
|
2085
|
+
# Required. Required
|
|
1969
2086
|
# @param [String] fields
|
|
1970
2087
|
# Selector specifying which fields to include in a partial response.
|
|
1971
2088
|
# @param [String] quota_user
|
|
@@ -1975,31 +2092,30 @@ module Google
|
|
|
1975
2092
|
# Request-specific options
|
|
1976
2093
|
#
|
|
1977
2094
|
# @yield [result, err] Result & error if block supplied
|
|
1978
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2095
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
|
1979
2096
|
# @yieldparam err [StandardError] error object if request failed
|
|
1980
2097
|
#
|
|
1981
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2098
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
|
1982
2099
|
#
|
|
1983
2100
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1984
2101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1985
2102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1986
|
-
def
|
|
1987
|
-
command = make_simple_command(:post, 'v1/{+
|
|
1988
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
1989
|
-
command.request_object =
|
|
1990
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
1991
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
1992
|
-
command.params['
|
|
2103
|
+
def create_project_location_integration_version_test_case(parent, google_cloud_integrations_v1alpha_test_case_object = nil, test_case_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2104
|
+
command = make_simple_command(:post, 'v1/{+parent}/testCases', options)
|
|
2105
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2106
|
+
command.request_object = google_cloud_integrations_v1alpha_test_case_object
|
|
2107
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2108
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
|
2109
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2110
|
+
command.query['testCaseId'] = test_case_id unless test_case_id.nil?
|
|
1993
2111
|
command.query['fields'] = fields unless fields.nil?
|
|
1994
2112
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1995
2113
|
execute_or_queue_command(command, &block)
|
|
1996
2114
|
end
|
|
1997
2115
|
|
|
1998
|
-
#
|
|
1999
|
-
#
|
|
2000
|
-
#
|
|
2001
|
-
# Required. The location resource of the request.
|
|
2002
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateBundleRequest] google_cloud_integrations_v1alpha_create_bundle_request_object
|
|
2116
|
+
# Deletes a test case
|
|
2117
|
+
# @param [String] name
|
|
2118
|
+
# Required. ID for the test case to be deleted
|
|
2003
2119
|
# @param [String] fields
|
|
2004
2120
|
# Selector specifying which fields to include in a partial response.
|
|
2005
2121
|
# @param [String] quota_user
|
|
@@ -2009,31 +2125,32 @@ module Google
|
|
|
2009
2125
|
# Request-specific options
|
|
2010
2126
|
#
|
|
2011
2127
|
# @yield [result, err] Result & error if block supplied
|
|
2012
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2128
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
2013
2129
|
# @yieldparam err [StandardError] error object if request failed
|
|
2014
2130
|
#
|
|
2015
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2131
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
2016
2132
|
#
|
|
2017
2133
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2018
2134
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2019
2135
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2020
|
-
def
|
|
2021
|
-
command = make_simple_command(:
|
|
2022
|
-
command.
|
|
2023
|
-
command.
|
|
2024
|
-
command.
|
|
2025
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateBundleResponse
|
|
2026
|
-
command.params['parent'] = parent unless parent.nil?
|
|
2136
|
+
def delete_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2137
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2138
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
2139
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
2140
|
+
command.params['name'] = name unless name.nil?
|
|
2027
2141
|
command.query['fields'] = fields unless fields.nil?
|
|
2028
2142
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2029
2143
|
execute_or_queue_command(command, &block)
|
|
2030
2144
|
end
|
|
2031
2145
|
|
|
2032
|
-
#
|
|
2033
|
-
#
|
|
2034
|
-
# @param [String]
|
|
2035
|
-
# Required. The
|
|
2036
|
-
#
|
|
2146
|
+
# Downloads a test case. Retrieves the `TestCase` for a given `test_case_id` and
|
|
2147
|
+
# returns the response as a string.
|
|
2148
|
+
# @param [String] name
|
|
2149
|
+
# Required. The test case to download. Format: projects/`project`/locations/`
|
|
2150
|
+
# location`/integrations/`integration`/versions/`integration_version`/testCases/`
|
|
2151
|
+
# test_case_id`
|
|
2152
|
+
# @param [String] file_format
|
|
2153
|
+
# File format for download request.
|
|
2037
2154
|
# @param [String] fields
|
|
2038
2155
|
# Selector specifying which fields to include in a partial response.
|
|
2039
2156
|
# @param [String] quota_user
|
|
@@ -2043,67 +2160,29 @@ module Google
|
|
|
2043
2160
|
# Request-specific options
|
|
2044
2161
|
#
|
|
2045
2162
|
# @yield [result, err] Result & error if block supplied
|
|
2046
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2163
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse] parsed result object
|
|
2047
2164
|
# @yieldparam err [StandardError] error object if request failed
|
|
2048
2165
|
#
|
|
2049
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2166
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse]
|
|
2050
2167
|
#
|
|
2051
2168
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2052
2169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2053
2170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2054
|
-
def
|
|
2055
|
-
command = make_simple_command(:get, 'v1/{+
|
|
2056
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2057
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2058
|
-
command.params['
|
|
2171
|
+
def download_project_location_integration_version_test_case(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2172
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
|
2173
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse::Representation
|
|
2174
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse
|
|
2175
|
+
command.params['name'] = name unless name.nil?
|
|
2176
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
|
2059
2177
|
command.query['fields'] = fields unless fields.nil?
|
|
2060
2178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2061
2179
|
execute_or_queue_command(command, &block)
|
|
2062
2180
|
end
|
|
2063
2181
|
|
|
2064
|
-
#
|
|
2065
|
-
#
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
# @param [String] parent
|
|
2069
|
-
# Required. "projects/`project`/locations/`location`" format.
|
|
2070
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
|
2071
|
-
# @param [String] client_certificate_encrypted_private_key
|
|
2072
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2073
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2074
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2075
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2076
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2077
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2078
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2079
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2080
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2081
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2082
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2083
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2084
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2085
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2086
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2087
|
-
# @param [String] client_certificate_passphrase
|
|
2088
|
-
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
|
2089
|
-
# passphrase' is not the password for web server, but an extra layer of security
|
|
2090
|
-
# to protected private key.
|
|
2091
|
-
# @param [String] client_certificate_ssl_certificate
|
|
2092
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2093
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2094
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2095
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2096
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2097
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2098
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2099
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2100
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2101
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2102
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2103
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2104
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2105
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2106
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2182
|
+
# Executes functional test
|
|
2183
|
+
# @param [String] test_case_name
|
|
2184
|
+
# Required. Test case resource name
|
|
2185
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest] google_cloud_integrations_v1alpha_execute_test_case_request_object
|
|
2107
2186
|
# @param [String] fields
|
|
2108
2187
|
# Selector specifying which fields to include in a partial response.
|
|
2109
2188
|
# @param [String] quota_user
|
|
@@ -2113,32 +2192,29 @@ module Google
|
|
|
2113
2192
|
# Request-specific options
|
|
2114
2193
|
#
|
|
2115
2194
|
# @yield [result, err] Result & error if block supplied
|
|
2116
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2195
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse] parsed result object
|
|
2117
2196
|
# @yieldparam err [StandardError] error object if request failed
|
|
2118
2197
|
#
|
|
2119
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2198
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse]
|
|
2120
2199
|
#
|
|
2121
2200
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2122
2201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2123
2202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2124
|
-
def
|
|
2125
|
-
command = make_simple_command(:post, 'v1/{+
|
|
2126
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
2127
|
-
command.request_object =
|
|
2128
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2129
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2130
|
-
command.params['
|
|
2131
|
-
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
|
2132
|
-
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
|
2133
|
-
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
|
2203
|
+
def execute_project_location_integration_version_test_case_test(test_case_name, google_cloud_integrations_v1alpha_execute_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2204
|
+
command = make_simple_command(:post, 'v1/{+testCaseName}:executeTest', options)
|
|
2205
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest::Representation
|
|
2206
|
+
command.request_object = google_cloud_integrations_v1alpha_execute_test_case_request_object
|
|
2207
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse::Representation
|
|
2208
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse
|
|
2209
|
+
command.params['testCaseName'] = test_case_name unless test_case_name.nil?
|
|
2134
2210
|
command.query['fields'] = fields unless fields.nil?
|
|
2135
2211
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2136
2212
|
execute_or_queue_command(command, &block)
|
|
2137
2213
|
end
|
|
2138
2214
|
|
|
2139
|
-
#
|
|
2215
|
+
# Get a test case
|
|
2140
2216
|
# @param [String] name
|
|
2141
|
-
# Required. The
|
|
2217
|
+
# Required. The ID of the test case to retrieve
|
|
2142
2218
|
# @param [String] fields
|
|
2143
2219
|
# Selector specifying which fields to include in a partial response.
|
|
2144
2220
|
# @param [String] quota_user
|
|
@@ -2148,28 +2224,44 @@ module Google
|
|
|
2148
2224
|
# Request-specific options
|
|
2149
2225
|
#
|
|
2150
2226
|
# @yield [result, err] Result & error if block supplied
|
|
2151
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2227
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
|
2152
2228
|
# @yieldparam err [StandardError] error object if request failed
|
|
2153
2229
|
#
|
|
2154
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2230
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
|
2155
2231
|
#
|
|
2156
2232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2157
2233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2158
2234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2159
|
-
def
|
|
2160
|
-
command = make_simple_command(:
|
|
2161
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2162
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2235
|
+
def get_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2236
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2237
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2238
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
|
2163
2239
|
command.params['name'] = name unless name.nil?
|
|
2164
2240
|
command.query['fields'] = fields unless fields.nil?
|
|
2165
2241
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2166
2242
|
execute_or_queue_command(command, &block)
|
|
2167
2243
|
end
|
|
2168
2244
|
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2245
|
+
# Lists all the test cases that satisfy the filters.
|
|
2246
|
+
# @param [String] parent
|
|
2247
|
+
# Required. The parent resource where this TestCase was created.
|
|
2248
|
+
# @param [String] filter
|
|
2249
|
+
# Optional. Standard filter field. Filtering as supported in https://developers.
|
|
2250
|
+
# google.com/authorized-buyers/apis/guides/list-filters.
|
|
2251
|
+
# @param [String] order_by
|
|
2252
|
+
# Optional. The results would be returned in order specified here. Currently
|
|
2253
|
+
# supported sort keys are: Descending sort order for "last_modified_time", "
|
|
2254
|
+
# created_time". Ascending sort order for "name".
|
|
2255
|
+
# @param [Fixnum] page_size
|
|
2256
|
+
# Optional. The maximum number of test cases to return. The service may return
|
|
2257
|
+
# fewer than this value. If unspecified, at most 100 test cases will be returned.
|
|
2258
|
+
# @param [String] page_token
|
|
2259
|
+
# Optional. A page token, received from a previous `ListTestCases` call. Provide
|
|
2260
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
|
2261
|
+
# provided to `ListTestCases` must match the call that provided the page token.
|
|
2262
|
+
# @param [String] read_mask
|
|
2263
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
|
2264
|
+
# TestCases's response.
|
|
2173
2265
|
# @param [String] fields
|
|
2174
2266
|
# Selector specifying which fields to include in a partial response.
|
|
2175
2267
|
# @param [String] quota_user
|
|
@@ -2179,38 +2271,60 @@ module Google
|
|
|
2179
2271
|
# Request-specific options
|
|
2180
2272
|
#
|
|
2181
2273
|
# @yield [result, err] Result & error if block supplied
|
|
2182
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2274
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse] parsed result object
|
|
2183
2275
|
# @yieldparam err [StandardError] error object if request failed
|
|
2184
2276
|
#
|
|
2185
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2277
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse]
|
|
2186
2278
|
#
|
|
2187
2279
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2188
2280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2189
2281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2190
|
-
def
|
|
2191
|
-
command = make_simple_command(:get, 'v1/{+
|
|
2192
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2193
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2194
|
-
command.params['
|
|
2282
|
+
def list_project_location_integration_version_test_cases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2283
|
+
command = make_simple_command(:get, 'v1/{+parent}/testCases', options)
|
|
2284
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse::Representation
|
|
2285
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse
|
|
2286
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2287
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2288
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2289
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2290
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2291
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
2195
2292
|
command.query['fields'] = fields unless fields.nil?
|
|
2196
2293
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2197
2294
|
execute_or_queue_command(command, &block)
|
|
2198
2295
|
end
|
|
2199
2296
|
|
|
2200
|
-
# Lists
|
|
2201
|
-
#
|
|
2297
|
+
# Lists the results of all functional test executions. The response includes the
|
|
2298
|
+
# same information as the [execution log](https://cloud.google.com/application-
|
|
2299
|
+
# integration/docs/viewing-logs) in the Integration UI.
|
|
2202
2300
|
# @param [String] parent
|
|
2203
|
-
# Required. The
|
|
2301
|
+
# Required. The parent resource name of the test case execution.
|
|
2204
2302
|
# @param [String] filter
|
|
2205
|
-
#
|
|
2206
|
-
#
|
|
2303
|
+
# Optional. Standard filter field, we support filtering on following fields:
|
|
2304
|
+
# test_case_id: the ID of the test case. CreateTimestamp: the execution created
|
|
2305
|
+
# time. event_execution_state: the state of the executions. execution_id: the id
|
|
2306
|
+
# of the execution. trigger_id: the id of the trigger. parameter_type: the type
|
|
2307
|
+
# of the parameters involved in the execution. All fields support for EQUALS, in
|
|
2308
|
+
# additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType
|
|
2309
|
+
# support for HAS For example: "parameter_type" HAS \"string\" Also supports
|
|
2310
|
+
# operators like AND, OR, NOT For example, trigger_id=\"id1\" AND test_case_id=\"
|
|
2311
|
+
# testCaseId\"
|
|
2312
|
+
# @param [String] order_by
|
|
2313
|
+
# Optional. The results would be returned in order you specified here. Currently
|
|
2314
|
+
# supporting "last_modified_time" and "create_time".
|
|
2207
2315
|
# @param [Fixnum] page_size
|
|
2208
|
-
# The size of entries in the response.
|
|
2316
|
+
# Optional. The size of entries in the response.
|
|
2209
2317
|
# @param [String] page_token
|
|
2210
|
-
# The token returned in the previous response.
|
|
2318
|
+
# Optional. The token returned in the previous response.
|
|
2211
2319
|
# @param [String] read_mask
|
|
2212
|
-
#
|
|
2213
|
-
#
|
|
2320
|
+
# Optional. View mask for the response data. If set, only the field specified
|
|
2321
|
+
# will be returned as part of the result. If not set, all fields in event
|
|
2322
|
+
# execution info will be filled and returned.
|
|
2323
|
+
# @param [Boolean] truncate_params
|
|
2324
|
+
# Optional. If true, the service will truncate the params to only keep the first
|
|
2325
|
+
# 1000 characters of string params and empty the executions in order to make
|
|
2326
|
+
# response smaller. Only works for UI and when the params fields are not
|
|
2327
|
+
# filtered out.
|
|
2214
2328
|
# @param [String] fields
|
|
2215
2329
|
# Selector specifying which fields to include in a partial response.
|
|
2216
2330
|
# @param [String] quota_user
|
|
@@ -2220,75 +2334,37 @@ module Google
|
|
|
2220
2334
|
# Request-specific options
|
|
2221
2335
|
#
|
|
2222
2336
|
# @yield [result, err] Result & error if block supplied
|
|
2223
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2337
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse] parsed result object
|
|
2224
2338
|
# @yieldparam err [StandardError] error object if request failed
|
|
2225
2339
|
#
|
|
2226
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2340
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse]
|
|
2227
2341
|
#
|
|
2228
2342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2229
2343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2230
2344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2231
|
-
def
|
|
2232
|
-
command = make_simple_command(:get, 'v1/{+parent}
|
|
2233
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2234
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2345
|
+
def list_project_location_integration_version_test_case_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2346
|
+
command = make_simple_command(:get, 'v1/{+parent}:executions', options)
|
|
2347
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse::Representation
|
|
2348
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse
|
|
2235
2349
|
command.params['parent'] = parent unless parent.nil?
|
|
2236
2350
|
command.query['filter'] = filter unless filter.nil?
|
|
2351
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2237
2352
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2238
2353
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2239
2354
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
2355
|
+
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
|
2240
2356
|
command.query['fields'] = fields unless fields.nil?
|
|
2241
2357
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2242
2358
|
execute_or_queue_command(command, &block)
|
|
2243
2359
|
end
|
|
2244
2360
|
|
|
2245
|
-
# Updates
|
|
2246
|
-
# config from Spanner, decrypt with Cloud KMS key, update the credential fields,
|
|
2247
|
-
# re-encrypt with Cloud KMS key and update the Spanner record. For other fields,
|
|
2248
|
-
# directly update the Spanner record. Returns the encrypted auth config.
|
|
2361
|
+
# Updates a test case
|
|
2249
2362
|
# @param [String] name
|
|
2250
|
-
#
|
|
2251
|
-
#
|
|
2252
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
|
2253
|
-
# @param [String] client_certificate_encrypted_private_key
|
|
2254
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2255
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2256
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2257
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2258
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2259
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2260
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2261
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2262
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2263
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2264
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2265
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2266
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2267
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2268
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2269
|
-
# @param [String] client_certificate_passphrase
|
|
2270
|
-
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
|
2271
|
-
# passphrase' is not the password for web server, but an extra layer of security
|
|
2272
|
-
# to protected private key.
|
|
2273
|
-
# @param [String] client_certificate_ssl_certificate
|
|
2274
|
-
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2275
|
-
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2276
|
-
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2277
|
-
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2278
|
-
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2279
|
-
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2280
|
-
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2281
|
-
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2282
|
-
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2283
|
-
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2284
|
-
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2285
|
-
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2286
|
-
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2287
|
-
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2288
|
-
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2363
|
+
# Output only. Auto-generated primary key.
|
|
2364
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object
|
|
2289
2365
|
# @param [String] update_mask
|
|
2290
|
-
# Field mask specifying the fields in the above
|
|
2291
|
-
# modified and need to be updated.
|
|
2366
|
+
# Optional. Field mask specifying the fields in the above integration that have
|
|
2367
|
+
# been modified and need to be updated.
|
|
2292
2368
|
# @param [String] fields
|
|
2293
2369
|
# Selector specifying which fields to include in a partial response.
|
|
2294
2370
|
# @param [String] quota_user
|
|
@@ -2298,36 +2374,141 @@ module Google
|
|
|
2298
2374
|
# Request-specific options
|
|
2299
2375
|
#
|
|
2300
2376
|
# @yield [result, err] Result & error if block supplied
|
|
2301
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2377
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
|
2302
2378
|
# @yieldparam err [StandardError] error object if request failed
|
|
2303
2379
|
#
|
|
2304
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2380
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
|
2305
2381
|
#
|
|
2306
2382
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2307
2383
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2308
2384
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2309
|
-
def
|
|
2385
|
+
def patch_project_location_integration_version_test_case(name, google_cloud_integrations_v1alpha_test_case_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2310
2386
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2311
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
2312
|
-
command.request_object =
|
|
2313
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2314
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2387
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2388
|
+
command.request_object = google_cloud_integrations_v1alpha_test_case_object
|
|
2389
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2390
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
|
2315
2391
|
command.params['name'] = name unless name.nil?
|
|
2316
|
-
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
|
2317
|
-
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
|
2318
|
-
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
|
2319
2392
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2320
2393
|
command.query['fields'] = fields unless fields.nil?
|
|
2321
2394
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2322
2395
|
execute_or_queue_command(command, &block)
|
|
2323
2396
|
end
|
|
2324
2397
|
|
|
2325
|
-
#
|
|
2326
|
-
#
|
|
2327
|
-
#
|
|
2398
|
+
# Clear the lock fields and assign them to current user
|
|
2399
|
+
# @param [String] name
|
|
2400
|
+
# Required. The ID of test case to takeover edit lock. Format: projects/`project`
|
|
2401
|
+
# /locations/`location`/integrations/`integration`/versions/`integration_version`
|
|
2402
|
+
# /testCases/`test_case_id`
|
|
2403
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest] google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object
|
|
2404
|
+
# @param [String] fields
|
|
2405
|
+
# Selector specifying which fields to include in a partial response.
|
|
2406
|
+
# @param [String] quota_user
|
|
2407
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2408
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2409
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2410
|
+
# Request-specific options
|
|
2411
|
+
#
|
|
2412
|
+
# @yield [result, err] Result & error if block supplied
|
|
2413
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object
|
|
2414
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2415
|
+
#
|
|
2416
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
|
|
2417
|
+
#
|
|
2418
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2419
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2420
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2421
|
+
def takeover_project_location_integration_version_test_case_edit_lock(name, google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2422
|
+
command = make_simple_command(:post, 'v1/{+name}:takeoverEditLock', options)
|
|
2423
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest::Representation
|
|
2424
|
+
command.request_object = google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object
|
|
2425
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation
|
|
2426
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase
|
|
2427
|
+
command.params['name'] = name unless name.nil?
|
|
2428
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2429
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2430
|
+
execute_or_queue_command(command, &block)
|
|
2431
|
+
end
|
|
2432
|
+
|
|
2433
|
+
# Uploads a test case. The content can be a previously downloaded test case.
|
|
2434
|
+
# Performs the same function as CreateTestCase, but accepts input in a string
|
|
2435
|
+
# format, which holds the complete representation of the TestCase content.
|
|
2436
|
+
# @param [String] parent
|
|
2437
|
+
# Required. The test case to upload. Format: projects/`project`/locations/`
|
|
2438
|
+
# location`/integrations/`integration`/versions/`integration_version`
|
|
2439
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest] google_cloud_integrations_v1alpha_upload_test_case_request_object
|
|
2440
|
+
# @param [String] fields
|
|
2441
|
+
# Selector specifying which fields to include in a partial response.
|
|
2442
|
+
# @param [String] quota_user
|
|
2443
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2444
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2445
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2446
|
+
# Request-specific options
|
|
2447
|
+
#
|
|
2448
|
+
# @yield [result, err] Result & error if block supplied
|
|
2449
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse] parsed result object
|
|
2450
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2451
|
+
#
|
|
2452
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse]
|
|
2453
|
+
#
|
|
2454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2457
|
+
def upload_project_location_integration_version_test_case(parent, google_cloud_integrations_v1alpha_upload_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2458
|
+
command = make_simple_command(:post, 'v1/{+parent}/testCases:upload', options)
|
|
2459
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest::Representation
|
|
2460
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_test_case_request_object
|
|
2461
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse::Representation
|
|
2462
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse
|
|
2463
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2464
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2466
|
+
execute_or_queue_command(command, &block)
|
|
2467
|
+
end
|
|
2468
|
+
|
|
2469
|
+
# Creates an auth config record. Fetch corresponding credentials for specific
|
|
2470
|
+
# auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the
|
|
2471
|
+
# auth config with Cloud KMS and store the encrypted credentials in Spanner.
|
|
2472
|
+
# Returns the encrypted auth config.
|
|
2328
2473
|
# @param [String] parent
|
|
2329
2474
|
# Required. "projects/`project`/locations/`location`" format.
|
|
2330
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
2475
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
|
2476
|
+
# @param [String] client_certificate_encrypted_private_key
|
|
2477
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2478
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2479
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2480
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2481
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2482
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2483
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2484
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2485
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2486
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2487
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2488
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2489
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2490
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2491
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2492
|
+
# @param [String] client_certificate_passphrase
|
|
2493
|
+
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
|
2494
|
+
# passphrase' is not the password for web server, but an extra layer of security
|
|
2495
|
+
# to protected private key.
|
|
2496
|
+
# @param [String] client_certificate_ssl_certificate
|
|
2497
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2498
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2499
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2500
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2501
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2502
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2503
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2504
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2505
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2506
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2507
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2508
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2509
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2510
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2511
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2331
2512
|
# @param [String] fields
|
|
2332
2513
|
# Selector specifying which fields to include in a partial response.
|
|
2333
2514
|
# @param [String] quota_user
|
|
@@ -2337,29 +2518,32 @@ module Google
|
|
|
2337
2518
|
# Request-specific options
|
|
2338
2519
|
#
|
|
2339
2520
|
# @yield [result, err] Result & error if block supplied
|
|
2340
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2521
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
|
2341
2522
|
# @yieldparam err [StandardError] error object if request failed
|
|
2342
2523
|
#
|
|
2343
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2524
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
|
2344
2525
|
#
|
|
2345
2526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2346
2527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2347
2528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2348
|
-
def
|
|
2349
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
|
2350
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
2351
|
-
command.request_object =
|
|
2352
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2353
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2529
|
+
def create_project_location_product_auth_config(parent, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2530
|
+
command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options)
|
|
2531
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
|
2532
|
+
command.request_object = google_cloud_integrations_v1alpha_auth_config_object
|
|
2533
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
|
2534
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
|
2354
2535
|
command.params['parent'] = parent unless parent.nil?
|
|
2536
|
+
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
|
2537
|
+
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
|
2538
|
+
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
|
2355
2539
|
command.query['fields'] = fields unless fields.nil?
|
|
2356
2540
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2357
2541
|
execute_or_queue_command(command, &block)
|
|
2358
2542
|
end
|
|
2359
2543
|
|
|
2360
|
-
#
|
|
2544
|
+
# Deletes an auth config.
|
|
2361
2545
|
# @param [String] name
|
|
2362
|
-
# Required. The name that is associated with the
|
|
2546
|
+
# Required. The name that is associated with the AuthConfig.
|
|
2363
2547
|
# @param [String] fields
|
|
2364
2548
|
# Selector specifying which fields to include in a partial response.
|
|
2365
2549
|
# @param [String] quota_user
|
|
@@ -2377,7 +2561,7 @@ module Google
|
|
|
2377
2561
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2378
2562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2379
2563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2380
|
-
def
|
|
2564
|
+
def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2381
2565
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2382
2566
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
2383
2567
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
@@ -2387,10 +2571,10 @@ module Google
|
|
|
2387
2571
|
execute_or_queue_command(command, &block)
|
|
2388
2572
|
end
|
|
2389
2573
|
|
|
2390
|
-
#
|
|
2574
|
+
# Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND
|
|
2575
|
+
# exception will be thrown. Returns the decrypted auth config.
|
|
2391
2576
|
# @param [String] name
|
|
2392
|
-
# Required. The
|
|
2393
|
-
# location`/certificates/`certificate`
|
|
2577
|
+
# Required. The name that is associated with the AuthConfig.
|
|
2394
2578
|
# @param [String] fields
|
|
2395
2579
|
# Selector specifying which fields to include in a partial response.
|
|
2396
2580
|
# @param [String] quota_user
|
|
@@ -2400,37 +2584,37 @@ module Google
|
|
|
2400
2584
|
# Request-specific options
|
|
2401
2585
|
#
|
|
2402
2586
|
# @yield [result, err] Result & error if block supplied
|
|
2403
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2587
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
|
2404
2588
|
# @yieldparam err [StandardError] error object if request failed
|
|
2405
2589
|
#
|
|
2406
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2590
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
|
2407
2591
|
#
|
|
2408
2592
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2409
2593
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2410
2594
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2411
|
-
def
|
|
2595
|
+
def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2412
2596
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2413
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2414
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2597
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
|
2598
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
|
2415
2599
|
command.params['name'] = name unless name.nil?
|
|
2416
2600
|
command.query['fields'] = fields unless fields.nil?
|
|
2417
2601
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2418
2602
|
execute_or_queue_command(command, &block)
|
|
2419
2603
|
end
|
|
2420
2604
|
|
|
2421
|
-
#
|
|
2422
|
-
# current client only.
|
|
2605
|
+
# Lists all auth configs that match the filter. Restrict to auth configs belong
|
|
2606
|
+
# to the current client only.
|
|
2423
2607
|
# @param [String] parent
|
|
2424
|
-
# Required. The client, which owns this collection of
|
|
2608
|
+
# Required. The client, which owns this collection of AuthConfigs.
|
|
2425
2609
|
# @param [String] filter
|
|
2426
2610
|
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
2427
|
-
# guides/
|
|
2611
|
+
# guides/list-filters.
|
|
2428
2612
|
# @param [Fixnum] page_size
|
|
2429
2613
|
# The size of entries in the response. If unspecified, defaults to 100.
|
|
2430
2614
|
# @param [String] page_token
|
|
2431
2615
|
# The token returned in the previous response.
|
|
2432
2616
|
# @param [String] read_mask
|
|
2433
|
-
# The mask which specifies fields that need to be returned in the
|
|
2617
|
+
# The mask which specifies fields that need to be returned in the AuthConfig's
|
|
2434
2618
|
# response.
|
|
2435
2619
|
# @param [String] fields
|
|
2436
2620
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2441,18 +2625,18 @@ module Google
|
|
|
2441
2625
|
# Request-specific options
|
|
2442
2626
|
#
|
|
2443
2627
|
# @yield [result, err] Result & error if block supplied
|
|
2444
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2628
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] parsed result object
|
|
2445
2629
|
# @yieldparam err [StandardError] error object if request failed
|
|
2446
2630
|
#
|
|
2447
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2631
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse]
|
|
2448
2632
|
#
|
|
2449
2633
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2450
2634
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2451
2635
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2452
|
-
def
|
|
2453
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
|
2454
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2455
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2636
|
+
def list_project_location_product_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2637
|
+
command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options)
|
|
2638
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation
|
|
2639
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
|
|
2456
2640
|
command.params['parent'] = parent unless parent.nil?
|
|
2457
2641
|
command.query['filter'] = filter unless filter.nil?
|
|
2458
2642
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
@@ -2463,15 +2647,53 @@ module Google
|
|
|
2463
2647
|
execute_or_queue_command(command, &block)
|
|
2464
2648
|
end
|
|
2465
2649
|
|
|
2466
|
-
# Updates
|
|
2467
|
-
#
|
|
2468
|
-
#
|
|
2469
|
-
# the
|
|
2650
|
+
# Updates an auth config. If credential is updated, fetch the encrypted auth
|
|
2651
|
+
# config from Spanner, decrypt with Cloud KMS key, update the credential fields,
|
|
2652
|
+
# re-encrypt with Cloud KMS key and update the Spanner record. For other fields,
|
|
2653
|
+
# directly update the Spanner record. Returns the encrypted auth config.
|
|
2470
2654
|
# @param [String] name
|
|
2471
|
-
#
|
|
2472
|
-
#
|
|
2655
|
+
# Resource name of the auth config. For more information, see Manage
|
|
2656
|
+
# authentication profiles. projects/`project`/locations/`location`/authConfigs/`
|
|
2657
|
+
# authConfig`.
|
|
2658
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object
|
|
2659
|
+
# @param [String] client_certificate_encrypted_private_key
|
|
2660
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2661
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2662
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2663
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2664
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2665
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2666
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2667
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2668
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2669
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2670
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2671
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2672
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2673
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2674
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2675
|
+
# @param [String] client_certificate_passphrase
|
|
2676
|
+
# 'passphrase' should be left unset if private key is not encrypted. Note that '
|
|
2677
|
+
# passphrase' is not the password for web server, but an extra layer of security
|
|
2678
|
+
# to protected private key.
|
|
2679
|
+
# @param [String] client_certificate_ssl_certificate
|
|
2680
|
+
# The ssl certificate encoded in PEM format. This string must include the begin
|
|
2681
|
+
# header and end footer lines. For example, -----BEGIN CERTIFICATE-----
|
|
2682
|
+
# MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
|
|
2683
|
+
# BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
|
|
2684
|
+
# MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
|
|
2685
|
+
# MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
|
2686
|
+
# vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/
|
|
2687
|
+
# sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
|
|
2688
|
+
# xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/
|
|
2689
|
+
# BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
|
|
2690
|
+
# Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
|
|
2691
|
+
# Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
|
|
2692
|
+
# JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
|
|
2693
|
+
# 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
|
|
2694
|
+
# wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
|
|
2473
2695
|
# @param [String] update_mask
|
|
2474
|
-
# Field mask specifying the fields in the above
|
|
2696
|
+
# Field mask specifying the fields in the above AuthConfig that have been
|
|
2475
2697
|
# modified and need to be updated.
|
|
2476
2698
|
# @param [String] fields
|
|
2477
2699
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2482,31 +2704,36 @@ module Google
|
|
|
2482
2704
|
# Request-specific options
|
|
2483
2705
|
#
|
|
2484
2706
|
# @yield [result, err] Result & error if block supplied
|
|
2485
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2707
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object
|
|
2486
2708
|
# @yieldparam err [StandardError] error object if request failed
|
|
2487
2709
|
#
|
|
2488
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2710
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig]
|
|
2489
2711
|
#
|
|
2490
2712
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2491
2713
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2492
2714
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2493
|
-
def
|
|
2715
|
+
def patch_project_location_product_auth_config(name, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2494
2716
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2495
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
2496
|
-
command.request_object =
|
|
2497
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2498
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2717
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
|
2718
|
+
command.request_object = google_cloud_integrations_v1alpha_auth_config_object
|
|
2719
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation
|
|
2720
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig
|
|
2499
2721
|
command.params['name'] = name unless name.nil?
|
|
2722
|
+
command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil?
|
|
2723
|
+
command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil?
|
|
2724
|
+
command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil?
|
|
2500
2725
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2501
2726
|
command.query['fields'] = fields unless fields.nil?
|
|
2502
2727
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2503
2728
|
execute_or_queue_command(command, &block)
|
|
2504
2729
|
end
|
|
2505
2730
|
|
|
2506
|
-
# Creates
|
|
2731
|
+
# Creates a new certificate. The certificate will be registered to the trawler
|
|
2732
|
+
# service and will be encrypted using cloud KMS and stored in Spanner Returns
|
|
2733
|
+
# the certificate.
|
|
2507
2734
|
# @param [String] parent
|
|
2508
|
-
# Required.
|
|
2509
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
2735
|
+
# Required. "projects/`project`/locations/`location`" format.
|
|
2736
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object
|
|
2510
2737
|
# @param [String] fields
|
|
2511
2738
|
# Selector specifying which fields to include in a partial response.
|
|
2512
2739
|
# @param [String] quota_user
|
|
@@ -2516,32 +2743,29 @@ module Google
|
|
|
2516
2743
|
# Request-specific options
|
|
2517
2744
|
#
|
|
2518
2745
|
# @yield [result, err] Result & error if block supplied
|
|
2519
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2746
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
|
2520
2747
|
# @yieldparam err [StandardError] error object if request failed
|
|
2521
2748
|
#
|
|
2522
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2749
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
|
2523
2750
|
#
|
|
2524
2751
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2525
2752
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2526
2753
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2527
|
-
def
|
|
2528
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
|
2529
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
2530
|
-
command.request_object =
|
|
2531
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
2532
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
2754
|
+
def create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2755
|
+
command = make_simple_command(:post, 'v1/{+parent}/certificates', options)
|
|
2756
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
|
2757
|
+
command.request_object = google_cloud_integrations_v1alpha_certificate_object
|
|
2758
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
|
2759
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
|
2533
2760
|
command.params['parent'] = parent unless parent.nil?
|
|
2534
2761
|
command.query['fields'] = fields unless fields.nil?
|
|
2535
2762
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2536
2763
|
execute_or_queue_command(command, &block)
|
|
2537
2764
|
end
|
|
2538
2765
|
|
|
2539
|
-
#
|
|
2540
|
-
# SERVICE. Soft-deletes the bundle.
|
|
2766
|
+
# Delete a certificate
|
|
2541
2767
|
# @param [String] name
|
|
2542
|
-
# Required. The
|
|
2543
|
-
# location`/integrations/`integration`
|
|
2544
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveBundleRequest] google_cloud_integrations_v1alpha_archive_bundle_request_object
|
|
2768
|
+
# Required. The name that is associated with the Certificate.
|
|
2545
2769
|
# @param [String] fields
|
|
2546
2770
|
# Selector specifying which fields to include in a partial response.
|
|
2547
2771
|
# @param [String] quota_user
|
|
@@ -2551,26 +2775,173 @@ module Google
|
|
|
2551
2775
|
# Request-specific options
|
|
2552
2776
|
#
|
|
2553
2777
|
# @yield [result, err] Result & error if block supplied
|
|
2554
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
2778
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
2555
2779
|
# @yieldparam err [StandardError] error object if request failed
|
|
2556
2780
|
#
|
|
2557
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
2781
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
2558
2782
|
#
|
|
2559
2783
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2560
2784
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2561
2785
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2562
|
-
def
|
|
2563
|
-
command = make_simple_command(:
|
|
2564
|
-
command.
|
|
2565
|
-
command.
|
|
2566
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveBundleResponse::Representation
|
|
2567
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveBundleResponse
|
|
2786
|
+
def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2787
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2788
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
2789
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
2568
2790
|
command.params['name'] = name unless name.nil?
|
|
2569
2791
|
command.query['fields'] = fields unless fields.nil?
|
|
2570
2792
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2571
2793
|
execute_or_queue_command(command, &block)
|
|
2572
2794
|
end
|
|
2573
2795
|
|
|
2796
|
+
# Get a certificates in the specified project.
|
|
2797
|
+
# @param [String] name
|
|
2798
|
+
# Required. The certificate to retrieve. Format: projects/`project`/locations/`
|
|
2799
|
+
# location`/certificates/`certificate`
|
|
2800
|
+
# @param [String] fields
|
|
2801
|
+
# Selector specifying which fields to include in a partial response.
|
|
2802
|
+
# @param [String] quota_user
|
|
2803
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2804
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2805
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2806
|
+
# Request-specific options
|
|
2807
|
+
#
|
|
2808
|
+
# @yield [result, err] Result & error if block supplied
|
|
2809
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
|
2810
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2811
|
+
#
|
|
2812
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
|
2813
|
+
#
|
|
2814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2817
|
+
def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2818
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2819
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
|
2820
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
|
2821
|
+
command.params['name'] = name unless name.nil?
|
|
2822
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2823
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2824
|
+
execute_or_queue_command(command, &block)
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2827
|
+
# List all the certificates that match the filter. Restrict to certificate of
|
|
2828
|
+
# current client only.
|
|
2829
|
+
# @param [String] parent
|
|
2830
|
+
# Required. The client, which owns this collection of Certificates.
|
|
2831
|
+
# @param [String] filter
|
|
2832
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
2833
|
+
# guides/list-filters.
|
|
2834
|
+
# @param [Fixnum] page_size
|
|
2835
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
|
2836
|
+
# @param [String] page_token
|
|
2837
|
+
# The token returned in the previous response.
|
|
2838
|
+
# @param [String] read_mask
|
|
2839
|
+
# The mask which specifies fields that need to be returned in the Certificate's
|
|
2840
|
+
# response.
|
|
2841
|
+
# @param [String] fields
|
|
2842
|
+
# Selector specifying which fields to include in a partial response.
|
|
2843
|
+
# @param [String] quota_user
|
|
2844
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2845
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2846
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2847
|
+
# Request-specific options
|
|
2848
|
+
#
|
|
2849
|
+
# @yield [result, err] Result & error if block supplied
|
|
2850
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] parsed result object
|
|
2851
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2852
|
+
#
|
|
2853
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse]
|
|
2854
|
+
#
|
|
2855
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2856
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2857
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2858
|
+
def list_project_location_product_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2859
|
+
command = make_simple_command(:get, 'v1/{+parent}/certificates', options)
|
|
2860
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation
|
|
2861
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse
|
|
2862
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2863
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2864
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2865
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2866
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
2867
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2868
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2869
|
+
execute_or_queue_command(command, &block)
|
|
2870
|
+
end
|
|
2871
|
+
|
|
2872
|
+
# Updates the certificate by id. If new certificate file is updated, it will
|
|
2873
|
+
# register with the trawler service, re-encrypt with cloud KMS and update the
|
|
2874
|
+
# Spanner record. Other fields will directly update the Spanner record. Returns
|
|
2875
|
+
# the Certificate.
|
|
2876
|
+
# @param [String] name
|
|
2877
|
+
# Output only. Auto generated primary key
|
|
2878
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object
|
|
2879
|
+
# @param [String] update_mask
|
|
2880
|
+
# Field mask specifying the fields in the above Certificate that have been
|
|
2881
|
+
# modified and need to be updated.
|
|
2882
|
+
# @param [String] fields
|
|
2883
|
+
# Selector specifying which fields to include in a partial response.
|
|
2884
|
+
# @param [String] quota_user
|
|
2885
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2886
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2887
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2888
|
+
# Request-specific options
|
|
2889
|
+
#
|
|
2890
|
+
# @yield [result, err] Result & error if block supplied
|
|
2891
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object
|
|
2892
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2893
|
+
#
|
|
2894
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate]
|
|
2895
|
+
#
|
|
2896
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2897
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2898
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2899
|
+
def patch_project_location_product_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2900
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2901
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
|
2902
|
+
command.request_object = google_cloud_integrations_v1alpha_certificate_object
|
|
2903
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation
|
|
2904
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate
|
|
2905
|
+
command.params['name'] = name unless name.nil?
|
|
2906
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2907
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2908
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2909
|
+
execute_or_queue_command(command, &block)
|
|
2910
|
+
end
|
|
2911
|
+
|
|
2912
|
+
# Creates a cloud function project.
|
|
2913
|
+
# @param [String] parent
|
|
2914
|
+
# Required. The project that the executed integration belongs to.
|
|
2915
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest] google_cloud_integrations_v1alpha_create_cloud_function_request_object
|
|
2916
|
+
# @param [String] fields
|
|
2917
|
+
# Selector specifying which fields to include in a partial response.
|
|
2918
|
+
# @param [String] quota_user
|
|
2919
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2920
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2921
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2922
|
+
# Request-specific options
|
|
2923
|
+
#
|
|
2924
|
+
# @yield [result, err] Result & error if block supplied
|
|
2925
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] parsed result object
|
|
2926
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2927
|
+
#
|
|
2928
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse]
|
|
2929
|
+
#
|
|
2930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2933
|
+
def create_project_location_product_cloud_function(parent, google_cloud_integrations_v1alpha_create_cloud_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2934
|
+
command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options)
|
|
2935
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation
|
|
2936
|
+
command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object
|
|
2937
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation
|
|
2938
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse
|
|
2939
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2940
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2942
|
+
execute_or_queue_command(command, &block)
|
|
2943
|
+
end
|
|
2944
|
+
|
|
2574
2945
|
# Executes integrations synchronously by passing the trigger id in the request
|
|
2575
2946
|
# body. The request is not returned until the requested executions are either
|
|
2576
2947
|
# fulfilled or experienced an error. If the integration name is not specified (
|
|
@@ -2660,34 +3031,6 @@ module Google
|
|
|
2660
3031
|
execute_or_queue_command(command, &block)
|
|
2661
3032
|
end
|
|
2662
3033
|
|
|
2663
|
-
# Get execution stats
|
|
2664
|
-
# @param [String] parent
|
|
2665
|
-
# Required. The parent resource name: `parent=projects/*/locations/*`.
|
|
2666
|
-
# @param [String] fields
|
|
2667
|
-
# Selector specifying which fields to include in a partial response.
|
|
2668
|
-
# @param [String] quota_user
|
|
2669
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2670
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2671
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2672
|
-
# Request-specific options
|
|
2673
|
-
#
|
|
2674
|
-
# @yield [result, err] Result & error if block supplied
|
|
2675
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
2676
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2677
|
-
#
|
|
2678
|
-
# @return [void]
|
|
2679
|
-
#
|
|
2680
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2681
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2682
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2683
|
-
def monitorexecutionstats_project_location_product_integration(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
2684
|
-
command = make_simple_command(:post, 'v1/{+parent}:monitorexecutionstats', options)
|
|
2685
|
-
command.params['parent'] = parent unless parent.nil?
|
|
2686
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2687
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2688
|
-
execute_or_queue_command(command, &block)
|
|
2689
|
-
end
|
|
2690
|
-
|
|
2691
3034
|
# Schedules an integration for execution by passing the trigger id and the
|
|
2692
3035
|
# scheduled time in the request body.
|
|
2693
3036
|
# @param [String] name
|
|
@@ -2755,41 +3098,6 @@ module Google
|
|
|
2755
3098
|
execute_or_queue_command(command, &block)
|
|
2756
3099
|
end
|
|
2757
3100
|
|
|
2758
|
-
# Cancellation of an execution
|
|
2759
|
-
# @param [String] name
|
|
2760
|
-
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
|
2761
|
-
# locations/`location`/products/`product`/integrations/`integration_id`/
|
|
2762
|
-
# executions/`execution_id`
|
|
2763
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object
|
|
2764
|
-
# @param [String] fields
|
|
2765
|
-
# Selector specifying which fields to include in a partial response.
|
|
2766
|
-
# @param [String] quota_user
|
|
2767
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2768
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2769
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2770
|
-
# Request-specific options
|
|
2771
|
-
#
|
|
2772
|
-
# @yield [result, err] Result & error if block supplied
|
|
2773
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] parsed result object
|
|
2774
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2775
|
-
#
|
|
2776
|
-
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse]
|
|
2777
|
-
#
|
|
2778
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2779
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2780
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2781
|
-
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)
|
|
2782
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
2783
|
-
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation
|
|
2784
|
-
command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object
|
|
2785
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation
|
|
2786
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse
|
|
2787
|
-
command.params['name'] = name unless name.nil?
|
|
2788
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2789
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2790
|
-
execute_or_queue_command(command, &block)
|
|
2791
|
-
end
|
|
2792
|
-
|
|
2793
3101
|
# Download the execution.
|
|
2794
3102
|
# @param [String] name
|
|
2795
3103
|
# Required. The execution resource name. Format: projects/`gcp_project_id`/
|
|
@@ -2860,12 +3168,15 @@ module Google
|
|
|
2860
3168
|
# @param [String] parent
|
|
2861
3169
|
# Required. The parent resource name of the integration execution.
|
|
2862
3170
|
# @param [String] filter
|
|
2863
|
-
# Optional. Standard filter field, we support filtering on
|
|
2864
|
-
#
|
|
2865
|
-
#
|
|
2866
|
-
#
|
|
2867
|
-
#
|
|
2868
|
-
#
|
|
3171
|
+
# Optional. Standard filter field, we support filtering on following fields:
|
|
3172
|
+
# workflow_name: the name of the integration. CreateTimestamp: the execution
|
|
3173
|
+
# created time. event_execution_state: the state of the executions. execution_id:
|
|
3174
|
+
# the id of the execution. trigger_id: the id of the trigger. parameter_type:
|
|
3175
|
+
# the type of the parameters involved in the execution. All fields support for
|
|
3176
|
+
# EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN
|
|
3177
|
+
# ParameterType support for HAS For example: "parameter_type" HAS \"string\"
|
|
3178
|
+
# Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND
|
|
3179
|
+
# workflow_name=\"testWorkflow\"
|
|
2869
3180
|
# @param [String] filter_params_custom_filter
|
|
2870
3181
|
# Optional user-provided custom filter.
|
|
2871
3182
|
# @param [Fixnum] filter_params_end_time
|
|
@@ -2892,19 +3203,26 @@ module Google
|
|
|
2892
3203
|
# Workflow name.
|
|
2893
3204
|
# @param [String] order_by
|
|
2894
3205
|
# Optional. The results would be returned in order you specified here. Currently
|
|
2895
|
-
# supporting "
|
|
3206
|
+
# supporting "create_time".
|
|
2896
3207
|
# @param [Fixnum] page_size
|
|
2897
3208
|
# Optional. The size of entries in the response.
|
|
2898
3209
|
# @param [String] page_token
|
|
2899
3210
|
# Optional. The token returned in the previous response.
|
|
2900
3211
|
# @param [String] read_mask
|
|
2901
3212
|
# Optional. View mask for the response data. If set, only the field specified
|
|
2902
|
-
# will be returned as part of the result. If not set, all fields in
|
|
2903
|
-
#
|
|
3213
|
+
# will be returned as part of the result. If not set, all fields in Execution
|
|
3214
|
+
# will be filled and returned. Supported fields: trigger_id execution_method
|
|
3215
|
+
# create_time update_time execution_details execution_details.state
|
|
3216
|
+
# execution_details.execution_snapshots execution_details.attempt_stats
|
|
3217
|
+
# execution_details.event_execution_snapshots_size request_parameters
|
|
3218
|
+
# cloud_logging_details snapshot_number replay_info
|
|
2904
3219
|
# @param [Boolean] refresh_acl
|
|
2905
3220
|
# Optional. If true, the service will use the most recent acl information to
|
|
2906
3221
|
# list event execution infos and renew the acl cache. Note that fetching the
|
|
2907
3222
|
# most recent acl is synchronous, so it will increase RPC call latency.
|
|
3223
|
+
# @param [Boolean] snapshot_metadata_without_params
|
|
3224
|
+
# Optional. If true, the service will provide execution info with snapshot
|
|
3225
|
+
# metadata only i.e. without event parameters.
|
|
2908
3226
|
# @param [Boolean] truncate_params
|
|
2909
3227
|
# Optional. If true, the service will truncate the params to only keep the first
|
|
2910
3228
|
# 1000 characters of string params and empty the executions in order to make
|
|
@@ -2927,7 +3245,7 @@ module Google
|
|
|
2927
3245
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2928
3246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2929
3247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2930
|
-
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)
|
|
3248
|
+
def list_project_location_product_integration_executions(parent, filter: nil, filter_params_custom_filter: nil, filter_params_end_time: nil, filter_params_event_statuses: nil, filter_params_execution_id: nil, filter_params_parameter_key: nil, filter_params_parameter_pair_key: nil, filter_params_parameter_pair_value: nil, filter_params_parameter_type: nil, filter_params_parameter_value: nil, filter_params_start_time: nil, filter_params_task_statuses: nil, filter_params_workflow_name: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, refresh_acl: nil, snapshot_metadata_without_params: nil, truncate_params: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2931
3249
|
command = make_simple_command(:get, 'v1/{+parent}/executions', options)
|
|
2932
3250
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation
|
|
2933
3251
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse
|
|
@@ -2950,15 +3268,16 @@ module Google
|
|
|
2950
3268
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2951
3269
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
2952
3270
|
command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil?
|
|
3271
|
+
command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil?
|
|
2953
3272
|
command.query['truncateParams'] = truncate_params unless truncate_params.nil?
|
|
2954
3273
|
command.query['fields'] = fields unless fields.nil?
|
|
2955
3274
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2956
3275
|
execute_or_queue_command(command, &block)
|
|
2957
3276
|
end
|
|
2958
3277
|
|
|
2959
|
-
# * Lifts suspension for
|
|
2960
|
-
#
|
|
2961
|
-
#
|
|
3278
|
+
# * Lifts suspension for the Suspension task. Fetch corresponding suspension
|
|
3279
|
+
# with provided suspension Id, resolve suspension, and set up suspension result
|
|
3280
|
+
# for the Suspension Task.
|
|
2962
3281
|
# @param [String] name
|
|
2963
3282
|
# Required. The resource that the suspension belongs to. "projects/`project`/
|
|
2964
3283
|
# locations/`location`/products/`product`/integrations/`integration`/executions/`
|
|
@@ -3074,20 +3393,18 @@ module Google
|
|
|
3074
3393
|
execute_or_queue_command(command, &block)
|
|
3075
3394
|
end
|
|
3076
3395
|
|
|
3077
|
-
#
|
|
3078
|
-
# used.
|
|
3396
|
+
# Create a integration with a draft version in the specified project.
|
|
3079
3397
|
# @param [String] parent
|
|
3080
|
-
# Required. The parent resource
|
|
3081
|
-
#
|
|
3082
|
-
#
|
|
3083
|
-
# @param [
|
|
3084
|
-
#
|
|
3085
|
-
# @param [
|
|
3086
|
-
#
|
|
3087
|
-
#
|
|
3088
|
-
#
|
|
3089
|
-
#
|
|
3090
|
-
# snapshot will be filled and returned.
|
|
3398
|
+
# Required. The parent resource where this version will be created. Format:
|
|
3399
|
+
# projects/`project`/locations/`location`/integrations/`integration`
|
|
3400
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
|
3401
|
+
# @param [Boolean] create_sample_integrations
|
|
3402
|
+
# Optional. Optional. Indicates if sample workflow should be created.
|
|
3403
|
+
# @param [Boolean] new_integration
|
|
3404
|
+
# Set this flag to true, if draft version is to be created for a brand new
|
|
3405
|
+
# integration. False, if the request is for an existing integration. For
|
|
3406
|
+
# backward compatibility reasons, even if this flag is set to `false` and no
|
|
3407
|
+
# existing integration is found, a new draft integration will still be created.
|
|
3091
3408
|
# @param [String] fields
|
|
3092
3409
|
# Selector specifying which fields to include in a partial response.
|
|
3093
3410
|
# @param [String] quota_user
|
|
@@ -3097,23 +3414,23 @@ module Google
|
|
|
3097
3414
|
# Request-specific options
|
|
3098
3415
|
#
|
|
3099
3416
|
# @yield [result, err] Result & error if block supplied
|
|
3100
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3417
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
|
3101
3418
|
# @yieldparam err [StandardError] error object if request failed
|
|
3102
3419
|
#
|
|
3103
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3420
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
|
3104
3421
|
#
|
|
3105
3422
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3106
3423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3107
3424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3108
|
-
def
|
|
3109
|
-
command = make_simple_command(:
|
|
3110
|
-
command.
|
|
3111
|
-
command.
|
|
3425
|
+
def create_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_integration_version_object = nil, create_sample_integrations: nil, new_integration: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3426
|
+
command = make_simple_command(:post, 'v1/{+parent}/versions', options)
|
|
3427
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
3428
|
+
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
|
3429
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
3430
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
|
3112
3431
|
command.params['parent'] = parent unless parent.nil?
|
|
3113
|
-
command.query['
|
|
3114
|
-
command.query['
|
|
3115
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3116
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
3432
|
+
command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil?
|
|
3433
|
+
command.query['newIntegration'] = new_integration unless new_integration.nil?
|
|
3117
3434
|
command.query['fields'] = fields unless fields.nil?
|
|
3118
3435
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3119
3436
|
execute_or_queue_command(command, &block)
|
|
@@ -3123,15 +3440,14 @@ module Google
|
|
|
3123
3440
|
# ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is
|
|
3124
3441
|
# removed from this snapshot and set to the previous non-ARCHIVED snapshot. The
|
|
3125
3442
|
# PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an
|
|
3126
|
-
# exception if the version being
|
|
3127
|
-
# is not the same as the user performing the
|
|
3443
|
+
# exception if the version being deleted is DRAFT, and if the `locked_by` user
|
|
3444
|
+
# is not the same as the user performing the Delete. Audit fields updated
|
|
3128
3445
|
# include last_modified_timestamp, last_modified_by. Any existing lock is
|
|
3129
|
-
# released when
|
|
3446
|
+
# released when Deleting a integration. Currently, there is no undelete
|
|
3130
3447
|
# mechanism.
|
|
3131
3448
|
# @param [String] name
|
|
3132
|
-
# Required. The version to
|
|
3449
|
+
# Required. The version to delete. Format: projects/`project`/locations/`
|
|
3133
3450
|
# location`/integrations/`integration`/versions/`version`
|
|
3134
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest] google_cloud_integrations_v1alpha_archive_integration_version_request_object
|
|
3135
3451
|
# @param [String] fields
|
|
3136
3452
|
# Selector specifying which fields to include in a partial response.
|
|
3137
3453
|
# @param [String] quota_user
|
|
@@ -3141,36 +3457,164 @@ module Google
|
|
|
3141
3457
|
# Request-specific options
|
|
3142
3458
|
#
|
|
3143
3459
|
# @yield [result, err] Result & error if block supplied
|
|
3144
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3460
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
3145
3461
|
# @yieldparam err [StandardError] error object if request failed
|
|
3146
3462
|
#
|
|
3147
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3463
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
3148
3464
|
#
|
|
3149
3465
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3150
3466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3151
3467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3152
|
-
def
|
|
3153
|
-
command = make_simple_command(:
|
|
3154
|
-
command.
|
|
3155
|
-
command.
|
|
3156
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse::Representation
|
|
3157
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse
|
|
3468
|
+
def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3469
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3470
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3471
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
3158
3472
|
command.params['name'] = name unless name.nil?
|
|
3159
3473
|
command.query['fields'] = fields unless fields.nil?
|
|
3160
3474
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3161
3475
|
execute_or_queue_command(command, &block)
|
|
3162
3476
|
end
|
|
3163
3477
|
|
|
3164
|
-
#
|
|
3478
|
+
# Downloads an integration. Retrieves the `IntegrationVersion` for a given `
|
|
3479
|
+
# integration_id` and returns the response as a string.
|
|
3480
|
+
# @param [String] name
|
|
3481
|
+
# Required. The version to download. Format: projects/`project`/locations/`
|
|
3482
|
+
# location`/integrations/`integration`/versions/`version`
|
|
3483
|
+
# @param [String] file_format
|
|
3484
|
+
# File format for download request.
|
|
3485
|
+
# @param [Array<String>, String] files
|
|
3486
|
+
# Optional. Integration related file to download like Integration Json, Config
|
|
3487
|
+
# variable, testcase etc.
|
|
3488
|
+
# @param [String] fields
|
|
3489
|
+
# Selector specifying which fields to include in a partial response.
|
|
3490
|
+
# @param [String] quota_user
|
|
3491
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3492
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3493
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3494
|
+
# Request-specific options
|
|
3495
|
+
#
|
|
3496
|
+
# @yield [result, err] Result & error if block supplied
|
|
3497
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object
|
|
3498
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3499
|
+
#
|
|
3500
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse]
|
|
3501
|
+
#
|
|
3502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3505
|
+
def download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3506
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
|
3507
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation
|
|
3508
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
|
|
3509
|
+
command.params['name'] = name unless name.nil?
|
|
3510
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
|
3511
|
+
command.query['files'] = files unless files.nil?
|
|
3512
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3513
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3514
|
+
execute_or_queue_command(command, &block)
|
|
3515
|
+
end
|
|
3516
|
+
|
|
3517
|
+
# Get a integration in the specified project.
|
|
3518
|
+
# @param [String] name
|
|
3519
|
+
# Required. The version to retrieve. Format: projects/`project`/locations/`
|
|
3520
|
+
# location`/integrations/`integration`/versions/`version`
|
|
3521
|
+
# @param [String] fields
|
|
3522
|
+
# Selector specifying which fields to include in a partial response.
|
|
3523
|
+
# @param [String] quota_user
|
|
3524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3526
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3527
|
+
# Request-specific options
|
|
3528
|
+
#
|
|
3529
|
+
# @yield [result, err] Result & error if block supplied
|
|
3530
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object
|
|
3531
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3532
|
+
#
|
|
3533
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
|
|
3534
|
+
#
|
|
3535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3538
|
+
def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3539
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3540
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
3541
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
|
3542
|
+
command.params['name'] = name unless name.nil?
|
|
3543
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3545
|
+
execute_or_queue_command(command, &block)
|
|
3546
|
+
end
|
|
3547
|
+
|
|
3548
|
+
# Returns the list of all integration versions in the specified project.
|
|
3165
3549
|
# @param [String] parent
|
|
3166
3550
|
# Required. The parent resource where this version will be created. Format:
|
|
3167
3551
|
# projects/`project`/locations/`location`/integrations/`integration`
|
|
3552
|
+
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
|
3553
|
+
# Meaning: "List versions (with filter) for a particular integration". 2.
|
|
3554
|
+
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
|
3555
|
+
# a client within a particular region".
|
|
3556
|
+
# @param [String] field_mask
|
|
3557
|
+
# The field mask which specifies the particular data to be returned.
|
|
3558
|
+
# @param [String] filter
|
|
3559
|
+
# Filter on fields of IntegrationVersion. Fields can be compared with literal
|
|
3560
|
+
# values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less
|
|
3561
|
+
# than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (
|
|
3562
|
+
# inequality) operators. Negation, conjunction, and disjunction are written
|
|
3563
|
+
# using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=
|
|
3564
|
+
# ACTIVE AND description:"test". Filtering cannot be performed on repeated
|
|
3565
|
+
# fields like `task_config`.
|
|
3566
|
+
# @param [String] order_by
|
|
3567
|
+
# The results would be returned in order you specified here. Currently supported
|
|
3568
|
+
# sort keys are: Descending sort order for "last\_modified\_time", "created\
|
|
3569
|
+
# _time", and "snapshot\_number". Ascending sort order for `name`.
|
|
3570
|
+
# @param [Fixnum] page_size
|
|
3571
|
+
# The maximum number of versions to return. The service may return fewer than
|
|
3572
|
+
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
|
3573
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
|
3574
|
+
# @param [String] page_token
|
|
3575
|
+
# A page token, received from a previous `ListIntegrationVersions` call. Provide
|
|
3576
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
|
3577
|
+
# provided to `ListIntegrationVersions` must match the call that provided the
|
|
3578
|
+
# page token.
|
|
3579
|
+
# @param [String] fields
|
|
3580
|
+
# Selector specifying which fields to include in a partial response.
|
|
3581
|
+
# @param [String] quota_user
|
|
3582
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3583
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3584
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3585
|
+
# Request-specific options
|
|
3586
|
+
#
|
|
3587
|
+
# @yield [result, err] Result & error if block supplied
|
|
3588
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] parsed result object
|
|
3589
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3590
|
+
#
|
|
3591
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse]
|
|
3592
|
+
#
|
|
3593
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3594
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3595
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3596
|
+
def list_project_location_product_integration_versions(parent, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3597
|
+
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
|
|
3598
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation
|
|
3599
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
|
|
3600
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3601
|
+
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
|
3602
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3603
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3604
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3605
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3606
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3607
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3608
|
+
execute_or_queue_command(command, &block)
|
|
3609
|
+
end
|
|
3610
|
+
|
|
3611
|
+
# Update a integration with a draft version in the specified project.
|
|
3612
|
+
# @param [String] name
|
|
3613
|
+
# Output only. Auto-generated primary key.
|
|
3168
3614
|
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object
|
|
3169
|
-
# @param [
|
|
3170
|
-
#
|
|
3171
|
-
#
|
|
3172
|
-
# backward compatibility reasons, even if this flag is set to `false` and no
|
|
3173
|
-
# existing integration is found, a new draft integration will still be created.
|
|
3615
|
+
# @param [String] update_mask
|
|
3616
|
+
# Field mask specifying the fields in the above integration that have been
|
|
3617
|
+
# modified and need to be updated.
|
|
3174
3618
|
# @param [String] fields
|
|
3175
3619
|
# Selector specifying which fields to include in a partial response.
|
|
3176
3620
|
# @param [String] quota_user
|
|
@@ -3188,27 +3632,29 @@ module Google
|
|
|
3188
3632
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3189
3633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3190
3634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3191
|
-
def
|
|
3192
|
-
command = make_simple_command(:
|
|
3635
|
+
def patch_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_integration_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3636
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
3193
3637
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
3194
3638
|
command.request_object = google_cloud_integrations_v1alpha_integration_version_object
|
|
3195
3639
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation
|
|
3196
3640
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
|
|
3197
|
-
command.params['
|
|
3198
|
-
command.query['
|
|
3641
|
+
command.params['name'] = name unless name.nil?
|
|
3642
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3199
3643
|
command.query['fields'] = fields unless fields.nil?
|
|
3200
3644
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3201
3645
|
execute_or_queue_command(command, &block)
|
|
3202
3646
|
end
|
|
3203
3647
|
|
|
3204
|
-
#
|
|
3205
|
-
#
|
|
3206
|
-
#
|
|
3207
|
-
#
|
|
3648
|
+
# This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state.
|
|
3649
|
+
# This RPC throws an exception if the version being published is DRAFT, and if
|
|
3650
|
+
# the `locked_by` user is not the same as the user performing the Publish. Audit
|
|
3651
|
+
# fields updated include last_published_timestamp, last_published_by,
|
|
3652
|
+
# last_modified_timestamp, last_modified_by. Any existing lock is on this
|
|
3653
|
+
# integration is released.
|
|
3208
3654
|
# @param [String] name
|
|
3209
|
-
# Required. The version to
|
|
3655
|
+
# Required. The version to publish. Format: projects/`project`/locations/`
|
|
3210
3656
|
# location`/integrations/`integration`/versions/`version`
|
|
3211
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
3657
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_publish_integration_version_request_object
|
|
3212
3658
|
# @param [String] fields
|
|
3213
3659
|
# Selector specifying which fields to include in a partial response.
|
|
3214
3660
|
# @param [String] quota_user
|
|
@@ -3218,38 +3664,78 @@ module Google
|
|
|
3218
3664
|
# Request-specific options
|
|
3219
3665
|
#
|
|
3220
3666
|
# @yield [result, err] Result & error if block supplied
|
|
3221
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3667
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] parsed result object
|
|
3222
3668
|
# @yieldparam err [StandardError] error object if request failed
|
|
3223
3669
|
#
|
|
3224
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3670
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse]
|
|
3225
3671
|
#
|
|
3226
3672
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3227
3673
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3228
3674
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3229
|
-
def
|
|
3230
|
-
command = make_simple_command(:post, 'v1/{+name}:
|
|
3231
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
3232
|
-
command.request_object =
|
|
3233
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3234
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
3675
|
+
def publish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3676
|
+
command = make_simple_command(:post, 'v1/{+name}:publish', options)
|
|
3677
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation
|
|
3678
|
+
command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object
|
|
3679
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation
|
|
3680
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse
|
|
3235
3681
|
command.params['name'] = name unless name.nil?
|
|
3236
3682
|
command.query['fields'] = fields unless fields.nil?
|
|
3237
3683
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3238
3684
|
execute_or_queue_command(command, &block)
|
|
3239
3685
|
end
|
|
3240
3686
|
|
|
3241
|
-
#
|
|
3242
|
-
#
|
|
3243
|
-
#
|
|
3244
|
-
#
|
|
3245
|
-
#
|
|
3246
|
-
#
|
|
3247
|
-
#
|
|
3248
|
-
#
|
|
3249
|
-
#
|
|
3687
|
+
# Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this
|
|
3688
|
+
# integration. It then performs the same action as the
|
|
3689
|
+
# CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the
|
|
3690
|
+
# integration as a SNAPSHOT and then creates a new DRAFT version with the `
|
|
3691
|
+
# locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to
|
|
3692
|
+
# the current timestamp). Both the `locked_by` and `user_taking_over` are
|
|
3693
|
+
# notified via email about the takeover. This RPC throws an exception if the
|
|
3694
|
+
# integration is not in DRAFT status or if the `locked_by` and `
|
|
3695
|
+
# locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the
|
|
3696
|
+
# same as an edit of the integration, and hence shares ACLs with edit. Audit
|
|
3697
|
+
# fields updated include last_modified_timestamp, last_modified_by.
|
|
3698
|
+
# @param [String] integration_version
|
|
3699
|
+
# Required. The version to take over edit lock. Format: projects/`project`/
|
|
3700
|
+
# locations/`location`/integrations/`integration`/versions/`version`
|
|
3701
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
|
3702
|
+
# @param [String] fields
|
|
3703
|
+
# Selector specifying which fields to include in a partial response.
|
|
3704
|
+
# @param [String] quota_user
|
|
3705
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3706
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3707
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3708
|
+
# Request-specific options
|
|
3709
|
+
#
|
|
3710
|
+
# @yield [result, err] Result & error if block supplied
|
|
3711
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] parsed result object
|
|
3712
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3713
|
+
#
|
|
3714
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse]
|
|
3715
|
+
#
|
|
3716
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3717
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3718
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3719
|
+
def takeover_project_location_product_integration_version_edit_lock(integration_version, google_cloud_integrations_v1alpha_takeover_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3720
|
+
command = make_simple_command(:post, 'v1/{+integrationVersion}:takeoverEditLock', options)
|
|
3721
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation
|
|
3722
|
+
command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
|
3723
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation
|
|
3724
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
|
|
3725
|
+
command.params['integrationVersion'] = integration_version unless integration_version.nil?
|
|
3726
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3727
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3728
|
+
execute_or_queue_command(command, &block)
|
|
3729
|
+
end
|
|
3730
|
+
|
|
3731
|
+
# Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "
|
|
3732
|
+
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
|
3733
|
+
# tags do not change. This RPC throws an exception if the version being snapshot
|
|
3734
|
+
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
|
3250
3735
|
# @param [String] name
|
|
3251
|
-
# Required. The version to
|
|
3736
|
+
# Required. The version to deactivate. Format: projects/`project`/locations/`
|
|
3252
3737
|
# location`/integrations/`integration`/versions/`version`
|
|
3738
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
|
3253
3739
|
# @param [String] fields
|
|
3254
3740
|
# Selector specifying which fields to include in a partial response.
|
|
3255
3741
|
# @param [String] quota_user
|
|
@@ -3267,8 +3753,10 @@ module Google
|
|
|
3267
3753
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3268
3754
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3269
3755
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3270
|
-
def
|
|
3271
|
-
command = make_simple_command(:
|
|
3756
|
+
def unpublish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_unpublish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3757
|
+
command = make_simple_command(:post, 'v1/{+name}:unpublish', options)
|
|
3758
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
|
3759
|
+
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
|
3272
3760
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3273
3761
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
3274
3762
|
command.params['name'] = name unless name.nil?
|
|
@@ -3277,13 +3765,14 @@ module Google
|
|
|
3277
3765
|
execute_or_queue_command(command, &block)
|
|
3278
3766
|
end
|
|
3279
3767
|
|
|
3280
|
-
#
|
|
3281
|
-
#
|
|
3282
|
-
#
|
|
3283
|
-
#
|
|
3284
|
-
#
|
|
3285
|
-
#
|
|
3286
|
-
#
|
|
3768
|
+
# Uploads an integration. The content can be a previously downloaded integration.
|
|
3769
|
+
# Performs the same function as CreateDraftIntegrationVersion, but accepts
|
|
3770
|
+
# input in a string format, which holds the complete representation of the
|
|
3771
|
+
# IntegrationVersion content.
|
|
3772
|
+
# @param [String] parent
|
|
3773
|
+
# Required. The version to upload. Format: projects/`project`/locations/`
|
|
3774
|
+
# location`/integrations/`integration`
|
|
3775
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
|
3287
3776
|
# @param [String] fields
|
|
3288
3777
|
# Selector specifying which fields to include in a partial response.
|
|
3289
3778
|
# @param [String] quota_user
|
|
@@ -3293,29 +3782,31 @@ module Google
|
|
|
3293
3782
|
# Request-specific options
|
|
3294
3783
|
#
|
|
3295
3784
|
# @yield [result, err] Result & error if block supplied
|
|
3296
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3785
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object
|
|
3297
3786
|
# @yieldparam err [StandardError] error object if request failed
|
|
3298
3787
|
#
|
|
3299
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3788
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse]
|
|
3300
3789
|
#
|
|
3301
3790
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3302
3791
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3303
3792
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3304
|
-
def
|
|
3305
|
-
command = make_simple_command(:
|
|
3306
|
-
command.
|
|
3307
|
-
command.
|
|
3308
|
-
command.
|
|
3309
|
-
command.
|
|
3793
|
+
def upload_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3794
|
+
command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options)
|
|
3795
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation
|
|
3796
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object
|
|
3797
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
|
|
3798
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
|
|
3799
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3310
3800
|
command.query['fields'] = fields unless fields.nil?
|
|
3311
3801
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3312
3802
|
execute_or_queue_command(command, &block)
|
|
3313
3803
|
end
|
|
3314
3804
|
|
|
3315
|
-
#
|
|
3316
|
-
#
|
|
3317
|
-
#
|
|
3318
|
-
#
|
|
3805
|
+
# Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns
|
|
3806
|
+
# the sfdc instance.
|
|
3807
|
+
# @param [String] parent
|
|
3808
|
+
# Required. "projects/`project`/locations/`location`" format.
|
|
3809
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
3319
3810
|
# @param [String] fields
|
|
3320
3811
|
# Selector specifying which fields to include in a partial response.
|
|
3321
3812
|
# @param [String] quota_user
|
|
@@ -3325,28 +3816,29 @@ module Google
|
|
|
3325
3816
|
# Request-specific options
|
|
3326
3817
|
#
|
|
3327
3818
|
# @yield [result, err] Result & error if block supplied
|
|
3328
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3819
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
|
3329
3820
|
# @yieldparam err [StandardError] error object if request failed
|
|
3330
3821
|
#
|
|
3331
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3822
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
|
3332
3823
|
#
|
|
3333
3824
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3334
3825
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3335
3826
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3336
|
-
def
|
|
3337
|
-
command = make_simple_command(:
|
|
3338
|
-
command.
|
|
3339
|
-
command.
|
|
3340
|
-
command.
|
|
3827
|
+
def create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3828
|
+
command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
|
|
3829
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3830
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
3831
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3832
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
|
3833
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3341
3834
|
command.query['fields'] = fields unless fields.nil?
|
|
3342
3835
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3343
3836
|
execute_or_queue_command(command, &block)
|
|
3344
3837
|
end
|
|
3345
3838
|
|
|
3346
|
-
#
|
|
3347
|
-
# SERVICE. RPC to get details of the Bundle
|
|
3839
|
+
# Deletes an sfdc instance.
|
|
3348
3840
|
# @param [String] name
|
|
3349
|
-
# Required. The
|
|
3841
|
+
# Required. The name that is associated with the SfdcInstance.
|
|
3350
3842
|
# @param [String] fields
|
|
3351
3843
|
# Selector specifying which fields to include in a partial response.
|
|
3352
3844
|
# @param [String] quota_user
|
|
@@ -3356,56 +3848,28 @@ module Google
|
|
|
3356
3848
|
# Request-specific options
|
|
3357
3849
|
#
|
|
3358
3850
|
# @yield [result, err] Result & error if block supplied
|
|
3359
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3851
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
3360
3852
|
# @yieldparam err [StandardError] error object if request failed
|
|
3361
3853
|
#
|
|
3362
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3854
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
3363
3855
|
#
|
|
3364
3856
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3365
3857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3366
3858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3367
|
-
def
|
|
3368
|
-
command = make_simple_command(:
|
|
3369
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3370
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
3859
|
+
def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3860
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3861
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3862
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
3371
3863
|
command.params['name'] = name unless name.nil?
|
|
3372
3864
|
command.query['fields'] = fields unless fields.nil?
|
|
3373
3865
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3374
3866
|
execute_or_queue_command(command, &block)
|
|
3375
3867
|
end
|
|
3376
3868
|
|
|
3377
|
-
#
|
|
3378
|
-
#
|
|
3379
|
-
#
|
|
3380
|
-
#
|
|
3381
|
-
# Specifically, when parent equals: 1. projects//locations//integrations/,
|
|
3382
|
-
# Meaning: "List versions (with filter) for a particular integration". 2.
|
|
3383
|
-
# projects//locations//integrations/- Meaning: "List versions (with filter) for
|
|
3384
|
-
# a client within a particular region". 3. projects//locations/-/integrations/-
|
|
3385
|
-
# Meaning: "List versions (with filter) for a client".
|
|
3386
|
-
# @param [String] field_mask
|
|
3387
|
-
# The field mask which specifies the particular data to be returned.
|
|
3388
|
-
# @param [String] filter
|
|
3389
|
-
# Filter on fields of IntegrationVersion. Fields can be compared with literal
|
|
3390
|
-
# values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less
|
|
3391
|
-
# than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (
|
|
3392
|
-
# inequality) operators. Negation, conjunction, and disjunction are written
|
|
3393
|
-
# using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=
|
|
3394
|
-
# ACTIVE AND description:"test". Filtering cannot be performed on repeated
|
|
3395
|
-
# fields like `task_config`.
|
|
3396
|
-
# @param [String] order_by
|
|
3397
|
-
# The results would be returned in order you specified here. Currently supported
|
|
3398
|
-
# sort keys are: Descending sort order for "last_modified_time", "created_time",
|
|
3399
|
-
# "snapshot_number" Ascending sort order for "name".
|
|
3400
|
-
# @param [Fixnum] page_size
|
|
3401
|
-
# The maximum number of versions to return. The service may return fewer than
|
|
3402
|
-
# this value. If unspecified, at most 50 versions will be returned. The maximum
|
|
3403
|
-
# value is 1000; values above 1000 will be coerced to 1000.
|
|
3404
|
-
# @param [String] page_token
|
|
3405
|
-
# A page token, received from a previous `ListIntegrationVersions` call. Provide
|
|
3406
|
-
# this to retrieve the subsequent page. When paginating, all other parameters
|
|
3407
|
-
# provided to `ListIntegrationVersions` must match the call that provided the
|
|
3408
|
-
# page token.
|
|
3869
|
+
# Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception
|
|
3870
|
+
# will be thrown.
|
|
3871
|
+
# @param [String] name
|
|
3872
|
+
# Required. The name that is associated with the SfdcInstance.
|
|
3409
3873
|
# @param [String] fields
|
|
3410
3874
|
# Selector specifying which fields to include in a partial response.
|
|
3411
3875
|
# @param [String] quota_user
|
|
@@ -3415,36 +3879,38 @@ module Google
|
|
|
3415
3879
|
# Request-specific options
|
|
3416
3880
|
#
|
|
3417
3881
|
# @yield [result, err] Result & error if block supplied
|
|
3418
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3882
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
|
3419
3883
|
# @yieldparam err [StandardError] error object if request failed
|
|
3420
3884
|
#
|
|
3421
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3885
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
|
3422
3886
|
#
|
|
3423
3887
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3424
3888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3425
3889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3426
|
-
def
|
|
3427
|
-
command = make_simple_command(:get, 'v1/{+
|
|
3428
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3429
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
3430
|
-
command.params['
|
|
3431
|
-
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
|
3432
|
-
command.query['filter'] = filter unless filter.nil?
|
|
3433
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3434
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3435
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3890
|
+
def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3891
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3892
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3893
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
|
3894
|
+
command.params['name'] = name unless name.nil?
|
|
3436
3895
|
command.query['fields'] = fields unless fields.nil?
|
|
3437
3896
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3438
3897
|
execute_or_queue_command(command, &block)
|
|
3439
3898
|
end
|
|
3440
3899
|
|
|
3441
|
-
#
|
|
3442
|
-
#
|
|
3443
|
-
#
|
|
3444
|
-
#
|
|
3445
|
-
# @param [String]
|
|
3446
|
-
#
|
|
3447
|
-
#
|
|
3900
|
+
# Lists all sfdc instances that match the filter. Restrict to sfdc instances
|
|
3901
|
+
# belonging to the current client only.
|
|
3902
|
+
# @param [String] parent
|
|
3903
|
+
# Required. The client, which owns this collection of SfdcInstances.
|
|
3904
|
+
# @param [String] filter
|
|
3905
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
3906
|
+
# guides/list-filters.
|
|
3907
|
+
# @param [Fixnum] page_size
|
|
3908
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
|
3909
|
+
# @param [String] page_token
|
|
3910
|
+
# The token returned in the previous response.
|
|
3911
|
+
# @param [String] read_mask
|
|
3912
|
+
# The mask which specifies fields that need to be returned in the SfdcInstance's
|
|
3913
|
+
# response.
|
|
3448
3914
|
# @param [String] fields
|
|
3449
3915
|
# Selector specifying which fields to include in a partial response.
|
|
3450
3916
|
# @param [String] quota_user
|
|
@@ -3454,37 +3920,37 @@ module Google
|
|
|
3454
3920
|
# Request-specific options
|
|
3455
3921
|
#
|
|
3456
3922
|
# @yield [result, err] Result & error if block supplied
|
|
3457
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3923
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] parsed result object
|
|
3458
3924
|
# @yieldparam err [StandardError] error object if request failed
|
|
3459
3925
|
#
|
|
3460
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3926
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse]
|
|
3461
3927
|
#
|
|
3462
3928
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3463
3929
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3464
3930
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3465
|
-
def
|
|
3466
|
-
command = make_simple_command(:
|
|
3467
|
-
command.
|
|
3468
|
-
command.
|
|
3469
|
-
command.
|
|
3470
|
-
command.
|
|
3471
|
-
command.
|
|
3472
|
-
command.query['
|
|
3931
|
+
def list_project_location_product_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3932
|
+
command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
|
|
3933
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
|
|
3934
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
|
|
3935
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3936
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3937
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3938
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3939
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
3473
3940
|
command.query['fields'] = fields unless fields.nil?
|
|
3474
3941
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3475
3942
|
execute_or_queue_command(command, &block)
|
|
3476
3943
|
end
|
|
3477
3944
|
|
|
3478
|
-
#
|
|
3479
|
-
#
|
|
3480
|
-
# the `locked_by` user is not the same as the user performing the Publish. Audit
|
|
3481
|
-
# fields updated include last_published_timestamp, last_published_by,
|
|
3482
|
-
# last_modified_timestamp, last_modified_by. Any existing lock is on this
|
|
3483
|
-
# integration is released.
|
|
3945
|
+
# Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the
|
|
3946
|
+
# sfdc instance.
|
|
3484
3947
|
# @param [String] name
|
|
3485
|
-
#
|
|
3486
|
-
#
|
|
3487
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
3948
|
+
# Resource name of the SFDC instance projects/`project`/locations/`location`/
|
|
3949
|
+
# sfdcInstances/`sfdcInstance`.
|
|
3950
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
3951
|
+
# @param [String] update_mask
|
|
3952
|
+
# Field mask specifying the fields in the above SfdcInstance that have been
|
|
3953
|
+
# modified and need to be updated.
|
|
3488
3954
|
# @param [String] fields
|
|
3489
3955
|
# Selector specifying which fields to include in a partial response.
|
|
3490
3956
|
# @param [String] quota_user
|
|
@@ -3494,41 +3960,32 @@ module Google
|
|
|
3494
3960
|
# Request-specific options
|
|
3495
3961
|
#
|
|
3496
3962
|
# @yield [result, err] Result & error if block supplied
|
|
3497
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3963
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object
|
|
3498
3964
|
# @yieldparam err [StandardError] error object if request failed
|
|
3499
3965
|
#
|
|
3500
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
3966
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance]
|
|
3501
3967
|
#
|
|
3502
3968
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3503
3969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3504
3970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3505
|
-
def
|
|
3506
|
-
command = make_simple_command(:
|
|
3507
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
3508
|
-
command.request_object =
|
|
3509
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3510
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
3971
|
+
def patch_project_location_product_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3972
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
3973
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3974
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
3975
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3976
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
|
3511
3977
|
command.params['name'] = name unless name.nil?
|
|
3978
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3512
3979
|
command.query['fields'] = fields unless fields.nil?
|
|
3513
3980
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3514
3981
|
execute_or_queue_command(command, &block)
|
|
3515
3982
|
end
|
|
3516
3983
|
|
|
3517
|
-
#
|
|
3518
|
-
#
|
|
3519
|
-
#
|
|
3520
|
-
#
|
|
3521
|
-
#
|
|
3522
|
-
# the current timestamp). Both the `locked_by` and `user_taking_over` are
|
|
3523
|
-
# notified via email about the takeover. This RPC throws an exception if the
|
|
3524
|
-
# integration is not in DRAFT status or if the `locked_by` and `
|
|
3525
|
-
# locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the
|
|
3526
|
-
# same as an edit of the integration, and hence shares ACLs with edit. Audit
|
|
3527
|
-
# fields updated include last_modified_timestamp, last_modified_by.
|
|
3528
|
-
# @param [String] integration_version
|
|
3529
|
-
# Required. The version to take over edit lock. Format: projects/`project`/
|
|
3530
|
-
# locations/`location`/integrations/`integration`/versions/`version`
|
|
3531
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object
|
|
3984
|
+
# Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the
|
|
3985
|
+
# sfdc channel.
|
|
3986
|
+
# @param [String] parent
|
|
3987
|
+
# Required. "projects/`project`/locations/`location`" format.
|
|
3988
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
3532
3989
|
# @param [String] fields
|
|
3533
3990
|
# Selector specifying which fields to include in a partial response.
|
|
3534
3991
|
# @param [String] quota_user
|
|
@@ -3538,34 +3995,29 @@ module Google
|
|
|
3538
3995
|
# Request-specific options
|
|
3539
3996
|
#
|
|
3540
3997
|
# @yield [result, err] Result & error if block supplied
|
|
3541
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
3998
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
|
3542
3999
|
# @yieldparam err [StandardError] error object if request failed
|
|
3543
4000
|
#
|
|
3544
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4001
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
|
3545
4002
|
#
|
|
3546
4003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3547
4004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3548
4005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3549
|
-
def
|
|
3550
|
-
command = make_simple_command(:post, 'v1/{+
|
|
3551
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
3552
|
-
command.request_object =
|
|
3553
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3554
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
3555
|
-
command.params['
|
|
4006
|
+
def create_project_location_product_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4007
|
+
command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
|
|
4008
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4009
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
4010
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4011
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
|
4012
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3556
4013
|
command.query['fields'] = fields unless fields.nil?
|
|
3557
4014
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3558
4015
|
execute_or_queue_command(command, &block)
|
|
3559
4016
|
end
|
|
3560
4017
|
|
|
3561
|
-
#
|
|
3562
|
-
# PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED"
|
|
3563
|
-
# tags do not change. This RPC throws an exception if the version being snapshot
|
|
3564
|
-
# is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
|
|
4018
|
+
# Deletes an sfdc channel.
|
|
3565
4019
|
# @param [String] name
|
|
3566
|
-
# Required. The
|
|
3567
|
-
# location`/integrations/`integration`/versions/`version`
|
|
3568
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
|
4020
|
+
# Required. The name that is associated with the SfdcChannel.
|
|
3569
4021
|
# @param [String] fields
|
|
3570
4022
|
# Selector specifying which fields to include in a partial response.
|
|
3571
4023
|
# @param [String] quota_user
|
|
@@ -3583,10 +4035,8 @@ module Google
|
|
|
3583
4035
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3584
4036
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3585
4037
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3586
|
-
def
|
|
3587
|
-
command = make_simple_command(:
|
|
3588
|
-
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation
|
|
3589
|
-
command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object
|
|
4038
|
+
def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4039
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3590
4040
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3591
4041
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
3592
4042
|
command.params['name'] = name unless name.nil?
|
|
@@ -3595,10 +4045,10 @@ module Google
|
|
|
3595
4045
|
execute_or_queue_command(command, &block)
|
|
3596
4046
|
end
|
|
3597
4047
|
|
|
3598
|
-
#
|
|
4048
|
+
# Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception
|
|
4049
|
+
# will be thrown.
|
|
3599
4050
|
# @param [String] name
|
|
3600
|
-
# Required.
|
|
3601
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUpdateBundleRequest] google_cloud_integrations_v1alpha_update_bundle_request_object
|
|
4051
|
+
# Required. The name that is associated with the SfdcChannel.
|
|
3602
4052
|
# @param [String] fields
|
|
3603
4053
|
# Selector specifying which fields to include in a partial response.
|
|
3604
4054
|
# @param [String] quota_user
|
|
@@ -3608,34 +4058,38 @@ module Google
|
|
|
3608
4058
|
# Request-specific options
|
|
3609
4059
|
#
|
|
3610
4060
|
# @yield [result, err] Result & error if block supplied
|
|
3611
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4061
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
|
3612
4062
|
# @yieldparam err [StandardError] error object if request failed
|
|
3613
4063
|
#
|
|
3614
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4064
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
|
3615
4065
|
#
|
|
3616
4066
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3617
4067
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3618
4068
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3619
|
-
def
|
|
3620
|
-
command = make_simple_command(:
|
|
3621
|
-
command.
|
|
3622
|
-
command.
|
|
3623
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUpdateBundleResponse::Representation
|
|
3624
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUpdateBundleResponse
|
|
4069
|
+
def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4070
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4071
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4072
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
|
3625
4073
|
command.params['name'] = name unless name.nil?
|
|
3626
4074
|
command.query['fields'] = fields unless fields.nil?
|
|
3627
4075
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3628
4076
|
execute_or_queue_command(command, &block)
|
|
3629
4077
|
end
|
|
3630
4078
|
|
|
3631
|
-
#
|
|
3632
|
-
#
|
|
3633
|
-
# input in a string format, which holds the complete representation of the
|
|
3634
|
-
# IntegrationVersion content.
|
|
4079
|
+
# Lists all sfdc channels that match the filter. Restrict to sfdc channels
|
|
4080
|
+
# belonging to the current client only.
|
|
3635
4081
|
# @param [String] parent
|
|
3636
|
-
# Required. The
|
|
3637
|
-
#
|
|
3638
|
-
#
|
|
4082
|
+
# Required. The client, which owns this collection of SfdcChannels.
|
|
4083
|
+
# @param [String] filter
|
|
4084
|
+
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
4085
|
+
# guides/list-filters.
|
|
4086
|
+
# @param [Fixnum] page_size
|
|
4087
|
+
# The size of entries in the response. If unspecified, defaults to 100.
|
|
4088
|
+
# @param [String] page_token
|
|
4089
|
+
# The token returned in the previous response.
|
|
4090
|
+
# @param [String] read_mask
|
|
4091
|
+
# The mask which specifies fields that need to be returned in the SfdcChannel's
|
|
4092
|
+
# response.
|
|
3639
4093
|
# @param [String] fields
|
|
3640
4094
|
# Selector specifying which fields to include in a partial response.
|
|
3641
4095
|
# @param [String] quota_user
|
|
@@ -3645,33 +4099,37 @@ module Google
|
|
|
3645
4099
|
# Request-specific options
|
|
3646
4100
|
#
|
|
3647
4101
|
# @yield [result, err] Result & error if block supplied
|
|
3648
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4102
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] parsed result object
|
|
3649
4103
|
# @yieldparam err [StandardError] error object if request failed
|
|
3650
4104
|
#
|
|
3651
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4105
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse]
|
|
3652
4106
|
#
|
|
3653
4107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3654
4108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3655
4109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3656
|
-
def
|
|
3657
|
-
command = make_simple_command(:
|
|
3658
|
-
command.
|
|
3659
|
-
command.
|
|
3660
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation
|
|
3661
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
|
|
4110
|
+
def list_project_location_product_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4111
|
+
command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
|
|
4112
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
|
|
4113
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
|
|
3662
4114
|
command.params['parent'] = parent unless parent.nil?
|
|
4115
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4116
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4117
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4118
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
3663
4119
|
command.query['fields'] = fields unless fields.nil?
|
|
3664
4120
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3665
4121
|
execute_or_queue_command(command, &block)
|
|
3666
4122
|
end
|
|
3667
4123
|
|
|
3668
|
-
#
|
|
3669
|
-
#
|
|
3670
|
-
# was no failure an empty response is returned.
|
|
4124
|
+
# Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc
|
|
4125
|
+
# channel.
|
|
3671
4126
|
# @param [String] name
|
|
3672
|
-
#
|
|
3673
|
-
#
|
|
3674
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
4127
|
+
# Resource name of the SFDC channel projects/`project`/locations/`location`/
|
|
4128
|
+
# sfdcInstances/`sfdc_instance`/sfdcChannels/`sfdc_channel`.
|
|
4129
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
4130
|
+
# @param [String] update_mask
|
|
4131
|
+
# Field mask specifying the fields in the above SfdcChannel that have been
|
|
4132
|
+
# modified and need to be updated.
|
|
3675
4133
|
# @param [String] fields
|
|
3676
4134
|
# Selector specifying which fields to include in a partial response.
|
|
3677
4135
|
# @param [String] quota_user
|
|
@@ -3681,21 +4139,22 @@ module Google
|
|
|
3681
4139
|
# Request-specific options
|
|
3682
4140
|
#
|
|
3683
4141
|
# @yield [result, err] Result & error if block supplied
|
|
3684
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4142
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object
|
|
3685
4143
|
# @yieldparam err [StandardError] error object if request failed
|
|
3686
4144
|
#
|
|
3687
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4145
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel]
|
|
3688
4146
|
#
|
|
3689
4147
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3690
4148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3691
4149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3692
|
-
def
|
|
3693
|
-
command = make_simple_command(:
|
|
3694
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
3695
|
-
command.request_object =
|
|
3696
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
3697
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4150
|
+
def patch_project_location_product_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4151
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4152
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4153
|
+
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
4154
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4155
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
|
3698
4156
|
command.params['name'] = name unless name.nil?
|
|
4157
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3699
4158
|
command.query['fields'] = fields unless fields.nil?
|
|
3700
4159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3701
4160
|
execute_or_queue_command(command, &block)
|
|
@@ -3723,7 +4182,7 @@ module Google
|
|
|
3723
4182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3724
4183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3725
4184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3726
|
-
def
|
|
4185
|
+
def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3727
4186
|
command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options)
|
|
3728
4187
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3729
4188
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
@@ -3755,7 +4214,7 @@ module Google
|
|
|
3755
4214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3756
4215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3757
4216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3758
|
-
def
|
|
4217
|
+
def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3759
4218
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3760
4219
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3761
4220
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
@@ -3786,7 +4245,7 @@ module Google
|
|
|
3786
4245
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3787
4246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3788
4247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3789
|
-
def
|
|
4248
|
+
def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3790
4249
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3791
4250
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3792
4251
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance
|
|
@@ -3802,7 +4261,7 @@ module Google
|
|
|
3802
4261
|
# Required. The client, which owns this collection of SfdcInstances.
|
|
3803
4262
|
# @param [String] filter
|
|
3804
4263
|
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
3805
|
-
# guides/
|
|
4264
|
+
# guides/list-filters.
|
|
3806
4265
|
# @param [Fixnum] page_size
|
|
3807
4266
|
# The size of entries in the response. If unspecified, defaults to 100.
|
|
3808
4267
|
# @param [String] page_token
|
|
@@ -3827,7 +4286,7 @@ module Google
|
|
|
3827
4286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3828
4287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3829
4288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3830
|
-
def
|
|
4289
|
+
def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3831
4290
|
command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options)
|
|
3832
4291
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation
|
|
3833
4292
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
|
|
@@ -3867,7 +4326,7 @@ module Google
|
|
|
3867
4326
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3868
4327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3869
4328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3870
|
-
def
|
|
4329
|
+
def patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3871
4330
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
3872
4331
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation
|
|
3873
4332
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
@@ -3902,7 +4361,7 @@ module Google
|
|
|
3902
4361
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3903
4362
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3904
4363
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3905
|
-
def
|
|
4364
|
+
def create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3906
4365
|
command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options)
|
|
3907
4366
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
3908
4367
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
@@ -3934,7 +4393,7 @@ module Google
|
|
|
3934
4393
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3935
4394
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3936
4395
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3937
|
-
def
|
|
4396
|
+
def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3938
4397
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3939
4398
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
3940
4399
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
@@ -3965,7 +4424,7 @@ module Google
|
|
|
3965
4424
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3966
4425
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3967
4426
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3968
|
-
def
|
|
4427
|
+
def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3969
4428
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3970
4429
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
3971
4430
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
|
@@ -3981,7 +4440,7 @@ module Google
|
|
|
3981
4440
|
# Required. The client, which owns this collection of SfdcChannels.
|
|
3982
4441
|
# @param [String] filter
|
|
3983
4442
|
# Filtering as supported in https://developers.google.com/authorized-buyers/apis/
|
|
3984
|
-
# guides/
|
|
4443
|
+
# guides/list-filters.
|
|
3985
4444
|
# @param [Fixnum] page_size
|
|
3986
4445
|
# The size of entries in the response. If unspecified, defaults to 100.
|
|
3987
4446
|
# @param [String] page_token
|
|
@@ -4006,7 +4465,7 @@ module Google
|
|
|
4006
4465
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4007
4466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4008
4467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4009
|
-
def
|
|
4468
|
+
def list_project_location_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4010
4469
|
command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options)
|
|
4011
4470
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation
|
|
4012
4471
|
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
|
|
@@ -4046,7 +4505,7 @@ module Google
|
|
|
4046
4505
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4047
4506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4048
4507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4049
|
-
def
|
|
4508
|
+
def patch_project_location_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4050
4509
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4051
4510
|
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4052
4511
|
command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
@@ -4059,11 +4518,10 @@ module Google
|
|
|
4059
4518
|
execute_or_queue_command(command, &block)
|
|
4060
4519
|
end
|
|
4061
4520
|
|
|
4062
|
-
# Creates
|
|
4063
|
-
# the sfdc instance.
|
|
4521
|
+
# Creates a new template
|
|
4064
4522
|
# @param [String] parent
|
|
4065
4523
|
# Required. "projects/`project`/locations/`location`" format.
|
|
4066
|
-
# @param [Google::Apis::IntegrationsV1::
|
|
4524
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object
|
|
4067
4525
|
# @param [String] fields
|
|
4068
4526
|
# Selector specifying which fields to include in a partial response.
|
|
4069
4527
|
# @param [String] quota_user
|
|
@@ -4073,29 +4531,29 @@ module Google
|
|
|
4073
4531
|
# Request-specific options
|
|
4074
4532
|
#
|
|
4075
4533
|
# @yield [result, err] Result & error if block supplied
|
|
4076
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4534
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
|
4077
4535
|
# @yieldparam err [StandardError] error object if request failed
|
|
4078
4536
|
#
|
|
4079
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4537
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
|
4080
4538
|
#
|
|
4081
4539
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4082
4540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4083
4541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4084
|
-
def
|
|
4085
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
|
4086
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
4087
|
-
command.request_object =
|
|
4088
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
4089
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4542
|
+
def create_project_location_template(parent, google_cloud_integrations_v1alpha_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4543
|
+
command = make_simple_command(:post, 'v1/{+parent}/templates', options)
|
|
4544
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
|
4545
|
+
command.request_object = google_cloud_integrations_v1alpha_template_object
|
|
4546
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
|
4547
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
|
4090
4548
|
command.params['parent'] = parent unless parent.nil?
|
|
4091
4549
|
command.query['fields'] = fields unless fields.nil?
|
|
4092
4550
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4093
4551
|
execute_or_queue_command(command, &block)
|
|
4094
4552
|
end
|
|
4095
4553
|
|
|
4096
|
-
# Deletes
|
|
4554
|
+
# Deletes a template
|
|
4097
4555
|
# @param [String] name
|
|
4098
|
-
# Required. The name that is associated with the
|
|
4556
|
+
# Required. The name that is associated with the Template.
|
|
4099
4557
|
# @param [String] fields
|
|
4100
4558
|
# Selector specifying which fields to include in a partial response.
|
|
4101
4559
|
# @param [String] quota_user
|
|
@@ -4113,7 +4571,7 @@ module Google
|
|
|
4113
4571
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4114
4572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4115
4573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4116
|
-
def
|
|
4574
|
+
def delete_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4117
4575
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
4118
4576
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
4119
4577
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
@@ -4123,10 +4581,13 @@ module Google
|
|
|
4123
4581
|
execute_or_queue_command(command, &block)
|
|
4124
4582
|
end
|
|
4125
4583
|
|
|
4126
|
-
#
|
|
4127
|
-
#
|
|
4584
|
+
# Downloads a template. Retrieves the `Template` and returns the response as a
|
|
4585
|
+
# string.
|
|
4128
4586
|
# @param [String] name
|
|
4129
|
-
# Required. The
|
|
4587
|
+
# Required. The template to download. Format: projects/`project`/locations/`
|
|
4588
|
+
# location`/template/`template_id`
|
|
4589
|
+
# @param [String] file_format
|
|
4590
|
+
# Required. File format for download request.
|
|
4130
4591
|
# @param [String] fields
|
|
4131
4592
|
# Selector specifying which fields to include in a partial response.
|
|
4132
4593
|
# @param [String] quota_user
|
|
@@ -4136,38 +4597,109 @@ module Google
|
|
|
4136
4597
|
# Request-specific options
|
|
4137
4598
|
#
|
|
4138
4599
|
# @yield [result, err] Result & error if block supplied
|
|
4139
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4600
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse] parsed result object
|
|
4140
4601
|
# @yieldparam err [StandardError] error object if request failed
|
|
4141
4602
|
#
|
|
4142
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4603
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse]
|
|
4143
4604
|
#
|
|
4144
4605
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4145
4606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4146
4607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4147
|
-
def
|
|
4608
|
+
def download_project_location_template(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4609
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
|
4610
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse::Representation
|
|
4611
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse
|
|
4612
|
+
command.params['name'] = name unless name.nil?
|
|
4613
|
+
command.query['fileFormat'] = file_format unless file_format.nil?
|
|
4614
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4616
|
+
execute_or_queue_command(command, &block)
|
|
4617
|
+
end
|
|
4618
|
+
|
|
4619
|
+
# Get a template in the specified project.
|
|
4620
|
+
# @param [String] name
|
|
4621
|
+
# Required. The template to retrieve. Format: projects/`project`/locations/`
|
|
4622
|
+
# location`/templates/`template`
|
|
4623
|
+
# @param [String] fields
|
|
4624
|
+
# Selector specifying which fields to include in a partial response.
|
|
4625
|
+
# @param [String] quota_user
|
|
4626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4628
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4629
|
+
# Request-specific options
|
|
4630
|
+
#
|
|
4631
|
+
# @yield [result, err] Result & error if block supplied
|
|
4632
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
|
4633
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4634
|
+
#
|
|
4635
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
|
4636
|
+
#
|
|
4637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4640
|
+
def get_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4148
4641
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4149
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
4150
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4642
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
|
4643
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
|
4151
4644
|
command.params['name'] = name unless name.nil?
|
|
4152
4645
|
command.query['fields'] = fields unless fields.nil?
|
|
4153
4646
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4154
4647
|
execute_or_queue_command(command, &block)
|
|
4155
4648
|
end
|
|
4156
4649
|
|
|
4157
|
-
#
|
|
4158
|
-
#
|
|
4650
|
+
# Import the template to an existing integration. This api would keep track of
|
|
4651
|
+
# usage_count and last_used_time. PERMISSION_DENIED would be thrown if template
|
|
4652
|
+
# is not accessible by client.
|
|
4653
|
+
# @param [String] name
|
|
4654
|
+
# Required. The name that is associated with the Template.
|
|
4655
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest] google_cloud_integrations_v1alpha_import_template_request_object
|
|
4656
|
+
# @param [String] fields
|
|
4657
|
+
# Selector specifying which fields to include in a partial response.
|
|
4658
|
+
# @param [String] quota_user
|
|
4659
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4660
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4661
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4662
|
+
# Request-specific options
|
|
4663
|
+
#
|
|
4664
|
+
# @yield [result, err] Result & error if block supplied
|
|
4665
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse] parsed result object
|
|
4666
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4667
|
+
#
|
|
4668
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse]
|
|
4669
|
+
#
|
|
4670
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4671
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4672
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4673
|
+
def import_project_location_template(name, google_cloud_integrations_v1alpha_import_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4674
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
|
4675
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest::Representation
|
|
4676
|
+
command.request_object = google_cloud_integrations_v1alpha_import_template_request_object
|
|
4677
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse::Representation
|
|
4678
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse
|
|
4679
|
+
command.params['name'] = name unless name.nil?
|
|
4680
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4682
|
+
execute_or_queue_command(command, &block)
|
|
4683
|
+
end
|
|
4684
|
+
|
|
4685
|
+
# Lists all templates matching the filter.
|
|
4159
4686
|
# @param [String] parent
|
|
4160
|
-
# Required. The client, which owns this collection of
|
|
4687
|
+
# Required. The client, which owns this collection of Templates.
|
|
4161
4688
|
# @param [String] filter
|
|
4162
|
-
#
|
|
4163
|
-
#
|
|
4689
|
+
# Optional. Standard filter field to filter templates. client_id filter won't be
|
|
4690
|
+
# supported and will restrict to templates belonging to the current client only.
|
|
4691
|
+
# Return all templates of the current client if the filter is empty. Also
|
|
4692
|
+
# supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"
|
|
4693
|
+
# @param [String] order_by
|
|
4694
|
+
# Optional. The results would be returned in the order you specified here.
|
|
4164
4695
|
# @param [Fixnum] page_size
|
|
4165
|
-
# The size of
|
|
4696
|
+
# Optional. The size of the response entries. If unspecified, defaults to 100.
|
|
4697
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
4166
4698
|
# @param [String] page_token
|
|
4167
|
-
# The token returned in the previous response.
|
|
4699
|
+
# Optional. The token returned in the previous response.
|
|
4168
4700
|
# @param [String] read_mask
|
|
4169
|
-
# The mask which specifies fields that need to be returned in the
|
|
4170
|
-
# response.
|
|
4701
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
|
4702
|
+
# template's response.
|
|
4171
4703
|
# @param [String] fields
|
|
4172
4704
|
# Selector specifying which fields to include in a partial response.
|
|
4173
4705
|
# @param [String] quota_user
|
|
@@ -4177,20 +4709,21 @@ module Google
|
|
|
4177
4709
|
# Request-specific options
|
|
4178
4710
|
#
|
|
4179
4711
|
# @yield [result, err] Result & error if block supplied
|
|
4180
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4712
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse] parsed result object
|
|
4181
4713
|
# @yieldparam err [StandardError] error object if request failed
|
|
4182
4714
|
#
|
|
4183
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4715
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse]
|
|
4184
4716
|
#
|
|
4185
4717
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4186
4718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4187
4719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4188
|
-
def
|
|
4189
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
|
4190
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
4191
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4720
|
+
def list_project_location_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4721
|
+
command = make_simple_command(:get, 'v1/{+parent}/templates', options)
|
|
4722
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse::Representation
|
|
4723
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse
|
|
4192
4724
|
command.params['parent'] = parent unless parent.nil?
|
|
4193
4725
|
command.query['filter'] = filter unless filter.nil?
|
|
4726
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4194
4727
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4195
4728
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4196
4729
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
@@ -4199,15 +4732,13 @@ module Google
|
|
|
4199
4732
|
execute_or_queue_command(command, &block)
|
|
4200
4733
|
end
|
|
4201
4734
|
|
|
4202
|
-
# Updates
|
|
4203
|
-
# sfdc instance.
|
|
4735
|
+
# Updates the template by given id.
|
|
4204
4736
|
# @param [String] name
|
|
4205
|
-
# Resource name of the
|
|
4206
|
-
#
|
|
4207
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object
|
|
4737
|
+
# Identifier. Resource name of the template.
|
|
4738
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object
|
|
4208
4739
|
# @param [String] update_mask
|
|
4209
|
-
# Field mask specifying the fields in the above
|
|
4210
|
-
# modified and
|
|
4740
|
+
# Required. Field mask specifying the fields in the above template that have
|
|
4741
|
+
# been modified and must be updated.
|
|
4211
4742
|
# @param [String] fields
|
|
4212
4743
|
# Selector specifying which fields to include in a partial response.
|
|
4213
4744
|
# @param [String] quota_user
|
|
@@ -4217,20 +4748,20 @@ module Google
|
|
|
4217
4748
|
# Request-specific options
|
|
4218
4749
|
#
|
|
4219
4750
|
# @yield [result, err] Result & error if block supplied
|
|
4220
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4751
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object
|
|
4221
4752
|
# @yieldparam err [StandardError] error object if request failed
|
|
4222
4753
|
#
|
|
4223
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4754
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
|
|
4224
4755
|
#
|
|
4225
4756
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4226
4757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4227
4758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4228
|
-
def
|
|
4759
|
+
def patch_project_location_template(name, google_cloud_integrations_v1alpha_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4229
4760
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4230
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
4231
|
-
command.request_object =
|
|
4232
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
4233
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4761
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
|
4762
|
+
command.request_object = google_cloud_integrations_v1alpha_template_object
|
|
4763
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation
|
|
4764
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
|
|
4234
4765
|
command.params['name'] = name unless name.nil?
|
|
4235
4766
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4236
4767
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4238,11 +4769,25 @@ module Google
|
|
|
4238
4769
|
execute_or_queue_command(command, &block)
|
|
4239
4770
|
end
|
|
4240
4771
|
|
|
4241
|
-
#
|
|
4242
|
-
#
|
|
4772
|
+
# Search templates based on user query and filters. This api would query the
|
|
4773
|
+
# templates and return a list of templates based on the user filter.
|
|
4243
4774
|
# @param [String] parent
|
|
4244
|
-
# Required.
|
|
4245
|
-
# @param [
|
|
4775
|
+
# Required. The client, which owns this collection of Templates.
|
|
4776
|
+
# @param [String] filter
|
|
4777
|
+
# Optional. Standard filter field to filter templates. client_id filter won't be
|
|
4778
|
+
# supported and will restrict to templates belonging to the current client only.
|
|
4779
|
+
# Return all templates of the current client if the filter is empty. Also
|
|
4780
|
+
# supports operators like AND, OR, NOT For example, "status=\"ACTIVE\"
|
|
4781
|
+
# @param [String] order_by
|
|
4782
|
+
# Optional. The results would be returned in the order you specified here.
|
|
4783
|
+
# @param [Fixnum] page_size
|
|
4784
|
+
# Optional. The size of the response entries. If unspecified, defaults to 100.
|
|
4785
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
4786
|
+
# @param [String] page_token
|
|
4787
|
+
# Optional. The token returned in the previous response.
|
|
4788
|
+
# @param [String] read_mask
|
|
4789
|
+
# Optional. The mask which specifies fields that need to be returned in the
|
|
4790
|
+
# template's response.
|
|
4246
4791
|
# @param [String] fields
|
|
4247
4792
|
# Selector specifying which fields to include in a partial response.
|
|
4248
4793
|
# @param [String] quota_user
|
|
@@ -4252,29 +4797,35 @@ module Google
|
|
|
4252
4797
|
# Request-specific options
|
|
4253
4798
|
#
|
|
4254
4799
|
# @yield [result, err] Result & error if block supplied
|
|
4255
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4800
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse] parsed result object
|
|
4256
4801
|
# @yieldparam err [StandardError] error object if request failed
|
|
4257
4802
|
#
|
|
4258
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4803
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse]
|
|
4259
4804
|
#
|
|
4260
4805
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4261
4806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4262
4807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4263
|
-
def
|
|
4264
|
-
command = make_simple_command(:
|
|
4265
|
-
command.
|
|
4266
|
-
command.
|
|
4267
|
-
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation
|
|
4268
|
-
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel
|
|
4808
|
+
def search_project_location_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4809
|
+
command = make_simple_command(:get, 'v1/{+parent}/templates:search', options)
|
|
4810
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse::Representation
|
|
4811
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse
|
|
4269
4812
|
command.params['parent'] = parent unless parent.nil?
|
|
4813
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4814
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4815
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4816
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4817
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
4270
4818
|
command.query['fields'] = fields unless fields.nil?
|
|
4271
4819
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4272
4820
|
execute_or_queue_command(command, &block)
|
|
4273
4821
|
end
|
|
4274
4822
|
|
|
4275
|
-
#
|
|
4823
|
+
# Share a template with other clients. Only the template owner can share the
|
|
4824
|
+
# templates with other projects. PERMISSION_DENIED would be thrown if the
|
|
4825
|
+
# request is not from the owner.
|
|
4276
4826
|
# @param [String] name
|
|
4277
|
-
# Required. The name that is associated with the
|
|
4827
|
+
# Required. The name that is associated with the Template.
|
|
4828
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest] google_cloud_integrations_v1alpha_share_template_request_object
|
|
4278
4829
|
# @param [String] fields
|
|
4279
4830
|
# Selector specifying which fields to include in a partial response.
|
|
4280
4831
|
# @param [String] quota_user
|
|
@@ -4292,8 +4843,10 @@ module Google
|
|
|
4292
4843
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4293
4844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4294
4845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4295
|
-
def
|
|
4296
|
-
command = make_simple_command(:
|
|
4846
|
+
def share_project_location_template(name, google_cloud_integrations_v1alpha_share_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4847
|
+
command = make_simple_command(:post, 'v1/{+name}:share', options)
|
|
4848
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest::Representation
|
|
4849
|
+
command.request_object = google_cloud_integrations_v1alpha_share_template_request_object
|
|
4297
4850
|
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
4298
4851
|
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
4299
4852
|
command.params['name'] = name unless name.nil?
|
|
@@ -4302,10 +4855,13 @@ module Google
|
|
|
4302
4855
|
execute_or_queue_command(command, &block)
|
|
4303
4856
|
end
|
|
4304
4857
|
|
|
4305
|
-
#
|
|
4306
|
-
#
|
|
4858
|
+
# Unshare a template from given clients. Owner of the template can unshare
|
|
4859
|
+
# template with clients. Shared client can only unshare the template from itself.
|
|
4860
|
+
# PERMISSION_DENIED would be thrown if request is not from owner or for
|
|
4861
|
+
# unsharing itself.
|
|
4307
4862
|
# @param [String] name
|
|
4308
|
-
# Required. The name that is associated with the
|
|
4863
|
+
# Required. The name that is associated with the Template.
|
|
4864
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest] google_cloud_integrations_v1alpha_unshare_template_request_object
|
|
4309
4865
|
# @param [String] fields
|
|
4310
4866
|
# Selector specifying which fields to include in a partial response.
|
|
4311
4867
|
# @param [String] quota_user
|
|
@@ -4315,38 +4871,33 @@ module Google
|
|
|
4315
4871
|
# Request-specific options
|
|
4316
4872
|
#
|
|
4317
4873
|
# @yield [result, err] Result & error if block supplied
|
|
4318
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4874
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object
|
|
4319
4875
|
# @yieldparam err [StandardError] error object if request failed
|
|
4320
4876
|
#
|
|
4321
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4877
|
+
# @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty]
|
|
4322
4878
|
#
|
|
4323
4879
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4324
4880
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4325
4881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4326
|
-
def
|
|
4327
|
-
command = make_simple_command(:
|
|
4328
|
-
command.
|
|
4329
|
-
command.
|
|
4882
|
+
def unshare_project_location_template(name, google_cloud_integrations_v1alpha_unshare_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4883
|
+
command = make_simple_command(:post, 'v1/{+name}:unshare', options)
|
|
4884
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest::Representation
|
|
4885
|
+
command.request_object = google_cloud_integrations_v1alpha_unshare_template_request_object
|
|
4886
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation
|
|
4887
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty
|
|
4330
4888
|
command.params['name'] = name unless name.nil?
|
|
4331
4889
|
command.query['fields'] = fields unless fields.nil?
|
|
4332
4890
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4333
4891
|
execute_or_queue_command(command, &block)
|
|
4334
4892
|
end
|
|
4335
4893
|
|
|
4336
|
-
#
|
|
4337
|
-
#
|
|
4894
|
+
# Uploads a template. The content can be a previously downloaded template.
|
|
4895
|
+
# Performs the same function as CreateTemplate, but accepts input in a string
|
|
4896
|
+
# format, which holds the complete representation of the Template content.
|
|
4338
4897
|
# @param [String] parent
|
|
4339
|
-
# Required. The
|
|
4340
|
-
#
|
|
4341
|
-
#
|
|
4342
|
-
# guides/v2/list-filters.
|
|
4343
|
-
# @param [Fixnum] page_size
|
|
4344
|
-
# The size of entries in the response. If unspecified, defaults to 100.
|
|
4345
|
-
# @param [String] page_token
|
|
4346
|
-
# The token returned in the previous response.
|
|
4347
|
-
# @param [String] read_mask
|
|
4348
|
-
# The mask which specifies fields that need to be returned in the SfdcChannel's
|
|
4349
|
-
# response.
|
|
4898
|
+
# Required. The template to upload. Format: projects/`project`/locations/`
|
|
4899
|
+
# location`
|
|
4900
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest] google_cloud_integrations_v1alpha_upload_template_request_object
|
|
4350
4901
|
# @param [String] fields
|
|
4351
4902
|
# Selector specifying which fields to include in a partial response.
|
|
4352
4903
|
# @param [String] quota_user
|
|
@@ -4356,37 +4907,32 @@ module Google
|
|
|
4356
4907
|
# Request-specific options
|
|
4357
4908
|
#
|
|
4358
4909
|
# @yield [result, err] Result & error if block supplied
|
|
4359
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4910
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse] parsed result object
|
|
4360
4911
|
# @yieldparam err [StandardError] error object if request failed
|
|
4361
4912
|
#
|
|
4362
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4913
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse]
|
|
4363
4914
|
#
|
|
4364
4915
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4365
4916
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4366
4917
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4367
|
-
def
|
|
4368
|
-
command = make_simple_command(:
|
|
4369
|
-
command.
|
|
4370
|
-
command.
|
|
4918
|
+
def upload_project_location_template(parent, google_cloud_integrations_v1alpha_upload_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4919
|
+
command = make_simple_command(:post, 'v1/{+parent}/templates:upload', options)
|
|
4920
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest::Representation
|
|
4921
|
+
command.request_object = google_cloud_integrations_v1alpha_upload_template_request_object
|
|
4922
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse::Representation
|
|
4923
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse
|
|
4371
4924
|
command.params['parent'] = parent unless parent.nil?
|
|
4372
|
-
command.query['filter'] = filter unless filter.nil?
|
|
4373
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4374
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4375
|
-
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
4376
4925
|
command.query['fields'] = fields unless fields.nil?
|
|
4377
4926
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4378
4927
|
execute_or_queue_command(command, &block)
|
|
4379
4928
|
end
|
|
4380
4929
|
|
|
4381
|
-
#
|
|
4382
|
-
#
|
|
4930
|
+
# Use the template to create integration. This api would keep track of
|
|
4931
|
+
# usage_count and last_used_time. PERMISSION_DENIED would be thrown if template
|
|
4932
|
+
# is not accessible by client.
|
|
4383
4933
|
# @param [String] name
|
|
4384
|
-
#
|
|
4385
|
-
#
|
|
4386
|
-
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object
|
|
4387
|
-
# @param [String] update_mask
|
|
4388
|
-
# Field mask specifying the fields in the above SfdcChannel that have been
|
|
4389
|
-
# modified and need to be updated.
|
|
4934
|
+
# Required. The name that is associated with the Template.
|
|
4935
|
+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest] google_cloud_integrations_v1alpha_use_template_request_object
|
|
4390
4936
|
# @param [String] fields
|
|
4391
4937
|
# Selector specifying which fields to include in a partial response.
|
|
4392
4938
|
# @param [String] quota_user
|
|
@@ -4396,22 +4942,21 @@ module Google
|
|
|
4396
4942
|
# Request-specific options
|
|
4397
4943
|
#
|
|
4398
4944
|
# @yield [result, err] Result & error if block supplied
|
|
4399
|
-
# @yieldparam result [Google::Apis::IntegrationsV1::
|
|
4945
|
+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse] parsed result object
|
|
4400
4946
|
# @yieldparam err [StandardError] error object if request failed
|
|
4401
4947
|
#
|
|
4402
|
-
# @return [Google::Apis::IntegrationsV1::
|
|
4948
|
+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse]
|
|
4403
4949
|
#
|
|
4404
4950
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4405
4951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4406
4952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4407
|
-
def
|
|
4408
|
-
command = make_simple_command(:
|
|
4409
|
-
command.request_representation = Google::Apis::IntegrationsV1::
|
|
4410
|
-
command.request_object =
|
|
4411
|
-
command.response_representation = Google::Apis::IntegrationsV1::
|
|
4412
|
-
command.response_class = Google::Apis::IntegrationsV1::
|
|
4953
|
+
def use_project_location_template(name, google_cloud_integrations_v1alpha_use_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4954
|
+
command = make_simple_command(:post, 'v1/{+name}:use', options)
|
|
4955
|
+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest::Representation
|
|
4956
|
+
command.request_object = google_cloud_integrations_v1alpha_use_template_request_object
|
|
4957
|
+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse::Representation
|
|
4958
|
+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse
|
|
4413
4959
|
command.params['name'] = name unless name.nil?
|
|
4414
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4415
4960
|
command.query['fields'] = fields unless fields.nil?
|
|
4416
4961
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4417
4962
|
execute_or_queue_command(command, &block)
|